]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
conformtest: Unify "macro" cases.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
62fde54f
JM
12012-05-01 Joseph Myers <joseph@codesourcery.com>
2
fefdf574
JM
3 * conform/conformtest.pl: Only accept expected macro values with
4 "==". Parse all "macro" lines in one place.
5 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6
f2d922fe
JM
7 * conform/conformtest.pl: Handle braced types on "constant" lines
8 instead of handling "typed-constant".
9 * conform/data/signal.h-data: Use "constant" instead of
10 "typed-constant".
11
d22956c9
JM
12 * conform/conformtest.pl: Handle "optional-" at start of lines in
13 one place rather than duplicating several cases. Handle each
14 format of "macro" line with initial "optional-".
15
028e2e38
JM
16 * conform/conformtest.pl: Only accept expected constant or
17 optional-constant values with "==". Parse all "constant" lines in
18 one place. Parse all "optional-constant" lines in one place.
19 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20 * conform/data/fmtmsg.h-data: Likewise.
21 * conform/data/netinet/in.h-data: Likewise.
22 * conform/data/tar.h-data: Likewise.
23 * conform/data/limits.h-data: Use "==" form on "constant" and
24 "optional-constant" lines.
25
1b8f2850
JM
26 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27 Use -std=c99 for XOPEN2K.
28 (@knownproblems): Remove.
29 (newtoken): Don't check %isknown.
30
a05a144b
JM
31 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32 Do not expect macro.
33 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
54 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
55 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
61 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63 [XPG3] (acosh): Likewise.
64 [XPG3] (asinh): Likewise.
65 [XPG3] (atanh): Likewise.
66 [XPG3] (cbrt): Likewise.
67 [XPG3] (expm1): Likewise.
68 [XPG3] (ilogb): Likewise.
69 [XPG3] (log1p): Likewise.
70 [XPG3] (logb): Likewise.
71 [XPG3] (nextafter): Likewise.
72 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
74 [XPG3] (remainder): Likewise.
75 [XPG3] (rint): Likewise.
76 [XPG3 || XPG4 || UNIX98] (round): Likewise.
77 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
78 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
79 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
81 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83 [UNIX98 || XOPEN2K] (scalb): Expect.
84 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
85 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
86 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
87 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
88 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
89 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
90 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
91 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
92 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
93 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
94 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
95 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
96 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
97 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
98 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
99 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
100 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
101 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
102 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
103 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
104 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
105 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
106 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
107 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
108 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
109 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
110 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
111 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
112 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
113 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
114 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
115 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
116 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
117 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
118 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
119 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
120 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
121 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
122 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
123 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
124 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
125 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
126 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
127 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
128 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
129 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
130 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
131 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
132 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
133 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
134 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
135 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
136 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
137 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
138 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
139 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
140 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
141 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
142 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
143 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
144 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
145 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
146 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
147 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
148 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
149 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
150 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
151 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
152 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
153 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
154 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
155 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
156 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
157 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
158 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
159 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
160 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
161 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
162 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
163 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
164 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
165 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
166 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
167 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
168 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
169 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
170 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
171 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
172 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
173 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
174 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
175 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
176 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
177 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
178 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
179 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
180 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
181 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
182 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
183 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
184 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
185 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
186 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
187 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
188 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
189 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
190 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
191 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
192 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
193 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
194 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
195 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
196 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
197 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
198 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
199 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
200 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
201 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
202 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
203 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
204 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
205 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
206 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
207 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
208 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
209 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
210 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
211 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
212 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
213 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
214 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
215 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
216 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
217 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
218 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
219 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
220 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
221
73c5ebe3
JM
222 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
223 _XOPEN_SOURCE_EXTENDED for XPG4.
224
39c33b6c
JM
225 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
226
62fde54f
JM
227 * Makeconfig (localtime): Remove variable.
228 (inst_localtime-file): Likewise.
229
0741d64c
AS
2302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
231
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
233 Update.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
235 Update.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
237 Update.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
239 Update.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
241 Update.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
243 Update.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
245 Update.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
247 Update.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
249 Update.
250
7cb029ee
JM
2512012-05-01 Joseph Myers <joseph@codesourcery.com>
252
253 [BZ #2550]
254 [BZ #2570]
255 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
256 comparisons to determine direction to adjust input.
257 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
258 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
259 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
260 Likewise.
261 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
262 Likewise.
263 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
264 Likewise.
265 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
266 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
267 Likewise.
268 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
269 Likewise.
270 * math/libm-test.inc (nexttoward_test): Add more tests.
271
412bd966
AS
2722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
273
274 [BZ #14040]
275 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
276 in version GLIBC_2.1, not GLIBC_2.0.
277 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
278 Likewise.
279
9568c0c2
JM
2802012-04-30 Joseph Myers <joseph@codesourcery.com>
281
adfbc8ac
JM
282 [BZ #13942]
283 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
284 (1 - x) * (1 + x).
285 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
286 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
287 * math/libm-test.inc (acos_test): Add more tests.
288 (asin_test): Likewise.
289 * sysdeps/i386/fpu/libm-test-ulps: Update.
290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
291
5ba3cc69
JM
292 [BZ #14034]
293 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
294 of square root.
295 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
296 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
297 * math/libm-test.inc (acos_test_tonearest): New function.
298 (acos_test_towardzero): Likewise.
299 (acos_test_downward): Likewise.
300 (acos_test_upward): Likewise.
301 (asin_test_tonearest): Likewise.
302 (asin_test_towardzero): Likewise.
303 (asin_test_downward): Likewise.
304 (asin_test_upward): Likewise.
305 (main): Call the new functions.
306 * sysdeps/i386/fpu/libm-test-ulps: Update.
307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
308
9568c0c2
JM
309 [BZ #13884]
310 [BZ #13924]
311 * math/e_exp10.c: Include <float.h>.
312 (__ieee754_exp10): Handle underflow here rather than multiplying
313 large negative argument by M_LN10.
314 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
315 of __ieee754_expf.
316 * math/e_exp10l.c: Include <float.h>.
317 (__ieee754_exp10l): Handle underflow here rather than multiplying
318 large negative argument by M_LN10l.
319 * math/libm-test.inc (exp10_test): Add another test. Do not allow
320 spurious overflow exception on underflow.
321
5ac3ea17
MP
3222012-04-29 Marek Polacek <polacek@redhat.com>
323
324 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
325 (__fortify_function): New macro.
326 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
327 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
328 __extern_always_inline.
329 * libio/bits/stdio2.h: Likewise.
330 * libio/bits/stdio.h: Likewise.
331 * string/string.h: Likewise.
332 * string/bits/string3.h: Likewise.
333 * include/stdio.h: Likewise.
334 * stdlib/bits/stdlib.h: Likewise.
335 * stdlib/stdlib.h: Likewise.
336 * rt/bits/mqueue2.h: Likewise.
337 * rt/mqueue.h: Likewise.
338 * posix/bits/unistd.h: Likewise.
339 * posix/unistd.h: Likewise.
340 * io/bits/poll2.h: Likewise.
341 * io/bits/fcntl2.h: Likewise.
342 * io/fcntl.h: Likewise.
343 * io/sys/poll.h: Likewise.
344 * misc/bits/syslog.h: Likewise.
345 * misc/bits/syslog-ldbl.h: Likewise.
346 * misc/sys/syslog.h: Likewise.
347 * socket/bits/socket2.h: Likewise.
348 * socket/sys/socket.h: Likewise.
349 * debug/tst-chk1.c: Likewise.
350 * wcsmbs/bits/wchar2.h: Likewise.
351 * wcsmbs/bits/wchar-ldbl.h: Likewise.
352 * wcsmbs/wchar.h: Likewise.
353
ecf0ebfb
AJ
3542012-04-29 Andreas Jaeger <aj@suse.de>
355
356 * Makerules (tests): Remove enable-check-abi protection.
357 (check-abi-warn): Remove.
358 (check-abi-%): Remove check-abi-warn usage.
359
360 * configure.in: Remove check-abi configure option.
361 * configure: Regenerated.
362 * config.make.in (enable-check-abi): Remove.
363
6d5c57fa
AS
3642012-04-28 Andreas Schwab <schwab@linux-m68k.org>
365
24c5d07e 366 [BZ #14033]
ded5180a
AS
367 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
368 double functions to double *_finite functions.
369
7e0d315d
AS
370 [BZ #13941]
371 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
372 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
373 LDBL_MIN_EXP.
374 * stdio-common/Makefile (tests): Add tst-sprintf3.
375 * stdio-common/tst-sprintf3.c: New file.
376
6d5c57fa
AS
377 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
378 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
379
0749ff8b
JM
3802012-04-28 Joseph Myers <joseph@codesourcery.com>
381
382 * conform/conformtest.pl: Remove duplicate typed-constant
383 handling.
384
8dbd5d7b
DM
3852012-04-28 David S. Miller <davem@davemloft.net>
386
387 * Makerules (%.abilist): Add vpath on sysdep_dirs.
388 (check-abi-%): Remove AWK script prerequisite and explicit
389 abilist directory.
390 (check-abi): Rewrite to just diff the symlist with the abilist.
391 (config-tls, config-abi-config): Delete, no longer used.
392 (update-abi-%): Remove AWK script and explicit abilist directory.
393 (update-abi): Rewrite to simply compare and conditionally copy the
394 symlist and the sysdep abilist file. Remove update-abi-config
395 checks.
396 * abilist/ld.abilist: Remove.
397 * abilist/libBrokenLocale.abilist: Remove.
398 * abilist/libanl.abilist: Remove.
399 * abilist/libcrypt.abilist: Remove.
400 * abilist/libdl.abilist: Remove.
401 * abilist/librt.abilist: Remove.
402 * abilist/libthread_db.abilist: Remove.
403 * abilist/libutil.abilist: Remove.
404 * scripts/extract-abilist.awk: Remove.
405 * scripts/merge-abilist.awk: Remove.
406 * sysdeps/generic/libcidn.abilist: New file.
407 * sysdeps/generic/libnss_compat.abilist: New file.
408 * sysdeps/generic/libnss_db.abilist: New file.
409 * sysdeps/generic/libnss_dns.abilist: New file.
410 * sysdeps/generic/libnss_files.abilist: New file.
411 * sysdeps/generic/libnss_hesiod.abilist: New file.
412 * sysdeps/generic/libnss_nis.abilist: New file.
413 * sysdeps/generic/libnss_nisplus.abilist: New file.
414 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
415 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
416 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
417 file.
418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
419 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
420 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
421 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
422 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
423 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
424 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
425 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
426 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
427 file.
428 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
429 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
430 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
431 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
432 file.
433 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
434 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
435 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
436 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
437 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
438 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
439 file.
440 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
441 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
442 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
443 file.
444 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
446 New file.
447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
448 New file.
449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
450 New file.
451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
452 New file.
453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
454 New file.
455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
456 New file.
457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
458 New file.
459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
460 New file.
461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
462 New file.
463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
464 New file.
465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
466 New file.
467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
468 New file.
469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
470 New file.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
472 file.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
474 New file.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
476 New file.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
478 file.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
480 New file.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
482 New file.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
484 file.
485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
486 New file.
487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
488 New file.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
490 New file.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
492 New file.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
494 New file.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
496 New file.
497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
499 file.
500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
501 New file.
502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
503 file.
504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
505 file.
506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
507 file.
508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
509 file.
510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
511 file.
512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
513 New file.
514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
515 file.
516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
517 file.
518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
519 New file.
520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
521 file.
522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
524 file.
525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
526 New file.
527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
528 file.
529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
530 file.
531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
532 file.
533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
534 file.
535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
536 file.
537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
538 New file.
539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
540 file.
541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
542 file.
543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
544 New file.
545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
546 file.
547 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
548 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
549 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
550 file.
551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
552 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
553 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
554 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
555 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
556 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
557 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
558 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
559 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
560 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
563 file.
564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
565 New file.
566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
567 file.
568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
569 file.
570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
571 file.
572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
573 file.
574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
575 file.
576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
577 New file.
578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
579 New file.
580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
581 file.
582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
583 New file.
584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
585 file.
586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
588 file.
589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
590 New file.
591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
592 file.
593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
594 file.
595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
596 file.
597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
598 file.
599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
600 file.
601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
602 New file.
603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
604 New file.
605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
606 file.
607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
608 New file.
609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
610 file.
611
41d73a1b
JM
6122012-04-28 Joseph Myers <joseph@codesourcery.com>
613
614 * conform/conformtest.pl: Fix typo in handling typed-constant from
615 allow-header.
616
28aeeda4
JM
6172012-04-27 Joseph Myers <joseph@codesourcery.com>
618
adae8f5e
JM
619 * README: Cut down references to pre-2.6 Linux kernels and
620 Linuxthreads. Update lists of configurations in libc and ports
621 and sort alphabetically. Say "or newer" with Linux kernel version
622 requirements.
623
28aeeda4
JM
624 * config.h.in [IS_IN_build]: Allow compiling without optimization.
625
a462cb63
RA
6262012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
627
628 [BZ #887]
629 * math/libm-test.inc (logb_test_downward): New test to expose
630 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
631 rounding mode.
632
6ad3493e
JM
6332012-04-27 Joseph Myers <joseph@codesourcery.com>
634
635 [BZ #14027]
636 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
637 to be done.
638 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
639 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
640
2ce4f015
JM
6412012-04-26 Joseph Myers <joseph@codesourcery.com>
642
5aeb141a
JM
643 * sysdeps/unix/i386/brk.S: Remove file.
644 * sysdeps/unix/i386/dl-brk.S: Likewise.
645 * sysdeps/unix/i386/pipe.S: Likewise.
646 * sysdeps/unix/i386/sigreturn.S: Likewise.
647 * sysdeps/unix/i386/syscall.S: Likewise.
648 * sysdeps/unix/i386/vfork.S: Likewise.
649 * sysdeps/unix/i386/wait.S: Likewise.
650
7143acae
JM
651 * sysdeps/unix/common/tcsendbrk.c: Move to ...
652 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
653
2ce4f015
JM
654 * configure.in (arm*-none*): Do not allow without
655 --enable-hacker-mode.
656 (netbsd*): Remove case setting base_os.
657 (386bsd*): Likewise.
658 (freebsd*): Likewise.
659 (bsdi*): Likewise.
660 (osf*): Likewise.
661 (sunos*): Likewise.
662 (ultrix*): Likewise.
663 (newsos*): Likewise.
664 (dynix*): Likewise.
665 (*bsd*): Likewise.
666 (sysv*): Likewise.
667 (isc*): Likewise.
668 (esix*): Likewise.
669 (sco*): Likewise.
670 (minix*): Likewise.
671 (irix4*): Likewise.
672 (irix6*): Likewise.
673 (solaris[2-9]*): Likewise.
674 (none): Likewise.
675 * configure: Regenerated.
676
0ac229c8
AZ
6772012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
678
679 [BZ #11521]
680 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
681 overflow or cancellation in calculating denominator.
682 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
683 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
684 down expression to avoid unexpected rounding in newer GCCs.
685 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
686
33f244f4
DM
6872012-04-26 David S. Miller <davem@davemloft.net>
688
689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
690 long-double compat symbols.
691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
704
cfa1f3e8
DM
7052012-04-25 David S. Miller <davem@davemloft.net>
706
707 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
708 HWCAP_* values only after the memory barriers have been defined.
709 (atomic_full_barrier): Define.
710 (atomic_read_barrier): Define.
711 (atomic_write_barrier): Define.
712
6e236b92
SP
7132012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
714
715 * shlib-versions: Add libgcc_s version information.
716 * sysdeps/generic/libgcc_s.h: Remove.
717 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
718 libgcc_s.h.
719 * sysdeps/gnu/unwind-resume.c: Likewise.
720 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
721
aab39a09
DM
7222012-04-25 David S. Miller <davem@davemloft.net>
723
724 * sysdeps/unix/sparc/brk.S: Delete.
725 * sysdeps/unix/sparc/dl-brk.S: Delete.
726 * sysdeps/unix/sparc/pipe.S: Delete.
727 * sysdeps/unix/sparc/sysdep.S: Delete.
728 * sysdeps/unix/sparc/sysdep.h: Delete.
729 * sysdeps/unix/sparc/vfork.S: Delete.
730 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
731 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
732 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
733 ret_ERRVAL, r0, r1, MOVE): Define.
734 (JUMPTARGET): Remove.
735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
736 sysdeps/unix/sparc/sysdep.h
737 (ENTRY, END): Remove.
738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
739
a3cc4f48
JM
7402012-04-25 Joseph Myers <joseph@codesourcery.com>
741
2ed8cda2
JM
742 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
743 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
744 -DIS_IN_build.
745
35d76d59
JM
746 * timezone/README: Update upstream location and email address for
747 tzcode and tzdata.
748 * timezone/zdump.c: Update from tzcode 2012b.
749 * timezone/zic.c: Likewise.
750
a3cc4f48
JM
751 * configure.in (libc_cv_as_needed): Remove test.
752 * configure: Regenerated.
753 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
754 conditional definition.
755 [$(have-as-needed) != yes] (no-as-needed): Likewise.
756 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
757 * config.make.in (have-as-needed): Remove variable.
758
ceab42c3
SP
7592012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
760 Paul Pluzhnikov <ppluzhnikov@google.com>
761
762 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
763 strings correctly.
764
3ce2865f
CLT
7652012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
766
767 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
768 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
769 * sysdeps/sh/strlen.S: Likewise.
770
f37e0d68
JM
7712012-04-24 Joseph Myers <joseph@codesourcery.com>
772
ae186e9a
JM
773 * sysdeps/unix/fork.S: Remove file.
774 * sysdeps/unix/i386/fork.S: Likewise.
775 * sysdeps/unix/sparc/fork.S: Likewise.
776
b96914af
JM
777 * sysdeps/unix/system.c: Remove file.
778 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
779
f37e0d68
JM
780 * sysdeps/unix/getegid.S: Remove file.
781 * sysdeps/unix/geteuid.S: Likewise.
782
87ef29ca
RM
7832012-04-24 Roland McGrath <roland@hack.frob.com>
784
83bcd236
RM
785 * scripts/check-localplt.awk: New file.
786 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
787 of diff.
788 * scripts/data/localplt-generic.data: Add a comment.
789
87ef29ca
RM
790 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
791 NODE when __dir_mkfile failed.
792 * sysdeps/mach/hurd/symlinkat.c: Likewise.
793 Reported by Ludovic Courtès <ludo@gnu.org>.
794
e5a6e567
AJ
7952012-04-24 Andreas Jaeger <aj@suse.de>
796
797 * Makerules (common-clean): Also remove gen-as-const-headers
798 files.
799
c1820385
JM
8002012-04-24 Joseph Myers <joseph@codesourcery.com>
801
802 * Makerules (native-compile): Do not change working directory for
803 build. Use $(OUTPUT_OPTION) in command.
804 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
805
94e02fc4
AZ
8062012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
807
808 [BZ #13886]
809 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
810 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
811 * math/libm-test.inc (floor_test): Add more tests.
812 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
813
3a533ca3
JM
8142012-04-24 Joseph Myers <joseph@codesourcery.com>
815
940ab4b3
JM
816 * sysdeps/unix/getdents.c: Remove file.
817 * sysdeps/unix/sysv/getdents.c: Likewise.
818 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
819
90e037bd
JM
820 * sysdeps/unix/syscalls.list (madvise): Add syscall from
821 sysdeps/unix/mman/syscalls.list.
822 (mmap): Likewise.
823 (mprotect): Likewise.
824 (msync): Likewise.
825 (munmap): Likewise.
826 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
827 * sysdeps/unix/mman/syscalls.list: Remove.
828 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
829
3a533ca3
JM
830 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
831 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
832 * configure: Regenerated.
833 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
834 $(libgcc_s_suffix).
835 * config.make.in (libgcc_s_suffix): Remove variable.
836
1ad743de
JM
8372012-04-23 Joseph Myers <joseph@codesourcery.com>
838
4ad451e2
JM
839 * sysdeps/unix/sysv/gethostname.c: Move to ...
840 * sysdeps/posix/gethostname.c: ... here.
841
5e37ce39
JM
842 * sysdeps/unix/execve.S: Remove file.
843
1ad743de
JM
844 * sysdeps/unix/_exit.S: Remove file.
845
4e681b5b
AJ
8462012-04-23 Andreas Jaeger <aj@suse.de>
847
848 [BZ #13739]
849 * manual/Makefile: Remove make dist support, there's no
850 need for a stand-alone documentation tar ball.
851 (TEXI2DVI): Define always, it's not in Makeconfig.
852 (dist): Removed.
853 (tar-it): Removed.
854 (edition): Removed.
855 (glibc-doc-$(edition).tar): Removed
856 (%.Z): Removed.
857 (%.gz): Removed.
858 (%.uu): Removed.
859 (ETAGS): Remove, it's in Makeconfig.
860 (move-if-change): Remove, it's in Makeconfig.
861
c0baea34
PE
8622013-04-23 Paul Eggert <eggert@cs.ucla.edu>
863
864 [BZ #13970]
865 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
866 (strtod, strtof, strtold, strtol, strtoul, strtoq)
867 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
868 (strtod_l, strtof_l, strtold_l): Remove __wur.
869 It is not necessarily an error to ignore strtol's return value.
870 One can reliably look at the stored endptr to decide whether
871 the number had valid syntax.
872
7c0616fa
AJ
8732012-04-21 Andreas Jaeger <aj@suse.de>
874
803cb6b7 875 [BZ #13739]
7c0616fa
AJ
876 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
877
b0fe253f
JM
8782012-04-21 Joseph Myers <joseph@codesourcery.com>
879
880 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
881 * sysdeps/unix/sysv/Versions: Remove file.
882
8280f22d
MT
8832012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
884
885 [BZ #13927]
886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
887
75ce411f 8882012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
889
890 [BZ #7064]
891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
892 version from __vm86.
893
097d59fa
JM
8942012-04-20 Joseph Myers <joseph@codesourcery.com>
895
a90f3bcb
JM
896 * sysdeps/unix/common/lxstat.c: Remove file.
897 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
898
edc7ea78
JM
899 * sysdeps/unix/sysv/Makefile: Remove file.
900
cb78c221
JM
901 * sysdeps/unix/sysv/direct.h: Remove file.
902
efa6a45f
JM
903 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
904 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
905 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
906 * sysdeps/unix/sysv/bits/signum.h: Likewise.
907 * sysdeps/unix/sysv/bits/stat.h: Likewise.
908 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
909 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
910
9c9f2d0c
JM
911 * sysdeps/unix/sysv/setrlimit.c: Remove file.
912
4541c83b
JM
913 * sysdeps/unix/xmknod.c: Remove file.
914 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
915
f5d153a0
JM
916 * sysdeps/unix/sysv/settimeofday.c: Remove file.
917
aa746595
JM
918 * sysdeps/unix/sysv/i386/time.S: Remove file.
919
cce5905e
JM
920 * sysdeps/unix/fxstat.c: Remove file.
921 * sysdeps/unix/xstat.c: Likewise.
922 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
923
37fa3841
JM
924 * sysdeps/unix/sysv/sigaction.c: Remove file.
925
ff1962a3
JM
926 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
927 (sysdep_headers): Remove variable.
928 [termio.h not in sysdep_headers] (generated): Likewise.
929 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
930 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
931 * sysdeps/unix/sysv/tcdrain.c: Likewise.
932 * sysdeps/unix/sysv/tcflow.c: Likewise.
933 * sysdeps/unix/sysv/tcflush.c: Likewise.
934 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
935 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
936 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
937 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
938 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
939
e7740d31
JM
940 * sysdeps/unix/siglist.c: Remove file.
941
ee06f18b
JM
942 * sysdeps/unix/getppid.S: Remove file.
943
097d59fa
JM
944 * sysdeps/unix/mkdir.c: Remove file.
945 * sysdeps/unix/rmdir.c: Likewise.
946
ff3d51ec
AS
9472012-04-19 Andreas Schwab <schwab@linux-m68k.org>
948
949 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
950 ERR_MAX value.
951 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
952 errlist-compat value.
953
50f81fd7
DM
9542012-04-18 David S. Miller <davem@davemloft.net>
955
956 * sysdeps/generic/memcopy.h (reg_char): Delete.
957 * debug/strcat_chk.c: Use char, not reg_char.
958 * debug/strcpy_chk.c: Likewise.
959 * debug/strncat_chk.c: Likewise.
960 * debug/strncpy_chk.c: Likewise.
961 * string/memchr.c: Likewise.
962 * string/memrchr.c: Likewise.
963 * string/rawmemchr.c: Likewise.
964 * string/strcat.c: Likewise.
965 * string/strchr.c: Likewise.
966 * string/strchrnul.c: Likewise.
967 * string/strcmp.c: Likewise.
968 * string/strcpy.c: Likewise.
969 * string/strncat.c: Likewise.
970 * string/strncmp.c: Likewise.
971 * string/strncpy.c: Likewise.
972
8ff41c46
WS
9732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
974
975 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
976 __builtin_memcopy is called when src and dest ranges are known to not
977 overlap.
978
6b652f46
WS
9792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
980
981 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
982 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
983 fwd_align_merge macro call.
984 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
985 bwd_align_merge macro call.
986 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
987
b282631e
WS
9882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
989
990 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
991 bwd_align_merge macros.
992 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
993 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
994 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
995
95aa737c
DM
9962012-04-18 David S. Miller <davem@davemloft.net>
997
998 * sysdeps/sparc/sparc64/memcopy.h: Delete.
999
7a99a614
AJ
10002012-04-18 Andreas Jaeger <aj@suse.de>
1001
1002 [BZ# 6794]
1003 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1004 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1005 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1006
1007 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1008 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1009 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1010
1011 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1012 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1013 Adjust for changed ldbl-128 files.
1014
1015 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1016 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1017 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1018
e5270c23
DM
10192012-04-17 David S. Miller <davem@davemloft.net>
1020
1021 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1022
fb5e92c9
AS
10232012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1024
1025 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1026 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1027 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1028 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1029 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1030 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1031
76da7265
AZ
10322012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1033
1034 [BZ #6794]
1035 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1036 * math/libm-test.inc: Add ilogb errno and exception tests.
1037 * math/w_ilogb.c: New file: ilogb wrapper.
1038 * math/w_ilogbf.c: New file: ilogbf wrapper.
1039 * math/w_ilogbl.c: New file: ilogbl wrapper.
1040 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1041 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1042 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1043 exception being thrown with 0.0 as argument.
1044 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1045 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1046 exception being thrown with 0.0 as argument.
1047 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1048 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1049 exception being thrown with 0.0 as argument.
1050 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1051 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1052 exception being thrown with 0.0 as argument.
1053 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1054 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1055 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1056 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1057 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1058 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1059 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1060 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1061 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1062
0396e69d
PB
10632012-04-17 Petr Baudis <pasky@ucw.cz>
1064
1065 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1066 with altivec.
1067
750b5926
MP
10682012-04-16 Marek Polacek <polacek@redhat.com>
1069
1070 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1071
751728a1
MP
10722012-04-16 Marek Polacek <polacek@redhat.com>
1073
1074 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1075 operands of fdivp instruction.
1076
34a27407
L
10772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1080 * elf/tst-auditmod3b.c: Likewise.
1081 * elf/tst-auditmod4b.c: Likewise.
1082 * elf/tst-auditmod5b.c: Likewise.
1083 * elf/tst-auditmod6b.c: Likewise.
1084 * elf/tst-auditmod6c.c: Likewise.
1085 * elf/tst-auditmod7b.c: Likewise.
1086 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1087 * sysdeps/x86_64/preconfigure.in: Likewise.
1088 * sysdeps/x86_64/preconfigure: Regenerated.
1089
7e73e17d
L
10902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1091
1092 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1093 __ILP32__.
1094
c7a6ab72
AB
10952012-04-13 Antoine Balestrat <merkil33@gmail.com>
1096
1097 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1098 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1099
a9e8e0e0
CL
11002012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1101
1102 [BZ #13973]
1103 * locale/iso-639.def: Fix gl language name. Spotted by
1104 Yaron Shahrabani.
1105
ec98af7d
RM
11062012-04-12 Roland McGrath <roland@hack.frob.com>
1107
1108 [BZ #2074]
1109 * libio/libio.h (__io_write_fn): Update comment.
1110
247c3ede
PB
11112012-04-12 Petr Baudis <pasky@ucw.cz>
1112
1113 [BZ #2074]
1114 * stdio.texi (Hook Functions): The user provided writer function
1115 is not allowed to return -1.
1116
55939d6d
DM
11172012-04-11 David S. Miller <davem@davemloft.net>
1118
1119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1120
90020f5a
MF
11212012-04-11 Mike Frysinger <vapier@gentoo.org>
1122
1123 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1124 Add a leading slash to rtkaio.
1125
288f9098
JM
11262012-04-11 Jim Meyering <meyering@redhat.com>
1127
90020f5a
MF
1128 [BZ #11959]
1129 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1130 It is not necessarily an error to ignore fwrite's return
1131 value. One can reliably use ferror to test for errors after
1132 the fact.
288f9098 1133
4be2b570
L
11342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 * bits/types.h (__snseconds_t): New type.
1137 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1138
1139 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1140 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1141 (__SNSECONDS_T_TYPE): Likewise.
1142 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1143 (__SNSECONDS_T_TYPE): Likewise.
1144 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1145 (__SNSECONDS_T_TYPE): Likewise.
1146
288f9098 11472012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1148
1149 [BZ #2636]
1150 * manual/time.texi (Processor Time): Return type of times is
1151 elapsed real time since an arbitrary point in the past.
1152 (CPU Time): Move CLK_TCK from here...
1153 (Processor Time): ...to here. Correct description.
1154 * manual/conf.texi (Constants for Sysconf): Correct description of
1155 _SC_CLK_TCK.
1156
d7dd4413
DM
11572012-04-10 David S. Miller <davem@davemloft.net>
1158
1159 [BZ #13967]
1160 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1161 where the is a gap between DT_REL(A) and DT_JMPREL.
1162
b46068fc
L
11632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1166 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1167 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1168
73d65cc3
SP
11692012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1170
1171 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1172 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1173 (dl_main): Handle --inhibit-cache.
1174 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1175 _dl_inhibit_cache.
1176 * elf/dl-load.c (_dl_map_object): Use it.
1177 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1178
bcc8d661
JM
11792012-04-09 Joseph Myers <joseph@codesourcery.com>
1180
8f9a2fae
JM
1181 [BZ #13872]
1182 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1183 (__ieee754_powl): Saturate large exponents rather than testing for
1184 overflow of y*log2(x).
1185 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1186 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1187 exceptions.
1188
bcc8d661
JM
1189 [BZ #11521]
1190 * math/s_ctan.c: Include <float.h>.
1191 (__ctan): Avoid internal overflow or cancellation in calculating
1192 denominator.
1193 * math/s_ctanf.c: Likewise.
1194 * math/s_ctanl.c: Likewise.
1195 * math/s_ctanh.c: Likewise.
1196 * math/s_ctanhf.c: Likewise.
1197 * math/s_ctanhl.c: Likewise.
1198 * math/libm-test.inc (ctan_test): Add more tests.
1199 (ctanh_test): Likewise.
1200 * sysdeps/i386/fpu/libm-test-ulps: Update.
1201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202
823fbbb4
AJ
12032012-04-09 Andreas Jaeger <aj@suse.de>
1204
03879793
AJ
1205 [BZ #6894]
1206 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1207 is an optional BSD extension.
1208
823fbbb4
AJ
1209 [BZ #10254]
1210 * manual/stdio.texi (Opening Streams): Document additional fopen
1211 parameters.
1212
8de131cb
RM
12132012-04-09 Roland McGrath <roland@hack.frob.com>
1214
1215 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1216 %eax without telling the compiler.
1217
c0ed9d7d
CD
12182012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1219
1220 [BZ # 13963]
1221 * manual/install.texi: Use sourceware.org.
1222
c483f6b4
JM
12232012-04-09 Joseph Myers <joseph@codesourcery.com>
1224
d7dd9453
JM
1225 [BZ #13873]
1226 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1227 (__ieee754_pow): Generate overflow and underflow using huge*huge
1228 and tiny*tiny rather than just returning constant infinity or zero
1229 for large exponents.
1230 * math/libm-test.inc (pow_test): Require overflow exceptions for
1231 applicable cases of large exponents.
1232
c483f6b4
JM
1233 [BZ #706]
1234 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1235 (__ieee754_pow): Use iterative multiplication algorithm only for
1236 integer exponents with absolute value below 1024. Check for odd
1237 integer exponents when using algorithm for real exponents.
1238 * math/libm-test.inc (pow_test): Add more tests.
1239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1240
d2de7579
JM
12412012-04-08 Joseph Myers <joseph@codesourcery.com>
1242
1243 [BZ #13705]
1244 * math/libm-test.inc (exp_test): Do not allow overflow exception
1245 on underflow test.
1246
f77f1232
AJ
12472012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1248
1249 [BZ #13705]
1250 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1251 instead of __kernel_standard_f.
1252
3884932b
MF
12532012-04-08 Mike Frysinger <vapier@gentoo.org>
1254
1255 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1256 * sysdeps/x86_64/memset_chk.S: Likewise.
1257
54472e9c
AJ
12582012-04-08 Andreas Jaeger <aj@suse.de>
1259
6ab0fbfc
AJ
1260 [BZ #10153]
1261 * manual/startup.texi (Environment Access): Describe return value
1262 for putenv and setenv.
1263
61efba8c
AJ
1264 [BZ #6895]
1265 * manual/filesys.texi (Directory Entries): Add description for
1266 DT_LNK.
1267
95c3f29a
AJ
1268 [BZ #6890]
1269 * manual/filesys.texi (Directory Entries): Clarify that it's file
1270 system not operating system in the description of DT_UNKNOWN.
1271
54472e9c
AJ
1272 [BZ #6578]
1273 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1274
624254b1
SC
12752012-04-08 Stephen Compall <s11@member.fsf.org>
1276
1277 [BZ #6649]
1278 * manual/llio.texi (Opening and Closing Files): Add cross
1279 reference to explain mode argument.
1280
1e4920e0
MF
12812012-04-07 Mike Frysinger <vapier@gentoo.org>
1282
1283 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1284 * sysdeps/x86_64/memset_chk.S: Likewise.
1285
5ed848f3
DM
12862012-04-07 David S. Miller <davem@davemloft.net>
1287
1288 * elf/elf.h (R_SPARC_WDISP10): Define.
1289 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1290 R_SPARC_SIZE32.
1291 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1292 R_SPARC_SIZE64 and R_SPARC_H34.
1293
96154cd8
CD
12942012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1295
1296 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1297 conditions and remove no longer applicable assertion.
1298
9904dc47
L
12992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 * bits/byteswap.h: Include <features.h>.
1302 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1303 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1304
f8887d0a
L
13052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1306
1307 * bits/byteswap.h (__bswap_16): Removed.
1308 Include <bits/byteswap-16.h> to get __bswap_16.
1309 * sysdeps/i386/bits/byteswap.h: Likewise.
1310 * sysdeps/s390/bits/byteswap.h: Likewise.
1311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1312 * bits/byteswap-16.h: New file.
1313 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1314 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1315 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1316 * string/Makefile (headers): Add bits/byteswap-16.h.
1317
62470f60
PP
13182012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1319
1320 [BZ #13895]
1321 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1322 extra indirection.
1323 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1324 * nss/tst-nss-static.c: New.
1325
4dad7bab
RM
13262012-04-06 Robert Millan <rmh@gnu.org>
1327
1328 [BZ #6486]
1329 * manual/llio.texi (File Position Primitive): lseek
1330 refers to WHENCE when it really means OFFSET.
1331
e9142a17
AJ
13322012-04-06 Andreas Jaeger <aj@suse.de>
1333
2c040eff
AJ
1334 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1335 strncmp declarations.
1336
e9142a17
AJ
1337 * abilist/libc.abilist: Add __poll and __ppoll.
1338
ff9f1c5f
DM
13392012-04-05 David S. Miller <davem@davemloft.net>
1340
dcd2ae90
DM
1341 * scripts/check-local-headers.sh: Accept a host triplet in the
1342 path matched by the exclude regexp.
1343
993eb054
DM
1344 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1345 definition.
1346 * sysdeps/powerpc/powerpc32/dl-machine.h
1347 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1348 * sysdeps/s390/s390-32/dl-machine.h
1349 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1350 * sysdeps/sparc/sparc32/dl-machine.h
1351 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1352 * sysdeps/sparc/sparc64/dl-machine.h
1353 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1354
ff9f1c5f
DM
1355 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1356 lazy binding.
48e2e132 1357 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1358 undefined symbol errors.
1359
48e2e132 1360 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1361 DT_NEEDED entries.
1362
e80d6f94
MM
13632012-04-05 Michael Matz <matz@suse.de>
1364
1365 [BZ #13592]
1366 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1367
349fa79f
AJ
13682012-04-05 Andreas Jaeger <aj@suse.de>
1369
1370 [BZ #13908]
1371 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1372 comment.
1373
f402708f
KK
13742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1375
1376 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1377 which ROUND is no valid rounding mode.
1378
2ecccfc9
KK
13792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1380
1381 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1382 read again.
1383 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1384
8a53f50f
KK
13852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1386
1387 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1388 an exception using FPU order intentionally.
1389
13902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1391
1392 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1393 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1394 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1395 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1396
d653abb7
SJ
13972012-04-05 Simon Josefsson <simon@josefsson.org>
1398
1399 [BZ #12340]
1400 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1401 EINVAL when BUFLEN is too smal.
1402
c3b1bf7d
TS
14032012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1404
1405 [BZ #13553]
1406 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1407 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1408
b1aa60f3
AJ
14092012-04-03 Andreas Jaeger <aj@suse.de>
1410
c3b1bf7d 1411 [BZ #13938]
67f60a26
AJ
1412 * manual/setjmp.texi (System V contexts): Fix sentence.
1413
b1aa60f3
AJ
1414 [BZ #13926]
1415 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1416 New macro for this case.
1417 [!__GNUC__] (__bswap_64): New inline function for this case.
1418 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1419 * bits/byteswap.h: Likewise.
1420 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1421 ull, guard with __GLIBC_HAVE_LONG_LONG.
1422
1423 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1424 __GLIBC_HAVE_LONG_LONG.
1425
1426 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1427 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1428
39c59c35
TMQMF
14292012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1430
1431 [BZ #13691]
1432 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1433 inptr and inend, rather than using last_ch.
1434
135ffda8
DM
14352012-04-02 David S. Miller <davem@davemloft.net>
1436
1437 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1438 * stdio-common/printf-parse.h (read_int): Change return type to
1439 'int', return -1 on INT_MAX overflow.
1440 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1441 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1442 overflows INT_MAX. Check for overflow of in-format-string precision
1443 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1444 SIZE_MAX not INT_MAX for integer overflow test.
1445 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1446 skip the construct in the format string but do not record anything.
1447 * stdio-common/bug22.c: Adjust to test both width/prevision
1448 INT_MAX overflow as well as total length INT_MAX overflow. Check
1449 explicitly for proper errno values.
1450
228c019e
TS
14512012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1452
302cadd3
TS
1453 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1454 CHAR_MAX.
1455 * string/test-strcmp.c [! WIDE]: Likewise.
1456 * time/tst-mktime2.c: Likewise for INT_MAX.
1457 * string/test-string.h: #include <sys/param.h> for MIN.
1458
228c019e
TS
1459 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1460 * sysdeps/i386/init-first.c (init): Likewise.
1461 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1462 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1463 * sysdeps/sh/init-first.c (init): Likewise.
1464
cfa633f5
UD
14652012-04-01 Ulrich Drepper <drepper@gmail.com>
1466
1467 * po/ru.po: Update from translation team.
d1635ef8 1468 * po/vi.po: Likewise.
cfa633f5 1469
6cd0a5ea
SP
14702012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1471
1472 * resolv/nss_dns/dns-host.c: Merge copyright years.
1473
4b43400f
LD
14742012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1475
1476 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1477 Optimize memcpy with prefetch if
1478 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1479 src, dst pointers have unequal 16 byte alignments.
1480
48c41d04
SP
14812012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1482
1483 [BZ #13928]
1484 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1485 from a CNAME entry and return the minimum ttl for the query.
1486 (gaih_getanswer_slice): Likewise.
1487
b8dc394d
JL
14882012-03-30 Jeff Law <law@redhat.com>
1489
1490 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1491 due to long keys.
1492 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1493 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1494
2f5a5ed0
JL
1495 * resolv/nss_dns/dns-host.c: Update copyright year.
1496
1d39e359
UD
14972012-03-30 Ulrich Drepper <drepper@gmail.com>
1498
c030f70c 1499 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1500 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1501
1d39e359
UD
1502 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1503 comments for sendmmsg.
1504
15052012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1506
1507 [BZ #13691]
1508 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1509 with only 1 character between 0x0041 and 0x01b0.
1510 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1511 * wcsmbs/tst-mbsnrtowcs.c: New file.
1512
20fde227
DM
15132012-03-29 David S. Miller <davem@davemloft.net>
1514
1515 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1516 small copies by hand.
1517
984a4237
JL
15182012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1519
1520 [BZ #13761]
1521 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1522 _nss_compat_initgroups_dyn): Fall back to malloc/free
1523 for large group memberships.
1524
18c9d62b
DM
15252012-03-28 David S. Miller <davem@davemloft.net>
1526
88d85d4f
DM
1527 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1528 that branches into memcpy.
1529 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1532 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1534 bits.
1535 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1536 implementation too.
1537 * sysdeps/sparc/mempcpy.S: New file.
1538
e5aa83e1
DM
1539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1540 the IFUNC routine in the libc case.
1541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1542
88570753
DM
1543 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1544 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1545 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1546 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1547 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1548 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1549 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1550 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1551
249d7567
DM
1552 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1553 loop to 256 bytes instead of 64 bytes and fix test signedness.
1554
18c9d62b
DM
1555 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1556 * sysdeps/sparc/sparc32/Makefile: rather than here...
1557 * sysdeps/sparc/sparc64/Makefile: and here.
1558
05f3d1f6
UD
15592012-03-28 Ulrich Drepper <drepper@gmail.com>
1560
1561 * malloc/mallocbug.c: Avoid warnings about unused variables.
1562
86ae07a8
JL
15632012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1564
1565 [BZ #13760]
1566 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1567 in the right place. Discard and retry query if response is
1568 larger than input buffer size.
1569
41bf21a1
JM
15702012-03-28 Joseph Myers <joseph@codesourcery.com>
1571
d6270972
JM
1572 [BZ #369]
1573 [BZ #2678]
1574 [BZ #3866]
1575 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1576 x for large integer exponent.
1577 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1578 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1579 sign of result as needed afterwards.
1580 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1581 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1582 result for underflowing pow the same as for overflow.
1583 (__kernel_standard_l): Handle powl overflow and underflow here
1584 rather than calling __kernel_standard.
1585 * math/libm-test.inc (pow_test): Add more tests.
1586
414fca03 1587 [BZ #3868]
41bf21a1
JM
1588 [BZ #13879]
1589 [BZ #13910]
1590 [BZ #13911]
1591 [BZ #13912]
1592 [BZ #13913]
1593 [BZ #13915]
1594 [BZ #13916]
1595 [BZ #13917]
1596 [BZ #13918]
1597 [BZ #13919]
1598 [BZ #13920]
1599 [BZ #13921]
1600 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1601 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1602 (__kernel_standard_l): New function.
1603 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1604 __kernel_standard.
1605 * math/w_acosl.c (__acosl): Likewise.
1606 * math/w_asinl.c (__asinl): Likewise.
1607 * math/w_atan2l.c (__atan2l): Likewise.
1608 * math/w_atanhl.c (__atanhl): Likewise.
1609 * math/w_coshl.c (__coshl): Likewise.
1610 * math/w_exp10l.c (__exp10l): Likewise.
1611 * math/w_exp2l.c (__exp2l): Likewise.
1612 * math/w_fmodl.c (__fmodl): Likewise.
1613 * math/w_hypotl.c (__hypotl): Likewise.
1614 * math/w_j0l.c (__j0l, __y0l): Likewise.
1615 * math/w_j1l.c (__j1l, __y1l): Likewise.
1616 * math/w_jnl.c (__jnl, __ynl): Likewise.
1617 * math/w_lgammal.c (__lgammal): Likewise.
1618 * math/w_log10l.c (__log10l): Likewise.
1619 * math/w_log2l.c (__log2l): Likewise.
1620 * math/w_logl.c (__logl): Likewise.
1621 * math/w_powl.c (__powl): Likewise.
1622 * math/w_remainderl.c (__remainderl): Likewise.
1623 * math/w_scalbl.c (sysv_scalbl): Likewise.
1624 * math/w_sinhl.c (__sinhl): Likewise.
1625 * math/w_sqrtl.c (__sqrtl): Likewise.
1626 * math/w_tgammal.c (__tgammal): Likewise.
1627 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1628 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1629 * math/libm-test.inc (acos_test): Add more tests.
1630 (acosh_test): Likewise.
1631 (asin_test): Likewise.
1632 (atanh_test): Likewise.
1633 (exp_test): Likewise.
1634 (exp10_test): Likewise.
1635 (exp2_test): Likewise.
1636 (expm1_test): Likewise.
1637 (lgamma_test): Likewise.
1638 (log_test): Likewise.
1639 (log10_test): Likewise.
1640 (log1p_test): Likewise.
1641 (log2_test): Likewise.
1642 (pow_test): Do not allow some spurious overflow exceptions.
1643 (sqrt_test): Add more tests.
1644 (tgamma_test): Likewise.
1645 (y0_test): Likewise.
1646 (y1_test): Likewise.
1647 (yn_test): Likewise.
1648
dd62fda6
AB
16492012-03-27 Anton Blanchard <anton@samba.org>
1650
1651 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1652 MAP_HUGETLB.
1653 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1654 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1655 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1656
1e3cdfda
AJ
16572012-03-27 David S. Miller <davem@davemloft.net>
1658
b855ab85
DM
1659 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1660
1e3cdfda
AJ
1661 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1662 have-as-vis3 check.
1663
16642012-03-27 Andreas Jaeger <aj@suse.de>
1665
1666 * sysdeps/x86_64/elf/configure.in: Moved to ...
1667 * sysdeps/x86_64/configure.in: ... here.
1668 * sysdeps/x86_64/elf/start.S: Moved to ...
1669 * sysdeps/x86_64/start.S: ... here.
1670 * sysdeps/x86_64/elf/configure: Delete.
1671
1672 * sysdeps/x86_64/configure.in: Merge contents from
1673 sysdeps/i386/configure.in (without i686 check).
1674
1675 * sysdeps/i386/elf/Versions: Merge into ...
1676 * sysdeps/i386/Versions: ... this.
1677 * sysdeps/i386/elf/Versions: Delete file.
1678 * sysdeps/i386/elf/start.S: Moved to ...
1679 * sysdeps/i386/start.S: ...here.
1680 * sysdeps/i386/elf/configure.in: Merge into...
1681 * sysdeps/i386/configure.in: ...here.
1682 * sysdeps/i386/elf/configure.in: Delete file.
1683 * sysdeps/i386/elf/configure: Delete file.
1684
1685 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1686 * debug/backtracesyms.c: ... here.
1687 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1688 * debug/backtracesymsfd.c: ... here.
1689 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1690 * sysdeps/generic/ifunc-sel.h: ... here.
1691
1692 * sysdeps/unix/i386/start.c: Delete file.
1693 * sysdeps/unix/sparc/start.c: Delete file.
1694 * sysdeps/unix/start.c: Delete file.
1695
1696 * sysdeps/sh/elf/configure.in: Moved to ...
1697 * sysdeps/sh/configure.in: ... here.
1698 * sysdeps/sh/elf/start.S: Moved to ...
1699 * sysdeps/sh/start.S: ... here.
1700 * sysdeps/sh/elf/configure: Delete file.
1701
1702 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1703 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1704 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1705 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1706 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1707 * sysdeps/powerpc/powerpc64/start.S: here.
1708 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1709 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1710 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1711 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1712 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1713
1714 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1715 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1716 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1717 * sysdeps/powerpc/powerpc32/start.S: ... here.
1718 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1719 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1720 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1721
1722 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1723 * sysdeps/powerpc/ifunc-sel.h: ... here.
1724 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1725 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1726
1727 * sysdeps/sparc/elf/configure.in: Moved to ...
1728 * sysdeps/sparc/configure.in: ... here.
1729 * sysdeps/sparc/elf/configure: Delete file.
1730 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1731 * sysdeps/sparc/sparc32/start.S: ... here.
1732 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1733 * sysdeps/sparc/sparc64/start.S: ... here.
1734 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1735 * sysdeps/sparc/sparc32/Makefile: ... this.
1736 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1737 * sysdeps/sparc/sparc64/Makefile: ... this.
1738
1739 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1740 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1741 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1742 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1743 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1744 * sysdeps/s390/s390-32/setjmp.S: ... here.
1745 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1746 * sysdeps/s390/s390-32/configure.in: ... here.
1747 * sysdeps/s390/s390-32/elf/configure: Delete file.
1748 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1749 * sysdeps/s390/s390-32/start.S: ... here.
1750
1751 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1752 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1753 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1754 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1755 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1756 * sysdeps/s390/s390-64/setjmp.S: ... here.
1757 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1758 * sysdeps/s390/s390-64/configure.in: ... here
1759 * sysdeps/s390/s390-64/elf/configure: Delete file.
1760 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1761 * sysdeps/s390/s390-64/start.S: ... here.
1762 * sysdeps/s390/s390-64/elf/configure: Delete.
1763
1764 * configure.in: Remove support for elf directories in sysdeps.
1765
1766 * configure: Regenerated.
1767 * sysdeps/i386/configure: Regenerated.
1768 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1769 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1770 * sysdeps/s390/s390-32/configure: Regenerated.
1771 * sysdeps/s390/s390-64/configure: Regenerated.
1772 * sysdeps/sh/configure: Regenerated.
1773 * sysdeps/sparc/configure: Regenerated.
1774 * sysdeps/x86_64/configure: Regenerated.
1775
a3f61311
AS
17762012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1777
c876e002
AS
1778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1779
a3f61311
AS
1780 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1781 denormal result into account.
1782
ac4c54f0
RM
17832012-03-25 Roland McGrath <roland@hack.frob.com>
1784
1785 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1786 Reported by Allan McRae <allan@archlinux.org>.
1787
6a9b9c02
JL
17882012-03-23 Jeff Law <law@redhat.com>
1789
1790 * nss/getnssent.c (__nss_getent): Fix typo.
1791
4c42a0c1
DM
17922012-03-23 David S. Miller <davem@davemloft.net>
1793
1794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1795
1532c7ac
L
17962012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1797
1798 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1799 to pad to uint64_t for each field.
1800 (dl_tls_index): Replace unsigned long with uint64_t.
1801
3ff42526
PP
18022012-03-23 Daniel Jacobowitz <dmj@google.com>
1803 Paul Pluzhnikov <ppluzhnikov@google.com>
1804
1805 [BZ #6528]
1806 * grp/Makefile (otherlibs): Don't set it.
1807 * inet/Makefile (otherlibs): Likewise.
1808 * login/Makefile (otherlibs): Likewise.
1809 * nscd/Makefile (otherlibs): Likewise.
1810 * posix/Makefile (otherlibs): Likewise.
1811 * pwd/Makefile (otherlibs): Likewise.
1812 * rt/Makefile (otherlibs): Likewise.
1813 * sunrpc/Makefile (otherlibs): Likewise.
1814 * nss/Makefile (otherlibs): Likewise.
1815 Add libnss_files to routines and static-only-routines.
1816 ($(objpfx)getent): Remove rule.
1817 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1818 static-only-routines.
1819
7c69cd14
JM
18202012-03-22 Joseph Myers <joseph@codesourcery.com>
1821
1822 [BZ #13892]
1823 * math/s_cexp.c: Include <float.h>.
1824 (__cexp): Handle exp result overflowing not necessarily
1825 overflowing both real and imaginary parts of result.
1826 * math/s_cexpf.c: Likewise.
1827 * math/s_cexpl.c: Likewise.
1828 * math/libm-test.inc (cexp_test): Add more tests.
1829 * sysdeps/i386/fpu/libm-test-ulps: Update.
1830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1831
81b035fe
L
18322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1833
1834 * include/link.h (ELFW): New macro.
1835 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1836 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1837
1da7940c
L
18382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1839
1840 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1841 with uint64_t.
1842
b749dbb9
L
18432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1844
1845 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1846 declaration.
1847 (struct La_x32_retval): Likewise.
1848
2ff87f3f
L
18492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 * sysdeps/x86_64/preconfigure.in: New file.
1852 * sysdeps/x86_64/preconfigure: New generated file.
1853
c0df8e69
JM
18542012-03-22 Joseph Myers <joseph@codesourcery.com>
1855
48e44791
JM
1856 [BZ #13824]
1857 * math/e_exp2l.c: Include <float.h>.
1858 (__ieee754_exp2l): Handle overflow and underflow cases
1859 separately. Only pass fractional part of argument to
1860 __ieee754_expl.
1861 * math/libm-test.inc (exp2_test): Add more tests.
1862
c0df8e69
JM
1863 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1864 negating x to take absolute value.
1865 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1866 Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1869 Likewise.
1870 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1871 computing low part if x was negated.
1872 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1873
c8e43ba7
L
18742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1875
1876 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1877 la_x32_gnu_pltexit.
1878 (pltexit): Cast int_retval to ptrdiff_t.
1879 * elf/tst-auditmod3b.c: Likewise.
1880 * elf/tst-auditmod4b.c: Likewise.
1881 * elf/tst-auditmod5b.c: Likewise.
1882 * elf/tst-auditmod6b.c: Likewise.
1883 * elf/tst-auditmod6c.c: Likewise.
1884 * elf/tst-auditmod7b.c: Likewise.
1885
1886 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1887 and x32_gnu_pltexit.
1888
1889 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1890 __ELF_NATIVE_CLASS.
1891 (La_x32_regs): New macro.
1892 (La_x32_retval): Likewise.
1893 (la_x32_gnu_pltenter): New function prototype.
1894 (la_x32_gnu_pltexit): Likewise.
1895
7998fa78
AS
18962012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1897
dcb33988
AS
1898 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1899 exponent.
1900
233fc563
AS
1901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1902
7998fa78
AS
1903 * configure.in (libc_cv_cc_nofma): Check for option to disable
1904 generation of FMA instructions.
1905 * configure: Regenerate.
1906 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1907 * sysdeps/ieee754/dbl-64/Makefile: New file.
1908 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1909 Remove brandred-fma4.
1910 (CFLAGS-brandred-fma4.c): Remove.
1911 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1912 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1913 define.
1914 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1915 define.
1916
8e95c99a
L
19172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1920 LLONG_MAX != LONG_MAX.
1921 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1922 (_fitoa_word): Likewise.
1923 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1924 LLONG_MAX != LONG_MAX.
1925 * stdio-common/_itowa.h: Include <_itoa.h>.
1926 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1927 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1928 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1929 only if not defined.
1930 (_ITOA_WORD_TYPE): Likewise.
1931 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1932 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1933
6f4db457
DM
19342012-03-21 David S. Miller <davem@davemloft.net>
1935
1936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1937
7785fe5a
L
19382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1939
1940 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1941 of x86_64 when setting libc_cv_slibdir, libdir and
1942 libc_cv_localedir.
1943 * sysdeps/unix/sysv/linux/configure: Regenerated.
1944
4535cd55
JM
19452012-03-21 Joseph Myers <joseph@codesourcery.com>
1946
1947 * manual/lang.texi (Old Varargs): Remove section.
1948 (How Variadic): Update menu.
1949 (va_start): Do not mention varargs.h.
1950
17228132
TS
19512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1952 Joseph Myers <joseph@codesourcery.com>
1953
1954 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1955 link test.
1956 * configure: Regenerated.
1957
8149f976
TS
19582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1959
05f3d1f6
UD
1960 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1961 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1962 conformtest.pl
8149f976 1963
1a4ac776
JM
19642012-03-21 Joseph Myers <joseph@codesourcery.com>
1965
be22ce65
JM
1966 * NOTES: Remove.
1967 * Makefile (files-for-dist): Remove NOTES.
1968 (NOTES): Remove rule.
1969 * README: Don't refer to NOTES.
1970 * manual/creature.texi: Don't include macros.texi.
1971 * manual/intro.texi (creature.texi): Remove comment referring to
1972 NOTES.
1973
40b601fb
JM
1974 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1975 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1976 * configure: Regenerated.
1977 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1978 LIBC_TRY_CC_OPTION.
1979 (libc_cv_as_i686): Likewise.
1980 (libc_cv_cc_avx): Likewise.
1981 (libc_cv_cc_sse2avx): Likewise.
1982 (libc_cv_cc_fma4): Likewise.
1983 (libc_cv_cc_novzeroupper): Likewise.
1984 * sysdeps/i386/configure: Regenerated.
1985
1a4ac776
JM
1986 [BZ #13883]
1987 * sysdeps/i386/fpu/s_cexp.S: Remove.
1988 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1989 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1990 * math/libm-test.inc (cexp_test): Add more tests.
1991 * sysdeps/i386/fpu/libm-test-ulps: Update.
1992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1993
a458e7fe
AM
19942012-03-21 Allan McRae <allan@archlinux.org>
1995
1996 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1997
0cb7efc5
JM
19982012-03-21 Joseph Myers <joseph@codesourcery.com>
1999
2000 [BZ #13871]
2001 * math/w_exp2.c: Do not include <float.h>.
2002 (o_threshold, u_threshold): Remove.
2003 (__exp2): Calculate result before checking finiteness and calling
2004 __kernel_standard.
2005 * math/w_exp2f.c: Likewise.
2006 * math/w_exp2l.c: Likewise.
2007 * math/libm-test.inc (exp2_test): Require overflow exception for
2008 1e6 input.
2460d3aa
JM
2009
2010 [BZ #3866]
2011 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2012 range of signed 64-bit integers before using fistpll. Remove
2013 checks for whether integers fit in mantissa bits.
2014 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2015 the range of signed 32-bit integers before using fistpl. Remove
2016 checks for whether integers fit in mantissa bits.
2017 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2018 (__ieee754_powl): Test for y outside the range of signed 64-bit
2019 integers before using fistpll. Reduce 64-bit values to 63-bit
2020 ones as needed.
2021 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2022 divide-by-zero is raised for zero to large negative powers.
2023 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2024 (__ieee754_powl): Test for y outside the range of signed 64-bit
2025 integers before using fistpll. Reduce 64-bit values to 63-bit
2026 ones as needed.
2027 * math/libm-test.inc (pow_test): Add more tests.
2028
eb96ffb0
L
20292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2030
2031 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2032 <stdio-common/_itoa.h>.
2033 * debug/segfault.c: Likewise.
2034 * elf/dl-cache.c: Likewise.
2035 * elf/dl-minimal.c: Likewise.
2036 * elf/dl-misc.c: Likewise.
2037 * elf/dl-sysdep.c: Likewise.
2038 * elf/dl-version.c: Likewise.
2039 * elf/rtld.c: Likewise.
2040 * hurd/hurdsock.c: Likewise.
2041 * hurd/lookup-retry.c: Likewise.
2042 * malloc/malloc.c: Likewise.
2043 * malloc/mtrace.c: Likewise.
2044 * nscd/nscd_getgr_r.c: Likewise.
2045 * nscd/nscd_getpw_r.c: Likewise.
2046 * nscd/nscd_getserv_r.c: Likewise.
2047 * posix/getopt_init.c: Likewise.
2048 * posix/wordexp.c: Likewise.
2049 * stdio-common/_itoa.c: Likewise.
2050 * stdio-common/printf_fphex.c: Likewise.
2051 * stdio-common/vfprintf.c: Likewise.
2052 * string/_strerror.c: Likewise.
2053 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2054 * sysdeps/i386/i686/hp-timing.h: Likewise.
2055 * sysdeps/mach/_strerror.c: Likewise.
2056 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2057 * sysdeps/mach/hurd/sethostid.c: Likewise.
2058 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2059 * sysdeps/mach/xpg-strerror.c: Likewise.
2060 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2061 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2062 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2063 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2064 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2065 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2066 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2067 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2068 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2069 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2070 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2071 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2072 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2073 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2074 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2075 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2076 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2078 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2079 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2080 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2081
2082 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2083
2084 * stdio-common/_itoa.h: Moved to ...
2085 * sysdeps/generic/_itoa.h: Here.
2086
2087 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2088
2089 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2090 instead of "_itoa.h" and "_itowa.h".
2091 * stdio-common/vfprintf.: Likewise.
2092
d1af992d
L
20932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2094
2095 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2096 <bits/wordsize.h>.
2097 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2098 (__signbit): Likwise.
2099 (llrintf): Likwise.
2100 (llrint): Likwise.
2101
114883e0
L
21022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2103
2104 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2105 __WORDSIZE != 64.
2106
c135cc1b
JM
21072012-03-20 Joseph Myers <joseph@codesourcery.com>
2108
2109 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2110 OVERFLOW_EXCEPTION_OK.
2111 * math/libm-test.inc ("Philosophy"): Update comment about
2112 exception testing.
2113 (OVERFLOW_EXCEPTION): Define.
2114 (OVERFLOW_EXCEPTION_OK): Likewise.
2115 (INVALID_EXCEPTION_OK): Renumber.
2116 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2117 (IGNORE_ZERO_INF_SIGN): Likewise.
2118 (test_exceptions): Handle FE_OVERFLOW.
2119 (exp10_test): Expect overflow exceptions.
2120 (exp2_test): Likewise.
2121 (expm1_test): Likewise.
2122 (nextafter_test): Likewise.
2123 (pow_test): Likewise.
2124 (scalbn_test): Likewise.
2125 (scalbln_test): Likewise.
2126
95443d88
L
21272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2128
2129 * sysdeps/x86_64/bits/atomic.h
2130 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2131 64bit integer.
2132 (atomic_exchange_acq): Likewise.
2133 (__arch_exchange_and_add_body): Likewise.
2134 (__arch_add_body): Likewise.
2135 (atomic_add_negative): Likewise.
2136 (atomic_add_zero): Likewise.
2137
490df6c4
L
21382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2139
c2722551 2140 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2141 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2142
5e52b189
L
21432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2146 Check __x86_64__ instead of __WORDSIZE.
2147
a9879d4c
L
21482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2149
2150 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2151
5df98260
DM
21522012-03-19 David S. Miller <davem@davemloft.net>
2153
e1497744
DM
2154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2155
5df98260
DM
2156 * sysdeps/sparc/fpu/fenv_private.h: New file.
2157 * sysdeps/sparc/fpu/math_private.h: Use it.
2158 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2159 Remove.
2160 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2161 (libc_feholdexcept_setroundl): Remove.
2162 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2163 Remove.
2164 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2165 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2166
b4c35121
L
21672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2168
2169 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2170 int64_t instead of long int.
2171 (INSERT_WORDS64): Likwise.
2172
56965fd7
L
21732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2174
2175 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2176 _Unwind_GetCFA return to _Unwind_Ptr first.
2177
83d1aec8
JM
21782012-03-19 Joseph Myers <joseph@codesourcery.com>
2179
1897ad44
JM
2180 [BZ #13629]
2181 * math/s_clog.c: Include <float.h>.
2182 (__clog): Scale large or subnormal inputs.
2183 * math/s_clogf.c: Likewise.
2184 * math/s_clogl.c: Likewise.
2185 * math/s_clog10.c: Include <float.h>.
2186 (M_LOG10_2): Define.
2187 (__clog10): Scale large or subnormal inputs.
2188 * math/s_clog10f.c: Likewise.
2189 * math/s_clog10l.c: Likewise.
2190 * math/libm-test.inc (clog_test): Add more tests.
2191 (clog10_test): Likewise.
2192 * sysdeps/i386/fpu/libm-test-ulps: Update.
2193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2194
7726d6a9
JM
2195 [BZ #11451]
2196 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2197 x and y.
2198 * math/libm-test.inc (atan2_test): Add another test.
2199
83d1aec8
JM
2200 * Makerules (common-objdir-compile): Remove.
2201 * sysdeps/unix/Makefile (config-generated): Do not add
2202 $(unix-generated) to variable.
2203 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2204 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2205 Remove rule.
2206 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2207 Likewise.
2208 [generic bits/local_lim.h] (before-compile): Do not append to
2209 variable.
2210 [generic bits/local_lim.h] (common-generated): Likewise.
2211 [generic sys/param.h] (before-compile): Do not append to variable.
2212 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2213 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2214 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2215 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2216 include.
2217 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2218 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2219 [generic sys/param.h] ($(addprefix
2220 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2221 [generic sys/param.h] (common-generated): Do not append to
2222 variable.
2223 [generic sys/param.h] (sysdep_headers): Likewise.
2224 [generic bits/errno.h] (before-compile): Do not append to
2225 variable.
2226 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2227 rule.
2228 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2229 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2230 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2231 [generic bits/errno.h] (common-generated): Do not append to
2232 variable.
2233 [generic bits/ioctls.h] (before-compile): Do not append to
2234 variable.
2235 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2236 rule.
2237 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2238 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2239 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2240 rule.
2241 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2242 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2243 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2244 [generic bits/ioctls.h] (common-generated): Do not append to
2245 variable.
2246 [generic sys/syscall.h] (syscall.h): Remove variable.
2247 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2248 rule.
2249 [generic sys/syscall.h] (before-compile): Do not append to
2250 variable.
2251 [generic sys/syscall.h] (common-generated): Likewise.
2252 * sysdeps/unix/errnos-tmpl.c: Remove file.
2253 * sysdeps/unix/errnos.awk: Likewise.
2254 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2255 * sysdeps/unix/ioctls.awk: Likewise.
2256 * sysdeps/unix/mk-local_lim.c: Likewise.
2257 * sysdeps/unix/snarf-ioctls: Likewise.
2258
4851a949
RH
22592012-03-19 Richard Henderson <rth@twiddle.net>
2260
bd37f2ee
RH
2261 * sysdeps/i386/fpu/fenv_private.h: New file.
2262 * sysdeps/i386/fpu/math_private.h: Use it.
2263 (math_opt_barrier, math_force_eval): Remove.
2264 (libc_feholdexcept_setround_53bit): Remove.
2265 (libc_feupdateenv_53bit): Remove.
2266 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2267 (math_opt_barrier, math_force_eval): Remove.
2268 (libc_feholdexcept): Remove.
2269 (libc_feholdexcept_setround): Remove.
2270 (libc_fetestexcept, libc_fesetenv): Remove.
2271 (libc_feupdateenv_test): Remove.
2272 (libc_feupdateenv, libc_feholdsetround): Remove.
2273 (libc_feresetround): Remove.
2274
d0adc922
RH
2275 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2276 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2277
0fe0f1f8
RH
2278 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2279 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2280 (libc_feupdateenv_testl): New.
2281 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2282 (libc_feupdateenv_testf): New.
2283 (libc_feupdateenv): Use libc_feupdateenv_test.
2284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2285 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2286
eb92c487
RH
2287 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2288 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2289 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2290 (libc_feresetround_noex): New.
2291 (libc_feresetround_noexf): New.
2292 (libc_feresetround_noexl): New.
2293 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2294 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2295 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2296 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2297 SET_RESTORE_ROUND.
2298 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2299 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2300 (__cos): Likewise.
2301 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2302 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2303 SET_RESTORE_ROUND_NOEX.
2304 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2305 SET_RESTORE_ROUND_NOEXF.
2306 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2307 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2308 (libc_feholdsetroundf): New.
2309 (libc_feresetround, libc_feresetroundf): New.
2310
7d2e8012
RH
2311 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2312 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2313 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2314
b4dabbb4
RH
2315 * sysdeps/generic/math_private.h: Include <fenv.h>.
2316 (default_libc_feholdexcept): New.
2317 (default_libc_feholdexcept_setround): New.
2318 (default_libc_fesetenv, default_libc_feupdateenv): New.
2319 (libc_feholdexcept): Only define if undefined.
2320 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2321 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2322 (libc_feholdexcept_setroundl): Likewise.
2323 (libc_feholdexcept_setround_53bit): Likewise.
2324 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2325 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2326 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2327 (libc_feupdateenv_53bit): Likewise.
2328 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2329 (libc_feholdexcept): Convert from macro to inline function.
2330 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2331 (libc_fesetenv, libc_feupdateenv): Likewise.
2332
4851a949
RH
2333 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2334 not previously defined.
2335 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2336 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2337 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2338 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2339 * sysdeps/ieee754/flt-32/math_private.h: New file.
2340 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2341 math_private.h below SET_FLOAT_WORD.
2342 (__isnan, __isinf_ns, __finite): Remove.
2343 (__isnanf, __isinf_nsf, __finitef): Remove.
2344
e79d442e
AS
23452012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2346
2347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2348
90b80344
DM
23492012-03-17 David S. Miller <davem@davemloft.net>
2350
2351 [BZ #6471]
2352 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2353 for 2.16.
2354
edc21804
DM
23552012-03-16 David S. Miller <davem@davemloft.net>
2356
77e927af
DM
2357 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2358 warnings.
2359
374976dd
DM
2360 [BZ #6471]
2361 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2362 properly.
2363 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2364 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2365 sysdep_routines when subdir is sysvipc.
2366 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2367 __getshmlba helper.
2368
edc21804
DM
2369 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2370
473c3ef3
L
23712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2372
2373 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2374 [__LP64__].
2375
eb0f39b6
L
23762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2377
2378 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2379 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2380 (__lround): Renamed to ...
2381 (__llround): This. Replace long int with long long int.
2382 Define lround functions as aliases of llround functions.
2383 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2384
6b6cd74b
L
23852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2386
2387 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2388 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2389 adresses to uintptr_t. Replace "long int" and "unsigned long
2390 int" with "greg_t" on va_arg.
2391
f1a77b01
L
23922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2393
2394 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2395 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2396
2397 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2398 Move e_machine check before EI_CLASS check. Handle x32
2399 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2400 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2401 SKIP_EM_IA_64 and include
2402 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2403
2404 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2405 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2406 (add_system_dir): New macro.
2407
2408 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2409 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2410
11b90b9f
JM
24112012-03-16 Joseph Myers <joseph@codesourcery.com>
2412
c36e1d23
JM
2413 [BZ #2551]
2414 [BZ #2552]
2415 [BZ #2553]
2416 [BZ #2554]
2417 [BZ #2562]
2418 [BZ #2563]
2419 [BZ #2565]
2420 [BZ #2566]
2421 [BZ #2576]
2422 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2423 (y0): Likewise.
2424 * math/w_j0f.c (j0f): Likewise.
2425 (y0f): Likewise.
2426 * math/w_j0l.c (__j0l): Likewise.
2427 (__y0l): Likewise.
2428 * math/w_j1.c (j1): Likewise.
2429 (y1): Likewise.
2430 * math/w_j1f.c (j1f): Likewise.
2431 (y1f): Likewise.
2432 * math/w_j1l.c (__j1l): Likewise.
2433 (__y1l): Likewise.
2434 * math/w_jn.c (jn): Likewise.
2435 (yn): Likewise.
2436 * math/w_jnf.c (jnf): Likewise.
2437 (ynf): Likewise.
2438 * math/w_jnl.c (__jnl): Likewise.
2439 (__ynl): Likewise.
2440 * math/libm-test.inc (j0_test): Add more tests.
2441 (j1_test): Likewise.
2442 (jn_test): Likewise. Add trailing semicolon to existing test.
2443 (y0_test): Likewise.
2444 (y1_test): Likewise.
2445 * sysdeps/i386/fpu/libm-test-ulps: Update.
2446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2447
11b90b9f
JM
2448 [BZ #13851]
2449 [BZ #13854]
2450 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2451 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2452 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2453 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2454 (__tanl): Set errno for infinite argument.
2455 * sysdeps/i386/fpu/mptan.c: Remove.
2456 * sysdeps/i386/fpu/s_tan.S: Likewise.
2457 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2458 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2459 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2460 * math/libm-test.inc (tan_test): Add more tests and enable more
2461 tests for double and long double.
2462 * sysdeps/i386/fpu/libm-test-ulps: Update.
2463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2464
6a1bd2a1
JK
24652012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2466
2467 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2468 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2469
10a803e0
RM
24702012-03-16 Roland McGrath <roland@hack.frob.com>
2471
2472 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2473 * configure.in: Use it for both main tree and add-ons.
2474 * configure: Regenerated.
2475
f196c7f7
L
24762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2477
2478 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2479
8848d99d
JM
24802012-03-16 Joseph Myers <joseph@codesourcery.com>
2481
96cbe7f4
JM
2482 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2483 in comment.
2484
8848d99d
JM
2485 [BZ #13851]
2486 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2487 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2488 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2489 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2490 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2491 infinite argument.
2492 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2493 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2494 != 0 for prec == 2.
2495 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2496 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2497 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2498 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2499 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2500 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2501 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2502 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2503 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2504 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2505 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2506 * math/libm-test.inc (cos_test): Add more tests and enable more
2507 tests for long double.
2508 (sin_test): Likewise.
2509 (sincos_test): Likewise.
2510 * sysdeps/i386/fpu/libm-test-ulps: Update.
2511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2512
dd7f4703
DM
25132012-03-16 David S. Miller <davem@davemloft.net>
2514
2515 * sysdeps/sparc/fpu/math_private.h: New file.
2516
006f1daa
DM
25172012-03-15 David S. Miller <davem@davemloft.net>
2518
c0c83bc8
DM
2519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2520 file.
e6a62e18 2521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2523 file.
e6a62e18
DM
2524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2530 sysdep routines.
2531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2532
88cb87d9
DM
2533 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2534 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2535
006f1daa 2536 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2538 sparc-ifunc.h
006f1daa 2539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2541 Likewise.
2542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2543 Likewise.
006f1daa
DM
2544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2548 Likewise.
006f1daa
DM
2549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2554 Likewise.
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2556 Likewise.
006f1daa
DM
2557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2576 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2581
11e0098e
AS
25822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2583
2584 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2585 scaling.
2586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2587
e85b09d0
AJ
25882012-03-15 Andreas Jaeger <aj@suse.de>
2589
2590 [BZ #13852]
2591 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2592 ieee754/flt-32 implementation for sin, cos and sincos.
2593 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2594 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2595 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2596 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2597 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2598 ieee754/flt-32 implementation for tan.
2599
2600 * math/libm-test.inc (cos_test): Enable some large input tests for
2601 float as well
2602 (sin_test): Likewise.
2603 (sincos_test): Likewise.
2604 (tan_test): Add tests for large input.
2605
2606 * sysdeps/i386/fpu/libm-test-ulps: Update.
2607
81c64153
AJ
26082012-03-15 Andreas Jaeger <aj@suse.de>
2609
2610 [BZ #13658]
2611 * math/libm-test.inc (cos_test): Add more test cases.
2612 (sin_test): Likewise.
2613 (sincos_test): Likewise.
2614
7bbfa5c6
AJ
26152012-03-15 Andreas Jaeger <aj@suse.de>
2616
2617 [BZ #13837]
2618 * math/libm-test.inc (cos_test): Add a test case for large input
2619 value.
2620 (sin_test): Likewise.
2621 (sincos_test): Likewise.
2622
26232012-03-15 Andreas Jaeger <aj@suse.de>,
2624 Joseph Myers <joseph@codesourcery.com>
2625
2626 [BZ #13658]
0671f479 2627 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2628 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2629 * sysdeps/i386/fpu/branred.c: Likewise.
2630 * sysdeps/i386/fpu/dosincos.c: Likewise.
2631 * sysdeps/i386/fpu/mpa.c: Likewise.
2632 * sysdeps/i386/fpu/s_cos.S: Likewise.
2633 * sysdeps/i386/fpu/s_sin.S: Likewise.
2634 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2635 * sysdeps/i386/fpu/sincos32.c: Likewise.
2636
2637 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2638 Define.
2639 (libc_feupdateenv_53bit): Define.
2640 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2641 Define.
2642 (libc_feupdateenv_53bit): Define.
2643
2644 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2645 53 bit (without extend i386 double precision).
2646
2647 * math/libm-test.inc (sincos_test): Add tests for large input.
2648 (sin): Likewise.
2649 (cos): Likewise.
2650
2651 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2652
9cad04ea
AS
26532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2654
2655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2656
f7062b9a
DM
26572012-03-15 David S. Miller <davem@davemloft.net>
2658
2659 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2660 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2661 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2662 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2675 file.
f7062b9a 2676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2678 file.
f7062b9a 2679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2681 file.
f7062b9a 2682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2684 file.
f7062b9a
DM
2685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2687 fmin/fmax sysdep routines.
2688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2689
7bd951ff
DM
26902012-03-14 David S. Miller <davem@davemloft.net>
2691
559398ab
DM
2692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2712 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2720 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2721 routines.
2722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2723 file.
559398ab 2724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2726 file.
559398ab 2727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2729 file.
559398ab 2730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2732 file.
559398ab 2733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2735 file.
559398ab 2736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2738 file.
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2740 file.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2742 file.
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2744 file.
2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2746 New file.
2747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2748 file.
2749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2750 file.
559398ab 2751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2753 file.
559398ab 2754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2756 file.
559398ab 2757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2759 file.
559398ab 2760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2762 VIS3 routines.
559398ab
DM
2763
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2765 New file.
2766
5a1c1e32
DM
2767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2768
eae47a36
DM
2769 * sysdeps/sparc/configure.in: New file.
2770 * sysdeps/sparc/configure: Generate.
2771 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2772 * configure: Regenerate.
2773 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2774 * config.make.in (have-as-vis3): New.
2775 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2776 available use -Av9d instead of -Av9a.
2777 * sysdeps/sparc/sparc64/Makefile: Likewise.
2778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
2779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2780 New file.
2781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2782 file.
2783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2784 New file.
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2786 file.
eae47a36
DM
2787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2792
c0c83bc8
DM
2793 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2794 fzeros/fnegs to load 0x80000000 into a float register instead of
2795 using the stack.
7bd951ff
DM
2796 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2797
bd951ccb
JM
27982012-03-14 Joseph Myers <joseph@codesourcery.com>
2799
2800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2801 bits/syscall.h.
2802 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2803 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2804 ($(inst_includedir)/bits/syscall.h): Remove rule.
2805 ($(objpfx)bits/syscall.d): Include instead of
2806 $(objpfx)syscall-list.d.
2807 (generated): Change syscall-list.h and syscall-list.d to
2808 bits/syscall.h and bits/syscall.d.
2809
bb4e6db2
RM
28102012-03-14 Roland McGrath <roland@hack.frob.com>
2811
2812 [BZ #13846]
2813 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2814
aa4a2ae1
JM
28152012-03-14 Joseph Myers <joseph@codesourcery.com>
2816
e456826d
JM
2817 [BZ #13841]
2818 * math/s_csqrt.c: Include <float.h>.
2819 (__csqrt): Scale large or subnormal inputs.
2820 * math/s_csqrtf.c: Likewise.
2821 * math/s_csqrtl.c: Likewise.
2822 * math/libm-test.inc (csqrt_test): Add more tests.
2823 * sysdeps/i386/fpu/libm-test-ulps: Update.
2824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2825
aa4a2ae1
JM
2826 [BZ #13840]
2827 * math/libm-test.inc (hypot_test): Add more tests.
2828
7c10fd35
DM
28292012-03-13 David S. Miller <davem@davemloft.net>
2830
2831 [BZ #13840]
2832 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2833 double-precision for the calculation instead of scaling.
2834
f453b98b
JM
28352012-03-13 Joseph Myers <joseph@codesourcery.com>
2836
2837 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2838 manipulate bits before adding and subtracting TWO52[sx].
2839 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2840 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2841 Likewise.
2842 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2843
09a3453f
DM
28442012-03-13 David S. Miller <davem@davemloft.net>
2845
8e59da90
DM
2846 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2847 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2848 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2849 rtld-global-offsets.h
2850 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2851
2a8ab7f2
DM
2852 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2853 large parameters.
2854
10f62770
DM
2855 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2856
5f0bdb18
DM
2857 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2858 'err' in the ifdef scope in which it is actually used.
2859
09a3453f
DM
2860 * nss/nss_db/db-init.c: Include string.h
2861
b4b2eb5e
DM
28622012-03-12 David S. Miller <davem@davemloft.net>
2863
98bb2f1c
DM
2864 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2865 masking out of the most significant byte of random value used.
2866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2867 Fix coding style in previous change.
2868
b4b2eb5e
DM
2869 * sysdeps/unix/sysv/linux/kernel-features.h
2870 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2871 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2872 expression.
2873 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2874 later.
2875
6e226b09
DM
28762012-03-11 David S. Miller <davem@davemloft.net>
2877
a1bcbd40
DM
2878 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2879 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2880 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2881 for 'resultvar' otherwise things get truncated on 64-bit.
2882
cb9d6174
DM
2883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2884 Fix masking out of the most significant byte of random value used.
2885
6e226b09
DM
2886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2887
058c132d
AS
28882012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2889
2890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2891
2d2cd515
DM
28922012-03-09 David S. Miller <davem@davemloft.net>
2893
2894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2895 variables with appropriate CPP guards.
2896 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2897 frame pointer, not the stack pointer. Correct layout comments. Fix test
2898 on resulting framesize and the management of the outregs buffer for pltexit.
2899 Preserve floating point return values across _dl_call_pltexit call.
2900 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2901 framesize and the management of the outregs buffer for pltexit.
2902 Preserve floating point return values across _dl_call_pltexit
2903 call.
2904 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2905 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2906 (print_exit): Fix format string for return register value.
2907
9a07f9d0
JM
29082012-03-10 Joseph Myers <joseph@codesourcery.com>
2909
2910 * sunrpc/Makefile (others): Add rpcgen.
2911 ($(objpfx)rpcgen): Remove special build rule and dependency on
2912 libc.
2913 * sunrpc/rpcgen.c: New file.
2914
547b5e30
PE
29152012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2916
c524201a
PE
2917 [BZ #13673]
2918 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2919 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2920 * sysdeps/i386/crti.S: Likewise.
2921 * sysdeps/i386/crtn.S: Likewise.
2922 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2923 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2924 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2925 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2926 * sysdeps/sh/crti.S: Likewise.
2927 * sysdeps/sh/crtn.S: Likewise.
2928 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2929
7b6235f2
PE
2930 [BZ #13673]
2931 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2932 with URL.
2933 * locale/programs/locfile-kw.gperf: Likewise.
2934 * locale/programs/charmap-kw.h: Regenerated.
2935 * locale/programs/locfile-kw.h: Likewise.
2936
547b5e30
PE
2937 [BZ #13673]
2938 * intl/plural.y: Replace FSF snail mail address with URL.
2939 * intl/plural.c: Regenerated.
2940
5f0a5dae
RH
29412012-03-09 Richard Henderson <rth@twiddle.net>
2942
2943 * include/math_private.h: Remove file.
2944 * math/math_private.h: Move file ...
2945 * sysdeps/generic/math_private.h: ... here.
2946
b8c03620
RH
2947 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2948 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2949 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2950
4e234f5d 2951 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2952 and <math_private.h>.
2953 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2954 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2955 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2956 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2957 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2959 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3034 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3036 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3037 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3040 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3041 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3042 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3043 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3044 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3045 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3046 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3047 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3048 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3049 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3050 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3051 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3052 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3053 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3054 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3055 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3056 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3057 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3058 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3059 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3060 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3061 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3062 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3063 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3064 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3065 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3067 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3068 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3069 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3070 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3071 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3072 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3073 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3074 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3075 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3076 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3077 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3078 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3079 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3080 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3082 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3084 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3085 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3087 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3089 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3090 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3091 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3092 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3093 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3094 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3095 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3096 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3097 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3098 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3099 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3100 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3101 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3102 * sysdeps/ieee754/k_standard.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3104 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3134 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3140 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3154 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3155 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3161 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3206 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3208 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3212 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3214 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3217 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3218 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3240 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3251 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3252 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3253 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3260 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3263 * sysdeps/ieee754/s_lib_version.c: Likewise.
3264 * sysdeps/ieee754/s_matherr.c: Likewise.
3265 * sysdeps/ieee754/s_signgam.c: Likewise.
3266 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3267 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3268 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3269 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3270 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3271 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3272 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3273 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3274 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3275 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3276 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3277 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3278 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3279 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3280 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3281 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3282 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3283 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3284 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3287
1991fa03
JM
32882012-03-09 Joseph Myers <joseph@codesourcery.com>
3289
3290 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3291 * sunrpc/rpc_main.c: Likewise.
3292 * sunrpc/rpc_svcout.c: Likewise.
3293
60d6f5a6
DM
32942012-03-09 David S. Miller <davem@davemloft.net>
3295
3296 * include/math_private.h: New file.
3297
4962050e
JM
32982012-03-09 Joseph Myers <joseph@codesourcery.com>
3299
02a6f887
JM
3300 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3301 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3302 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3303 from <bits/socket_type.h>.
3304 (enum __socket_type): Don't define here.
3305 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3307 bits/socket_type.h.
3308
c6e013c1
JM
3309 [BZ #13566]
3310 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3311 checking __USE_GNU.
3312
4962050e
JM
3313 * Makerules ($(inst_includedir)/%.h): New rule.
3314 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3315 (install-others): Remove variable setting.
3316 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3317
38842f45
RH
33182012-03-08 Richard Henderson <rth@twiddle.net>
3319
67bb6da6
RH
3320 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3321 from macro to inline function; merge with the
3322 !__LIBC_INTERNAL_MATH_INLINES version.
3323 (__ieee754_sqrtf): Likewise.
3324
15194b4b
RH
3325 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3326 to inline function.
3327 (__rintf, __floor, __floorf): Likewise.
3328
64e21ede
RH
3329 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3330 macro to inline function.
3331 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3332
38842f45
RH
3333 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3334 not <math/math_private.h>.
3335
c64bf5fe
DM
33362012-03-08 David S. Miller <davem@davemloft.net>
3337
3338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3339 copyright year.
3340 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3341
82d86f28
TS
33422012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3343
3344 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3345 normalization.
3346 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3347 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3348
aea5d727
UD
33492012-03-08 Ulrich Drepper <drepper@gmail.com>
3350
3351 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3352 be defined individually, they must be defined as a block. Define
3353 S for printing a string instead of hidint the different by using a
3354 macro for adding the 'l'.
3355 * stdio-common/tst-fphex-wide.c: Adjust.
3356
70bca0a3
MP
33572012-03-07 Marek Polacek <polacek@redhat.com>
3358
3359 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3360
65b81130
MP
33612012-03-08 Marek Polacek <polacek@redhat.com>
3362
3363 [BZ #13806]
3364 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3365 * stdio-common/tst-fphex.c: Define a few macros to make the
3366 test reusable. Use them.
3367 * stdio-common/tst-fphex-wide.c: New file.
3368
07037eeb
JM
33692012-03-08 Joseph Myers <joseph@codesourcery.com>
3370
a7a93d50
JM
3371 [BZ #6911]
3372 * manual/macros.texi (gnusystems): New macro.
3373 (nongnusystems): Likewise.
3374 (gnulinuxhurdsystems): Likewise.
3375 (gnuhurdsystems): Likewise..
3376 (gnulinuxsystems): Likewise.
3377 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3378 variants of the GNU system, not "GNU system".
3379 * manual/conf.texi: Likewise.
3380 * manual/errno.texi: Likewise. Update example of errno macro
3381 expansion.
3382 * manual/filesys.texi: Likewise.
3383 (getumask): Document as specific to GNU/Hurd.
3384 * manual/install.texi: Likewise. Reword some references to
3385 GNU/Linux.
3386 * manual/intro.texi: Likewise.
3387 * manual/io.texi: Likewise.
3388 (File Name Portability): Detail which constraints are inapplicable
3389 to all GNU systems and which are only inapplicable to GNU/Hurd.
3390 * manual/job.texi: Likewise.
3391 * manual/llio.texi: Likewise.
3392 (O_NOCTTY): Document as present on GNU/Linux.
3393 * manual/maint.texi: Likewise.
3394 * manual/memory.texi: Likewise.
3395 * manual/pattern.texi: Likewise.
3396 * manual/pipe.texi: Likewise.
3397 * manual/process.texi: Likewise.
3398 * manual/resource.texi: Likewise.
3399 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3400 child on GNU/Hurd.
3401 * manual/setjmp.texi: Likewise.
3402 * manual/signal.texi: Likewise.
3403 * manual/startup.texi: Likewise.
3404 * manual/stdio.texi: Likewise.
3405 * manual/terminal.texi: Likewise.
3406 (ONLCR): Document as POSIX.
3407 (OXTABS): Document availability on GNU/Linux as XTABS.
3408 (ONOEOT): Document availability separately from other bits.
3409 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3410 * manual/time.texi: Likewise.
3411 * manual/users.texi: Likewise.
3412 * INSTALL: Regenerated.
3413 * sysdeps/gnu/errlist.c: Regenerated.
3414
07037eeb
JM
3415 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3416 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3417 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3418 puts.
3419 * configure: Regenerated.
3420
d1d3431a
JM
34212012-03-07 Joseph Myers <joseph@codesourcery.com>
3422
af6a1e37
JM
3423 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3424 default includes instead of AC_HEADER_CHECK.
3425 * sysdeps/i386/configure: Regenerated.
3426
d1d3431a
JM
3427 [BZ #10716]
3428 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3429 * math/s_cacoshf.c (__cacoshf): Likewise.
3430 * math/s_cacoshl.c (__cacoshl): Likewise.
3431 * math/s_casinh.c (__casinh): Set signs of result from argument.
3432 * math/s_casinhf.c (__casinhf): Likewise.
3433 * math/s_casinhl.c (__casinhl): Likewise.
3434 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3435 (casinh_test): Add more tests.
3436 * sysdeps/i386/fpu/libm-test-ulps: Update.
3437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3438
482ff4da
UD
34392012-03-07 Ulrich Drepper <drepper@gmail.com>
3440
872fda05
UD
3441 * po/zh_TW.po: Update from translation team.
3442
a4300c7a
UD
3443 * login/Makefile (distribute): Remove variable.
3444 * catgets/Makefile: Likewise.
3445 * mach/Makefile: Likewise.
3446 * malloc/Makefile: Likewise.
3447 * misc/Makefile: Likewise.
3448 * iconv/Makefile: Likewise.
3449 * nscd/Makefile: Likewise.
3450 * hurd/Makefile: Likewise.
3451 * manual/Makefile: Likewise.
3452 * locale/Makefile: Likewise.
3453 * intl/Makefile: Likewise.
3454 * conform/Makefile: Likewise.
3455 * nss/Makefile: Likewise.
3456 * time/Makefile: Likewise.
3457 * soft-fp/Makefile: Likewise.
3458 * dirent/Makefile: Likewise.
3459 * gmon/Makefile: Likewise.
3460 * po/Makefile: Likewise.
3461 * rt/Makefile: Likewise.
3462 * socket/Makefile: Likewise.
3463 * math/Makefile: Likewise.
3464 * signal/Makefile: Likewise.
3465 * debug/Makefile: Likewise.
3466 * elf/Makefile: Likewise.
3467 * timezone/Makefile: Likewise.
3468 * stdlib/Makefile: Likewise.
3469 * iconvdata/Makefile: Likewise.
3470 * sunrpc/Makefile: Likewise.
3471 * io/Makefile: Likewise.
3472 * argp/Makefile: Likewise.
3473 * inet/Makefile: Likewise.
3474 * hesiod/Makefile: Likewise.
3475 * grp/Makefile: Likewise.
3476 * csu/Makefile: Likewise.
3477 * wctype/Makefile: Likewise.
3478 * crypt/Makefile: Likewise.
3479 * libio/Makefile: Likewise.
3480 * string/Makefile: Likewise.
3481 * nis/Makefile: Likewise.
3482 * resolv/Makefile: Likewise.
3483 * stdio-common/Makefile: Likewise.
3484 * wcsmbs/Makefile: Likewise.
3485 * dlfcn/Makefile: Likewise.
3486 * posix/Makefile: Likewise.
3487
3b7c4e74 3488 [BZ #6959]
482ff4da
UD
3489 * timezone/Makefile: Don't install timezone files, just the programs
3490 and scripts.
3491
f72ed77d
UD
34922012-03-06 Ulrich Drepper <drepper@gmail.com>
3493
a000466f
UD
3494 * nss/databases.def: Add missing gshadow entry.
3495
f72ed77d
UD
3496 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3497
a53b7a4e
MP
34982012-03-06 Marek Polacek <polacek@redhat.com>
3499
3500 [BZ #13726]
3501 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3502 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3503 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3504 * stdio-common/tst-long-dbl-fphex.c: New file.
3505
e9258400
DM
35062012-03-06 David S. Miller <davem@davemloft.net>
3507
3508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3509 (set_obp_int): New function.
3510 (get_obp_int): New function.
3511 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3513 Avoid unused variable warnings on 'val' and use builtin_expect.
3514 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3515 __builtin_expect.
e9258400
DM
3516 (INLINE_CLONE_SYSCALL): Likewise.
3517
3bd2c723
DM
35182012-03-05 David S. Miller <davem@davemloft.net>
3519
3520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3521
bbb78d03
AS
35222012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3523
884c5db4
AS
3524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3525
bbb78d03
AS
3526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3527 only for |x| >= 40.
3528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3529
1c9f702a 35302012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3531
3532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3533 Replace gettimeofday with __vdso_gettimeofday.
3534
7be16f82
RM
3535 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3536 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3537 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3538
3539 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3540 time with __vdso_time.
3541
ed58a00f
JM
35422012-03-05 Joseph Myers <joseph@codesourcery.com>
3543
3544 * manual/lang.texi (size_t): Note types to which size_t may be
3545 equivalent with the GNU C Library, but do not describe when
3546 differences between them are significant.
3547
30ee4ced
AJ
35482012-03-05 Andreas Jaeger <aj@suse.de>
3549
3550 * sysdeps/i386/fpu/libm-test-ulps: Update.
3551
b7cd39e8
JM
35522012-03-05 Joseph Myers <joseph@codesourcery.com>
3553
3554 [BZ #3976]
3555 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3556 (__ieee754_pow): Save and restore rounding mode and use
3557 round-to-nearest for main computations.
3558 * math/libm-test.inc (pow_test_tonearest): New function.
3559 (pow_test_towardzero): Likewise.
3560 (pow_test_downward): Likewise.
3561 (pow_test_upward): Likewise.
3562 (main): Call the new functions.
3563 * sysdeps/i386/fpu/libm-test-ulps: Update.
3564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3565
3566 [BZ #3976]
3567 * math/libm-test.inc (cosh_test_tonearest): New function.
3568 (cosh_test_towardzero): Likewise.
3569 (cosh_test_downward): Likewise.
3570 (cosh_test_upward): Likewise.
3571 (sinh_test_tonearest): Likewise.
3572 (sinh_test_towardzero): Likewise.
3573 (sinh_test_downward): Likewise.
3574 (sinh_test_upward): Likewise.
3575 (main): Call the new functions.
3576 * sysdeps/i386/fpu/libm-test-ulps: Update.
3577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3578
6c6a98c9
TV
35792012-03-05 Tom de Vries <tom@codesourcery.com>
3580
3581 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3582 default stack guard is set in last bytes.
3583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3584
21bb2d2e 35852012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3586
21bb2d2e 3587 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3588
21bb2d2e
AJ
3589 [BZ #13656]
3590 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3591 possibly allocate from heap instead of stack.
3592 * stdio-common/bug-vfprintf-nargs.c: New file.
3593 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3594
c6922934
AS
35952012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3596
3597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3598
bc957d53
MP
35992012-03-03 Marek Polacek <polacek@redhat.com>
3600
3601 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3602 * math/math_private.h: Likewise.
3603 * stdlib/tst-strtod.c: Likewise.
3604 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3605 * sysdeps/x86_64/bits/atomic.h: Likewise.
3606
6358490d
DM
36072012-03-02 David S. Miller <davem@davemloft.net>
3608
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3613 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3614 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3615 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3616 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3617
01ae168d
RM
36182012-03-02 Roland McGrath <roland@hack.frob.com>
3619
d9a17c07
RM
3620 [BZ #13792]
3621 * manual/examples/README: New file, says the example source files
3622 can be used under GPL>=2.
3623 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3624 line containing just "*/".
3625 * manual/examples/add.c: Add copyright header (GPL>=2).
3626 * manual/examples/argp-ex1.c: Likewise.
3627 * manual/examples/argp-ex2.c: Likewise.
3628 * manual/examples/argp-ex3.c: Likewise.
3629 * manual/examples/argp-ex4.c: Likewise.
3630 * manual/examples/atexit.c: Likewise.
3631 * manual/examples/db.c: Likewise.
3632 * manual/examples/dir.c: Likewise.
3633 * manual/examples/dir2.c: Likewise.
3634 * manual/examples/execinfo.c: Likewise.
3635 * manual/examples/filecli.c: Likewise.
3636 * manual/examples/filesrv.c: Likewise.
3637 * manual/examples/fmtmsgexpl.c: Likewise.
3638 * manual/examples/genpass.c: Likewise.
3639 * manual/examples/inetcli.c: Likewise.
3640 * manual/examples/inetsrv.c: Likewise.
3641 * manual/examples/isockad.c: Likewise.
3642 * manual/examples/longopt.c: Likewise.
3643 * manual/examples/memopen.c: Likewise.
3644 * manual/examples/memstrm.c: Likewise.
3645 * manual/examples/mkfsock.c: Likewise.
3646 * manual/examples/mkisock.c: Likewise.
3647 * manual/examples/mygetpass.c: Likewise.
3648 * manual/examples/pipe.c: Likewise.
3649 * manual/examples/popen.c: Likewise.
3650 * manual/examples/rprintf.c: Likewise.
3651 * manual/examples/search.c: Likewise.
3652 * manual/examples/select.c: Likewise.
3653 * manual/examples/setjmp.c: Likewise.
3654 * manual/examples/sigh1.c: Likewise.
3655 * manual/examples/sigusr.c: Likewise.
3656 * manual/examples/stpcpy.c: Likewise.
3657 * manual/examples/strdupa.c: Likewise.
3658 * manual/examples/strftim.c: Likewise.
3659 * manual/examples/strncat.c: Likewise.
3660 * manual/examples/subopt.c: Likewise.
3661 * manual/examples/swapcontext.c: Likewise.
3662 * manual/examples/termios.c: Likewise.
3663 * manual/examples/testopt.c: Likewise.
3664 * manual/examples/testpass.c: Likewise.
3665 * manual/examples/timeval_subtract.c: Likewise.
3666
01ae168d
RM
3667 [BZ #13792]
3668 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3669 function to ...
3670 * manual/timeval_subtract.c.texi: ... here, new file.
3671
49efa33d
DM
36722012-03-02 David S. Miller <davem@davemloft.net>
3673
3674 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3675
28afd92d
JM
36762012-03-02 Joseph Myers <joseph@codesourcery.com>
3677
804360ed
JM
3678 [BZ #3976]
3679 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3680 (__sin): Save and restore rounding mode and use round-to-nearest
3681 for all computations.
3682 (__cos): Save and restore rounding mode and use round-to-nearest
3683 for all computations.
3684 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3685 <fenv.h>.
3686 (tan): Save and restore rounding mode and use round-to-nearest for
3687 all computations.
3688 * math/libm-test.inc (cos_test_tonearest): New function.
3689 (cos_test_towardzero): Likewise.
3690 (cos_test_downward): Likewise.
3691 (cos_test_upward): Likewise.
3692 (sin_test_tonearest): Likewise.
3693 (sin_test_towardzero): Likewise.
3694 (sin_test_downward): Likewise.
3695 (sin_test_upward): Likewise.
3696 (tan_test_tonearest): Likewise.
3697 (tan_test_towardzero): Likewise.
3698 (tan_test_downward): Likewise.
3699 (tan_test_upward): Likewise.
3700 (main): Call the new functions.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703
a6d06d7b
JM
3704 [BZ #10135]
3705 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3706 small n, then large n, before computing and testing k+n.
3707 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3709 Likewise.
3710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3711 Likewise.
3712 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3713 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3714 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3715 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3719 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3720 * math/libm-test.inc (scalbn_test): Add more tests.
3721 (scalbln_test): Likewise.
3722
07e12bb3
JM
3723 * manual/filesys.texi (mode_t): Describe constraints on size and
3724 signedness, not exact equivalence to a particular type.
3725 (ino_t): Likewise.
3726 (ino64_t): Likewise.
3727 (dev_t): Likewise.
3728 (nlink_t): Likewise.
3729 (blkcnt_t): Likewise.
3730 (blkcnt64_t): Likewise.
3731 * manual/llio.texi (off_t): Likewise.
3732
28afd92d
JM
3733 [BZ #3976]
3734 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3735 (__ieee754_exp): Save and restore rounding mode and use
3736 round-to-nearest for all computations.
3737 * math/libm-test.inc (exp_test_tonearest): New function.
3738 (exp_test_towardzero): Likewise.
3739 (exp_test_downward): Likewise.
3740 (exp_test_upward): Likewise.
3741 (main): Call the new functions.
3742 * sysdeps/i386/fpu/libm-test-ulps: Update.
3743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3744
b1eeb65d
CD
37452012-03-01 Chris Demetriou <cgd@google.com>
3746
3747 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3748 have predictable order.
3749
53362a4b
DM
37502012-03-01 David S. Miller <davem@davemloft.net>
3751
3c969083
DM
3752 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3753
759707de
DM
3754 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3755 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3756 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3757 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3758
dfdb8ff2
DM
3759 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3760 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3761 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3763 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3764 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3765 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3766 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3767 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3768
ead89f96
DM
3769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3770
7f66bd07
DM
3771 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3772 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3773 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3774
53362a4b
DM
3775 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3776 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3777 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3778 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3779 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3781 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3782 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3783 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3784 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3785 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3788 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3789 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3791 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3792 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3793 * sysdeps/sparc/elf/configure: Regenerated.
3794
7b1902cb
JM
37952012-03-01 Joseph Myers <joseph@codesourcery.com>
3796
bec039bc
JM
3797 * configure.in (AS, LD): Require binutils 2.20 or later.
3798 * configure: Regenerated.
3799 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3800 as required minimum version.
3801 * INSTALL: Regenerated.
3802
7b1902cb
JM
3803 [BZ #2541]
3804 [BZ #4108]
3805 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3806 before squaring exponent.
3807 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3808 bottom long double and 27 bits of top long double before squaring
3809 exponent.
3810 * math/libm-test.inc (erfc_test): Add more tests.
3811 * sysdeps/i386/fpu/libm-test-ulps: Update.
3812 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3814
f775c276
KT
38152012-03-01 Kai Tietz <ktietz@redhat.com>
3816
3817 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3818 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3819 containing bit-fields.
3820 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3821 * soft-fp/single.h (_FP_UNION_S): Likewise.
3822 * soft-fp/double.h (_FP_UNION_D): Likewise.
3823
5b8a4d4a
JM
38242012-02-29 Joseph Myers <joseph@codesourcery.com>
3825
0bab47b6
JM
3826 [BZ #13786]
3827 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3828 not include ../strcmp.S.
3829 [USE_AS_STRNCASECMP_L]: Likewise.
3830 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3831 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3832 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3833 (__strncasecmp_l_ia32): Define as alias to
3834 __strncasecmp_l_nonascii.
3835
0fcad3e2
JM
3836 [BZ #5794]
3837 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3838 * sysdeps/i386/fpu/libm-test-ulps: Update.
3839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3840
5b8a4d4a
JM
3841 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3843
8fdceb2e
JL
38442012-02-29 Jeff Law <law@redhat.com>
3845
3846 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3847 out of bounds read.
3848
1f393a11
MP
38492012-02-29 Marek Polacek <polacek@redhat.com>
3850
3851 [BZ #13706]
3852 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3853 * elf/Makefile: Add rules to run tst-unused-dep.out.
3854
8847f037
DM
38552012-02-28 David S. Miller <davem@davemloft.net>
3856
3857 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3858 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3860 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3861 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3862 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3863
169d7f11
JM
38642012-02-29 Joseph Myers <joseph@codesourcery.com>
3865
3866 * math/libm-test.inc (llround_test): Move one test from
3867 lround_test. Use TEST_f_L in moved test.
3868 (lround_test): Move misplaced test to llround_test. Add testcase
3869 from bug 2561.
3870
39adf059
UD
38712012-02-28 Ulrich Drepper <drepper@gmail.com>
3872
3873 * sysdeps/x86_64/fpu/e_expf.S: New file.
3874 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3875
71b5d1c5
SB
38762012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3877
3878 [BZ #13637]
3879 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3880 of remain_len that may cause incomplete multi-byte character and
3881 false match.
3882 * posix/bug-regex33.c: New file.
3883 * posix/Makefile (tests): Add bug-regex33.
3884
1f77f049
JM
38852012-02-28 Joseph Myers <joseph@codesourcery.com>
3886
3887 * manual/macros.texi: New file.
3888 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3889 * manual/libc.texinfo: Include macros.texi.
3890 * manual/creatute.texi: Likewise.
3891 * manual/install.texi: Likewise.
3892 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3893 @glibcadj{} in references to the GNU C Library.
3894 * manual/charset.texi: Likewise.
3895 * manual/conf.texi: Likewise.
3896 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3897 when not using those macros.
3898 * manual/creature.texi: Likewise.
3899 * manual/crypt.texi: Likewise.
3900 * manual/errno.texi: Likewise.
3901 * manual/filesys.texi: Likewise.
3902 * manual/header.texi: Likewise.
3903 * manual/install.texi: Likewise.
3904 * manual/intro.texi: Likewise.
3905 * manual/io.texi: Likewise.
3906 * manual/job.texi: Likewise.
3907 * manual/lang.texi: Likewise.
3908 * manual/libc.texiinfo: Likewise.
3909 * manual/llio.texi: Likewise.
3910 * manual/locale.texi: Likewise.
3911 * manual/maint.texi: Likewise.
3912 * manual/math.texi: Likewise.
3913 * manual/memory.texi: Likewise.
3914 * manual/message.texi: Likewise.
3915 * manual/nss.texi: Likewise.
3916 * manual/pattern.texi: Likewise.
3917 * manual/process.texi: Likewise.
3918 * manual/resource.texi: Likewise.
3919 * manual/search.texi: Likewise.
3920 * manual/setjmp.texi: Likewise.
3921 * manual/signal.texi: Likewise.
3922 * manual/socket.texi: Likewise.
3923 * manual/startup.texi: Likewise.
3924 * manual/stdio.texi: Likewise.
3925 * manual/string.texi: Likewise.
3926 * manual/sysinfo.texi: Likewise.
3927 * manual/syslog.texi: Likewise.
3928 * manual/terminal.texi: Likewise.
3929 * manual/time.texi: Likewise.
3930 * manual/users.texi: Likewise.
3931 * INSTALL: Regenerated.
3932 * NOTES: Regenerated.
d40c5d54 3933 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3934
450bf206
AS
39352012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3936
3937 * include/dirent.h: Include <dirstream.h> before
3938 <dirent/dirent.h>.
3939
741a235b
DM
39402012-02-28 David S. Miller <davem@davemloft.net>
3941
3942 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3943 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3944 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3945 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3946
d6b5aa58
DM
39472012-02-27 David S. Miller <davem@davemloft.net>
3948
1aff59a3
DM
3949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3951 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3952 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3953
d6b5aa58
DM
3954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3955 frame pointer instead of stack pointer relative arg slot.
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3957 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3958 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3959
433f48bf
CD
39602012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3961
3962 [BZ #3992]
3963 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3964
d674b76d
DM
39652012-02-27 David S. Miller <davem@davemloft.net>
3966
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3971 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3972 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3973 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3974 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3975
0e7727f7
JM
39762012-02-27 Joseph Myers <joseph@codesourcery.com>
3977
3978 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3979 later. Allow versions 5-9.
43be4ca2 3980 * configure: Regenerated.
0e7727f7
JM
3981 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3982 required minimum version and 4.6 as recommended version. Do not
3983 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3984 * INSTALL: Regenerated.
0e7727f7 3985
a78bc654
DM
39862012-02-27 David S. Miller <davem@davemloft.net>
3987
428d5830
DM
3988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3992 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3993 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3994 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3995 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3996
a78bc654
DM
3997 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3998 manipulate bits before adding and subtracting TWO112[sx].
3999 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4000
4579f81c
RM
40012012-02-27 Roland McGrath <roland@hack.frob.com>
4002
36c8acb4
RM
4003 [BZ #13775]
4004 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4005 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4006 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4007 being in POSIX, because they are in 1003.1-2008.
4008
84ad622b
RM
4009 * rt/tst-aio.c: Include <fcntl.h>.
4010 * rt/tst-aio7.c: Likewise.
4011 * rt/tst-aio64.c: Likewise.
4012
4579f81c
RM
4013 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4014
abd923db
JM
40152012-02-27 Joseph Myers <joseph@codesourcery.com>
4016
4017 * manual/install.texi (--with-headers): Describe headers as
4018 interface headers, not private headers.
4019 (Specific advice for GNU/Linux systems): Describe use of headers
4020 from "make headers_install", not private headers from older
4021 kernels.
43be4ca2 4022 * INSTALL: Regenerated.
abd923db
JM
4023 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4024 Change to 2.6.19.
4025 * sysdeps/unix/sysv/linux/configure: Regenerated.
4026
6664049b
JM
4027 * manual/llio.texi (fclean): Remove documentation.
4028
bb8b6697
JM
4029 * manual/Makefile (libc-texi-generated): New variable. Include
4030 version.texi.
4031 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4032 $(libc-texi-generated), not duplicated list of files.
4033 (version.texi, stamp-version): New rules.
4034 (realclean): Remove $(libc-texi-generated), not individual files
4035 from that list. Do not remove dir-add.texinfo.
4036 * manual/libc.texinfo: Comment out uses of edition numbers and
4037 references to printed manual. Remove last-updated dates.
4038 (EDITION): Comment out.
4039 (ISBN): Likewise.
4040 (VERSION, UPDATED): Remove.
4041 (version.texi): Include.
4042
12e5c3b9
AS
40432012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4044
4045 * sysdeps/posix/spawni.c: Include <signal.h>.
4046 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4047 * sysdeps/pthread/aio_fsync.c: Likewise.
4048
4efeffc1 40492012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4050
ba63ba08
UD
4051 * conform/Makefile (tests): Run only when not cross-compiling and
4052 when fast-check is not defined.
4053
d94a4670
UD
4054 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4055 * conform/data/limits.h-data: Fixes for POSIX2008.
4056 * conform/run-conformtest.sh: Run all tests.
4057 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4058 headers.
4059 * include/bits/dlfcn.h: Likewise.
4060 * include/langinfo.h: Likewise.
4061 * include/monetary.h: Likewise.
4062 * include/sys/poll.h: Likewise.
4063
4064 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4065 for __USE_GNU.
4066 * posix/spawn.h: Define __need_sigset_t.
4067 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4068 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4069 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4070 to get sigevent_t only.
4071 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4072 only for __USE_GNU.
4073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4074 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4075 process_vm_writev only for __USE_GNU.
4076 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4077
4078 * conform/Makefile: For now ignore errors from run-conformtest.
4079 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4080 POSIX to avoid namespace pollution. Don't prepend headers.
4081 * conform/data/aio.h-data: Fixes for POSIX testing.
4082 * conform/data/fcntl.h-data: Likewise.
4083 * conform/data/glob.h-data: Likewise.
4084 * conform/data/grp.h-data: Likewise.
4085 * conform/data/pthread.h-data: Likewise.
4086 * conform/data/pwd.h-data: Likewise.
4087 * conform/data/signal.h-data: Likewise.
4088 * conform/data/spawn.h-data: Likewise.
4089 * conform/data/stdio.h-data: Likewise.
4090 * conform/data/stdlib.h-data: Likewise.
4091 * conform/data/stropts.h-data: Likewise.
4092 * conform/data/sys/mman.h-data: Likewise.
4093 * conform/data/sys/stat.h-data: Likewise.
4094 * conform/data/sys/types.h-data: Likewise.
4095 * conform/data/sys/wait.h-data: Likewise.
4096 * conform/data/time.h-data: Likewise.
4097 * conform/data/unistd.h-data: Likewise.
4098 * conform/data/utime.h-data: Likewise.
4099
4100 * io/sys/stat.h: fchmod was always in POSIX.
4101 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4102 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4103 * rt/aio.h: Define __need_timespec before including <time.h>.
4104 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4105 struct. Add forward declaration of pthread_attr_t and use it in
4106 sigevent.
4107 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4108 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4109 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4110 always remove CLK_TCK definition.
4111
c20105c3
AS
41122012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4113
4114 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4115
7a270350
UD
41162012-02-25 Ulrich Drepper <drepper@gmail.com>
4117
31341567
UD
4118 * conform/run-conformtest.sh: New file.
4119 * conform/Makefile: Run run-conformtest for tests.
4120 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4121 support.
4122
4123 * conform/data/uchar.h-data: New file.
4124 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4125 * conform/data/arpa/inet.h-data: Likewise.
4126 * conform/data/assert.h-data: Likewise.
4127 * conform/data/complex.h-data: Likewise.
4128 * conform/data/cpio.h-data: Likewise.
4129 * conform/data/ctype.h-data: Likewise.
4130 * conform/data/dirent.h-data: Likewise.
4131 * conform/data/dlfcn.h-data: Likewise.
4132 * conform/data/errno.h-data: Likewise.
4133 * conform/data/fcntl.h-data: Likewise.
4134 * conform/data/float.h-data: Likewise.
4135 * conform/data/fmtmsg.h-data: Likewise.
4136 * conform/data/fnmatch.h-data: Likewise.
4137 * conform/data/ftw.h-data: Likewise.
4138 * conform/data/glob.h-data: Likewise.
4139 * conform/data/grp.h-data: Likewise.
4140 * conform/data/iconv.h-data: Likewise.
4141 * conform/data/inttypes.h-data: Likewise.
4142 * conform/data/langinfo.h-data: Likewise.
4143 * conform/data/libgen.h-data: Likewise.
4144 * conform/data/limits.h-data: Likewise.
4145 * conform/data/locale.h-data: Likewise.
4146 * conform/data/math.h-data: Likewise.
4147 * conform/data/monetary.h-data: Likewise.
4148 * conform/data/mqueue.h-data: Likewise.
4149 * conform/data/ndbm.h-data: Likewise.
4150 * conform/data/net/if.h-data: Likewise.
4151 * conform/data/netdb.h-data: Likewise.
4152 * conform/data/netinet/in.h-data: Likewise.
4153 * conform/data/nl_types.h-data: Likewise.
4154 * conform/data/poll.h-data: Likewise.
4155 * conform/data/pthread.h-data: Likewise.
4156 * conform/data/pwd.h-data: Likewise.
4157 * conform/data/regex.h-data: Likewise.
4158 * conform/data/sched.h-data: Likewise.
4159 * conform/data/search.h-data: Likewise.
4160 * conform/data/semaphore.h-data: Likewise.
4161 * conform/data/setjmp.h-data: Likewise.
4162 * conform/data/signal.h-data: Likewise.
4163 * conform/data/spawn.h-data: Likewise.
4164 * conform/data/stdarg.h-data: Likewise.
4165 * conform/data/stdio.h-data: Likewise.
4166 * conform/data/stdlib.h-data: Likewise.
4167 * conform/data/string.h-data: Likewise.
4168 * conform/data/strings.h-data: Likewise.
4169 * conform/data/stropts.h-data: Likewise.
4170 * conform/data/sys/ipc.h-data: Likewise.
4171 * conform/data/sys/mman.h-data: Likewise.
4172 * conform/data/sys/msg.h-data: Likewise.
4173 * conform/data/sys/resource.h-data: Likewise.
4174 * conform/data/sys/select.h-data: Likewise.
4175 * conform/data/sys/sem.h-data: Likewise.
4176 * conform/data/sys/shm.h-data: Likewise.
4177 * conform/data/sys/socket.h-data: Likewise.
4178 * conform/data/sys/stat.h-data: Likewise.
4179 * conform/data/sys/statvfs.h-data: Likewise.
4180 * conform/data/sys/time.h-data: Likewise.
4181 * conform/data/sys/timeb.h-data: Likewise.
4182 * conform/data/sys/times.h-data: Likewise.
4183 * conform/data/sys/types.h-data: Likewise.
4184 * conform/data/sys/uio.h-data: Likewise.
4185 * conform/data/sys/un.h-data: Likewise.
4186 * conform/data/sys/utsname.h-data: Likewise.
4187 * conform/data/sys/wait.h-data: Likewise.
4188 * conform/data/syslog.h-data: Likewise.
4189 * conform/data/tar.h-data: Likewise.
4190 * conform/data/termios.h-data: Likewise.
4191 * conform/data/utime.h-data: Likewise.
4192 * conform/data/utmpx.h-data: Likewise.
4193 * conform/data/varargs.h-data: Likewise.
4194 * conform/data/wchar.h-data: Likewise.
4195 * conform/data/wctype.h-data: Likewise.
4196 * conform/data/wordexp.h-data: Likewise.
4197
4198 * include/stropts.h: New file.
4199 * include/uchar.h: New file.
4200 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4201 * include/assert.h: Likewise.
4202 * include/ctype.h: Likewise.
4203 * include/dirent.h: Likewise.
4204 * include/dlfcn.h: Likewise.
4205 * include/fcntl.h: Likewise.
4206 * include/fnmatch.h: Likewise.
4207 * include/glob.h: Likewise.
4208 * include/grp.h: Likewise.
4209 * include/libio.h: Likewise.
4210 * include/locale.h: Likewise.
4211 * include/math.h: Likewise.
4212 * include/net/if.h: Likewise.
4213 * include/netdb.h: Likewise.
4214 * include/netinet/in.h: Likewise.
4215 * include/pthread.h: Likewise.
4216 * include/pwd.h: Likewise.
4217 * include/regex.h: Likewise.
4218 * include/sched.h: Likewise.
4219 * include/search.h: Likewise.
4220 * include/setjmp.h: Likewise.
4221 * include/signal.h: Likewise.
4222 * include/stdio.h: Likewise.
4223 * include/stdlib.h: Likewise.
4224 * include/string.h: Likewise.
4225 * include/sys/cdefs.h: Likewise.
4226 * include/sys/mman.h: Likewise.
4227 * include/sys/msg.h: Likewise.
4228 * include/sys/resource.h: Likewise.
4229 * include/sys/select.h: Likewise.
4230 * include/sys/socket.h: Likewise.
4231 * include/sys/stat.h: Likewise.
4232 * include/sys/statvfs.h: Likewise.
4233 * include/sys/time.h: Likewise.
4234 * include/sys/times.h: Likewise.
4235 * include/sys/uio.h: Likewise.
4236 * include/sys/utsname.h: Likewise.
4237 * include/sys/wait.h: Likewise.
4238 * include/termios.h: Likewise.
4239 * include/time.h: Likewise.
4240 * include/ulimit.h: Likewise.
4241 * include/unistd.h: Likewise.
4242 * include/utime.h: Likewise.
4243 * include/wchar.h: Likewise.
4244 * include/wctype.h: Likewise.
4245 * include/wordexp.h: Likewise.
4246
4247 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4248
7a270350
UD
4249 * time/time.h: TIME_UTC must be a macro.
4250 Make timespec_get available for ISO C11 only as well.
4251
7724defc
UD
42522012-02-24 Ulrich Drepper <drepper@gmail.com>
4253
4254 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4255 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4256
6b1d1d46
JM
42572012-02-24 Joseph Myers <joseph@codesourcery.com>
4258
4259 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4260
0f8bbd69
JM
42612012-02-24 Joseph Myers <joseph@codesourcery.com>
4262
4263 * manual/texinfo.tex: Update to version 2012-01-19.16.
4264
66ab80bc
JM
42652012-02-24 Joseph Myers <joseph@codesourcery.com>
4266
4267 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4268
74981cc5
RM
42692012-02-24 Roland McGrath <roland@hack.frob.com>
4270
ee968201
RM
4271 [BZ #13738]
4272 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4273 * manual/fdl-1.3.texi: New file.
4274 * manual/fdl-1.1.texi: File removed.
4275
74981cc5
RM
4276 [BZ #13738]
4277 * manual/libc.texinfo (FDL_VERSION): New @set.
4278 Use it for mention of FDL in cover text.
4279 (Documentation License): Use it in @include file name.
4280
7bb764bc
JM
42812012-02-22 Joseph Myers <joseph@codesourcery.com>
4282 Roland McGrath <roland@hack.frob.com>
4283
4284 [BZ #5461]
4285 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4286 not LONG_LONG_MAX and LONG_LONG_MIN.
4287 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4288 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4289 name.
4290 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4291
6cbeae47
JM
42922012-02-22 Joseph Myers <joseph@codesourcery.com>
4293
4294 [BZ #2547]
4295 [BZ #11365]
4296 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4297 manipulate bits before adding and subtracting TWO23[sx].
4298 * math/libm-test.inc (nearbyint_test): Add more tests.
4299
fe45ce09
JM
43002012-02-22 Joseph Myers <joseph@codesourcery.com>
4301
4302 [BZ #2548]
4303 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4304 bits before adding and subtracting TWO23[sx].
4305 * math/libm-test.inc (rint_test): Add more tests.
4306 (rint_test_tonearest): Likewise.
4307 (rint_test_towardzero): Likewise.
4308 (rint_test_downward): Likewise.
4309 (rint_test_upward: Likewise.
4310
ff3b3d82
JM
43112012-02-22 Joseph Myers <joseph@codesourcery.com>
4312
4313 [BZ #10110]
4314 * include/stdc-predef.h: New file. Extracted from features.h.
4315 * include/features.h: Include stdc-predef.h.
4316 * Makefile (headers): Add stdc-predef.h.
4317 * CONFORMANCE (Compiler limitations): Update.
4318
ef0aab35
JM
43192012-02-22 Joseph Myers <joseph@codesourcery.com>
4320
4321 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4322
58639409
DM
43232012-02-21 David S. Miller <davem@davemloft.net>
4324
4325 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4326 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4327
c0e70b25
DM
43282012-02-20 David S. Miller <davem@davemloft.net>
4329
4330 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4331 using a normal save/restore sequence, rather than allocating a
4332 dummy stack frame just to store a frame pointer and restore.
4333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4334
fb06851d
JM
43352012-02-21 Joseph Myers <joseph@codesourcery.com>
4336
4337 * manual/install.texi: Fix stray word in line-wrapped comment.
4338
7a8b71c3
DM
43392012-02-20 David S. Miller <davem@davemloft.net>
4340
d510c123
DM
4341 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4342 both binutils and gcc support GOTDATA.
4343
0722d7c2
DM
4344 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4345 "rd %pc" in the PIC register setup sequences.
4346
3d2b3019
DM
4347 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4348 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4349 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4350 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4351 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4353 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4356 (SYSCALL_ERROR_HANDLER): Likewise.
4357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4358 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4360 (SYSCALL_ERROR_HANDLER): Likewise.
4361
c80098a9
DM
4362 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4363 (HAVE_GCC_GOTDATA): New.
4364 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4365 relocation support in both binutils and gcc.
4366 * sysdeps/sparc/elf/configure: Regenerate.
4367
3a2545a0
DM
4368 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4369 * sysdeps/sparc/sparc32/elf/configure: Delete.
4370 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4371 * sysdeps/sparc/sparc64/elf/configure: Delete.
4372 * sysdeps/sparc/elf/configure.in: New file.
4373 * sysdeps/sparc/elf/configure: Generate.
4374
7a8b71c3
DM
4375 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4376 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4377 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4378 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4379 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4380
f1e86fca
JM
43812012-02-21 Joseph Myers <joseph@codesourcery.com>
4382
4383 * manual/install.texi: Do not mention specific glibc version
4384 numbers.
4385 * manual/libc.texinfo (VERSION, UPDATED): Update.
4386 (@copying): Use @copyright{} and range of years.
4387
0e7dfaef
JM
43882012-02-21 Joseph Myers <joseph@codesourcery.com>
4389
4390 [BZ #13695]
4391 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4392 [crti.S not in sysdirs] (generated): Do not append.
4393 [crti.S not in sysdirs] (omit-deps): Likewise.
4394 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4395 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4396 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4397 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4398 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4399 Likewise.
4400 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4401 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4402 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4403 * csu/defs.awk: Remove file.
4404 * sysdeps/generic/initfini.c: Likewise.
4405 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4406 variable.
4407 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4408 Likewise.
4409
599af3ca
JM
44102012-02-20 Joseph Myers <joseph@codesourcery.com>
4411
4412 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4413 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4414 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4415 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4416 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4417 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4418 <bits/epoll.h>.
4419 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4420 (__EPOLL_PACKED): Define to empty if not defined by
4421 <bits/epoll.h>.
4422 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4424 bits/epoll.h.
4425
0e499750
JM
44262012-02-20 Joseph Myers <joseph@codesourcery.com>
4427
4428 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4429 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4430 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4431 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4432 <bits/timerfd.h>.
4433 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4435 bits/timerfd.h.
4436
5ad91f6e
JM
44372012-02-20 Joseph Myers <joseph@codesourcery.com>
4438
4439 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4440 in C locale.
4441 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4442 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4443 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4445
06b99b02
AJ
44462012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4447
4448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4449 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4450
7638c0fd
AS
44512012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4452
4453 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4454 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4455 defined.
4456 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4457 Likewise.
4458 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4459 entry for 2.16.
4460
92221550
AJ
44612012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4462
4463 * math/w_acos.c: Use non-signaling floating-point comparisons.
4464 * math/w_acosf.c: Likewise.
4465 * math/w_acosh.c: Likewise.
4466 * math/w_acoshf.c: Likewise.
4467 * math/w_acoshl.c: Likewise.
4468 * math/w_acosl.c: Likewise.
4469 * math/w_asin.c: Likewise.
4470 * math/w_asinf.c: Likewise.
4471 * math/w_asinl.c: Likewise.
4472 * math/w_atanh.c: Likewise.
4473 * math/w_atanhf.c: Likewise.
4474 * math/w_atanhl.c: Likewise.
4475 * math/w_exp2.c: Likewise.
4476 * math/w_exp2f.c: Likewise.
4477 * math/w_exp2l.c: Likewise.
4478 * math/w_j0.c: Likewise.
4479 * math/w_j0f.c: Likewise.
4480 * math/w_j0l.c: Likewise.
4481 * math/w_j1.c: Likewise.
4482 * math/w_j1f.c: Likewise.
4483 * math/w_j1l.c: Likewise.
4484 * math/w_jn.c: Likewise.
4485 * math/w_jnf.c: Likewise.
4486 * math/w_log.c: Likewise.
4487 * math/w_log10.c: Likewise.
4488 * math/w_log10f.c: Likewise.
4489 * math/w_log10l.c: Likewise.
4490 * math/w_log2.c: Likewise.
4491 * math/w_log2f.c: Likewise.
4492 * math/w_log2l.c: Likewise.
4493 * math/w_logf.c: Likewise.
4494 * math/w_logl.c: Likewise.
4495 * math/w_sqrt.c: Likewise.
4496 * math/w_sqrtf.c: Likewise.
4497 * math/w_sqrtl.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4501 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4502 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4503
ebaf36eb
JM
45042012-02-19 Joseph Myers <joseph@codesourcery.com>
4505
4506 [BZ #9739]
4507 * manual/string.texi (strnlen): Use correct parameter name in
4508 equivalent expression.
4509
71c254a6
JM
45102012-02-19 Joseph Myers <joseph@codesourcery.com>
4511
4512 [BZ #11174]
4513 * manual/users.texi (seteuid): Consistently use neweuid for
4514 argument name.
4515
16d2c631
JM
45162012-02-19 Joseph Myers <joseph@codesourcery.com>
4517
4518 [BZ #13704]
4519 * manual/nss.texi (Services in the NSS configuration): Correct
4520 list of services in example configuration file.
4521
cd837b09
NB
45222012-02-19 Nick Bowler <nbowler@draconx.ca>
4523
4524 [BZ #11322]
4525 * manual/arith.texi: Remove statements about negative zero
4526 behaving identically to zero.
4527
02c4bbad
JM
45282012-02-18 Joseph Myers <joseph@codesourcery.com>
4529
4530 [BZ #5993]
4531 * manual/install.texi: Do not document upgrading from libc5.
4532
366842e7
JM
45332012-02-18 Joseph Myers <joseph@codesourcery.com>
4534
4535 [BZ #4596]
4536 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4537
dd54084d
DM
45382012-02-18 David S. Miller <davem@davemloft.net>
4539
4540 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4541 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4542 %o7 across the call.
4543 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4544 instead.
4545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4546 SETUP_PIC_REG_LEAF.
4547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4548 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4549 * sysdeps/sparc/crtn.S: Likewise.
4550
2bcc53a3
UD
45512012-02-17 Ulrich Drepper <drepper@gmail.com>
4552
4553 * aout/Makefile: Remove.
4554
09c093b5
RK
45552012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4556
4557 [BZ #13058]
4558 * manual/examples/argp-ex1.c (main): Format definition in GNU
4559 style.
4560 * manual/examples/argp-ex2.c (main): Likewise.
4561 * manual/examples/argp-ex3.c (main): Likewise.
4562 * manual/examples/argp-ex4.c (main): Likewise.
4563 * manual/examples/longopt.c (main): Use new-style prototype
4564 definition.
4565 * manual/examples/strncat.c (main): Specify return type and use
4566 (void) for arguments.
4567 * manual/examples/subopt.c (main): Use char **argv argument.
4568
2ee633a2
JM
45692012-02-17 Joseph Myers <joseph@codesourcery.com>
4570
4571 [BZ #5077]
4572 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4573 rounding modes.
4574
0520adde
FB
45752012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4576
4577 [BZ #6907]
4578 * manual/string.texi (strchr): Change when strchrnul is
4579 recommended.
4580
3f4081cd
DGM
45812012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4582
4583 [BZ #174]
4584 * manual/locale.texi (setlocale): Document LOCPATH.
4585
d1b10e78
JM
45862012-02-17 Joseph Myers <joseph@codesourcery.com>
4587
4588 [BZ #10210]
4589 * manual/process.texi (execle): Move @dots{} before last argument.
4590
79c6869c
PB
45912012-02-17 Paul Bolle <pebolle@tiscali.nl>
4592
4593 [BZ #12047]
4594 * manual/charset.texi (Generic Charset Conversion): Fix typo
4595 (LC_TYPE -> LC_CTYPE).
4596
cc6e48bc
NB
45972012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4598
4599 [BZ #5805]
4600 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4601 (scalbnf): Likewise.
4602 (scalbnl): Likewise.
4603 (scalbln): Likewise.
4604 (scalblnf): Likewise.
4605 (scalblnl): Likewise.
4606 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4607 (vwarnx): Likewise.
4608 (verr): Likewise.
4609 (verrx): Likewise.
4610 * manual/filesys.texi (telldir): Use braces around return type.
4611 * manual/llio.texi (mmap): Add space after comma.
4612 (mmap64): Likewise.
4613 * manual/math.texi (jn): Use @var{} on parameter names.
4614 (jnf): Likewise.
4615 (jnl): Likewise.
4616 (yn): Likewise.
4617 (ynf): Likewise.
4618 (ynl): Likewise.
4619 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4620 line.
4621 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4622 "...".
4623 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4624 (sched_get_priority_max): Likewise.
4625 * manual/signal.texi (sigvec): Add space after comma.
4626 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4627 names.
4628 (if_indextoname): Likewise.
4629 (if_freenameindex): Likewise.
4630 (sendto): Use ',' instead of '.' in prototype.
4631 * manual/startup.texi (syscall): Use @dots{} instead of literal
4632 "...".
4633 * manual/stdio.texi (__fpending): Separate initial words of
4634 paragraph from @deftypefun line.
4635 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4636 "...".
4637 (vsyslog): Use @var{} on parameter names.
4638 * manual/terminal.texi (stty): Use @var{} on parameter names.
4639 * manual/users.texi (getutmp): Use @var{} on parameter names.
4640 (getutmpx): Likewise.
4641
5b23062f
JM
46422012-02-17 Joseph Myers <joseph@codesourcery.com>
4643
4644 [BZ #6884]
4645 * manual/stdio.texi (fopen): Fix typos in description of
4646 ",ccs=STRING".
4647
8dee4833
AJ
46482012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4649
4650 [BZ #4026]
4651 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4652 get clock_id definition.
4653
9078ce93
TS
46542012-02-17 Thomas Schwinge <thomas@schwinge.name>
4655
4656 [BZ #4822]
4657 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4658 (madvise): Cast every argument to void on its own.
4659
3835c55f
JM
46602012-02-17 Joseph Myers <joseph@codesourcery.com>
4661
4662 [BZ #9902]
4663 * manual/startup.texi (Exit Status): Fix typo.
4664
35c47e37
JM
46652012-02-17 Joseph Myers <joseph@codesourcery.com>
4666
4667 [BZ #10140]
4668 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4669 * manual/examples/argp-ex2.c: Likewise.
4670 * manual/examples/argp-ex3.c: Likewise.
4671
e3b69ca7
RH
46722012-02-16 Richard Henderson <rth@redhat.com>
4673
4674 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4675 * sysdeps/s390/s390-32/initfini.c: Remove.
4676 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4677 * sysdeps/s390/s390-64/initfini.c: Remove.
4678
df83af67
KK
46792012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4680
4681 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4682 compiler output for sysdeps/generic/initfini.c.
4683 * sysdeps/sh/elf/initfini.c: Remove file.
4684
f63f3380
DM
46852012-02-16 David S. Miller <davem@davemloft.net>
4686
fb59b3a4
DM
4687 [BZ #11494]
4688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4689
f63f3380
DM
4690 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4691 * sysdeps/sparc/crti.S: New file.
4692 * sysdeps/sparc/crtn.S: New file.
4693 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4694 * sysdeps/sparc/sparc64/Makefile: Likewise.
4695
df6a4a4a
MF
46962012-02-15 Mike Frysinger <vapier@gentoo.org>
4697
6dd8f3dc 4698 [BZ #3335]
df6a4a4a
MF
4699 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4700
1cac7236
RM
47012012-02-15 Roland McGrath <roland@hack.frob.com>
4702
d2c736f8
RM
4703 [BZ #4822]
4704 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4705
1cac7236
RM
4706 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4707 (write, read, close): Likewise.
4708 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4709
8e475601
JM
47102012-02-15 Joseph Myers <joseph@codesourcery.com>
4711
4712 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4713 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4714 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4715 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4716 <bits/signalfd.h>.
4717 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4719 bits/signalfd.h.
4720
ed656b40
MP
47212012-02-14 Marek Polacek <polacek@redhat.com>
4722
4723 * sysdeps/x86_64/crti.S: New file.
4724 * sysdeps/x86_64/crtn.S: New file.
4725 * sysdeps/x86_64/elf/initfini.c: Remove file.
4726
2a979d3a
JM
47272012-02-13 Joseph Myers <joseph@codesourcery.com>
4728
4729 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4730 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4731 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4732 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4733 <bits/inotify.h>.
4734 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4736 bits/inotify.h.
4737
2a418ac3
JM
47382012-02-13 Joseph Myers <joseph@codesourcery.com>
4739
4740 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4741 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4742 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4743 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4744 <bits/eventfd.h>.
4745 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4747 bits/eventfd.h.
4748
fb779be7
TS
47492012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4750
e19e83c5
RM
4751 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4752 __feraiseexcept instead of feraiseexcept.
7c35ffed 4753
fb779be7
TS
4754 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4755 nanosleep invocations.
4756 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4757 strings, and add error checking for a nanosleep invocations.
4758
59ba27a6
PE
47592012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4760
4761 Replace FSF snail mail address with URLs, as per GNU coding standards.
4762 Most of the snail mail addresses were wrong anyway, and omitting
4763 them makes the source code easier to maintain. Almost all of the
4764 changes are to license notices and to locale LC_IDENTIFICATION
4765 addresses, except for this one:
4766 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4767 not its snail mail address.
4768
57b957eb
RH
47692012-02-09 Richard Henderson <rth@twiddle.net>
4770
af850b1c
RH
4771 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4772 of kernel-features.h.
4773
57b957eb
RH
4774 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4775
6b73181a
MP
47762012-02-08 Marek Polacek <polacek@redhat.com>
4777
4778 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4779 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4780 * sysdeps/gnu/_G_config.h: Likewise.
4781 * sysdeps/generic/_G_config.h: Likewise.
4782
26ecc33a
AS
47832012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4784
6c6dbc63
AS
4785 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4786 tests.
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4788
e216c012
AS
4789 * sysdeps/powerpc/powerpc32/crti.S: New file.
4790 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4791 * sysdeps/powerpc/powerpc64/crti.S: New file.
4792 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4793
26ecc33a
AS
4794 * Makeconfig (have-initfini): Don't set.
4795 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4796 * configure.in (nopic_initfini): Don't substitute.
4797 * config.h.in (HAVE_INITFINI): Don't #undef.
4798 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4799 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4800
3add8e13
JM
48012012-02-08 Joseph Myers <joseph@codesourcery.com>
4802
4803 Support crti.S and crtn.S provided directly by architectures.
4804 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4805 [crti.S in sysdirs] (omit-deps): Likewise.
4806 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4807 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4808 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4809 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4810 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4811 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4812 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4813 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4814 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4815 compiler output for sysdeps/generic/initfini.c.
4816 * sysdeps/i386/elf/Makefile: Remove file.
4817 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4818
a22f12b4
MP
48192012-02-07 Marek Polacek <polacek@redhat.com>
4820
4821 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4822 * sysdeps/gnu/_G_config.h: Likewise.
4823 * sysdeps/mach/hurd/_G_config.h: Likewise.
4824
148cf100
MP
48252012-02-07 Marek Polacek <polacek@redhat.com>
4826
4827 * math/Makefile (tests): Add tst-CMPLX2.
4828 * math/tst-CMPLX2.c: New file.
4829
cfdc0dd7
AS
48302012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4831
84ba42c4
AS
4832 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4833
cfdc0dd7
AS
4834 * math/libm-test.inc (jn_test): Add missing L suffix.
4835
622c86f4
MP
48362012-02-06 Marek Polacek <polacek@redhat.com>
4837
4838 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4839 * sysdeps/i386/fpu/e_powf.S: Likewise.
4840 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4841 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4842 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4843 * sysdeps/i386/fpu/e_pow.S: Likewise.
4844 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4845 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4846 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4847 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4848 * sysdeps/i386/fpu/e_log2.S: Likewise.
4849 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4850 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4851 * sysdeps/i386/fpu/e_powl.S: Likewise.
4852 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4853 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4854 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4855 * sysdeps/i386/fpu/e_logl.S: Likewise.
4856 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4857 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4858 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4859 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4860 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4861 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4862 * sysdeps/i386/fpu/e_log.S: Likewise.
4863 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4864 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4865 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4866 * sysdeps/i386/fpu/e_logf.S: Likewise.
4867 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4868 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4869 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4870 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4871 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4872 * sysdeps/i386/fpu/e_log10.S: Likewise.
4873 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4874 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4875 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4876 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4877 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4878 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4879 * sysdeps/i386/asm-syntax.h: Likewise.
4880 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4881 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4882 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4883 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4884 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4885 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4886 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4887 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4888 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4889 * sysdeps/powerpc/sysdep.h: Likewise.
4890 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4892
d4a54ac6
JM
48932012-02-06 Joseph Myers <joseph@codesourcery.com>
4894
4895 [BZ #411]
4896 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4897
314054ea
JM
48982012-02-06 Joseph Myers <joseph@codesourcery.com>
4899
4900 * sysdeps/i386/sysdep.h: Include <features.h>.
4901 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4902 version.
4903
d8e0ca50
JM
49042012-02-05 Joseph Myers <joseph@codesourcery.com>
4905
4906 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4907 Define.
4908 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4909 LOAD_PIC_REG_STR.
4910
b1da7dd9
JM
49112012-02-03 Joseph Myers <joseph@codesourcery.com>
4912
4913 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4914 (SETUP_PIC_REG): Use GET_PC_THUNK.
4915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4916 macro.
4917
9a1d9254
JM
49182012-02-03 Joseph Myers <joseph@codesourcery.com>
4919
4920 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4921 for non-PIC compilation.
4922 (SETUP_PIC_REG): Add .p2align directive.
4923 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4924 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4961 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4964
65dc3b75
JM
49652012-02-03 Joseph Myers <joseph@codesourcery.com>
4966
4967 * math/tst-CMPLX.c: Include <stdio.h>.
4968
d55bf177
JM
49692012-01-31 Joseph Myers <joseph@codesourcery.com>
4970
4971 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4972 float.
4973 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4974 * sysdeps/sparc/bits/mathdef.h: Likewise.
4975
69db4f8f
MP
49762012-01-31 Marek Polacek <polacek@redhat.com>
4977
4978 * libio/libio.h: Don't define _PARAMS.
4979 * locale/programs/config.h: Don't define PARAMS.
4980 * stdlib/strtol_l.c: Likewise.
4981 (__strtol_l): Remove PARAMS from the prototype.
4982
41b81892
UD
49832012-01-31 Ulrich Drepper <drepper@gmail.com>
4984
3b49edc0
UD
4985 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4986 names. Just use the correct names. Remove unnecessary wrapper
4987 functions.
4988 * malloc/arena.c: Likewise.
4989 * malloc/hooks.c: Likewise.
4990
41b81892
UD
4991 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4992 ARENA_TEST says not to. Simplify test for creation of a new arena.
4993 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4994
27a25b6e
UD
49952012-01-30 Ulrich Drepper <drepper@gmail.com>
4996
4997 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4998 into tail calls.
4999 (update_get_addr): New function.
5000 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5001 GET_ADDR_MODULE parameter.
5002
c8a89e7d
JM
50032012-01-30 Joseph Myers <joseph@codesourcery.com>
5004
5005 * crypt/cert.c: Remove __STDC__ conditionals.
5006 * crypt/crypt-entry.c: Likewise.
5007 * crypt/crypt_util.c: Likewise.
5008 * libio/filedoalloc.c: Likewise.
5009 * libio/fileops.c: Likewise.
5010 * libio/genops.c: Likewise.
5011 * libio/iofclose.c: Likewise.
5012 * libio/iofdopen.c: Likewise.
5013 * libio/iofopen.c: Likewise.
5014 * libio/iofopen64.c: Likewise.
5015 * libio/iogetdelim.c: Likewise.
5016 * libio/iopopen.c: Likewise.
5017 * libio/obprintf.c: Likewise.
5018 * libio/oldfileops.c: Likewise.
5019 * libio/oldiofclose.c: Likewise.
5020 * libio/oldiofdopen.c: Likewise.
5021 * libio/oldiofopen.c: Likewise.
5022 * libio/oldiopopen.c: Likewise.
5023 * libio/wfiledoalloc.c: Likewise.
5024 * libio/wgenops.c: Likewise.
5025 * locale/programs/xmalloc.c: Likewise.
5026 * misc/syslog.c: Likewise.
5027 * stdio-common/xbug.c: Likewise.
5028 * string/memchr.c: Likewise.
5029 * string/memcmp.c: Likewise.
5030 * string/memrchr.c: Likewise.
5031 * string/rawmemchr.c: Likewise.
5032 * sysdeps/posix/getcwd.c: Likewise.
5033 * time/strftime_l.c: Likewise.
5034
3b100462
JM
50352012-01-30 Joseph Myers <joseph@codesourcery.com>
5036
5037 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5038 * config.make.in (config-cflags-sse2avx): Define.
5039 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5040 Fix typo.
5041
607998af
CM
50422012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5043
5044 * scripts/config.guess: Update from upstream config git repository.
5045 * scripts/config.sub: Likewise.
5046
3601428f
CM
50472012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5048
3ac8b282
CM
5049 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5050 (EM_NUM): Update.
5051 (R_TILEPRO_*, R_TILEGX_*): New macros.
5052
e034841e
CM
5053 * scripts/firstversions.awk: Fix bug in version range handling.
5054
540d7568
CM
5055 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5056
3601428f
CM
5057 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5058
463de862
CM
5059 * include/sys/epoll.h: New file.
5060 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5061 libc_hidden_def.
5062
73139a76
UD
50632012-01-28 Ulrich Drepper <drepper@gmail.com>
5064
96bc5b45
UD
5065 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5066 Avoid unnecessary __WORDSIZE == 64 test.
5067 (fmaxf): Use VEX format if possible.
5068 (fmax): Likewise.
5069 (fminf): Likewise.
5070 (fmin): Likewise.
5071
56f6f6a2
UD
5072 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5073 * math/math_private.h: Remove libc_fegetround* and
5074 libc_fesetround*.
5075 * sysdeps/i386/configure.in: Check for -msse2avx.
5076 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5077 also if SSE2AVX is defined.
5078 Remove libc_fegetround* and libc_fesetround*.
5079 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5080 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5081 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5082 of HAS_YMM_USABLE.
5083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5084 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5086 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5087 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5088
73139a76
UD
5089 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5090
d73f93a4
AZ
50912012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5092
5093 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5094 size is not set.
5095 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5096
6ee65ed6
UD
50972012-01-27 Ulrich Drepper <drepper@gmail.com>
5098
5099 [BZ #13618]
5100 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5101 relocation.
5102 * Makeconfig (libm): Define.
5103 * elf/Makefile: Add rules to build and run tst-relsort1.
5104 * elf/tst-relsort1.c: New file.
5105 * elf/tst-relsort1mod1.c: New file.
5106 * elf/tst-relsort1mod2.c: New file.
5107
8db21882
JM
51082012-01-27 Joseph Myers <joseph@codesourcery.com>
5109
5110 * math/s_ldexp.c: Remove __STDC__ conditionals.
5111 * math/s_ldexpf.c: Likewise.
5112 * math/s_ldexpl.c: Likewise.
5113 * math/s_nextafter.c: Likewise.
5114 * math/s_nexttowardf.c: Likewise.
5115 * math/s_significand.c: Likewise.
5116 * math/s_significandf.c: Likewise.
5117 * math/s_significandl.c: Likewise.
5118 * math/w_jnl.c: Likewise.
5119 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5120 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5121 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5122 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5123 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5130 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5138 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5139 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5140 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5141 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5142 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5143 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5144 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5145 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5146 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5147 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5148 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5149 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5150 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5151 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5152 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5153 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5154 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5155 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5156 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5157 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5158 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5159 * sysdeps/ieee754/k_standard.c: Likewise.
5160 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5164 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5165 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5226 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5234 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5235 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5239 * sysdeps/ieee754/s_matherr.c: Likewise.
5240 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5241 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5244
965a54a4
JM
52452012-01-26 Joseph Myers <joseph@codesourcery.com>
5246
5247 * crypt/md5.h: Remove __STDC__ conditionals.
5248 * libio/libioP.h: Likewise.
5249 * locale/programs/config.h: Likewise.
5250 * sysdeps/generic/sysdep.h: Likewise.
5251 * sysdeps/i386/asm-syntax.h: Likewise.
5252 * sysdeps/s390/asm-syntax.h: Likewise.
5253 * sysdeps/unix/sysdep.h: Likewise.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5256
7071ad79
JM
52572012-01-26 Joseph Myers <joseph@codesourcery.com>
5258
5259 * libio/libio.h: Remove __STDC__ conditionals.
5260 * malloc/obstack.h: Likewise.
5261 * math/complex.h: Likewise.
5262 * math/math.h: Likewise.
5263 * sysdeps/generic/_G_config.h: Likewise.
5264 * sysdeps/gnu/_G_config.h: Likewise.
5265 * sysdeps/mach/hurd/_G_config.h: Likewise.
5266 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5267 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5268 * sysdeps/sparc/bits/mathdef.h: Likewise.
5269
afc5ed09
UD
52702012-01-26 Ulrich Drepper <drepper@gmail.com>
5271
5272 [BZ #13583]
5273 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5274 Clean up HAS_* macros.
afc5ed09 5275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5276 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5277 possible.
5278 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5279 HAS_AVX.
5280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5285
bdb6de1d
JM
52862012-01-25 Joseph Myers <joseph@codesourcery.com>
5287
5288 * elf/tst-unique3.cc (gets): Remove declaration.
5289 * elf/tst-unique3lib.cc (gets): Likewise.
5290 * elf/tst-unique3lib2.cc (gets): Likewise.
5291 * elf/tst-unique4.cc (gets): Likewise.
5292
b15549e6
UD
52932012-01-24 Ulrich Drepper <drepper@gmail.com>
5294
5295 * include/stdio.h: Add C++ protection. Add gets declarations and
5296 definitions.
5297 * debug/tst-chk1.c: Don't declare gets here.
5298 * stdio-common/tst-gets.c: Likewise.
5299
a037381f
JM
53002012-01-24 Joseph Myers <joseph@codesourcery.com>
5301
5302 * posix/glob: Remove directory.
5303
f1d4aa75
JM
53042012-01-24 Joseph Myers <joseph@codesourcery.com>
5305
5306 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5307
81c0c964
PT
53082012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5309
5310 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5311 of the non-standard EPFNOSUPPORT.
5312
0ea698ae
ST
53132011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5314
5315 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5316 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5317 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5318
d220b117
UD
53192012-01-21 Ulrich Drepper <drepper@gmail.com>
5320
5321 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5322
3e1aa84e
UD
53232012-01-20 Ulrich Drepper <drepper@gmail.com>
5324
5325 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5326 transient errors.
5327 * nscd/grpcache.c (cache_addgr): Likewise.
5328 * nscd/hstcache.c (cache_addhst): Likewise.
5329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5330 * nscd/pwdcache.c (cache_addpw): Likewise.
5331 * nscd/servicescache.c (cache_addserv): Likewise.
5332
400aa020
UD
53332012-01-16 Ulrich Drepper <drepper@gmail.com>
5334
d77e7869
UD
5335 * malloc/malloc.c: Various cleanups.
5336 * malloc/hooks.c: Likewise.
5337
400aa020
UD
5338 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5339 * stdlib/bug-fmtmsg1.c: New file.
5340
5341 * stdlib/fmtmsg.c (init): Add missing unlock.
5342 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5343
e0a309cf
MP
53442012-01-12 Marek Polacek <polacek@redhat.com>
5345
5346 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5347 and _GNU_SOURCE.
5348
929d11c7
WS
53492012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5350
5351 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5352 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5353 macro to ensure uniqueness of label name.
5354 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5355 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5356
41d0e869
UD
53572012-01-11 Ulrich Drepper <drepper@gmail.com>
5358
0cc5ed3b
UD
5359 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5360
41d0e869
UD
5361 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5362 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5363 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5365
a47a831a
UD
53662012-01-10 Ulrich Drepper <drepper@gmail.com>
5367
daa891c0
UD
5368 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5369
5370 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5371 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5372 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5373
e58ef0f2
UD
5374 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5375
a47a831a 5376 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5377 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5378 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5379 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5380
5381 * math/bits/math-finite.h: Add ldexp support.
5382
a0bfc9c7
MP
53832012-01-10 Marek Polacek <polacek@redhat.com>
5384
5385 * locale/programs/localedef.h (show_archive_content): Add noreturn
5386 attribute.
5387
d6e97a1d
UD
53882012-01-09 Ulrich Drepper <drepper@gmail.com>
5389
5390 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5391
d5835c26
UD
53922012-01-08 Ulrich Drepper <drepper@gmail.com>
5393
e5f484c6
UD
5394 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5395
d5835c26
UD
5396 * io/Makefile (headers): Add bits/poll2.h.
5397
d1f741e9
WS
53982011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5399
5400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5401 typo #include statement.
5402
ec09c1c4
UD
54032012-01-08 Ulrich Drepper <drepper@gmail.com>
5404
5405 * include/sys/cdefs.h: Define __attribute_alloc_size.
5406 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5407 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5408 * elf/pldd.c: Likewise.
5409 * iconv/iconv_charmap.c: Likewise.
5410 * iconv/iconvconfig.c: Likewise.
5411 * iconv/strtab.c: Likewise.
5412 * locale/programs/locale.c: Likewise.
5413 * locale/programs/localedef.h: Likewise.
5414 * locale/programs/simple-hash.c: Likewise.
5415 * nscd/nscd.h: Likewise.
5416 * nss/makedb.c: Likewise.
5417 * sysdeps/generic/ldconfig.h: Likewise.
5418 * locale/programs/localedef.c: Remove xmalloc prototype.
5419 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5420
20b38e03
PP
54212012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5422
5423 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5424 appropriate.
5425
a0da5fe1
UD
54262012-01-08 Ulrich Drepper <drepper@gmail.com>
5427
1d5a644a 5428 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5429 * math/tst-CMPLX.c: New file.
1d5a644a 5430
8784a6db
UD
5431 * math/complex.h (CMPLXL): Fix typo.
5432
d9a216c0
UD
5433 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5434 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5435 GLIBC_2.16.
5436 * debug/tst-chk1.c: Add poll and ppoll tests.
5437 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5438 * include/sys/poll.h: Add hidden proto for ppoll.
5439 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5440 * sysdeps/mach/hurd/ppoll.c: Likewise.
5441 * io/ppoll.c: Likewise.
5442 * debug/poll_chk.c: New file.
5443 * debug/ppoll_chk.c: New file.
5444 * include/bits/poll2.h: New file.
5445 * io/bits/poll2.h: New file.
5446
ac097f5c
UD
5447 [BZ #1350]
5448 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5449
2119dcfa
UD
5450 * configure.in: static is always set to yes. Remove.
5451 * config.make.in: Don't set build-static.
5452 * Makeconfig: Remove use of build-static.
5453 * dlfcn/Makefile: Likewise.
5454 * elf/Makefile: Likewise.
5455 * math/Makefile: Likewise.
5456 * misc/Makefile: Likewise.
5457 * nptl/Makefile: Likewise.
5458 * sysdeps/mach/hurd/Makefile: Likewise.
5459
121766a9
UD
5460 * configure.in: PWD_P is not used anymore.
5461 * config.make.in: Remove PWD_P entry.
5462
51a1d39c 5463 * configure.in: Remove last remnants of RANLIB.
8720d066 5464 No need to check for signed size_t anymore.
215f4bdc
UD
5465 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5466 and IA-64.
3857022a 5467 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5468 * aclocal.m4: Likewise.
5469
d3ed7225
UD
5470 * wcsmbs/mbrtoc16.c: Implement using towc function.
5471 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5472 * wcsmbs/wcsmbsload.c: Likewise.
5473 * iconv/gconv_simple.c: Likewise.
5474 * iconv/gconv_int.h: Likewise.
5475 * iconv/gconv_builtin.h: Likewise.
5476 * iconv/iconv_prog.c: Remove CHAR16 handling.
5477
5478 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5479
5480 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5481
a0da5fe1
UD
5482 * configure.in: Remove --with-elf and --enable-bounded options.
5483 Dont set base_machine for ia64. More non-ELF conditions removed.
5484 Remove testing and setting of leading underscore information.
5485 * config.make.in (build-bounded): Set to no.
5486 * config.h.in: Remove NO_UNDERSCORES entry.
5487 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5488 them.
5489 * csu/start.c: Remove !NO_UNDERSCORE code.
5490 * locale/localeinfo.h: Likewise.
5491 * sysdeps/generic/machine-gmon.h: Likewise.
5492 * sysdeps/generic/sysdep.h: Likewise.
5493 * sysdeps/i386/sysdep.h: Likewise.
5494 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5495 * sysdeps/mach/sysdep.h: Likewise.
5496 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5497 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5498 * sysdeps/sh/sysdep.h: Likewise.
5499 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5500 * sysdeps/unix/i386/sysdep.S: Likewise.
5501 * sysdeps/unix/sparc/start.c: Likewise.
5502 * sysdeps/unix/sparc/sysdep.S: Likewise.
5503 * sysdeps/unix/sparc/sysdep.h: Likewise.
5504 * sysdeps/unix/start.c: Likewise.
5505 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5506 * sysdeps/x86_64/sysdep.h: Likewise.
5507
df78418a
UD
55082012-01-07 Ulrich Drepper <drepper@gmail.com>
5509
a784e502
UD
5510 [BZ #13553]
5511 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5512 for non-gcc.
5513 * argp/argp-fmtstream.h: Use const instead __const.
5514 * argp/argp.h: Likewise.
5515 * assert/assert.h: Likewise.
5516 * bits/fenv.h: Likewise.
5517 * bits/sched.h: Likewise.
5518 * bits/sigset.h: Likewise.
5519 * bits/sigthread.h: Likewise.
5520 * catgets/nl_types.h: Likewise.
5521 * conform/data/pthread.h-data: Likewise.
5522 * crypt/crypt-private.h: Likewise.
5523 * crypt/crypt.h: Likewise.
5524 * crypt/crypt_util.c: Likewise.
5525 * ctype/ctype.h: Likewise.
5526 * debug/execinfo.h: Likewise.
5527 * debug/mbsnrtowcs_chk.c: Likewise.
5528 * debug/mbsrtowcs_chk.c: Likewise.
5529 * debug/wcsnrtombs_chk.c: Likewise.
5530 * debug/wcsrtombs_chk.c: Likewise.
5531 * debug/wcstombs_chk.c: Likewise.
5532 * dirent/dirent.h: Likewise.
5533 * dlfcn/dlfcn.h: Likewise.
5534 * elf/neededtest4.c: Likewise.
5535 * grp/grp.h: Likewise.
5536 * gshadow/gshadow.h: Likewise.
5537 * iconv/gconv.h: Likewise.
5538 * iconv/gconv_int.h: Likewise.
5539 * iconv/gconv_simple.c: Likewise.
5540 * iconv/iconv.h: Likewise.
5541 * iconv/loop.c: Likewise.
5542 * iconv/skeleton.c: Likewise.
5543 * include/aio.h: Likewise.
5544 * include/aliases.h: Likewise.
5545 * include/argz.h: Likewise.
5546 * include/arpa/inet.h: Likewise.
5547 * include/assert.h: Likewise.
5548 * include/dirent.h: Likewise.
5549 * include/dlfcn.h: Likewise.
5550 * include/execinfo.h: Likewise.
5551 * include/fcntl.h: Likewise.
5552 * include/fenv.h: Likewise.
5553 * include/glob.h: Likewise.
5554 * include/grp.h: Likewise.
5555 * include/libintl.h: Likewise.
5556 * include/mntent.h: Likewise.
5557 * include/netdb.h: Likewise.
5558 * include/pwd.h: Likewise.
5559 * include/rpc/netdb.h: Likewise.
5560 * include/sched.h: Likewise.
5561 * include/search.h: Likewise.
5562 * include/shadow.h: Likewise.
5563 * include/signal.h: Likewise.
5564 * include/stdio.h: Likewise.
5565 * include/stdlib.h: Likewise.
5566 * include/string.h: Likewise.
5567 * include/sys/socket.h: Likewise.
5568 * include/sys/stat.h: Likewise.
5569 * include/sys/statfs.h: Likewise.
5570 * include/sys/statvfs.h: Likewise.
5571 * include/sys/syslog.h: Likewise.
5572 * include/sys/time.h: Likewise.
5573 * include/sys/uio.h: Likewise.
5574 * include/time.h: Likewise.
5575 * include/unistd.h: Likewise.
5576 * include/utmp.h: Likewise.
5577 * include/wchar.h: Likewise.
5578 * include/wctype.h: Likewise.
5579 * inet/aliases.h: Likewise.
5580 * inet/arpa/inet.h: Likewise.
5581 * inet/netinet/ether.h: Likewise.
5582 * inet/netinet/in.h: Likewise.
5583 * intl/libintl.h: Likewise.
5584 * io/bits/fcntl2.h: Likewise.
5585 * io/fcntl.h: Likewise.
5586 * io/ftw.h: Likewise.
5587 * io/sys/poll.h: Likewise.
5588 * io/sys/stat.h: Likewise.
5589 * io/sys/statfs.h: Likewise.
5590 * io/sys/statvfs.h: Likewise.
5591 * io/utime.h: Likewise.
5592 * libio/bits/stdio.h: Likewise.
5593 * libio/bits/stdio2.h: Likewise.
5594 * libio/libio.h: Likewise.
5595 * libio/libioP.h: Likewise.
5596 * libio/stdio.h: Likewise.
5597 * locale/lc-ctype.c: Likewise.
5598 * locale/locale.h: Likewise.
5599 * login/utmp.h: Likewise.
5600 * malloc/arena.c: Likewise.
5601 * malloc/malloc.c: Likewise.
5602 * malloc/malloc.h: Likewise.
5603 * malloc/mcheck.c: Likewise.
5604 * malloc/mtrace.c: Likewise.
5605 * math/bits/mathcalls.h: Likewise.
5606 * math/fenv.h: Likewise.
5607 * math/math_private.h: Likewise.
5608 * misc/bits/error.h: Likewise.
5609 * misc/bits/syslog.h: Likewise.
5610 * misc/err.h: Likewise.
5611 * misc/error.h: Likewise.
5612 * misc/fstab.h: Likewise.
5613 * misc/mntent.h: Likewise.
5614 * misc/regexp.h: Likewise.
5615 * misc/search.h: Likewise.
5616 * misc/sgtty.h: Likewise.
5617 * misc/sys/mman.h: Likewise.
5618 * misc/sys/syslog.h: Likewise.
5619 * misc/sys/uio.h: Likewise.
5620 * misc/sys/xattr.h: Likewise.
5621 * misc/ttyent.h: Likewise.
5622 * nis/rpcsvc/ypclnt.h: Likewise.
5623 * nss/nss.h: Likewise.
5624 * posix/bits/unistd.h: Likewise.
5625 * posix/fnmatch.h: Likewise.
5626 * posix/glob.h: Likewise.
5627 * posix/sched.h: Likewise.
5628 * posix/spawn.h: Likewise.
5629 * posix/sys/wait.h: Likewise.
5630 * posix/unistd.h: Likewise.
5631 * posix/wordexp.h: Likewise.
5632 * pwd/pwd.h: Likewise.
5633 * resolv/netdb.h: Likewise.
5634 * resource/sys/resource.h: Likewise.
5635 * rt/aio.h: Likewise.
5636 * rt/bits/mqueue2.h: Likewise.
5637 * rt/mqueue.h: Likewise.
5638 * shadow/shadow.h: Likewise.
5639 * signal/signal.h: Likewise.
5640 * socket/send.c: Likewise.
5641 * socket/sendto.c: Likewise.
5642 * socket/sys/socket.h: Likewise.
5643 * stdio-common/printf.h: Likewise.
5644 * stdlib/bits/stdlib.h: Likewise.
5645 * stdlib/fmtmsg.h: Likewise.
5646 * stdlib/monetary.h: Likewise.
5647 * stdlib/stdlib.h: Likewise.
5648 * stdlib/ucontext.h: Likewise.
5649 * streams/stropts.h: Likewise.
5650 * string/argz.h: Likewise.
5651 * string/bits/string2.h: Likewise.
5652 * string/string.h: Likewise.
5653 * string/strings.h: Likewise.
5654 * sunrpc/rpc/auth.h: Likewise.
5655 * sunrpc/rpc/auth_des.h: Likewise.
5656 * sunrpc/rpc/clnt.h: Likewise.
5657 * sunrpc/rpc/netdb.h: Likewise.
5658 * sunrpc/rpc/pmap_clnt.h: Likewise.
5659 * sunrpc/rpc/xdr.h: Likewise.
5660 * sysdeps/generic/inttypes.h: Likewise.
5661 * sysdeps/generic/net/if.h: Likewise.
5662 * sysdeps/generic/sys/swap.h: Likewise.
5663 * sysdeps/gnu/net/if.h: Likewise.
5664 * sysdeps/gnu/utmpx.h: Likewise.
5665 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5666 * sysdeps/i386/i486/bits/string.h: Likewise.
5667 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5668 * sysdeps/s390/bits/string.h: Likewise.
5669 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5670 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5671 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5672 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5673 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5674 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5675 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5676 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5677 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5678 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5679 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5680 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5681 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5682 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5683 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5684 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5685 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5687 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5688 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5690 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5691 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5692 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5693 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5694 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5695 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5696 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5697 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5698 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5699 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5700 * sysvipc/sys/ipc.h: Likewise.
5701 * sysvipc/sys/msg.h: Likewise.
5702 * sysvipc/sys/sem.h: Likewise.
5703 * sysvipc/sys/shm.h: Likewise.
5704 * termios/termios.h: Likewise.
5705 * time/sys/time.h: Likewise.
5706 * time/time.h: Likewise.
5707 * wcsmbs/bits/wchar2.h: Likewise.
5708 * wcsmbs/uchar.h: Likewise.
5709 * wcsmbs/wchar.h: Likewise.
5710 * wctype/wctype.h: Likewise.
5711
0269750c
UD
5712 [BZ #13551]
5713 * Makeconfig: Remove all but ELF support including AIX support.
5714 * Makerules: Likewise.
5715 * config.h.in: Likewise.
5716 * config.make.in: Likewise.
5717 * configure: Likewise.
5718 * configure.in: Likewise.
5719 * csu/Makefile: Likewise.
5720 * csu/version.c: Likewise.
5721 * debug/Makefile: Likewise.
5722 * dlfcn/Makefile: Likewise.
5723 * elf/Makefile: Likewise.
5724 * extra-lib.mk: Likewise.
5725 * iconv/Makefile: Likewise.
5726 * include/libc-symbols.h: Likewise.
5727 * include/shlib-compat.h: Likewise.
5728 * resolv/Makefile: Likewise.
5729 * resolv/res_libc.c: Likewise.
5730 * rt/Makefile: Likewise.
5731 * sysdeps/i386/asm-syntax.h: Likewise.
5732 * sysdeps/i386/sysdep.h: Likewise.
5733 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5734 * sysdeps/mach/sysdep.h: Likewise.
5735 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5736 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5737 * sysdeps/s390/asm-syntax.h: Likewise.
5738 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5739 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5740 * sysdeps/sh/sysdep.h: Likewise.
5741 * sysdeps/unix/sparc/sysdep.h: Likewise.
5742 * sysdeps/wordsize-32/divdi3.c: Likewise.
5743 * sysdeps/x86_64/sysdep.h: Likewise.
5744
00bbd29b
UD
5745 * argp/Versions: Remove _argp_unlock_xxx.
5746
5747 [BZ #13559]
5748 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5749 * abilist/libBrokenLocale.abilist: Likewise.
5750 * abilist/libanl.abilist: Likewise.
5751 * abilist/libc.abilist: Likewise.
5752 * abilist/libcrypt.abilist: Likewise.
5753 * abilist/libdl.abilist: Likewise.
5754 * abilist/libm.abilist: Likewise.
5755 * abilist/libnsl.abilist: Likewise.
5756 * abilist/libpthread.abilist: Likewise.
5757 * abilist/libresolv.abilist: Likewise.
5758 * abilist/librt.abilist: Likewise.
5759 * abilist/libthread_db.abilist: Likewise.
5760 * abilist/libutil.abilist: Likewise.
5761 * abilist/libnss_db.abilist: New file.
5762
5763 * scripts/abilist.awk: Add support for indirect functions.
5764
a2693a0e
UD
5765 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5766
3f05895f
UD
5767 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5768
ecb6fb48
UD
5769 * shlib-versions: Remove entries for ports architectures.
5770
664f8cb9
UD
5771 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5772 files in ports.
5773 * elf/stackguard-macros.h: Remove support for IA-64.
5774 * elf/tst-auditmod1.c: Likewise.
5775 * sysdeps/generic/ldsodefs.h: Likewise.
5776
7ae81d88
UD
5777 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5778 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5779 configure files.
5780
bdeba135
UD
5781 [BZ #13552]
5782 * configure.in: Remove --enable-omitfp support.
5783 * FAQ.in: Adjust.
5784 * config.make.in: Likewise.
5785 * Makeconfig: Likewise.
5786 * manual/install.texi: Likewise.
5787
d75a0a62
UD
5788 In case anyone cares, the IA-64 architecture could move to ports.
5789 * sysdeps/ia64/*: Removed.
5790 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5791 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5792
dcc9756b
UD
5793 [BZ #13555]
5794 * configure.in: Remove entries for unsupported architectures.
5795
d3761ebc 5796 [BZ #13533]
9954432e
UD
5797 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5798 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5799 routines.
5800 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5801 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5802 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5803 fall back to using wcrtomb.
5804 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5805 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5806 renaming.
5807 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5808 * wcsmbs/tst-c16c32-1.c: New file.
5809
5810 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5811 local variable.
5812
c3a87236
UD
5813 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5814
28926a1b
UD
5815 * elf/tst-unique3.cc: Add explicit declaration of gets.
5816 * elf/tst-unique3lib.cc: Likewise.
5817 * elf/tst-unique3lib2.cc: Likewise.
5818 * elf/tst-unique4.cc: Likewise.
5819
df78418a
UD
5820 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5821
8ecd6b2a
JM
58222012-01-06 Joseph Myers <joseph@codesourcery.com>
5823
5824 [BZ #13566]
5825 * assert/assert.h (static_assert): Don't define for C++.
5826 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5827 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5828
9f115170
UD
58292012-01-03 Ulrich Drepper <drepper@gmail.com>
5830
5e0d0300
UD
5831 * iconv/loop.c (single loop): Fix assertion in storing of
5832 remaining bytes.
5833
9f115170
UD
5834 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5835
81fb02b0
UD
58362012-01-01 Ulrich Drepper <drepper@gmail.com>
5837
5838 * posix/getconf.c: Update copyright year.
5839 * nss/getent.c: Likewise.
a316c1f6 5840 * nss/makedb.c: Likewise.
81fb02b0
UD
5841 * iconv/iconvconfig.c: Likewise.
5842 * iconv/iconv_prog.c: Likewise.
5843 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5844 * elf/pldd.c: Likewise.
5845 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5846 * catgets/gencat.c: Likewise.
5847 * csu/version.c: Likewise.
5848 * elf/ldd.bash.in: Likewise.
5849 * elf/sprof.c (print_version): Likewise.
5850 * locale/programs/locale.c: Likewise.
5851 * locale/programs/localedef.c: Likewise.
a316c1f6 5852 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5853 * nscd/nscd.c (print_version): Likewise.
5854 * debug/xtrace.sh: Likewise.
5855 * malloc/memusage.sh: Likewise.
5856 * malloc/mtrace.pl: Likewise.
5857 * debug/catchsegv.sh: Likewise.
5858
2ba92745
JJ
58592011-12-30 Jakub Jelinek <jakub@redhat.com>
5860
5861 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5862 pure attribute.
5863
dadebdae
UD
58642011-12-24 Ulrich Drepper <drepper@gmail.com>
5865
d3761ebc 5866 [BZ #13533]
db6af3eb
UD
5867 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5868 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5869 transformations.
5870 * iconv/gconv_int.h: Likewise.
5871 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5872 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5873 from libc for GLIBC_2.16.
5874 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5875 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5876 * wcsmbs/uchar.h: Really define mbstate_t.
5877 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5878 * wcsmbs/c16rtomb.c: New file.
5879 * wcsmbs/mbrtoc16.c: New file.
5880 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5881 for C/POSIX locale.
5882 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5883 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5884
dadebdae
UD
5885 * wcsmbs/wchar.h: Add missing __restrict.
5886
67371b56
UD
58872011-12-23 Ulrich Drepper <drepper@gmail.com>
5888
74033a25
UD
5889 [BZ #13532]
5890 * time/Makefile (routines): Add timespec_get.
5891 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5892 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5893 timespec for ISO C11.
5894 * time/timespec_get.c: New file.
5895 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5896 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5897
380d7e87
UD
5898 [BZ #13531]
5899 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5900 * stdlib/stdlib.h: Declare aligned_alloc.
5901 * Versions.def: Add GLIBC_2.16 for libc.
5902 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5903
4e9e7a35
UD
5904 [BZ 13527]
5905 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5906 ISO C11.
5907
380d7e87 5908 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5909 code.
5910
03a71829
UD
5911 [BZ #13528]
5912 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5913
839e283e
UD
5914 [BZ #13529]
5915 * assert/assert.h (static_assert): Define.
5916
ce5294e2 5917 * version.h: Update for 2.16 development version.
90fa7312 5918
8d44e150 5919 [BZ #13526]
d7809905
UD
5920 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5921 _ISOC11_SOURCE.
5922
c0da14cd
UD
5923 * version.h (RELEASE): Bump for 2.15 release.
5924 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5925
530a3249
MP
5926 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5927 Patch by Marek Polacek <mpolacek@redhat.com>.
5928
67371b56
UD
5929 * bits/byteswap.h: Protect long long constants with __extension__.
5930 * sysdeps/i386/bits/byteswap.h: Likewise.
5931 * sysdeps/ia64/bits/byteswap.h: Likewise.
5932 * sysdeps/s390/bits/byteswap.h: Likewise.
5933 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5934
15db4de1
LD
59352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5936
5937 [BZ #13540]
bbe315ea
LD
5938 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5939 destination buffer.
15db4de1
LD
5940 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5941
2b2596b1
MP
59422011-12-23 Marek Polacek <polacek@redhat.com>
5943
5944 * elf/dl-addr.c (determine_info): Add inline keyword.
5945 * elf/tst-auditmod4b.c (check_avx): Likewise.
5946 * elf/tst-auditmod6b.c (check_avx): Likewise.
5947 * elf/tst-auditmod6c.c (check_avx): Likewise.
5948 * elf/tst-auditmod7b.c (check_avx): Likewise.
5949
70c6c246
UD
59502011-12-23 Ulrich Drepper <drepper@gmail.com>
5951
5952 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5953 !__SSE_MATH__.
5954
c044cf14
LD
59552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5956
15db4de1 5957 [BZ #13540]
c044cf14
LD
5958 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5959 processing for last bytes.
5960
6b13d9d9
BH
59612011-08-06 Bruno Haible <bruno@clisp.org>
5962
d455f537
BH
5963 [BZ #13061]
5964 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5965 U+0385, not to U+1FEE.
5966
6b13d9d9
BH
5967 [BZ #13062]
5968 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5969 entry for U+00A5 U+0301.
5970
db910efd
UD
59712011-12-22 Ulrich Drepper <drepper@gmail.com>
5972
27deeafc
UD
5973 [BZ #13166]
5974 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5975 buffer for the output is too small.
5976
aed9d171
UD
5977 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5978 optimization.
5979
db910efd
UD
5980 [BZ #13185]
5981 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5982 SSE flags if possible.
5983
2bd779ae
LD
59842011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5985
e7f9dac3 5986 [BZ #13540]
2bd779ae
LD
5987 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5988 processing for last bytes.
5989
154bfc16
JM
59902011-12-22 Joseph Myers <joseph@codesourcery.com>
5991
5992 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5993 (syscall-list-default-options, syscall-list-default-condition)
5994 (syscall-list-includes): Define.
5995 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5996 list of ABIs and options and #if conditions for each ABI. Do not
5997 handle common syscalls between ABIs specially.
5998 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5999 Remove.
6000 (syscall-list-variants, syscall-list-32bit-options)
6001 (syscall-list-32bit-condition, syscall-list-64bit-options)
6002 (syscall-list-64bit-condition): Define.
6003 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6004 (syscall-list-variants, syscall-list-32bit-options)
6005 (syscall-list-32bit-condition, syscall-list-64bit-options)
6006 (syscall-list-64bit-condition): Define.
6007 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6008 Remove.
6009 (syscall-list-variants, syscall-list-32bit-options)
6010 (syscall-list-32bit-condition, syscall-list-64bit-options)
6011 (syscall-list-64bit-condition): Define.
6012 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6013 Remove.
6014 (syscall-list-variants, syscall-list-32bit-options)
6015 (syscall-list-32bit-condition, syscall-list-64bit-options)
6016 (syscall-list-64bit-condition): Define.
6017
21eaf3a5
UD
60182011-12-22 Ulrich Drepper <drepper@gmail.com>
6019
16c6f992
UD
6020 * locale/iso-639.def: Add brx entry.
6021
41043168
UD
6022 [BZ #13328]
6023 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6024 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6025
21eaf3a5
UD
6026 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6027 __feraiseexcept_renamed.
6028
e3a851a2
UD
60292011-12-21 Ulrich Drepper <drepper@gmail.com>
6030
4920765e
UD
6031 [BZ #13538]
6032 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6033 EPOLLET with unsigned values.
6034 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6035 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6036
e3a851a2
UD
6037 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6038 to large cancellation.
6039 * math/s_cacoshf.c: Likewise.
6040 * math/s_cacoshl.c: Likewise.
6041
b27e24b8
RK
60422011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6043
6044 [BZ #13305]
aebefeee 6045 [BZ #12786]
b27e24b8
RK
6046 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6047 * math/s_cacoshf.c: Likewise.
6048 * math/s_cacoshl.c: Likewise.
6049
ee190f67
UD
60502011-12-21 Ulrich Drepper <drepper@gmail.com>
6051
6052 [BZ #13439]
6053 * iconv/gconv.h: Define __GCONV_SWAP.
6054 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6055 * iconvdata/utf-16.c: Likewise.
6056 * iconvdata/utf-32.c: Likewise.
6057
707f25df
AS
60582011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6059
6060 [BZ #13524]
6061 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6062 numerator after shifting it by one limb.
6063
d2daaa1e
RÁE
60642011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6065
6066 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6067 under [__USE_EXTERN_INLINES].
6068
a4647e72
UD
60692011-12-17 Ulrich Drepper <drepper@gmail.com>
6070
6071 [BZ #13446]
6072 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6073
f0b264f1
AZ
60742011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075
6076 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6077 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6078 optimized code.
6079 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6080 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6081 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6082 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6083 for strncasecmp/strncasecmp_l compilation.
6084 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6085 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6086
8ef4f244
MP
60872011-12-08 Marek Polacek <mpolacek@redhat.com>
6088
6089 [BZ #13484]
6090 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6091 of __asm__.
6092
97ac2654
UD
60932011-12-17 Ulrich Drepper <drepper@gmail.com>
6094
6095 [BZ #13506]
6096 * time/tzfile.c (__tzfile_read): Check values from file header.
6097
91d2a845
WS
60982011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6099
6100 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6101 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6102 * powerpc/powerpc32/dl-start.S: Likewise.
6103 * powerpc/powerpc32/elf/start.S: Likewise.
6104 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6105 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6106 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6107 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6108 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6109 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6110 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6111 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6112 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6113 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6114 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6115 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6116 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6117 * powerpc/powerpc32/memset.S: Likewise.
6118 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6119 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6120 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6121 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6122 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6123 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6124 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6125 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6126 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6127 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6128 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6129 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6130 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6131
a1267ba1
AZ
61322011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133
6134 * math/libm-test.inc: Added more nearbyint tests.
6135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6136 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6138 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6139
ad8ac1bd
RL
61402011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6141
6142 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6143 FD_CLOEXEC.
6144
1d3e4b61
UD
61452011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6146
6147 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6148 Add wcscpy-ssse3 wcscpy-c.
6149 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6150 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6151 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6152 * sysdeps/x86_64/wcschr.S: New file.
6153 * sysdeps/x86_64/wcsrchr.S: New file.
6154 * string/test-strcmp.c: Remove checking of wcscmp function for
6155 wrong alignments.
6156 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6157 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6158 wcsrchr-sse2 wcsrchr-c.
6159 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6160 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6161 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6162 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6163 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6164 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6165 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6166 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6167 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6168 * wcsmbc/wcschr.c (WCSCHR): New macro.
6169
5b330a2d
UD
61702011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6171
6172 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6173 * wcsmbs/test-wcsrchr.c: New file.
6174 * string/test-strrchr.c: Add wcsrchr support.
6175 (WIDE): New macro.
6176 * wcsmbs/test-wcscpy.c: New file.
6177 * string/test-strcpy.c: Add wcscpy support.
6178 (WIDE): New macro.
26428b7c 6179
f039c043
UD
61802011-12-10 Ulrich Drepper <drepper@gmail.com>
6181
6182 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6183 the inner loop.
6184
850fb039
AS
61852011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6186
6187 [BZ #13472]
6188 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6189
4efbd5cb
UD
61902011-12-04 Ulrich Drepper <drepper@gmail.com>
6191
52ff5dd0 6192 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6193 Minor optimizations.
52ff5dd0 6194
4efbd5cb
UD
6195 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6196 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6197 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6198
8a426e12
UD
61992011-12-03 Ulrich Drepper <drepper@gmail.com>
6200
aff2453d
UD
6201 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6202 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6203 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6204 for gcc to avoid warnings.
6205 * inet/Makefile (tests): Add tst-checks.
6206 * inet/tst-checks.c: New file.
6207
6208 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6209 warning.
6210
6211 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6212 __wmemcmp_sse2.
6213
6214 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6215 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6216
8a426e12
UD
6217 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6218
9bea3473
UD
62192011-12-02 Ulrich Drepper <drepper@gmail.com>
6220
3a965496
UD
6221 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6222 problem.
6223
9bea3473
UD
6224 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6225
f101631b
UD
62262011-11-29 Joseph Myers <joseph@codesourcery.com>
6227
6228 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6229 conditional on GCC version.
6230 (__arch_compare_and_exchange_val_8_acq)
6231 (__arch_compare_and_exchange_val_16_acq)
6232 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6233 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6234 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6235
a98275aa
UD
62362011-12-02 Joseph Myers <joseph@codesourcery.com>
6237
6238 * sysdeps/sh/backtrace.c: New file.
6239
d4cc29a2
AS
62402011-12-02 Andreas Schwab <schwab@redhat.com>
6241
6242 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6243 parenthesis.
6244
6257af2d
AS
62452011-12-01 Andreas Schwab <schwab@redhat.com>
6246
6247 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6248 falling back to utime.
6249
b5f44c1a
AS
62502011-11-30 Andreas Schwab <schwab@redhat.com>
6251
6252 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6253 expectations for float.
6254
f3a6cc0a
AS
62552011-11-29 Andreas Schwab <schwab@redhat.com>
6256
6257 * locale/weight.h (findidx): Add parameter len.
6258 * locale/weightwc.h (findidx): Likewise.
6259 * posix/fnmatch_loop.c (FCT): Adjust caller.
6260 * posix/regcomp.c (build_equiv_class): Likewise.
6261 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6262 * posix/regexec.c (check_node_accept_bytes): Likewise.
6263 * string/strcoll_l.c (STRCOLL): Likewise.
6264 * string/strxfrm_l.c (STRXFRM): Likewise.
6265
9d65ea3a
UD
62662011-11-17 Ulrich Drepper <drepper@gmail.com>
6267
6268 * Makefile.in: Remove CVSOPT handling.
6269 * configure.in: Remove use of AC_REVISION.
6270 * iconvdata/Makefile (distribute): No need to filter out CVS.
6271 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6272 handling.
6273
5583a086
AS
62742011-11-16 Andreas Schwab <schwab@redhat.com>
6275
6276 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6277 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6278 [USE_AS_STRNCASECMP_L]: Likewise.
6279 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6280 NO_TLS_DIRECT_SEG_REFS.
6281 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6282 Fix argument offsets for non-PIC.
6283 [USE_AS_STRNCASECMP_L]: Likewise.
6284 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6285 NO_TLS_DIRECT_SEG_REFS.
6286
d62a8200
UD
62872011-11-15 Ulrich Drepper <drepper@gmail.com>
6288
9d65ea3a 6289 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6290 O_CLOEXEC.
6291 * locale/loadlocale.c (_nl_load_locale): Likewise.
6292
09f93bd3
AS
62932011-11-15 Andreas Schwab <schwab@redhat.com>
6294
446514f9
AS
6295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6296 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6297 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6298 (SYSCALL_GETTIME): Set errno on error.
6299
09f93bd3
AS
6300 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6301 count references to noai6ai_cached.
6302
312be3f9
UD
63032011-11-15 Ulrich Drepper <drepper@gmail.com>
6304
6305 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6306
6307 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6308 FD_CLOEXEC for /proc/self/maps.
6309
6310 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6311 FD_CLOEXEC for /proc/meminfo.
6312
6313 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6314 gai.conf.
6315
6316 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6317 FD_CLOEXEC for given file.
6318
6319 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6320
6321 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6322 FD_CLOEXEC for /etc/hosts.
6323 (_gethtent): Likewise.
6324
6325 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6326
6327 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6328 cancellation and set FD_CLOEXEC for /etc/netgroup.
6329
6330 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6331 reading /etc/publickey.
6332
6333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6334 allow cancellation when reading /etc/group.
6335
6336 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6337 cancellation.
6338 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6339
6340 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6341 when using data file.
6342
6343 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6344
6345 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6346 (write_nis_obj): Use "c" and "e" in fopen.
6347
6348 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6349
6350 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6351
6352 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6353
6354 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6355
6356 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6357 locale.alias.
6358
6359 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6360
6361 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6362
6363 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6364
6365 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6366 file parsing and set FD_CLOEXEC.
6367
82af0fa8
UD
63682011-11-14 Ulrich Drepper <drepper@gmail.com>
6369
6370 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6371
a5fb313c
AS
63722011-11-14 Andreas Schwab <schwab@redhat.com>
6373
6374 * malloc/arena.c (arena_get2): Don't call reused_arena when
6375 _int_new_arena failed.
6376
6abf3465
UD
63772011-11-14 Ulrich Drepper <drepper@gmail.com>
6378
6379 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6380 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6381 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6382 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6383 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6384 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6385 to compile strcasecmp and strncasecmp.
6386 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6387 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6388
6389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6390
76e3966e
UD
63912011-11-13 Ulrich Drepper <drepper@gmail.com>
6392
6393 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6394 locale-defines.sym to gen-as-const-headers.
6395 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6396 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6397 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6398 to compile strcasecmp and strncasecmp.
6399 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6400 strcasecmp_l and strncasecmp_l.
6401 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6402 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6403 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6404 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6405 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6406 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6407 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6408 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6409 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6410 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6411 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6412
ab26144e
UD
64132011-11-12 Ulrich Drepper <drepper@gmail.com>
6414
7edb22ef
UD
6415 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6416 result of SYSDEP_GETTIME_CPU to retval.
6417 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6418 parameter list to macro. Remove trailing semicolon. Adjust users.
6419
9694fc44
UD
6420 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6421 variable.
6422
8ad89ef8
UD
6423 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6424 mantissa words.
6425 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6426
0c822ef9
UD
6427 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6428 from unused variable.
6429
874e0564
UD
6430 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6431 DWARF definitions.
6432 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6433 for assembling.
6434
3a2edc79
UD
6435 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6436 over namespaces.
6437
f3c2577f
UD
6438 * sunrpc/rpc_prot.c (rejected): Fix case value.
6439
294ce126
UD
6440 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6441 unsigned long long int to avoid warnings in shift.
6442
5e2b63c6
UD
6443 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6444 of use of trans.
6445 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6446 variable tmp.
6447
e7f4b08e
UD
6448 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6449 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6450 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6451
ab26144e
UD
6452 * nis/nis_table.c (nis_list): Use variable of correct type for
6453 result of __follow_path call.
6454
8a6d5255
AZ
64552011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6456
6457 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6458 of math functions ceil, trunc, floor, round, and sqrt, when
6459 avaliable on the platform.
6460 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6461 name clash.
6462 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6463 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6464 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6465
aaddc98c
MP
64662011-10-30 Marek Polacek <mpolacek@redhat.com>
6467
6468 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6469 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6470
95b7042b
RM
64712011-11-11 Roland McGrath <roland@hack.frob.com>
6472
6473 * include/unistd.h: Fix __readlink return type.
6474 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6475
57769839
UD
64762011-11-11 Ulrich Drepper <drepper@gmail.com>
6477
6478 * stdlib/ucontext.h: Undo last change for makecontext.
6479
edc5984d
AS
64802011-11-11 Andreas Schwab <schwab@redhat.com>
6481
98591e58
AS
6482 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6483
edc5984d
AS
6484 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6485 * setjmp/setjmp.h: Mark functions as non-leaf.
6486 * setjmp/bits/setjmp2.h: Likewise.
6487 * stdlib/ucontext.h: Likewise.
6488
77cdc054
AS
64892011-11-10 Andreas Schwab <schwab@redhat.com>
6490
6491 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6492 (reused_arena): Don't check arena limit.
6493 (arena_get2): Atomically check arena limit.
6494
fe72eebd
UD
64952011-11-08 Ulrich Drepper <drepper@gmail.com>
6496
5f078c32
UD
6497 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6498 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6499
fe72eebd
UD
6500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6501 instructions.
6502
ae1bc2fa
AS
65032011-11-07 Andreas Schwab <schwab@redhat.com>
6504
7583a88d
AS
6505 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6506 handler when locking.
6507
ae1bc2fa
AS
6508 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6509 Fix size of allocated buffer.
6510
10fb0bfa
AS
65112011-11-04 Andreas Schwab <schwab@redhat.com>
6512
998832a4
AS
6513 [BZ #10103]
6514 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6515 declarations for long double functions.
6516 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6517
10fb0bfa
AS
6518 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6519
3d7ba52b
AS
65202011-11-03 Andreas Schwab <schwab@redhat.com>
6521
a9ae54a1
AS
6522 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6523 installed.
6524
3d7ba52b
AS
6525 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6526 is disabled.
6527
bc8db248
ST
65282011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6529
6530 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6531
45b96dd6
AS
65322011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6533
647776f6
AS
6534 * include/alloca.h (stackinfo_alloca_round): Define.
6535 (extend_alloca): Use it.
6536 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6537 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6538 here.
6539
d91a8b93
AS
6540 * scripts/check-local-headers.sh: Ignore libaudit.h.
6541
45b96dd6
AS
6542 * nscd/Makefile (extra-objs): Make recursively expanded.
6543
432d41ce
UD
65442011-11-01 Ulrich Drepper <drepper@gmail.com>
6545
34372fc6
UD
6546 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6547 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6548
fadb59f8
UD
6549 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6550 * posix/tst-rfc3484-2.c: Likewise.
6551 * posix/tst-rfc3484-3.c: Likewise.
6552
78239589
UD
6553 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6554 process_vm_writev.
6555 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6556 process_vm_writev.
6557 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6558 process_vm_writev from libc using GLIBC_2.15 version.
6559
432d41ce
UD
6560 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6561
02f9c6cf
PP
65622011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6563
6564 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6565 stack usage.
6566
3a2c0242
UD
65672011-10-31 Ulrich Drepper <drepper@gmail.com>
6568
f4ec4833
UD
6569 [BZ #13367]
6570 * nss/getent.c (initgroups_keys): Show error message in case no group
6571 names are given.
6572
3a2c0242
UD
6573 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6574 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6575 __bump_nl_timestamp.
6576 * nscd/connections (nscd_init): When host database is served open
6577 netlink socket and request notification about configuration changes.
6578 (main_loop_poll): Track netlink file descriptor and bump timestamp
6579 in case data becomes available.
6580 (main_loop_epoll): Likewise.
6581 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6582 (database_pers_head): Add extra_data fileds.
6583 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6584 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6585 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6586 Adjust caller.
6587 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6588 in6ai data, call __free_in6ai.
6589 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6590 Add -DHAVE_NETLINK.
6591 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6592 interface information. Reuse previous data if netlink timestamp
6593 is not changed.
6594 (__bump_nl_timestamp): New function.
6595 (__free_in6ai): New function.
6596
636064eb
UD
65972011-10-30 Ulrich Drepper <drepper@gmail.com>
6598
6599 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6600 close_not_cancel_no_status here.
6601 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6602
9beb2334
UD
66032011-10-29 Ulrich Drepper <drepper@gmail.com>
6604
6ef76f3b
UD
6605 [BZ #13276]
6606 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6607 return value.
6608
0ffc4f3e 6609 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6610 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6611 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6612
cb95113e
UD
66132011-07-03 Andreas Jaeger <aj@suse.de>
6614
6615 [BZ #10709]
6616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6617 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6618 * math/libm-test.inc (sin_test): Add test case.
6619
a1b560ff
UD
66202011-10-29 Ulrich Drepper <drepper@gmail.com>
6621
c9aaface
UD
6622 [BZ #13337]
6623 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6624 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6625
d272e7f1
UD
6626 * elf/chroot_canon.c (chroot_canon): Cleanups.
6627
1bc33071
UD
6628 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6629
1760874d
TJ
6630 [BZ #13335]
6631 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6632 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6633
51d91b18
UD
6634 * string/test-strchr.c: Make usable for strchrnul testing.
6635 * string/test-strchrnul.c: New file.
6636 * string/Makefile (strop-tests): Add strchrnul.
6637
a1b560ff 6638 * po/it.po: Update from translation team.
b611fb81 6639 * po/es.po: Likewise.
a1b560ff 6640
a5b81e1f
UD
66412011-10-28 Ulrich Drepper <drepper@gmail.com>
6642
fd52bc6d
UD
6643 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6644 the three constants needed as parameters. Drop the others.
6645 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6646 __m128i_strloadu_tolower.
52e4b9eb
UD
6647 Create and initialize variable zero and use it in all the places
6648 where _mm_setzero_si128 was used.
fd52bc6d 6649
a5b81e1f
UD
6650 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6651 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6652 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6653 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6654 anymore.
6655 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6656 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6657 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6658 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6659 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6660 __mpranred, __mptan.
6661 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6662 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6663 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6664 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6665 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6666 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6668 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6669 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6670
b4343346
AS
66712011-10-28 Andreas Schwab <schwab@redhat.com>
6672
0c92d8a8
AS
6673 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6674 redefine if SHARED.
6675 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6676
b4343346
AS
6677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6678 wide char related routines to wcsmbs subdir.
6679
3871f58f
AS
66802011-10-27 Andreas Schwab <schwab@redhat.com>
6681
6682 [BZ #13344]
6683 * misc/sys/cdefs.h (__THROWNL): Define.
6684 * posix/unistd.h: Use __THREADNL instead of __THREAD
6685 for memory synchronization functions.
6686
94d44d9f
RM
66872011-10-26 Roland McGrath <roland@hack.frob.com>
6688
21b64b15 6689 [BZ #13349]
94d44d9f
RM
6690 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6691 doesn't exist.
6692 * manual/stdio.texi (Obstack Streams): Node removed.
6693
f6ce9294
AS
66942011-10-26 Andreas Schwab <schwab@redhat.com>
6695
80479147
AS
6696 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6697 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6698 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6699
f6ce9294
AS
6700 * math/math_private.h (math_force_eval): Allow non-addressable
6701 arguments.
6702 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6703
618280a1
UD
67042011-10-25 Ulrich Drepper <drepper@gmail.com>
6705
e0016b11
UD
6706 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6707 file is not needed.
6708
6709 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6711 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6712 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6713 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6716 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6717 Add AVX variants.
6718 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6719 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6720 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6721 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6722 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6723 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6724 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6725 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6726 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6727 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6728 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6729 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6730 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6731 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6732 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6733 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6734 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6735 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6736 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6737
6738 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6739 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6740
618280a1
UD
6741 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6742 place. Use VEX encoding when compiling for AVX.
6743
37822576
AS
67442011-10-25 Andreas Schwab <schwab@redhat.com>
6745
1f1e1947
AS
6746 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6747 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6748
37822576
AS
6749 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6750
31ea014d
UD
67512011-10-25 Ulrich Drepper <drepper@gmail.com>
6752
d7826aa1 6753 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6754 useless if() expression.
d7826aa1
UD
6755 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6760 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6761 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6762 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6763 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6764 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6765 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6766 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6767 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6768 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6769 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6770 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6773 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6774
31ea014d
UD
6775 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6776
16437fec
AS
67772011-10-25 Andreas Schwab <schwab@redhat.com>
6778
6779 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6780 condition.
6781 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6782
31d3cc00
UD
67832011-10-25 Ulrich Drepper <drepper@gmail.com>
6784
6785 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6786 .text section. Avoid duplicate constants.
6787 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6797 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6799 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6802 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6804 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6810 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6811 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6812 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6813 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6814 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6815 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6816 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6817 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6818 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6819 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6820 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6821 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6822 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6823 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6825 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6826 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6827 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6828 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6829 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6830 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6831 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6832
58985aa9
UD
68332011-10-24 Ulrich Drepper <drepper@gmail.com>
6834
202c9deb
UD
6835 * sysdeps/x86_64/dla.h: Move to ...
6836 * sysdeps/x86_64/fpu/dla.h: ...here.
6837 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6838 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6839
af968f62
UD
6840 * config.make.in: Add have-mfma4 entry.
6841 * configure.in: Substitute libc_cv_cc_fma4.
6842 * math/Makefile (dbl-only-routines): Add sincostab.
6843 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6844 Use __sincostab not sincos.
6845 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6846 name is a macro.
6847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6851 using __copysign.
6852 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6853 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6854 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6855 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6856 and __inv.
6857 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6858 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6859 __copysign.
6860 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6861 define aliases when function name is a macro.
6862 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6863 sysdeps/ieee754/dbl-64/sincos.tbl.
6864 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6865 fma4-enabled routines.
6866 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6867 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6868 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6869 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6871 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6873 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6874 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6875 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6876 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6877 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6878 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6879 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6880 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6881 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6882 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6883 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6884 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6885 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6886 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6887 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6890 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6891 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6892 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6893 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6894 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6895 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6896
58985aa9
UD
6897 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6898 rename.
6899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6907
a201fbcf
AS
69082011-10-24 Andreas Schwab <schwab@redhat.com>
6909
6910 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6911
fc2ee42a
LD
69122011-10-23 Ulrich Drepper <drepper@gmail.com>
6913
bb3129bd
UD
6914 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6915
0275fff8
UD
6916 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6917 prediction.
6918 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6919
2fa2ae85
UD
6920 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6921 Remove unused variable magic_bits.
6922 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6923
fc2ee42a
LD
6924 * string/strnlen.c: Define and use STRNLEN macro.
6925 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6926 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6928 * wcsmbs/wcslen.c: Define and use WCSLEN.
6929 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6930 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6931 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6932 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6933 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6934 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6935 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6936
ce7dd29f
LD
69372011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6938
6939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6940 strnlen-sse2-no-bsf.
6941 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6942 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6943 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6944 Add strnlen support.
6945 (USE_AS_STRNLEN): New macro.
6946 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6947 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6948 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6949 * sysdeps/x86_64/wcslen.S: New file.
6950
979c70a3
MZ
69512011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6952
6953 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6954 XMM-moves are used for copying on small sizes.
6955
2d09f82f
LD
69562011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6957
6958 * wcsmbs/Makefile (strop-tests): Add wcschr.
6959 * wcsmbs/test-wcschr.c: New file.
6960 * string/test-strchr.c: Update.
6961 Add wcschr support.
6962 (WIDE): New macro.
6963
619fccca
LD
69642011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6965
2d09f82f 6966 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6967 * wcsmbs/test-wcslen.c: New file.
6968 * string/test-strlen.c: Update.
6969 Add wcslen support.
6970 (WIDE): New macro.
6971
09f699ea
UD
69722011-10-23 Ulrich Drepper <drepper@gmail.com>
6973
6974 * po/it.po: Update from translation team.
6975
95584d3b
LD
69762011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6977
6978 * sysdeps/x86_64/wcscmp.S: Update.
6979 Fix wrong comparison semantics.
6980 wcscmp shall use signed comparison not unsigned.
6981 Don't use substraction to avoid overflow bug.
6982 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6983 * wcsmbc/wcscmp.c: Likewise.
6984 * string/test-strcmp.c: Likewise.
6985 Add new tests to check cases with negative values.
6986
c8b3296b
UD
69872011-10-23 Ulrich Drepper <drepper@gmail.com>
6988
6989 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6990 * sysdeps/x86_64/dla.h: ...here. New file.
6991 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7000
246ad57a
AS
70012011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7002
7003 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7004 __ynl_finite aliases.
7005
a1a87169
UD
70062011-10-22 Ulrich Drepper <drepper@gmail.com>
7007
0d355eb7
UD
7008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7009
a1a87169
UD
7010 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7011 define DLA_FMA.
7012 [DLA_FMA] (EMULV): Use DLA_FMA.
7013 [DLA_FMA] (MUL12): Use EMULV.
7014 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7015 that are not needed.
7016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7023
ee2aafe0
AS
70242011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7025
7026 * math/s_nan.c: Undef __nan.
7027 * math/s_nanf.c: Undef __nanf.
7028 * math/s_nanl.c: Undef __nanl.
7029 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7030 "math_private.h".
7031
bc62c2fb
UD
70322011-10-22 Ulrich Drepper <drepper@gmail.com>
7033
77425c63
UD
7034 * math/s_catan.c: Add branch predictions.
7035 * math/s_catanf.c: Likewise.
7036 * math/s_catanh.c: Likewise.
7037 * math/s_catanhf.c: Likewise.
7038 * math/s_catanhl.c: Likewise.
7039 * math/s_catanl.c: Likewise.
7040 * math/s_cexp.c: Likewise.
7041 * math/s_cexpf.c: Likewise.
7042 * math/s_cexpl.c: Likewise.
7043 * math/s_clog.c: Likewise.
7044 * math/s_clog10.c: Likewise.
7045 * math/s_clog10f.c: Likewise.
7046 * math/s_clog10l.c: Likewise.
7047 * math/s_clogf.c: Likewise.
7048 * math/s_clogl.c: Likewise.
7049 * math/s_csqrt.c: Likewise.
7050 * math/s_csqrtf.c: Likewise.
7051 * math/s_csqrtl.c: Likewise.
7052 * math/s_ctanf.c: Likewise.
7053 * math/s_ctanh.c: Likewise.
7054 * math/s_ctanhf.c: Likewise.
7055 * math/s_ctanhl.c: Likewise.
7056 * math/s_ctanl.c: Likewise.
7057
bc62c2fb
UD
7058 * math/math_private.h: Define __nan, __nanf, __nanl.
7059 * math/s_cacosh.c: Include <math_private.h>.
7060 * math/s_cacoshl.c: Likewise.
7061 * math/s_casinh.c: Likewise.
7062 * math/s_casinhf.c: Likewise.
7063 * math/s_casinhl.c: Likewise.
7064 * math/s_ccos.c: Rely entire on ccosh.
7065 * math/s_ccosf.c: Rely entire on ccoshf.
7066 * math/s_ccosl.c: Rely entirely on ccoshl.
7067 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7068 Remove tests for FE_INVALID.
7069 * math/s_ccoshf.c: Likewise.
7070 * math/s_ccoshl.c: Likewise.
7071 * math/s_csin.c: Likewise.
7072 * math/s_csinf.c: Likewise.
7073 * math/s_csinh.c Likewise.
7074 * math/s_csinhf.c: Likewise.
7075 * math/s_csinhl.c: Likewise.
7076 * math/s_csinl.c: Likewise.
7077 * math/s_ctan.c: Likewise.
7078 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7079 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7080 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7081
8ec250a4
UD
70822011-10-21 Ulrich Drepper <drepper@gmail.com>
7083
c196fed8
UD
7084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7085 compilation problems.
7086
8ec250a4
UD
7087 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7088 __builtin_expect.
7089
8d4f46c6
UD
70902011-10-20 Ulrich Drepper <drepper@gmail.com>
7091
ed72b654
UD
7092 * sysdeps/i386/configure.in: Test for -mfma4 option.
7093 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7094 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7095 COMMON_CPUID_INDEX_80000001.
7096 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7097 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7098 use it if FMA3 is not supported.
7099 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7100
8d4f46c6
UD
7101 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7102 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7103
d45c60c2
AS
71042011-10-20 Andreas Schwab <schwab@redhat.com>
7105
7106 [BZ #12892]
7107 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7108 it would create a cycle with a link time dependency.
7109
d9a4d2ab
UD
71102011-10-19 Ulrich Drepper <drepper@gmail.com>
7111
855d1560
UD
7112 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7113 instruction.
7114 * string/Makefile (strop-tests): Add rawmemchr.
7115 * string/test-rawmemchr.c: New file.
7116
d9a4d2ab
UD
7117 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7118 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7119 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7120 when compiling str{,n}casecmp and when AVX is available. Hook up
7121 new optimized code in initializers.
7122
8f3b1ffe
AS
71232011-10-19 Andreas Schwab <schwab@redhat.com>
7124
7125 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7126 __feraiseexcept instead of feraiseexcept.
7127
d38f1dba
UD
71282011-10-18 Ulrich Drepper <drepper@gmail.com>
7129
d9a8d0ab
UD
7130 * math/math_private.h: Define defaults for libc_fetestexcept and
7131 libc_feupdateenv.
7132 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7133 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7134 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7135 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7136 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7137 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7138 libc_fetestexcept and libc_feupdateenv.
7139
4855e3dd
UD
7140 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7141 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7142 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7143 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7144 libc_feholdexcept_setround.
7145
581d30e3
UD
7146 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7147 Add s_nearbyint-c and s_nearbyintf-c.
7148 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7149 nearbyintf inlines.
7150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7151 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7152 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7153 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7154
d38f1dba
UD
7155 * math/math_private.h: Define defaults for libc_fegetround,
7156 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7157 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7158 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7159 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7160 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7161 standard functions.
7162 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7163 Remove comments and hacks for old compiler versions.
7164 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7165 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7166 libc_feholdexceptl.
7167
caa6c9d8
AS
71682011-10-18 Andreas Schwab <schwab@redhat.com>
7169
7170 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7171 (__feraiseexcept_renamed): Add __NTH.
7172 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7173 namespace violations.
7174
97c066e6
UD
71752011-10-17 Ulrich Drepper <drepper@gmail.com>
7176
99ce7b04
UD
7177 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7178
1004d182
UD
7179 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7180
228a984d
UD
7181 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7182 recently added interfaces.
7183 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7184
c8553a6a
UD
7185 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7186 about macro parameter expansion.
7187
ed22dcf6
UD
7188 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7189 __NO_MATH_INLINES is defined. Cleanups.
7190
7191 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7192 and __floorf is target has SSE4.1.
7193 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7194 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7195 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7196 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7197
b171c137
UD
7198 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7199 name.
7200 (floorf): Likewise.
7201
97c066e6
UD
7202 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7203
629f62ef
AS
72042011-10-17 Andreas Schwab <schwab@redhat.com>
7205
49a43d80
AS
7206 * misc/sys/cdefs.h: Fix last change.
7207
629f62ef
AS
7208 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7209 database lookup.
7210
e453f6cd
UD
72112011-10-16 Ulrich Drepper <drepper@gmail.com>
7212
aa78043a
UD
7213 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7214
ad0f5cad
UD
7215 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7221 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7223 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7224 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7225 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7226 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7227 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7228 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7229 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7230 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7231 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7232 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7233 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7234 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7235 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7236 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7237
7238 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7239 ceil, ceilf, floor, floorf.
7240
7241 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7242 Perform IRELATIVE relocations last.
7243
e453f6cd
UD
7244 * elf/do-rel.h: Add another parameter nrelative, replacing the
7245 local variable with the same name. Change name of the function
7246 to end in Rel or Rela (uppercase).
7247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7248 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7249 elf_dynamic_do_##reloc function.
7250
fd5bdc09
UD
72512011-10-15 Ulrich Drepper <drepper@gmail.com>
7252
79b195b5
UD
7253 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7254 is sufficient, at least on modern CPUs.
7255
d4a28569
UD
7256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7257
b61099b5
UD
7258 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7259 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7260
bcf01e6d
UD
7261 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7262 __expl_finite.
7263 * math/bits/math-finite.h: Add entries for exp.
7264 * math/e_expl.c: Add __*_finite alias.
7265 * sysdeps/i386/fpu/e_exp.S: Likewise.
7266 * sysdeps/i386/fpu/e_expf.S: Likewise.
7267 * sysdeps/i386/fpu/e_expl.c: Likewise.
7268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7269 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7272 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7273 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7274 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7275
ba1a0d59
UD
7276 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7277 is sufficient, at least on modern CPUs.
7278
fd5bdc09
UD
7279 * ctype/ctype-info.c (__ctype_init): Define.
7280 * include/ctype.h (__ctype_init): Declare.
7281 (__ctype_b_loc): The variable is always initialized.
7282 (__ctype_toupper_loc): Likewise.
7283 (__ctype_tolower_loc): Likewise.
7284 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7285 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7286
7872cfb0
AS
72872011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7288
b468825a
AS
7289 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7290
7872cfb0
AS
7291 * configure.in: Also look in $cxxmachine/include for C++ system
7292 headers.
7293
be13f7bf
LD
72942011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7295
7296 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7297 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7298 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7299 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7300 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7301 (USE_AS_WMEMCMP): New macro.
7302 Fixing indents.
7303 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7304 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7305 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7306 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7308 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7309 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7310 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7311 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7312 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7313 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7314 (USE_AS_WMEMCMP): New macro.
7315 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7316 * sysdeps/string/test-memcmp.c: Update.
7317 Fix simple_wmemcmp.
7318 Add new tests.
7319 * wcsmbs/wmemcmp.c: Update.
7320 (WMEMCMP): New macro.
7321 Fix overflow bug.
7322
556a2007
AJ
73232011-10-12 Andreas Jaeger <aj@suse.de>
7324
7325 [BZ #13268]
7326 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7327
538faaa7
UD
73282011-10-15 Ulrich Drepper <drepper@gmail.com>
7329
ab6737ff
UD
7330 * libio/iofwide.c (do_length): Avoid warning.
7331
538faaa7
UD
7332 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7333
396a21b1
UD
73342011-10-14 Ulrich Drepper <drepper@gmail.com>
7335
cdf2901f
UD
7336 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7337
38ad40ce
UD
7338 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7339 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7340 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7341 * sysdeps/i386/i686/fpu/e_log.S: New file.
7342 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7343 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7344
396a21b1
UD
7345 * ctype/ctype.h: Add support for inlined isXXX functions when
7346 compiling C++ code.
7347
6b1f68c9
AS
73482011-10-14 Andreas Schwab <schwab@redhat.com>
7349
349290c0
AS
7350 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7351
6b1f68c9
AS
7352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7353
f2282d42
RM
73542011-10-13 Roland McGrath <roland@hack.frob.com>
7355
7356 [BZ #13291]
7357 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7358
5298ffa8
AS
73592011-10-13 Andreas Schwab <schwab@redhat.com>
7360
714fad23
AS
7361 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7362 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7363 feraiseexcept.
7364
81dcc7fb
AS
7365 * sysdeps/x86_64/memrchr.S: Check for zero size.
7366
5298ffa8
AS
7367 * string/stratcliff.c: Add memrchr tests.
7368
951fbcec
LD
73692011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7370
7371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7372 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7373 rawmemchr-sse2 rawmemchr-sse2-bsf.
7374 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7375 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7376 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7377 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7378 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7379 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7380 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7381 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7382 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7383 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7384 * string/memrchr.c (MEMRCHR): New macro.
7385
0ac5ae23
UD
73862011-10-12 Ulrich Drepper <drepper@gmail.com>
7387
7388 Add integration with gcc's -ffinite-math-only and optimize wrapper
7389 functions in libm.
7390 * Versions.def: Define GLIBC_2.15 version for libm.
7391 * math/Makefile (headers): Add bits/math-finite.h.
7392 * math/bits/math-finite.h: New file.
7393 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7394 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7395 * math/e_acoshl.c: Add __*_finite alias.
7396 * math/e_acosl.c: Likewise.
7397 * math/e_asinl.c: Likewise.
7398 * math/e_atan2l.c: Likewise.
7399 * math/e_atanhl.c: Likewise.
7400 * math/e_coshl.c: Likewise.
7401 * math/e_exp10.c: Likewise.
7402 * math/e_exp10f.c: Likewise.
7403 * math/e_exp10l.c: Likewise.
7404 * math/e_exp2l.c: Likewise.
7405 * math/e_fmodl.c: Likewise.
7406 * math/e_gammal_r.c: Likewise.
7407 * math/e_hypotl.c: Likewise.
7408 * math/e_j0l.c: Likewise.
7409 * math/e_j1l.c: Likewise.
7410 * math/e_jnl.c: Likewise.
7411 * math/e_lgammal_r.c: Likewise.
7412 * math/e_log10l.c: Likewise.
7413 * math/e_log2l.c: Likewise.
7414 * math/e_logl.c: Likewise.
7415 * math/e_powl.c: Likewise.
7416 * math/e_sinhl.c: Likewise.
7417 * math/e_sqrtl.c: Likewise.
7418 * math/e_scalb.c: Completely rewritten and optimized.
7419 * math/e_scalbf.c: Likewise.
7420 * math/e_scalbl.c: Likewise.
7421 * math/w_acos.c: Likewise.
7422 * math/w_acosf.c: Likewise.
7423 * math/w_acosl.c: Likewise.
7424 * math/w_acosh.c: Likewise.
7425 * math/w_acoshf.c: Likewise.
7426 * math/w_acoshl.c: Likewise.
7427 * math/w_asin.c: Likewise.
7428 * math/w_asinf.c: Likewise.
7429 * math/w_asinl.c: Likewise.
7430 * math/w_atan2.c: Likewise.
7431 * math/w_atan2f.c: Likewise.
7432 * math/w_atan2l.c: Likewise.
7433 * math/w_atanh.c: Likewise.
7434 * math/w_atanhf.c: Likewise.
7435 * math/w_atanhl.c: Likewise.
7436 * math/w_exp10.c: Likewise.
7437 * math/w_exp10f.c: Likewise.
7438 * math/w_exp10l.c: Likewise.
7439 * math/w_fmod.c: Likewise.
7440 * math/w_fmodf.c: Likewise.
7441 * math/w_fmodl.c: Likewise.
7442 * math/w_j0.c: Likewise.
7443 * math/w_j0f.c: Likewise.
7444 * math/w_j0l.c: Likewise.
7445 * math/w_j1.c: Likewise.
7446 * math/w_j1f.c: Likewise.
7447 * math/w_j1l.c: Likewise.
7448 * math/w_jn.c: Likewise.
7449 * math/w_jnf.c: Likewise.
7450 * math/w_log.c: Likewise.
7451 * math/w_logf.c: Likewise.
7452 * math/w_logl.c: Likewise.
7453 * math/w_log10.c: Likewise.
7454 * math/w_log10f.c: Likewise.
7455 * math/w_log10l.c: Likewise.
7456 * math/w_log2.c: Likewise.
7457 * math/w_log2f.c: Likewise.
7458 * math/w_log2l.c: Likewise.
7459 * math/w_pow.c: Likewise.
7460 * math/w_powf.c: Likewise.
7461 * math/w_powl.c: Likewise.
7462 * math/w_remainder.c: Likewise.
7463 * math/w_remainderf.c: Likewise.
7464 * math/w_remainderl.c: Likewise.
7465 * math/w_scalb.c: Likewise.
7466 * math/w_scalbf.c: Likewise.
7467 * math/w_scalbl.c: Likewise.
7468 * math/w_sqrt.c: Likewise.
7469 * math/w_sqrtf.c: Likewise.
7470 * math/w_sqrtl.c: Likewise.
7471 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7472 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7473 used.
7474 * math/math_private.h: Declare __kernel_standard_f.
7475 * math/w_cosh.c: Remove cruft and optimize a bit.
7476 * math/w_coshf.c: Likewise.
7477 * math/w_coshl.c: Likewise.
7478 * math/w_exp2.c: Likewise.
7479 * math/w_exp2f.c: Likewise.
7480 * math/w_exp2l.c: Likewise.
7481 * math/w_hypot.c: Likewise.
7482 * math/w_hypotf.c: Likewise.
7483 * math/w_hypotl.c: Likewise.
7484 * math/w_lgamma.c: Likewise.
7485 * math/w_lgamma_r.c: Likewise.
7486 * math/w_lgammaf.c: Likewise.
7487 * math/w_lgammaf_r.c: Likewise.
7488 * math/w_lgammal.c: Likewise.
7489 * math/w_lgammal_r.c: Likewise.
7490 * math/w_sinh.c: Likewise.
7491 * math/w_sinhf.c: Likewise.
7492 * math/w_sinhl.c: Likewise.
7493 * math/w_tgamma.c: Likewise.
7494 * math/w_tgammaf.c: Likewise.
7495 * math/w_tgammal.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7497 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7498 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7499 Minor optimizations. Pretty printing. Remove cruft.
7500 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7501 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7502 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7503 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7504 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7505 * sysdeps/i386/fpu/e_asin.S: Likewise.
7506 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7507 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7508 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7509 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7510 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7511 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7512 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7513 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7514 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7515 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7516 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7517 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7518 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7519 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7520 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7521 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7522 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7523 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7524 * sysdeps/i386/fpu/e_log.S: Likewise.
7525 * sysdeps/i386/fpu/e_log10.S: Likewise.
7526 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7528 * sysdeps/i386/fpu/e_log2.S: Likewise.
7529 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7530 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7531 * sysdeps/i386/fpu/e_logf.S: Likewise.
7532 * sysdeps/i386/fpu/e_logl.S: Likewise.
7533 * sysdeps/i386/fpu/e_pow.S: Likewise.
7534 * sysdeps/i386/fpu/e_powf.S: Likewise.
7535 * sysdeps/i386/fpu/e_powl.S: Likewise.
7536 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7537 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7538 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7539 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7540 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7541 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7542 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7543 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7544 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7566 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7567 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7568 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7569 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7570 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7571 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7572 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7573 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7574 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7575 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7576 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7577 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7578 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7579 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7580 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7581 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7582 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7583 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7584 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7585 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7586 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7625 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7628 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7630 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7631 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7633 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7636 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7637 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7638 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7639 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7640 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7641 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7642 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7643 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7644 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7645 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7646 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7647 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7648 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7649 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7650 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7651 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7652 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7653 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7654 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7655 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7656 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7657 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7658 (__isnanf): Likewise.
7659 (__isinf_ns): Likewise.
7660 (__isinf_nsf): Likewise.
7661 (__finite): Likewise.
7662 (__finitef): Likewise.
7663 (__ieee754_sqrt): Define as macro.
7664 (__ieee754_sqrtf): Define as macro.
7665 (__ieee754_sqrtl): Define as macro.
7666 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7667 inlined copy.
7668 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7669 __FINITE_MATH_ONLY__ consistent.
7670 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7671
12cc2fcd
AS
76722011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7673
a843a204
AS
7674 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7675 of rawmemchr.
7676
12cc2fcd
AS
7677 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7678
c853acd5
UD
76792011-10-09 Ulrich Drepper <drepper@gmail.com>
7680
7681 * po/ja.po: Update from translation team.
7682
c658d255
RM
76832011-10-08 Roland McGrath <roland@hack.frob.com>
7684
110946e4
RM
7685 * locale/programs/locarchive.c (prepare_address_space): New function.
7686 (create_archive, enlarge_archive, open_archive): Use it.
7687
50604220
RM
7688 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7689 inside [SHARED], where it is used.
7690
c658d255
RM
7691 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7692
7693 * nss/getent.c (netgroup_keys): Remove unused variable.
7694 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7695
6a621eb7
UD
76962011-10-08 Ulrich Drepper <drepper@gmail.com>
7697
7edb55ce
UD
7698 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7699 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7702 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7703 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7704 * math/Makefile (libm-calls): Add s_isinf_ns.
7705 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7706 * math/multc3.c: Likewise.
7707 * math/s_casin.c: Likewise.
7708 * math/s_casinf.c: Likewise.
7709 * math/s_casinl.c: Likewise.
7710 * math/s_ccos.c: Likewise.
7711 * math/s_ccosf.c: Likewise.
7712 * math/s_ccosl.c: Likewise.
7713 * math/s_ctan.c: Likewise.
7714 * math/s_ctanf.c: Likewise.
7715 * math/s_ctanh.c: Likewise.
7716 * math/s_ctanhf.c: Likewise.
7717 * math/s_ctanhl.c: Likewise.
7718 * math/s_ctanl.c: Likewise.
7719 * math/w_fmod.c: Likewise.
7720 * math/w_fmodf.c: Likewise.
7721 * math/w_fmodl.c: Likewise.
7722 * math/w_remainder.c: Likewise.
7723 * math/w_remainderf.c: Likewise.
7724 * math/w_remainderl.c: Likewise.
7725 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7726 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7727 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7729 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7730 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7731 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7732 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7733
187da0ae
UD
7734 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7735 of the number.
7736 * stdio-common/printf_fphex.c: Likewise.
7737 * stdio-common/printf_size.c: Likewise.
7738
9277c064
UD
7739 * math/e_exp10.c: Include math_private.h using <...> not "...".
7740 * math/e_exp10f.c: Likewise.
7741 * math/e_exp10l.c: Likewise.
7742 * math/e_exp2l.c: Likewise.
7743 * math/e_j0l.c: Likewise.
7744 * math/e_j1l.c: Likewise.
7745 * math/e_jnl.c: Likewise.
7746 * math/e_lgammal_r.c: Likewise.
7747 * math/e_rem_pio2l.c: Likewise.
7748 * math/e_scalb.c: Likewise.
7749 * math/e_scalbf.c: Likewise.
7750 * math/e_scalbl.c: Likewise.
7751 * math/k_cosl.c: Likewise.
7752 * math/k_sinl.c: Likewise.
7753 * math/k_tanl.c: Likewise.
7754 * math/s_cacoshf.c: Likewise.
7755 * math/s_catan.c: Likewise.
7756 * math/s_catanf.c: Likewise.
7757 * math/s_catanh.c: Likewise.
7758 * math/s_catanhf.c: Likewise.
7759 * math/s_catanhl.c: Likewise.
7760 * math/s_catanl.c: Likewise.
7761 * math/s_ccosh.c: Likewise.
7762 * math/s_ccoshf.c: Likewise.
7763 * math/s_ccoshl.c: Likewise.
7764 * math/s_cexp.c: Likewise.
7765 * math/s_cexpf.c: Likewise.
7766 * math/s_cexpl.c: Likewise.
7767 * math/s_clog.c: Likewise.
7768 * math/s_clog10.c: Likewise.
7769 * math/s_clog10f.c: Likewise.
7770 * math/s_clog10l.c: Likewise.
7771 * math/s_clogf.c: Likewise.
7772 * math/s_clogl.c: Likewise.
7773 * math/s_csin.c: Likewise.
7774 * math/s_csinf.c: Likewise.
7775 * math/s_csinh.c: Likewise.
7776 * math/s_csinhf.c: Likewise.
7777 * math/s_csinhl.c: Likewise.
7778 * math/s_csinl.c: Likewise.
7779 * math/s_csqrt.c: Likewise.
7780 * math/s_csqrtf.c: Likewise.
7781 * math/s_csqrtl.c: Likewise.
7782 * math/s_ctan.c: Likewise.
7783 * math/s_ctanf.c: Likewise.
7784 * math/s_ctanh.c: Likewise.
7785 * math/s_ctanhf.c: Likewise.
7786 * math/s_ctanhl.c: Likewise.
7787 * math/s_ctanl.c: Likewise.
7788 * math/s_ldexp.c: Likewise.
7789 * math/s_ldexpf.c: Likewise.
7790 * math/s_ldexpl.c: Likewise.
7791 * math/s_significand.c: Likewise.
7792 * math/s_significandf.c: Likewise.
7793 * math/s_significandl.c: Likewise.
7794 * math/w_acos.c: Likewise.
7795 * math/w_acosf.c: Likewise.
7796 * math/w_acosh.c: Likewise.
7797 * math/w_acoshf.c: Likewise.
7798 * math/w_acoshl.c: Likewise.
7799 * math/w_acosl.c: Likewise.
7800 * math/w_asin.c: Likewise.
7801 * math/w_asinf.c: Likewise.
7802 * math/w_asinl.c: Likewise.
7803 * math/w_atan2.c: Likewise.
7804 * math/w_atan2f.c: Likewise.
7805 * math/w_atan2l.c: Likewise.
7806 * math/w_atanh.c: Likewise.
7807 * math/w_atanhf.c: Likewise.
7808 * math/w_atanhl.c: Likewise.
7809 * math/w_cosh.c: Likewise.
7810 * math/w_coshf.c: Likewise.
7811 * math/w_coshl.c: Likewise.
7812 * math/w_dremf.c: Likewise.
7813 * math/w_exp10.c: Likewise.
7814 * math/w_exp10f.c: Likewise.
7815 * math/w_exp10l.c: Likewise.
7816 * math/w_exp2.c: Likewise.
7817 * math/w_exp2f.c: Likewise.
7818 * math/w_fmod.c: Likewise.
7819 * math/w_fmodf.c: Likewise.
7820 * math/w_fmodl.c: Likewise.
7821 * math/w_hypot.c: Likewise.
7822 * math/w_hypotf.c: Likewise.
7823 * math/w_hypotl.c: Likewise.
7824 * math/w_j0.c: Likewise.
7825 * math/w_j0f.c: Likewise.
7826 * math/w_j0l.c: Likewise.
7827 * math/w_j1.c: Likewise.
7828 * math/w_j1f.c: Likewise.
7829 * math/w_j1l.c: Likewise.
7830 * math/w_jn.c: Likewise.
7831 * math/w_jnf.c: Likewise.
7832 * math/w_jnl.c: Likewise.
7833 * math/w_lgamma.c: Likewise.
7834 * math/w_lgamma_r.c: Likewise.
7835 * math/w_lgammaf.c: Likewise.
7836 * math/w_lgammaf_r.c: Likewise.
7837 * math/w_lgammal.c: Likewise.
7838 * math/w_lgammal_r.c: Likewise.
7839 * math/w_log.c: Likewise.
7840 * math/w_log10.c: Likewise.
7841 * math/w_log10f.c: Likewise.
7842 * math/w_log10l.c: Likewise.
7843 * math/w_log2.c: Likewise.
7844 * math/w_log2f.c: Likewise.
7845 * math/w_log2l.c: Likewise.
7846 * math/w_logf.c: Likewise.
7847 * math/w_logl.c: Likewise.
7848 * math/w_pow.c: Likewise.
7849 * math/w_powf.c: Likewise.
7850 * math/w_powl.c: Likewise.
7851 * math/w_remainder.c: Likewise.
7852 * math/w_remainderf.c: Likewise.
7853 * math/w_remainderl.c: Likewise.
7854 * math/w_scalb.c: Likewise.
7855 * math/w_scalbf.c: Likewise.
7856 * math/w_scalbl.c: Likewise.
7857 * math/w_sinh.c: Likewise.
7858 * math/w_sinhf.c: Likewise.
7859 * math/w_sinhl.c: Likewise.
7860 * math/w_sqrt.c: Likewise.
7861 * math/w_sqrtf.c: Likewise.
7862 * math/w_sqrtl.c: Likewise.
7863 * math/w_tgamma.c: Likewise.
7864 * math/w_tgammaf.c: Likewise.
7865 * math/w_tgammal.c: Likewise.
7866
6a621eb7
UD
7867 * po/ja.po: Update from translation team.
7868
bf582445
AJ
78692011-09-29 Andreas Jaeger <aj@suse.de>
7870
f9efbf3a
AJ
7871 [BZ #13179]
7872 * sunrpc/netname.c (netname2host): Fix logic.
7873
bf582445
AJ
7874 [BZ #6779]
7875 [BZ #6783]
7876 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7877 correctly.
7878 * math/w_remainder.c (__remainder): Likewise.
7879 * math/w_remainderf.c (__remainderf): Likewise.
7880 * math/libm-test.inc (remainder_test): Add test cases.
7881
48693bea
AK
78822011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7883
7884 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7885 sdiv_qrnnd.
7886
42622229
LD
78872011-10-07 Ulrich Drepper <drepper@gmail.com>
7888
7889 * string/test-memcmp.c: Avoid unncessary #defines.
7890 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7891
093ecf92
LD
78922011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7893
7894 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7895 Use new sse2 version for core i3 - i7 as it's faster
7896 than sse42 version.
7897 (bit_Prefer_PMINUB_for_stringop): New.
7898 * sysdeps/x86_64/rawmemchr.S: Update.
7899 Replace with faster SSE2 version.
7900 * sysdeps/x86_64/memrchr.S: New file.
7901 * sysdeps/x86_64/memchr.S: Update.
7902 Replace with faster SSE2 version.
7903
fde56e5c
MP
79042011-09-12 Marek Polacek <mpolacek@redhat.com>
7905
7906 * elf/dl-load.c (lose): Add cast to avoid warning.
7907
21fd49a9
UD
79082011-10-07 Ulrich Drepper <drepper@gmail.com>
7909
5a06e643
UD
7910 * po/ca.po: Update from translation team.
7911
684ae515
UD
7912 * inet/getnetgrent_r.c: Hook up nscd.
7913 * nscd/Makefile (routines): Add nscd_netgroup.
7914 (nscd-modules): Add netgroupcache.
7915 (CFLAGS-netgroupcache.c): Define.
7916 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7917 (cache_search): Add const to second parameter.
7918 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7919 INNETGR.
7920 (dbs): Add netgrdb entry.
7921 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7922 (verify_persistent_db): Handle netgrdb.
7923 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7924 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7925 GETFDNETGR.
7926 (netgroup_response_header): Define.
7927 (innetgroup_response_header): Define.
7928 (datahead): Add netgroup_response_header and innetgroup_response_header
7929 elements.
7930 * nscd/nscd.conf: Add entries for netgroup cache.
7931 * nscd/nscd.h (dbtype): Add netgrdb.
7932 (_PATH_NSCD_NETGROUP_DB): Define.
7933 (netgroup_iov_disabled): Declare.
7934 (xmalloc, xcalloc, xrealloc): Move declarations here.
7935 (cache_search): Adjust prototype.
7936 Add netgroup-related prototypes.
7937 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7938 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7939 (__nscd_innetgr): Declare.
7940 * nscd/selinux.c (perms): Use access_vector_t as element type and
7941 add netgroup-related initializers.
7942 * nscd/netgroupcache.c: New file.
7943 * nscd/nscd_netgroup.c: New file.
7944 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7945 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7946 For four parameters use innetgr.
7947 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7948 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7949 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7950 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7951
21fd49a9
UD
7952 * nscd/connections.c (register_traced_file): Don't register file
7953 for disabled databases.
7954
054c0457
UD
79552011-10-06 Ulrich Drepper <drepper@gmail.com>
7956
32b63198
UD
7957 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7958
054c0457
UD
7959 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7960 from tree and freeing node.
7961
64031225
JO
79622011-09-25 Jiri Olsa <jolsa@redhat.com>
7963
7964 * nss/nsswitch.c (__nss_database_lookup): Handle
7965 nss_parse_service_list out of memory case.
7966
0490345c
JO
79672011-09-15 Jiri Olsa <jolsa@redhat.com>
7968
7969 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7970 out of memory case.
7971
3a62d00d
AS
79722011-10-04 Andreas Schwab <schwab@redhat.com>
7973
7974 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7975 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7976 pass it down.
7977 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7978 elf_machine_rela, elf_machine_lazy_rel.
7979 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7980 (ELF_DYNAMIC_DO_REL): Likewise.
7981 (ELF_DYNAMIC_DO_RELA): Likewise.
7982 (ELF_DYNAMIC_RELOCATE): Likewise.
7983 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7984 to ELF_DYNAMIC_DO_REL.
7985 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7986 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7987 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7988 elf_machine_rela.
7989 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7990 skip_ifunc, don't call ifunc function if non-zero.
7991 (elf_machine_rela): Likewise.
7992 (elf_machine_lazy_rel): Likewise.
7993 (elf_machine_lazy_rela): Likewise.
7994 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7995 (elf_machine_lazy_rel): Likewise.
7996 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7997 Likewise.
7998 (elf_machine_lazy_rel): Likewise.
7999 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8000 Likewise.
8001 (elf_machine_lazy_rel): Likewise.
8002 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8003 (elf_machine_lazy_rel): Likewise.
8004 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8005 (elf_machine_lazy_rel): Likewise.
8006 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8007 (elf_machine_lazy_rel): Likewise.
8008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8009 (elf_machine_lazy_rel): Likewise.
8010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8011 (elf_machine_lazy_rel): Likewise.
8012 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8013 (elf_machine_lazy_rel): Likewise.
8014
68577918
UD
80152011-09-28 Ulrich Drepper <drepper@gmail.com>
8016
8017 * nss/nss_files/files-init.c (_nss_files_init): Use static
8018 initialization for all the *_traced_file variables.
8019
68822d74
AS
80202011-09-28 Andreas Schwab <schwab@redhat.com>
8021
8022 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8023
2056100b
RM
80242011-09-27 Roland McGrath <roland@hack.frob.com>
8025
8026 [BZ #13226]
8027 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8028
32c76b63
AS
80292011-09-27 Andreas Schwab <schwab@redhat.com>
8030
8031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8032 Reread the line before reparsing it.
8033
bf972c9d
AS
80342011-09-26 Andreas Schwab <schwab@redhat.com>
8035
8036 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8037
e057a1b5
JM
80382011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8039 Maxim Kuvyrkov <maxim@codesourcery.com>
8040 Joseph Myers <joseph@codesourcery.com>
8041
8042 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8043 if needed for __stack_chk_guard.
8044
bc7e1c36
RM
80452011-09-19 Roland McGrath <roland@hack.frob.com>
8046
ecb1482f
RM
8047 * sysdeps/posix/spawni.c (script_execute): Always define it.
8048 It will be optimized away if unused.
8049 (maybe_script_execute): New function.
8050 (__spawni): Call it.
8051
bc7e1c36
RM
8052 * Makerules: Don't include tls.make.
8053 (config-tls): Always set to thread.
8054 * tls.make.c: File removed.
8055
1c3b002b
MF
80562011-09-19 Mike Frysinger <vapier@gentoo.org>
8057
8058 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8059 * config.make.in (CPPFLAGS-config): New substituted variable.
8060
2840865d
UD
80612011-09-15 Ulrich Drepper <drepper@gmail.com>
8062
88738eb6
UD
8063 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8064
cbf645a6 8065 [BZ #13192]
2840865d
UD
8066 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8067 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8068
b402e91a
RM
80692011-09-15 Roland McGrath <roland@hack.frob.com>
8070
8071 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8072 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8074 (CALL_FAIL): Likewise.
8075 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8076 (CALL_FAIL): Macro removed.
8077 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8078
4c1a1f71
UD
80792011-09-15 Ulrich Drepper <drepper@gmail.com>
8080
8081 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8082 for __FINITE_MATH_ONLY__ == 1.
8083
edc121be
AS
80842011-09-15 Andreas Schwab <schwab@redhat.com>
8085
8086 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8087 __ieee754_sqrt instead of sqrt.
8088 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8089 __ieee754_sqrtf instead of sqrtf.
8090 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8091 __floorf instead of floorf.
8092 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8093 __floorf, __truncf instead of floorf, truncf.
8094
cd205654
UD
80952011-09-14 Ulrich Drepper <drepper@gmail.com>
8096
ee4d0315
UD
8097 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8098
cd205654
UD
8099 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8100 __extern_always_inline.
8101 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8102 32-bit.
8103
48b67d71
AS
81042011-09-14 Andreas Schwab <schwab@redhat.com>
8105
8106 * elf/rtld.c (dl_main): Also relocate in dependency order when
8107 doing symbol dependency testing.
8108
1ae12c75
AS
81092011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8110
8111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8112 Always define `refsym'.
8113
995a80df
AS
81142011-09-13 Andreas Schwab <schwab@redhat.com>
8115
e529793b
AS
8116 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8117 (__FD_ELT): Renamed from __FDELT.
8118 * misc/bits/select2.h (__FD_ELT): Likewise.
8119 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8120 __FD_MASK instead of __FDELT, __FDMASK.
8121 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8122 Likewise.
8123 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8124 Likewise.
8125
52d4fef8
AS
8126 * elf/Makefile (gen-ldd): Fix pattern.
8127
995a80df
AS
8128 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8129 (init_tls): Likewise.
8130
8682f8b0
UD
81312011-09-12 Ulrich Drepper <drepper@gmail.com>
8132
8133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8134
de82006d
AS
81352011-09-12 Andreas Schwab <schwab@redhat.com>
8136
a7c8e6a1
AS
8137 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8138 `struct cmsghdr *' instead of `void *'.
8139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8140 Likewise.
8141
0f31fe77
AS
81422011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8143
8144 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8145 if non-absolute.
8146 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8147 ldd_rewrite_script.
0f31fe77 8148
32b4c839
UD
81492011-09-11 Ulrich Drepper <drepper@gmail.com>
8150
83cd1420
UD
8151 * configure.in: Remove --with-tls option.
8152 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8153 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8154 out in case it is missing.
8155 * sysdeps/ia64/elf/configure.in: Likewise.
8156 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8157 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8158 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8159 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8160 * sysdeps/sh/elf/configure.in: Likewise.
8161 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8162 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8163 * sysdeps/x86_64/elf/configure.in: Likewise.
8164 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8165 * sysdeps/mach/hurd/tls.h: Likewise.
8166
633f745d
UD
8167 [BZ #13067]
8168 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8169
f318beb8
UD
8170 [BZ #13090]
8171 * configure.in: Fix use of AC_INIT.
8172
32b4c839
UD
8173 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8174
3ce1f295
UD
81752011-09-10 Ulrich Drepper <drepper@gmail.com>
8176
bb016596
UD
8177 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8178 __set_errno.
8e58439c
UD
8179 * malloc/hooks.c: Likewise.
8180
aebae053 8181 [BZ #11929]
02d46fc4
UD
8182 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8183 variables statically.
8184 (narenas): Initialize.
8185 (list_lock): Initialize.
bb016596
UD
8186 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8187 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8188 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8189 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8190 Add initializers to main_arena and mp_.
8191 (malloc_state): Remove pagesize member. Change all users to use
8192 GLRO(dl_pagesize).
8193
8194 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8195 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8196 is always initialized.
8197
22a89187
UD
8198 * malloc/malloc.c: Removed unused configurations and dead code.
8199 * malloc/arena.c: Likewise.
8200 * malloc/hooks.c: Likewise.
02d46fc4 8201 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8202
d063d164
UD
8203 * include/tls.h: Removed. USE___THREAD must always be defined.
8204 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8205 * elf/dl-libc.c: Likewise.
8206 * elf/dl-tsd.c: Likewise.
8207 * include/errno.h: Likewise.
8208 * include/netdb.h: Likewise.
8209 * include/resolv.h: Likewise.
8210 * inet/herrno-loc.c: Likewise.
8211 * inet/herrno.c: Likewise.
8212 * malloc/arena.c: Likewise.
8213 * malloc/hooks.c: Likewise.
8214 * malloc/malloc.c: Likewise.
8215 * resolv/res-state.c: Likewise.
8216 * resolv/res_libc.c: Likewise.
8217 * sysdeps/i386/dl-machine.h: Likewise.
8218 * sysdeps/ia64/dl-machine.h: Likewise.
8219 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8220 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8221 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8222 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8223 * sysdeps/sh/dl-machine.h: Likewise.
8224 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8225 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8226 * sysdeps/unix/i386/sysdep.S: Likewise.
8227 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8228 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8232 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8233 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8234 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8237 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8238 * sysdeps/x86_64/dl-machine.h: Likewise.
8239 * tls.make.c: Likewise.
8240
3ce1f295
UD
8241 * configure.in: Remove --with-__thread option. Make tests for
8242 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8243 tls_model attribute fail if no support is available. Remove
8244 USE_IN_LIBIO.
8245 * Makeconfig: Adjust for dropped configure option. All features are
8246 now mandatory.
8247 * Makerules: Likewise.
8248 * Versions.def: Likewise.
8249 * argp/argp-fmtstream.c: Likewise.
8250 * argp/argp-fmtstream.h: Likewise.
8251 * argp/argp-help.c: Likewise.
8252 * assert/assert.c: Likewise.
8253 * config.h.in: Likewise.
8254 * config.make.in: Likewise.
8255 * configure: Likewise.
8256 * configure.in: Likewise.
8257 * csu/Versions: Likewise.
8258 * csu/init.c: Likewise.
8259 * elf/tst-audit2.c: Likewise.
8260 * elf/tst-tls10.c: Likewise.
8261 * elf/tst-tls10.h: Likewise.
8262 * elf/tst-tls11.c: Likewise.
8263 * elf/tst-tls12.c: Likewise.
8264 * elf/tst-tls14.c: Likewise.
8265 * elf/tst-tlsmod11.c: Likewise.
8266 * elf/tst-tlsmod12.c: Likewise.
8267 * elf/tst-tlsmod13.c: Likewise.
8268 * elf/tst-tlsmod13a.c: Likewise.
8269 * elf/tst-tlsmod14a.c: Likewise.
8270 * elf/tst-tlsmod15b.c: Likewise.
8271 * elf/tst-tlsmod16a.c: Likewise.
8272 * elf/tst-tlsmod16b.c: Likewise.
8273 * elf/tst-tlsmod7.c: Likewise.
8274 * elf/tst-tlsmod8.c: Likewise.
8275 * elf/tst-tlsmod9.c: Likewise.
8276 * gmon/gmon.c: Likewise.
8277 * grp/fgetgrent_r.c: Likewise.
8278 * grp/putgrent.c: Likewise.
8279 * hurd/fopenport.c: Likewise.
8280 * include/libc-symbols.h: Likewise.
8281 * include/tls.h: Likewise.
8282 * intl/gettextP.h: Likewise.
8283 * intl/loadinfo.h: Likewise.
8284 * locale/global-locale.c: Likewise.
8285 * locale/localeinfo.h: Likewise.
8286 * mach/devstream.c: Likewise.
8287 * malloc/arena.c: Likewise.
8288 * malloc/set-freeres.c: Likewise.
8289 * misc/err.c: Likewise.
8290 * misc/getttyent.c: Likewise.
8291 * misc/mntent_r.c: Likewise.
8292 * posix/getopt.c: Likewise.
8293 * posix/wordexp.c: Likewise.
8294 * pwd/fgetpwent_r.c: Likewise.
8295 * resolv/Versions: Likewise.
8296 * resolv/res_hconf.c: Likewise.
8297 * shadow/fgetspent_r.c: Likewise.
8298 * shadow/putspent.c: Likewise.
8299 * stdio-common/printf_fphex.c: Likewise.
8300 * stdio-common/tmpfile.c: Likewise.
8301 * stdlib/abort.c: Likewise.
8302 * stdlib/fmtmsg.c: Likewise.
8303 * sunrpc/auth_unix.c: Likewise.
8304 * sunrpc/clnt_perr.c: Likewise.
8305 * sunrpc/clnt_tcp.c: Likewise.
8306 * sunrpc/clnt_udp.c: Likewise.
8307 * sunrpc/clnt_unix.c: Likewise.
8308 * sunrpc/openchild.c: Likewise.
8309 * sunrpc/svc_simple.c: Likewise.
8310 * sunrpc/svc_tcp.c: Likewise.
8311 * sunrpc/svc_udp.c: Likewise.
8312 * sunrpc/svc_unix.c: Likewise.
8313 * sunrpc/xdr.c: Likewise.
8314 * sunrpc/xdr_array.c: Likewise.
8315 * sunrpc/xdr_rec.c: Likewise.
8316 * sunrpc/xdr_ref.c: Likewise.
8317 * sunrpc/xdr_stdio.c: Likewise.
8318
1248c1c4
PB
83192011-09-09 Ulrich Drepper <drepper@gmail.com>
8320
8321 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8322
83232011-07-03 Andreas Jaeger <aj@suse.de>
8324
8325 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8326 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8327 regenerate with gen-libm-tests.pl.
8328
83292010-05-12 Petr Baudis <pasky@suse.cz>
8330
8331 [BZ #11589]
8332 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8333 around j0() zero points by switching to j1().
8334 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8338
f22e1074
UD
83392011-09-09 Ulrich Drepper <drepper@gmail.com>
8340
f19009c1
UD
8341 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8342 instead of 0.
8343 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8344 instead of 0. .
8345 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8346 Patch in part by Pavel Roskin <proski@gnu.org>.
8347
3f8cc204
UD
8348 [BZ #13138]
8349 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8350 realloc.
8351 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8352 Free memory block if necessary.
8353
f22e1074
UD
8354 [BZ #12847]
8355 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8356 be NULL. Don't lock in this case.
8357
0a2349f9
RM
83582011-09-09 Roland McGrath <roland@hack.frob.com>
8359
8360 * elf/elf.h (ELFOSABI_GNU): New macro.
8361 (ELFOSABI_LINUX): Define to that.
8362
f3cdd467
DZ
83632011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8364
8365 * string/strncat.c (strncat): Undef the symbol in case it has been
8366 defined in bits/string.h.
8367
74718d13
UD
83682011-09-09 Ulrich Drepper <drepper@gmail.com>
8369
633e9e0f
UD
8370 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8371
0a2349f9 8372 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8373 link map.
8374
f9924780
AJ
83752011-08-17 Andreas Jaeger <aj@suse.de>
8376
8377 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8378
7f5517aa
PP
83792011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8380 Ian Lance Taylor <iant@google.com>
8381
8382 * math/libm-test.inc (lround_test): New testcase.
8383 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8384
762011fe
UD
83852011-09-08 Ulrich Drepper <drepper@gmail.com>
8386
92963737
UD
8387 * Makefile: Remove support for automatic cvs check-ins.
8388 * Makerules: Likewise.
8389 * config.make.in: Likewise.
8390 * configure.in: Likewise.
8391 * intl/Makefile: Likewise.
8392 * locale/Makefile: Likewise.
8393 * po/Makefile: Likewise.
8394 * posix/Makefile: Likewise.
8395 * sysdeps/gnu/Makefile: Likewise.
8396 * sysdeps/mach/hurd/Makefile: Likewise.
8397 * sysdeps/sparc/sparc32/Makefile: Likewise.
8398
b0727fd8
JS
8399 [BZ #13118]
8400 * posix/Makefile (bug-regex32-ENV): Define.
8401 Patch by John Stanley <jpsinthemix@verizon.net>.
8402
a0f33f99
UD
8403 * misc/Makefile (headers): Add bits/select2.h.
8404 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8405 * misc/bits/select2.h: New file.
8406 * include/bits/select2.h: New file.
8407 * debug/Makefile (routines): Add fdelt_chk.
8408 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8409 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8410 FD_ISSET.
8411 * debug/fdelt_chk.c: New file.
8412
762011fe
UD
8413 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8414 * wcsmbs/test-wmemcmp.c: Likewise.
8415 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8416 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8417
84182011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8419
8420 * string/Makefile (strop-tests): Add memcmp.
8421 * string/test-wmemcmp.c: New file.
8422 * string/test-memcmp.c: Add wmemcmp support.
8423
7f513ec8
RM
84242011-09-08 Roland McGrath <roland@hack.frob.com>
8425
0442afb4
RM
8426 [BZ #13153]
8427 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8428 2011-07-19 change.
8429
7f513ec8
RM
8430 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8431 garbage value in a __mach_port_mod_refs call in the cases of the
8432 task-self and thread-self ports.
8433
a12b2239
ST
84342011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8435
8436 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8437
610f9ab4
AS
84382011-09-08 Andreas Schwab <schwab@redhat.com>
8439
7f513ec8 8440 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8441
48882a1a
LD
84422011-09-07 Ulrich Drepper <drepper@gmail.com>
8443
b49865be
UD
8444 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8445
fdc86bc9
UD
8446 * elf/dl-libc.c (dlerror_run): Pass back error code from
8447 dl_catch_error.
8448
c966526a
UD
8449 [BZ #13123]
8450 * elf/dl-load.c (lose): Free l_origin if it is valid.
8451
48882a1a
LD
8452 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8453 names.
8454 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8455 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8456 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8457 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8458 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8459 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8460
77a2a8b4
AZ
84612011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8462
8463 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8464 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8465 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8466 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8467 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8468 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8469 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8470 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8471 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8472 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8473
24f579d8
AM
84742011-08-15 Alan Modra <amodra@gmail.com>
8475
8476 [BZ #13092]
8477 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8478 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8479 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8480 ppc_mcount to static-only-routines.
8481 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8482 __mcount_internal.
8483 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8484 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8485
3d4837df
UD
84862011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8487
8488 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8489 for finite and infinity parameters.
8490
22700377
WS
84912011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8492
8493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8494 and add nop instructions for throughput optimization.
8495 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8496
5025581e
WS
84972011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8498
8499 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8500 aligned copy for power7 with vector-scalar instructions.
8501 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8502
08a300c9
L
85032011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8504
8505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8506 AVX check.
8507
59178ef9
AS
85082011-09-07 Andreas Schwab <schwab@redhat.com>
8509
8510 [BZ #13144]
8511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8512 last change.
8513
e38ba7ab
UD
85142011-09-07 Ulrich Drepper <drepper@gmail.com>
8515
8516 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8517 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8518 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8519 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8520 clock_gettime.
8521
d53a73ac
UD
85222011-09-06 Ulrich Drepper <drepper@gmail.com>
8523
fc8bffcc
UD
8524 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8525 Forgot to demangle the pointer.
8526
ceaa0c5d
UD
8527 * sysdeps/i386/sysdep.h: Define atom_text_section.
8528 * sysdeps/x86_64/sysdep.h: Likewise.
8529 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8530 section with atom_text_section.
8531 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8532 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8533 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8535 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8536
a77d3c17
UD
8537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8538 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8539 already be defined. Change to take two parameters and don't assign
8540 result to variable. Adjust all users.
8541 Define INTERNAL_GETTIME if not already defined.
8542 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8543 call.
8544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8545 HAVE_CLOCK_GETTIME_VSYSCALL.
8546 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8547
d53a73ac
UD
8548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8549 gettimeofday vsyscall, just use time.
8550
a8f84144
AS
85512011-09-06 Andreas Schwab <schwab@redhat.com>
8552
8553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8554 <errno.h>.
8555
ef606249
UD
85562011-09-06 Ulrich Drepper <drepper@gmail.com>
8557
8558 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8559 syscall on x86-64.
8560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8561 syscall.
8562 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8564 syscall if possible.
8565
6585cb60
UD
85662011-09-05 Ulrich Drepper <drepper@gmail.com>
8567
8568 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8569 e_ident. Don't pass to find_mapsXX.
8570 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8571
a5f524e4
LD
85722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8573
8574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8575 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8576 * sysdeps/x86_64/multiarch/strchr.S: Update.
8577 Check bit_slow_BSF bit.
8578 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8579 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8580 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8581
554881ef
UD
85822011-09-05 Ulrich Drepper <drepper@gmail.com>
8583
d96de963
UD
8584 [BZ #13134]
8585 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8586 before glibc 2.15.
8587 (tryshell): Define.
8588 (__spawni): Change last parameter to be flag. Test
8589 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8590 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8591 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8592 * posix/spawni.c: Likewise.
8593 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8594 * posix/spawnp.c: Likewise. Change normal version to use
8595 SPAWN_XFLAGS_USE_PATH.
8596 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8597 SPAWN_XFLAGS_TRY_SHELL.
8598
d48e5868
UD
8599 [BZ #13150]
8600 * posix/glob.h: Remove gcc 1.x support.
8601
554881ef
UD
8602 [BZ #13068]
8603 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8604
693fb948
LD
86052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8606
8607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8608 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8609 strrchr-sse2-bsf
8610 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8611 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8612 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8613 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8614 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8616
1b48c537
UD
86172011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8618
49d42c37
UD
8619 * sysdeps/x86_64/wcscmp.S: New file.
8620
1b48c537
UD
8621 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8622 wcscmp-c wcscmp-sse2
8623 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8624 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8625 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8626 * wcsmbs/wcscmp.c: Allow renaming.
8627
15c95c5d
DM
86282011-09-05 David S. Miller <davem@davemloft.net>
8629
8630 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8631 stack slot, rather than the struct return pointer slot.
8632 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8633 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8635 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8636
2f0ad8f3
UD
86372011-09-05 Ulrich Drepper <drepper@gmail.com>
8638
d88ae418
UD
8639 * po/ja.po: Update from translation team.
8640
2f0ad8f3
UD
8641 [BZ #13144]
8642 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8643 kernel in 64-bit binaries.
8644
5f4318d1
DM
86452011-09-01 David S. Miller <davem@davemloft.net>
8646
8647 * elf/elf.h (HWCAP_SPARC_*): Move to..
8648 * sysdeps/sparc/sysdep.h: this new file and add new values.
8649 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8650 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8651 _DL_HWCAP_COUNT to 24.
8652 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8653 entries.
8654 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8655 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8656 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8658 instead of magic constants.
8659 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8660
3ba57516
DM
86612011-08-31 David S. Miller <davem@davemloft.net>
8662
8663 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8664 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8665 Reimplement to do errno handling inline.
8666 (SYSCALL_ERROR_HANDLER): New macro.
8667 (__SYSCALL_STRING): Do not do errno handling in asm.
8668 (__CLONE_SYSCALL_STRING): Delete.
8669 (__INTERNAL_SYSCALL_STRING): Delete.
8670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8671 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8672 (PSEUDO): Reimplement to do errno handling inline.
8673 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8674 (SYSCALL_ERROR_HANDLER): New macro.
8675 (__SYSCALL_STRING): Do not do errno handling in asm.
8676 (__CLONE_SYSCALL_STRING): Delete.
8677 (__INTERNAL_SYSCALL_STRING): Delete.
8678 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8679 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8680 i386.
8681 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8682 (inline_syscall*): Add 'err' argument.
8683 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8684 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8685 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8686 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8687
8688 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8689 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8690
2bc17433
AS
86912011-08-30 Andreas Schwab <schwab@redhat.com>
8692
8693 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8694
fbeb5f4d
JO
86952011-08-29 Jiri Olsa <jolsa@redhat.com>
8696
8697 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8698 directive.
8699
ad69cc26
DM
87002011-08-24 David S. Miller <davem@davemloft.net>
8701
8702 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8703
39dd69df
AS
87042011-08-24 Andreas Schwab <schwab@redhat.com>
8705
8706 * elf/Makefile: Add rules to build and run unload8 test.
8707 * elf/unload8.c: New file.
8708 * elf/unload8mod1.c: New file.
8709 * elf/unload8mod1x.c: New file.
8710 * elf/unload8mod2.c: New file.
8711 * elf/unload8mod3.c: New file.
8712
8713 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8714 it wasn't used.
8715
2c0b250a
DM
87162011-08-23 David S. Miller <davem@davemloft.net>
8717
8718 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8719 subtract stack bias.
8720 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8721 %sp not %fp in calculations.
8722 (_JMPBUF_UNWINDS_ADJ): Likewise.
8723
22044b48
DM
8724 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8725 (aio_suspend): Call it to force an exception region around the
8726 AIO_MISC_WAIT() invocation.
8727
2cae4995
AS
87282011-08-23 Andreas Schwab <schwab@redhat.com>
8729
8730 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8731 backslash.
8732
873a772e
AJ
87332011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8734
8735 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8736 protection macro.
8737 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8738 and <dl-machine.h>.
8739 (Elf64_FuncDesc): Remove.
8740
25ad0df1
DM
87412011-08-22 David S. Miller <davem@davemloft.net>
8742
8743 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8744 sigaltstack check, add missing cfi directives.
8745 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8746 missing cfi directives, and sigaltstack handling.
8747
e888bcbe
AS
87482011-08-16 Andreas Schwab <schwab@redhat.com>
8749
8750 [BZ #11724]
8751 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8752 object is seen twice.
8753 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8754
8755 * elf/Makefile (distribute): Add tst-initorder2.c.
8756 (tests): Add tst-initorder2.
8757 (modules-names): Add tst-initorder2a tst-initorder2b
8758 tst-initorder2c tst-initorder2d. Add rules to build them.
8759 ($(objpfx)tst-initorder2.out): New rule.
8760 * elf/tst-initorder2.c: New file.
8761 * elf/tst-initorder2.exp: New file.
8762
87162f46
AS
87632011-08-22 Andreas Schwab <schwab@redhat.com>
8764
70538b7f
AS
8765 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8766
f55ffe58
AS
8767 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8768 dependencies back to end of function.
8769
87162f46
AS
8770 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8771 $(elfobjdir)/ld.so.
8772
91b392a4
UD
87732011-08-21 Ulrich Drepper <drepper@gmail.com>
8774
8775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8776 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8778 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8779 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8780 of __vdso_gettimeofday.
8781 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8782 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8783 attribute_hidden.
8784 (_libc_vdso_platform_setup): Remove initialization of
8785 __vdso_gettimeofday and __vdso_time.
8786
5c43483f
UD
87872011-08-20 Ulrich Drepper <drepper@gmail.com>
8788
775a77e7
UD
8789 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8790 and fgetc_unlocked.
8791 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8792 getc_unlocked.
89f447ed 8793
49c74ba9
UD
8794 * elf/dl-open.c (add_to_global): Report additions to the global scope
8795 for LD_DEBUG=scopes.
8796 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8797 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8798
5c43483f
UD
8799 [BZ #13114]
8800 * stdio-common/Makefile (tests): Add bug24.
8801 * stdio-common/bug24.c: New file.
8802
a101b025
AJ
88032011-08-19 Andreas Jaeger <aj@suse.de>
8804
8805 [BZ #13114]
8806 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8807 non-existant file when using close-on-exec mode.
8808
c88f1766
UD
88092011-08-20 Ulrich Drepper <drepper@gmail.com>
8810
0276a718
UD
8811 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8812 the very first instruction.
8813
c88f1766
UD
8814 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8815 the CFI state in the end.
8816 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8817 inclusion of dl-trampoline.h.
8818 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8819
51ccffa0
AS
88202011-08-19 Andreas Schwab <schwab@redhat.com>
8821
94d7165f
AS
8822 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8823 expectations for long double.
8824
51ccffa0
AS
8825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8826 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8827
fd708658 88282011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8829
8830 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8831 artificual limit depends upon the system page size.
8832
44f0a71e
UD
88332011-08-17 Ulrich Drepper <drepper@gmail.com>
8834
8835 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8836 * resolv/Makefile: Define CFLAGS-libresolv.
8837
8de79a24
AS
88382011-08-17 Andreas Schwab <schwab@redhat.com>
8839
8840 * nss/makedb.c (compute_tables): Make variables used in nested
8841 function static.
8842
27724598
UD
88432011-08-17 Ulrich Drepper <drepper@gmail.com>
8844
c5305d88
UD
8845 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8846 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8847 if buffer was too small.
8848
27724598
UD
8849 * elf/pldd.c (main): Attach to all threads in the process.
8850 Rewrite /proc handling to use *at functions.
8851
076fe015
UD
88522011-08-16 Ulrich Drepper <drepper@gmail.com>
8853
174baab3
UD
8854 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8855 specifies first scope to show.
8856 (dl_open_worker): Update callers. Move printing scope of new
8857 object to before the relocation.
44f0a71e 8858 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8859 * sysdeps/generic/ldsodefs.h: Update declaration.
8860
076fe015
UD
8861 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8862 string for the scope number.
8863
a60df2c3
UD
88642011-08-14 Ulrich Drepper <drepper@gmail.com>
8865
8866 * nscd/servicescache.c (cache_addserv): Make sure written is always
8867 initialized.
8868
5e4287d1
RM
88692011-08-14 Roland McGrath <roland@hack.frob.com>
8870
85ae0589
RM
8871 * sysdeps/i386/i486/bits/atomic.h
8872 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8873 statement expression, so as to suppress "set but not used" warning.
8874 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8875
69f63097
RM
8876 * string/strncat.c (STRNCAT): Use prototype definition.
8877
675456ef
RM
8878 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8879 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8880 -Iprograms here.
8881 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8882 (localedef-modules): Add localedef.
8883 (locale-modules): Add locale.
8884
5e4287d1
RM
8885 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8886 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8887 to avoid a warning.
8888
9c96ff23
DM
88892011-08-14 David S. Miller <davem@davemloft.net>
8890
8891 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8892 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8893
f9ddf089
UD
88942011-08-13 Ulrich Drepper <drepper@gmail.com>
8895
44f0a71e 8896 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8897 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8898 * elf/rtld.c (dl_main): Set l_name of vDSO.
8899 Call _dl_show_scope when DL_DEBUG_SCOPES.
8900 (process_dl_debug): Recognize scopes flag and also set it for all.
8901 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8902 Declare _dl_show_scope.
8903
1dc27704
UD
8904 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8905 (do_dlopen): Pass caller_dlopen to dl_open.
8906 (__libc_dlopen_mode): Initialize caller_dlopen.
8907
f9ddf089
UD
8908 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8909 of libc. Make tolower call locale-independent. Optimize a bit by
8910 using isdigit instead of isalnum.
8911 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8912
9ac533d3
UD
89132011-08-12 Ulrich Drepper <drepper@gmail.com>
8914
8915 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8916 was a dependency or dynamically loaded.
8917
89edf2e9
UD
89182011-08-11 Ulrich Drepper <drepper@gmail.com>
8919
8e999d29
UD
8920 * intl/l10nflist.c: Allow architecture-specific pop function.
8921 * sysdeps/x86_64/l10nflist.c: New file.
8922
89edf2e9
UD
8923 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8924 classification.
8925
14d96785
AS
89262011-08-10 Andreas Schwab <schwab@redhat.com>
8927
8928 * include/dirent.h: Add libc_hidden_proto for scandirat and
8929 scandirat64. Don't declare __scandirat64.
8930 * dirent/scandirat.c: Add libc_hidden_def.
8931 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8932 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8933
6761ac04
DM
89342011-08-10 David S. Miller <davem@davemloft.net>
8935
8936 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8937 enum.
8938 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8940 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8941
c55fbd1e
UD
89422011-08-09 Ulrich Drepper <drepper@gmail.com>
8943
8944 * Versions.def [libc]: Add GLIBC_2.15.
8945 * dirent/Makefile (routines): Add scandirat and scandirat64.
8946 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8947 GLIBC_2.15.
8948 * dirent/dirent.h: Declare scandirat and scandirat64.
8949 * dirent/scandirat.c: New file.
8950 * dirent/scandirat64.c: New file.
8951 * sysdeps/wordsize-64/scandirat.c: New file.
8952 * sysdeps/wordsize-64/scandirat64.c: New file.
8953 * dirent/opendir.c: Define opendirat.
8954 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8955 using scandirat.
8956 * dirent/scandir64.c: Adjust for scandir.c change.
8957 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8958 __scandirat64, and __scandir_cancel_handler.
8959 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8960 additional parameter and use openat instead of open (outside of ld.so).
8961 Add new __opendir as wrapper around __opendirat.
8962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8963 here without requiring old scandirat implementation.
8964
879165f2
UD
89652011-08-08 Ulrich Drepper <drepper@gmail.com>
8966
8967 * dirent/scandir.c (cancel_handler): Renamed to
8968 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8969 defined. Adjust users.
8970 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8971 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8972
cb7e923b
UD
89732011-08-04 Ulrich Drepper <drepper@gmail.com>
8974
16292edd
UD
8975 * string/test-string.h (IMPL): Use __STRING to expand name and then
8976 stringify it.
8977
cb7e923b
UD
8978 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8979 of cleanups.
8980
cff82933
LD
89812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8982
8983 * string/Makefile: Update.
8984 (strop-tests): Append strncat.
8985 * string/test-wcscmp.c: New file.
8986 New comprehensive test for wcscmp.
8987 * string/test-strcmp.c: Update.
8988 (WIDE): New define.
8989
9be9bfcc
AS
89902011-07-22 Andreas Schwab <schwab@redhat.com>
8991
8992 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8993 line.
8994
2e96f1c7
AS
89952011-07-26 Andreas Schwab <schwab@redhat.com>
8996
8997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8998 encoding to ACE if AI_IDN.
8999
85188888
JJ
90002011-08-01 Jakub Jelinek <jakub@redhat.com>
9001
9002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9003 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9004
5fa16e9b
LD
90052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9006
9007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9008 Fix overflow bug in strncat.
9009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9010
9011 * string/test-strncat.c: Update.
9012 Add new tests for checking overflow bugs.
9013
90142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9015
9016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9017 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9018 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9019 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9021 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9022 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9023 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9024 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9025
9026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9027 (USE_AS_STRCAT): Define.
9028 Add strcat and strncat support.
9029 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9030
8c1a459f
AS
90312011-07-25 Andreas Schwab <schwab@redhat.com>
9032
9033 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9034 __n bigger than INT_MAX+1.
9035 (__strncmp_g): Likewise.
9036
bba33c28
UD
90372011-07-23 Ulrich Drepper <drepper@gmail.com>
9038
798be72d
UD
9039 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9040 * libio/stido.h: Likewise.
9041
8accd4dc
UD
9042 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9043 (AF_NFC): Define.
9044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9045 (AF_NFC): Define.
9046
cbff0d96
UD
9047 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9048 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9049 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9050 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9051 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9052
9191c04a
UD
9053 [BZ #13021]
9054 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9055 installed.
9056
bba33c28
UD
9057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9058 typo.
9059 (_dl_x86_64_save_sse): Likewise.
9060
90f139dd
UD
90612011-07-22 Ulrich Drepper <drepper@gmail.com>
9062
1aae088a
UD
9063 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9064 OSXSAVE.
9065 (_dl_x86_64_save_sse): Likewise.
9066
8e2045f5
UD
9067 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9068
90f139dd
UD
9069 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9070
1d002f25
AS
90712011-07-21 Andreas Schwab <schwab@redhat.com>
9072
9073 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9074 change.
9075 (_dl_x86_64_save_sse): Use correct AVX check.
9076
21137f89
UD
90772011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9078
9079 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9080 bug in strncpy/strncat.
9081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9082
a65c0b7a
UD
90832011-07-21 Ulrich Drepper <drepper@gmail.com>
9084
9085 * string/tester.c (test_strcat): Add tests for different alignments
9086 of source and destination.
9087 (test_strncat): Likewise.
9088
6986b98a
UD
90892011-07-20 Ulrich Drepper <drepper@gmail.com>
9090
90bb2039
UD
9091 [BZ #12852]
9092 * posix/glob.c (glob): Check passed in values before using them in
9093 expressions to avoid some overflows.
9094 (glob_in_dir): Likewise.
9095
5644ef54
UD
9096 [BZ #13007]
9097 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9098 check for AVX enablement so that we don't crash with old kernels and
9099 new hardware.
9100 * elf/tst-audit4.c: Add same checks here.
9101 * elf/tst-audit6.c: Likewise.
9102
9103 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9104
bfc9dc9b
AS
91052011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9106
9107 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9108
702e64bb
UD
91092011-07-20 Ulrich Drepper <drepper@gmail.com>
9110
9111 * po/cs.po: Update from translation team.
9112 * po/bg.po: Likewise.
9113
295e904f
MP
91142011-07-12 Marek Polacek <mpolacek@redhat.com>
9115
9116 * misc/sys/cdefs.h: Add support for const attribute.
9117 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9118 to gnu_dev_{major,minor,makedev} functions.
9119
3ff94596
MP
91202011-07-20 Marek Polacek <mpolacek@redhat.com>
9121
9122 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9123
28b59fca
AS
91242011-07-20 Andreas Schwab <schwab@redhat.com>
9125
9126 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9127 strlen results.
9128
19df733e
AK
91292011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9130
9131 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9132 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9133 register in order to avoid conflicts with the soft frame pointer
9134 being held in r11 when necessary.
9135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9136 (INTERNAL_VSYSCALL_NCS): Likewise.
9137
c8835729
MP
91382011-07-14 Marek Polacek <mpolacek@redhat.com>
9139
9140 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9141 * elf/dl-fini.c (_dl_fini): Adjust caller.
9142 * elf/dl-close.c (_dl_close_worker): Likewise.
9143 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9144
b902330c
MP
91452011-07-15 Marek Polacek <mpolacek@redhat.com>
9146
8991e135
MP
9147 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9148 "aux_cache->nlibs < 0".
9149
b902330c
MP
9150 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9151 in the reload-count case.
9152
99710781
LD
91532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9154
9155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9156 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9157 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9158 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9159 * sysdeps/x86_64/multiarch/strcat.S: New file.
9160 * sysdeps/x86_64/multiarch/strncat.S: New file.
9161 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9162 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9163 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9164 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9166 (USE_AS_STRCAT): Define.
9167 Add strcat and strncat support.
9168 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9169 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9170 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9171 * string/strncat.c: Update.
9172 (USE_AS_STRNCAT): Define.
9173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9174 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9175 and i7.
9176 * sysdeps/x86_64/multiarch/init-arch.h
9177 (bit_Prefer_PMINUB_for_stringop): New.
9178 (index_Prefer_PMINUB_for_stringop): Likewise.
9179 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9180 bit_Prefer_PMINUB_for_stringop.
9181
7dc6bd90
UD
91822011-07-19 Ulrich Drepper <drepper@gmail.com>
9183
9184 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9185 buffer64.
9186 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9187 of casting of buffer.
9188 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9189 buffer32 and buffer64.
9190 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9191 writes instead of casting of buffer.
9192 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9193 buffer32.
9194 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9195 casting of buffer.
9196
e0e72284
AS
91972011-07-19 Andreas Schwab <schwab@redhat.com>
9198
9199 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9200
feb1eb0b
UD
92012011-07-19 Ulrich Drepper <drepper@gmail.com>
9202
9203 * nscd/nscd.c (termination_handler): Don't do anything for a database
9204 if it has not yet been initialized.
9205
298711ff
UD
92062011-07-18 Ulrich Drepper <drepper@gmail.com>
9207
9208 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9209
92102011-07-15 Marek Polacek <mpolacek@redhat.com>
9211
9212 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9213
f9d68389
UD
92142011-07-18 Ulrich Drepper <drepper@gmail.com>
9215
9216 * po/nl.po: Update from translation team.
9217 * po/sv.po: Likewise.
9218
db290cf5
RM
92192011-07-16 Roland McGrath <roland@hack.frob.com>
9220
9221 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9222 now disallowed by GCC.
5c550700 9223
fd5e21c7
RM
9224 * configure.in (use-default-link): Default to yes if a test -shared
9225 link meets our qualifications.
9226 * configure: Regenerated.
9227
5c550700
RM
9228 * config.make.in (output-format): New variable.
9229 * configure.in: Check for ld --print-output-format support.
9230 * configure: Regenerated.
9231 * Makerules ($(common-objpfx)format.lds)
9232 [$(output-format) != unknown]: Just use $(output-format),
9233 instead of the linker-script munging.
9234
9fa2c032
RM
92352011-07-14 Roland McGrath <roland@hack.frob.com>
9236
a6928d51
RM
9237 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9238 of $(common-objpfx)shlib.lds.
9239 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9240
661607b3
RM
9241 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9242 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9243
9fa2c032
RM
9244 * configure.in (-z relro check): Adjust test code to add a large
9245 writable data section after it.
9246 * configure: Regenerated.
9247
defe9061
RM
92482011-07-11 Roland McGrath <roland@hack.frob.com>
9249
9250 * configure.in (-z relro check): Fix test code to make the variable
9251 truly const.
9252 * configure: Regenerated.
9253
319b9ad4
UD
92542011-07-11 Ulrich Drepper <drepper@gmail.com>
9255
9256 * nscd/nscd.h (struct traced_file): Define.
9257 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9258 elements. Add traced_files.
9259 (inotify_fd): Declare.
9260 (register_traced_file): Declare.
9261 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9262 (inotify_fd): Export.
9263 (resolv_conf_descr): Remove.
9264 (nscd_init): Move inotify descriptor creation to main.
9265 Don't register files for notification here.
9266 (register_traced_file): New function.
9267 (invalidate_cache): Don't use reset_res to determine whether to call
9268 res_init, go through the list of registered files.
9269 (main_loop_poll): The inotify descriptors are now stored in the
9270 structures for the traced files.
9271 (main_loop_epoll): Likewise
9272 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9273 to __nss_disable_nscd.
9274 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9275 for a database anymore. Check the records for all the registered
9276 files instead.
9277 * nss/Makefile (libnss_files-routines): Add files-init.
9278 (libnss_db-routines): Add db-init.
9279 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9280 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9281 * nss/nss_db/db-init.c: New file.
9282 * nss/nss_files/files-init.c: New file.
9283 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9284 __nss_lookup_function.
9285 (__nss_lookup_function): Call nss_load_library.
9286 (nss_load_all_libraries): New function.
9287 (__nss_disable_nscd): Take parameter with callback function for files
9288 to register. Set is_nscd. Load all the DSOs for the NSS modules
9289 used for the cached services.
9290 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9291 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9292 options for features to all the files in nscd.
9293
9294 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9295
23bee3e8
RM
92962011-07-10 Roland McGrath <roland@hack.frob.com>
9297
9298 * csu/elf-init.c (__libc_csu_init): Comment typo.
9299
46a5b7f0
UD
93002011-07-09 Ulrich Drepper <drepper@gmail.com>
9301
9302 * po/pl.po: Update from translation team.
9303 * po/ja.po: Likewise.
9304 * po/ru.po: Likewise.
9305 * po/ko.po: Likewise.
9306 * po/fr.po: Likewise.
9307
d30cf5bb
RM
93082011-07-09 Roland McGrath <roland@hack.frob.com>
9309
113ddea4
RM
9310 * configure.in (.ctors/.dtors header and trailer check):
9311 Use an empirical test on a built program.
9312 * configure: Regenerated.
9313
574920b4
RM
9314 * configure.in (-z relro check): Use an empirical test on a built DSO.
9315 Detect, but do not require, on ia64.
9316 * configure: Regenerated.
9317
d30cf5bb
RM
9318 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9319 Update tests that use readelf to use $READELF instead.
9320 * configure: Regenerated.
9321
8538fdb3
UD
93222011-07-08 Ulrich Drepper <drepper@gmail.com>
9323
9324 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9325 if the result is not used.
9326
04d08991
AJ
93272011-07-05 Andreas Jaeger <aj@suse.de>
9328
9329 [BZ#9696]
9330 * stdlib/tst-strtod.c: Add testcase.
9331
de283087
AD
93322011-07-07 Ulrich Drepper <drepper@gmail.com>
9333
4e5f31c8 9334 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9335 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9336 The latter has a higher limit. Take additional parameter to pass to
9337 the new function.
9338 (__pathconf): Pass file to __statfs_link_max.
9339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9340 __statfs_link_max.
9341 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9342 __statfs_link_max.
9343
de283087
AD
9344 [BZ #12868]
9345 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9346 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9347 Handle Lustre.
9348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9349 (__statfs_filesize_max): Likewise.
9350 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9351
c75fa153
AJ
93522011-07-05 Andreas Jaeger <aj@suse.de>
9353
9354 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9355
1a544854
UD
93562011-07-06 Marek Polacek <mpolacek@redhat.com>
9357
9358 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9359 `status' variable.
9360 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9361 Likewise.
9362
6f0eec67
UD
93632011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9364
9365 * Makefile (strop-tests): Add strncat.
9366 * string/test-strncat.c: New file.
9367
aae30307
UD
93682011-06-30 Marek Polacek <mpolacek@redhat.com>
9369
9370 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9371
c0cfb5eb
UD
93722011-06-21 Andreas Jaeger <aj@suse.de>
9373
9374 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9375 Copy rule from iconvdata/Makefile.
9376
01636b21
UD
93772011-07-06 Ulrich Drepper <drepper@gmail.com>
9378
9379 [BZ #12922]
9380 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9381 but no long options are defined, just return 'W'.
9382
9895c8bc
UD
93832011-06-22 Marek Polacek <mpolacek@redhat.com>
9384
9385 [BZ #9696]
9386 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9387
5d4cf042
UD
93882011-07-06 Ulrich Drepper <drepper@gmail.com>
9389
9390 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9391 netgroups to read.
960e5535 9392 (innetgr): Likewise.
5d4cf042 9393
751eb97e
RM
93942011-07-05 Roland McGrath <roland@hack.frob.com>
9395
9396 * config.make.in (install_root): Default to $(DESTDIR).
9397
f15f1e45
UD
93982011-07-05 Ulrich Drepper <drepper@gmail.com>
9399
9400 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9401
4e34ac6a
RM
94022011-07-02 Roland McGrath <roland@hack.frob.com>
9403
5e9b6af4
RM
9404 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9405
84f9ea0f
RM
9406 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9407 containing directory rather than embedding absolute directory names.
9408
ea5ee9f7
RM
9409 * scripts/check-local-headers.sh: Rewritten using awk.
9410 Match by word, not by line. Print error messages for matches.
9411 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9412
1b74661a
RM
9413 * Makerules [shlib-lds-flags empty]:
9414 ($(common-objpfx)libc_pic.opts): New target.
9415 ($(common-objpfx)libc_pic.os.clean): New target.
9416 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9417
9418 * config.make.in (OBJCOPY): New variable.
9419 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9420 * configure: Regenerated.
9421
f781ef40
RM
9422 * config.make.in (use-default-link): New variable.
9423 * configure.in (use_default_link): Grok --with-default-link to set it.
9424 * configure: Regenerated.
9425 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9426 (shlib-lds, shlib-lds-flags): Define to empty.
9427
2d4fa81e
RM
9428 * Makerules (shlib-lds): New variable.
9429 (shlib-lds-flags): New variable.
9430 (build-shlib, build-moduile, build-module-asneeded): Use it.
9431 ($(common-objpfx)libc.so): Use $(shlib-lds).
9432 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9433 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9434
31fffa6b
RM
9435 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9436 DT_FLAGS/DT_FLAGS_1 with zero flags.
9437
4e34ac6a
RM
9438 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9439 linker script munging.
9440
fcfc776b
UD
94412011-07-02 Ulrich Drepper <drepper@gmail.com>
9442
9443 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9444 as 128-bit value.
9445 * crypt/sha512.c (sha512_process_block): Perform total addition using
9446 128-bit if possible.
9447 (__sha512_finish_ctx): Likewise.
9448 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9449 as 64-bit value.
9450 * crypt/sha256.c (SWAP64): Define.
9451 (sha256_process_block): Perform total addition using 64-bit if
9452 possible.
9453 (__sha256_finish_ctx): Likewise.
9454
99231d9a
UD
94552011-07-01 Ulrich Drepper <drepper@gmail.com>
9456
9457 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9459 * nscd/hstcache.c (cache_addhst): Likewise.
9460 * nscd/grpcache.c (cache_addgr): Likewise.
9461 * nscd/aicache.c (addhstaiX): Likewise
9462 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9463
445b4a53
TK
94642011-07-01 Thorsten Kukuk <kukuk@suse.de>
9465
9466 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9467 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9468 * nscd/hstcache.c (cache_addhst): Likewise.
9469 * nscd/grpcache.c (cache_addgr): Likewise.
9470 * nscd/aicache.c (addhstaiX): Likewise
9471
6d4d8e8e
AS
94722011-07-01 Andreas Schwab <schwab@redhat.com>
9473
9474 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9475 domain only when needed.
9476
89f654c5
AS
94772011-06-30 Andreas Schwab <schwab@redhat.com>
9478
9479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9480 is always restored.
9481
cf3b23ff
UD
94822011-06-29 Ulrich Drepper <drepper@gmail.com>
9483
9484 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9485 are re-adding the entry.
9486 * nscd/servicescache.c (cache_addserv): Likewise.
9487
751626f9
AJ
94882011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9489
9490 * sysdeps/generic/dl-irel.h: fix protection against multiple
9491 inclusions.
9492 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9493
9113ea1f
UD
94942011-06-28 Ulrich Drepper <drepper@gmail.com>
9495
5c0b8d90
UD
9496 [BZ #12935]
9497 * malloc/memusage.sh: Fix quoting in message.
9498 * debug/xtrace.sh: Likewise.
9499
9113ea1f
UD
9500 * configure.in: Remove support for --experimental-malloc option, make
9501 it the default.
9502 * config.make.in: Likewise.
9503 * malloc/Makefile: Likewise.
9504
a4172181
AS
95052011-06-27 Andreas Schwab <schwab@redhat.com>
9506
9507 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9508 two-byte characters.
9509
78a7eee7
RM
95102011-06-27 Roland McGrath <roland@hack.frob.com>
9511
62bede13
RM
9512 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9513 AC_CACHE_CHECK invocation.
9514 * configure: Regenerated.
9515
78a7eee7
RM
9516 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9517
5ce33a62
UD
95182011-06-27 Ulrich Drepper <drepper@gmail.com>
9519
034807a9
UD
9520 [BZ #12350]
9521 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9522 bit from old_res_options.
9523
4902da17
UD
9524 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9525
5ce33a62
UD
9526 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9527 value type for setfct.
9528
c2344f56
L
95292011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9530
9531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9532 __gettimeofday instead of gettimeofday.
9533
68468076
UD
95342011-06-26 Ulrich Drepper <drepper@gmail.com>
9535
9536 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9537
acb0d739
L
95382011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9539
9540 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9541
9542 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9543 info.
9544
8912479f
L
95452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9546
9547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9548 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9549 strcpy-sse2-unaligned strncpy-sse2-unaligned
9550 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9551 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9552 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9553 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9554 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9555 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9557 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9558 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9559 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9560 (STRCPY): Support SSE2 and SSSE3 versions.
9561
d5495a11
UD
95622011-06-24 Ulrich Drepper <drepper@gmail.com>
9563
9564 [BZ #12874]
9565 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9566 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9567 kernels which artificially limit size of requests.
9568
0b1cbaae
L
95692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9570
9571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9572 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9573 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9574 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9575 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9576 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9577 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9578 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9581 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9582 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9583 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9584 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9585 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9587 Enable unaligned load optimization for Intel Core i3, i5 and i7
9588 processors.
9589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9590 Define.
9591 (index_Fast_Unaligned_Load): Define.
9592 (HAS_FAST_UNALIGNED_LOAD): Define.
9593
07f494a0
MP
95942011-06-23 Marek Polacek <mpolacek@redhat.com>
9595
9596 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9597
fa3fc0fe
UD
95982011-06-22 Ulrich Drepper <drepper@gmail.com>
9599
9600 [BZ #12907]
9601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9602 until it is clear that the information is realy needed.
9603 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9604
e12df166
AS
96052011-06-22 Andreas Schwab <schwab@redhat.com>
9606
9607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9608
852eb34d
UD
96092011-06-22 Ulrich Drepper <drepper@gmail.com>
9610
84e2a551
UD
9611 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9612 /sys/devices/system/cpu/online if it is usable.
9613
852eb34d
UD
9614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9615 reading the information from the /proc filesystem to once a second.
9616
6e502e19
UD
96172011-06-21 Andreas Jaeger <aj@suse.de>
9618
9619 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9620 NULL after inclusion of kernel headers.
9621
75d39ff2
UD
96222011-06-21 Ulrich Drepper <drepper@gmail.com>
9623
51f9aa6a
UD
9624 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9625 calls to internal_setent.
9626
c0244a9d
UD
9627 [BZ #12885]
9628 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9629 addresses using gethostbyname4_r ignore IPv4 addresses.
9630
c5e3c2ae
UD
9631 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9632 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9633
75d39ff2
UD
9634 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9635
42675c6f
DM
96362011-06-20 David S. Miller <davem@davemloft.net>
9637
9638 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9639 inclusions.
9640 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9641
9642 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9643 (elf_irel): Use it.
9644 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9645 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9646 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9647 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9648 * sysdeps/x86_64/dl-irel.h: Likewise.
9649
9650 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9651 * elf/dl-sym.c: Likewise.
9652
57912a71
UD
96532011-06-15 Ulrich Drepper <drepper@gmail.com>
9654
9655 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9656 need to dereference resplen2.
9657
ee22793d
AS
96582011-06-14 Andreas Schwab <schwab@redhat.com>
9659
9660 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9661
a9e836b0
UD
96622011-06-15 Ulrich Drepper <drepper@gmail.com>
9663
77fb9117
UD
9664 * Makeconfig: Define vardbdir and inst_vardbdir.
9665 * nss/Makefile: Add rules to install db-Makefile.
9666
40c1b22c
UD
9667 * nss/nss_db/db-XXX.c: Cleanup.
9668
9f2da732
UD
9669 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9670 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9671 GLIBC_PRIVATE.
9672 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9673 * nss/makedb.c: Implement -g option to specify that value strings
9674 are generated and should not be added to table iterated over for
9675 get*ent calls.
9676 * nss/nss_db/db-initgroups.c: New file.
9677
82e9a1f7
UD
9678 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9679 interface.
9680
c41af17e
UD
9681 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9682 (internal_getgrouplist): Adjust to name change.
9683 Update use_initgroups_entry if this is not the first call.
9684 * nss/databases.def: Add initgroups entry.
9685
a9e836b0
UD
9686 * nss/makedb.c (compute_tables): Check result of multiple hash table
9687 sizes to minimize maximum chain length.
9688
2666d441
UD
96892011-06-14 Ulrich Drepper <drepper@gmail.com>
9690
9691 * Versions.def: Add entry for libnss_db.
9692 * shlib-versions: Likewise.
9693 * nss/Makefile: Add rules to build libnss_db.
9694 * nss/Versions: Add libnss_db information. Organize libnss_files
9695 entries better.
9696 * nss/db-Makefile: Add gshadow support. Change rules for the new
9697 makedb progra. Some minor improvements to generate smaller files.
9698 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9699 here from...
9700 * nss/makedb.c: ...here.
9701 Improve database format to be smaller and require less memory at
9702 runtime.
9703 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9704 db anymore.
9705 * nss/nss_db/db-netgrp.c: Likewise.
9706 * nss/nss_db/db-open.c: Likewise.
9707 * nss/nss_files/flies-XXX.x: Adjust comments.
9708 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9709 * nss/nss_files/files-grp.c: Likewise.
9710 * nss/nss_files/files-hosts.c: Likewise.
9711 * nss/nss_files/files-network.c: Likewise.
9712 * nss/nss_files/files-proto.c: Likewise.
9713 * nss/nss_files/files-pwd.c: Likewise.
9714 * nss/nss_files/files-rpc.c: Likewise.
9715 * nss/nss_files/files-service.c: Likewise.
9716 * nss/nss_files/files-sgrp.c: Likewise.
9717 * nss/nss_files/files-spwd.c: Likewise.
9718 * nss/nss_db/db-alias.c: Removed.
9719 * nss/nss_db/dummy-db.h: Removed.
9720
9ee76b5a
UD
97212011-06-02 Ulrich Drepper <drepper@gmail.com>
9722
9723 * nss/makedb.c: Rewritten to not use database library.
9724 * nss/Makefile: Update to build new makedb program.
9725
c71ca1f8
AJ
97262011-06-14 Andreas Jaeger <aj@suse.de>
9727
9728 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9729 memset declaration.
9730
3154bfb8
UD
97312011-06-10 Andreas Schwab <schwab@redhat.com>
9732
9733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9734 tmpbuf.
9735
b350afab
RM
97362011-06-10 Roland McGrath <roland@hack.frob.com>
9737
decd4e50
RM
9738 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9739 * elf/Makefile ($(objpfx)ld.so): Likewise.
9740
5615eaf2
RM
9741 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9742 Don't list ld.so twice in dependencies.
9743
9744 * posix/bug-regex31.c: Include <stdlib.h>.
9745
9746 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9747
9748 * nis/nss_compat/compat-spwd.c
9749 (getspent_next_nss_netgr): Remove unused variable.
9750 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9751
9752 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9753 nonmembers" output to use the right array.
9754
9755 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9756
9757 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9758
9759 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9760 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9761 * catgets/gencat.c (read_input_file): Likewise.
9762 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9763
9764 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9765 variable definition inside #if's controlling its use.
9766
9767 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9768
9769 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9770
9771 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9772
9773 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9774 unreachable code.
9775
9776 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9777
b68e08db
RM
9778 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9779 * configure: Regenerated.
9780
b350afab
RM
9781 * Makerules: Revert last change.
9782 * elf/Makefile: Likewise.
9783
28368601
RM
97842011-06-09 Roland McGrath <roland@hack.frob.com>
9785
9786 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9787 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9788 (reloc-link): Likewise.
9789
11988f8f
UD
97902011-06-09 Ulrich Drepper <drepper@gmail.com>
9791
9792 * elf/Makefile: Add rules to build pldd.
9793 * elf/pldd.c: New file.
9794 * elf/pldd-xx.c: New file.
9795
e80fab37
UD
97962011-06-07 Ulrich Drepper <drepper@gmail.com>
9797
9798 * version.h: Update for 2.15 development version.
9799
9b849836
DM
98002011-06-07 David S. Miller <davem@davemloft.net>
9801
9802 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9803 ifuncs.
9804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9805 elf_machine_lazy_rel): Likewise.
9806 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9808 elf_machine_lazy_rel): Likewise.
9809 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9810 dl_hwcap via passed in argument.
9811 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9812 Likewise.
9813
5a31b283
AK
98142011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9815
9816 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9817
069e52f8
RM
98182011-06-06 Roland McGrath <roland@hack.frob.com>
9819
9820 [BZ #12849]
9821 * manual/fdl-1.1.texi: New file, verbatim from:
9822 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9823 * manual/lgpl-2.1.texi: New file, verbatim from:
9824 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9825 * manual/Makefile (licenses): New variable, list those new file names.
9826 (texis): Use it.
9827 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9828
9829 * manual/fdl.texi: File removed.
9830 * manual/lesser.texi: File removed.
9831 * manual/libc.texinfo (Copying, Documentation License):
9832 Use new @include file names, put @appendix directive before @include.
9833
f16846a5
JJ
98342011-06-04 Jakub Jelinek <jakub@redhat.com>
9835
9836 [BZ #12841]
9837 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9838 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9839 (mq_open): Add __NTH.
9840
3d29045b
L
98412011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9842
9843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9844 Assume Intel Core i3/i5/i7 processor if AVX is available.
9845
8c297311
UD
98462011-05-31 Ulrich Drepper <drepper@gmail.com>
9847
9848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9849 typo.
9850
c8fc0c91
UD
98512011-05-31 Andreas Schwab <schwab@redhat.com>
9852
9853 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9854 memory. Use alloca_account. Fix memory leak when retrying.
9855
5b27a807
UD
98562011-05-31 Ulrich Drepper <drepper@gmail.com>
9857
356f8bc6
UD
9858 * version.h (RELEASE): Bump for 2.14 release.
9859 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9860
5b27a807
UD
9861 * config.make.in (RANLIB): Remove entry.
9862
01f16ab0
UD
98632011-05-30 Ulrich Drepper <drepper@gmail.com>
9864
41fce8bd
UD
9865 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9866 (libc.pot): Work around missing support for .ksh extension in xgettext.
9867
4769ae77
UD
9868 [BZ #12684]
9869 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9870 if both request failed.
9871 (send_dg): In case of server errors clear resplen or *resplen2.
9872
6b1e7d19
UD
9873 [BZ #12454]
9874 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9875 when there are multiple maps.
9876 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9877 (_dl_fini): Remove test here.
9878
01f16ab0
UD
9879 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9880
b1ebd700
UD
98812011-05-29 Ulrich Drepper <drepper@gmail.com>
9882
7ae22829
UD
9883 [BZ #12350]
9884 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9885 bit from old_res_options.
9886 (gaih_inet): Likewise.
9887
553149f6 9888 [BZ #11099]
18a84741 9889 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9890 as signed.
9891
652ffab1
UD
9892 * resolv/res_init.c (res_setoptions): Make the code more compact.
9893
16985fd0
UD
9894 [BZ #11558]
9895 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9896 set RES_USEVC.
9897
0464f746
UD
9898 [BZ #11634]
9899 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9900
7d17596c
UD
9901 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9902
cf6bbbd7
UD
9903 [BZ #11781]
9904 * malloc/malloc.h: Declare malloc hook variables as volatile.
9905
13f1ab36
UD
9906 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9907 in last patch.
9908
b1ebd700
UD
9909 [BZ #11799]
9910 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9911 raise in the comment.
80e2212d
UD
9912 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9913 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9914 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9915
ce67228d
UD
99162011-05-28 Ulrich Drepper <drepper@gmail.com>
9917
8887a920
UD
9918 [BZ #12811]
9919 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9920 grow the buffers more if it already has to be sufficient.
9921 (build_wcs_upper_buffer): Likewise.
9922 * posix/regexec.c (check_matching): Likewise.
9923 (clean_state_log_if_needed): Likewise.
9924 (extend_buffers): Don't enlarge buffers beyond size of the input
9925 buffer.
9926 Patches mostly by Emil Wojak <emil@wojak.eu>.
9927 * posix/bug-regex32.c: New file.
9928 * posix/Makefile (tests): Add bug-regex32.
9929
4f031072
UD
9930 * locale/findlocale.c (_nl_find_locale): Return right away if
9931 _nl_explode_name failed.
9932 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9933
d0478f0c
UD
9934 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9935
de81b246
UD
9936 * debug/xtrace.sh: Unify messages.
9937 * malloc/memusage.sh: Likewise.
9938
c738465a
UD
9939 [BZ #12813]
9940 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9941 time symbol from vDSO. Substitute with vsyscall if not available.
9942 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9943 __vdso_time.
9944
f1f929d7
UD
9945 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9946 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9947 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9948 Add sendmmsg and internal_sendmmsg.
9949 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9950 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9951 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9952
ce67228d
UD
9953 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9954 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9955 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9956
e57420c6
UD
99572011-05-27 Ulrich Drepper <drepper@gmail.com>
9958
a8509ca5
UD
9959 [BZ #12813]
9960 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9961 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9962 available.
9963 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9964 __vdso_getcpu.
9965
e57420c6
UD
9966 [BZ #12814]
9967 * iconvdata/Makefile (tests): Add bug-iconv9.
9968 * iconvdata/bug-iconv9.c: New file.
9969
4d07db15
AS
99702011-05-27 Andreas Schwab <schwab@redhat.com>
9971
9972 [BZ #12814]
9973 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9974
ea486f69
JJ
99752011-05-25 Jakub Jelinek <jakub@redhat.com>
9976
9977 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9978 (struct user_regs_struct): Change intcs field back to cs.
9979
6f038433
UD
99802011-05-25 Ulrich Drepper <drepper@gmail.com>
9981
9982 * po/ja.po: Update from translation team.
9983
67f86a25
UD
99842011-05-23 Ulrich Drepper <drepper@gmail.com>
9985
9986 [BZ #12795]
9987 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9988 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9989
def7fbd6
AS
99902011-05-20 Andreas Schwab <schwab@redhat.com>
9991
9992 * stdlib/longlong.h: Update from GCC.
9993
f50ef8f1
AS
99942011-05-23 Andreas Schwab <schwab@redhat.com>
9995
9996 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9997 parameter name.
9998 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9999 Add parameter name.
10000 (__sysconf): Pass it down.
10001
de7ce8f1
UD
100022011-05-22 Ulrich Drepper <drepper@gmail.com>
10003
f2962a71
UD
10004 [BZ #12671]
10005 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10006 some situations.
10007 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10008 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10009 add in in __libc_use_alloca calls. Adjust callers.
10010 (glob): Use malloc in some situations.
10011
de7ce8f1
UD
10012 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10013 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10014 pltexit.
10015
aec84f53
UD
100162011-05-21 Ulrich Drepper <drepper@gmail.com>
10017
05bb4a68
UD
10018 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10019 and CLOCK_BOOTTIME_ALARM.
10020
7ea72f99
UD
10021 [BZ #12782]
10022 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10023 is returned.
10024
7e4afad5
UD
10025 * string/_strerror.c (__strerror_r): Print negative errors as signed
10026 numbers.
10027
8e211fec
UD
10028 [BZ #12777]
10029 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10030 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10031 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10032
f7d82dc9
UD
10033 * configure.in: Fix typo in redirection and correct removal of test
10034 files in two cases.
10035
cc9e536d
UD
10036 [BZ #12788]
10037 * locale/setlocale.c (new_composite_name): Fix test to check for
10038 identical name of all categories.
10039
aec84f53
UD
10040 [BZ #12792]
10041 * libio/filedoalloc.c (local_isatty): New function.
10042 (_IO_file_doallocate): Use local_isatty.
10043 * stdio-common/perror.c (perror): In case a new stream is used
10044 forward the stream error.
10045 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10046 error flag.
10047
78e64fdc
RT
100482011-05-20 Ulrich Drepper <drepper@gmail.com>
10049
34a9094f
UD
10050 [BZ #11869]
10051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10052 alloca.
10053 * include/alloca.h (extend_alloca_account): Define.
10054
78e64fdc
RT
10055 [BZ #11857]
10056 * posix/regex.h: Fix comments with documentation of user-accessible
10057 fields after compilation and describe correct free'ing of pattern
10058 after re_compile_pattern.
10059 Patch by Reuben Thomas <rrt@sc3d.org>.
10060
457bddfc
RA
100612011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10062
10063 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10064 and -mno-altivec to prevent the compiler from using Altivec and/or
10065 VSX instructions when the corresponding registers are not available.
10066
a4527b51
AS
100672011-05-19 Andreas Schwab <schwab@redhat.com>
10068
10069 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10070
ed690b2f
UD
100712011-05-19 Ulrich Drepper <drepper@gmail.com>
10072
10073 * libio/freopen.c (freopen): Use __dup2, not dup2.
10074 * libio/freopen64.c (freopen64): Likewise.
10075
8db73634
L
100762011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10077
10078 [BZ #12775]
10079 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10080 * math/Makefile (tests): Add test-powl.
10081 (CFLAGS-test-powl.c): Define.
10082 * math/test-powl.c: New file.
10083
0a197a9d
L
100842011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10085
10086 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10087
ee30c380
UD
100882011-05-17 Ulrich Drepper <drepper@gmail.com>
10089
10090 [BZ #11837]
10091 * iconvdata/gb18030.c: Update to GB18020-2005.
10092
6ce75379
UD
100932011-05-16 Ulrich Drepper <drepper@gmail.com>
10094
a4b89fd8
AR
10095 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10096 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10097 Patch by Aharon Robbins <arnold@skeeve.com>.
10098
ea389b12
UD
10099 [BZ #11892]
10100 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10101 on the stack.
10102
68a3f91f
UD
10103 [BZ #11895]
10104 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10105 through underflows.
10106
15cc7dd1
UD
10107 [BZ #12766]
10108 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10109 point to strings before performing equality test for error_one_per_line
10110 mode.
10111
f3799213
UD
10112 [BZ #11697]
10113 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10114
d79a9c94
UD
10115 [BZ #11820]
10116 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10117 (struct user_fpregs_struct): Avoid __uint*_t types.
10118
56e5eb46
UD
10119 [BZ #6420]
10120 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10121 symbol info. Use it instead of calling _dl_addr locally.
10122 (lock_and_info): New function.
10123 (tr_freehook): Call lock_and_info and pass symbol info as additional
10124 parameter to tr_where.
10125 (tr_mallochook): Likewise.
10126 (tr_reallochook): Likewise.
10127 (tr_memalignhook): Likewise.
10128
6ce75379
UD
10129 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10130 used and couldn't be at all thread-safe.
10131
f8a3b5bf
UD
101322011-05-15 Ulrich Drepper <drepper@gmail.com>
10133
94b7cc37
UD
10134 * libio/freopen.c (freopen): Don't close old file descriptor
10135 before the new one is opened. Instead dup the new file descriptor
10136 to the old one after the new stream is created.
10137 * libio/freopen64.c (freopen64): Likewise.
10138 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10139 * libio/fileops.c (_IO_new_file_close_it): Handle new
10140 _IO_FLAGS2_NOCLOSE flag.
10141 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10142 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10143 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10144 _IO_FLAGS2_NOCLOSE flag.
10145 * include/unistd.h: Add hidden_proto for dup3.
10146 Define __have_dup3.
10147 * io/dup3.c: Define hidden symbol.
10148 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10149
bd25564e
UD
10150 [BZ #7101]
10151 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10152 when an incomplete long option is used.
10153 * posix/tst-getopt_long1.c: New file.
10154 * posix/Makefile (tests): Add tst-getopt_long1.
10155
c84cfef4
UD
10156 [BZ #10138]
10157 * scripts/config.guess: Update from autoconf-2.68.
10158 * scripts/config.sub: Likewise.
10159
3b85df27
UD
10160 [BZ #10157]
10161 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10162 tests into ...
10163 (has_cpuclock): ...this. New function.
10164 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10165 macro here based on has_cpuclock code.
10166
15a856b1
UD
10167 [BZ #10149]
10168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10169 First byte (not low byte) is now always NUL.
10170 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10171
05f399e6
UD
10172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10173 Use non-cancelable interfaces.
10174
10a52685 10175 [BZ #9809]
94ecc67d
UD
10176 * locale/iso-639.def: Add entry for Sorani.
10177
f8a3b5bf
UD
10178 [BZ #11901]
10179 * include/stdlib.h: Move include protection to the right place.
10180 Define abort_msg_s. Declare __abort_msg with it.
10181 * stdlib/abort.c (__abort_msg): Adjust type.
10182 * assert/assert.c (__assert_fail_base): New function. Majority
10183 of code from __assert_fail. Allocate memory for __abort_msg with
10184 mmap.
10185 (__assert_fail): Now call __assert_fail_base.
10186 * assert/assert-perr.c: Remove bulk of implementation. Use
10187 __assert_fail_base.
10188 * include/assert.hL Declare __assert_fail_base.
10189 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10190 mmap.
10191 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10192
1af4e298
UD
101932011-05-14 Ulrich Drepper <drepper@gmail.com>
10194
f8a3b5bf 10195 [BZ #11952]
d26dfc60
MG
10196 [BZ #12453]
10197 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10198 until all modules are registered in the DTV.
10199 * elf/Makefile: Add rules to build and run tst-tls19.
10200 * elf/tst-tls19.c: New file.
10201 * elf/tst-tls19mod1.c: New file.
10202 * elf/tst-tls19mod2.c: New file.
10203 * elf/tst-tls19mod3.c: New file.
10204 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10205
2fc54d6f
UD
10206 [BZ #12083]
10207 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10208 correctly.
10209
98d76b46
UD
10210 [BZ #12601]
10211 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10212 two-byte sequence errors.
10213 * iconvdata/Makefile (tests): Add bug-iconv8.
10214 * iconvdata/bug-iconv8.c: New file.
10215
da3c19ef
UD
10216 [BZ #12626]
10217 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10218 buf2 definition.
10219
ca408c15
UD
10220 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10221
d6f67f7d
UD
10222 [BZ #12432]
10223 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10224 (dummy_getcfa): New function.
10225 (init): Get _Unwind_GetCFA address, use dummy if not found.
10226 (backtrace_helper): In recursion check, also check whether CFA changes.
10227 (__backtrace): Completely initialize arg.
10228
1af4e298 10229 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10230 storing incomplete byte sequence in state object. Avoid testing for
10231 guaranteed too small input if we know there is enough data available.
1af4e298 10232
da62f81b
AS
102332011-05-11 Andreas Schwab <schwab@redhat.com>
10234
10235 * Makeconfig (+link-pie): Indent.
10236 * Rules (binaries-pie): Define if $(have-fpie) and
10237 $(build-shared).
10238 (binaries-shared): Also filter out $(binaries-pie).
10239 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10240 * nscd/Makefile (others-pie): Add nscd.
10241 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10242 ($(objpfx)nscd): Remove command override.
10243 * login/Makefile (others-pie): Add pt_chown.
10244 ($(objpfx)pt_chown): Remove command override.
10245 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10246 remove command overrides.
10247
fcabc0f8
UD
102482011-05-13 Ulrich Drepper <drepper@gmail.com>
10249
20030ae6
UD
10250 * libio/tst_putwc.c: Fix error messages.
10251
fcabc0f8
UD
10252 [BZ #12724]
10253 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10254 currently writing and seek to current position when not.
10255 * libio/Makefile (tests): Add bug-fclose1.
10256 * libio/bug-fclose1.c: New file.
10257
320a5dc0
PB
102582011-05-12 Ulrich Drepper <drepper@gmail.com>
10259
10260 [BZ #12511]
10261 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10262 don't set DF_1_NODELETE here.
10263 (do_lookup_x): When entering new entry test for copy relocation
10264 and if necessary set DF_1_NODELETE flag.
10265 * elf/tst-unique4.cc: New file.
10266 * elf/tst-unique4.h: New file.
10267 * elf/tst-unique4lib.cc: New file.
10268 * elf/Makefile: Add rules to build and run tst-unique4.
10269 Patch by Piotr Bury <pbury@goahead.com>.
10270
22836f52
UD
102712011-05-11 Ulrich Drepper <drepper@gmail.com>
10272
f574184a
UD
10273 [BZ #12052]
10274 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10275
e1fb097f
UD
10276 [BZ #12625]
10277 * misc/mntent_r.c (addmntent): Flush the stream after the output
10278
22836f52
UD
10279 [BZ #12393]
10280 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10281 (is_trusted_path_normalize): Skip initial colon. Append slash
10282 to empty buffer. Duplicate is_trusted_path code but allow
10283 constructed patch to be prefix.
10284 (is_dst): Allow $ORIGIN followed by /.
10285 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10286 Correct testing of result of is_trusted_path_normalize
10287 (decompose_rpath): Fix warning.
10288
7b3b0b2a
UD
102892011-05-10 Ulrich Drepper <drepper@gmail.com>
10290
10291 [BZ #11257]
10292 * grp/initgroups.c (internal_getgrouplist): When we found the service
10293 list through the initgroups entry in nsswitch.conf do not always
10294 continue on a successful lookup. Don't always use the
eac80ce2 10295 __nss_group_database value if it is set.
7b3b0b2a
UD
10296 * nss/nsswitch.conf (initgroups): Change action for successful db
10297 lookup to continue for compatibility.
10298
2a81eaa5
UD
102992011-05-09 Ulrich Drepper <drepper@gmail.com>
10300
be97a69e
UD
10301 [BZ #11532]
10302 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10303 and CP774 modules.
10304 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10305 and CP774 modules.
10306 * iconvdata/tst-tables.sh: Likewise.
10307 * iconvdata/cp770.c: New file.
10308 * iconvdata/cp771.c: New file.
10309 * iconvdata/cp772.c: New file.
10310 * iconvdata/cp773.c: New file.
10311 * iconvdata/cp774.c: New file.
10312 * iconvdata/testdata/CP770: New file.
10313 * iconvdata/testdata/CP770..UTF8: New file.
10314 * iconvdata/testdata/CP771: New file.
10315 * iconvdata/testdata/CP771..UTF8: New file.
10316 * iconvdata/testdata/CP772: New file.
10317 * iconvdata/testdata/CP772..UTF8: New file.
10318 * iconvdata/testdata/CP773: New file.
10319 * iconvdata/testdata/CP773..UTF8: New file.
10320 * iconvdata/testdata/CP774: New file.
10321 * iconvdata/testdata/CP774..UTF8: New file.
10322
10323 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10324 END CHARMAP line.
10325 * iconvdata/gen-8bit-gap.sh: Likewise.
10326 * iconvdata/gen-8bit.sh: Likewise.
10327
c1e9e399
UD
10328 * locale/iso-639.def: Add ary entry.
10329
24c55fb3 10330 [BZ #11258]
96b4b1b0
UD
10331 * locale/C-translit.h.in: Add U20A1 transliteration.
10332
bdc2f971
KB
10333 [BZ #12178]
10334 * locale/iso-639.def: Add wae entry.
10335 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10336
2952b117
UD
10337 [BZ #12545]
10338 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10339 for n.
10340
2a81eaa5
UD
10341 [BZ #12711]
10342 * locale/C-translit.h.in: Add entry for U20B9.
10343 Patch by pravin.d.s@gmail.com.
10344
28377d1b
UD
103452011-05-08 Ulrich Drepper <drepper@gmail.com>
10346
7fb90fb8
UD
10347 [BZ #12713]
10348 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10349 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10350 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10351 in rtld. Use *stat64.
7fb90fb8 10352 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10353 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10354 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10355 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10356 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10357 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10358 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10359 __fstatat64 macros.
7fb90fb8
UD
10360 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10361 * dirent/rewinddir.c: Add libc_hidden_def.
10362 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10363 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10364
28377d1b
UD
10365 * include/dirent.h (__alloc_dir): Add flags parameter.
10366 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10367 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10368 __alloc_dir.
10369 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10370 from fdopendir if O_CLOEXEC is already set.
10371
66bdbaa4
AM
103722011-03-15 Alan Modra <amodra@gmail.com>
10373
10374 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10375 l_tls_firstbyte_offset non-zero. Save padding offset in
10376 l_tls_firstbyte_offset for later use.
10377 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10378 freeing static tls block.
10379
95721191
JN
103802011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10381
10382 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10383 where #ifdef was intended. The intent is to prevent ARG_MAX from
10384 being defined by the kernel headers.
10385
f87dfb1f
UD
103862011-05-07 Ulrich Drepper <drepper@gmail.com>
10387
10388 [BZ #12734]
10389 * resolv/resolv.h: Define RES_NOTLDQUERY.
10390 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10391 no-tld-query and set RES_NOTLDQUERY.
10392 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10393 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10394 modern BIND to search name as TLD unless forbidden.
10395
47c3cd7a
UD
103962011-05-07 Petr Baudis <pasky@suse.cz>
10397 Ulrich Drepper <drepper@gmail.com>
10398
10399 [BZ #12393]
10400 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10401 (is_trusted_path): ...to here.
c1e9ea35 10402 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10403 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10404 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10405
8a35c912
PP
104062011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10407
10408 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10409 __BEGIN/__END_DECLS.
10410
acd41f47
UD
104112011-05-06 Ulrich Drepper <drepper@gmail.com>
10412
10413 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10414 NSS_STATUS_NOTFOUND if no record was found.
10415
597df647
AS
104162011-05-05 Andreas Schwab <schwab@redhat.com>
10417
10418 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10419 (headers-not-in-tirpc): Remove rpc/netdb.h
10420 * resolv/netdb.h: Revert last change.
10421
b9af1301
PP
104222011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10423
10424 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10425 circular dependency between libgcc.a and libc.a.
10426
4e34d5f5
AS
104272011-05-05 Andreas Schwab <schwab@redhat.com>
10428
10429 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10430 * nis/Makefile: Don't install rpcsvc/*.
10431 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10432 instead of <rpc/types.h>.
10433 (MAXHOSTNAMELEN): Define.
10434
00ee369c
AS
104352011-05-03 Andreas Schwab <schwab@redhat.com>
10436
10437 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10438
0b592a30
MB
104392011-04-28 Maciej Babinski <mbabinski@google.com>
10440
10441 [BZ #12714]
10442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10443 gethostbyname4_r when IPv6 results are possible.
10444
6e04cbbe
UD
104452011-05-02 Ulrich Drepper <drepper@gmail.com>
10446
10447 [BZ #12723]
10448 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10449 _PC_PIPE_BUF handling.
10450
e4ecafe0
BH
104512011-04-30 Bruno Haible <bruno@clisp.org>
10452
10453 [BZ #12717]
10454 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10455 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10456 to 'int'.
10457 * inet/getnameinfo.c (getnameinfo): Likewise.
10458
125ee683
UD
104592011-04-29 Ulrich Drepper <drepper@gmail.com>
10460
10461 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10462 to groups setting in database lookup.
10463 * nss/nsswitch.conf: Add initgroups entry.
10464
b722481a
EB
104652011-04-22 Ulrich Drepper <drepper@gmail.com>
10466
10467 [BZ #12685]
10468 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10469 mode string.
10470 Patch by Eric Blake <eblake@redhat.com>.
10471
4df46dbd
L
104722011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10473
10474 * sunrpc/Makefile (need-export-routines): Add svc_run.
10475 (routines): Remove svc_run.
10476 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10477 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10478 * sunrpc/svc_run.c (svc_run): Likewise.
10479 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10480
e84142d2
UD
104812011-04-21 Ulrich Drepper <drepper@gmail.com>
10482
10483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10484 problem in reallocation in last patch.
10485
877175d8
UD
104862011-04-20 Ulrich Drepper <drepper@gmail.com>
10487
10488 * sunrpc/Makefile: Move inclusion of Rules.
10489
ab8eed78
UD
104902011-04-19 Ulrich Drepper <drepper@gmail.com>
10491
10492 * nss/nss_files/files-initgroups.c: New file.
10493 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10494 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10495 _nss_files_initgroups_dyn.
10496
e3d8f584
RS
104972011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10498
10499 * elf/elf.h (R_ARM_IRELATIVE): Define.
10500
af190f45
UD
105012011-04-19 Ulrich Drepper <drepper@gmail.com>
10502
10503 * po/ru.po: Update from translation team.
10504
53cf59ef
UD
105052011-04-17 Ulrich Drepper <drepper@gmail.com>
10506
10507 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10508 dependencies.
10509
4c559bcd
MF
105102011-02-06 Mike Frysinger <vapier@gentoo.org>
10511
10512 [BZ #12653]
10513 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10514 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10515 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10517 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10518
4420675c
AS
105192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10520
10521 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10522 differing bytes.
10523 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10524 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10525 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10526
75ea32ab
UD
105272011-04-17 Ulrich Drepper <drepper@gmail.com>
10528
10529 [BZ #12420]
10530 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10531 storing it.
10532 * stdlib/bug-getcontext.c: New file.
10533 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10534
27390476
AK
105352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10536
10537 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10538 instructions into .machine "z9-109".
10539 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10540 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10541
10442705
AK
105422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10543
10544 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10545 between environment variables and auxiliary vector.
10546
7b57bfe5
UD
105472011-04-16 Ulrich Drepper <drepper@gmail.com>
10548
10549 * Makefile: Add rules to build linkobj/libc.so.
10550 * include/libc-symbols.h: Define libc_hidden_nolink.
10551 * include/rpc/auth.h: Mark functions which are to be hidden.
10552 * include/rpc/auth_des.h: Likewise.
10553 * include/rpc/auth_unix.h: Likewise.
10554 * include/rpc/clnt.h: Likewise.
10555 * include/rpc/des_crypt.h: Likewise.
10556 * include/rpc/key_prot.h: Likewise.
10557 * include/rpc/pmap_clnt.h: Likewise.
10558 * include/rpc/pmap_prot.h: Likewise.
10559 * include/rpc/pmap_rmt.h: Likewise.
10560 * include/rpc/rpc_msg.h: Likewise.
10561 * include/rpc/svc.h: Likewise.
10562 * include/rpc/svc_auth.h: Likewise.
10563 * include/rpc/xdr.h: Likewise.
10564 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10565 * nss/Makefile: Likewise.
10566 * sunrpc/Makefile: Don't install headers. Build library with normal
10567 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10568 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10569 for the compat linking library. Remove use of INTDEF/INTUSE.
10570 * sunrpc/auth_none.c: Likewise.
10571 * sunrpc/auth_unix.c: Likewise.
10572 * sunrpc/authdes_prot.c: Likewise.
10573 * sunrpc/authuxprot.c: Likewise.
10574 * sunrpc/clnt_gen.c: Likewise.
10575 * sunrpc/clnt_perr.c: Likewise.
10576 * sunrpc/clnt_raw.c: Likewise.
10577 * sunrpc/clnt_simp.c: Likewise.
10578 * sunrpc/clnt_tcp.c: Likewise.
10579 * sunrpc/clnt_udp.c: Likewise.
10580 * sunrpc/clnt_unix.c: Likewise.
10581 * sunrpc/des_crypt.c: Likewise.
10582 * sunrpc/des_soft.c: Likewise.
10583 * sunrpc/get_myaddr.c: Likewise.
10584 * sunrpc/key_call.c: Likewise.
10585 * sunrpc/key_prot.c: Likewise.
10586 * sunrpc/netname.c: Likewise.
10587 * sunrpc/pm_getmaps.c: Likewise.
10588 * sunrpc/pm_getport.c: Likewise.
10589 * sunrpc/pmap_clnt.c: Likewise.
10590 * sunrpc/pmap_prot.c: Likewise.
10591 * sunrpc/pmap_prot2.c: Likewise.
10592 * sunrpc/pmap_rmt.c: Likewise.
10593 * sunrpc/publickey.c: Likewise.
10594 * sunrpc/rpc_cmsg.c: Likewise.
10595 * sunrpc/rpc_common.c: Likewise.
10596 * sunrpc/rpc_dtable.c: Likewise.
10597 * sunrpc/rpc_prot.c: Likewise.
10598 * sunrpc/rpc_thread.c: Likewise.
10599 * sunrpc/rtime.c: Likewise.
10600 * sunrpc/svc.c: Likewise.
10601 * sunrpc/svc_auth.c: Likewise.
10602 * sunrpc/svc_authux.c: Likewise.
10603 * sunrpc/svc_raw.c: Likewise.
10604 * sunrpc/svc_run.c: Likewise.
10605 * sunrpc/svc_simple.c: Likewise.
10606 * sunrpc/svc_tcp.c: Likewise.
10607 * sunrpc/svc_udp.c: Likewise.
10608 * sunrpc/svc_unix.c: Likewise.
10609 * sunrpc/svcauth_des.c: Likewise.
10610 * sunrpc/xcrypt.c: Likewise.
10611 * sunrpc/xdr.c: Likewise.
10612 * sunrpc/xdr_array.c: Likewise.
10613 * sunrpc/xdr_float.c: Likewise.
10614 * sunrpc/xdr_intXX_t.c: Likewise.
10615 * sunrpc/xdr_mem.c: Likewise.
10616 * sunrpc/xdr_rec.c: Likewise.
10617 * sunrpc/xdr_ref.c: Likewise.
10618 * sunrpc/xdr_sizeof.c: Likewise.
10619 * sunrpc/xdr_stdio.c: Likewise.
10620
e6c61494
UD
106212011-04-10 Ulrich Drepper <drepper@gmail.com>
10622
10623 [BZ #12650]
10624 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10625 * sysdeps/ia64/dl-tls.h: Likewise.
10626 * sysdeps/powerpc/dl-tls.h: Likewise.
10627 * sysdeps/s390/dl-tls.h: Likewise.
10628 * sysdeps/sh/dl-tls.h: Likewise.
10629 * sysdeps/sparc/dl-tls.h: Likewise.
10630 * sysdeps/x86_64/dl-tls.h: Likewise.
10631 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10632
34fe483e
AS
106332011-03-14 Andreas Schwab <schwab@redhat.com>
10634
10635 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10636 rpath element also skip the following colon.
10637 (expand_dynamic_string_token): Add is_path parameter and pass
10638 down to DL_DST_REQUIRED and _dl_dst_substitute.
10639 (decompose_rpath): Call expand_dynamic_string_token with
10640 non-zero is_path. Ignore empty rpaths.
10641 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10642 with zero is_path.
10643
f12a32e6
AS
106442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10645
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10647 Make cancelable.
10648
38a7d692
UD
106492011-04-09 Ulrich Drepper <drepper@gmail.com>
10650
10651 [BZ #12655]
10652 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10653 Patch by Filipe David Manana <fdmanana@apache.org>.
10654
e451d22b
AS
106552011-04-07 Andreas Schwab <schwab@redhat.com>
10656
10657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10658 Maintain aligned stack.
10659 (CHECK_RSP): Remove unused macro.
10660
dedc7c7b
UD
106612011-04-03 Ulrich Drepper <drepper@gmail.com>
10662
10663 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10664 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10665
94521213
UD
106662011-04-02 Ulrich Drepper <drepper@gmail.com>
10667
10668 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10669
8cb700c0 10670 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10671
0354e355
L
106722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10673
10674 [BZ #12518]
10675 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10676 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10677 * sysdeps/x86_64/memmove.c: New file.
10678 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10679 (memcpy): Renamed to ...
10680 (__new_memcpy): This.
10681 (memcpy): Provide GLIBC_2_14 memcpy.
10682 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10683 (memcpy): Provide GLIBC_2_2_5 memcpy.
10684
8593482f
UD
106852011-04-01 Ulrich Drepper <drepper@gmail.com>
10686
10687 [BZ #12631]
10688 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10689
81a5726b
AS
106902011-03-30 Andreas Schwab <schwab@redhat.com>
10691
10692 * misc/syncfs.c: New file.
10693 * misc/Makefile (routines): Add syncfs.
10694 * posix/unistd.h: Declare syncfs.
10695 * sysdeps/unix/syscalls.list: Add syncfs.
10696
00e5419f
AS
106972011-04-01 Andreas Schwab <schwab@redhat.com>
10698
10699 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10700 open_by_handle_at.
10701 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10702 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10706 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10708
748876bf
UD
107092011-04-01 Ulrich Drepper <drepper@gmail.com>
10710
658e451d
UD
10711 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10712 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10713 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10715 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10718
748876bf
UD
10719 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10720 sync_file_range.c with -fexceptions.
10721 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10722 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10723 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10724 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10725 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10726 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10728 sync_file_range as cancellation point
10729 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10730 now a wrapper around __call_sync_file_range with cancellation handling.
10731 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10732 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10733 function name to __call_sync_file_range.
10734 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10735 Add call_sync_file_range.
748876bf 10736
6e63d5e1
AS
107372011-04-01 Andreas Schwab <schwab@redhat.com>
10738
10739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10740 bits/timex.h.
6e63d5e1 10741
46998f74
UD
107422011-04-01 Ulrich Drepper <drepper@gmail.com>
10743
4c1423ed
UD
10744 * iconv/iconv.h: Fix typo in comment.
10745 * io/fcntl.h: Likewise.
10746 * libio/stdio.h: Likewise.
10747 * posix/spawn.h: Likewise.
10748 * posix/unistd.h: Likewise.
10749 * stdlib/stdlib.h: Likewise.
10750 * time/time.h: Likewise.
10751 * wcsmbs/wchar.h: Likewise.
10752
158648c0
UD
10753 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10754 open_by_handle): Add.
10755 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10756 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10757 Augment a few comments.
10758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10763 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10764 open_by_handle.
10765
46998f74
UD
10766 * io/fcntl.h (AT_EMPTY_PATH): Define.
10767
83fe108b
UD
107682011-03-30 Ulrich Drepper <drepper@gmail.com>
10769
10770 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10771 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10772 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10773 to...
10774 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10775 * Versions.def: Add GLIBC_2.14.
10776 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10777 Export.
83fe108b 10778
bb242059
UD
107792011-03-22 Ulrich Drepper <drepper@gmail.com>
10780
10781 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10782 round counter.
10783 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10784
c97a1282
L
107852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 [BZ #12597]
10788 * string/test-strncmp.c (do_page_test): New function.
10789 (check2): Likewise.
10790 (test_main): Call check2.
10791 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10792
2a115601
UD
107932011-03-20 Ulrich Drepper <drepper@gmail.com>
10794
10795 [BZ #12587]
10796 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10797 Handle cache information in CPU leaf 4.
10798 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10799
8126d904
UD
108002011-03-18 Ulrich Drepper <drepper@gmail.com>
10801
042c49c6 10802 [BZ #12583]
8126d904
UD
10803 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10804 character representation.
10805 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10806
ccfe366e
RA
108072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10808
10809 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10810 END(__isnan) to END(__isnanf) to match function entry point/label
10811 EALIGN(__isnanf,...).
10812
c6e13027
JJ
108132011-03-10 Jakub Jelinek <jakub@redhat.com>
10814
10815 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10816
33f85a3f
UD
108172011-03-10 Ulrich Drepper <drepper@gmail.com>
10818
028478fa
UD
10819 [BZ #12510]
10820 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10821 copy from the symbol referenced in the relocation to initialize the
10822 used variable.
10823 Patch by Piotr Bury <pbury@goahead.com>.
10824 * elf/Makefile: Add rules to build and tst-unique3.
10825 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10826 * elf/tst-unique3.cc: New file.
10827 * elf/tst-unique3.h: New file.
10828 * elf/tst-unique3lib.cc: New file.
10829 * elf/tst-unique3lib2.cc: New file.
10830
33f85a3f
UD
10831 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10832
03592fc7
MF
108332011-03-10 Mike Frysinger <vapier@gentoo.org>
10834
10835 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10836 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10837 to _start.
03592fc7 10838
6a5ee102
UD
108392011-03-06 Ulrich Drepper <drepper@gmail.com>
10840
10841 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10842 to-be-loaded object along a path to loader is ld.so.
10843
7e4ba49c
HJ
108442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10845 Ulrich Drepper <drepper@gmail.com>
10846
10847 * sysdeps/x86_64/memset.S: After aligning destination, code
10848 branches to different locations depending on the value of
10849 misalignment, when multiarch is enabled. Fix this.
10850
108512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10852
10853 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10854 Set _x86_64_preferred_memory_instruction for AMD processsors.
10855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10856 Set bit_Prefer_SSE_for_memop for AMD processors.
10857
13a804de
UD
108582011-03-04 Ulrich Drepper <drepper@gmail.com>
10859
10860 * libio/fmemopen.c (fmemopen): Optimize a bit.
10861
9d25c392
AS
108622011-03-03 Andreas Schwab <schwab@redhat.com>
10863
10864 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10865
a5543c6a
RM
108662011-03-03 Roland McGrath <roland@redhat.com>
10867
10868 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10869
012d35f7
DM
108702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10871
7e4ba49c 10872 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10873 __bzero_ultra1 instead of __memset_ultra1.
10874
4bff6e01
AS
108752011-02-23 Andreas Schwab <schwab@redhat.com>
10876 Ulrich Drepper <drepper@gmail.com>
10877
10878 [BZ #12509]
10879 * include/link.h (struct link_map): Add l_orig_initfini.
10880 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10881 returning unsuccessfully.
10882 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10883 close of a file loaded at startup, restore the original l_initfini
10884 list.
10885 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10886 list, store the pointer.
10887 * elf/Makefile ($(objpfx)noload-mem): New rule.
10888 (noload-ENV): Define.
10889 (tests): Add $(objpfx)noload-mem.
10890 * elf/noload.c: Include <memcheck.h>.
10891 (main): Call mtrace. Close all opened handles.
10892
f2092faf
AS
108932011-02-17 Andreas Schwab <schwab@redhat.com>
10894
10895 [BZ #12454]
10896 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10897 dependencies are missing.
10898
6c8a2e88
ST
108992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10900
f2092faf 10901 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10902 Hurd needs munmap.
10903 * sysdeps/mach/hurd/ifreq.h: New file.
10904
84a42118
PB
109052011-01-27 Petr Baudis <pasky@suse.cz>
10906 Ulrich Drepper <drepper@gmail.com>
10907
071f805e 10908 [BZ 12445]#
84a42118
PB
10909 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10910 to extend_alloca().
10911 * stdio-common/bug23.c: New file.
10912 * stdio-common/Makefile (tests): Add bug23.
10913
e23fe25b
AS
109142010-09-28 Andreas Schwab <schwab@redhat.com>
10915 Ulrich Drepper <drepper@gmail.com>
10916
10917 [BZ #12489]
10918 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10919 before performing relro protection. At old place add assertion
10920 to make sure nothing changed.
10921
d3f02e10
NS
109222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10923 Glauber de Oliveira Costa <glommer@gmail.com>
10924
10925 * elf/elf.h: Add new ARM TLS relocs.
10926
d55fd7a5
RA
109272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10928
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10930 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10931 cast from r3.
10932 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10933 'tests' variable.
10934 * sysdeps/wordsize-64/tst-writev.c: New file.
10935
2206397e
RA
109362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10937
10938 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10939 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10940 insns in _dl_start to prevent a TOC reference before relocs are
10941 resolved.
10942
e9433893
UD
109432011-02-15 Ulrich Drepper <drepper@gmail.com>
10944
10945 [BZ #12469]
10946 * Makeconfig: Remove RANLIB definition.
10947 * Makerules: Don't use RANLIB.
10948 * aclocal.m4: Remove ranlib test.
10949 * configure.in: No need to check for ranlib.
10950 * elf/rtld-Rules: Don't use RANLIB.
10951
f75286c6
ST
109522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10953
8e31c82d
ST
10954 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10955 protection macro.
10956 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10957 inclusion protection macro.
10958
f75286c6
ST
10959 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10960 SIGRTMIN and SIGRTMAX and print information in that case only when
10961 SIGRTMIN is defined.
10962
c1d0e639
JJ
109632011-02-11 Jakub Jelinek <jakub@redhat.com>
10964
10965 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10966 arginfo fn returning -1.
10967
10968 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10969 and thousands string is zero terminated.
10970
edf9294e
AS
109712011-02-03 Andreas Schwab <schwab@redhat.com>
10972
10973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10974 sysdeps/unix/sysv/linux/bits/socket.h.
10975
2b7e92df
ST
109762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10977
edf9294e
AS
10978 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10979 (__CPU_COUNT): Remove old macros.
10980 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10981 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10982 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10983 (__sched_cpualloc, __sched_cpufree): Add declarations.
10984
a4c7ea7b
UD
109852011-02-05 Ulrich Drepper <drepper@gmail.com>
10986
10987 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10988 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10989 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10990 (readdhstai): Return value of addhstaiX call.
10991 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10992 (addgrbyX): Return value returned by cache_addgr.
10993 (readdgrbyname): Return value returned by addgrbyX.
10994 (readdgrbygid): Likewise.
10995 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10996 (addpwbyX): Return value returned by cache_addpw.
10997 (readdpwbyname): Return value returned by addhstbyX.
10998 (readdpwbyuid): Likewise.
10999 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11000 (addservbyX): Return value returned by cache_addserv.
11001 (readdservbyname): Return value returned by addservbyX:
11002 (readdservbyport): Likewise.
11003 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11004 (addhstbyX): Return value returned by cache_addhst.
11005 (readdhstbyname): Return value returned by addhstbyX.
11006 (readdhstbyaddr): Likewise.
11007 (readdhstbynamev6): Likewise.
11008 (readdhstbyaddrv6): Likewise.
11009 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11010 (readdinitgroups): Return value returned by addinitgroupsX.
11011 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11012 (prune_cache): Keep track of timeout value of re-added entries.
11013 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11014 * nscd/nscd.h: Adjust prototypes of readd* functions.
11015
a0bf67cc
RM
110162011-02-04 Roland McGrath <roland@redhat.com>
11017
11018 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11019 (nis_stats): Likewise.
11020 * nis/nis_modify.c (nis_modify): Likewise.
11021 * nis/nis_remove.c (nis_remove): Likewise.
11022 * nis/nis_add.c (nis_add): Likewise.
11023
11024 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11025
11026 * posix/fnmatch_loop.c: Add some consts.
11027
11028 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11029
435b95eb
L
110302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11031
11032 [BZ #12460]
11033 * config.make.in (config-cflags-novzeroupper): Define.
11034 * configure.in: Substitute libc_cv_cc_novzeroupper.
11035 * elf/Makefile (AVX-CFLAGS): Define.
11036 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11037 (CFLAGS-tst-auditmod4a.c): Likewise.
11038 (CFLAGS-tst-auditmod4b.c): Likewise.
11039 (CFLAGS-tst-auditmod6b.c): Likewise.
11040 (CFLAGS-tst-auditmod6c.c): Likewise.
11041 (CFLAGS-tst-auditmod7b.c): Likewise.
11042 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11043
8517b15e
UD
110442011-02-02 Ulrich Drepper <drepper@gmail.com>
11045
11046 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11047 function to the callback.
11048 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11049
10a656fe
AS
110502011-02-02 Andreas Schwab <schwab@redhat.com>
11051
11052 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11053 of errno.
11054
968dad0a
UD
110552011-01-19 Ulrich Drepper <drepper@gmail.com>
11056
9f94d2ea 11057 [BZ #11724]
968dad0a
UD
11058 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11059 of constructors.
11060 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11061 of destructors.
11062 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11063
11064 [BZ #11724]
11065 * elf/Makefile: Add rules to build and run new test.
11066 * elf/tst-initorder.c: New file.
11067 * elf/tst-initorder.exp: New file.
11068 * elf/tst-initordera1.c: New file.
11069 * elf/tst-initordera2.c: New file.
11070 * elf/tst-initordera3.c: New file.
11071 * elf/tst-initordera4.c: New file.
11072 * elf/tst-initorderb1.c: New file.
11073 * elf/tst-initorderb2.c: New file.
11074 * elf/tst-order-a1.c: New file.
11075 * elf/tst-order-a2.c: New file.
11076 * elf/tst-order-a3.c: New file.
11077 * elf/tst-order-a4.c: New file.
11078 * elf/tst-order-b1.c: New file.
11079 * elf/tst-order-b2.c: New file.
11080 * elf/tst-order-main.c: New file.
11081 New test case by George Gensure <werkt0@gmail.com>.
11082
86e92359
UD
110832010-10-01 Andreas Schwab <schwab@redhat.com>
11084
11085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11086 decoding ACE if AI_CANONIDN.
11087
5d5732b0
UD
110882011-01-18 Ulrich Drepper <drepper@gmail.com>
11089
11090 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11091
a77e8cbc
UD
110922011-01-17 Ulrich Drepper <drepper@gmail.com>
11093
6392473f
UD
11094 * version.h (RELEASE): Bump for 2.13 release.
11095 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11096
620a0529
UD
11097 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11098
18ba70a5
UD
11099 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11100 MADV_NOHUGEPAGE.
32465c3e
UD
11101 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11103 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11104 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11105 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11106 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11107
c0dafcf1
UD
11108 * posix/getconf.c: Update copyright year.
11109 * catgets/gencat.c: Likewise.
11110 * csu/version.c: Likewise.
11111 * debug/catchsegv.sh: Likewise.
11112 * debug/xtrace.sh: Likewise.
11113 * elf/ldconfig.c: Likewise.
11114 * elf/ldd.bash.in: Likewise.
11115 * elf/sprof.c (print_version): Likewise.
11116 * iconv/iconv_prog.c: Likewise.
11117 * iconv/iconvconfig.c: Likewise.
11118 * locale/programs/locale.c: Likewise.
11119 * locale/programs/localedef.c: Likewise.
11120 * malloc/memusage.sh: Likewise.
11121 * malloc/mtrace.pl: Likewise.
11122 * nscd/nscd.c (print_version): Likewise.
11123 * nss/getent.c: Likewise.
11124
a77e8cbc
UD
11125 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11126 PF_CAIF, and PF_ALG.
11127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11128
77e8bddf
AS
111292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11130
1f20b93a
AS
11131 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11132 (modules-names): Use them.
11133 (ifunc-test-modules, ifunc-pie-tests): Define.
11134 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11135 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11136 (test-extras): Likewise.
11137 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11138 $(compile-command.c).
11139 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11140 (all-built-dso): Define.
11141 (check-textrel.out, check-execstack.out): Depend on it.
11142
77e8bddf
AS
11143 * configure.in: Don't override --enable-multi-arch.
11144
bc425b33
UD
111452011-01-15 Ulrich Drepper <drepper@gmail.com>
11146
11147 [BZ #6812]
11148 * nscd/hstcache.c (tryagain): Define.
11149 (cache_addhst): Return tryagain not notfound for temporary errors.
11150 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11151 failed.
11152
794c3ad3
UD
111532011-01-14 Ulrich Drepper <drepper@gmail.com>
11154
70181fdd
UD
11155 [BZ #10563]
11156 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11157 to make the syscall.
11158 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11159
794c3ad3
UD
11160 [BZ #12378]
11161 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11162 and fall back to matching as normal character if the string ends before
11163 the matching ']' is found. This is what POSIX requires.
11164 * posix/testfnm.c: Adjust test result.
11165 * posix/globtest.sh: Adjust test result. Add new test.
11166 * posix/tst-fnmatch.input: Likewise.
11167 * posix/tst-fnmatch2.c: Add new test.
11168
68dc9497
AS
111692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11170
11171 * elf/Makefile (check-execstack): Revert last change. Depend on
11172 check-execstack.h.
11173 (check-execstack.h): New target.
11174 (generated): Add check-execstack.h.
11175 * elf/check-execstack.c: Include "check-execstack.h".
11176 (main): Revert last change.
11177 (handle_file): Return zero if GNU_STACK is absent and
11178 DEFAULT_STACK_PERMS doesn't include PF_X.
11179
451f001b
UD
111802011-01-13 Ulrich Drepper <drepper@gmail.com>
11181
cfa28e56
UD
11182 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11183 in child fails because the descriptor is already closed.
8cf8ce17
UD
11184 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11185 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11186 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11187
1086d70d
UD
11188 [BZ #12397]
11189 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11190 syscall.
11191
451f001b
UD
11192 [BZ #10484]
11193 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11194 temporary buffer used to handle multi lookups locally.
a85b5cb4 11195 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11196
08769175
UD
111972011-01-12 Ulrich Drepper <drepper@gmail.com>
11198
11199 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11200 loader is ld.so.
11201
5e49c52e
UD
112022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11203
11204 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11205 alignment for SSE2.
11206
60522a5f
UD
112072011-01-12 Ulrich Drepper <drepper@gmail.com>
11208
11209 [BZ #12394]
11210 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11211 characters. When rounding increased number of integer digits recompute
11212 number of groups.
11213 * stdio-common/tst-grouping.c: New file.
11214 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11215
f257bbd7
UD
112162011-01-09 Ulrich Drepper <drepper@gmail.com>
11217
11218 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11219 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11220
11221 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11222 void.
11223 * bits/select.h: Likewise.
11224
fa9c15cb
UD
112252011-01-08 Ulrich Drepper <drepper@gmail.com>
11226
11227 * po/ja.po: Update from translation team.
11228
16c2895f
DM
112292011-01-04 David S. Miller <davem@sunset.davemloft.net>
11230
11231 [BZ #11155]
11232 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11233 implementation just like for lxstat, fxstatat, et al.
11234
2543fef2
JM
112352010-12-27 Jim Meyering <meyering@redhat.com>
11236
11237 [BZ #12348]
11238 * posix/regexec.c (build_trtable): Return failure indication upon
11239 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11240
98727dbe
UD
112412010-12-25 Ulrich Drepper <drepper@gmail.com>
11242
5bd6dc5c
UD
11243 [BZ #12201]
11244 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11245 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11246 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11247 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11248
97983464
UD
11249 [BZ #12207]
11250 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11251
98727dbe
UD
11252 [BZ #12204]
11253 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11254 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11255
4a531bb0
L
112562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11257
11258 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11259 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11260 script has SORT_BY_INIT_PRIORITY.
11261 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11262 NO_CTORS_DTORS_SECTIONS is defined.
11263 * elf/soinit.c: Likewise.
11264 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11265 NO_CTORS_DTORS_SECTIONS is defined.
11266 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11267 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11268 * sysdeps/sh/init-first.c: Likewise.
11269 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11270
07eb4b71
UD
112712010-12-24 Ulrich Drepper <drepper@gmail.com>
11272
11273 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11274 always use the slow path.
11275
30950a5f
RA
112762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11277
11278 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11279 similar rule which adds the sysdep directories to the header search in
11280 order to pick up the correct platform stackinfo.h.
11281 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11282 perform test if it is, otherwise return successfully without testing.
11283 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11284 DEFAULT_STACK_PERMS define in stackinfo.h.
11285 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11286 defined in stackinfo.h.
11287 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11288 DEFAULT_STACK_PERMS defined in stackinfo.h.
11289 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11290 * sysdeps/ia64/stackinfo.h: Likewise.
11291 * sysdeps/s390/stackinfo.h: Likewise.
11292 * sysdeps/sh/stackinfo.h: Likewise.
11293 * sysdeps/sparc/stackinfo.h: Likewise.
11294 * sysdeps/x86_64/stackinfo.h: Likewise.
11295 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11296 PF_X for powerpc64. Retain PF_X for powerpc32.
11297
db753e2c
UD
112982010-12-19 Ulrich Drepper <drepper@gmail.com>
11299
14b697f7
UD
11300 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11301 accurately.
db753e2c
UD
11302 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11303 GETDENTS_64BIT_ALIGNED.
11304
28300719
UD
113052010-12-14 Ulrich Drepper <dreper@gmail.com>
11306
14b697f7 11307 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11308
4f197237
AS
113092010-12-10 Andreas Schwab <schwab@redhat.com>
11310
dbb0472f
AS
11311 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11312 _GNU_SOURCE.
11313
4f197237
AS
11314 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11315 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11316 Remove __restrict.
11317 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11318 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11319
fb88ac72
UD
113202010-12-09 Ulrich Drepper <drepper@gmail.com>
11321
11322 [BZ #11655]
11323 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11324 are initialized.
11325
42acbb92
JJ
113262010-12-09 Jakub Jelinek <jakub@redhat.com>
11327
11328 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11329
c038d98d
UD
113302010-12-03 Ulrich Drepper <drepper@gmail.com>
11331
11332 * po/it.po: Update from translation team.
11333
3a4a2499
L
113342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11335
11336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11337 unused codes.
11338
1e24cf6e
UD
113392010-11-30 Ulrich Drepper <drepper@gmail.com>
11340
11341 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11342
a7690819
AS
113432010-11-24 Andreas Schwab <schwab@redhat.com>
11344
11345 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11346 specially.
11347 (gaih_getanswer_slice): Likewise.
11348
3bf8d1b1
JJ
113492010-10-20 Jakub Jelinek <jakub@redhat.com>
11350
11351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11352
6db52fbb
PB
113532010-05-31 Petr Baudis <pasky@suse.cz>
11354
11355 [BZ #11149]
11356 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11357 silently even in the chroot mode.
11358
eaca7569
UD
113592010-11-22 Ulrich Drepper <drepper@gmail.com>
11360
11361 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11362 last patch a bit. Pretty printing
11363
3056dcdb
UD
113642010-05-31 Petr Baudis <pasky@suse.cz>
11365
11366 [BZ #10085]
11367 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11368 initialization of skip_initgroups_dyn.
11369
cf7c9078
UD
113702010-11-19 Ulrich Drepper <drepper@gmail.com>
11371
11372 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11373 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11374
a1fb5e3e
UD
113752010-11-16 Ulrich Drepper <drepper@gmail.com>
11376
11377 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11378
3540d66b
AS
113792010-11-11 Andreas Schwab <schwab@redhat.com>
11380
11381 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11382 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11383 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11384 ($(objpfx)tst-fnmatch-mem): New rule.
11385 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11386 * posix/tst-fnmatch.c (main): Call mtrace.
11387
13b69574
L
113882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11389
11390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11391 Support Intel processor model 6 and model 0x2c.
11392
da93d214
LM
113932010-11-10 Luis Machado <luisgpm@br.ibm.com>
11394
11395 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11396 signed comparison.
11397
8ca52c6e
L
113982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11399
11400 [BZ #12205]
11401 * string/test-strncasecmp.c (check_result): New function.
11402 (do_one_test): Use it.
11403 (check1): New function.
11404 (test_main): Use it.
11405 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11406 Support strcasecmp and strncasecmp.
11407
69da074d
UD
114082010-11-08 Ulrich Drepper <drepper@gmail.com>
11409
11410 [BZ #12194]
11411 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11412 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11413
ff02d528
L
114142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11415
11416 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11417 IFUNC support.
11418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11419 memset-x86-64.
11420 * sysdeps/x86_64/multiarch/bzero.S: New file.
11421 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11422 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11423 * sysdeps/x86_64/multiarch/memset.S: New file.
11424 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11426 Set bit_Prefer_SSE_for_memop for Intel processors.
11427 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11428 Define.
11429 (index_Prefer_SSE_for_memop): Define.
11430 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11431
344d0b54
LM
114322010-11-04 Luis Machado <luisgpm@br.ibm.com>
11433
11434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11435 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11436
c0dde15b
UD
114372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11438
11439 [BZ #12191]
11440 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11441 (__x86_64_raw_data_cache_size_half): Likewise.
11442 (__x86_64_raw_shared_cache_size): Likewise.
11443 (__x86_64_raw_shared_cache_size_half): Likewise.
11444
11445 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11446 (__x86_64_raw_data_cache_size_half): Likewise.
11447 (__x86_64_raw_shared_cache_size): Likewise.
11448 (__x86_64_raw_shared_cache_size_half): Likewise.
11449 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11450 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11451 and __x86_64_raw_shared_cache_size_half. Round
11452 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11453 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11454 to multiple of 256 bytes.
11455
0e516e0e
MS
114562010-11-03 Ulrich Drepper <drepper@gmail.com>
11457
11458 [BZ #12167]
11459 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11460 of inacessible symlinks. Verify result of symlink before returning it.
11461 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11462 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11463
0e012e87
ER
114642010-10-28 Erich Ritz <erichritz@gmail.com>
11465
11466 * math/math.h (isinf): Fix typo in comment.
11467
de0ff7bc
UD
114682010-11-01 Ulrich Drepper <drepper@gmail.com>
11469
11470 * po/da.po: Update from translation team.
11471
fa41c84d
UD
114722010-10-26 Ulrich Drepper <drepper@gmail.com>
11473
11474 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11475 is added to the list.
11476
f0967738
AK
114772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11478 Ulrich Drepper <drepper@gmail.com>
11479
11480 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11481 the global list here. Move code to...
11482 (_dl_add_to_namespace_list): ...here. New function.
11483 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11484 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11485 * elf/dl-load.c (lose): Don't remove the element from the list.
11486 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11487 (_dl_map_object): Likewise.
11488
114892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11490
11491 [BZ #12159]
11492 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11493 into all bytes of SSE register.
11494 Patch by Richard Li <richardpku@gmail.com>.
11495
f0967738 114962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11497
11498 [BZ #12140]
11499 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11500 perturbing.
11501
d0b9e94f
MB
115022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11503
11504 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11505 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11506 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11507 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11509 submachine.
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11511
8e9f92e9
AS
115122010-10-22 Andreas Schwab <schwab@redhat.com>
11513
11514 * include/dlfcn.h (__RTLD_SECURE): Define.
11515 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11516 mode & __RTLD_SECURE instead.
11517 (open_path): Rename preloaded parameter to secure.
11518 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11519 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11520 * elf/dl-deps.c (openaux): Likewise.
11521 * elf/rtld.c (struct map_args): Remove is_preloaded.
11522 (map_doit): Don't use it.
11523 (dl_main): Likewise.
11524 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11525 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11526
bc96fbda
AS
115272010-09-09 Andreas Schwab <schwab@redhat.com>
11528
11529 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11530 (sysd-rules-targets): Remove duplicates.
11531 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11532 rtld-%.$o dependency.
11533
22cd1c9b
AS
115342010-10-18 Andreas Schwab <schwab@redhat.com>
11535
11536 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11537 _dl_map_object do it.
11538
18edac48
UD
115392010-10-19 Ulrich Drepper <drepper@gmail.com>
11540
11541 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11542 fast fma builtins, define the macros in the C99 standard.
11543 (FP_FAST_FMAF): Likewise.
11544 (FP_FAST_FMAL): Likewise.
11545 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11546
11547 * bits/mathdef.h: Update copyright year.
11548 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11549
d2050124
MM
115502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11551
11552 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11553 builtins, define the macros in the C99 standard.
11554 (FP_FAST_FMAF): Likewise.
11555 (FP_FAST_FMAL): Likewise.
11556 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11557 multiply/add.
11558 (FP_FAST_FMAF): Likewise.
11559
475facd1
JJ
115602010-10-15 Jakub Jelinek <jakub@redhat.com>
11561
11562 [BZ #3268]
11563 * math/libm-test.inc (fma_test): Some new testcases.
11564 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11565 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11566 y and infinite z. Do multiplication by C already in long double.
11567 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11569 y and infinite z. Do bitwise or of inexact bit into u.d.
11570 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11571 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11572 * sysdeps/i386/fpu/s_fma.S: Removed.
11573 * sysdeps/i386/fpu/s_fmal.S: Removed.
11574
7c08a05c
JJ
115752010-10-16 Jakub Jelinek <jakub@redhat.com>
11576
11577 [BZ #3268]
11578 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11580 computation is not scheduled after fetestexcept. Fix value
11581 of minimum denormal long double.
11582
f3f7372d
JJ
115832010-10-14 Jakub Jelinek <jakub@redhat.com>
11584
11585 [BZ #3268]
11586 * math/libm-test.inc (fma_test): Add some more tests.
11587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11588 correctly.
11589
14d43591
AS
115902010-10-15 Andreas Schwab <schwab@redhat.com>
11591
11592 * scripts/data/localplt-s390-linux-gnu.data: New file.
11593 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11594
5e908464
JJ
115952010-10-13 Jakub Jelinek <jakub@redhat.com>
11596
11597 [BZ #3268]
11598 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11599 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11600 instead of dbl-64.
11601 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11602 inlines.
11603 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11605 if one of x and y is very large and the other is subnormal.
11606 * sysdeps/s390/fpu/s_fmaf.c: New file.
11607 * sysdeps/s390/fpu/s_fma.c: New file.
11608 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11609 * sysdeps/powerpc/fpu/s_fma.S: New file.
11610 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11611 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11612 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11613
116142010-10-12 Jakub Jelinek <jakub@redhat.com>
11615
11616 [BZ #3268]
11617 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11618 fma tests.
11619 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11620 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11621 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11622 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11623 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11624 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11626
b833d51f
UD
116272010-10-12 Ulrich Drepper <drepper@redhat.com>
11628
11629 [BZ #12078]
11630 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11631 * posix/bug-regex31.input: Add test case.
11632
1751705d
UD
116332010-10-11 Ulrich Drepper <drepper@gmail.com>
11634
e9b9cbf5
UD
11635 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11636 * posix/bug-regex31.input: New file.
11637
11638 [BZ #12078]
11639 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11640 (parse_sub_exp): Fix last change, use postorder.
11641
ef06edbe
UD
11642 * posix/bug-regex31.c: New file.
11643 * posix/Makefile: Add rules to build and run bug-regex31.
11644
a129c80d
UD
11645 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11646
11647 [BZ #12078]
11648 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11649
b76b818e
UD
11650 [BZ #12108]
11651 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11652 to have entries in sys_siglist.
11653
1751705d
UD
11654 [BZ #12093]
11655 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11656 be NULL.
11657
9ff8d36f
JJ
116582010-10-07 Jakub Jelinek <jakub@redhat.com>
11659
11660 [BZ #3268]
11661 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11662 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11663 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11664 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11665 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11666 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11667 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11668 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11669 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11670 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11671 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11672 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11673 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11674 * math/ftestexcept.c (fetestexcept): Likewise.
11675 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11676 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11677 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11678 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11679 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11680 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11681 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11682
af325969
UD
116832010-10-11 Ulrich Drepper <drepper@gmail.com>
11684
c579b202 11685 [BZ #12107]
af325969
UD
11686 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11687 newline.
11688
67a67b95
UD
116892010-10-06 Ulrich Drepper <drepper@gmail.com>
11690
11691 * string/bug-strstr1.c: New file.
11692 * string/Makefile: Add rules to build and run bug-strstr1.
11693
5fb308bc
EB
116942010-10-05 Eric Blake <eblake@redhat.com>
11695
11696 [BZ #12092]
11697 * string/str-two-way.h (two_way_long_needle): Always clear memory
11698 when skipping input due to the shift table.
11699
45db99c7
UD
117002010-10-03 Ulrich Drepper <drepper@gmail.com>
11701
3b111893
UD
11702 [BZ #12005]
11703 * malloc/mcheck.c: Handle large requests.
11704
45db99c7
UD
11705 [BZ #12077]
11706 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11707 for strncmp and strncasecmp.
11708 * string/stratcliff.c: Add tests for strcmp and strncmp.
11709 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11710
cf7a1eb8
NI
117112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11712
11713 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11714 __set_fpscr.
11715
6484ba5e
AJ
117162010-09-30 Andreas Jaeger <aj@suse.de>
11717
11718 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11719 (CGROUP_SUPER_MAGIC): Define.
11720 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11721 Handle btrfs and cgroup file systems.
11722 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11723 Likewise.
11724
91c42559
LM
117252010-09-27 Luis Machado <luisgpm@br.ibm.com>
11726
11727 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11728 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11729
87a97932
AK
117302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11731
11732 [BZ #12067]
11733 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11734 trying to locate the ELF header.
11735
c21cc9bc
AS
117362010-09-27 Andreas Schwab <schwab@redhat.com>
11737
11738 [BZ #11611]
11739 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11740 Mask out sign-bit copies when constructing f_fsid.
11741
315970f6
PB
117422010-09-24 Petr Baudis <pasky@suse.cz>
11743
11744 * debug/stack_chk_fail_local.c: Add missing licence exception.
11745 * debug/warning-nop.c: Likewise.
11746
1ac7a2c7
JM
117472010-09-15 Joseph Myers <joseph@codesourcery.com>
11748
11749 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11750 implementing getdents64 using getdents syscall, set d_type if
11751 __ASSUME_GETDENTS32_D_TYPE.
11752
56801c50
AS
117532010-09-16 Andreas Schwab <schwab@redhat.com>
11754
11755 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11756 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11757
dda51327
UD
117582010-09-21 Ulrich Drepper <drepper@redhat.com>
11759
11760 [BZ #12037]
11761 * posix/unistd.h: Undo change of feature selection for ftruncate from
11762 2010-01-11.
11763
8ffcee4a
UD
117642010-09-20 Ulrich Drepper <drepper@redhat.com>
11765
a545ecd9 11766 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11767 detection.
11768
e24f0a8b
AS
117692010-09-20 Andreas Schwab <schwab@redhat.com>
11770
11771 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11772 fanotify_mark.
11773 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11774
7291c56f
AS
117752010-09-14 Andreas Schwab <schwab@redhat.com>
11776
11777 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11778 variables after CHECK_SP call.
11779 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11780
bc5fb037
AS
117812010-09-13 Andreas Schwab <schwab@redhat.com>
11782 Ulrich Drepper <drepper@redhat.com>
11783
11784 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11785 re-relocationg ld.so.
11786 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11787 _dl_init_paths call.
11788 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11789 here anymore.
11790
e66e7419
UD
117912010-09-14 Ulrich Drepper <drepper@redhat.com>
11792
11793 * resolv/res_init.c (__res_vinit): Count the default server we added.
11794
c044aa75
CLT
117952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11796 Ulrich Drepper <drepper@redhat.com>
11797
11798 [BZ #11968]
11799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11800 (____longjmp_chk): Use %ebx for saving value across system call.
11801 Add unwind info.
11802
32cf4069
AS
118032010-09-06 Andreas Schwab <schwab@redhat.com>
11804
11805 * manual/Makefile: Don't mix pattern rules with normal rules.
11806
817328ee
AS
118072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11808
11809 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11810 operation.
11811 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11812 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11813 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11814 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11815 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11816 Likewise.
11817
29fddf61
UD
118182010-09-04 Ulrich Drepper <drepper@redhat.com>
11819
11820 [BZ #11979]
11821 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11822 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11823
0959ffc9
UD
118242010-09-02 Ulrich Drepper <drepper@redhat.com>
11825
11826 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11827 * sysdeps/x86_64/addmul_1.S: Likewise.
11828 * sysdeps/x86_64/lshift.S: Likewise.
11829 * sysdeps/x86_64/mul_1.S: Likewise.
11830 * sysdeps/x86_64/rshift.S: Likewise.
11831 * sysdeps/x86_64/sub_n.S: Likewise.
11832 * sysdeps/x86_64/submul_1.S: Likewise.
11833
ece29840
ST
118342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11835
0959ffc9
UD
11836 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11837 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11838 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11839 * bits/sched.h [__need_schedparam]
ece29840 11840 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11841 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11842 (__defined_schedparam): Define to 1.
ece29840
ST
11843 (__sched_param): New structure, identical to sched_param.
11844 (__need_schedparam): Undefine.
11845
e53a31fe
MF
118462010-08-31 Mike Frysinger <vapier@gentoo.org>
11847
fdc0c10d
MF
11848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11849 (epoll_create1): Declare.
11850
e53a31fe
MF
11851 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11852
a726d796
AS
118532010-08-31 Andreas Schwab <schwab@redhat.com>
11854
11855 [BZ #7066]
11856 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11857 shifting retval into place.
11858
2f3e3dc7
UD
118592010-09-01 Ulrich Drepper <drepper@redhat.com>
11860
f2933da9
UD
11861 * nis/rpcsvc/nis.h: Update copyright notice.
11862 * nis/rpcsvc/nis.x: Likewise.
11863 * nis/rpcsvc/nis_callback.h: Likewise.
11864 * nis/rpcsvc/nis_callback.x: Likewise.
11865 * nis/rpcsvc/nis_object.x: Likewise.
11866 * nis/rpcsvc/nis_tags.h: Likewise.
11867 * nis/rpcsvc/yp.h: Likewise.
11868 * nis/rpcsvc/yp.x: Likewise.
11869 * nis/rpcsvc/ypupd.h: Likewise.
11870 * nis/yp_xdr.c: Likewise.
11871 * nis/ypupdate_xdr.c: Likewise.
11872
2f3e3dc7
UD
11873 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11874 mainly the body of pmap_getport. Add parameters to specify timeouts.
11875 (pmap_getport): Use __libc_rpc_getport.
11876 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11877 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11878 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11879
f3dcc2f9
AS
118802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11881
11882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11883 fanotify_mark.
11884
6d34eb5b
RM
118852010-08-27 Roland McGrath <roland@redhat.com>
11886
11887 * sysdeps/i386/i686/multiarch/Makefile
11888 (CFLAGS-varshift.c): New variable.
11889
9ea3de11
UD
118902010-08-27 Ulrich Drepper <drepper@redhat.com>
11891
c96d23fc
UD
11892 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11893 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11894
9ea3de11
UD
11895 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11896
11897 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11898
623aac7f
L
118992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11900
11901 * sysdeps/x86_64/strlen.S: Unroll the loop.
11902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11903 strlen-sse2 strlen-sse2-bsf.
11904 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11905 __strlen_no_bsf if bit_Slow_BSF is set.
11906 (__strlen_sse42): Removed.
11907 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11908 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11909
8b2b7715
RM
119102010-08-25 Roland McGrath <roland@redhat.com>
11911
11912 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11913 * sysdeps/x86_64/multiarch/varshift.c: New file.
11914 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11915 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11916 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11917 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11918
e73015f2
L
119192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11920
11921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11922 strlen-sse2 strlen-sse2-bsf.
11923 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11924 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11925 (__strlen_sse2): Removed.
11926 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11929 bit_Slow_BSF for Atom.
11930 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11931 (index_Slow_BSF): Define.
11932 (HAS_SLOW_BSF): Define.
11933
df24a73e
UD
119342010-08-25 Ulrich Drepper <drepper@redhat.com>
11935
11936 [BZ #10851]
11937 * resolv/res_init.c (__res_vinit): When no server address at all
11938 is given default to loopback.
11939
f2ac4868
RM
119402010-08-24 Roland McGrath <roland@redhat.com>
11941
09055553
RM
11942 * configure.in: Remove config-name.h generation.
11943 * configure: Regenerated.
11944 * config-name.in: File removed.
11945 * scripts/config-uname.sh: New file.
11946 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11947 ($(objdir)config-name.h): New target.
11948
f2ac4868
RM
11949 * sunrpc/rpc_parse.h: Avoid nested comment.
11950
73f27d5e
RH
119512010-08-24 Richard Henderson <rth@redhat.com>
11952 Ulrich Drepper <drepper@redhat.com>
11953 H.J. Lu <hongjiu.lu@intel.com>
11954
11955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11957 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11958 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11959 _mm_alignr_epi8 with _mm_loadu_si128.
11960 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11961 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11962 (__m128i_shift_right): Removed.
11963 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11964 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11965 * sysdeps/x86_64/multiarch/varshift.h: New file.
11966 * sysdeps/x86_64/multiarch/varshift.S: New file.
11967
84b9230c
MF
119682010-08-21 Mike Frysinger <vapier@gentoo.org>
11969
11970 * configure.in: Move assembler checks to before sysdep dir checking.
11971
9bbd0ddc
PB
119722010-08-20 Petr Baudis <pasky@suse.cz>
11973
11974 * LICENSES: Sync the sunrpc license.
11975
9da4bb31
UD
119762010-08-19 Ulrich Drepper <drepper@redhat.com>
11977
a7ab6ec8
UD
11978 * sunrpc/auth_des.c: Update copyright notice once again.
11979 * sunrpc/auth_none.c: Likewise.
11980 * sunrpc/auth_unix.c: Likewise.
11981 * sunrpc/authdes_prot.c: Likewise.
11982 * sunrpc/authuxprot.c: Likewise.
11983 * sunrpc/bindrsvprt.c: Likewise.
11984 * sunrpc/clnt_gen.c: Likewise.
11985 * sunrpc/clnt_perr.c: Likewise.
11986 * sunrpc/clnt_raw.c: Likewise.
11987 * sunrpc/clnt_simp.c: Likewise.
11988 * sunrpc/clnt_tcp.c: Likewise.
11989 * sunrpc/clnt_udp.c: Likewise.
11990 * sunrpc/clnt_unix.c: Likewise.
11991 * sunrpc/des_crypt.c: Likewise.
11992 * sunrpc/des_soft.c: Likewise.
11993 * sunrpc/get_myaddr.c: Likewise.
11994 * sunrpc/getrpcport.c: Likewise.
11995 * sunrpc/key_call.c: Likewise.
11996 * sunrpc/key_prot.c: Likewise.
11997 * sunrpc/openchild.c: Likewise.
11998 * sunrpc/pm_getmaps.c: Likewise.
11999 * sunrpc/pm_getport.c: Likewise.
12000 * sunrpc/pmap_clnt.c: Likewise.
12001 * sunrpc/pmap_prot.c: Likewise.
12002 * sunrpc/pmap_prot2.c: Likewise.
12003 * sunrpc/pmap_rmt.c: Likewise.
12004 * sunrpc/rpc/auth.h: Likewise.
12005 * sunrpc/rpc/auth_unix.h: Likewise.
12006 * sunrpc/rpc/clnt.h: Likewise.
12007 * sunrpc/rpc/des_crypt.h: Likewise.
12008 * sunrpc/rpc/key_prot.h: Likewise.
12009 * sunrpc/rpc/netdb.h: Likewise.
12010 * sunrpc/rpc/pmap_clnt.h: Likewise.
12011 * sunrpc/rpc/pmap_prot.h: Likewise.
12012 * sunrpc/rpc/pmap_rmt.h: Likewise.
12013 * sunrpc/rpc/rpc.h: Likewise.
12014 * sunrpc/rpc/rpc_des.h: Likewise.
12015 * sunrpc/rpc/rpc_msg.h: Likewise.
12016 * sunrpc/rpc/svc.h: Likewise.
12017 * sunrpc/rpc/svc_auth.h: Likewise.
12018 * sunrpc/rpc/types.h: Likewise.
12019 * sunrpc/rpc/xdr.h: Likewise.
12020 * sunrpc/rpc_clntout.c: Likewise.
12021 * sunrpc/rpc_cmsg.c: Likewise.
12022 * sunrpc/rpc_common.c: Likewise.
12023 * sunrpc/rpc_cout.c: Likewise.
12024 * sunrpc/rpc_dtable.c: Likewise.
12025 * sunrpc/rpc_hout.c: Likewise.
12026 * sunrpc/rpc_main.c: Likewise.
12027 * sunrpc/rpc_parse.c: Likewise.
12028 * sunrpc/rpc_parse.h: Likewise.
12029 * sunrpc/rpc_prot.c: Likewise.
12030 * sunrpc/rpc_sample.c: Likewise.
12031 * sunrpc/rpc_scan.c: Likewise.
12032 * sunrpc/rpc_scan.h: Likewise.
12033 * sunrpc/rpc_svcout.c: Likewise.
12034 * sunrpc/rpc_tblout.c: Likewise.
12035 * sunrpc/rpc_util.c: Likewise.
12036 * sunrpc/rpc_util.h: Likewise.
12037 * sunrpc/rpcinfo.c: Likewise.
12038 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12039 * sunrpc/rpcsvc/key_prot.x: Likewise.
12040 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12041 * sunrpc/rpcsvc/mount.x: Likewise.
12042 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12043 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12044 * sunrpc/rpcsvc/rex.x: Likewise.
12045 * sunrpc/rpcsvc/rstat.x: Likewise.
12046 * sunrpc/rpcsvc/rusers.x: Likewise.
12047 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12048 * sunrpc/rpcsvc/spray.x: Likewise.
12049 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12050 * sunrpc/rtime.c: Likewise.
12051 * sunrpc/svc.c: Likewise.
12052 * sunrpc/svc_auth.c: Likewise.
12053 * sunrpc/svc_authux.c: Likewise.
12054 * sunrpc/svc_raw.c: Likewise.
12055 * sunrpc/svc_run.c: Likewise.
12056 * sunrpc/svc_simple.c: Likewise.
12057 * sunrpc/svc_tcp.c: Likewise.
12058 * sunrpc/svc_udp.c: Likewise.
12059 * sunrpc/svc_unix.c: Likewise.
12060 * sunrpc/svcauth_des.c: Likewise.
12061 * sunrpc/xcrypt.c: Likewise.
12062 * sunrpc/xdr.c: Likewise.
12063 * sunrpc/xdr_array.c: Likewise.
12064 * sunrpc/xdr_float.c: Likewise.
12065 * sunrpc/xdr_mem.c: Likewise.
12066 * sunrpc/xdr_rec.c: Likewise.
12067 * sunrpc/xdr_ref.c: Likewise.
12068 * sunrpc/xdr_sizeof.c: Likewise.
12069 * sunrpc/xdr_stdio.c: Likewise.
12070
9da4bb31
UD
12071 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12072 handling.
12073
bdaa77bc
AS
120742010-08-19 Andreas Schwab <schwab@redhat.com>
12075
12076 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12077
fe2f79db
LM
120782010-08-19 Luis Machado <luisgpm@br.ibm.com>
12079
12080 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12081 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12082 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12083 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12084 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12085 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12086 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12087 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12088 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12089 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12090 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12091 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12092 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12093 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12094
b9b42ee0
AB
120952010-07-26 Anton Blanchard <anton@samba.org>
12096
12097 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12098 * malloc/arena.c (heap_trim): Likewise.
12099
1c06ba31
UD
121002010-08-16 Ulrich Drepper <drepper@redhat.com>
12101
12102 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12103 here. Not...
12104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12105 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12106
f8392f40
L
121072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12108
12109 * sysdeps/i386/elf/Makefile: New file.
12110
3162f12e
AS
121112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12112
12113 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12114 from fanotify_init.
12115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12117
28c90b2c
UD
121182010-08-15 Ulrich Drepper <drepper@redhat.com>
12119
12120 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12121 of strncasecmp_l.
1feccb6c 12122 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12123
ca6bb004
UD
121242010-08-14 Ulrich Drepper <drepper@redhat.com>
12125
e9f82e0d
UD
12126 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12127 strncase_l-nonascii.
12128 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12129 Add strncase_l-ssse3.
12130 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12131 * sysdeps/x86_64/strcmp.S: Likewise.
12132 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12133 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12134 * sysdeps/x86_64/strncase.S: New file.
12135 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12136 * sysdeps/x86_64/strncase_l.S: New file.
12137 * string/Makefile (strop-tests): Add strncasecmp.
12138 * string/test-strncasecmp.c: New file.
12139
12140 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12141 warning.
12142
ca6bb004
UD
12143 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12144 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12145
052fa7b3
AS
121462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12147
12148 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12149
962dba78
UD
121502010-08-12 Ulrich Drepper <drepper@redhat.com>
12151
12152 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12153 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12154 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12155
bebff237
AM
121562010-05-01 Alan Modra <amodra@gmail.com>
12157
12158 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12159 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12160 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12161 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12162 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12163 tidying. Don't tail-call __sigjmp_save for static lib.
12164 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12165 save location.
12166 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12167 (CALL_MCOUNT): Add eh info, and nop after bl.
12168 (TAIL_CALL_SYSCALL_ERROR): New macro.
12169 (PSEUDO_RET): Use it.
12170 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12171 Correct save location of integer regs and cr.
12172 (_dl_profile_resolve): Correct cr save location. Delete nops
12173 after bl when SHARED. Reduce cfi size a little by better
12174 placement of cfi directives.
12175 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12176 make a stack frame. Instead use parm save area as a temp.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12178 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12180 Don't make a stack frame for parent, use parm save area.
12181 Increase child stack frame to 112 bytes. Don't save unused reg,
12182 and adjust reg usage. Set up cfi on error recovery and
12183 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12185 (__makecontext): Add dummy nop after jump to exit.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12187 Use correct parm save area and cr save, reduce stack frame.
12188 Correct cfi for possible PSEUDO_RET frame setup.
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12190 Branch to local label emitted by PSEUDO_RET rather than
12191 __syscall_error.
12192
02637374
AS
121932010-08-12 Andreas Schwab <schwab@redhat.com>
12194
12195 [BZ #11904]
12196 * locale/programs/locale.c (print_assignment): New function.
12197 (show_locale_vars): Use it.
12198
c3e2f19b
UD
121992010-08-11 Ulrich Drepper <drepper@redhat.com>
12200
3cdaa6ad
UD
12201 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12202 field.
12203 (struct statfs64): Likewise.
12204 (_STATFS_F_FLAGS): Define.
12205 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12206 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12207 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12208 (ST_VALID): Define locally.
12209 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12210 __statvfs_getflags, use the provided value.
12211 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12212 __ASSUME_STATFS_F_FLAGS.
12213
754f7da3
UD
12214 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12215
10b3bedc
UD
12216 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12217 Add sys/fanotify.h.
12218 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12219 fanotify_mask for GLIBC_2.13.
12220 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12221 fanotify_init and fanotify_mark.
12222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12223 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12224
c08fb0d7
UD
12225 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12226 Add prlimit.
12227 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12228 prlimit64 for GLIBC_2.13.
12229 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12230 prlimit64.
12231 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12232 syscall.
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12234 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12235 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12236 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12238 add prlimit alias.
12239 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12240
15bac72b
UD
12241 [BZ #11903]
12242 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12243 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12244
c3e2f19b
UD
12245 * nss/Makefile: Add rules to build and run tst-nss-test1.
12246 * shlib-versions: Add entry for libnss_test1.
12247 * nss/nss_test1.c: New file.
12248 * nss/tst-nss-test1.c: New file.
12249
12250 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12251 (__nss_configure_lookup): Set appropriate entry in
12252 __nss_configure_lookup to true.
12253 * nss/nsswitch.h: Define enum with indeces of databases in
12254 databases and __nss_database_custom arrays. Declare
12255 __nss_database_custom.
12256 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12257 to avoid using nscd when custom rules are installed.
12258 * nss/getXXbyYY_r.c: Likewise.
12259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12260
12261 * nss/nss_files/files-parse.c: Whitespace fixes.
12262
f15ce4d8
UD
122632010-08-09 Ulrich Drepper <drepper@redhat.com>
12264
12265 [BZ #11883]
12266 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12267 * posix/fnmatch_loop.c: Likewise.
12268
d22e4cc9
AK
122692010-07-17 Andi Kleen <ak@linux.intel.com>
12270
12271 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12272 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12273 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12274 * Versions.def [GLIBC_2.13]: Add.
12275
805bc17d
UD
122762010-08-06 Ulrich Drepper <drepper@redhat.com>
12277
12278 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12279 Also fail if tpwd after pwuid call is NULL.
12280
5a42321d
ST
122812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12282
12283 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12284 when converting to ms.
12285
fd3ebeda
ST
122862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12287
12288 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12289 EOPNOTSUPP errors with ENOTTY.
12290 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12291 EOPNOTSUPP errors with ENOTTY.
12292
73507d3a
UD
122932010-07-31 Ulrich Drepper <drepper@redhat.com>
12294
12295 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12296 Add strcasecmp_l-ssse3.
12297 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12298 strcasecmp.
12299 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12300 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12301 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12302
fe36dd02
UD
123032010-07-30 Ulrich Drepper <drepper@redhat.com>
12304
66f6765a
UD
12305 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12306
42e08a54
UD
12307 * string/Makefile (strop-tests): Add strcasecmp.
12308 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12309 strcasecmp_l-nonascii.
12310 (gen-as-const-headers): Add locale-defines.sym.
12311 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12312 * sysdeps/x86_64/strcasecmp.S: New file.
12313 * sysdeps/x86_64/strcasecmp_l.S: New file.
12314 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12315 * sysdeps/x86_64/locale-defines.sym: New file.
12316 * string/test-strcasecmp.c: New file.
12317
fe36dd02
UD
12318 * string/test-strcasestr.c: Test both ends of the range of characters.
12319 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12320
48cbc0d6
RM
123212010-07-29 Roland McGrath <roland@redhat.com>
12322
76e6d6bc 12323 [BZ #11856]
48cbc0d6
RM
12324 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12325
880113d9
UD
123262010-07-27 Ulrich Drepper <drepper@redhat.com>
12327
12328 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12329 for ld.so.
12330
deb9cabb
AS
123312010-07-27 Andreas Schwab <schwab@redhat.com>
12332
12333 * manual/memory.texi (Malloc Tunable Parameters): Document
12334 M_PERTURB.
12335
1c7570ff
RM
123362010-07-26 Roland McGrath <roland@redhat.com>
12337
12338 [BZ #11840]
12339 * configure.in (-fgnu89-inline check): Set and substitute
12340 gnu89_inline, not libc_cv_gnu89_inline.
12341 * configure: Regenerated.
12342 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12343
24fb0f88
UD
123442010-07-26 Ulrich Drepper <drepper@redhat.com>
12345
12346 * string/test-strnlen.c: New file.
12347 * string/Makefile (strop-tests): Add strnlen.
12348 * string/tester.c (test_strnlen): Add a few more test cases.
12349 * string/tst-strlen.c: Better error reporting.
12350
12351 * sysdeps/x86_64/strnlen.S: New file.
12352
8e96b93a
UD
123532010-07-24 Ulrich Drepper <drepper@redhat.com>
12354
12355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12356 lower-latency instructions.
12357
dbc676d4
UD
123582010-07-23 Ulrich Drepper <drepper@redhat.com>
12359
12360 * string/test-strcasestr.c: New file.
12361 * string/test-strstr.c: New file.
12362 * string/Makefile (strop-tests): Add strstr and strcasestr.
12363 * string/str-two-way.h: Don't undefine MAX.
12364 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12365
f6a31e0e
AS
123662010-07-21 Andreas Schwab <schwab@redhat.com>
12367
12368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12369 strcasestr-nonascii.
12370 (CFLAGS-strcasestr-nonascii.c): Define.
12371 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12372 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12373 Remove unused attribute.
12374
5dbc3b6c
RM
123752010-07-20 Roland McGrath <roland@redhat.com>
12376
12377 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12378 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12379 ld.so.cache was broken. With it, there is no way to disable dsocaps
12380 like LD_HWCAP_MASK can disable hwcaps.
12381
23d101d8
EPM
123822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12383
12384 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12385
cc9f2e47
UD
123862010-07-16 Ulrich Drepper <drepper@redhat.com>
12387
12388 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12389 call in strcasestr.
12390 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12391 __strcasestr_sse42_nonascii.
12392 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12393 strcasestr-nonascii.c.
12394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12395
77c1b069
LM
123962010-06-15 Luis Machado <luisgpm@br.ibm.com>
12397
12398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12399 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12400 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12401 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12402
440566c3
UD
124032010-07-09 Ulrich Drepper <drepper@redhat.com>
12404
12405 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12406 fcntl.
12407
5be9d05d
AS
124082010-07-06 Andreas Schwab <schwab@redhat.com>
12409
c30b7ee2 12410 [BZ #11577]
5be9d05d
AS
12411 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12412 dl_signal_cerror.
12413
8a492a67
UD
124142010-07-06 Ulrich Drepper <drepper@redhat.com>
12415
12416 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12417 _PC_PIPE_BUF using F_GETPIPE_SZ.
12418
713df3d5
RM
124192010-07-05 Roland McGrath <roland@redhat.com>
12420
12421 * manual/arith.texi (Rounding Functions): Fix rint description
12422 implicit in round description.
12423
702e8f14
UD
124242010-07-02 Ulrich Drepper <drepper@redhat.com>
12425
12426 * elf/Makefile: Fix linking for a few tests to make recent linker
12427 happy.
12428
52ed8be9
AS
124292010-06-30 Andreas Schwab <schwab@redhat.com>
12430
12431 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12432 $(common-objpfx)libc_nonshared.a.
12433
f47c9a11
LM
124342010-06-21 Luis Machado <luisgpm@br.ibm.com>
12435
12436 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12437 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12438 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12439 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12440 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12441 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12442 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12443 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12458 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12459 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12460 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12461 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12462 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12463 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12464 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12465 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12466 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12467 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12468 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12469 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12484
6fb8cbcb
L
124852010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12486
12487 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12488 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12489 * string/memmove.c (memmove): Renamed to ...
12490 (MEMMOVE): ...this. Default to memmove.
12491 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12492 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12493 (END_CHK): Define.
12494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12495 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12496 mempcpy-ssse3-back memmove-ssse3-back.
12497 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12498 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12500 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12501 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12502 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12503 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12504 * sysdeps/x86_64/multiarch/memmove.c: New file.
12505 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12506 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12507 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12508 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12509 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12511 Define.
12512 (index_Fast_Copy_Backward): Define.
12513 (HAS_ARCH_FEATURE): Define.
12514 (HAS_FAST_REP_STRING): Define.
12515 (HAS_FAST_COPY_BACKWARD): Define.
12516
4e733bac 125172010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12518
12519 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12520 Restore proper fallback handling.
12521
63c4ed22
UD
125222010-06-19 Ulrich Drepper <drepper@redhat.com>
12523
ac2b484c
UD
12524 [BZ #11701]
12525 * posix/group_member.c (__group_member): Correct checking loop.
12526
63c4ed22
UD
12527 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12528 OOM in getpwuid_r correctly. Return error number when the caller
12529 should return, otherwise -1.
12530 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12531 call returning > 0 value.
12532 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12533
765ade4b
AS
125342010-06-07 Andreas Schwab <schwab@redhat.com>
12535
12536 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12537 libc_nonshared.a from targets in modules-names.
12538
80da2e09
KS
125392010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12540
12541 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12542 requires it.
12543
158db122
LM
125442010-06-10 Luis Machado <luisgpm@br.ibm.com>
12545
12546 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12547 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12548 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12549 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12550
caa78cf8
AS
125512010-06-02 Andreas Schwab <schwab@redhat.com>
12552
12553 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12554
b2ef2c01
UD
125552010-06-14 Ulrich Drepper <drepper@redhat.com>
12556
12557 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12558 and F_GETPIPE_SZ.
12559 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12563 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12564 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12565
fbd643b6
RM
125662010-06-14 Roland McGrath <roland@redhat.com>
12567
12568 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12569
f32f2869
JJ
125702010-06-07 Jakub Jelinek <jakub@redhat.com>
12571
12572 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12573 __REDIRECT followed by __THROW.
12574 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12575 * posix/getopt.h (getopt): Likewise.
12576
2a50c078
EPM
125772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12578
12579 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12580 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12581 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12582 in AT_FLAGS.
12583 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12584 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12585
eb5ad2eb
LM
125862010-05-28 Luis Machado <luisgpm@br.ibm.com>
12587
12588 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12589
3c88fe1e
L
125902010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12591
12592 [BZ #11640]
12593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12594 Properly check family and model.
12595
d2f73151
TY
125962010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12597
12598 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12599
ebd2e13d
LM
126002010-05-24 Luis Machado <luisgpm@br.ibm.com>
12601
12602 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12603
b32b8b45
UD
126042010-05-21 Ulrich Drepper <drepper@redhat.com>
12605
12606 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12607 symbol reference.
12608
9acbe24d
AS
126092010-05-19 Andreas Schwab <schwab@redhat.com>
12610
12611 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12612 symbol reference.
12613
f0ccf6ea
AS
126142010-05-21 Andreas Schwab <schwab@redhat.com>
12615
3d04ff3a
AS
12616 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12617 and internal_recvmmsg.
12618 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12619 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12620 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12621 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12622
f0ccf6ea
AS
12623 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12624 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12625 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12626
5b08ac57
AS
126272010-05-20 Andreas Schwab <schwab@redhat.com>
12628
12629 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12630
4828935d
LM
126312010-05-17 Luis Machado <luisgpm@br.ibm.com>
12632
12633 POWER7 optimizations.
12634 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12635 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12636
373d545e
UD
126372010-05-19 Ulrich Drepper <drepper@redhat.com>
12638
12639 * version.h: Update for 2.13 development version.
12640
21a2b1ae
AS
126412010-05-12 Andrew Stubbs <ams@codesourcery.com>
12642
12643 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12644 exceptions. Return 0.
12645
3f7dcb2b
RM
126462010-05-07 Roland McGrath <roland@redhat.com>
12647
12648 * elf/ldconfig.c (main): Add a const.
12649
5f24d53a 126502010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12651
a160f8d8
UD
12652 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12653 (args_options): Add no-idn option.
12654 (ahosts_keys_int): Add idn_flags to ai_flags.
12655 (parse_option): Handle 'i' option to clear idn_flags.
12656
5f24d53a
UD
12657 * malloc/malloc.c (_int_free): Possible race in the most recently
12658 added check. Only act on the data if no current modification
12659 happened.
265bb1ce
UD
12660
12661See ChangeLog.17 for earlier changes.