]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Include program generating __sincosl_table in comment.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8848d99d
JM
12012-03-16 Joseph Myers <joseph@codesourcery.com>
2
96cbe7f4
JM
3 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4 in comment.
5
8848d99d
JM
6 [BZ #13851]
7 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12 infinite argument.
13 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15 != 0 for prec == 2.
16 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27 * math/libm-test.inc (cos_test): Add more tests and enable more
28 tests for long double.
29 (sin_test): Likewise.
30 (sincos_test): Likewise.
31 * sysdeps/i386/fpu/libm-test-ulps: Update.
32 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33
dd7f4703
DM
342012-03-16 David S. Miller <davem@davemloft.net>
35
36 * sysdeps/sparc/fpu/math_private.h: New file.
37
006f1daa
DM
382012-03-15 David S. Miller <davem@davemloft.net>
39
e6a62e18
DM
40 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New file.
41 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New file.
43 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49 sysdep routines.
50 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51
88cb87d9
DM
52 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54
006f1daa
DM
55 * sysdeps/sparc/sparc-ifunc.h: New file.
56 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use sparc-ifunc.h
57 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Likewise.
59 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
60 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
64 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
70 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
74 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
76 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
81 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
83 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
85 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
87 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
88 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
89 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
90 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
91 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
92 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
93 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
94
11e0098e
AS
952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
96
97 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
98 scaling.
99 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
100
e85b09d0
AJ
1012012-03-15 Andreas Jaeger <aj@suse.de>
102
103 [BZ #13852]
104 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
105 ieee754/flt-32 implementation for sin, cos and sincos.
106 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
107 * sysdeps/i386/fpu/s_cosf.S: Likewise.
108 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
109 * sysdeps/i386/fpu/s_sinf.S: Likewise.
110 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
111 ieee754/flt-32 implementation for tan.
112
113 * math/libm-test.inc (cos_test): Enable some large input tests for
114 float as well
115 (sin_test): Likewise.
116 (sincos_test): Likewise.
117 (tan_test): Add tests for large input.
118
119 * sysdeps/i386/fpu/libm-test-ulps: Update.
120
81c64153
AJ
1212012-03-15 Andreas Jaeger <aj@suse.de>
122
123 [BZ #13658]
124 * math/libm-test.inc (cos_test): Add more test cases.
125 (sin_test): Likewise.
126 (sincos_test): Likewise.
127
7bbfa5c6
AJ
1282012-03-15 Andreas Jaeger <aj@suse.de>
129
130 [BZ #13837]
131 * math/libm-test.inc (cos_test): Add a test case for large input
132 value.
133 (sin_test): Likewise.
134 (sincos_test): Likewise.
135
1362012-03-15 Andreas Jaeger <aj@suse.de>,
137 Joseph Myers <joseph@codesourcery.com>
138
139 [BZ #13658]
0671f479 140 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
141 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
142 * sysdeps/i386/fpu/branred.c: Likewise.
143 * sysdeps/i386/fpu/dosincos.c: Likewise.
144 * sysdeps/i386/fpu/mpa.c: Likewise.
145 * sysdeps/i386/fpu/s_cos.S: Likewise.
146 * sysdeps/i386/fpu/s_sin.S: Likewise.
147 * sysdeps/i386/fpu/s_sincos.S: Likewise.
148 * sysdeps/i386/fpu/sincos32.c: Likewise.
149
150 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
151 Define.
152 (libc_feupdateenv_53bit): Define.
153 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
154 Define.
155 (libc_feupdateenv_53bit): Define.
156
157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
158 53 bit (without extend i386 double precision).
159
160 * math/libm-test.inc (sincos_test): Add tests for large input.
161 (sin): Likewise.
162 (cos): Likewise.
163
164 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
165
9cad04ea
AS
1662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
167
168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
169
f7062b9a
DM
1702012-03-15 David S. Miller <davem@davemloft.net>
171
172 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
173 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
174 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
175 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New file.
188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New file.
190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New file.
192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New file.
194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
196 fmin/fmax sysdep routines.
197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
198
7bd951ff
DM
1992012-03-14 David S. Miller <davem@davemloft.net>
200
559398ab
DM
201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
225 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
226 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3 routines.
230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New file.
231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New file.
233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New file.
235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New file.
237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New file.
239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New file.
241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New file.
242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New file.
243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New file.
244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S: New file.
245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New file.
246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New file.
247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New file.
249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New file.
251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New file.
253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS3 routines.
255
256 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
257 New file.
258
5a1c1e32
DM
259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
260
eae47a36
DM
261 * sysdeps/sparc/configure.in: New file.
262 * sysdeps/sparc/configure: Generate.
263 * configure.in (libc_cv_sparc_as_vis3): Substitute.
264 * configure: Regenerate.
265 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
266 * config.make.in (have-as-vis3): New.
267 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
268 available use -Av9d instead of -Av9a.
269 * sysdeps/sparc/sparc64/Makefile: Likewise.
270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S: New file.
272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New file.
273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S: New file.
274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New file.
275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
277 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
278 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
279 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
280
7bd951ff
DM
281 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use fzeros/fnegs
282 to load 0x80000000 into a float register instead of using the stack.
283 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
284
bd951ccb
JM
2852012-03-14 Joseph Myers <joseph@codesourcery.com>
286
287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
288 bits/syscall.h.
289 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
290 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
291 ($(inst_includedir)/bits/syscall.h): Remove rule.
292 ($(objpfx)bits/syscall.d): Include instead of
293 $(objpfx)syscall-list.d.
294 (generated): Change syscall-list.h and syscall-list.d to
295 bits/syscall.h and bits/syscall.d.
296
bb4e6db2
RM
2972012-03-14 Roland McGrath <roland@hack.frob.com>
298
299 [BZ #13846]
300 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
301
aa4a2ae1
JM
3022012-03-14 Joseph Myers <joseph@codesourcery.com>
303
e456826d
JM
304 [BZ #13841]
305 * math/s_csqrt.c: Include <float.h>.
306 (__csqrt): Scale large or subnormal inputs.
307 * math/s_csqrtf.c: Likewise.
308 * math/s_csqrtl.c: Likewise.
309 * math/libm-test.inc (csqrt_test): Add more tests.
310 * sysdeps/i386/fpu/libm-test-ulps: Update.
311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
312
aa4a2ae1
JM
313 [BZ #13840]
314 * math/libm-test.inc (hypot_test): Add more tests.
315
7c10fd35
DM
3162012-03-13 David S. Miller <davem@davemloft.net>
317
318 [BZ #13840]
319 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
320 double-precision for the calculation instead of scaling.
321
f453b98b
JM
3222012-03-13 Joseph Myers <joseph@codesourcery.com>
323
324 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
325 manipulate bits before adding and subtracting TWO52[sx].
326 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
327 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
328 Likewise.
329 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
330
09a3453f
DM
3312012-03-13 David S. Miller <davem@davemloft.net>
332
8e59da90
DM
333 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
334 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
335 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
336 rtld-global-offsets.h
337 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
338
2a8ab7f2
DM
339 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
340 large parameters.
341
10f62770
DM
342 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
343
5f0bdb18
DM
344 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
345 'err' in the ifdef scope in which it is actually used.
346
09a3453f
DM
347 * nss/nss_db/db-init.c: Include string.h
348
b4b2eb5e
DM
3492012-03-12 David S. Miller <davem@davemloft.net>
350
98bb2f1c
DM
351 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
352 masking out of the most significant byte of random value used.
353 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
354 Fix coding style in previous change.
355
b4b2eb5e
DM
356 * sysdeps/unix/sysv/linux/kernel-features.h
357 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
358 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
359 expression.
360 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
361 later.
362
6e226b09
DM
3632012-03-11 David S. Miller <davem@davemloft.net>
364
a1bcbd40
DM
365 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
366 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
367 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
368 for 'resultvar' otherwise things get truncated on 64-bit.
369
cb9d6174
DM
370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
371 Fix masking out of the most significant byte of random value used.
372
6e226b09
DM
373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
374
058c132d
AS
3752012-03-10 Andreas Schwab <schwab@linux-m68k.org>
376
377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
378
2d2cd515
DM
3792012-03-09 David S. Miller <davem@davemloft.net>
380
381 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
382 variables with appropriate CPP guards.
383 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
384 frame pointer, not the stack pointer. Correct layout comments. Fix test
385 on resulting framesize and the management of the outregs buffer for pltexit.
386 Preserve floating point return values across _dl_call_pltexit call.
387 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
388 framesize and the management of the outregs buffer for pltexit.
389 Preserve floating point return values across _dl_call_pltexit
390 call.
391 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
392 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
393 (print_exit): Fix format string for return register value.
394
9a07f9d0
JM
3952012-03-10 Joseph Myers <joseph@codesourcery.com>
396
397 * sunrpc/Makefile (others): Add rpcgen.
398 ($(objpfx)rpcgen): Remove special build rule and dependency on
399 libc.
400 * sunrpc/rpcgen.c: New file.
401
547b5e30
PE
4022012-03-09 Paul Eggert <eggert@cs.ucla.edu>
403
c524201a
PE
404 [BZ #13673]
405 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
406 * stdio-common/bug-vfprintf-nargs.c: Likewise.
407 * sysdeps/i386/crti.S: Likewise.
408 * sysdeps/i386/crtn.S: Likewise.
409 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
410 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
411 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
412 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
413 * sysdeps/sh/crti.S: Likewise.
414 * sysdeps/sh/crtn.S: Likewise.
415 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
416
7b6235f2
PE
417 [BZ #13673]
418 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
419 with URL.
420 * locale/programs/locfile-kw.gperf: Likewise.
421 * locale/programs/charmap-kw.h: Regenerated.
422 * locale/programs/locfile-kw.h: Likewise.
423
547b5e30
PE
424 [BZ #13673]
425 * intl/plural.y: Replace FSF snail mail address with URL.
426 * intl/plural.c: Regenerated.
427
5f0a5dae
RH
4282012-03-09 Richard Henderson <rth@twiddle.net>
429
430 * include/math_private.h: Remove file.
431 * math/math_private.h: Move file ...
432 * sysdeps/generic/math_private.h: ... here.
433
b8c03620
RH
434 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
435 * sysdeps/powerpc/fpu/math_private.h: Likewise.
436 * sysdeps/x86_64/fpu/math_private.h: Likewise.
437
4e234f5d 438 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
439 and <math_private.h>.
440 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
441 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
442 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
443 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
444 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
445 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
446 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
448 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
451 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
452 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
453 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
454 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
455 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
456 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
457 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
458 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
459 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
461 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
462 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
464 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
465 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
466 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
467 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
470 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
471 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
472 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
473 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
474 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
475 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
477 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
478 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
480 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
481 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
482 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
483 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
484 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
485 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
486 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
487 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
488 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
489 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
490 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
491 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
492 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
493 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
494 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
495 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
496 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
497 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
498 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
499 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
500 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
501 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
502 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
503 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
504 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
505 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
506 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
507 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
508 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
509 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
510 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
511 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
512 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
513 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
514 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
518 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
519 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
520 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
521 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
522 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
523 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
524 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
527 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
528 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
529 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
530 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
531 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
532 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
533 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
534 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
535 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
536 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
537 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
538 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
539 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
540 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
541 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
542 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
543 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
544 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
545 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
546 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
547 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
548 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
549 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
550 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
551 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
552 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
553 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
554 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
555 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
556 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
557 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
558 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
559 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
560 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
561 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
562 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
563 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
564 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
565 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
566 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
567 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
568 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
569 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
570 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
571 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
572 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
573 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
574 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
575 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
576 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
577 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
578 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
579 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
580 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
581 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
582 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
583 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
584 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
585 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
586 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
587 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
588 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
589 * sysdeps/ieee754/k_standard.c: Likewise.
590 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
591 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
593 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
594 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
595 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
596 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
597 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
598 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
599 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
600 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
601 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
602 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
603 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
604 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
605 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
606 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
607 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
608 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
609 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
610 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
611 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
612 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
613 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
614 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
615 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
616 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
617 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
618 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
619 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
620 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
621 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
622 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
623 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
624 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
625 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
626 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
627 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
628 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
629 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
630 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
631 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
632 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
633 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
634 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
635 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
636 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
637 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
638 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
639 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
640 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
641 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
642 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
643 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
644 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
645 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
646 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
647 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
648 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
649 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
650 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
651 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
652 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
653 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
655 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
656 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
657 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
658 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
659 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
662 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
664 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
665 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
666 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
667 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
668 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
669 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
670 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
671 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
672 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
673 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
674 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
675 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
676 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
677 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
678 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
680 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
681 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
682 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
683 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
684 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
685 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
686 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
687 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
688 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
689 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
691 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
692 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
694 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
695 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
696 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
697 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
698 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
699 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
700 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
701 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
702 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
703 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
704 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
705 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
706 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
707 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
708 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
709 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
710 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
711 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
712 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
713 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
714 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
715 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
716 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
717 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
718 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
719 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
720 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
721 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
722 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
723 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
724 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
725 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
726 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
727 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
728 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
729 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
730 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
731 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
732 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
733 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
734 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
735 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
736 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
737 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
738 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
739 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
740 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
741 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
742 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
743 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
744 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
745 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
746 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
747 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
748 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
749 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
750 * sysdeps/ieee754/s_lib_version.c: Likewise.
751 * sysdeps/ieee754/s_matherr.c: Likewise.
752 * sysdeps/ieee754/s_signgam.c: Likewise.
753 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
754 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
755 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
756 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
757 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
758 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
759 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
760 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
761 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
762 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
763 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
764 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
765 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
766 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
767 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
768 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
769 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
770 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
771 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 774
1991fa03
JM
7752012-03-09 Joseph Myers <joseph@codesourcery.com>
776
777 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
778 * sunrpc/rpc_main.c: Likewise.
779 * sunrpc/rpc_svcout.c: Likewise.
780
60d6f5a6
DM
7812012-03-09 David S. Miller <davem@davemloft.net>
782
783 * include/math_private.h: New file.
784
4962050e
JM
7852012-03-09 Joseph Myers <joseph@codesourcery.com>
786
02a6f887
JM
787 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
788 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
789 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
790 from <bits/socket_type.h>.
791 (enum __socket_type): Don't define here.
792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
794 bits/socket_type.h.
795
c6e013c1
JM
796 [BZ #13566]
797 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
798 checking __USE_GNU.
799
4962050e
JM
800 * Makerules ($(inst_includedir)/%.h): New rule.
801 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
802 (install-others): Remove variable setting.
803 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
804
38842f45
RH
8052012-03-08 Richard Henderson <rth@twiddle.net>
806
67bb6da6
RH
807 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
808 from macro to inline function; merge with the
809 !__LIBC_INTERNAL_MATH_INLINES version.
810 (__ieee754_sqrtf): Likewise.
811
15194b4b
RH
812 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
813 to inline function.
814 (__rintf, __floor, __floorf): Likewise.
815
64e21ede
RH
816 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
817 macro to inline function.
818 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
819
38842f45
RH
820 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
821 not <math/math_private.h>.
822
c64bf5fe
DM
8232012-03-08 David S. Miller <davem@davemloft.net>
824
825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
826 copyright year.
827 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
828
82d86f28
TS
8292012-03-08 Thomas Schwinge <thomas@codesourcery.com>
830
831 * resolv/gai_misc.c (handle_requests): Fix struct timespec
832 normalization.
833 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
834 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
835
aea5d727
UD
8362012-03-08 Ulrich Drepper <drepper@gmail.com>
837
838 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
839 be defined individually, they must be defined as a block. Define
840 S for printing a string instead of hidint the different by using a
841 macro for adding the 'l'.
842 * stdio-common/tst-fphex-wide.c: Adjust.
843
70bca0a3
MP
8442012-03-07 Marek Polacek <polacek@redhat.com>
845
846 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
847
65b81130
MP
8482012-03-08 Marek Polacek <polacek@redhat.com>
849
850 [BZ #13806]
851 * stdio-common/Makefile (tests): Add tst-fphex-wide.
852 * stdio-common/tst-fphex.c: Define a few macros to make the
853 test reusable. Use them.
854 * stdio-common/tst-fphex-wide.c: New file.
855
07037eeb
JM
8562012-03-08 Joseph Myers <joseph@codesourcery.com>
857
a7a93d50
JM
858 [BZ #6911]
859 * manual/macros.texi (gnusystems): New macro.
860 (nongnusystems): Likewise.
861 (gnulinuxhurdsystems): Likewise.
862 (gnuhurdsystems): Likewise..
863 (gnulinuxsystems): Likewise.
864 * manual/charset.texi: Use new macros or @theglibc{} to refer to
865 variants of the GNU system, not "GNU system".
866 * manual/conf.texi: Likewise.
867 * manual/errno.texi: Likewise. Update example of errno macro
868 expansion.
869 * manual/filesys.texi: Likewise.
870 (getumask): Document as specific to GNU/Hurd.
871 * manual/install.texi: Likewise. Reword some references to
872 GNU/Linux.
873 * manual/intro.texi: Likewise.
874 * manual/io.texi: Likewise.
875 (File Name Portability): Detail which constraints are inapplicable
876 to all GNU systems and which are only inapplicable to GNU/Hurd.
877 * manual/job.texi: Likewise.
878 * manual/llio.texi: Likewise.
879 (O_NOCTTY): Document as present on GNU/Linux.
880 * manual/maint.texi: Likewise.
881 * manual/memory.texi: Likewise.
882 * manual/pattern.texi: Likewise.
883 * manual/pipe.texi: Likewise.
884 * manual/process.texi: Likewise.
885 * manual/resource.texi: Likewise.
886 (RUSAGE_CHILDREN): Remove statement about specifying a particular
887 child on GNU/Hurd.
888 * manual/setjmp.texi: Likewise.
889 * manual/signal.texi: Likewise.
890 * manual/startup.texi: Likewise.
891 * manual/stdio.texi: Likewise.
892 * manual/terminal.texi: Likewise.
893 (ONLCR): Document as POSIX.
894 (OXTABS): Document availability on GNU/Linux as XTABS.
895 (ONOEOT): Document availability separately from other bits.
896 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
897 * manual/time.texi: Likewise.
898 * manual/users.texi: Likewise.
899 * INSTALL: Regenerated.
900 * sysdeps/gnu/errlist.c: Regenerated.
901
07037eeb
JM
902 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
903 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
904 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
905 puts.
906 * configure: Regenerated.
907
d1d3431a
JM
9082012-03-07 Joseph Myers <joseph@codesourcery.com>
909
af6a1e37
JM
910 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
911 default includes instead of AC_HEADER_CHECK.
912 * sysdeps/i386/configure: Regenerated.
913
d1d3431a
JM
914 [BZ #10716]
915 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
916 * math/s_cacoshf.c (__cacoshf): Likewise.
917 * math/s_cacoshl.c (__cacoshl): Likewise.
918 * math/s_casinh.c (__casinh): Set signs of result from argument.
919 * math/s_casinhf.c (__casinhf): Likewise.
920 * math/s_casinhl.c (__casinhl): Likewise.
921 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
922 (casinh_test): Add more tests.
923 * sysdeps/i386/fpu/libm-test-ulps: Update.
924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
925
482ff4da
UD
9262012-03-07 Ulrich Drepper <drepper@gmail.com>
927
872fda05
UD
928 * po/zh_TW.po: Update from translation team.
929
a4300c7a
UD
930 * login/Makefile (distribute): Remove variable.
931 * catgets/Makefile: Likewise.
932 * mach/Makefile: Likewise.
933 * malloc/Makefile: Likewise.
934 * misc/Makefile: Likewise.
935 * iconv/Makefile: Likewise.
936 * nscd/Makefile: Likewise.
937 * hurd/Makefile: Likewise.
938 * manual/Makefile: Likewise.
939 * locale/Makefile: Likewise.
940 * intl/Makefile: Likewise.
941 * conform/Makefile: Likewise.
942 * nss/Makefile: Likewise.
943 * time/Makefile: Likewise.
944 * soft-fp/Makefile: Likewise.
945 * dirent/Makefile: Likewise.
946 * gmon/Makefile: Likewise.
947 * po/Makefile: Likewise.
948 * rt/Makefile: Likewise.
949 * socket/Makefile: Likewise.
950 * math/Makefile: Likewise.
951 * signal/Makefile: Likewise.
952 * debug/Makefile: Likewise.
953 * elf/Makefile: Likewise.
954 * timezone/Makefile: Likewise.
955 * stdlib/Makefile: Likewise.
956 * iconvdata/Makefile: Likewise.
957 * sunrpc/Makefile: Likewise.
958 * io/Makefile: Likewise.
959 * argp/Makefile: Likewise.
960 * inet/Makefile: Likewise.
961 * hesiod/Makefile: Likewise.
962 * grp/Makefile: Likewise.
963 * csu/Makefile: Likewise.
964 * wctype/Makefile: Likewise.
965 * crypt/Makefile: Likewise.
966 * libio/Makefile: Likewise.
967 * string/Makefile: Likewise.
968 * nis/Makefile: Likewise.
969 * resolv/Makefile: Likewise.
970 * stdio-common/Makefile: Likewise.
971 * wcsmbs/Makefile: Likewise.
972 * dlfcn/Makefile: Likewise.
973 * posix/Makefile: Likewise.
974
482ff4da
UD
975 * timezone/Makefile: Don't install timezone files, just the programs
976 and scripts.
977
f72ed77d
UD
9782012-03-06 Ulrich Drepper <drepper@gmail.com>
979
a000466f
UD
980 * nss/databases.def: Add missing gshadow entry.
981
f72ed77d
UD
982 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
983
a53b7a4e
MP
9842012-03-06 Marek Polacek <polacek@redhat.com>
985
986 [BZ #13726]
987 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
988 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
989 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
990 * stdio-common/tst-long-dbl-fphex.c: New file.
991
e9258400
DM
9922012-03-06 David S. Miller <davem@davemloft.net>
993
994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
995 (set_obp_int): New function.
996 (get_obp_int): New function.
997 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
998 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
999 Avoid unused variable warnings on 'val' and use builtin_expect.
1000 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1001 __builtin_expect.
e9258400
DM
1002 (INLINE_CLONE_SYSCALL): Likewise.
1003
3bd2c723
DM
10042012-03-05 David S. Miller <davem@davemloft.net>
1005
1006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1007
bbb78d03
AS
10082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1009
884c5db4
AS
1010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1011
bbb78d03
AS
1012 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1013 only for |x| >= 40.
1014 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1015
1c9f702a 10162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1017
1018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1019 Replace gettimeofday with __vdso_gettimeofday.
1020
7be16f82
RM
1021 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1022 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1023 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1024
1025 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1026 time with __vdso_time.
1027
ed58a00f
JM
10282012-03-05 Joseph Myers <joseph@codesourcery.com>
1029
1030 * manual/lang.texi (size_t): Note types to which size_t may be
1031 equivalent with the GNU C Library, but do not describe when
1032 differences between them are significant.
1033
30ee4ced
AJ
10342012-03-05 Andreas Jaeger <aj@suse.de>
1035
1036 * sysdeps/i386/fpu/libm-test-ulps: Update.
1037
b7cd39e8
JM
10382012-03-05 Joseph Myers <joseph@codesourcery.com>
1039
1040 [BZ #3976]
1041 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1042 (__ieee754_pow): Save and restore rounding mode and use
1043 round-to-nearest for main computations.
1044 * math/libm-test.inc (pow_test_tonearest): New function.
1045 (pow_test_towardzero): Likewise.
1046 (pow_test_downward): Likewise.
1047 (pow_test_upward): Likewise.
1048 (main): Call the new functions.
1049 * sysdeps/i386/fpu/libm-test-ulps: Update.
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1051
1052 [BZ #3976]
1053 * math/libm-test.inc (cosh_test_tonearest): New function.
1054 (cosh_test_towardzero): Likewise.
1055 (cosh_test_downward): Likewise.
1056 (cosh_test_upward): Likewise.
1057 (sinh_test_tonearest): Likewise.
1058 (sinh_test_towardzero): Likewise.
1059 (sinh_test_downward): Likewise.
1060 (sinh_test_upward): Likewise.
1061 (main): Call the new functions.
1062 * sysdeps/i386/fpu/libm-test-ulps: Update.
1063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1064
6c6a98c9
TV
10652012-03-05 Tom de Vries <tom@codesourcery.com>
1066
1067 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1068 default stack guard is set in last bytes.
1069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1070
21bb2d2e 10712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1072
21bb2d2e 1073 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1074
21bb2d2e
AJ
1075 [BZ #13656]
1076 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1077 possibly allocate from heap instead of stack.
1078 * stdio-common/bug-vfprintf-nargs.c: New file.
1079 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1080
c6922934
AS
10812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1082
1083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1084
bc957d53
MP
10852012-03-03 Marek Polacek <polacek@redhat.com>
1086
1087 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1088 * math/math_private.h: Likewise.
1089 * stdlib/tst-strtod.c: Likewise.
1090 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1091 * sysdeps/x86_64/bits/atomic.h: Likewise.
1092
6358490d
DM
10932012-03-02 David S. Miller <davem@davemloft.net>
1094
1095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1099 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1100 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1101 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1102 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1103
01ae168d
RM
11042012-03-02 Roland McGrath <roland@hack.frob.com>
1105
d9a17c07
RM
1106 [BZ #13792]
1107 * manual/examples/README: New file, says the example source files
1108 can be used under GPL>=2.
1109 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1110 line containing just "*/".
1111 * manual/examples/add.c: Add copyright header (GPL>=2).
1112 * manual/examples/argp-ex1.c: Likewise.
1113 * manual/examples/argp-ex2.c: Likewise.
1114 * manual/examples/argp-ex3.c: Likewise.
1115 * manual/examples/argp-ex4.c: Likewise.
1116 * manual/examples/atexit.c: Likewise.
1117 * manual/examples/db.c: Likewise.
1118 * manual/examples/dir.c: Likewise.
1119 * manual/examples/dir2.c: Likewise.
1120 * manual/examples/execinfo.c: Likewise.
1121 * manual/examples/filecli.c: Likewise.
1122 * manual/examples/filesrv.c: Likewise.
1123 * manual/examples/fmtmsgexpl.c: Likewise.
1124 * manual/examples/genpass.c: Likewise.
1125 * manual/examples/inetcli.c: Likewise.
1126 * manual/examples/inetsrv.c: Likewise.
1127 * manual/examples/isockad.c: Likewise.
1128 * manual/examples/longopt.c: Likewise.
1129 * manual/examples/memopen.c: Likewise.
1130 * manual/examples/memstrm.c: Likewise.
1131 * manual/examples/mkfsock.c: Likewise.
1132 * manual/examples/mkisock.c: Likewise.
1133 * manual/examples/mygetpass.c: Likewise.
1134 * manual/examples/pipe.c: Likewise.
1135 * manual/examples/popen.c: Likewise.
1136 * manual/examples/rprintf.c: Likewise.
1137 * manual/examples/search.c: Likewise.
1138 * manual/examples/select.c: Likewise.
1139 * manual/examples/setjmp.c: Likewise.
1140 * manual/examples/sigh1.c: Likewise.
1141 * manual/examples/sigusr.c: Likewise.
1142 * manual/examples/stpcpy.c: Likewise.
1143 * manual/examples/strdupa.c: Likewise.
1144 * manual/examples/strftim.c: Likewise.
1145 * manual/examples/strncat.c: Likewise.
1146 * manual/examples/subopt.c: Likewise.
1147 * manual/examples/swapcontext.c: Likewise.
1148 * manual/examples/termios.c: Likewise.
1149 * manual/examples/testopt.c: Likewise.
1150 * manual/examples/testpass.c: Likewise.
1151 * manual/examples/timeval_subtract.c: Likewise.
1152
01ae168d
RM
1153 [BZ #13792]
1154 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1155 function to ...
1156 * manual/timeval_subtract.c.texi: ... here, new file.
1157
49efa33d
DM
11582012-03-02 David S. Miller <davem@davemloft.net>
1159
1160 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1161
28afd92d
JM
11622012-03-02 Joseph Myers <joseph@codesourcery.com>
1163
804360ed
JM
1164 [BZ #3976]
1165 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1166 (__sin): Save and restore rounding mode and use round-to-nearest
1167 for all computations.
1168 (__cos): Save and restore rounding mode and use round-to-nearest
1169 for all computations.
1170 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1171 <fenv.h>.
1172 (tan): Save and restore rounding mode and use round-to-nearest for
1173 all computations.
1174 * math/libm-test.inc (cos_test_tonearest): New function.
1175 (cos_test_towardzero): Likewise.
1176 (cos_test_downward): Likewise.
1177 (cos_test_upward): Likewise.
1178 (sin_test_tonearest): Likewise.
1179 (sin_test_towardzero): Likewise.
1180 (sin_test_downward): Likewise.
1181 (sin_test_upward): Likewise.
1182 (tan_test_tonearest): Likewise.
1183 (tan_test_towardzero): Likewise.
1184 (tan_test_downward): Likewise.
1185 (tan_test_upward): Likewise.
1186 (main): Call the new functions.
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1189
a6d06d7b
JM
1190 [BZ #10135]
1191 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1192 small n, then large n, before computing and testing k+n.
1193 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1194 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1195 Likewise.
1196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1197 Likewise.
1198 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1199 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1200 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1201 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1204 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1205 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1206 * math/libm-test.inc (scalbn_test): Add more tests.
1207 (scalbln_test): Likewise.
1208
07e12bb3
JM
1209 * manual/filesys.texi (mode_t): Describe constraints on size and
1210 signedness, not exact equivalence to a particular type.
1211 (ino_t): Likewise.
1212 (ino64_t): Likewise.
1213 (dev_t): Likewise.
1214 (nlink_t): Likewise.
1215 (blkcnt_t): Likewise.
1216 (blkcnt64_t): Likewise.
1217 * manual/llio.texi (off_t): Likewise.
1218
28afd92d
JM
1219 [BZ #3976]
1220 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1221 (__ieee754_exp): Save and restore rounding mode and use
1222 round-to-nearest for all computations.
1223 * math/libm-test.inc (exp_test_tonearest): New function.
1224 (exp_test_towardzero): Likewise.
1225 (exp_test_downward): Likewise.
1226 (exp_test_upward): Likewise.
1227 (main): Call the new functions.
1228 * sysdeps/i386/fpu/libm-test-ulps: Update.
1229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1230
b1eeb65d
CD
12312012-03-01 Chris Demetriou <cgd@google.com>
1232
1233 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1234 have predictable order.
1235
53362a4b
DM
12362012-03-01 David S. Miller <davem@davemloft.net>
1237
3c969083
DM
1238 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1239
759707de
DM
1240 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1241 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1242 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1243 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1244
dfdb8ff2
DM
1245 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1246 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1247 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1249 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1250 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1251 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1252 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1253 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1254
ead89f96
DM
1255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1256
7f66bd07
DM
1257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1258 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1259 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1260
53362a4b
DM
1261 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1262 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1263 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1264 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1265 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1267 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1268 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1269 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1270 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1271 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1272 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1274 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1275 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1277 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1278 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1279 * sysdeps/sparc/elf/configure: Regenerated.
1280
7b1902cb
JM
12812012-03-01 Joseph Myers <joseph@codesourcery.com>
1282
bec039bc
JM
1283 * configure.in (AS, LD): Require binutils 2.20 or later.
1284 * configure: Regenerated.
1285 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1286 as required minimum version.
1287 * INSTALL: Regenerated.
1288
7b1902cb
JM
1289 [BZ #2541]
1290 [BZ #4108]
1291 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1292 before squaring exponent.
1293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1294 bottom long double and 27 bits of top long double before squaring
1295 exponent.
1296 * math/libm-test.inc (erfc_test): Add more tests.
1297 * sysdeps/i386/fpu/libm-test-ulps: Update.
1298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1300
f775c276
KT
13012012-03-01 Kai Tietz <ktietz@redhat.com>
1302
1303 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1304 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1305 containing bit-fields.
1306 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1307 * soft-fp/single.h (_FP_UNION_S): Likewise.
1308 * soft-fp/double.h (_FP_UNION_D): Likewise.
1309
5b8a4d4a
JM
13102012-02-29 Joseph Myers <joseph@codesourcery.com>
1311
0bab47b6
JM
1312 [BZ #13786]
1313 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1314 not include ../strcmp.S.
1315 [USE_AS_STRNCASECMP_L]: Likewise.
1316 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1317 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1318 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1319 (__strncasecmp_l_ia32): Define as alias to
1320 __strncasecmp_l_nonascii.
1321
0fcad3e2
JM
1322 [BZ #5794]
1323 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1324 * sysdeps/i386/fpu/libm-test-ulps: Update.
1325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1326
5b8a4d4a
JM
1327 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1329
8fdceb2e
JL
13302012-02-29 Jeff Law <law@redhat.com>
1331
1332 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1333 out of bounds read.
1334
1f393a11
MP
13352012-02-29 Marek Polacek <polacek@redhat.com>
1336
1337 [BZ #13706]
1338 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1339 * elf/Makefile: Add rules to run tst-unused-dep.out.
1340
8847f037
DM
13412012-02-28 David S. Miller <davem@davemloft.net>
1342
1343 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1344 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1346 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1347 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1348 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1349
169d7f11
JM
13502012-02-29 Joseph Myers <joseph@codesourcery.com>
1351
1352 * math/libm-test.inc (llround_test): Move one test from
1353 lround_test. Use TEST_f_L in moved test.
1354 (lround_test): Move misplaced test to llround_test. Add testcase
1355 from bug 2561.
1356
39adf059
UD
13572012-02-28 Ulrich Drepper <drepper@gmail.com>
1358
1359 * sysdeps/x86_64/fpu/e_expf.S: New file.
1360 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1361
71b5d1c5
SB
13622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1363
1364 [BZ #13637]
1365 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1366 of remain_len that may cause incomplete multi-byte character and
1367 false match.
1368 * posix/bug-regex33.c: New file.
1369 * posix/Makefile (tests): Add bug-regex33.
1370
1f77f049
JM
13712012-02-28 Joseph Myers <joseph@codesourcery.com>
1372
1373 * manual/macros.texi: New file.
1374 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1375 * manual/libc.texinfo: Include macros.texi.
1376 * manual/creatute.texi: Likewise.
1377 * manual/install.texi: Likewise.
1378 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1379 @glibcadj{} in references to the GNU C Library.
1380 * manual/charset.texi: Likewise.
1381 * manual/conf.texi: Likewise.
1382 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1383 when not using those macros.
1384 * manual/creature.texi: Likewise.
1385 * manual/crypt.texi: Likewise.
1386 * manual/errno.texi: Likewise.
1387 * manual/filesys.texi: Likewise.
1388 * manual/header.texi: Likewise.
1389 * manual/install.texi: Likewise.
1390 * manual/intro.texi: Likewise.
1391 * manual/io.texi: Likewise.
1392 * manual/job.texi: Likewise.
1393 * manual/lang.texi: Likewise.
1394 * manual/libc.texiinfo: Likewise.
1395 * manual/llio.texi: Likewise.
1396 * manual/locale.texi: Likewise.
1397 * manual/maint.texi: Likewise.
1398 * manual/math.texi: Likewise.
1399 * manual/memory.texi: Likewise.
1400 * manual/message.texi: Likewise.
1401 * manual/nss.texi: Likewise.
1402 * manual/pattern.texi: Likewise.
1403 * manual/process.texi: Likewise.
1404 * manual/resource.texi: Likewise.
1405 * manual/search.texi: Likewise.
1406 * manual/setjmp.texi: Likewise.
1407 * manual/signal.texi: Likewise.
1408 * manual/socket.texi: Likewise.
1409 * manual/startup.texi: Likewise.
1410 * manual/stdio.texi: Likewise.
1411 * manual/string.texi: Likewise.
1412 * manual/sysinfo.texi: Likewise.
1413 * manual/syslog.texi: Likewise.
1414 * manual/terminal.texi: Likewise.
1415 * manual/time.texi: Likewise.
1416 * manual/users.texi: Likewise.
1417 * INSTALL: Regenerated.
1418 * NOTES: Regenerated.
d40c5d54 1419 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1420
450bf206
AS
14212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1422
1423 * include/dirent.h: Include <dirstream.h> before
1424 <dirent/dirent.h>.
1425
741a235b
DM
14262012-02-28 David S. Miller <davem@davemloft.net>
1427
1428 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1429 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1430 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1431 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1432
d6b5aa58
DM
14332012-02-27 David S. Miller <davem@davemloft.net>
1434
1aff59a3
DM
1435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1437 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1438 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1439
d6b5aa58
DM
1440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1441 frame pointer instead of stack pointer relative arg slot.
1442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1443 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1444 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1445
433f48bf
CD
14462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1447
1448 [BZ #3992]
1449 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1450
d674b76d
DM
14512012-02-27 David S. Miller <davem@davemloft.net>
1452
1453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1457 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1458 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1459 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1460 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1461
0e7727f7
JM
14622012-02-27 Joseph Myers <joseph@codesourcery.com>
1463
1464 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1465 later. Allow versions 5-9.
43be4ca2 1466 * configure: Regenerated.
0e7727f7
JM
1467 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1468 required minimum version and 4.6 as recommended version. Do not
1469 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1470 * INSTALL: Regenerated.
0e7727f7 1471
a78bc654
DM
14722012-02-27 David S. Miller <davem@davemloft.net>
1473
428d5830
DM
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1478 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1479 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1480 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1481 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1482
a78bc654
DM
1483 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1484 manipulate bits before adding and subtracting TWO112[sx].
1485 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1486
4579f81c
RM
14872012-02-27 Roland McGrath <roland@hack.frob.com>
1488
36c8acb4
RM
1489 [BZ #13775]
1490 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1491 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1492 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1493 being in POSIX, because they are in 1003.1-2008.
1494
84ad622b
RM
1495 * rt/tst-aio.c: Include <fcntl.h>.
1496 * rt/tst-aio7.c: Likewise.
1497 * rt/tst-aio64.c: Likewise.
1498
4579f81c
RM
1499 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1500
abd923db
JM
15012012-02-27 Joseph Myers <joseph@codesourcery.com>
1502
1503 * manual/install.texi (--with-headers): Describe headers as
1504 interface headers, not private headers.
1505 (Specific advice for GNU/Linux systems): Describe use of headers
1506 from "make headers_install", not private headers from older
1507 kernels.
43be4ca2 1508 * INSTALL: Regenerated.
abd923db
JM
1509 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1510 Change to 2.6.19.
1511 * sysdeps/unix/sysv/linux/configure: Regenerated.
1512
6664049b
JM
1513 * manual/llio.texi (fclean): Remove documentation.
1514
bb8b6697
JM
1515 * manual/Makefile (libc-texi-generated): New variable. Include
1516 version.texi.
1517 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1518 $(libc-texi-generated), not duplicated list of files.
1519 (version.texi, stamp-version): New rules.
1520 (realclean): Remove $(libc-texi-generated), not individual files
1521 from that list. Do not remove dir-add.texinfo.
1522 * manual/libc.texinfo: Comment out uses of edition numbers and
1523 references to printed manual. Remove last-updated dates.
1524 (EDITION): Comment out.
1525 (ISBN): Likewise.
1526 (VERSION, UPDATED): Remove.
1527 (version.texi): Include.
1528
12e5c3b9
AS
15292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1530
1531 * sysdeps/posix/spawni.c: Include <signal.h>.
1532 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1533 * sysdeps/pthread/aio_fsync.c: Likewise.
1534
4efeffc1 15352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1536
ba63ba08
UD
1537 * conform/Makefile (tests): Run only when not cross-compiling and
1538 when fast-check is not defined.
1539
d94a4670
UD
1540 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1541 * conform/data/limits.h-data: Fixes for POSIX2008.
1542 * conform/run-conformtest.sh: Run all tests.
1543 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1544 headers.
1545 * include/bits/dlfcn.h: Likewise.
1546 * include/langinfo.h: Likewise.
1547 * include/monetary.h: Likewise.
1548 * include/sys/poll.h: Likewise.
1549
1550 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1551 for __USE_GNU.
1552 * posix/spawn.h: Define __need_sigset_t.
1553 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1554 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1555 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1556 to get sigevent_t only.
1557 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1558 only for __USE_GNU.
1559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1560 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1561 process_vm_writev only for __USE_GNU.
1562 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1563
1564 * conform/Makefile: For now ignore errors from run-conformtest.
1565 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1566 POSIX to avoid namespace pollution. Don't prepend headers.
1567 * conform/data/aio.h-data: Fixes for POSIX testing.
1568 * conform/data/fcntl.h-data: Likewise.
1569 * conform/data/glob.h-data: Likewise.
1570 * conform/data/grp.h-data: Likewise.
1571 * conform/data/pthread.h-data: Likewise.
1572 * conform/data/pwd.h-data: Likewise.
1573 * conform/data/signal.h-data: Likewise.
1574 * conform/data/spawn.h-data: Likewise.
1575 * conform/data/stdio.h-data: Likewise.
1576 * conform/data/stdlib.h-data: Likewise.
1577 * conform/data/stropts.h-data: Likewise.
1578 * conform/data/sys/mman.h-data: Likewise.
1579 * conform/data/sys/stat.h-data: Likewise.
1580 * conform/data/sys/types.h-data: Likewise.
1581 * conform/data/sys/wait.h-data: Likewise.
1582 * conform/data/time.h-data: Likewise.
1583 * conform/data/unistd.h-data: Likewise.
1584 * conform/data/utime.h-data: Likewise.
1585
1586 * io/sys/stat.h: fchmod was always in POSIX.
1587 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1588 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1589 * rt/aio.h: Define __need_timespec before including <time.h>.
1590 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1591 struct. Add forward declaration of pthread_attr_t and use it in
1592 sigevent.
1593 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1594 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1595 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1596 always remove CLK_TCK definition.
1597
c20105c3
AS
15982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1599
1600 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1601
7a270350
UD
16022012-02-25 Ulrich Drepper <drepper@gmail.com>
1603
31341567
UD
1604 * conform/run-conformtest.sh: New file.
1605 * conform/Makefile: Run run-conformtest for tests.
1606 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1607 support.
1608
1609 * conform/data/uchar.h-data: New file.
1610 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1611 * conform/data/arpa/inet.h-data: Likewise.
1612 * conform/data/assert.h-data: Likewise.
1613 * conform/data/complex.h-data: Likewise.
1614 * conform/data/cpio.h-data: Likewise.
1615 * conform/data/ctype.h-data: Likewise.
1616 * conform/data/dirent.h-data: Likewise.
1617 * conform/data/dlfcn.h-data: Likewise.
1618 * conform/data/errno.h-data: Likewise.
1619 * conform/data/fcntl.h-data: Likewise.
1620 * conform/data/float.h-data: Likewise.
1621 * conform/data/fmtmsg.h-data: Likewise.
1622 * conform/data/fnmatch.h-data: Likewise.
1623 * conform/data/ftw.h-data: Likewise.
1624 * conform/data/glob.h-data: Likewise.
1625 * conform/data/grp.h-data: Likewise.
1626 * conform/data/iconv.h-data: Likewise.
1627 * conform/data/inttypes.h-data: Likewise.
1628 * conform/data/langinfo.h-data: Likewise.
1629 * conform/data/libgen.h-data: Likewise.
1630 * conform/data/limits.h-data: Likewise.
1631 * conform/data/locale.h-data: Likewise.
1632 * conform/data/math.h-data: Likewise.
1633 * conform/data/monetary.h-data: Likewise.
1634 * conform/data/mqueue.h-data: Likewise.
1635 * conform/data/ndbm.h-data: Likewise.
1636 * conform/data/net/if.h-data: Likewise.
1637 * conform/data/netdb.h-data: Likewise.
1638 * conform/data/netinet/in.h-data: Likewise.
1639 * conform/data/nl_types.h-data: Likewise.
1640 * conform/data/poll.h-data: Likewise.
1641 * conform/data/pthread.h-data: Likewise.
1642 * conform/data/pwd.h-data: Likewise.
1643 * conform/data/regex.h-data: Likewise.
1644 * conform/data/sched.h-data: Likewise.
1645 * conform/data/search.h-data: Likewise.
1646 * conform/data/semaphore.h-data: Likewise.
1647 * conform/data/setjmp.h-data: Likewise.
1648 * conform/data/signal.h-data: Likewise.
1649 * conform/data/spawn.h-data: Likewise.
1650 * conform/data/stdarg.h-data: Likewise.
1651 * conform/data/stdio.h-data: Likewise.
1652 * conform/data/stdlib.h-data: Likewise.
1653 * conform/data/string.h-data: Likewise.
1654 * conform/data/strings.h-data: Likewise.
1655 * conform/data/stropts.h-data: Likewise.
1656 * conform/data/sys/ipc.h-data: Likewise.
1657 * conform/data/sys/mman.h-data: Likewise.
1658 * conform/data/sys/msg.h-data: Likewise.
1659 * conform/data/sys/resource.h-data: Likewise.
1660 * conform/data/sys/select.h-data: Likewise.
1661 * conform/data/sys/sem.h-data: Likewise.
1662 * conform/data/sys/shm.h-data: Likewise.
1663 * conform/data/sys/socket.h-data: Likewise.
1664 * conform/data/sys/stat.h-data: Likewise.
1665 * conform/data/sys/statvfs.h-data: Likewise.
1666 * conform/data/sys/time.h-data: Likewise.
1667 * conform/data/sys/timeb.h-data: Likewise.
1668 * conform/data/sys/times.h-data: Likewise.
1669 * conform/data/sys/types.h-data: Likewise.
1670 * conform/data/sys/uio.h-data: Likewise.
1671 * conform/data/sys/un.h-data: Likewise.
1672 * conform/data/sys/utsname.h-data: Likewise.
1673 * conform/data/sys/wait.h-data: Likewise.
1674 * conform/data/syslog.h-data: Likewise.
1675 * conform/data/tar.h-data: Likewise.
1676 * conform/data/termios.h-data: Likewise.
1677 * conform/data/utime.h-data: Likewise.
1678 * conform/data/utmpx.h-data: Likewise.
1679 * conform/data/varargs.h-data: Likewise.
1680 * conform/data/wchar.h-data: Likewise.
1681 * conform/data/wctype.h-data: Likewise.
1682 * conform/data/wordexp.h-data: Likewise.
1683
1684 * include/stropts.h: New file.
1685 * include/uchar.h: New file.
1686 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1687 * include/assert.h: Likewise.
1688 * include/ctype.h: Likewise.
1689 * include/dirent.h: Likewise.
1690 * include/dlfcn.h: Likewise.
1691 * include/fcntl.h: Likewise.
1692 * include/fnmatch.h: Likewise.
1693 * include/glob.h: Likewise.
1694 * include/grp.h: Likewise.
1695 * include/libio.h: Likewise.
1696 * include/locale.h: Likewise.
1697 * include/math.h: Likewise.
1698 * include/net/if.h: Likewise.
1699 * include/netdb.h: Likewise.
1700 * include/netinet/in.h: Likewise.
1701 * include/pthread.h: Likewise.
1702 * include/pwd.h: Likewise.
1703 * include/regex.h: Likewise.
1704 * include/sched.h: Likewise.
1705 * include/search.h: Likewise.
1706 * include/setjmp.h: Likewise.
1707 * include/signal.h: Likewise.
1708 * include/stdio.h: Likewise.
1709 * include/stdlib.h: Likewise.
1710 * include/string.h: Likewise.
1711 * include/sys/cdefs.h: Likewise.
1712 * include/sys/mman.h: Likewise.
1713 * include/sys/msg.h: Likewise.
1714 * include/sys/resource.h: Likewise.
1715 * include/sys/select.h: Likewise.
1716 * include/sys/socket.h: Likewise.
1717 * include/sys/stat.h: Likewise.
1718 * include/sys/statvfs.h: Likewise.
1719 * include/sys/time.h: Likewise.
1720 * include/sys/times.h: Likewise.
1721 * include/sys/uio.h: Likewise.
1722 * include/sys/utsname.h: Likewise.
1723 * include/sys/wait.h: Likewise.
1724 * include/termios.h: Likewise.
1725 * include/time.h: Likewise.
1726 * include/ulimit.h: Likewise.
1727 * include/unistd.h: Likewise.
1728 * include/utime.h: Likewise.
1729 * include/wchar.h: Likewise.
1730 * include/wctype.h: Likewise.
1731 * include/wordexp.h: Likewise.
1732
1733 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1734
7a270350
UD
1735 * time/time.h: TIME_UTC must be a macro.
1736 Make timespec_get available for ISO C11 only as well.
1737
7724defc
UD
17382012-02-24 Ulrich Drepper <drepper@gmail.com>
1739
1740 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1741 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1742
6b1d1d46
JM
17432012-02-24 Joseph Myers <joseph@codesourcery.com>
1744
1745 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1746
0f8bbd69
JM
17472012-02-24 Joseph Myers <joseph@codesourcery.com>
1748
1749 * manual/texinfo.tex: Update to version 2012-01-19.16.
1750
66ab80bc
JM
17512012-02-24 Joseph Myers <joseph@codesourcery.com>
1752
1753 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1754
74981cc5
RM
17552012-02-24 Roland McGrath <roland@hack.frob.com>
1756
ee968201
RM
1757 [BZ #13738]
1758 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1759 * manual/fdl-1.3.texi: New file.
1760 * manual/fdl-1.1.texi: File removed.
1761
74981cc5
RM
1762 [BZ #13738]
1763 * manual/libc.texinfo (FDL_VERSION): New @set.
1764 Use it for mention of FDL in cover text.
1765 (Documentation License): Use it in @include file name.
1766
7bb764bc
JM
17672012-02-22 Joseph Myers <joseph@codesourcery.com>
1768 Roland McGrath <roland@hack.frob.com>
1769
1770 [BZ #5461]
1771 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1772 not LONG_LONG_MAX and LONG_LONG_MIN.
1773 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1774 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1775 name.
1776 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1777
6cbeae47
JM
17782012-02-22 Joseph Myers <joseph@codesourcery.com>
1779
1780 [BZ #2547]
1781 [BZ #11365]
1782 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1783 manipulate bits before adding and subtracting TWO23[sx].
1784 * math/libm-test.inc (nearbyint_test): Add more tests.
1785
fe45ce09
JM
17862012-02-22 Joseph Myers <joseph@codesourcery.com>
1787
1788 [BZ #2548]
1789 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1790 bits before adding and subtracting TWO23[sx].
1791 * math/libm-test.inc (rint_test): Add more tests.
1792 (rint_test_tonearest): Likewise.
1793 (rint_test_towardzero): Likewise.
1794 (rint_test_downward): Likewise.
1795 (rint_test_upward: Likewise.
1796
ff3b3d82
JM
17972012-02-22 Joseph Myers <joseph@codesourcery.com>
1798
1799 [BZ #10110]
1800 * include/stdc-predef.h: New file. Extracted from features.h.
1801 * include/features.h: Include stdc-predef.h.
1802 * Makefile (headers): Add stdc-predef.h.
1803 * CONFORMANCE (Compiler limitations): Update.
1804
ef0aab35
JM
18052012-02-22 Joseph Myers <joseph@codesourcery.com>
1806
1807 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1808
58639409
DM
18092012-02-21 David S. Miller <davem@davemloft.net>
1810
1811 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1812 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1813
c0e70b25
DM
18142012-02-20 David S. Miller <davem@davemloft.net>
1815
1816 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1817 using a normal save/restore sequence, rather than allocating a
1818 dummy stack frame just to store a frame pointer and restore.
1819 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1820
fb06851d
JM
18212012-02-21 Joseph Myers <joseph@codesourcery.com>
1822
1823 * manual/install.texi: Fix stray word in line-wrapped comment.
1824
7a8b71c3
DM
18252012-02-20 David S. Miller <davem@davemloft.net>
1826
d510c123
DM
1827 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1828 both binutils and gcc support GOTDATA.
1829
0722d7c2
DM
1830 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1831 "rd %pc" in the PIC register setup sequences.
1832
3d2b3019
DM
1833 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1834 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1835 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1836 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1837 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1839 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1840 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1842 (SYSCALL_ERROR_HANDLER): Likewise.
1843 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1844 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1846 (SYSCALL_ERROR_HANDLER): Likewise.
1847
c80098a9
DM
1848 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1849 (HAVE_GCC_GOTDATA): New.
1850 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1851 relocation support in both binutils and gcc.
1852 * sysdeps/sparc/elf/configure: Regenerate.
1853
3a2545a0
DM
1854 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1855 * sysdeps/sparc/sparc32/elf/configure: Delete.
1856 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1857 * sysdeps/sparc/sparc64/elf/configure: Delete.
1858 * sysdeps/sparc/elf/configure.in: New file.
1859 * sysdeps/sparc/elf/configure: Generate.
1860
7a8b71c3
DM
1861 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1862 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1863 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1864 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1865 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1866
f1e86fca
JM
18672012-02-21 Joseph Myers <joseph@codesourcery.com>
1868
1869 * manual/install.texi: Do not mention specific glibc version
1870 numbers.
1871 * manual/libc.texinfo (VERSION, UPDATED): Update.
1872 (@copying): Use @copyright{} and range of years.
1873
0e7dfaef
JM
18742012-02-21 Joseph Myers <joseph@codesourcery.com>
1875
1876 [BZ #13695]
1877 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1878 [crti.S not in sysdirs] (generated): Do not append.
1879 [crti.S not in sysdirs] (omit-deps): Likewise.
1880 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1881 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1882 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1883 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1884 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1885 Likewise.
1886 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1887 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1888 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1889 * csu/defs.awk: Remove file.
1890 * sysdeps/generic/initfini.c: Likewise.
1891 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1892 variable.
1893 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1894 Likewise.
1895
599af3ca
JM
18962012-02-20 Joseph Myers <joseph@codesourcery.com>
1897
1898 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1899 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1900 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1902 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1903 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1904 <bits/epoll.h>.
1905 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1906 (__EPOLL_PACKED): Define to empty if not defined by
1907 <bits/epoll.h>.
1908 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1910 bits/epoll.h.
1911
0e499750
JM
19122012-02-20 Joseph Myers <joseph@codesourcery.com>
1913
1914 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1915 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1916 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1917 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1918 <bits/timerfd.h>.
1919 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1921 bits/timerfd.h.
1922
5ad91f6e
JM
19232012-02-20 Joseph Myers <joseph@codesourcery.com>
1924
1925 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1926 in C locale.
1927 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1928 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1931
06b99b02
AJ
19322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1933
1934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1936
7638c0fd
AS
19372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1938
1939 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1940 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1941 defined.
1942 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1943 Likewise.
1944 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1945 entry for 2.16.
1946
92221550
AJ
19472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1948
1949 * math/w_acos.c: Use non-signaling floating-point comparisons.
1950 * math/w_acosf.c: Likewise.
1951 * math/w_acosh.c: Likewise.
1952 * math/w_acoshf.c: Likewise.
1953 * math/w_acoshl.c: Likewise.
1954 * math/w_acosl.c: Likewise.
1955 * math/w_asin.c: Likewise.
1956 * math/w_asinf.c: Likewise.
1957 * math/w_asinl.c: Likewise.
1958 * math/w_atanh.c: Likewise.
1959 * math/w_atanhf.c: Likewise.
1960 * math/w_atanhl.c: Likewise.
1961 * math/w_exp2.c: Likewise.
1962 * math/w_exp2f.c: Likewise.
1963 * math/w_exp2l.c: Likewise.
1964 * math/w_j0.c: Likewise.
1965 * math/w_j0f.c: Likewise.
1966 * math/w_j0l.c: Likewise.
1967 * math/w_j1.c: Likewise.
1968 * math/w_j1f.c: Likewise.
1969 * math/w_j1l.c: Likewise.
1970 * math/w_jn.c: Likewise.
1971 * math/w_jnf.c: Likewise.
1972 * math/w_log.c: Likewise.
1973 * math/w_log10.c: Likewise.
1974 * math/w_log10f.c: Likewise.
1975 * math/w_log10l.c: Likewise.
1976 * math/w_log2.c: Likewise.
1977 * math/w_log2f.c: Likewise.
1978 * math/w_log2l.c: Likewise.
1979 * math/w_logf.c: Likewise.
1980 * math/w_logl.c: Likewise.
1981 * math/w_sqrt.c: Likewise.
1982 * math/w_sqrtf.c: Likewise.
1983 * math/w_sqrtl.c: Likewise.
1984 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1985 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1986 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1987 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1988 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1989
ebaf36eb
JM
19902012-02-19 Joseph Myers <joseph@codesourcery.com>
1991
1992 [BZ #9739]
1993 * manual/string.texi (strnlen): Use correct parameter name in
1994 equivalent expression.
1995
71c254a6
JM
19962012-02-19 Joseph Myers <joseph@codesourcery.com>
1997
1998 [BZ #11174]
1999 * manual/users.texi (seteuid): Consistently use neweuid for
2000 argument name.
2001
16d2c631
JM
20022012-02-19 Joseph Myers <joseph@codesourcery.com>
2003
2004 [BZ #13704]
2005 * manual/nss.texi (Services in the NSS configuration): Correct
2006 list of services in example configuration file.
2007
cd837b09
NB
20082012-02-19 Nick Bowler <nbowler@draconx.ca>
2009
2010 [BZ #11322]
2011 * manual/arith.texi: Remove statements about negative zero
2012 behaving identically to zero.
2013
02c4bbad
JM
20142012-02-18 Joseph Myers <joseph@codesourcery.com>
2015
2016 [BZ #5993]
2017 * manual/install.texi: Do not document upgrading from libc5.
2018
366842e7
JM
20192012-02-18 Joseph Myers <joseph@codesourcery.com>
2020
2021 [BZ #4596]
2022 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2023
dd54084d
DM
20242012-02-18 David S. Miller <davem@davemloft.net>
2025
2026 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2027 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2028 %o7 across the call.
2029 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2030 instead.
2031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2032 SETUP_PIC_REG_LEAF.
2033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2034 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2035 * sysdeps/sparc/crtn.S: Likewise.
2036
2bcc53a3
UD
20372012-02-17 Ulrich Drepper <drepper@gmail.com>
2038
2039 * aout/Makefile: Remove.
2040
09c093b5
RK
20412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2042
2043 [BZ #13058]
2044 * manual/examples/argp-ex1.c (main): Format definition in GNU
2045 style.
2046 * manual/examples/argp-ex2.c (main): Likewise.
2047 * manual/examples/argp-ex3.c (main): Likewise.
2048 * manual/examples/argp-ex4.c (main): Likewise.
2049 * manual/examples/longopt.c (main): Use new-style prototype
2050 definition.
2051 * manual/examples/strncat.c (main): Specify return type and use
2052 (void) for arguments.
2053 * manual/examples/subopt.c (main): Use char **argv argument.
2054
2ee633a2
JM
20552012-02-17 Joseph Myers <joseph@codesourcery.com>
2056
2057 [BZ #5077]
2058 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2059 rounding modes.
2060
0520adde
FB
20612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2062
2063 [BZ #6907]
2064 * manual/string.texi (strchr): Change when strchrnul is
2065 recommended.
2066
3f4081cd
DGM
20672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2068
2069 [BZ #174]
2070 * manual/locale.texi (setlocale): Document LOCPATH.
2071
d1b10e78
JM
20722012-02-17 Joseph Myers <joseph@codesourcery.com>
2073
2074 [BZ #10210]
2075 * manual/process.texi (execle): Move @dots{} before last argument.
2076
79c6869c
PB
20772012-02-17 Paul Bolle <pebolle@tiscali.nl>
2078
2079 [BZ #12047]
2080 * manual/charset.texi (Generic Charset Conversion): Fix typo
2081 (LC_TYPE -> LC_CTYPE).
2082
cc6e48bc
NB
20832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2084
2085 [BZ #5805]
2086 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2087 (scalbnf): Likewise.
2088 (scalbnl): Likewise.
2089 (scalbln): Likewise.
2090 (scalblnf): Likewise.
2091 (scalblnl): Likewise.
2092 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2093 (vwarnx): Likewise.
2094 (verr): Likewise.
2095 (verrx): Likewise.
2096 * manual/filesys.texi (telldir): Use braces around return type.
2097 * manual/llio.texi (mmap): Add space after comma.
2098 (mmap64): Likewise.
2099 * manual/math.texi (jn): Use @var{} on parameter names.
2100 (jnf): Likewise.
2101 (jnl): Likewise.
2102 (yn): Likewise.
2103 (ynf): Likewise.
2104 (ynl): Likewise.
2105 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2106 line.
2107 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2108 "...".
2109 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2110 (sched_get_priority_max): Likewise.
2111 * manual/signal.texi (sigvec): Add space after comma.
2112 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2113 names.
2114 (if_indextoname): Likewise.
2115 (if_freenameindex): Likewise.
2116 (sendto): Use ',' instead of '.' in prototype.
2117 * manual/startup.texi (syscall): Use @dots{} instead of literal
2118 "...".
2119 * manual/stdio.texi (__fpending): Separate initial words of
2120 paragraph from @deftypefun line.
2121 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2122 "...".
2123 (vsyslog): Use @var{} on parameter names.
2124 * manual/terminal.texi (stty): Use @var{} on parameter names.
2125 * manual/users.texi (getutmp): Use @var{} on parameter names.
2126 (getutmpx): Likewise.
2127
5b23062f
JM
21282012-02-17 Joseph Myers <joseph@codesourcery.com>
2129
2130 [BZ #6884]
2131 * manual/stdio.texi (fopen): Fix typos in description of
2132 ",ccs=STRING".
2133
8dee4833
AJ
21342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2135
2136 [BZ #4026]
2137 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2138 get clock_id definition.
2139
9078ce93
TS
21402012-02-17 Thomas Schwinge <thomas@schwinge.name>
2141
2142 [BZ #4822]
2143 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2144 (madvise): Cast every argument to void on its own.
2145
3835c55f
JM
21462012-02-17 Joseph Myers <joseph@codesourcery.com>
2147
2148 [BZ #9902]
2149 * manual/startup.texi (Exit Status): Fix typo.
2150
35c47e37
JM
21512012-02-17 Joseph Myers <joseph@codesourcery.com>
2152
2153 [BZ #10140]
2154 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2155 * manual/examples/argp-ex2.c: Likewise.
2156 * manual/examples/argp-ex3.c: Likewise.
2157
e3b69ca7
RH
21582012-02-16 Richard Henderson <rth@redhat.com>
2159
2160 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2161 * sysdeps/s390/s390-32/initfini.c: Remove.
2162 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2163 * sysdeps/s390/s390-64/initfini.c: Remove.
2164
df83af67
KK
21652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2166
2167 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2168 compiler output for sysdeps/generic/initfini.c.
2169 * sysdeps/sh/elf/initfini.c: Remove file.
2170
f63f3380
DM
21712012-02-16 David S. Miller <davem@davemloft.net>
2172
fb59b3a4
DM
2173 [BZ #11494]
2174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2175
f63f3380
DM
2176 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2177 * sysdeps/sparc/crti.S: New file.
2178 * sysdeps/sparc/crtn.S: New file.
2179 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2180 * sysdeps/sparc/sparc64/Makefile: Likewise.
2181
df6a4a4a
MF
21822012-02-15 Mike Frysinger <vapier@gentoo.org>
2183
6dd8f3dc 2184 [BZ #3335]
df6a4a4a
MF
2185 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2186
1cac7236
RM
21872012-02-15 Roland McGrath <roland@hack.frob.com>
2188
d2c736f8
RM
2189 [BZ #4822]
2190 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2191
1cac7236
RM
2192 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2193 (write, read, close): Likewise.
2194 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2195
8e475601
JM
21962012-02-15 Joseph Myers <joseph@codesourcery.com>
2197
2198 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2199 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2200 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2201 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2202 <bits/signalfd.h>.
2203 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2205 bits/signalfd.h.
2206
ed656b40
MP
22072012-02-14 Marek Polacek <polacek@redhat.com>
2208
2209 * sysdeps/x86_64/crti.S: New file.
2210 * sysdeps/x86_64/crtn.S: New file.
2211 * sysdeps/x86_64/elf/initfini.c: Remove file.
2212
2a979d3a
JM
22132012-02-13 Joseph Myers <joseph@codesourcery.com>
2214
2215 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2216 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2217 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2218 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2219 <bits/inotify.h>.
2220 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2222 bits/inotify.h.
2223
2a418ac3
JM
22242012-02-13 Joseph Myers <joseph@codesourcery.com>
2225
2226 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2227 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2228 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2229 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2230 <bits/eventfd.h>.
2231 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2233 bits/eventfd.h.
2234
fb779be7
TS
22352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2236
e19e83c5
RM
2237 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2238 __feraiseexcept instead of feraiseexcept.
7c35ffed 2239
fb779be7
TS
2240 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2241 nanosleep invocations.
2242 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2243 strings, and add error checking for a nanosleep invocations.
2244
59ba27a6
PE
22452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2246
2247 Replace FSF snail mail address with URLs, as per GNU coding standards.
2248 Most of the snail mail addresses were wrong anyway, and omitting
2249 them makes the source code easier to maintain. Almost all of the
2250 changes are to license notices and to locale LC_IDENTIFICATION
2251 addresses, except for this one:
2252 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2253 not its snail mail address.
2254
57b957eb
RH
22552012-02-09 Richard Henderson <rth@twiddle.net>
2256
af850b1c
RH
2257 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2258 of kernel-features.h.
2259
57b957eb
RH
2260 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2261
6b73181a
MP
22622012-02-08 Marek Polacek <polacek@redhat.com>
2263
2264 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2265 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2266 * sysdeps/gnu/_G_config.h: Likewise.
2267 * sysdeps/generic/_G_config.h: Likewise.
2268
26ecc33a
AS
22692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2270
6c6dbc63
AS
2271 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2272 tests.
2273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2274
e216c012
AS
2275 * sysdeps/powerpc/powerpc32/crti.S: New file.
2276 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2277 * sysdeps/powerpc/powerpc64/crti.S: New file.
2278 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2279
26ecc33a
AS
2280 * Makeconfig (have-initfini): Don't set.
2281 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2282 * configure.in (nopic_initfini): Don't substitute.
2283 * config.h.in (HAVE_INITFINI): Don't #undef.
2284 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2285 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2286
3add8e13
JM
22872012-02-08 Joseph Myers <joseph@codesourcery.com>
2288
2289 Support crti.S and crtn.S provided directly by architectures.
2290 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2291 [crti.S in sysdirs] (omit-deps): Likewise.
2292 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2293 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2294 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2295 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2296 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2297 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2298 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2299 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2300 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2301 compiler output for sysdeps/generic/initfini.c.
2302 * sysdeps/i386/elf/Makefile: Remove file.
2303 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2304
a22f12b4
MP
23052012-02-07 Marek Polacek <polacek@redhat.com>
2306
2307 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2308 * sysdeps/gnu/_G_config.h: Likewise.
2309 * sysdeps/mach/hurd/_G_config.h: Likewise.
2310
148cf100
MP
23112012-02-07 Marek Polacek <polacek@redhat.com>
2312
2313 * math/Makefile (tests): Add tst-CMPLX2.
2314 * math/tst-CMPLX2.c: New file.
2315
cfdc0dd7
AS
23162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2317
84ba42c4
AS
2318 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2319
cfdc0dd7
AS
2320 * math/libm-test.inc (jn_test): Add missing L suffix.
2321
622c86f4
MP
23222012-02-06 Marek Polacek <polacek@redhat.com>
2323
2324 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2325 * sysdeps/i386/fpu/e_powf.S: Likewise.
2326 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2327 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2328 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2329 * sysdeps/i386/fpu/e_pow.S: Likewise.
2330 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2331 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2332 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2333 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2334 * sysdeps/i386/fpu/e_log2.S: Likewise.
2335 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2336 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2337 * sysdeps/i386/fpu/e_powl.S: Likewise.
2338 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2339 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2340 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2341 * sysdeps/i386/fpu/e_logl.S: Likewise.
2342 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2343 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2344 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2345 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2346 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2347 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2348 * sysdeps/i386/fpu/e_log.S: Likewise.
2349 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2350 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2351 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2352 * sysdeps/i386/fpu/e_logf.S: Likewise.
2353 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2354 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2355 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2356 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2357 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2358 * sysdeps/i386/fpu/e_log10.S: Likewise.
2359 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2360 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2361 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2362 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2363 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2364 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2365 * sysdeps/i386/asm-syntax.h: Likewise.
2366 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2367 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2368 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2369 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2370 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2371 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2372 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2373 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2374 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2375 * sysdeps/powerpc/sysdep.h: Likewise.
2376 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2377 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2378
d4a54ac6
JM
23792012-02-06 Joseph Myers <joseph@codesourcery.com>
2380
2381 [BZ #411]
2382 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2383
314054ea
JM
23842012-02-06 Joseph Myers <joseph@codesourcery.com>
2385
2386 * sysdeps/i386/sysdep.h: Include <features.h>.
2387 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2388 version.
2389
d8e0ca50
JM
23902012-02-05 Joseph Myers <joseph@codesourcery.com>
2391
2392 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2393 Define.
2394 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2395 LOAD_PIC_REG_STR.
2396
b1da7dd9
JM
23972012-02-03 Joseph Myers <joseph@codesourcery.com>
2398
2399 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2400 (SETUP_PIC_REG): Use GET_PC_THUNK.
2401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2402 macro.
2403
9a1d9254
JM
24042012-02-03 Joseph Myers <joseph@codesourcery.com>
2405
2406 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2407 for non-PIC compilation.
2408 (SETUP_PIC_REG): Add .p2align directive.
2409 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2410 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2411 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2412 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2413 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2414 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2415 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2417 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2418 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2419 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2420 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2421 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2422 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2423 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2424 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2425 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2426 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2427 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2428 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2430 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2431 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2432 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2433 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2435 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2436 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2437 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2438 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2439 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2440 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2441 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2442 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2443 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2444 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2445 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2446 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2447 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2448 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2449 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2450
65dc3b75
JM
24512012-02-03 Joseph Myers <joseph@codesourcery.com>
2452
2453 * math/tst-CMPLX.c: Include <stdio.h>.
2454
d55bf177
JM
24552012-01-31 Joseph Myers <joseph@codesourcery.com>
2456
2457 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2458 float.
2459 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2460 * sysdeps/sparc/bits/mathdef.h: Likewise.
2461
69db4f8f
MP
24622012-01-31 Marek Polacek <polacek@redhat.com>
2463
2464 * libio/libio.h: Don't define _PARAMS.
2465 * locale/programs/config.h: Don't define PARAMS.
2466 * stdlib/strtol_l.c: Likewise.
2467 (__strtol_l): Remove PARAMS from the prototype.
2468
41b81892
UD
24692012-01-31 Ulrich Drepper <drepper@gmail.com>
2470
3b49edc0
UD
2471 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2472 names. Just use the correct names. Remove unnecessary wrapper
2473 functions.
2474 * malloc/arena.c: Likewise.
2475 * malloc/hooks.c: Likewise.
2476
41b81892
UD
2477 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2478 ARENA_TEST says not to. Simplify test for creation of a new arena.
2479 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2480
27a25b6e
UD
24812012-01-30 Ulrich Drepper <drepper@gmail.com>
2482
2483 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2484 into tail calls.
2485 (update_get_addr): New function.
2486 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2487 GET_ADDR_MODULE parameter.
2488
c8a89e7d
JM
24892012-01-30 Joseph Myers <joseph@codesourcery.com>
2490
2491 * crypt/cert.c: Remove __STDC__ conditionals.
2492 * crypt/crypt-entry.c: Likewise.
2493 * crypt/crypt_util.c: Likewise.
2494 * libio/filedoalloc.c: Likewise.
2495 * libio/fileops.c: Likewise.
2496 * libio/genops.c: Likewise.
2497 * libio/iofclose.c: Likewise.
2498 * libio/iofdopen.c: Likewise.
2499 * libio/iofopen.c: Likewise.
2500 * libio/iofopen64.c: Likewise.
2501 * libio/iogetdelim.c: Likewise.
2502 * libio/iopopen.c: Likewise.
2503 * libio/obprintf.c: Likewise.
2504 * libio/oldfileops.c: Likewise.
2505 * libio/oldiofclose.c: Likewise.
2506 * libio/oldiofdopen.c: Likewise.
2507 * libio/oldiofopen.c: Likewise.
2508 * libio/oldiopopen.c: Likewise.
2509 * libio/wfiledoalloc.c: Likewise.
2510 * libio/wgenops.c: Likewise.
2511 * locale/programs/xmalloc.c: Likewise.
2512 * misc/syslog.c: Likewise.
2513 * stdio-common/xbug.c: Likewise.
2514 * string/memchr.c: Likewise.
2515 * string/memcmp.c: Likewise.
2516 * string/memrchr.c: Likewise.
2517 * string/rawmemchr.c: Likewise.
2518 * sysdeps/posix/getcwd.c: Likewise.
2519 * time/strftime_l.c: Likewise.
2520
3b100462
JM
25212012-01-30 Joseph Myers <joseph@codesourcery.com>
2522
2523 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2524 * config.make.in (config-cflags-sse2avx): Define.
2525 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2526 Fix typo.
2527
607998af
CM
25282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2529
2530 * scripts/config.guess: Update from upstream config git repository.
2531 * scripts/config.sub: Likewise.
2532
3601428f
CM
25332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2534
3ac8b282
CM
2535 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2536 (EM_NUM): Update.
2537 (R_TILEPRO_*, R_TILEGX_*): New macros.
2538
e034841e
CM
2539 * scripts/firstversions.awk: Fix bug in version range handling.
2540
540d7568
CM
2541 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2542
3601428f
CM
2543 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2544
463de862
CM
2545 * include/sys/epoll.h: New file.
2546 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2547 libc_hidden_def.
2548
73139a76
UD
25492012-01-28 Ulrich Drepper <drepper@gmail.com>
2550
96bc5b45
UD
2551 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2552 Avoid unnecessary __WORDSIZE == 64 test.
2553 (fmaxf): Use VEX format if possible.
2554 (fmax): Likewise.
2555 (fminf): Likewise.
2556 (fmin): Likewise.
2557
56f6f6a2
UD
2558 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2559 * math/math_private.h: Remove libc_fegetround* and
2560 libc_fesetround*.
2561 * sysdeps/i386/configure.in: Check for -msse2avx.
2562 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2563 also if SSE2AVX is defined.
2564 Remove libc_fegetround* and libc_fesetround*.
2565 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2566 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2568 of HAS_YMM_USABLE.
2569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2570 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2571 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2572 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2573 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2574
73139a76
UD
2575 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2576
d73f93a4
AZ
25772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2578
2579 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2580 size is not set.
2581 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2582
6ee65ed6
UD
25832012-01-27 Ulrich Drepper <drepper@gmail.com>
2584
2585 [BZ #13618]
2586 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2587 relocation.
2588 * Makeconfig (libm): Define.
2589 * elf/Makefile: Add rules to build and run tst-relsort1.
2590 * elf/tst-relsort1.c: New file.
2591 * elf/tst-relsort1mod1.c: New file.
2592 * elf/tst-relsort1mod2.c: New file.
2593
8db21882
JM
25942012-01-27 Joseph Myers <joseph@codesourcery.com>
2595
2596 * math/s_ldexp.c: Remove __STDC__ conditionals.
2597 * math/s_ldexpf.c: Likewise.
2598 * math/s_ldexpl.c: Likewise.
2599 * math/s_nextafter.c: Likewise.
2600 * math/s_nexttowardf.c: Likewise.
2601 * math/s_significand.c: Likewise.
2602 * math/s_significandf.c: Likewise.
2603 * math/s_significandl.c: Likewise.
2604 * math/w_jnl.c: Likewise.
2605 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2606 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2607 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2608 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2609 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2611 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2612 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2613 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2614 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2615 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2616 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2617 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2618 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2619 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2620 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2621 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2622 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2624 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2625 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2627 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2628 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2629 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2630 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2631 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2632 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2633 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2634 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2635 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2636 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2637 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2638 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2639 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2640 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2641 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2642 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2643 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2644 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2645 * sysdeps/ieee754/k_standard.c: Likewise.
2646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2648 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2649 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2650 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2651 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2652 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2653 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2654 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2655 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2656 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2657 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2658 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2659 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2660 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2662 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2663 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2664 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2665 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2666 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2667 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2668 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2669 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2670 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2671 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2672 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2673 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2674 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2675 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2676 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2677 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2678 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2679 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2681 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2682 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2683 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2684 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2685 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2686 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2688 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2689 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2690 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2691 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2692 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2693 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2694 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2695 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2696 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2697 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2698 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2699 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2700 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2701 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2702 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2703 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2704 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2705 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2706 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2707 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2708 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2709 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2710 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2711 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2712 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2713 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2714 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2715 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2716 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2717 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2718 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2719 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2720 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2721 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2722 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2723 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2724 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2725 * sysdeps/ieee754/s_matherr.c: Likewise.
2726 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2727 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2730
965a54a4
JM
27312012-01-26 Joseph Myers <joseph@codesourcery.com>
2732
2733 * crypt/md5.h: Remove __STDC__ conditionals.
2734 * libio/libioP.h: Likewise.
2735 * locale/programs/config.h: Likewise.
2736 * sysdeps/generic/sysdep.h: Likewise.
2737 * sysdeps/i386/asm-syntax.h: Likewise.
2738 * sysdeps/s390/asm-syntax.h: Likewise.
2739 * sysdeps/unix/sysdep.h: Likewise.
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2742
7071ad79
JM
27432012-01-26 Joseph Myers <joseph@codesourcery.com>
2744
2745 * libio/libio.h: Remove __STDC__ conditionals.
2746 * malloc/obstack.h: Likewise.
2747 * math/complex.h: Likewise.
2748 * math/math.h: Likewise.
2749 * sysdeps/generic/_G_config.h: Likewise.
2750 * sysdeps/gnu/_G_config.h: Likewise.
2751 * sysdeps/mach/hurd/_G_config.h: Likewise.
2752 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2753 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2754 * sysdeps/sparc/bits/mathdef.h: Likewise.
2755
afc5ed09
UD
27562012-01-26 Ulrich Drepper <drepper@gmail.com>
2757
2758 [BZ #13583]
2759 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2760 Clean up HAS_* macros.
afc5ed09 2761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2762 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2763 possible.
2764 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2765 HAS_AVX.
2766 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2767 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2768 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2769 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2771
bdb6de1d
JM
27722012-01-25 Joseph Myers <joseph@codesourcery.com>
2773
2774 * elf/tst-unique3.cc (gets): Remove declaration.
2775 * elf/tst-unique3lib.cc (gets): Likewise.
2776 * elf/tst-unique3lib2.cc (gets): Likewise.
2777 * elf/tst-unique4.cc (gets): Likewise.
2778
b15549e6
UD
27792012-01-24 Ulrich Drepper <drepper@gmail.com>
2780
2781 * include/stdio.h: Add C++ protection. Add gets declarations and
2782 definitions.
2783 * debug/tst-chk1.c: Don't declare gets here.
2784 * stdio-common/tst-gets.c: Likewise.
2785
a037381f
JM
27862012-01-24 Joseph Myers <joseph@codesourcery.com>
2787
2788 * posix/glob: Remove directory.
2789
f1d4aa75
JM
27902012-01-24 Joseph Myers <joseph@codesourcery.com>
2791
2792 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2793
81c0c964
PT
27942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2795
2796 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2797 of the non-standard EPFNOSUPPORT.
2798
0ea698ae
ST
27992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2800
2801 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2802 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2803 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2804
d220b117
UD
28052012-01-21 Ulrich Drepper <drepper@gmail.com>
2806
2807 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2808
3e1aa84e
UD
28092012-01-20 Ulrich Drepper <drepper@gmail.com>
2810
2811 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2812 transient errors.
2813 * nscd/grpcache.c (cache_addgr): Likewise.
2814 * nscd/hstcache.c (cache_addhst): Likewise.
2815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2816 * nscd/pwdcache.c (cache_addpw): Likewise.
2817 * nscd/servicescache.c (cache_addserv): Likewise.
2818
400aa020
UD
28192012-01-16 Ulrich Drepper <drepper@gmail.com>
2820
d77e7869
UD
2821 * malloc/malloc.c: Various cleanups.
2822 * malloc/hooks.c: Likewise.
2823
400aa020
UD
2824 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2825 * stdlib/bug-fmtmsg1.c: New file.
2826
2827 * stdlib/fmtmsg.c (init): Add missing unlock.
2828 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2829
e0a309cf
MP
28302012-01-12 Marek Polacek <polacek@redhat.com>
2831
2832 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2833 and _GNU_SOURCE.
2834
929d11c7
WS
28352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2836
2837 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2838 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2839 macro to ensure uniqueness of label name.
2840 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2841 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2842
41d0e869
UD
28432012-01-11 Ulrich Drepper <drepper@gmail.com>
2844
0cc5ed3b
UD
2845 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2846
41d0e869
UD
2847 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2848 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2849 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2850 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2851
a47a831a
UD
28522012-01-10 Ulrich Drepper <drepper@gmail.com>
2853
daa891c0
UD
2854 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2855
2856 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2857 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2858 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2859
e58ef0f2
UD
2860 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2861
a47a831a 2862 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
2863 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2864 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 2865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
2866
2867 * math/bits/math-finite.h: Add ldexp support.
2868
a0bfc9c7
MP
28692012-01-10 Marek Polacek <polacek@redhat.com>
2870
2871 * locale/programs/localedef.h (show_archive_content): Add noreturn
2872 attribute.
2873
d6e97a1d
UD
28742012-01-09 Ulrich Drepper <drepper@gmail.com>
2875
2876 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2877
d5835c26
UD
28782012-01-08 Ulrich Drepper <drepper@gmail.com>
2879
e5f484c6
UD
2880 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2881
d5835c26
UD
2882 * io/Makefile (headers): Add bits/poll2.h.
2883
d1f741e9
WS
28842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2885
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2887 typo #include statement.
2888
ec09c1c4
UD
28892012-01-08 Ulrich Drepper <drepper@gmail.com>
2890
2891 * include/sys/cdefs.h: Define __attribute_alloc_size.
2892 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2893 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2894 * elf/pldd.c: Likewise.
2895 * iconv/iconv_charmap.c: Likewise.
2896 * iconv/iconvconfig.c: Likewise.
2897 * iconv/strtab.c: Likewise.
2898 * locale/programs/locale.c: Likewise.
2899 * locale/programs/localedef.h: Likewise.
2900 * locale/programs/simple-hash.c: Likewise.
2901 * nscd/nscd.h: Likewise.
2902 * nss/makedb.c: Likewise.
2903 * sysdeps/generic/ldconfig.h: Likewise.
2904 * locale/programs/localedef.c: Remove xmalloc prototype.
2905 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2906
20b38e03
PP
29072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2908
2909 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2910 appropriate.
2911
a0da5fe1
UD
29122012-01-08 Ulrich Drepper <drepper@gmail.com>
2913
1d5a644a 2914 * math/Makefile (tests): Add tst-CMPLX.
669704fd 2915 * math/tst-CMPLX.c: New file.
1d5a644a 2916
8784a6db
UD
2917 * math/complex.h (CMPLXL): Fix typo.
2918
d9a216c0
UD
2919 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2920 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2921 GLIBC_2.16.
2922 * debug/tst-chk1.c: Add poll and ppoll tests.
2923 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2924 * include/sys/poll.h: Add hidden proto for ppoll.
2925 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2926 * sysdeps/mach/hurd/ppoll.c: Likewise.
2927 * io/ppoll.c: Likewise.
2928 * debug/poll_chk.c: New file.
2929 * debug/ppoll_chk.c: New file.
2930 * include/bits/poll2.h: New file.
2931 * io/bits/poll2.h: New file.
2932
ac097f5c
UD
2933 [BZ #1350]
2934 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2935
2119dcfa
UD
2936 * configure.in: static is always set to yes. Remove.
2937 * config.make.in: Don't set build-static.
2938 * Makeconfig: Remove use of build-static.
2939 * dlfcn/Makefile: Likewise.
2940 * elf/Makefile: Likewise.
2941 * math/Makefile: Likewise.
2942 * misc/Makefile: Likewise.
2943 * nptl/Makefile: Likewise.
2944 * sysdeps/mach/hurd/Makefile: Likewise.
2945
121766a9
UD
2946 * configure.in: PWD_P is not used anymore.
2947 * config.make.in: Remove PWD_P entry.
2948
51a1d39c 2949 * configure.in: Remove last remnants of RANLIB.
8720d066 2950 No need to check for signed size_t anymore.
215f4bdc
UD
2951 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2952 and IA-64.
3857022a 2953 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
2954 * aclocal.m4: Likewise.
2955
d3ed7225
UD
2956 * wcsmbs/mbrtoc16.c: Implement using towc function.
2957 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2958 * wcsmbs/wcsmbsload.c: Likewise.
2959 * iconv/gconv_simple.c: Likewise.
2960 * iconv/gconv_int.h: Likewise.
2961 * iconv/gconv_builtin.h: Likewise.
2962 * iconv/iconv_prog.c: Remove CHAR16 handling.
2963
2964 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2965
2966 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2967
a0da5fe1
UD
2968 * configure.in: Remove --with-elf and --enable-bounded options.
2969 Dont set base_machine for ia64. More non-ELF conditions removed.
2970 Remove testing and setting of leading underscore information.
2971 * config.make.in (build-bounded): Set to no.
2972 * config.h.in: Remove NO_UNDERSCORES entry.
2973 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2974 them.
2975 * csu/start.c: Remove !NO_UNDERSCORE code.
2976 * locale/localeinfo.h: Likewise.
2977 * sysdeps/generic/machine-gmon.h: Likewise.
2978 * sysdeps/generic/sysdep.h: Likewise.
2979 * sysdeps/i386/sysdep.h: Likewise.
2980 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2981 * sysdeps/mach/sysdep.h: Likewise.
2982 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2984 * sysdeps/sh/sysdep.h: Likewise.
2985 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2986 * sysdeps/unix/i386/sysdep.S: Likewise.
2987 * sysdeps/unix/sparc/start.c: Likewise.
2988 * sysdeps/unix/sparc/sysdep.S: Likewise.
2989 * sysdeps/unix/sparc/sysdep.h: Likewise.
2990 * sysdeps/unix/start.c: Likewise.
2991 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2992 * sysdeps/x86_64/sysdep.h: Likewise.
2993
df78418a
UD
29942012-01-07 Ulrich Drepper <drepper@gmail.com>
2995
a784e502
UD
2996 [BZ #13553]
2997 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2998 for non-gcc.
2999 * argp/argp-fmtstream.h: Use const instead __const.
3000 * argp/argp.h: Likewise.
3001 * assert/assert.h: Likewise.
3002 * bits/fenv.h: Likewise.
3003 * bits/sched.h: Likewise.
3004 * bits/sigset.h: Likewise.
3005 * bits/sigthread.h: Likewise.
3006 * catgets/nl_types.h: Likewise.
3007 * conform/data/pthread.h-data: Likewise.
3008 * crypt/crypt-private.h: Likewise.
3009 * crypt/crypt.h: Likewise.
3010 * crypt/crypt_util.c: Likewise.
3011 * ctype/ctype.h: Likewise.
3012 * debug/execinfo.h: Likewise.
3013 * debug/mbsnrtowcs_chk.c: Likewise.
3014 * debug/mbsrtowcs_chk.c: Likewise.
3015 * debug/wcsnrtombs_chk.c: Likewise.
3016 * debug/wcsrtombs_chk.c: Likewise.
3017 * debug/wcstombs_chk.c: Likewise.
3018 * dirent/dirent.h: Likewise.
3019 * dlfcn/dlfcn.h: Likewise.
3020 * elf/neededtest4.c: Likewise.
3021 * grp/grp.h: Likewise.
3022 * gshadow/gshadow.h: Likewise.
3023 * iconv/gconv.h: Likewise.
3024 * iconv/gconv_int.h: Likewise.
3025 * iconv/gconv_simple.c: Likewise.
3026 * iconv/iconv.h: Likewise.
3027 * iconv/loop.c: Likewise.
3028 * iconv/skeleton.c: Likewise.
3029 * include/aio.h: Likewise.
3030 * include/aliases.h: Likewise.
3031 * include/argz.h: Likewise.
3032 * include/arpa/inet.h: Likewise.
3033 * include/assert.h: Likewise.
3034 * include/dirent.h: Likewise.
3035 * include/dlfcn.h: Likewise.
3036 * include/execinfo.h: Likewise.
3037 * include/fcntl.h: Likewise.
3038 * include/fenv.h: Likewise.
3039 * include/glob.h: Likewise.
3040 * include/grp.h: Likewise.
3041 * include/libintl.h: Likewise.
3042 * include/mntent.h: Likewise.
3043 * include/netdb.h: Likewise.
3044 * include/pwd.h: Likewise.
3045 * include/rpc/netdb.h: Likewise.
3046 * include/sched.h: Likewise.
3047 * include/search.h: Likewise.
3048 * include/shadow.h: Likewise.
3049 * include/signal.h: Likewise.
3050 * include/stdio.h: Likewise.
3051 * include/stdlib.h: Likewise.
3052 * include/string.h: Likewise.
3053 * include/sys/socket.h: Likewise.
3054 * include/sys/stat.h: Likewise.
3055 * include/sys/statfs.h: Likewise.
3056 * include/sys/statvfs.h: Likewise.
3057 * include/sys/syslog.h: Likewise.
3058 * include/sys/time.h: Likewise.
3059 * include/sys/uio.h: Likewise.
3060 * include/time.h: Likewise.
3061 * include/unistd.h: Likewise.
3062 * include/utmp.h: Likewise.
3063 * include/wchar.h: Likewise.
3064 * include/wctype.h: Likewise.
3065 * inet/aliases.h: Likewise.
3066 * inet/arpa/inet.h: Likewise.
3067 * inet/netinet/ether.h: Likewise.
3068 * inet/netinet/in.h: Likewise.
3069 * intl/libintl.h: Likewise.
3070 * io/bits/fcntl2.h: Likewise.
3071 * io/fcntl.h: Likewise.
3072 * io/ftw.h: Likewise.
3073 * io/sys/poll.h: Likewise.
3074 * io/sys/stat.h: Likewise.
3075 * io/sys/statfs.h: Likewise.
3076 * io/sys/statvfs.h: Likewise.
3077 * io/utime.h: Likewise.
3078 * libio/bits/stdio.h: Likewise.
3079 * libio/bits/stdio2.h: Likewise.
3080 * libio/libio.h: Likewise.
3081 * libio/libioP.h: Likewise.
3082 * libio/stdio.h: Likewise.
3083 * locale/lc-ctype.c: Likewise.
3084 * locale/locale.h: Likewise.
3085 * login/utmp.h: Likewise.
3086 * malloc/arena.c: Likewise.
3087 * malloc/malloc.c: Likewise.
3088 * malloc/malloc.h: Likewise.
3089 * malloc/mcheck.c: Likewise.
3090 * malloc/mtrace.c: Likewise.
3091 * math/bits/mathcalls.h: Likewise.
3092 * math/fenv.h: Likewise.
3093 * math/math_private.h: Likewise.
3094 * misc/bits/error.h: Likewise.
3095 * misc/bits/syslog.h: Likewise.
3096 * misc/err.h: Likewise.
3097 * misc/error.h: Likewise.
3098 * misc/fstab.h: Likewise.
3099 * misc/mntent.h: Likewise.
3100 * misc/regexp.h: Likewise.
3101 * misc/search.h: Likewise.
3102 * misc/sgtty.h: Likewise.
3103 * misc/sys/mman.h: Likewise.
3104 * misc/sys/syslog.h: Likewise.
3105 * misc/sys/uio.h: Likewise.
3106 * misc/sys/xattr.h: Likewise.
3107 * misc/ttyent.h: Likewise.
3108 * nis/rpcsvc/ypclnt.h: Likewise.
3109 * nss/nss.h: Likewise.
3110 * posix/bits/unistd.h: Likewise.
3111 * posix/fnmatch.h: Likewise.
3112 * posix/glob.h: Likewise.
3113 * posix/sched.h: Likewise.
3114 * posix/spawn.h: Likewise.
3115 * posix/sys/wait.h: Likewise.
3116 * posix/unistd.h: Likewise.
3117 * posix/wordexp.h: Likewise.
3118 * pwd/pwd.h: Likewise.
3119 * resolv/netdb.h: Likewise.
3120 * resource/sys/resource.h: Likewise.
3121 * rt/aio.h: Likewise.
3122 * rt/bits/mqueue2.h: Likewise.
3123 * rt/mqueue.h: Likewise.
3124 * shadow/shadow.h: Likewise.
3125 * signal/signal.h: Likewise.
3126 * socket/send.c: Likewise.
3127 * socket/sendto.c: Likewise.
3128 * socket/sys/socket.h: Likewise.
3129 * stdio-common/printf.h: Likewise.
3130 * stdlib/bits/stdlib.h: Likewise.
3131 * stdlib/fmtmsg.h: Likewise.
3132 * stdlib/monetary.h: Likewise.
3133 * stdlib/stdlib.h: Likewise.
3134 * stdlib/ucontext.h: Likewise.
3135 * streams/stropts.h: Likewise.
3136 * string/argz.h: Likewise.
3137 * string/bits/string2.h: Likewise.
3138 * string/string.h: Likewise.
3139 * string/strings.h: Likewise.
3140 * sunrpc/rpc/auth.h: Likewise.
3141 * sunrpc/rpc/auth_des.h: Likewise.
3142 * sunrpc/rpc/clnt.h: Likewise.
3143 * sunrpc/rpc/netdb.h: Likewise.
3144 * sunrpc/rpc/pmap_clnt.h: Likewise.
3145 * sunrpc/rpc/xdr.h: Likewise.
3146 * sysdeps/generic/inttypes.h: Likewise.
3147 * sysdeps/generic/net/if.h: Likewise.
3148 * sysdeps/generic/sys/swap.h: Likewise.
3149 * sysdeps/gnu/net/if.h: Likewise.
3150 * sysdeps/gnu/utmpx.h: Likewise.
3151 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3152 * sysdeps/i386/i486/bits/string.h: Likewise.
3153 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3154 * sysdeps/s390/bits/string.h: Likewise.
3155 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3156 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3157 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3158 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3159 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3160 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3161 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3162 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3163 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3164 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3165 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3166 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3167 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3168 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3169 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3170 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3171 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3173 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3174 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3175 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3176 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3177 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3178 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3179 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3180 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3181 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3182 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3183 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3184 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3185 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3186 * sysvipc/sys/ipc.h: Likewise.
3187 * sysvipc/sys/msg.h: Likewise.
3188 * sysvipc/sys/sem.h: Likewise.
3189 * sysvipc/sys/shm.h: Likewise.
3190 * termios/termios.h: Likewise.
3191 * time/sys/time.h: Likewise.
3192 * time/time.h: Likewise.
3193 * wcsmbs/bits/wchar2.h: Likewise.
3194 * wcsmbs/uchar.h: Likewise.
3195 * wcsmbs/wchar.h: Likewise.
3196 * wctype/wctype.h: Likewise.
3197
0269750c
UD
3198 [BZ #13551]
3199 * Makeconfig: Remove all but ELF support including AIX support.
3200 * Makerules: Likewise.
3201 * config.h.in: Likewise.
3202 * config.make.in: Likewise.
3203 * configure: Likewise.
3204 * configure.in: Likewise.
3205 * csu/Makefile: Likewise.
3206 * csu/version.c: Likewise.
3207 * debug/Makefile: Likewise.
3208 * dlfcn/Makefile: Likewise.
3209 * elf/Makefile: Likewise.
3210 * extra-lib.mk: Likewise.
3211 * iconv/Makefile: Likewise.
3212 * include/libc-symbols.h: Likewise.
3213 * include/shlib-compat.h: Likewise.
3214 * resolv/Makefile: Likewise.
3215 * resolv/res_libc.c: Likewise.
3216 * rt/Makefile: Likewise.
3217 * sysdeps/i386/asm-syntax.h: Likewise.
3218 * sysdeps/i386/sysdep.h: Likewise.
3219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3220 * sysdeps/mach/sysdep.h: Likewise.
3221 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3222 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3223 * sysdeps/s390/asm-syntax.h: Likewise.
3224 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3225 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3226 * sysdeps/sh/sysdep.h: Likewise.
3227 * sysdeps/unix/sparc/sysdep.h: Likewise.
3228 * sysdeps/wordsize-32/divdi3.c: Likewise.
3229 * sysdeps/x86_64/sysdep.h: Likewise.
3230
00bbd29b
UD
3231 * argp/Versions: Remove _argp_unlock_xxx.
3232
3233 [BZ #13559]
3234 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3235 * abilist/libBrokenLocale.abilist: Likewise.
3236 * abilist/libanl.abilist: Likewise.
3237 * abilist/libc.abilist: Likewise.
3238 * abilist/libcrypt.abilist: Likewise.
3239 * abilist/libdl.abilist: Likewise.
3240 * abilist/libm.abilist: Likewise.
3241 * abilist/libnsl.abilist: Likewise.
3242 * abilist/libpthread.abilist: Likewise.
3243 * abilist/libresolv.abilist: Likewise.
3244 * abilist/librt.abilist: Likewise.
3245 * abilist/libthread_db.abilist: Likewise.
3246 * abilist/libutil.abilist: Likewise.
3247 * abilist/libnss_db.abilist: New file.
3248
3249 * scripts/abilist.awk: Add support for indirect functions.
3250
a2693a0e
UD
3251 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3252
3f05895f
UD
3253 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3254
ecb6fb48
UD
3255 * shlib-versions: Remove entries for ports architectures.
3256
664f8cb9
UD
3257 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3258 files in ports.
3259 * elf/stackguard-macros.h: Remove support for IA-64.
3260 * elf/tst-auditmod1.c: Likewise.
3261 * sysdeps/generic/ldsodefs.h: Likewise.
3262
7ae81d88
UD
3263 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3264 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3265 configure files.
3266
bdeba135
UD
3267 [BZ #13552]
3268 * configure.in: Remove --enable-omitfp support.
3269 * FAQ.in: Adjust.
3270 * config.make.in: Likewise.
3271 * Makeconfig: Likewise.
3272 * manual/install.texi: Likewise.
3273
d75a0a62
UD
3274 In case anyone cares, the IA-64 architecture could move to ports.
3275 * sysdeps/ia64/*: Removed.
3276 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3277 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3278
dcc9756b
UD
3279 [BZ #13555]
3280 * configure.in: Remove entries for unsupported architectures.
3281
d3761ebc 3282 [BZ #13533]
9954432e
UD
3283 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3284 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3285 routines.
3286 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3287 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3288 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3289 fall back to using wcrtomb.
3290 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3291 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3292 renaming.
3293 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3294 * wcsmbs/tst-c16c32-1.c: New file.
3295
3296 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3297 local variable.
3298
c3a87236
UD
3299 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3300
28926a1b
UD
3301 * elf/tst-unique3.cc: Add explicit declaration of gets.
3302 * elf/tst-unique3lib.cc: Likewise.
3303 * elf/tst-unique3lib2.cc: Likewise.
3304 * elf/tst-unique4.cc: Likewise.
3305
df78418a
UD
3306 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3307
8ecd6b2a
JM
33082012-01-06 Joseph Myers <joseph@codesourcery.com>
3309
3310 [BZ #13566]
3311 * assert/assert.h (static_assert): Don't define for C++.
3312 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3313 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3314
9f115170
UD
33152012-01-03 Ulrich Drepper <drepper@gmail.com>
3316
5e0d0300
UD
3317 * iconv/loop.c (single loop): Fix assertion in storing of
3318 remaining bytes.
3319
9f115170
UD
3320 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3321
81fb02b0
UD
33222012-01-01 Ulrich Drepper <drepper@gmail.com>
3323
3324 * posix/getconf.c: Update copyright year.
3325 * nss/getent.c: Likewise.
a316c1f6 3326 * nss/makedb.c: Likewise.
81fb02b0
UD
3327 * iconv/iconvconfig.c: Likewise.
3328 * iconv/iconv_prog.c: Likewise.
3329 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3330 * elf/pldd.c: Likewise.
3331 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3332 * catgets/gencat.c: Likewise.
3333 * csu/version.c: Likewise.
3334 * elf/ldd.bash.in: Likewise.
3335 * elf/sprof.c (print_version): Likewise.
3336 * locale/programs/locale.c: Likewise.
3337 * locale/programs/localedef.c: Likewise.
a316c1f6 3338 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3339 * nscd/nscd.c (print_version): Likewise.
3340 * debug/xtrace.sh: Likewise.
3341 * malloc/memusage.sh: Likewise.
3342 * malloc/mtrace.pl: Likewise.
3343 * debug/catchsegv.sh: Likewise.
3344
2ba92745
JJ
33452011-12-30 Jakub Jelinek <jakub@redhat.com>
3346
3347 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3348 pure attribute.
3349
dadebdae
UD
33502011-12-24 Ulrich Drepper <drepper@gmail.com>
3351
d3761ebc 3352 [BZ #13533]
db6af3eb
UD
3353 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3354 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3355 transformations.
3356 * iconv/gconv_int.h: Likewise.
3357 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3358 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3359 from libc for GLIBC_2.16.
3360 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3361 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3362 * wcsmbs/uchar.h: Really define mbstate_t.
3363 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3364 * wcsmbs/c16rtomb.c: New file.
3365 * wcsmbs/mbrtoc16.c: New file.
3366 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3367 for C/POSIX locale.
3368 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3369 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3370
dadebdae
UD
3371 * wcsmbs/wchar.h: Add missing __restrict.
3372
67371b56
UD
33732011-12-23 Ulrich Drepper <drepper@gmail.com>
3374
74033a25
UD
3375 [BZ #13532]
3376 * time/Makefile (routines): Add timespec_get.
3377 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3378 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3379 timespec for ISO C11.
3380 * time/timespec_get.c: New file.
3381 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3382 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3383
380d7e87
UD
3384 [BZ #13531]
3385 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3386 * stdlib/stdlib.h: Declare aligned_alloc.
3387 * Versions.def: Add GLIBC_2.16 for libc.
3388 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3389
4e9e7a35
UD
3390 [BZ 13527]
3391 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3392 ISO C11.
3393
380d7e87 3394 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3395 code.
3396
03a71829
UD
3397 [BZ #13528]
3398 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3399
839e283e
UD
3400 [BZ #13529]
3401 * assert/assert.h (static_assert): Define.
3402
ce5294e2 3403 * version.h: Update for 2.16 development version.
90fa7312 3404
8d44e150 3405 [BZ #13526]
d7809905
UD
3406 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3407 _ISOC11_SOURCE.
3408
c0da14cd
UD
3409 * version.h (RELEASE): Bump for 2.15 release.
3410 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3411
530a3249
MP
3412 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3413 Patch by Marek Polacek <mpolacek@redhat.com>.
3414
67371b56
UD
3415 * bits/byteswap.h: Protect long long constants with __extension__.
3416 * sysdeps/i386/bits/byteswap.h: Likewise.
3417 * sysdeps/ia64/bits/byteswap.h: Likewise.
3418 * sysdeps/s390/bits/byteswap.h: Likewise.
3419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3420
15db4de1
LD
34212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3422
3423 [BZ #13540]
bbe315ea
LD
3424 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3425 destination buffer.
15db4de1
LD
3426 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3427
2b2596b1
MP
34282011-12-23 Marek Polacek <polacek@redhat.com>
3429
3430 * elf/dl-addr.c (determine_info): Add inline keyword.
3431 * elf/tst-auditmod4b.c (check_avx): Likewise.
3432 * elf/tst-auditmod6b.c (check_avx): Likewise.
3433 * elf/tst-auditmod6c.c (check_avx): Likewise.
3434 * elf/tst-auditmod7b.c (check_avx): Likewise.
3435
70c6c246
UD
34362011-12-23 Ulrich Drepper <drepper@gmail.com>
3437
3438 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3439 !__SSE_MATH__.
3440
c044cf14
LD
34412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3442
15db4de1 3443 [BZ #13540]
c044cf14
LD
3444 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3445 processing for last bytes.
3446
6b13d9d9
BH
34472011-08-06 Bruno Haible <bruno@clisp.org>
3448
d455f537
BH
3449 [BZ #13061]
3450 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3451 U+0385, not to U+1FEE.
3452
6b13d9d9
BH
3453 [BZ #13062]
3454 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3455 entry for U+00A5 U+0301.
3456
db910efd
UD
34572011-12-22 Ulrich Drepper <drepper@gmail.com>
3458
27deeafc
UD
3459 [BZ #13166]
3460 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3461 buffer for the output is too small.
3462
aed9d171
UD
3463 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3464 optimization.
3465
db910efd
UD
3466 [BZ #13185]
3467 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3468 SSE flags if possible.
3469
2bd779ae
LD
34702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3471
e7f9dac3 3472 [BZ #13540]
2bd779ae
LD
3473 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3474 processing for last bytes.
3475
154bfc16
JM
34762011-12-22 Joseph Myers <joseph@codesourcery.com>
3477
3478 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3479 (syscall-list-default-options, syscall-list-default-condition)
3480 (syscall-list-includes): Define.
3481 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3482 list of ABIs and options and #if conditions for each ABI. Do not
3483 handle common syscalls between ABIs specially.
3484 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3485 Remove.
3486 (syscall-list-variants, syscall-list-32bit-options)
3487 (syscall-list-32bit-condition, syscall-list-64bit-options)
3488 (syscall-list-64bit-condition): Define.
3489 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3490 (syscall-list-variants, syscall-list-32bit-options)
3491 (syscall-list-32bit-condition, syscall-list-64bit-options)
3492 (syscall-list-64bit-condition): Define.
3493 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3494 Remove.
3495 (syscall-list-variants, syscall-list-32bit-options)
3496 (syscall-list-32bit-condition, syscall-list-64bit-options)
3497 (syscall-list-64bit-condition): Define.
3498 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3499 Remove.
3500 (syscall-list-variants, syscall-list-32bit-options)
3501 (syscall-list-32bit-condition, syscall-list-64bit-options)
3502 (syscall-list-64bit-condition): Define.
3503
21eaf3a5
UD
35042011-12-22 Ulrich Drepper <drepper@gmail.com>
3505
16c6f992
UD
3506 * locale/iso-639.def: Add brx entry.
3507
41043168
UD
3508 [BZ #13328]
3509 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3510 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3511
21eaf3a5
UD
3512 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3513 __feraiseexcept_renamed.
3514
e3a851a2
UD
35152011-12-21 Ulrich Drepper <drepper@gmail.com>
3516
4920765e
UD
3517 [BZ #13538]
3518 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3519 EPOLLET with unsigned values.
3520 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3521 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3522
e3a851a2
UD
3523 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3524 to large cancellation.
3525 * math/s_cacoshf.c: Likewise.
3526 * math/s_cacoshl.c: Likewise.
3527
b27e24b8
RK
35282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3529
3530 [BZ #13305]
aebefeee 3531 [BZ #12786]
b27e24b8
RK
3532 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3533 * math/s_cacoshf.c: Likewise.
3534 * math/s_cacoshl.c: Likewise.
3535
ee190f67
UD
35362011-12-21 Ulrich Drepper <drepper@gmail.com>
3537
3538 [BZ #13439]
3539 * iconv/gconv.h: Define __GCONV_SWAP.
3540 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3541 * iconvdata/utf-16.c: Likewise.
3542 * iconvdata/utf-32.c: Likewise.
3543
707f25df
AS
35442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3545
3546 [BZ #13524]
3547 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3548 numerator after shifting it by one limb.
3549
d2daaa1e
RÁE
35502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3551
3552 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3553 under [__USE_EXTERN_INLINES].
3554
a4647e72
UD
35552011-12-17 Ulrich Drepper <drepper@gmail.com>
3556
3557 [BZ #13446]
3558 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3559
f0b264f1
AZ
35602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3561
3562 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3563 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3564 optimized code.
3565 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3566 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3567 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3568 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3569 for strncasecmp/strncasecmp_l compilation.
3570 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3571 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3572
8ef4f244
MP
35732011-12-08 Marek Polacek <mpolacek@redhat.com>
3574
3575 [BZ #13484]
3576 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3577 of __asm__.
3578
97ac2654
UD
35792011-12-17 Ulrich Drepper <drepper@gmail.com>
3580
3581 [BZ #13506]
3582 * time/tzfile.c (__tzfile_read): Check values from file header.
3583
91d2a845
WS
35842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3585
3586 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3587 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3588 * powerpc/powerpc32/dl-start.S: Likewise.
3589 * powerpc/powerpc32/elf/start.S: Likewise.
3590 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3591 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3592 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3593 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3594 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3595 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3596 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3597 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3598 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3599 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3600 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3601 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3602 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3603 * powerpc/powerpc32/memset.S: Likewise.
3604 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3605 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3606 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3607 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3608 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3609 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3610 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3611 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3612 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3613 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3614 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3615 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3616 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3617
a1267ba1
AZ
36182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3619
3620 * math/libm-test.inc: Added more nearbyint tests.
3621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3622 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3623 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3624 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3625
ad8ac1bd
RL
36262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3627
3628 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3629 FD_CLOEXEC.
3630
1d3e4b61
UD
36312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3632
3633 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3634 Add wcscpy-ssse3 wcscpy-c.
3635 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3636 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3637 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3638 * sysdeps/x86_64/wcschr.S: New file.
3639 * sysdeps/x86_64/wcsrchr.S: New file.
3640 * string/test-strcmp.c: Remove checking of wcscmp function for
3641 wrong alignments.
3642 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3643 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3644 wcsrchr-sse2 wcsrchr-c.
3645 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3646 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3647 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3648 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3649 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3650 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3651 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3652 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3653 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3654 * wcsmbc/wcschr.c (WCSCHR): New macro.
3655
5b330a2d
UD
36562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3657
3658 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3659 * wcsmbs/test-wcsrchr.c: New file.
3660 * string/test-strrchr.c: Add wcsrchr support.
3661 (WIDE): New macro.
3662 * wcsmbs/test-wcscpy.c: New file.
3663 * string/test-strcpy.c: Add wcscpy support.
3664 (WIDE): New macro.
26428b7c 3665
f039c043
UD
36662011-12-10 Ulrich Drepper <drepper@gmail.com>
3667
3668 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3669 the inner loop.
3670
850fb039
AS
36712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3672
3673 [BZ #13472]
3674 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3675
4efbd5cb
UD
36762011-12-04 Ulrich Drepper <drepper@gmail.com>
3677
52ff5dd0 3678 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3679 Minor optimizations.
52ff5dd0 3680
4efbd5cb
UD
3681 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3682 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3683 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3684
8a426e12
UD
36852011-12-03 Ulrich Drepper <drepper@gmail.com>
3686
aff2453d
UD
3687 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3688 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3689 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3690 for gcc to avoid warnings.
3691 * inet/Makefile (tests): Add tst-checks.
3692 * inet/tst-checks.c: New file.
3693
3694 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3695 warning.
3696
3697 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3698 __wmemcmp_sse2.
3699
3700 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3701 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3702
8a426e12
UD
3703 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3704
9bea3473
UD
37052011-12-02 Ulrich Drepper <drepper@gmail.com>
3706
3a965496
UD
3707 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3708 problem.
3709
9bea3473
UD
3710 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3711
f101631b
UD
37122011-11-29 Joseph Myers <joseph@codesourcery.com>
3713
3714 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3715 conditional on GCC version.
3716 (__arch_compare_and_exchange_val_8_acq)
3717 (__arch_compare_and_exchange_val_16_acq)
3718 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3719 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3720 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3721
a98275aa
UD
37222011-12-02 Joseph Myers <joseph@codesourcery.com>
3723
3724 * sysdeps/sh/backtrace.c: New file.
3725
d4cc29a2
AS
37262011-12-02 Andreas Schwab <schwab@redhat.com>
3727
3728 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3729 parenthesis.
3730
6257af2d
AS
37312011-12-01 Andreas Schwab <schwab@redhat.com>
3732
3733 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3734 falling back to utime.
3735
b5f44c1a
AS
37362011-11-30 Andreas Schwab <schwab@redhat.com>
3737
3738 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3739 expectations for float.
3740
f3a6cc0a
AS
37412011-11-29 Andreas Schwab <schwab@redhat.com>
3742
3743 * locale/weight.h (findidx): Add parameter len.
3744 * locale/weightwc.h (findidx): Likewise.
3745 * posix/fnmatch_loop.c (FCT): Adjust caller.
3746 * posix/regcomp.c (build_equiv_class): Likewise.
3747 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3748 * posix/regexec.c (check_node_accept_bytes): Likewise.
3749 * string/strcoll_l.c (STRCOLL): Likewise.
3750 * string/strxfrm_l.c (STRXFRM): Likewise.
3751
9d65ea3a
UD
37522011-11-17 Ulrich Drepper <drepper@gmail.com>
3753
3754 * Makefile.in: Remove CVSOPT handling.
3755 * configure.in: Remove use of AC_REVISION.
3756 * iconvdata/Makefile (distribute): No need to filter out CVS.
3757 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3758 handling.
3759
5583a086
AS
37602011-11-16 Andreas Schwab <schwab@redhat.com>
3761
3762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3763 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3764 [USE_AS_STRNCASECMP_L]: Likewise.
3765 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3766 NO_TLS_DIRECT_SEG_REFS.
3767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3768 Fix argument offsets for non-PIC.
3769 [USE_AS_STRNCASECMP_L]: Likewise.
3770 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3771 NO_TLS_DIRECT_SEG_REFS.
3772
d62a8200
UD
37732011-11-15 Ulrich Drepper <drepper@gmail.com>
3774
9d65ea3a 3775 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3776 O_CLOEXEC.
3777 * locale/loadlocale.c (_nl_load_locale): Likewise.
3778
09f93bd3
AS
37792011-11-15 Andreas Schwab <schwab@redhat.com>
3780
446514f9
AS
3781 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3782 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3783 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3784 (SYSCALL_GETTIME): Set errno on error.
3785
09f93bd3
AS
3786 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3787 count references to noai6ai_cached.
3788
312be3f9
UD
37892011-11-15 Ulrich Drepper <drepper@gmail.com>
3790
3791 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3792
3793 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3794 FD_CLOEXEC for /proc/self/maps.
3795
3796 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3797 FD_CLOEXEC for /proc/meminfo.
3798
3799 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3800 gai.conf.
3801
3802 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3803 FD_CLOEXEC for given file.
3804
3805 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3806
3807 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3808 FD_CLOEXEC for /etc/hosts.
3809 (_gethtent): Likewise.
3810
3811 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3812
3813 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3814 cancellation and set FD_CLOEXEC for /etc/netgroup.
3815
3816 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3817 reading /etc/publickey.
3818
3819 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3820 allow cancellation when reading /etc/group.
3821
3822 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3823 cancellation.
3824 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3825
3826 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3827 when using data file.
3828
3829 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3830
3831 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3832 (write_nis_obj): Use "c" and "e" in fopen.
3833
3834 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3835
3836 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3837
3838 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3839
3840 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3841
3842 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3843 locale.alias.
3844
3845 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3846
3847 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3848
3849 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3850
3851 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3852 file parsing and set FD_CLOEXEC.
3853
82af0fa8
UD
38542011-11-14 Ulrich Drepper <drepper@gmail.com>
3855
3856 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3857
a5fb313c
AS
38582011-11-14 Andreas Schwab <schwab@redhat.com>
3859
3860 * malloc/arena.c (arena_get2): Don't call reused_arena when
3861 _int_new_arena failed.
3862
6abf3465
UD
38632011-11-14 Ulrich Drepper <drepper@gmail.com>
3864
3865 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3866 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3868 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3869 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3871 to compile strcasecmp and strncasecmp.
3872 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3873 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3874
3875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3876
76e3966e
UD
38772011-11-13 Ulrich Drepper <drepper@gmail.com>
3878
3879 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3880 locale-defines.sym to gen-as-const-headers.
3881 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3882 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3884 to compile strcasecmp and strncasecmp.
3885 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3886 strcasecmp_l and strncasecmp_l.
3887 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3888 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3889 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3890 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3891 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3892 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3893 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3894 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3895 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3896 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3897 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3898
ab26144e
UD
38992011-11-12 Ulrich Drepper <drepper@gmail.com>
3900
7edb22ef
UD
3901 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3902 result of SYSDEP_GETTIME_CPU to retval.
3903 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3904 parameter list to macro. Remove trailing semicolon. Adjust users.
3905
9694fc44
UD
3906 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3907 variable.
3908
8ad89ef8
UD
3909 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3910 mantissa words.
3911 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3912
0c822ef9
UD
3913 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3914 from unused variable.
3915
874e0564
UD
3916 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3917 DWARF definitions.
3918 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3919 for assembling.
3920
3a2edc79
UD
3921 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3922 over namespaces.
3923
f3c2577f
UD
3924 * sunrpc/rpc_prot.c (rejected): Fix case value.
3925
294ce126
UD
3926 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3927 unsigned long long int to avoid warnings in shift.
3928
5e2b63c6
UD
3929 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3930 of use of trans.
3931 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3932 variable tmp.
3933
e7f4b08e
UD
3934 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3935 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3936 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3937
ab26144e
UD
3938 * nis/nis_table.c (nis_list): Use variable of correct type for
3939 result of __follow_path call.
3940
8a6d5255
AZ
39412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3942
3943 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3944 of math functions ceil, trunc, floor, round, and sqrt, when
3945 avaliable on the platform.
3946 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3947 name clash.
3948 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3949 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3950 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3951
aaddc98c
MP
39522011-10-30 Marek Polacek <mpolacek@redhat.com>
3953
3954 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3955 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3956
95b7042b
RM
39572011-11-11 Roland McGrath <roland@hack.frob.com>
3958
3959 * include/unistd.h: Fix __readlink return type.
3960 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3961
57769839
UD
39622011-11-11 Ulrich Drepper <drepper@gmail.com>
3963
3964 * stdlib/ucontext.h: Undo last change for makecontext.
3965
edc5984d
AS
39662011-11-11 Andreas Schwab <schwab@redhat.com>
3967
98591e58
AS
3968 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3969
edc5984d
AS
3970 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3971 * setjmp/setjmp.h: Mark functions as non-leaf.
3972 * setjmp/bits/setjmp2.h: Likewise.
3973 * stdlib/ucontext.h: Likewise.
3974
77cdc054
AS
39752011-11-10 Andreas Schwab <schwab@redhat.com>
3976
3977 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3978 (reused_arena): Don't check arena limit.
3979 (arena_get2): Atomically check arena limit.
3980
fe72eebd
UD
39812011-11-08 Ulrich Drepper <drepper@gmail.com>
3982
5f078c32
UD
3983 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3984 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3985
fe72eebd
UD
3986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3987 instructions.
3988
ae1bc2fa
AS
39892011-11-07 Andreas Schwab <schwab@redhat.com>
3990
7583a88d
AS
3991 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3992 handler when locking.
3993
ae1bc2fa
AS
3994 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3995 Fix size of allocated buffer.
3996
10fb0bfa
AS
39972011-11-04 Andreas Schwab <schwab@redhat.com>
3998
998832a4
AS
3999 [BZ #10103]
4000 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4001 declarations for long double functions.
4002 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4003
10fb0bfa
AS
4004 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4005
3d7ba52b
AS
40062011-11-03 Andreas Schwab <schwab@redhat.com>
4007
a9ae54a1
AS
4008 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4009 installed.
4010
3d7ba52b
AS
4011 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4012 is disabled.
4013
bc8db248
ST
40142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4015
4016 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4017
45b96dd6
AS
40182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4019
647776f6
AS
4020 * include/alloca.h (stackinfo_alloca_round): Define.
4021 (extend_alloca): Use it.
4022 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4023 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4024 here.
4025
d91a8b93
AS
4026 * scripts/check-local-headers.sh: Ignore libaudit.h.
4027
45b96dd6
AS
4028 * nscd/Makefile (extra-objs): Make recursively expanded.
4029
432d41ce
UD
40302011-11-01 Ulrich Drepper <drepper@gmail.com>
4031
34372fc6
UD
4032 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4033 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4034
fadb59f8
UD
4035 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4036 * posix/tst-rfc3484-2.c: Likewise.
4037 * posix/tst-rfc3484-3.c: Likewise.
4038
78239589
UD
4039 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4040 process_vm_writev.
4041 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4042 process_vm_writev.
4043 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4044 process_vm_writev from libc using GLIBC_2.15 version.
4045
432d41ce
UD
4046 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4047
02f9c6cf
PP
40482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4049
4050 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4051 stack usage.
4052
3a2c0242
UD
40532011-10-31 Ulrich Drepper <drepper@gmail.com>
4054
f4ec4833
UD
4055 [BZ #13367]
4056 * nss/getent.c (initgroups_keys): Show error message in case no group
4057 names are given.
4058
3a2c0242
UD
4059 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4060 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4061 __bump_nl_timestamp.
4062 * nscd/connections (nscd_init): When host database is served open
4063 netlink socket and request notification about configuration changes.
4064 (main_loop_poll): Track netlink file descriptor and bump timestamp
4065 in case data becomes available.
4066 (main_loop_epoll): Likewise.
4067 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4068 (database_pers_head): Add extra_data fileds.
4069 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4070 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4071 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4072 Adjust caller.
4073 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4074 in6ai data, call __free_in6ai.
4075 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4076 Add -DHAVE_NETLINK.
4077 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4078 interface information. Reuse previous data if netlink timestamp
4079 is not changed.
4080 (__bump_nl_timestamp): New function.
4081 (__free_in6ai): New function.
4082
636064eb
UD
40832011-10-30 Ulrich Drepper <drepper@gmail.com>
4084
4085 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4086 close_not_cancel_no_status here.
4087 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4088
9beb2334
UD
40892011-10-29 Ulrich Drepper <drepper@gmail.com>
4090
6ef76f3b
UD
4091 [BZ #13276]
4092 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4093 return value.
4094
0ffc4f3e 4095 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4096 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4097 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4098
cb95113e
UD
40992011-07-03 Andreas Jaeger <aj@suse.de>
4100
4101 [BZ #10709]
4102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4103 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4104 * math/libm-test.inc (sin_test): Add test case.
4105
a1b560ff
UD
41062011-10-29 Ulrich Drepper <drepper@gmail.com>
4107
c9aaface
UD
4108 [BZ #13337]
4109 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4110 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4111
d272e7f1
UD
4112 * elf/chroot_canon.c (chroot_canon): Cleanups.
4113
1bc33071
UD
4114 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4115
1760874d
TJ
4116 [BZ #13335]
4117 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4118 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4119
51d91b18
UD
4120 * string/test-strchr.c: Make usable for strchrnul testing.
4121 * string/test-strchrnul.c: New file.
4122 * string/Makefile (strop-tests): Add strchrnul.
4123
a1b560ff 4124 * po/it.po: Update from translation team.
b611fb81 4125 * po/es.po: Likewise.
a1b560ff 4126
a5b81e1f
UD
41272011-10-28 Ulrich Drepper <drepper@gmail.com>
4128
fd52bc6d
UD
4129 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4130 the three constants needed as parameters. Drop the others.
4131 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4132 __m128i_strloadu_tolower.
52e4b9eb
UD
4133 Create and initialize variable zero and use it in all the places
4134 where _mm_setzero_si128 was used.
fd52bc6d 4135
a5b81e1f
UD
4136 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4137 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4138 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4139 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4140 anymore.
4141 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4142 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4143 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4144 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4145 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4146 __mpranred, __mptan.
4147 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4148 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4149 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4150 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4151 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4152 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4153 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4154 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4155 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4156
b4343346
AS
41572011-10-28 Andreas Schwab <schwab@redhat.com>
4158
0c92d8a8
AS
4159 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4160 redefine if SHARED.
4161 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4162
b4343346
AS
4163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4164 wide char related routines to wcsmbs subdir.
4165
3871f58f
AS
41662011-10-27 Andreas Schwab <schwab@redhat.com>
4167
4168 [BZ #13344]
4169 * misc/sys/cdefs.h (__THROWNL): Define.
4170 * posix/unistd.h: Use __THREADNL instead of __THREAD
4171 for memory synchronization functions.
4172
94d44d9f
RM
41732011-10-26 Roland McGrath <roland@hack.frob.com>
4174
21b64b15 4175 [BZ #13349]
94d44d9f
RM
4176 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4177 doesn't exist.
4178 * manual/stdio.texi (Obstack Streams): Node removed.
4179
f6ce9294
AS
41802011-10-26 Andreas Schwab <schwab@redhat.com>
4181
80479147
AS
4182 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4183 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4184 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4185
f6ce9294
AS
4186 * math/math_private.h (math_force_eval): Allow non-addressable
4187 arguments.
4188 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4189
618280a1
UD
41902011-10-25 Ulrich Drepper <drepper@gmail.com>
4191
e0016b11
UD
4192 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4193 file is not needed.
4194
4195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4196 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4197 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4198 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4199 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4200 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4201 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4202 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4203 Add AVX variants.
4204 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4205 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4206 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4207 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4208 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4209 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4210 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4211 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4212 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4213 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4214 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4215 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4216 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4217 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4218 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4219 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4220 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4221 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4222 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4223
4224 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4225 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4226
618280a1
UD
4227 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4228 place. Use VEX encoding when compiling for AVX.
4229
37822576
AS
42302011-10-25 Andreas Schwab <schwab@redhat.com>
4231
1f1e1947
AS
4232 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4233 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4234
37822576
AS
4235 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4236
31ea014d
UD
42372011-10-25 Ulrich Drepper <drepper@gmail.com>
4238
d7826aa1 4239 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4240 useless if() expression.
d7826aa1
UD
4241 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4251 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4252 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4253 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4254 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4255 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4256 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4257 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4259 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4260
31ea014d
UD
4261 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4262
16437fec
AS
42632011-10-25 Andreas Schwab <schwab@redhat.com>
4264
4265 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4266 condition.
4267 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4268
31d3cc00
UD
42692011-10-25 Ulrich Drepper <drepper@gmail.com>
4270
4271 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4272 .text section. Avoid duplicate constants.
4273 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4283 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4285 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4288 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4290 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4296 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4297 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4298 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4299 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4300 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4301 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4302 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4303 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4304 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4305 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4306 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4307 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4308 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4309 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4311 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4312 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4313 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4315 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4316 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4317 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4318
58985aa9
UD
43192011-10-24 Ulrich Drepper <drepper@gmail.com>
4320
202c9deb
UD
4321 * sysdeps/x86_64/dla.h: Move to ...
4322 * sysdeps/x86_64/fpu/dla.h: ...here.
4323 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4324 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4325
af968f62
UD
4326 * config.make.in: Add have-mfma4 entry.
4327 * configure.in: Substitute libc_cv_cc_fma4.
4328 * math/Makefile (dbl-only-routines): Add sincostab.
4329 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4330 Use __sincostab not sincos.
4331 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4332 name is a macro.
4333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4337 using __copysign.
4338 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4339 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4340 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4341 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4342 and __inv.
4343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4344 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4345 __copysign.
4346 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4347 define aliases when function name is a macro.
4348 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4349 sysdeps/ieee754/dbl-64/sincos.tbl.
4350 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4351 fma4-enabled routines.
4352 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4353 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4354 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4355 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4356 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4357 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4358 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4359 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4360 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4361 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4362 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4363 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4364 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4365 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4366 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4367 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4368 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4369 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4370 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4371 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4372 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4373 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4375 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4377 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4378 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4379 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4380 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4381 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4382
58985aa9
UD
4383 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4384 rename.
4385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4393
a201fbcf
AS
43942011-10-24 Andreas Schwab <schwab@redhat.com>
4395
4396 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4397
fc2ee42a
LD
43982011-10-23 Ulrich Drepper <drepper@gmail.com>
4399
bb3129bd
UD
4400 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4401
0275fff8
UD
4402 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4403 prediction.
4404 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4405
2fa2ae85
UD
4406 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4407 Remove unused variable magic_bits.
4408 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4409
fc2ee42a
LD
4410 * string/strnlen.c: Define and use STRNLEN macro.
4411 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4412 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4414 * wcsmbs/wcslen.c: Define and use WCSLEN.
4415 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4416 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4417 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4418 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4419 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4420 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4421 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4422
ce7dd29f
LD
44232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4424
4425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4426 strnlen-sse2-no-bsf.
4427 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4428 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4429 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4430 Add strnlen support.
4431 (USE_AS_STRNLEN): New macro.
4432 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4433 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4434 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4435 * sysdeps/x86_64/wcslen.S: New file.
4436
979c70a3
MZ
44372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4438
4439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4440 XMM-moves are used for copying on small sizes.
4441
2d09f82f
LD
44422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4443
4444 * wcsmbs/Makefile (strop-tests): Add wcschr.
4445 * wcsmbs/test-wcschr.c: New file.
4446 * string/test-strchr.c: Update.
4447 Add wcschr support.
4448 (WIDE): New macro.
4449
619fccca
LD
44502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4451
2d09f82f 4452 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4453 * wcsmbs/test-wcslen.c: New file.
4454 * string/test-strlen.c: Update.
4455 Add wcslen support.
4456 (WIDE): New macro.
4457
09f699ea
UD
44582011-10-23 Ulrich Drepper <drepper@gmail.com>
4459
4460 * po/it.po: Update from translation team.
4461
95584d3b
LD
44622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4463
4464 * sysdeps/x86_64/wcscmp.S: Update.
4465 Fix wrong comparison semantics.
4466 wcscmp shall use signed comparison not unsigned.
4467 Don't use substraction to avoid overflow bug.
4468 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4469 * wcsmbc/wcscmp.c: Likewise.
4470 * string/test-strcmp.c: Likewise.
4471 Add new tests to check cases with negative values.
4472
c8b3296b
UD
44732011-10-23 Ulrich Drepper <drepper@gmail.com>
4474
4475 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4476 * sysdeps/x86_64/dla.h: ...here. New file.
4477 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4478 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4486
246ad57a
AS
44872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4488
4489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4490 __ynl_finite aliases.
4491
a1a87169
UD
44922011-10-22 Ulrich Drepper <drepper@gmail.com>
4493
0d355eb7
UD
4494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4495
a1a87169
UD
4496 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4497 define DLA_FMA.
4498 [DLA_FMA] (EMULV): Use DLA_FMA.
4499 [DLA_FMA] (MUL12): Use EMULV.
4500 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4501 that are not needed.
4502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4509
ee2aafe0
AS
45102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4511
4512 * math/s_nan.c: Undef __nan.
4513 * math/s_nanf.c: Undef __nanf.
4514 * math/s_nanl.c: Undef __nanl.
4515 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4516 "math_private.h".
4517
bc62c2fb
UD
45182011-10-22 Ulrich Drepper <drepper@gmail.com>
4519
77425c63
UD
4520 * math/s_catan.c: Add branch predictions.
4521 * math/s_catanf.c: Likewise.
4522 * math/s_catanh.c: Likewise.
4523 * math/s_catanhf.c: Likewise.
4524 * math/s_catanhl.c: Likewise.
4525 * math/s_catanl.c: Likewise.
4526 * math/s_cexp.c: Likewise.
4527 * math/s_cexpf.c: Likewise.
4528 * math/s_cexpl.c: Likewise.
4529 * math/s_clog.c: Likewise.
4530 * math/s_clog10.c: Likewise.
4531 * math/s_clog10f.c: Likewise.
4532 * math/s_clog10l.c: Likewise.
4533 * math/s_clogf.c: Likewise.
4534 * math/s_clogl.c: Likewise.
4535 * math/s_csqrt.c: Likewise.
4536 * math/s_csqrtf.c: Likewise.
4537 * math/s_csqrtl.c: Likewise.
4538 * math/s_ctanf.c: Likewise.
4539 * math/s_ctanh.c: Likewise.
4540 * math/s_ctanhf.c: Likewise.
4541 * math/s_ctanhl.c: Likewise.
4542 * math/s_ctanl.c: Likewise.
4543
bc62c2fb
UD
4544 * math/math_private.h: Define __nan, __nanf, __nanl.
4545 * math/s_cacosh.c: Include <math_private.h>.
4546 * math/s_cacoshl.c: Likewise.
4547 * math/s_casinh.c: Likewise.
4548 * math/s_casinhf.c: Likewise.
4549 * math/s_casinhl.c: Likewise.
4550 * math/s_ccos.c: Rely entire on ccosh.
4551 * math/s_ccosf.c: Rely entire on ccoshf.
4552 * math/s_ccosl.c: Rely entirely on ccoshl.
4553 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4554 Remove tests for FE_INVALID.
4555 * math/s_ccoshf.c: Likewise.
4556 * math/s_ccoshl.c: Likewise.
4557 * math/s_csin.c: Likewise.
4558 * math/s_csinf.c: Likewise.
4559 * math/s_csinh.c Likewise.
4560 * math/s_csinhf.c: Likewise.
4561 * math/s_csinhl.c: Likewise.
4562 * math/s_csinl.c: Likewise.
4563 * math/s_ctan.c: Likewise.
4564 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4565 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4566 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4567
8ec250a4
UD
45682011-10-21 Ulrich Drepper <drepper@gmail.com>
4569
c196fed8
UD
4570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4571 compilation problems.
4572
8ec250a4
UD
4573 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4574 __builtin_expect.
4575
8d4f46c6
UD
45762011-10-20 Ulrich Drepper <drepper@gmail.com>
4577
ed72b654
UD
4578 * sysdeps/i386/configure.in: Test for -mfma4 option.
4579 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4580 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4581 COMMON_CPUID_INDEX_80000001.
4582 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4583 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4584 use it if FMA3 is not supported.
4585 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4586
8d4f46c6
UD
4587 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4588 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4589
d45c60c2
AS
45902011-10-20 Andreas Schwab <schwab@redhat.com>
4591
4592 [BZ #12892]
4593 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4594 it would create a cycle with a link time dependency.
4595
d9a4d2ab
UD
45962011-10-19 Ulrich Drepper <drepper@gmail.com>
4597
855d1560
UD
4598 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4599 instruction.
4600 * string/Makefile (strop-tests): Add rawmemchr.
4601 * string/test-rawmemchr.c: New file.
4602
d9a4d2ab
UD
4603 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4604 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4605 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4606 when compiling str{,n}casecmp and when AVX is available. Hook up
4607 new optimized code in initializers.
4608
8f3b1ffe
AS
46092011-10-19 Andreas Schwab <schwab@redhat.com>
4610
4611 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4612 __feraiseexcept instead of feraiseexcept.
4613
d38f1dba
UD
46142011-10-18 Ulrich Drepper <drepper@gmail.com>
4615
d9a8d0ab
UD
4616 * math/math_private.h: Define defaults for libc_fetestexcept and
4617 libc_feupdateenv.
4618 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4619 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4620 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4621 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4622 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4623 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4624 libc_fetestexcept and libc_feupdateenv.
4625
4855e3dd
UD
4626 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4627 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4628 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4629 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4630 libc_feholdexcept_setround.
4631
581d30e3
UD
4632 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4633 Add s_nearbyint-c and s_nearbyintf-c.
4634 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4635 nearbyintf inlines.
4636 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4637 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4638 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4639 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4640
d38f1dba
UD
4641 * math/math_private.h: Define defaults for libc_fegetround,
4642 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4643 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4644 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4645 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4646 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4647 standard functions.
4648 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4649 Remove comments and hacks for old compiler versions.
4650 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4651 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4652 libc_feholdexceptl.
4653
caa6c9d8
AS
46542011-10-18 Andreas Schwab <schwab@redhat.com>
4655
4656 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4657 (__feraiseexcept_renamed): Add __NTH.
4658 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4659 namespace violations.
4660
97c066e6
UD
46612011-10-17 Ulrich Drepper <drepper@gmail.com>
4662
99ce7b04
UD
4663 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4664
1004d182
UD
4665 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4666
228a984d
UD
4667 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4668 recently added interfaces.
4669 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4670
c8553a6a
UD
4671 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4672 about macro parameter expansion.
4673
ed22dcf6
UD
4674 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4675 __NO_MATH_INLINES is defined. Cleanups.
4676
4677 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4678 and __floorf is target has SSE4.1.
4679 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4680 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4681 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4682 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4683
b171c137
UD
4684 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4685 name.
4686 (floorf): Likewise.
4687
97c066e6
UD
4688 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4689
629f62ef
AS
46902011-10-17 Andreas Schwab <schwab@redhat.com>
4691
49a43d80
AS
4692 * misc/sys/cdefs.h: Fix last change.
4693
629f62ef
AS
4694 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4695 database lookup.
4696
e453f6cd
UD
46972011-10-16 Ulrich Drepper <drepper@gmail.com>
4698
aa78043a
UD
4699 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4700
ad0f5cad
UD
4701 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4703 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4704 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4705 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4706 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4707 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4708 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4709 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4710 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4711 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4712 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4713 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4714 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4715 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4716 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4717 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4718 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4719 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4720 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4721 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4722 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4723
4724 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4725 ceil, ceilf, floor, floorf.
4726
4727 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4728 Perform IRELATIVE relocations last.
4729
e453f6cd
UD
4730 * elf/do-rel.h: Add another parameter nrelative, replacing the
4731 local variable with the same name. Change name of the function
4732 to end in Rel or Rela (uppercase).
4733 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4734 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4735 elf_dynamic_do_##reloc function.
4736
fd5bdc09
UD
47372011-10-15 Ulrich Drepper <drepper@gmail.com>
4738
79b195b5
UD
4739 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4740 is sufficient, at least on modern CPUs.
4741
d4a28569
UD
4742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4743
b61099b5
UD
4744 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4745 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4746
bcf01e6d
UD
4747 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4748 __expl_finite.
4749 * math/bits/math-finite.h: Add entries for exp.
4750 * math/e_expl.c: Add __*_finite alias.
4751 * sysdeps/i386/fpu/e_exp.S: Likewise.
4752 * sysdeps/i386/fpu/e_expf.S: Likewise.
4753 * sysdeps/i386/fpu/e_expl.c: Likewise.
4754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4755 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4756 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4757 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4758 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4759 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4760 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4761
ba1a0d59
UD
4762 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4763 is sufficient, at least on modern CPUs.
4764
fd5bdc09
UD
4765 * ctype/ctype-info.c (__ctype_init): Define.
4766 * include/ctype.h (__ctype_init): Declare.
4767 (__ctype_b_loc): The variable is always initialized.
4768 (__ctype_toupper_loc): Likewise.
4769 (__ctype_tolower_loc): Likewise.
4770 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4771 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4772
7872cfb0
AS
47732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4774
b468825a
AS
4775 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4776
7872cfb0
AS
4777 * configure.in: Also look in $cxxmachine/include for C++ system
4778 headers.
4779
be13f7bf
LD
47802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4781
4782 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4783 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4784 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4785 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4786 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4787 (USE_AS_WMEMCMP): New macro.
4788 Fixing indents.
4789 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4790 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4791 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4792 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4794 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4795 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4796 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4797 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4798 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4799 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4800 (USE_AS_WMEMCMP): New macro.
4801 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4802 * sysdeps/string/test-memcmp.c: Update.
4803 Fix simple_wmemcmp.
4804 Add new tests.
4805 * wcsmbs/wmemcmp.c: Update.
4806 (WMEMCMP): New macro.
4807 Fix overflow bug.
4808
556a2007
AJ
48092011-10-12 Andreas Jaeger <aj@suse.de>
4810
4811 [BZ #13268]
4812 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4813
538faaa7
UD
48142011-10-15 Ulrich Drepper <drepper@gmail.com>
4815
ab6737ff
UD
4816 * libio/iofwide.c (do_length): Avoid warning.
4817
538faaa7
UD
4818 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4819
396a21b1
UD
48202011-10-14 Ulrich Drepper <drepper@gmail.com>
4821
cdf2901f
UD
4822 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4823
38ad40ce
UD
4824 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4825 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4826 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4827 * sysdeps/i386/i686/fpu/e_log.S: New file.
4828 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4829 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4830
396a21b1
UD
4831 * ctype/ctype.h: Add support for inlined isXXX functions when
4832 compiling C++ code.
4833
6b1f68c9
AS
48342011-10-14 Andreas Schwab <schwab@redhat.com>
4835
349290c0
AS
4836 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4837
6b1f68c9
AS
4838 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4839
f2282d42
RM
48402011-10-13 Roland McGrath <roland@hack.frob.com>
4841
4842 [BZ #13291]
4843 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4844
5298ffa8
AS
48452011-10-13 Andreas Schwab <schwab@redhat.com>
4846
714fad23
AS
4847 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4848 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4849 feraiseexcept.
4850
81dcc7fb
AS
4851 * sysdeps/x86_64/memrchr.S: Check for zero size.
4852
5298ffa8
AS
4853 * string/stratcliff.c: Add memrchr tests.
4854
951fbcec
LD
48552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4856
4857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4858 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4859 rawmemchr-sse2 rawmemchr-sse2-bsf.
4860 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4861 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4862 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4863 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4864 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4865 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4866 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4867 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4868 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4869 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4870 * string/memrchr.c (MEMRCHR): New macro.
4871
0ac5ae23
UD
48722011-10-12 Ulrich Drepper <drepper@gmail.com>
4873
4874 Add integration with gcc's -ffinite-math-only and optimize wrapper
4875 functions in libm.
4876 * Versions.def: Define GLIBC_2.15 version for libm.
4877 * math/Makefile (headers): Add bits/math-finite.h.
4878 * math/bits/math-finite.h: New file.
4879 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4880 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4881 * math/e_acoshl.c: Add __*_finite alias.
4882 * math/e_acosl.c: Likewise.
4883 * math/e_asinl.c: Likewise.
4884 * math/e_atan2l.c: Likewise.
4885 * math/e_atanhl.c: Likewise.
4886 * math/e_coshl.c: Likewise.
4887 * math/e_exp10.c: Likewise.
4888 * math/e_exp10f.c: Likewise.
4889 * math/e_exp10l.c: Likewise.
4890 * math/e_exp2l.c: Likewise.
4891 * math/e_fmodl.c: Likewise.
4892 * math/e_gammal_r.c: Likewise.
4893 * math/e_hypotl.c: Likewise.
4894 * math/e_j0l.c: Likewise.
4895 * math/e_j1l.c: Likewise.
4896 * math/e_jnl.c: Likewise.
4897 * math/e_lgammal_r.c: Likewise.
4898 * math/e_log10l.c: Likewise.
4899 * math/e_log2l.c: Likewise.
4900 * math/e_logl.c: Likewise.
4901 * math/e_powl.c: Likewise.
4902 * math/e_sinhl.c: Likewise.
4903 * math/e_sqrtl.c: Likewise.
4904 * math/e_scalb.c: Completely rewritten and optimized.
4905 * math/e_scalbf.c: Likewise.
4906 * math/e_scalbl.c: Likewise.
4907 * math/w_acos.c: Likewise.
4908 * math/w_acosf.c: Likewise.
4909 * math/w_acosl.c: Likewise.
4910 * math/w_acosh.c: Likewise.
4911 * math/w_acoshf.c: Likewise.
4912 * math/w_acoshl.c: Likewise.
4913 * math/w_asin.c: Likewise.
4914 * math/w_asinf.c: Likewise.
4915 * math/w_asinl.c: Likewise.
4916 * math/w_atan2.c: Likewise.
4917 * math/w_atan2f.c: Likewise.
4918 * math/w_atan2l.c: Likewise.
4919 * math/w_atanh.c: Likewise.
4920 * math/w_atanhf.c: Likewise.
4921 * math/w_atanhl.c: Likewise.
4922 * math/w_exp10.c: Likewise.
4923 * math/w_exp10f.c: Likewise.
4924 * math/w_exp10l.c: Likewise.
4925 * math/w_fmod.c: Likewise.
4926 * math/w_fmodf.c: Likewise.
4927 * math/w_fmodl.c: Likewise.
4928 * math/w_j0.c: Likewise.
4929 * math/w_j0f.c: Likewise.
4930 * math/w_j0l.c: Likewise.
4931 * math/w_j1.c: Likewise.
4932 * math/w_j1f.c: Likewise.
4933 * math/w_j1l.c: Likewise.
4934 * math/w_jn.c: Likewise.
4935 * math/w_jnf.c: Likewise.
4936 * math/w_log.c: Likewise.
4937 * math/w_logf.c: Likewise.
4938 * math/w_logl.c: Likewise.
4939 * math/w_log10.c: Likewise.
4940 * math/w_log10f.c: Likewise.
4941 * math/w_log10l.c: Likewise.
4942 * math/w_log2.c: Likewise.
4943 * math/w_log2f.c: Likewise.
4944 * math/w_log2l.c: Likewise.
4945 * math/w_pow.c: Likewise.
4946 * math/w_powf.c: Likewise.
4947 * math/w_powl.c: Likewise.
4948 * math/w_remainder.c: Likewise.
4949 * math/w_remainderf.c: Likewise.
4950 * math/w_remainderl.c: Likewise.
4951 * math/w_scalb.c: Likewise.
4952 * math/w_scalbf.c: Likewise.
4953 * math/w_scalbl.c: Likewise.
4954 * math/w_sqrt.c: Likewise.
4955 * math/w_sqrtf.c: Likewise.
4956 * math/w_sqrtl.c: Likewise.
4957 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4958 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4959 used.
4960 * math/math_private.h: Declare __kernel_standard_f.
4961 * math/w_cosh.c: Remove cruft and optimize a bit.
4962 * math/w_coshf.c: Likewise.
4963 * math/w_coshl.c: Likewise.
4964 * math/w_exp2.c: Likewise.
4965 * math/w_exp2f.c: Likewise.
4966 * math/w_exp2l.c: Likewise.
4967 * math/w_hypot.c: Likewise.
4968 * math/w_hypotf.c: Likewise.
4969 * math/w_hypotl.c: Likewise.
4970 * math/w_lgamma.c: Likewise.
4971 * math/w_lgamma_r.c: Likewise.
4972 * math/w_lgammaf.c: Likewise.
4973 * math/w_lgammaf_r.c: Likewise.
4974 * math/w_lgammal.c: Likewise.
4975 * math/w_lgammal_r.c: Likewise.
4976 * math/w_sinh.c: Likewise.
4977 * math/w_sinhf.c: Likewise.
4978 * math/w_sinhl.c: Likewise.
4979 * math/w_tgamma.c: Likewise.
4980 * math/w_tgammaf.c: Likewise.
4981 * math/w_tgammal.c: Likewise.
4982 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4983 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4984 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4985 Minor optimizations. Pretty printing. Remove cruft.
4986 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4987 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4988 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4989 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4990 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4991 * sysdeps/i386/fpu/e_asin.S: Likewise.
4992 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4993 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4994 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4995 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4996 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4997 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4998 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4999 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5000 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5001 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5002 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5003 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5004 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5005 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5006 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5007 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5008 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5009 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5010 * sysdeps/i386/fpu/e_log.S: Likewise.
5011 * sysdeps/i386/fpu/e_log10.S: Likewise.
5012 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5013 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5014 * sysdeps/i386/fpu/e_log2.S: Likewise.
5015 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5016 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5017 * sysdeps/i386/fpu/e_logf.S: Likewise.
5018 * sysdeps/i386/fpu/e_logl.S: Likewise.
5019 * sysdeps/i386/fpu/e_pow.S: Likewise.
5020 * sysdeps/i386/fpu/e_powf.S: Likewise.
5021 * sysdeps/i386/fpu/e_powl.S: Likewise.
5022 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5023 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5024 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5025 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5026 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5027 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5028 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5029 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5030 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5031 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5032 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5034 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5035 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5036 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5037 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5038 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5039 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5040 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5041 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5042 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5044 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5045 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5047 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5048 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5049 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5051 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5052 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5053 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5054 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5055 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5056 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5057 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5058 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5059 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5060 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5061 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5062 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5063 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5064 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5065 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5066 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5067 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5068 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5069 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5070 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5071 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5072 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5074 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5075 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5079 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5111 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5114 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5116 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5117 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5119 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5122 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5123 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5124 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5125 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5126 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5127 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5128 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5129 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5130 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5131 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5132 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5133 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5134 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5135 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5136 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5137 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5138 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5139 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5140 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5141 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5142 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5143 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5144 (__isnanf): Likewise.
5145 (__isinf_ns): Likewise.
5146 (__isinf_nsf): Likewise.
5147 (__finite): Likewise.
5148 (__finitef): Likewise.
5149 (__ieee754_sqrt): Define as macro.
5150 (__ieee754_sqrtf): Define as macro.
5151 (__ieee754_sqrtl): Define as macro.
5152 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5153 inlined copy.
5154 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5155 __FINITE_MATH_ONLY__ consistent.
5156 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5157
12cc2fcd
AS
51582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5159
a843a204
AS
5160 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5161 of rawmemchr.
5162
12cc2fcd
AS
5163 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5164
c853acd5
UD
51652011-10-09 Ulrich Drepper <drepper@gmail.com>
5166
5167 * po/ja.po: Update from translation team.
5168
c658d255
RM
51692011-10-08 Roland McGrath <roland@hack.frob.com>
5170
110946e4
RM
5171 * locale/programs/locarchive.c (prepare_address_space): New function.
5172 (create_archive, enlarge_archive, open_archive): Use it.
5173
50604220
RM
5174 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5175 inside [SHARED], where it is used.
5176
c658d255
RM
5177 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5178
5179 * nss/getent.c (netgroup_keys): Remove unused variable.
5180 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5181
6a621eb7
UD
51822011-10-08 Ulrich Drepper <drepper@gmail.com>
5183
7edb55ce
UD
5184 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5185 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5187 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5188 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5189 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5190 * math/Makefile (libm-calls): Add s_isinf_ns.
5191 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5192 * math/multc3.c: Likewise.
5193 * math/s_casin.c: Likewise.
5194 * math/s_casinf.c: Likewise.
5195 * math/s_casinl.c: Likewise.
5196 * math/s_ccos.c: Likewise.
5197 * math/s_ccosf.c: Likewise.
5198 * math/s_ccosl.c: Likewise.
5199 * math/s_ctan.c: Likewise.
5200 * math/s_ctanf.c: Likewise.
5201 * math/s_ctanh.c: Likewise.
5202 * math/s_ctanhf.c: Likewise.
5203 * math/s_ctanhl.c: Likewise.
5204 * math/s_ctanl.c: Likewise.
5205 * math/w_fmod.c: Likewise.
5206 * math/w_fmodf.c: Likewise.
5207 * math/w_fmodl.c: Likewise.
5208 * math/w_remainder.c: Likewise.
5209 * math/w_remainderf.c: Likewise.
5210 * math/w_remainderl.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5212 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5215 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5216 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5217 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5218 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5219
187da0ae
UD
5220 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5221 of the number.
5222 * stdio-common/printf_fphex.c: Likewise.
5223 * stdio-common/printf_size.c: Likewise.
5224
9277c064
UD
5225 * math/e_exp10.c: Include math_private.h using <...> not "...".
5226 * math/e_exp10f.c: Likewise.
5227 * math/e_exp10l.c: Likewise.
5228 * math/e_exp2l.c: Likewise.
5229 * math/e_j0l.c: Likewise.
5230 * math/e_j1l.c: Likewise.
5231 * math/e_jnl.c: Likewise.
5232 * math/e_lgammal_r.c: Likewise.
5233 * math/e_rem_pio2l.c: Likewise.
5234 * math/e_scalb.c: Likewise.
5235 * math/e_scalbf.c: Likewise.
5236 * math/e_scalbl.c: Likewise.
5237 * math/k_cosl.c: Likewise.
5238 * math/k_sinl.c: Likewise.
5239 * math/k_tanl.c: Likewise.
5240 * math/s_cacoshf.c: Likewise.
5241 * math/s_catan.c: Likewise.
5242 * math/s_catanf.c: Likewise.
5243 * math/s_catanh.c: Likewise.
5244 * math/s_catanhf.c: Likewise.
5245 * math/s_catanhl.c: Likewise.
5246 * math/s_catanl.c: Likewise.
5247 * math/s_ccosh.c: Likewise.
5248 * math/s_ccoshf.c: Likewise.
5249 * math/s_ccoshl.c: Likewise.
5250 * math/s_cexp.c: Likewise.
5251 * math/s_cexpf.c: Likewise.
5252 * math/s_cexpl.c: Likewise.
5253 * math/s_clog.c: Likewise.
5254 * math/s_clog10.c: Likewise.
5255 * math/s_clog10f.c: Likewise.
5256 * math/s_clog10l.c: Likewise.
5257 * math/s_clogf.c: Likewise.
5258 * math/s_clogl.c: Likewise.
5259 * math/s_csin.c: Likewise.
5260 * math/s_csinf.c: Likewise.
5261 * math/s_csinh.c: Likewise.
5262 * math/s_csinhf.c: Likewise.
5263 * math/s_csinhl.c: Likewise.
5264 * math/s_csinl.c: Likewise.
5265 * math/s_csqrt.c: Likewise.
5266 * math/s_csqrtf.c: Likewise.
5267 * math/s_csqrtl.c: Likewise.
5268 * math/s_ctan.c: Likewise.
5269 * math/s_ctanf.c: Likewise.
5270 * math/s_ctanh.c: Likewise.
5271 * math/s_ctanhf.c: Likewise.
5272 * math/s_ctanhl.c: Likewise.
5273 * math/s_ctanl.c: Likewise.
5274 * math/s_ldexp.c: Likewise.
5275 * math/s_ldexpf.c: Likewise.
5276 * math/s_ldexpl.c: Likewise.
5277 * math/s_significand.c: Likewise.
5278 * math/s_significandf.c: Likewise.
5279 * math/s_significandl.c: Likewise.
5280 * math/w_acos.c: Likewise.
5281 * math/w_acosf.c: Likewise.
5282 * math/w_acosh.c: Likewise.
5283 * math/w_acoshf.c: Likewise.
5284 * math/w_acoshl.c: Likewise.
5285 * math/w_acosl.c: Likewise.
5286 * math/w_asin.c: Likewise.
5287 * math/w_asinf.c: Likewise.
5288 * math/w_asinl.c: Likewise.
5289 * math/w_atan2.c: Likewise.
5290 * math/w_atan2f.c: Likewise.
5291 * math/w_atan2l.c: Likewise.
5292 * math/w_atanh.c: Likewise.
5293 * math/w_atanhf.c: Likewise.
5294 * math/w_atanhl.c: Likewise.
5295 * math/w_cosh.c: Likewise.
5296 * math/w_coshf.c: Likewise.
5297 * math/w_coshl.c: Likewise.
5298 * math/w_dremf.c: Likewise.
5299 * math/w_exp10.c: Likewise.
5300 * math/w_exp10f.c: Likewise.
5301 * math/w_exp10l.c: Likewise.
5302 * math/w_exp2.c: Likewise.
5303 * math/w_exp2f.c: Likewise.
5304 * math/w_fmod.c: Likewise.
5305 * math/w_fmodf.c: Likewise.
5306 * math/w_fmodl.c: Likewise.
5307 * math/w_hypot.c: Likewise.
5308 * math/w_hypotf.c: Likewise.
5309 * math/w_hypotl.c: Likewise.
5310 * math/w_j0.c: Likewise.
5311 * math/w_j0f.c: Likewise.
5312 * math/w_j0l.c: Likewise.
5313 * math/w_j1.c: Likewise.
5314 * math/w_j1f.c: Likewise.
5315 * math/w_j1l.c: Likewise.
5316 * math/w_jn.c: Likewise.
5317 * math/w_jnf.c: Likewise.
5318 * math/w_jnl.c: Likewise.
5319 * math/w_lgamma.c: Likewise.
5320 * math/w_lgamma_r.c: Likewise.
5321 * math/w_lgammaf.c: Likewise.
5322 * math/w_lgammaf_r.c: Likewise.
5323 * math/w_lgammal.c: Likewise.
5324 * math/w_lgammal_r.c: Likewise.
5325 * math/w_log.c: Likewise.
5326 * math/w_log10.c: Likewise.
5327 * math/w_log10f.c: Likewise.
5328 * math/w_log10l.c: Likewise.
5329 * math/w_log2.c: Likewise.
5330 * math/w_log2f.c: Likewise.
5331 * math/w_log2l.c: Likewise.
5332 * math/w_logf.c: Likewise.
5333 * math/w_logl.c: Likewise.
5334 * math/w_pow.c: Likewise.
5335 * math/w_powf.c: Likewise.
5336 * math/w_powl.c: Likewise.
5337 * math/w_remainder.c: Likewise.
5338 * math/w_remainderf.c: Likewise.
5339 * math/w_remainderl.c: Likewise.
5340 * math/w_scalb.c: Likewise.
5341 * math/w_scalbf.c: Likewise.
5342 * math/w_scalbl.c: Likewise.
5343 * math/w_sinh.c: Likewise.
5344 * math/w_sinhf.c: Likewise.
5345 * math/w_sinhl.c: Likewise.
5346 * math/w_sqrt.c: Likewise.
5347 * math/w_sqrtf.c: Likewise.
5348 * math/w_sqrtl.c: Likewise.
5349 * math/w_tgamma.c: Likewise.
5350 * math/w_tgammaf.c: Likewise.
5351 * math/w_tgammal.c: Likewise.
5352
6a621eb7
UD
5353 * po/ja.po: Update from translation team.
5354
bf582445
AJ
53552011-09-29 Andreas Jaeger <aj@suse.de>
5356
f9efbf3a
AJ
5357 [BZ #13179]
5358 * sunrpc/netname.c (netname2host): Fix logic.
5359
bf582445
AJ
5360 [BZ #6779]
5361 [BZ #6783]
5362 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5363 correctly.
5364 * math/w_remainder.c (__remainder): Likewise.
5365 * math/w_remainderf.c (__remainderf): Likewise.
5366 * math/libm-test.inc (remainder_test): Add test cases.
5367
48693bea
AK
53682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5369
5370 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5371 sdiv_qrnnd.
5372
42622229
LD
53732011-10-07 Ulrich Drepper <drepper@gmail.com>
5374
5375 * string/test-memcmp.c: Avoid unncessary #defines.
5376 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5377
093ecf92
LD
53782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5379
5380 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5381 Use new sse2 version for core i3 - i7 as it's faster
5382 than sse42 version.
5383 (bit_Prefer_PMINUB_for_stringop): New.
5384 * sysdeps/x86_64/rawmemchr.S: Update.
5385 Replace with faster SSE2 version.
5386 * sysdeps/x86_64/memrchr.S: New file.
5387 * sysdeps/x86_64/memchr.S: Update.
5388 Replace with faster SSE2 version.
5389
fde56e5c
MP
53902011-09-12 Marek Polacek <mpolacek@redhat.com>
5391
5392 * elf/dl-load.c (lose): Add cast to avoid warning.
5393
21fd49a9
UD
53942011-10-07 Ulrich Drepper <drepper@gmail.com>
5395
5a06e643
UD
5396 * po/ca.po: Update from translation team.
5397
684ae515
UD
5398 * inet/getnetgrent_r.c: Hook up nscd.
5399 * nscd/Makefile (routines): Add nscd_netgroup.
5400 (nscd-modules): Add netgroupcache.
5401 (CFLAGS-netgroupcache.c): Define.
5402 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5403 (cache_search): Add const to second parameter.
5404 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5405 INNETGR.
5406 (dbs): Add netgrdb entry.
5407 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5408 (verify_persistent_db): Handle netgrdb.
5409 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5410 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5411 GETFDNETGR.
5412 (netgroup_response_header): Define.
5413 (innetgroup_response_header): Define.
5414 (datahead): Add netgroup_response_header and innetgroup_response_header
5415 elements.
5416 * nscd/nscd.conf: Add entries for netgroup cache.
5417 * nscd/nscd.h (dbtype): Add netgrdb.
5418 (_PATH_NSCD_NETGROUP_DB): Define.
5419 (netgroup_iov_disabled): Declare.
5420 (xmalloc, xcalloc, xrealloc): Move declarations here.
5421 (cache_search): Adjust prototype.
5422 Add netgroup-related prototypes.
5423 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5424 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5425 (__nscd_innetgr): Declare.
5426 * nscd/selinux.c (perms): Use access_vector_t as element type and
5427 add netgroup-related initializers.
5428 * nscd/netgroupcache.c: New file.
5429 * nscd/nscd_netgroup.c: New file.
5430 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5431 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5432 For four parameters use innetgr.
5433 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5434 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5435 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5436 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5437
21fd49a9
UD
5438 * nscd/connections.c (register_traced_file): Don't register file
5439 for disabled databases.
5440
054c0457
UD
54412011-10-06 Ulrich Drepper <drepper@gmail.com>
5442
32b63198
UD
5443 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5444
054c0457
UD
5445 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5446 from tree and freeing node.
5447
64031225
JO
54482011-09-25 Jiri Olsa <jolsa@redhat.com>
5449
5450 * nss/nsswitch.c (__nss_database_lookup): Handle
5451 nss_parse_service_list out of memory case.
5452
0490345c
JO
54532011-09-15 Jiri Olsa <jolsa@redhat.com>
5454
5455 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5456 out of memory case.
5457
3a62d00d
AS
54582011-10-04 Andreas Schwab <schwab@redhat.com>
5459
5460 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5461 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5462 pass it down.
5463 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5464 elf_machine_rela, elf_machine_lazy_rel.
5465 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5466 (ELF_DYNAMIC_DO_REL): Likewise.
5467 (ELF_DYNAMIC_DO_RELA): Likewise.
5468 (ELF_DYNAMIC_RELOCATE): Likewise.
5469 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5470 to ELF_DYNAMIC_DO_REL.
5471 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5472 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5473 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5474 elf_machine_rela.
5475 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5476 skip_ifunc, don't call ifunc function if non-zero.
5477 (elf_machine_rela): Likewise.
5478 (elf_machine_lazy_rel): Likewise.
5479 (elf_machine_lazy_rela): Likewise.
5480 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5481 (elf_machine_lazy_rel): Likewise.
5482 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5483 Likewise.
5484 (elf_machine_lazy_rel): Likewise.
5485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5486 Likewise.
5487 (elf_machine_lazy_rel): Likewise.
5488 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5489 (elf_machine_lazy_rel): Likewise.
5490 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5491 (elf_machine_lazy_rel): Likewise.
5492 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5493 (elf_machine_lazy_rel): Likewise.
5494 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5495 (elf_machine_lazy_rel): Likewise.
5496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5497 (elf_machine_lazy_rel): Likewise.
5498 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5499 (elf_machine_lazy_rel): Likewise.
5500
68577918
UD
55012011-09-28 Ulrich Drepper <drepper@gmail.com>
5502
5503 * nss/nss_files/files-init.c (_nss_files_init): Use static
5504 initialization for all the *_traced_file variables.
5505
68822d74
AS
55062011-09-28 Andreas Schwab <schwab@redhat.com>
5507
5508 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5509
2056100b
RM
55102011-09-27 Roland McGrath <roland@hack.frob.com>
5511
5512 [BZ #13226]
5513 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5514
32c76b63
AS
55152011-09-27 Andreas Schwab <schwab@redhat.com>
5516
5517 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5518 Reread the line before reparsing it.
5519
bf972c9d
AS
55202011-09-26 Andreas Schwab <schwab@redhat.com>
5521
5522 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5523
e057a1b5
JM
55242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5525 Maxim Kuvyrkov <maxim@codesourcery.com>
5526 Joseph Myers <joseph@codesourcery.com>
5527
5528 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5529 if needed for __stack_chk_guard.
5530
bc7e1c36
RM
55312011-09-19 Roland McGrath <roland@hack.frob.com>
5532
ecb1482f
RM
5533 * sysdeps/posix/spawni.c (script_execute): Always define it.
5534 It will be optimized away if unused.
5535 (maybe_script_execute): New function.
5536 (__spawni): Call it.
5537
bc7e1c36
RM
5538 * Makerules: Don't include tls.make.
5539 (config-tls): Always set to thread.
5540 * tls.make.c: File removed.
5541
1c3b002b
MF
55422011-09-19 Mike Frysinger <vapier@gentoo.org>
5543
5544 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5545 * config.make.in (CPPFLAGS-config): New substituted variable.
5546
2840865d
UD
55472011-09-15 Ulrich Drepper <drepper@gmail.com>
5548
88738eb6
UD
5549 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5550
cbf645a6 5551 [BZ #13192]
2840865d
UD
5552 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5553 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5554
b402e91a
RM
55552011-09-15 Roland McGrath <roland@hack.frob.com>
5556
5557 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5558 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5560 (CALL_FAIL): Likewise.
5561 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5562 (CALL_FAIL): Macro removed.
5563 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5564
4c1a1f71
UD
55652011-09-15 Ulrich Drepper <drepper@gmail.com>
5566
5567 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5568 for __FINITE_MATH_ONLY__ == 1.
5569
edc121be
AS
55702011-09-15 Andreas Schwab <schwab@redhat.com>
5571
5572 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5573 __ieee754_sqrt instead of sqrt.
5574 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5575 __ieee754_sqrtf instead of sqrtf.
5576 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5577 __floorf instead of floorf.
5578 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5579 __floorf, __truncf instead of floorf, truncf.
5580
cd205654
UD
55812011-09-14 Ulrich Drepper <drepper@gmail.com>
5582
ee4d0315
UD
5583 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5584
cd205654
UD
5585 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5586 __extern_always_inline.
5587 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5588 32-bit.
5589
48b67d71
AS
55902011-09-14 Andreas Schwab <schwab@redhat.com>
5591
5592 * elf/rtld.c (dl_main): Also relocate in dependency order when
5593 doing symbol dependency testing.
5594
1ae12c75
AS
55952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5596
5597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5598 Always define `refsym'.
5599
995a80df
AS
56002011-09-13 Andreas Schwab <schwab@redhat.com>
5601
e529793b
AS
5602 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5603 (__FD_ELT): Renamed from __FDELT.
5604 * misc/bits/select2.h (__FD_ELT): Likewise.
5605 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5606 __FD_MASK instead of __FDELT, __FDMASK.
5607 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5608 Likewise.
5609 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5610 Likewise.
5611
52d4fef8
AS
5612 * elf/Makefile (gen-ldd): Fix pattern.
5613
995a80df
AS
5614 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5615 (init_tls): Likewise.
5616
8682f8b0
UD
56172011-09-12 Ulrich Drepper <drepper@gmail.com>
5618
5619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5620
de82006d
AS
56212011-09-12 Andreas Schwab <schwab@redhat.com>
5622
a7c8e6a1
AS
5623 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5624 `struct cmsghdr *' instead of `void *'.
5625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5626 Likewise.
5627
0f31fe77
AS
56282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5629
5630 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5631 if non-absolute.
5632 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5633 ldd_rewrite_script.
0f31fe77 5634
32b4c839
UD
56352011-09-11 Ulrich Drepper <drepper@gmail.com>
5636
83cd1420
UD
5637 * configure.in: Remove --with-tls option.
5638 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5639 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5640 out in case it is missing.
5641 * sysdeps/ia64/elf/configure.in: Likewise.
5642 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5643 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5644 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5645 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5646 * sysdeps/sh/elf/configure.in: Likewise.
5647 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5648 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5649 * sysdeps/x86_64/elf/configure.in: Likewise.
5650 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5651 * sysdeps/mach/hurd/tls.h: Likewise.
5652
633f745d
UD
5653 [BZ #13067]
5654 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5655
f318beb8
UD
5656 [BZ #13090]
5657 * configure.in: Fix use of AC_INIT.
5658
32b4c839
UD
5659 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5660
3ce1f295
UD
56612011-09-10 Ulrich Drepper <drepper@gmail.com>
5662
bb016596
UD
5663 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5664 __set_errno.
8e58439c
UD
5665 * malloc/hooks.c: Likewise.
5666
aebae053 5667 [BZ #11929]
02d46fc4
UD
5668 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5669 variables statically.
5670 (narenas): Initialize.
5671 (list_lock): Initialize.
bb016596
UD
5672 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5673 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5674 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5675 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5676 Add initializers to main_arena and mp_.
5677 (malloc_state): Remove pagesize member. Change all users to use
5678 GLRO(dl_pagesize).
5679
5680 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5681 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5682 is always initialized.
5683
22a89187
UD
5684 * malloc/malloc.c: Removed unused configurations and dead code.
5685 * malloc/arena.c: Likewise.
5686 * malloc/hooks.c: Likewise.
02d46fc4 5687 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5688
d063d164
UD
5689 * include/tls.h: Removed. USE___THREAD must always be defined.
5690 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5691 * elf/dl-libc.c: Likewise.
5692 * elf/dl-tsd.c: Likewise.
5693 * include/errno.h: Likewise.
5694 * include/netdb.h: Likewise.
5695 * include/resolv.h: Likewise.
5696 * inet/herrno-loc.c: Likewise.
5697 * inet/herrno.c: Likewise.
5698 * malloc/arena.c: Likewise.
5699 * malloc/hooks.c: Likewise.
5700 * malloc/malloc.c: Likewise.
5701 * resolv/res-state.c: Likewise.
5702 * resolv/res_libc.c: Likewise.
5703 * sysdeps/i386/dl-machine.h: Likewise.
5704 * sysdeps/ia64/dl-machine.h: Likewise.
5705 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5706 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5707 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5708 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5709 * sysdeps/sh/dl-machine.h: Likewise.
5710 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5711 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5712 * sysdeps/unix/i386/sysdep.S: Likewise.
5713 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5714 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5719 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5723 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5724 * sysdeps/x86_64/dl-machine.h: Likewise.
5725 * tls.make.c: Likewise.
5726
3ce1f295
UD
5727 * configure.in: Remove --with-__thread option. Make tests for
5728 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5729 tls_model attribute fail if no support is available. Remove
5730 USE_IN_LIBIO.
5731 * Makeconfig: Adjust for dropped configure option. All features are
5732 now mandatory.
5733 * Makerules: Likewise.
5734 * Versions.def: Likewise.
5735 * argp/argp-fmtstream.c: Likewise.
5736 * argp/argp-fmtstream.h: Likewise.
5737 * argp/argp-help.c: Likewise.
5738 * assert/assert.c: Likewise.
5739 * config.h.in: Likewise.
5740 * config.make.in: Likewise.
5741 * configure: Likewise.
5742 * configure.in: Likewise.
5743 * csu/Versions: Likewise.
5744 * csu/init.c: Likewise.
5745 * elf/tst-audit2.c: Likewise.
5746 * elf/tst-tls10.c: Likewise.
5747 * elf/tst-tls10.h: Likewise.
5748 * elf/tst-tls11.c: Likewise.
5749 * elf/tst-tls12.c: Likewise.
5750 * elf/tst-tls14.c: Likewise.
5751 * elf/tst-tlsmod11.c: Likewise.
5752 * elf/tst-tlsmod12.c: Likewise.
5753 * elf/tst-tlsmod13.c: Likewise.
5754 * elf/tst-tlsmod13a.c: Likewise.
5755 * elf/tst-tlsmod14a.c: Likewise.
5756 * elf/tst-tlsmod15b.c: Likewise.
5757 * elf/tst-tlsmod16a.c: Likewise.
5758 * elf/tst-tlsmod16b.c: Likewise.
5759 * elf/tst-tlsmod7.c: Likewise.
5760 * elf/tst-tlsmod8.c: Likewise.
5761 * elf/tst-tlsmod9.c: Likewise.
5762 * gmon/gmon.c: Likewise.
5763 * grp/fgetgrent_r.c: Likewise.
5764 * grp/putgrent.c: Likewise.
5765 * hurd/fopenport.c: Likewise.
5766 * include/libc-symbols.h: Likewise.
5767 * include/tls.h: Likewise.
5768 * intl/gettextP.h: Likewise.
5769 * intl/loadinfo.h: Likewise.
5770 * locale/global-locale.c: Likewise.
5771 * locale/localeinfo.h: Likewise.
5772 * mach/devstream.c: Likewise.
5773 * malloc/arena.c: Likewise.
5774 * malloc/set-freeres.c: Likewise.
5775 * misc/err.c: Likewise.
5776 * misc/getttyent.c: Likewise.
5777 * misc/mntent_r.c: Likewise.
5778 * posix/getopt.c: Likewise.
5779 * posix/wordexp.c: Likewise.
5780 * pwd/fgetpwent_r.c: Likewise.
5781 * resolv/Versions: Likewise.
5782 * resolv/res_hconf.c: Likewise.
5783 * shadow/fgetspent_r.c: Likewise.
5784 * shadow/putspent.c: Likewise.
5785 * stdio-common/printf_fphex.c: Likewise.
5786 * stdio-common/tmpfile.c: Likewise.
5787 * stdlib/abort.c: Likewise.
5788 * stdlib/fmtmsg.c: Likewise.
5789 * sunrpc/auth_unix.c: Likewise.
5790 * sunrpc/clnt_perr.c: Likewise.
5791 * sunrpc/clnt_tcp.c: Likewise.
5792 * sunrpc/clnt_udp.c: Likewise.
5793 * sunrpc/clnt_unix.c: Likewise.
5794 * sunrpc/openchild.c: Likewise.
5795 * sunrpc/svc_simple.c: Likewise.
5796 * sunrpc/svc_tcp.c: Likewise.
5797 * sunrpc/svc_udp.c: Likewise.
5798 * sunrpc/svc_unix.c: Likewise.
5799 * sunrpc/xdr.c: Likewise.
5800 * sunrpc/xdr_array.c: Likewise.
5801 * sunrpc/xdr_rec.c: Likewise.
5802 * sunrpc/xdr_ref.c: Likewise.
5803 * sunrpc/xdr_stdio.c: Likewise.
5804
1248c1c4
PB
58052011-09-09 Ulrich Drepper <drepper@gmail.com>
5806
5807 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5808
58092011-07-03 Andreas Jaeger <aj@suse.de>
5810
5811 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5812 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5813 regenerate with gen-libm-tests.pl.
5814
58152010-05-12 Petr Baudis <pasky@suse.cz>
5816
5817 [BZ #11589]
5818 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5819 around j0() zero points by switching to j1().
5820 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5821 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5824
f22e1074
UD
58252011-09-09 Ulrich Drepper <drepper@gmail.com>
5826
f19009c1
UD
5827 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5828 instead of 0.
5829 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5830 instead of 0. .
5831 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5832 Patch in part by Pavel Roskin <proski@gnu.org>.
5833
3f8cc204
UD
5834 [BZ #13138]
5835 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5836 realloc.
5837 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5838 Free memory block if necessary.
5839
f22e1074
UD
5840 [BZ #12847]
5841 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5842 be NULL. Don't lock in this case.
5843
0a2349f9
RM
58442011-09-09 Roland McGrath <roland@hack.frob.com>
5845
5846 * elf/elf.h (ELFOSABI_GNU): New macro.
5847 (ELFOSABI_LINUX): Define to that.
5848
f3cdd467
DZ
58492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5850
5851 * string/strncat.c (strncat): Undef the symbol in case it has been
5852 defined in bits/string.h.
5853
74718d13
UD
58542011-09-09 Ulrich Drepper <drepper@gmail.com>
5855
633e9e0f
UD
5856 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5857
0a2349f9 5858 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
5859 link map.
5860
f9924780
AJ
58612011-08-17 Andreas Jaeger <aj@suse.de>
5862
5863 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5864
7f5517aa
PP
58652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5866 Ian Lance Taylor <iant@google.com>
5867
5868 * math/libm-test.inc (lround_test): New testcase.
5869 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5870
762011fe
UD
58712011-09-08 Ulrich Drepper <drepper@gmail.com>
5872
92963737
UD
5873 * Makefile: Remove support for automatic cvs check-ins.
5874 * Makerules: Likewise.
5875 * config.make.in: Likewise.
5876 * configure.in: Likewise.
5877 * intl/Makefile: Likewise.
5878 * locale/Makefile: Likewise.
5879 * po/Makefile: Likewise.
5880 * posix/Makefile: Likewise.
5881 * sysdeps/gnu/Makefile: Likewise.
5882 * sysdeps/mach/hurd/Makefile: Likewise.
5883 * sysdeps/sparc/sparc32/Makefile: Likewise.
5884
b0727fd8
JS
5885 [BZ #13118]
5886 * posix/Makefile (bug-regex32-ENV): Define.
5887 Patch by John Stanley <jpsinthemix@verizon.net>.
5888
a0f33f99
UD
5889 * misc/Makefile (headers): Add bits/select2.h.
5890 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5891 * misc/bits/select2.h: New file.
5892 * include/bits/select2.h: New file.
5893 * debug/Makefile (routines): Add fdelt_chk.
5894 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5895 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5896 FD_ISSET.
5897 * debug/fdelt_chk.c: New file.
5898
762011fe
UD
5899 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5900 * wcsmbs/test-wmemcmp.c: Likewise.
5901 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 5902 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
5903
59042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5905
5906 * string/Makefile (strop-tests): Add memcmp.
5907 * string/test-wmemcmp.c: New file.
5908 * string/test-memcmp.c: Add wmemcmp support.
5909
7f513ec8
RM
59102011-09-08 Roland McGrath <roland@hack.frob.com>
5911
0442afb4
RM
5912 [BZ #13153]
5913 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5914 2011-07-19 change.
5915
7f513ec8
RM
5916 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5917 garbage value in a __mach_port_mod_refs call in the cases of the
5918 task-self and thread-self ports.
5919
a12b2239
ST
59202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5921
5922 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5923
610f9ab4
AS
59242011-09-08 Andreas Schwab <schwab@redhat.com>
5925
7f513ec8 5926 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 5927
48882a1a
LD
59282011-09-07 Ulrich Drepper <drepper@gmail.com>
5929
b49865be
UD
5930 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5931
fdc86bc9
UD
5932 * elf/dl-libc.c (dlerror_run): Pass back error code from
5933 dl_catch_error.
5934
c966526a
UD
5935 [BZ #13123]
5936 * elf/dl-load.c (lose): Free l_origin if it is valid.
5937
48882a1a
LD
5938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5939 names.
5940 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5941 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5943 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5944 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5945 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5946
77a2a8b4
AZ
59472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5948
5949 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5950 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5951 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5952 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5953 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5954 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5955 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5956 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5957 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5958 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5959
24f579d8
AM
59602011-08-15 Alan Modra <amodra@gmail.com>
5961
5962 [BZ #13092]
5963 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5964 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5965 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5966 ppc_mcount to static-only-routines.
5967 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5968 __mcount_internal.
5969 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5970 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5971
3d4837df
UD
59722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5973
5974 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5975 for finite and infinity parameters.
5976
22700377
WS
59772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5978
5979 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5980 and add nop instructions for throughput optimization.
5981 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5982
5025581e
WS
59832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5984
5985 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5986 aligned copy for power7 with vector-scalar instructions.
5987 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5988
08a300c9
L
59892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5990
5991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5992 AVX check.
5993
59178ef9
AS
59942011-09-07 Andreas Schwab <schwab@redhat.com>
5995
5996 [BZ #13144]
5997 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5998 last change.
5999
e38ba7ab
UD
60002011-09-07 Ulrich Drepper <drepper@gmail.com>
6001
6002 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6003 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6004 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6005 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6006 clock_gettime.
6007
d53a73ac
UD
60082011-09-06 Ulrich Drepper <drepper@gmail.com>
6009
fc8bffcc
UD
6010 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6011 Forgot to demangle the pointer.
6012
ceaa0c5d
UD
6013 * sysdeps/i386/sysdep.h: Define atom_text_section.
6014 * sysdeps/x86_64/sysdep.h: Likewise.
6015 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6016 section with atom_text_section.
6017 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6018 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6019 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6021 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6022
a77d3c17
UD
6023 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6024 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6025 already be defined. Change to take two parameters and don't assign
6026 result to variable. Adjust all users.
6027 Define INTERNAL_GETTIME if not already defined.
6028 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6029 call.
6030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6031 HAVE_CLOCK_GETTIME_VSYSCALL.
6032 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6033
d53a73ac
UD
6034 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6035 gettimeofday vsyscall, just use time.
6036
a8f84144
AS
60372011-09-06 Andreas Schwab <schwab@redhat.com>
6038
6039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6040 <errno.h>.
6041
ef606249
UD
60422011-09-06 Ulrich Drepper <drepper@gmail.com>
6043
6044 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6045 syscall on x86-64.
6046 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6047 syscall.
6048 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6049 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6050 syscall if possible.
6051
6585cb60
UD
60522011-09-05 Ulrich Drepper <drepper@gmail.com>
6053
6054 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6055 e_ident. Don't pass to find_mapsXX.
6056 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6057
a5f524e4
LD
60582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6059
6060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6061 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6062 * sysdeps/x86_64/multiarch/strchr.S: Update.
6063 Check bit_slow_BSF bit.
6064 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6065 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6066 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6067
554881ef
UD
60682011-09-05 Ulrich Drepper <drepper@gmail.com>
6069
d96de963
UD
6070 [BZ #13134]
6071 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6072 before glibc 2.15.
6073 (tryshell): Define.
6074 (__spawni): Change last parameter to be flag. Test
6075 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6076 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6077 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6078 * posix/spawni.c: Likewise.
6079 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6080 * posix/spawnp.c: Likewise. Change normal version to use
6081 SPAWN_XFLAGS_USE_PATH.
6082 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6083 SPAWN_XFLAGS_TRY_SHELL.
6084
d48e5868
UD
6085 [BZ #13150]
6086 * posix/glob.h: Remove gcc 1.x support.
6087
554881ef
UD
6088 [BZ #13068]
6089 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6090
693fb948
LD
60912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6092
6093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6094 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6095 strrchr-sse2-bsf
6096 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6097 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6098 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6099 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6100 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6102
1b48c537
UD
61032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6104
49d42c37
UD
6105 * sysdeps/x86_64/wcscmp.S: New file.
6106
1b48c537
UD
6107 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6108 wcscmp-c wcscmp-sse2
6109 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6110 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6111 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6112 * wcsmbs/wcscmp.c: Allow renaming.
6113
15c95c5d
DM
61142011-09-05 David S. Miller <davem@davemloft.net>
6115
6116 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6117 stack slot, rather than the struct return pointer slot.
6118 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6119 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6121 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6122
2f0ad8f3
UD
61232011-09-05 Ulrich Drepper <drepper@gmail.com>
6124
d88ae418
UD
6125 * po/ja.po: Update from translation team.
6126
2f0ad8f3
UD
6127 [BZ #13144]
6128 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6129 kernel in 64-bit binaries.
6130
5f4318d1
DM
61312011-09-01 David S. Miller <davem@davemloft.net>
6132
6133 * elf/elf.h (HWCAP_SPARC_*): Move to..
6134 * sysdeps/sparc/sysdep.h: this new file and add new values.
6135 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6136 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6137 _DL_HWCAP_COUNT to 24.
6138 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6139 entries.
6140 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6141 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6142 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6144 instead of magic constants.
6145 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6146
3ba57516
DM
61472011-08-31 David S. Miller <davem@davemloft.net>
6148
6149 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6151 Reimplement to do errno handling inline.
6152 (SYSCALL_ERROR_HANDLER): New macro.
6153 (__SYSCALL_STRING): Do not do errno handling in asm.
6154 (__CLONE_SYSCALL_STRING): Delete.
6155 (__INTERNAL_SYSCALL_STRING): Delete.
6156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6157 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6158 (PSEUDO): Reimplement to do errno handling inline.
6159 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6160 (SYSCALL_ERROR_HANDLER): New macro.
6161 (__SYSCALL_STRING): Do not do errno handling in asm.
6162 (__CLONE_SYSCALL_STRING): Delete.
6163 (__INTERNAL_SYSCALL_STRING): Delete.
6164 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6165 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6166 i386.
6167 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6168 (inline_syscall*): Add 'err' argument.
6169 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6170 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6171 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6172 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6173
6174 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6175 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6176
2bc17433
AS
61772011-08-30 Andreas Schwab <schwab@redhat.com>
6178
6179 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6180
fbeb5f4d
JO
61812011-08-29 Jiri Olsa <jolsa@redhat.com>
6182
6183 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6184 directive.
6185
ad69cc26
DM
61862011-08-24 David S. Miller <davem@davemloft.net>
6187
6188 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6189
39dd69df
AS
61902011-08-24 Andreas Schwab <schwab@redhat.com>
6191
6192 * elf/Makefile: Add rules to build and run unload8 test.
6193 * elf/unload8.c: New file.
6194 * elf/unload8mod1.c: New file.
6195 * elf/unload8mod1x.c: New file.
6196 * elf/unload8mod2.c: New file.
6197 * elf/unload8mod3.c: New file.
6198
6199 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6200 it wasn't used.
6201
2c0b250a
DM
62022011-08-23 David S. Miller <davem@davemloft.net>
6203
6204 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6205 subtract stack bias.
6206 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6207 %sp not %fp in calculations.
6208 (_JMPBUF_UNWINDS_ADJ): Likewise.
6209
22044b48
DM
6210 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6211 (aio_suspend): Call it to force an exception region around the
6212 AIO_MISC_WAIT() invocation.
6213
2cae4995
AS
62142011-08-23 Andreas Schwab <schwab@redhat.com>
6215
6216 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6217 backslash.
6218
873a772e
AJ
62192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6220
6221 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6222 protection macro.
6223 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6224 and <dl-machine.h>.
6225 (Elf64_FuncDesc): Remove.
6226
25ad0df1
DM
62272011-08-22 David S. Miller <davem@davemloft.net>
6228
6229 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6230 sigaltstack check, add missing cfi directives.
6231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6232 missing cfi directives, and sigaltstack handling.
6233
e888bcbe
AS
62342011-08-16 Andreas Schwab <schwab@redhat.com>
6235
6236 [BZ #11724]
6237 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6238 object is seen twice.
6239 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6240
6241 * elf/Makefile (distribute): Add tst-initorder2.c.
6242 (tests): Add tst-initorder2.
6243 (modules-names): Add tst-initorder2a tst-initorder2b
6244 tst-initorder2c tst-initorder2d. Add rules to build them.
6245 ($(objpfx)tst-initorder2.out): New rule.
6246 * elf/tst-initorder2.c: New file.
6247 * elf/tst-initorder2.exp: New file.
6248
87162f46
AS
62492011-08-22 Andreas Schwab <schwab@redhat.com>
6250
70538b7f
AS
6251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6252
f55ffe58
AS
6253 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6254 dependencies back to end of function.
6255
87162f46
AS
6256 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6257 $(elfobjdir)/ld.so.
6258
91b392a4
UD
62592011-08-21 Ulrich Drepper <drepper@gmail.com>
6260
6261 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6262 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6264 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6265 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6266 of __vdso_gettimeofday.
6267 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6268 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6269 attribute_hidden.
6270 (_libc_vdso_platform_setup): Remove initialization of
6271 __vdso_gettimeofday and __vdso_time.
6272
5c43483f
UD
62732011-08-20 Ulrich Drepper <drepper@gmail.com>
6274
775a77e7
UD
6275 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6276 and fgetc_unlocked.
6277 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6278 getc_unlocked.
89f447ed 6279
49c74ba9
UD
6280 * elf/dl-open.c (add_to_global): Report additions to the global scope
6281 for LD_DEBUG=scopes.
6282 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6283 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6284
5c43483f
UD
6285 [BZ #13114]
6286 * stdio-common/Makefile (tests): Add bug24.
6287 * stdio-common/bug24.c: New file.
6288
a101b025
AJ
62892011-08-19 Andreas Jaeger <aj@suse.de>
6290
6291 [BZ #13114]
6292 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6293 non-existant file when using close-on-exec mode.
6294
c88f1766
UD
62952011-08-20 Ulrich Drepper <drepper@gmail.com>
6296
0276a718
UD
6297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6298 the very first instruction.
6299
c88f1766
UD
6300 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6301 the CFI state in the end.
6302 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6303 inclusion of dl-trampoline.h.
6304 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6305
51ccffa0
AS
63062011-08-19 Andreas Schwab <schwab@redhat.com>
6307
94d7165f
AS
6308 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6309 expectations for long double.
6310
51ccffa0
AS
6311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6312 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6313
fd708658 63142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6315
6316 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6317 artificual limit depends upon the system page size.
6318
44f0a71e
UD
63192011-08-17 Ulrich Drepper <drepper@gmail.com>
6320
6321 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6322 * resolv/Makefile: Define CFLAGS-libresolv.
6323
8de79a24
AS
63242011-08-17 Andreas Schwab <schwab@redhat.com>
6325
6326 * nss/makedb.c (compute_tables): Make variables used in nested
6327 function static.
6328
27724598
UD
63292011-08-17 Ulrich Drepper <drepper@gmail.com>
6330
c5305d88
UD
6331 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6332 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6333 if buffer was too small.
6334
27724598
UD
6335 * elf/pldd.c (main): Attach to all threads in the process.
6336 Rewrite /proc handling to use *at functions.
6337
076fe015
UD
63382011-08-16 Ulrich Drepper <drepper@gmail.com>
6339
174baab3
UD
6340 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6341 specifies first scope to show.
6342 (dl_open_worker): Update callers. Move printing scope of new
6343 object to before the relocation.
44f0a71e 6344 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6345 * sysdeps/generic/ldsodefs.h: Update declaration.
6346
076fe015
UD
6347 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6348 string for the scope number.
6349
a60df2c3
UD
63502011-08-14 Ulrich Drepper <drepper@gmail.com>
6351
6352 * nscd/servicescache.c (cache_addserv): Make sure written is always
6353 initialized.
6354
5e4287d1
RM
63552011-08-14 Roland McGrath <roland@hack.frob.com>
6356
85ae0589
RM
6357 * sysdeps/i386/i486/bits/atomic.h
6358 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6359 statement expression, so as to suppress "set but not used" warning.
6360 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6361
69f63097
RM
6362 * string/strncat.c (STRNCAT): Use prototype definition.
6363
675456ef
RM
6364 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6365 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6366 -Iprograms here.
6367 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6368 (localedef-modules): Add localedef.
6369 (locale-modules): Add locale.
6370
5e4287d1
RM
6371 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6372 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6373 to avoid a warning.
6374
9c96ff23
DM
63752011-08-14 David S. Miller <davem@davemloft.net>
6376
6377 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6378 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6379
f9ddf089
UD
63802011-08-13 Ulrich Drepper <drepper@gmail.com>
6381
44f0a71e 6382 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6383 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6384 * elf/rtld.c (dl_main): Set l_name of vDSO.
6385 Call _dl_show_scope when DL_DEBUG_SCOPES.
6386 (process_dl_debug): Recognize scopes flag and also set it for all.
6387 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6388 Declare _dl_show_scope.
6389
1dc27704
UD
6390 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6391 (do_dlopen): Pass caller_dlopen to dl_open.
6392 (__libc_dlopen_mode): Initialize caller_dlopen.
6393
f9ddf089
UD
6394 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6395 of libc. Make tolower call locale-independent. Optimize a bit by
6396 using isdigit instead of isalnum.
6397 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6398
9ac533d3
UD
63992011-08-12 Ulrich Drepper <drepper@gmail.com>
6400
6401 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6402 was a dependency or dynamically loaded.
6403
89edf2e9
UD
64042011-08-11 Ulrich Drepper <drepper@gmail.com>
6405
8e999d29
UD
6406 * intl/l10nflist.c: Allow architecture-specific pop function.
6407 * sysdeps/x86_64/l10nflist.c: New file.
6408
89edf2e9
UD
6409 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6410 classification.
6411
14d96785
AS
64122011-08-10 Andreas Schwab <schwab@redhat.com>
6413
6414 * include/dirent.h: Add libc_hidden_proto for scandirat and
6415 scandirat64. Don't declare __scandirat64.
6416 * dirent/scandirat.c: Add libc_hidden_def.
6417 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6418 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6419
6761ac04
DM
64202011-08-10 David S. Miller <davem@davemloft.net>
6421
6422 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6423 enum.
6424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6427
c55fbd1e
UD
64282011-08-09 Ulrich Drepper <drepper@gmail.com>
6429
6430 * Versions.def [libc]: Add GLIBC_2.15.
6431 * dirent/Makefile (routines): Add scandirat and scandirat64.
6432 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6433 GLIBC_2.15.
6434 * dirent/dirent.h: Declare scandirat and scandirat64.
6435 * dirent/scandirat.c: New file.
6436 * dirent/scandirat64.c: New file.
6437 * sysdeps/wordsize-64/scandirat.c: New file.
6438 * sysdeps/wordsize-64/scandirat64.c: New file.
6439 * dirent/opendir.c: Define opendirat.
6440 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6441 using scandirat.
6442 * dirent/scandir64.c: Adjust for scandir.c change.
6443 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6444 __scandirat64, and __scandir_cancel_handler.
6445 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6446 additional parameter and use openat instead of open (outside of ld.so).
6447 Add new __opendir as wrapper around __opendirat.
6448 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6449 here without requiring old scandirat implementation.
6450
879165f2
UD
64512011-08-08 Ulrich Drepper <drepper@gmail.com>
6452
6453 * dirent/scandir.c (cancel_handler): Renamed to
6454 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6455 defined. Adjust users.
6456 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6457 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6458
cb7e923b
UD
64592011-08-04 Ulrich Drepper <drepper@gmail.com>
6460
16292edd
UD
6461 * string/test-string.h (IMPL): Use __STRING to expand name and then
6462 stringify it.
6463
cb7e923b
UD
6464 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6465 of cleanups.
6466
cff82933
LD
64672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6468
6469 * string/Makefile: Update.
6470 (strop-tests): Append strncat.
6471 * string/test-wcscmp.c: New file.
6472 New comprehensive test for wcscmp.
6473 * string/test-strcmp.c: Update.
6474 (WIDE): New define.
6475
9be9bfcc
AS
64762011-07-22 Andreas Schwab <schwab@redhat.com>
6477
6478 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6479 line.
6480
2e96f1c7
AS
64812011-07-26 Andreas Schwab <schwab@redhat.com>
6482
6483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6484 encoding to ACE if AI_IDN.
6485
85188888
JJ
64862011-08-01 Jakub Jelinek <jakub@redhat.com>
6487
6488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6489 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6490
5fa16e9b
LD
64912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6492
6493 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6494 Fix overflow bug in strncat.
6495 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6496
6497 * string/test-strncat.c: Update.
6498 Add new tests for checking overflow bugs.
6499
65002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6501
6502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6503 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6504 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6505 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6506 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6507 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6508 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6509 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6510 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6511
6512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6513 (USE_AS_STRCAT): Define.
6514 Add strcat and strncat support.
6515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6516
8c1a459f
AS
65172011-07-25 Andreas Schwab <schwab@redhat.com>
6518
6519 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6520 __n bigger than INT_MAX+1.
6521 (__strncmp_g): Likewise.
6522
bba33c28
UD
65232011-07-23 Ulrich Drepper <drepper@gmail.com>
6524
798be72d
UD
6525 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6526 * libio/stido.h: Likewise.
6527
8accd4dc
UD
6528 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6529 (AF_NFC): Define.
6530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6531 (AF_NFC): Define.
6532
cbff0d96
UD
6533 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6534 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6536 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6537 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6538
9191c04a
UD
6539 [BZ #13021]
6540 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6541 installed.
6542
bba33c28
UD
6543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6544 typo.
6545 (_dl_x86_64_save_sse): Likewise.
6546
90f139dd
UD
65472011-07-22 Ulrich Drepper <drepper@gmail.com>
6548
1aae088a
UD
6549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6550 OSXSAVE.
6551 (_dl_x86_64_save_sse): Likewise.
6552
8e2045f5
UD
6553 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6554
90f139dd
UD
6555 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6556
1d002f25
AS
65572011-07-21 Andreas Schwab <schwab@redhat.com>
6558
6559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6560 change.
6561 (_dl_x86_64_save_sse): Use correct AVX check.
6562
21137f89
UD
65632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6564
6565 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6566 bug in strncpy/strncat.
6567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6568
a65c0b7a
UD
65692011-07-21 Ulrich Drepper <drepper@gmail.com>
6570
6571 * string/tester.c (test_strcat): Add tests for different alignments
6572 of source and destination.
6573 (test_strncat): Likewise.
6574
6986b98a
UD
65752011-07-20 Ulrich Drepper <drepper@gmail.com>
6576
90bb2039
UD
6577 [BZ #12852]
6578 * posix/glob.c (glob): Check passed in values before using them in
6579 expressions to avoid some overflows.
6580 (glob_in_dir): Likewise.
6581
5644ef54
UD
6582 [BZ #13007]
6583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6584 check for AVX enablement so that we don't crash with old kernels and
6585 new hardware.
6586 * elf/tst-audit4.c: Add same checks here.
6587 * elf/tst-audit6.c: Likewise.
6588
6589 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6590
bfc9dc9b
AS
65912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6592
6593 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6594
702e64bb
UD
65952011-07-20 Ulrich Drepper <drepper@gmail.com>
6596
6597 * po/cs.po: Update from translation team.
6598 * po/bg.po: Likewise.
6599
295e904f
MP
66002011-07-12 Marek Polacek <mpolacek@redhat.com>
6601
6602 * misc/sys/cdefs.h: Add support for const attribute.
6603 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6604 to gnu_dev_{major,minor,makedev} functions.
6605
3ff94596
MP
66062011-07-20 Marek Polacek <mpolacek@redhat.com>
6607
6608 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6609
28b59fca
AS
66102011-07-20 Andreas Schwab <schwab@redhat.com>
6611
6612 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6613 strlen results.
6614
19df733e
AK
66152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6616
6617 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6618 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6619 register in order to avoid conflicts with the soft frame pointer
6620 being held in r11 when necessary.
6621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6622 (INTERNAL_VSYSCALL_NCS): Likewise.
6623
c8835729
MP
66242011-07-14 Marek Polacek <mpolacek@redhat.com>
6625
6626 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6627 * elf/dl-fini.c (_dl_fini): Adjust caller.
6628 * elf/dl-close.c (_dl_close_worker): Likewise.
6629 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6630
b902330c
MP
66312011-07-15 Marek Polacek <mpolacek@redhat.com>
6632
8991e135
MP
6633 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6634 "aux_cache->nlibs < 0".
6635
b902330c
MP
6636 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6637 in the reload-count case.
6638
99710781
LD
66392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6640
6641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6642 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6643 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6644 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6645 * sysdeps/x86_64/multiarch/strcat.S: New file.
6646 * sysdeps/x86_64/multiarch/strncat.S: New file.
6647 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6648 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6649 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6650 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6651 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6652 (USE_AS_STRCAT): Define.
6653 Add strcat and strncat support.
6654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6655 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6656 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6657 * string/strncat.c: Update.
6658 (USE_AS_STRNCAT): Define.
6659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6660 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6661 and i7.
6662 * sysdeps/x86_64/multiarch/init-arch.h
6663 (bit_Prefer_PMINUB_for_stringop): New.
6664 (index_Prefer_PMINUB_for_stringop): Likewise.
6665 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6666 bit_Prefer_PMINUB_for_stringop.
6667
7dc6bd90
UD
66682011-07-19 Ulrich Drepper <drepper@gmail.com>
6669
6670 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6671 buffer64.
6672 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6673 of casting of buffer.
6674 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6675 buffer32 and buffer64.
6676 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6677 writes instead of casting of buffer.
6678 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6679 buffer32.
6680 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6681 casting of buffer.
6682
e0e72284
AS
66832011-07-19 Andreas Schwab <schwab@redhat.com>
6684
6685 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6686
feb1eb0b
UD
66872011-07-19 Ulrich Drepper <drepper@gmail.com>
6688
6689 * nscd/nscd.c (termination_handler): Don't do anything for a database
6690 if it has not yet been initialized.
6691
298711ff
UD
66922011-07-18 Ulrich Drepper <drepper@gmail.com>
6693
6694 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6695
66962011-07-15 Marek Polacek <mpolacek@redhat.com>
6697
6698 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6699
f9d68389
UD
67002011-07-18 Ulrich Drepper <drepper@gmail.com>
6701
6702 * po/nl.po: Update from translation team.
6703 * po/sv.po: Likewise.
6704
db290cf5
RM
67052011-07-16 Roland McGrath <roland@hack.frob.com>
6706
6707 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6708 now disallowed by GCC.
5c550700 6709
fd5e21c7
RM
6710 * configure.in (use-default-link): Default to yes if a test -shared
6711 link meets our qualifications.
6712 * configure: Regenerated.
6713
5c550700
RM
6714 * config.make.in (output-format): New variable.
6715 * configure.in: Check for ld --print-output-format support.
6716 * configure: Regenerated.
6717 * Makerules ($(common-objpfx)format.lds)
6718 [$(output-format) != unknown]: Just use $(output-format),
6719 instead of the linker-script munging.
6720
9fa2c032
RM
67212011-07-14 Roland McGrath <roland@hack.frob.com>
6722
a6928d51
RM
6723 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6724 of $(common-objpfx)shlib.lds.
6725 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6726
661607b3
RM
6727 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6728 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6729
9fa2c032
RM
6730 * configure.in (-z relro check): Adjust test code to add a large
6731 writable data section after it.
6732 * configure: Regenerated.
6733
defe9061
RM
67342011-07-11 Roland McGrath <roland@hack.frob.com>
6735
6736 * configure.in (-z relro check): Fix test code to make the variable
6737 truly const.
6738 * configure: Regenerated.
6739
319b9ad4
UD
67402011-07-11 Ulrich Drepper <drepper@gmail.com>
6741
6742 * nscd/nscd.h (struct traced_file): Define.
6743 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6744 elements. Add traced_files.
6745 (inotify_fd): Declare.
6746 (register_traced_file): Declare.
6747 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6748 (inotify_fd): Export.
6749 (resolv_conf_descr): Remove.
6750 (nscd_init): Move inotify descriptor creation to main.
6751 Don't register files for notification here.
6752 (register_traced_file): New function.
6753 (invalidate_cache): Don't use reset_res to determine whether to call
6754 res_init, go through the list of registered files.
6755 (main_loop_poll): The inotify descriptors are now stored in the
6756 structures for the traced files.
6757 (main_loop_epoll): Likewise
6758 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6759 to __nss_disable_nscd.
6760 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6761 for a database anymore. Check the records for all the registered
6762 files instead.
6763 * nss/Makefile (libnss_files-routines): Add files-init.
6764 (libnss_db-routines): Add db-init.
6765 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6766 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6767 * nss/nss_db/db-init.c: New file.
6768 * nss/nss_files/files-init.c: New file.
6769 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6770 __nss_lookup_function.
6771 (__nss_lookup_function): Call nss_load_library.
6772 (nss_load_all_libraries): New function.
6773 (__nss_disable_nscd): Take parameter with callback function for files
6774 to register. Set is_nscd. Load all the DSOs for the NSS modules
6775 used for the cached services.
6776 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6777 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6778 options for features to all the files in nscd.
6779
6780 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6781
23bee3e8
RM
67822011-07-10 Roland McGrath <roland@hack.frob.com>
6783
6784 * csu/elf-init.c (__libc_csu_init): Comment typo.
6785
46a5b7f0
UD
67862011-07-09 Ulrich Drepper <drepper@gmail.com>
6787
6788 * po/pl.po: Update from translation team.
6789 * po/ja.po: Likewise.
6790 * po/ru.po: Likewise.
6791 * po/ko.po: Likewise.
6792 * po/fr.po: Likewise.
6793
d30cf5bb
RM
67942011-07-09 Roland McGrath <roland@hack.frob.com>
6795
113ddea4
RM
6796 * configure.in (.ctors/.dtors header and trailer check):
6797 Use an empirical test on a built program.
6798 * configure: Regenerated.
6799
574920b4
RM
6800 * configure.in (-z relro check): Use an empirical test on a built DSO.
6801 Detect, but do not require, on ia64.
6802 * configure: Regenerated.
6803
d30cf5bb
RM
6804 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6805 Update tests that use readelf to use $READELF instead.
6806 * configure: Regenerated.
6807
8538fdb3
UD
68082011-07-08 Ulrich Drepper <drepper@gmail.com>
6809
6810 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6811 if the result is not used.
6812
04d08991
AJ
68132011-07-05 Andreas Jaeger <aj@suse.de>
6814
6815 [BZ#9696]
6816 * stdlib/tst-strtod.c: Add testcase.
6817
de283087
AD
68182011-07-07 Ulrich Drepper <drepper@gmail.com>
6819
4e5f31c8 6820 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6821 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6822 The latter has a higher limit. Take additional parameter to pass to
6823 the new function.
6824 (__pathconf): Pass file to __statfs_link_max.
6825 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6826 __statfs_link_max.
6827 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6828 __statfs_link_max.
6829
de283087
AD
6830 [BZ #12868]
6831 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6833 Handle Lustre.
6834 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6835 (__statfs_filesize_max): Likewise.
6836 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6837
c75fa153
AJ
68382011-07-05 Andreas Jaeger <aj@suse.de>
6839
6840 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6841
1a544854
UD
68422011-07-06 Marek Polacek <mpolacek@redhat.com>
6843
6844 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6845 `status' variable.
6846 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6847 Likewise.
6848
6f0eec67
UD
68492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6850
6851 * Makefile (strop-tests): Add strncat.
6852 * string/test-strncat.c: New file.
6853
aae30307
UD
68542011-06-30 Marek Polacek <mpolacek@redhat.com>
6855
6856 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6857
c0cfb5eb
UD
68582011-06-21 Andreas Jaeger <aj@suse.de>
6859
6860 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6861 Copy rule from iconvdata/Makefile.
6862
01636b21
UD
68632011-07-06 Ulrich Drepper <drepper@gmail.com>
6864
6865 [BZ #12922]
6866 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6867 but no long options are defined, just return 'W'.
6868
9895c8bc
UD
68692011-06-22 Marek Polacek <mpolacek@redhat.com>
6870
6871 [BZ #9696]
6872 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6873
5d4cf042
UD
68742011-07-06 Ulrich Drepper <drepper@gmail.com>
6875
6876 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6877 netgroups to read.
960e5535 6878 (innetgr): Likewise.
5d4cf042 6879
751eb97e
RM
68802011-07-05 Roland McGrath <roland@hack.frob.com>
6881
6882 * config.make.in (install_root): Default to $(DESTDIR).
6883
f15f1e45
UD
68842011-07-05 Ulrich Drepper <drepper@gmail.com>
6885
6886 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6887
4e34ac6a
RM
68882011-07-02 Roland McGrath <roland@hack.frob.com>
6889
5e9b6af4
RM
6890 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6891
84f9ea0f
RM
6892 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6893 containing directory rather than embedding absolute directory names.
6894
ea5ee9f7
RM
6895 * scripts/check-local-headers.sh: Rewritten using awk.
6896 Match by word, not by line. Print error messages for matches.
6897 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6898
1b74661a
RM
6899 * Makerules [shlib-lds-flags empty]:
6900 ($(common-objpfx)libc_pic.opts): New target.
6901 ($(common-objpfx)libc_pic.os.clean): New target.
6902 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6903
6904 * config.make.in (OBJCOPY): New variable.
6905 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6906 * configure: Regenerated.
6907
f781ef40
RM
6908 * config.make.in (use-default-link): New variable.
6909 * configure.in (use_default_link): Grok --with-default-link to set it.
6910 * configure: Regenerated.
6911 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6912 (shlib-lds, shlib-lds-flags): Define to empty.
6913
2d4fa81e
RM
6914 * Makerules (shlib-lds): New variable.
6915 (shlib-lds-flags): New variable.
6916 (build-shlib, build-moduile, build-module-asneeded): Use it.
6917 ($(common-objpfx)libc.so): Use $(shlib-lds).
6918 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6919 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6920
31fffa6b
RM
6921 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6922 DT_FLAGS/DT_FLAGS_1 with zero flags.
6923
4e34ac6a
RM
6924 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6925 linker script munging.
6926
fcfc776b
UD
69272011-07-02 Ulrich Drepper <drepper@gmail.com>
6928
6929 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6930 as 128-bit value.
6931 * crypt/sha512.c (sha512_process_block): Perform total addition using
6932 128-bit if possible.
6933 (__sha512_finish_ctx): Likewise.
6934 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6935 as 64-bit value.
6936 * crypt/sha256.c (SWAP64): Define.
6937 (sha256_process_block): Perform total addition using 64-bit if
6938 possible.
6939 (__sha256_finish_ctx): Likewise.
6940
99231d9a
UD
69412011-07-01 Ulrich Drepper <drepper@gmail.com>
6942
6943 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6944 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6945 * nscd/hstcache.c (cache_addhst): Likewise.
6946 * nscd/grpcache.c (cache_addgr): Likewise.
6947 * nscd/aicache.c (addhstaiX): Likewise
6948 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6949
445b4a53
TK
69502011-07-01 Thorsten Kukuk <kukuk@suse.de>
6951
6952 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6954 * nscd/hstcache.c (cache_addhst): Likewise.
6955 * nscd/grpcache.c (cache_addgr): Likewise.
6956 * nscd/aicache.c (addhstaiX): Likewise
6957
6d4d8e8e
AS
69582011-07-01 Andreas Schwab <schwab@redhat.com>
6959
6960 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6961 domain only when needed.
6962
89f654c5
AS
69632011-06-30 Andreas Schwab <schwab@redhat.com>
6964
6965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6966 is always restored.
6967
cf3b23ff
UD
69682011-06-29 Ulrich Drepper <drepper@gmail.com>
6969
6970 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6971 are re-adding the entry.
6972 * nscd/servicescache.c (cache_addserv): Likewise.
6973
751626f9
AJ
69742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6975
6976 * sysdeps/generic/dl-irel.h: fix protection against multiple
6977 inclusions.
6978 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6979
9113ea1f
UD
69802011-06-28 Ulrich Drepper <drepper@gmail.com>
6981
5c0b8d90
UD
6982 [BZ #12935]
6983 * malloc/memusage.sh: Fix quoting in message.
6984 * debug/xtrace.sh: Likewise.
6985
9113ea1f
UD
6986 * configure.in: Remove support for --experimental-malloc option, make
6987 it the default.
6988 * config.make.in: Likewise.
6989 * malloc/Makefile: Likewise.
6990
a4172181
AS
69912011-06-27 Andreas Schwab <schwab@redhat.com>
6992
6993 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6994 two-byte characters.
6995
78a7eee7
RM
69962011-06-27 Roland McGrath <roland@hack.frob.com>
6997
62bede13
RM
6998 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6999 AC_CACHE_CHECK invocation.
7000 * configure: Regenerated.
7001
78a7eee7
RM
7002 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7003
5ce33a62
UD
70042011-06-27 Ulrich Drepper <drepper@gmail.com>
7005
034807a9
UD
7006 [BZ #12350]
7007 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7008 bit from old_res_options.
7009
4902da17
UD
7010 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7011
5ce33a62
UD
7012 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7013 value type for setfct.
7014
c2344f56
L
70152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7016
7017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7018 __gettimeofday instead of gettimeofday.
7019
68468076
UD
70202011-06-26 Ulrich Drepper <drepper@gmail.com>
7021
7022 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7023
acb0d739
L
70242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7025
7026 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7027
7028 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7029 info.
7030
8912479f
L
70312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7032
7033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7034 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7035 strcpy-sse2-unaligned strncpy-sse2-unaligned
7036 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7037 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7038 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7039 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7040 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7041 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7042 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7043 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7044 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7045 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7046 (STRCPY): Support SSE2 and SSSE3 versions.
7047
d5495a11
UD
70482011-06-24 Ulrich Drepper <drepper@gmail.com>
7049
7050 [BZ #12874]
7051 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7052 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7053 kernels which artificially limit size of requests.
7054
0b1cbaae
L
70552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7056
7057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7058 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7059 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7060 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7061 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7062 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7063 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7064 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7065 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7066 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7067 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7068 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7069 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7070 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7071 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7073 Enable unaligned load optimization for Intel Core i3, i5 and i7
7074 processors.
7075 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7076 Define.
7077 (index_Fast_Unaligned_Load): Define.
7078 (HAS_FAST_UNALIGNED_LOAD): Define.
7079
07f494a0
MP
70802011-06-23 Marek Polacek <mpolacek@redhat.com>
7081
7082 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7083
fa3fc0fe
UD
70842011-06-22 Ulrich Drepper <drepper@gmail.com>
7085
7086 [BZ #12907]
7087 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7088 until it is clear that the information is realy needed.
7089 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7090
e12df166
AS
70912011-06-22 Andreas Schwab <schwab@redhat.com>
7092
7093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7094
852eb34d
UD
70952011-06-22 Ulrich Drepper <drepper@gmail.com>
7096
84e2a551
UD
7097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7098 /sys/devices/system/cpu/online if it is usable.
7099
852eb34d
UD
7100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7101 reading the information from the /proc filesystem to once a second.
7102
6e502e19
UD
71032011-06-21 Andreas Jaeger <aj@suse.de>
7104
7105 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7106 NULL after inclusion of kernel headers.
7107
75d39ff2
UD
71082011-06-21 Ulrich Drepper <drepper@gmail.com>
7109
51f9aa6a
UD
7110 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7111 calls to internal_setent.
7112
c0244a9d
UD
7113 [BZ #12885]
7114 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7115 addresses using gethostbyname4_r ignore IPv4 addresses.
7116
c5e3c2ae
UD
7117 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7118 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7119
75d39ff2
UD
7120 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7121
42675c6f
DM
71222011-06-20 David S. Miller <davem@davemloft.net>
7123
7124 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7125 inclusions.
7126 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7127
7128 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7129 (elf_irel): Use it.
7130 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7131 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7132 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7133 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7134 * sysdeps/x86_64/dl-irel.h: Likewise.
7135
7136 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7137 * elf/dl-sym.c: Likewise.
7138
57912a71
UD
71392011-06-15 Ulrich Drepper <drepper@gmail.com>
7140
7141 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7142 need to dereference resplen2.
7143
ee22793d
AS
71442011-06-14 Andreas Schwab <schwab@redhat.com>
7145
7146 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7147
a9e836b0
UD
71482011-06-15 Ulrich Drepper <drepper@gmail.com>
7149
77fb9117
UD
7150 * Makeconfig: Define vardbdir and inst_vardbdir.
7151 * nss/Makefile: Add rules to install db-Makefile.
7152
40c1b22c
UD
7153 * nss/nss_db/db-XXX.c: Cleanup.
7154
9f2da732
UD
7155 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7156 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7157 GLIBC_PRIVATE.
7158 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7159 * nss/makedb.c: Implement -g option to specify that value strings
7160 are generated and should not be added to table iterated over for
7161 get*ent calls.
7162 * nss/nss_db/db-initgroups.c: New file.
7163
82e9a1f7
UD
7164 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7165 interface.
7166
c41af17e
UD
7167 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7168 (internal_getgrouplist): Adjust to name change.
7169 Update use_initgroups_entry if this is not the first call.
7170 * nss/databases.def: Add initgroups entry.
7171
a9e836b0
UD
7172 * nss/makedb.c (compute_tables): Check result of multiple hash table
7173 sizes to minimize maximum chain length.
7174
2666d441
UD
71752011-06-14 Ulrich Drepper <drepper@gmail.com>
7176
7177 * Versions.def: Add entry for libnss_db.
7178 * shlib-versions: Likewise.
7179 * nss/Makefile: Add rules to build libnss_db.
7180 * nss/Versions: Add libnss_db information. Organize libnss_files
7181 entries better.
7182 * nss/db-Makefile: Add gshadow support. Change rules for the new
7183 makedb progra. Some minor improvements to generate smaller files.
7184 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7185 here from...
7186 * nss/makedb.c: ...here.
7187 Improve database format to be smaller and require less memory at
7188 runtime.
7189 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7190 db anymore.
7191 * nss/nss_db/db-netgrp.c: Likewise.
7192 * nss/nss_db/db-open.c: Likewise.
7193 * nss/nss_files/flies-XXX.x: Adjust comments.
7194 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7195 * nss/nss_files/files-grp.c: Likewise.
7196 * nss/nss_files/files-hosts.c: Likewise.
7197 * nss/nss_files/files-network.c: Likewise.
7198 * nss/nss_files/files-proto.c: Likewise.
7199 * nss/nss_files/files-pwd.c: Likewise.
7200 * nss/nss_files/files-rpc.c: Likewise.
7201 * nss/nss_files/files-service.c: Likewise.
7202 * nss/nss_files/files-sgrp.c: Likewise.
7203 * nss/nss_files/files-spwd.c: Likewise.
7204 * nss/nss_db/db-alias.c: Removed.
7205 * nss/nss_db/dummy-db.h: Removed.
7206
9ee76b5a
UD
72072011-06-02 Ulrich Drepper <drepper@gmail.com>
7208
7209 * nss/makedb.c: Rewritten to not use database library.
7210 * nss/Makefile: Update to build new makedb program.
7211
c71ca1f8
AJ
72122011-06-14 Andreas Jaeger <aj@suse.de>
7213
7214 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7215 memset declaration.
7216
3154bfb8
UD
72172011-06-10 Andreas Schwab <schwab@redhat.com>
7218
7219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7220 tmpbuf.
7221
b350afab
RM
72222011-06-10 Roland McGrath <roland@hack.frob.com>
7223
decd4e50
RM
7224 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7225 * elf/Makefile ($(objpfx)ld.so): Likewise.
7226
5615eaf2
RM
7227 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7228 Don't list ld.so twice in dependencies.
7229
7230 * posix/bug-regex31.c: Include <stdlib.h>.
7231
7232 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7233
7234 * nis/nss_compat/compat-spwd.c
7235 (getspent_next_nss_netgr): Remove unused variable.
7236 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7237
7238 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7239 nonmembers" output to use the right array.
7240
7241 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7242
7243 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7244
7245 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7246 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7247 * catgets/gencat.c (read_input_file): Likewise.
7248 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7249
7250 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7251 variable definition inside #if's controlling its use.
7252
7253 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7254
7255 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7256
7257 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7258
7259 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7260 unreachable code.
7261
7262 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7263
b68e08db
RM
7264 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7265 * configure: Regenerated.
7266
b350afab
RM
7267 * Makerules: Revert last change.
7268 * elf/Makefile: Likewise.
7269
28368601
RM
72702011-06-09 Roland McGrath <roland@hack.frob.com>
7271
7272 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7273 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7274 (reloc-link): Likewise.
7275
11988f8f
UD
72762011-06-09 Ulrich Drepper <drepper@gmail.com>
7277
7278 * elf/Makefile: Add rules to build pldd.
7279 * elf/pldd.c: New file.
7280 * elf/pldd-xx.c: New file.
7281
e80fab37
UD
72822011-06-07 Ulrich Drepper <drepper@gmail.com>
7283
7284 * version.h: Update for 2.15 development version.
7285
9b849836
DM
72862011-06-07 David S. Miller <davem@davemloft.net>
7287
7288 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7289 ifuncs.
7290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7291 elf_machine_lazy_rel): Likewise.
7292 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7293 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7294 elf_machine_lazy_rel): Likewise.
7295 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7296 dl_hwcap via passed in argument.
7297 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7298 Likewise.
7299
5a31b283
AK
73002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7301
7302 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7303
069e52f8
RM
73042011-06-06 Roland McGrath <roland@hack.frob.com>
7305
7306 [BZ #12849]
7307 * manual/fdl-1.1.texi: New file, verbatim from:
7308 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7309 * manual/lgpl-2.1.texi: New file, verbatim from:
7310 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7311 * manual/Makefile (licenses): New variable, list those new file names.
7312 (texis): Use it.
7313 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7314
7315 * manual/fdl.texi: File removed.
7316 * manual/lesser.texi: File removed.
7317 * manual/libc.texinfo (Copying, Documentation License):
7318 Use new @include file names, put @appendix directive before @include.
7319
f16846a5
JJ
73202011-06-04 Jakub Jelinek <jakub@redhat.com>
7321
7322 [BZ #12841]
7323 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7324 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7325 (mq_open): Add __NTH.
7326
3d29045b
L
73272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7328
7329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7330 Assume Intel Core i3/i5/i7 processor if AVX is available.
7331
8c297311
UD
73322011-05-31 Ulrich Drepper <drepper@gmail.com>
7333
7334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7335 typo.
7336
c8fc0c91
UD
73372011-05-31 Andreas Schwab <schwab@redhat.com>
7338
7339 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7340 memory. Use alloca_account. Fix memory leak when retrying.
7341
5b27a807
UD
73422011-05-31 Ulrich Drepper <drepper@gmail.com>
7343
356f8bc6
UD
7344 * version.h (RELEASE): Bump for 2.14 release.
7345 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7346
5b27a807
UD
7347 * config.make.in (RANLIB): Remove entry.
7348
01f16ab0
UD
73492011-05-30 Ulrich Drepper <drepper@gmail.com>
7350
41fce8bd
UD
7351 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7352 (libc.pot): Work around missing support for .ksh extension in xgettext.
7353
4769ae77
UD
7354 [BZ #12684]
7355 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7356 if both request failed.
7357 (send_dg): In case of server errors clear resplen or *resplen2.
7358
6b1e7d19
UD
7359 [BZ #12454]
7360 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7361 when there are multiple maps.
7362 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7363 (_dl_fini): Remove test here.
7364
01f16ab0
UD
7365 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7366
b1ebd700
UD
73672011-05-29 Ulrich Drepper <drepper@gmail.com>
7368
7ae22829
UD
7369 [BZ #12350]
7370 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7371 bit from old_res_options.
7372 (gaih_inet): Likewise.
7373
553149f6 7374 [BZ #11099]
18a84741 7375 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7376 as signed.
7377
652ffab1
UD
7378 * resolv/res_init.c (res_setoptions): Make the code more compact.
7379
16985fd0
UD
7380 [BZ #11558]
7381 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7382 set RES_USEVC.
7383
0464f746
UD
7384 [BZ #11634]
7385 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7386
7d17596c
UD
7387 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7388
cf6bbbd7
UD
7389 [BZ #11781]
7390 * malloc/malloc.h: Declare malloc hook variables as volatile.
7391
13f1ab36
UD
7392 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7393 in last patch.
7394
b1ebd700
UD
7395 [BZ #11799]
7396 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7397 raise in the comment.
80e2212d
UD
7398 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7400 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7401
ce67228d
UD
74022011-05-28 Ulrich Drepper <drepper@gmail.com>
7403
8887a920
UD
7404 [BZ #12811]
7405 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7406 grow the buffers more if it already has to be sufficient.
7407 (build_wcs_upper_buffer): Likewise.
7408 * posix/regexec.c (check_matching): Likewise.
7409 (clean_state_log_if_needed): Likewise.
7410 (extend_buffers): Don't enlarge buffers beyond size of the input
7411 buffer.
7412 Patches mostly by Emil Wojak <emil@wojak.eu>.
7413 * posix/bug-regex32.c: New file.
7414 * posix/Makefile (tests): Add bug-regex32.
7415
4f031072
UD
7416 * locale/findlocale.c (_nl_find_locale): Return right away if
7417 _nl_explode_name failed.
7418 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7419
d0478f0c
UD
7420 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7421
de81b246
UD
7422 * debug/xtrace.sh: Unify messages.
7423 * malloc/memusage.sh: Likewise.
7424
c738465a
UD
7425 [BZ #12813]
7426 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7427 time symbol from vDSO. Substitute with vsyscall if not available.
7428 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7429 __vdso_time.
7430
f1f929d7
UD
7431 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7432 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7433 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7434 Add sendmmsg and internal_sendmmsg.
7435 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7436 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7437 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7438
ce67228d
UD
7439 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7440 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7441 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7442
e57420c6
UD
74432011-05-27 Ulrich Drepper <drepper@gmail.com>
7444
a8509ca5
UD
7445 [BZ #12813]
7446 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7447 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7448 available.
7449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7450 __vdso_getcpu.
7451
e57420c6
UD
7452 [BZ #12814]
7453 * iconvdata/Makefile (tests): Add bug-iconv9.
7454 * iconvdata/bug-iconv9.c: New file.
7455
4d07db15
AS
74562011-05-27 Andreas Schwab <schwab@redhat.com>
7457
7458 [BZ #12814]
7459 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7460
ea486f69
JJ
74612011-05-25 Jakub Jelinek <jakub@redhat.com>
7462
7463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7464 (struct user_regs_struct): Change intcs field back to cs.
7465
6f038433
UD
74662011-05-25 Ulrich Drepper <drepper@gmail.com>
7467
7468 * po/ja.po: Update from translation team.
7469
67f86a25
UD
74702011-05-23 Ulrich Drepper <drepper@gmail.com>
7471
7472 [BZ #12795]
7473 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7474 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7475
def7fbd6
AS
74762011-05-20 Andreas Schwab <schwab@redhat.com>
7477
7478 * stdlib/longlong.h: Update from GCC.
7479
f50ef8f1
AS
74802011-05-23 Andreas Schwab <schwab@redhat.com>
7481
7482 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7483 parameter name.
7484 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7485 Add parameter name.
7486 (__sysconf): Pass it down.
7487
de7ce8f1
UD
74882011-05-22 Ulrich Drepper <drepper@gmail.com>
7489
f2962a71
UD
7490 [BZ #12671]
7491 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7492 some situations.
7493 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7494 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7495 add in in __libc_use_alloca calls. Adjust callers.
7496 (glob): Use malloc in some situations.
7497
de7ce8f1
UD
7498 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7499 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7500 pltexit.
7501
aec84f53
UD
75022011-05-21 Ulrich Drepper <drepper@gmail.com>
7503
05bb4a68
UD
7504 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7505 and CLOCK_BOOTTIME_ALARM.
7506
7ea72f99
UD
7507 [BZ #12782]
7508 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7509 is returned.
7510
7e4afad5
UD
7511 * string/_strerror.c (__strerror_r): Print negative errors as signed
7512 numbers.
7513
8e211fec
UD
7514 [BZ #12777]
7515 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7516 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7517 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7518
f7d82dc9
UD
7519 * configure.in: Fix typo in redirection and correct removal of test
7520 files in two cases.
7521
cc9e536d
UD
7522 [BZ #12788]
7523 * locale/setlocale.c (new_composite_name): Fix test to check for
7524 identical name of all categories.
7525
aec84f53
UD
7526 [BZ #12792]
7527 * libio/filedoalloc.c (local_isatty): New function.
7528 (_IO_file_doallocate): Use local_isatty.
7529 * stdio-common/perror.c (perror): In case a new stream is used
7530 forward the stream error.
7531 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7532 error flag.
7533
78e64fdc
RT
75342011-05-20 Ulrich Drepper <drepper@gmail.com>
7535
34a9094f
UD
7536 [BZ #11869]
7537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7538 alloca.
7539 * include/alloca.h (extend_alloca_account): Define.
7540
78e64fdc
RT
7541 [BZ #11857]
7542 * posix/regex.h: Fix comments with documentation of user-accessible
7543 fields after compilation and describe correct free'ing of pattern
7544 after re_compile_pattern.
7545 Patch by Reuben Thomas <rrt@sc3d.org>.
7546
457bddfc
RA
75472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7548
7549 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7550 and -mno-altivec to prevent the compiler from using Altivec and/or
7551 VSX instructions when the corresponding registers are not available.
7552
a4527b51
AS
75532011-05-19 Andreas Schwab <schwab@redhat.com>
7554
7555 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7556
ed690b2f
UD
75572011-05-19 Ulrich Drepper <drepper@gmail.com>
7558
7559 * libio/freopen.c (freopen): Use __dup2, not dup2.
7560 * libio/freopen64.c (freopen64): Likewise.
7561
8db73634
L
75622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7563
7564 [BZ #12775]
7565 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7566 * math/Makefile (tests): Add test-powl.
7567 (CFLAGS-test-powl.c): Define.
7568 * math/test-powl.c: New file.
7569
0a197a9d
L
75702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7571
7572 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7573
ee30c380
UD
75742011-05-17 Ulrich Drepper <drepper@gmail.com>
7575
7576 [BZ #11837]
7577 * iconvdata/gb18030.c: Update to GB18020-2005.
7578
6ce75379
UD
75792011-05-16 Ulrich Drepper <drepper@gmail.com>
7580
a4b89fd8
AR
7581 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7582 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7583 Patch by Aharon Robbins <arnold@skeeve.com>.
7584
ea389b12
UD
7585 [BZ #11892]
7586 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7587 on the stack.
7588
68a3f91f
UD
7589 [BZ #11895]
7590 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7591 through underflows.
7592
15cc7dd1
UD
7593 [BZ #12766]
7594 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7595 point to strings before performing equality test for error_one_per_line
7596 mode.
7597
f3799213
UD
7598 [BZ #11697]
7599 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7600
d79a9c94
UD
7601 [BZ #11820]
7602 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7603 (struct user_fpregs_struct): Avoid __uint*_t types.
7604
56e5eb46
UD
7605 [BZ #6420]
7606 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7607 symbol info. Use it instead of calling _dl_addr locally.
7608 (lock_and_info): New function.
7609 (tr_freehook): Call lock_and_info and pass symbol info as additional
7610 parameter to tr_where.
7611 (tr_mallochook): Likewise.
7612 (tr_reallochook): Likewise.
7613 (tr_memalignhook): Likewise.
7614
6ce75379
UD
7615 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7616 used and couldn't be at all thread-safe.
7617
f8a3b5bf
UD
76182011-05-15 Ulrich Drepper <drepper@gmail.com>
7619
94b7cc37
UD
7620 * libio/freopen.c (freopen): Don't close old file descriptor
7621 before the new one is opened. Instead dup the new file descriptor
7622 to the old one after the new stream is created.
7623 * libio/freopen64.c (freopen64): Likewise.
7624 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7625 * libio/fileops.c (_IO_new_file_close_it): Handle new
7626 _IO_FLAGS2_NOCLOSE flag.
7627 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7628 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7629 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7630 _IO_FLAGS2_NOCLOSE flag.
7631 * include/unistd.h: Add hidden_proto for dup3.
7632 Define __have_dup3.
7633 * io/dup3.c: Define hidden symbol.
7634 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7635
bd25564e
UD
7636 [BZ #7101]
7637 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7638 when an incomplete long option is used.
7639 * posix/tst-getopt_long1.c: New file.
7640 * posix/Makefile (tests): Add tst-getopt_long1.
7641
c84cfef4
UD
7642 [BZ #10138]
7643 * scripts/config.guess: Update from autoconf-2.68.
7644 * scripts/config.sub: Likewise.
7645
3b85df27
UD
7646 [BZ #10157]
7647 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7648 tests into ...
7649 (has_cpuclock): ...this. New function.
7650 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7651 macro here based on has_cpuclock code.
7652
15a856b1
UD
7653 [BZ #10149]
7654 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7655 First byte (not low byte) is now always NUL.
7656 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7657
05f399e6
UD
7658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7659 Use non-cancelable interfaces.
7660
10a52685 7661 [BZ #9809]
94ecc67d
UD
7662 * locale/iso-639.def: Add entry for Sorani.
7663
f8a3b5bf
UD
7664 [BZ #11901]
7665 * include/stdlib.h: Move include protection to the right place.
7666 Define abort_msg_s. Declare __abort_msg with it.
7667 * stdlib/abort.c (__abort_msg): Adjust type.
7668 * assert/assert.c (__assert_fail_base): New function. Majority
7669 of code from __assert_fail. Allocate memory for __abort_msg with
7670 mmap.
7671 (__assert_fail): Now call __assert_fail_base.
7672 * assert/assert-perr.c: Remove bulk of implementation. Use
7673 __assert_fail_base.
7674 * include/assert.hL Declare __assert_fail_base.
7675 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7676 mmap.
7677 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7678
1af4e298
UD
76792011-05-14 Ulrich Drepper <drepper@gmail.com>
7680
f8a3b5bf 7681 [BZ #11952]
d26dfc60
MG
7682 [BZ #12453]
7683 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7684 until all modules are registered in the DTV.
7685 * elf/Makefile: Add rules to build and run tst-tls19.
7686 * elf/tst-tls19.c: New file.
7687 * elf/tst-tls19mod1.c: New file.
7688 * elf/tst-tls19mod2.c: New file.
7689 * elf/tst-tls19mod3.c: New file.
7690 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7691
2fc54d6f
UD
7692 [BZ #12083]
7693 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7694 correctly.
7695
98d76b46
UD
7696 [BZ #12601]
7697 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7698 two-byte sequence errors.
7699 * iconvdata/Makefile (tests): Add bug-iconv8.
7700 * iconvdata/bug-iconv8.c: New file.
7701
da3c19ef
UD
7702 [BZ #12626]
7703 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7704 buf2 definition.
7705
ca408c15
UD
7706 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7707
d6f67f7d
UD
7708 [BZ #12432]
7709 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7710 (dummy_getcfa): New function.
7711 (init): Get _Unwind_GetCFA address, use dummy if not found.
7712 (backtrace_helper): In recursion check, also check whether CFA changes.
7713 (__backtrace): Completely initialize arg.
7714
1af4e298 7715 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7716 storing incomplete byte sequence in state object. Avoid testing for
7717 guaranteed too small input if we know there is enough data available.
1af4e298 7718
da62f81b
AS
77192011-05-11 Andreas Schwab <schwab@redhat.com>
7720
7721 * Makeconfig (+link-pie): Indent.
7722 * Rules (binaries-pie): Define if $(have-fpie) and
7723 $(build-shared).
7724 (binaries-shared): Also filter out $(binaries-pie).
7725 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7726 * nscd/Makefile (others-pie): Add nscd.
7727 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7728 ($(objpfx)nscd): Remove command override.
7729 * login/Makefile (others-pie): Add pt_chown.
7730 ($(objpfx)pt_chown): Remove command override.
7731 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7732 remove command overrides.
7733
fcabc0f8
UD
77342011-05-13 Ulrich Drepper <drepper@gmail.com>
7735
20030ae6
UD
7736 * libio/tst_putwc.c: Fix error messages.
7737
fcabc0f8
UD
7738 [BZ #12724]
7739 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7740 currently writing and seek to current position when not.
7741 * libio/Makefile (tests): Add bug-fclose1.
7742 * libio/bug-fclose1.c: New file.
7743
320a5dc0
PB
77442011-05-12 Ulrich Drepper <drepper@gmail.com>
7745
7746 [BZ #12511]
7747 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7748 don't set DF_1_NODELETE here.
7749 (do_lookup_x): When entering new entry test for copy relocation
7750 and if necessary set DF_1_NODELETE flag.
7751 * elf/tst-unique4.cc: New file.
7752 * elf/tst-unique4.h: New file.
7753 * elf/tst-unique4lib.cc: New file.
7754 * elf/Makefile: Add rules to build and run tst-unique4.
7755 Patch by Piotr Bury <pbury@goahead.com>.
7756
22836f52
UD
77572011-05-11 Ulrich Drepper <drepper@gmail.com>
7758
f574184a
UD
7759 [BZ #12052]
7760 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7761
e1fb097f
UD
7762 [BZ #12625]
7763 * misc/mntent_r.c (addmntent): Flush the stream after the output
7764
22836f52
UD
7765 [BZ #12393]
7766 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7767 (is_trusted_path_normalize): Skip initial colon. Append slash
7768 to empty buffer. Duplicate is_trusted_path code but allow
7769 constructed patch to be prefix.
7770 (is_dst): Allow $ORIGIN followed by /.
7771 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7772 Correct testing of result of is_trusted_path_normalize
7773 (decompose_rpath): Fix warning.
7774
7b3b0b2a
UD
77752011-05-10 Ulrich Drepper <drepper@gmail.com>
7776
7777 [BZ #11257]
7778 * grp/initgroups.c (internal_getgrouplist): When we found the service
7779 list through the initgroups entry in nsswitch.conf do not always
7780 continue on a successful lookup. Don't always use the
eac80ce2 7781 __nss_group_database value if it is set.
7b3b0b2a
UD
7782 * nss/nsswitch.conf (initgroups): Change action for successful db
7783 lookup to continue for compatibility.
7784
2a81eaa5
UD
77852011-05-09 Ulrich Drepper <drepper@gmail.com>
7786
be97a69e
UD
7787 [BZ #11532]
7788 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7789 and CP774 modules.
7790 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7791 and CP774 modules.
7792 * iconvdata/tst-tables.sh: Likewise.
7793 * iconvdata/cp770.c: New file.
7794 * iconvdata/cp771.c: New file.
7795 * iconvdata/cp772.c: New file.
7796 * iconvdata/cp773.c: New file.
7797 * iconvdata/cp774.c: New file.
7798 * iconvdata/testdata/CP770: New file.
7799 * iconvdata/testdata/CP770..UTF8: New file.
7800 * iconvdata/testdata/CP771: New file.
7801 * iconvdata/testdata/CP771..UTF8: New file.
7802 * iconvdata/testdata/CP772: New file.
7803 * iconvdata/testdata/CP772..UTF8: New file.
7804 * iconvdata/testdata/CP773: New file.
7805 * iconvdata/testdata/CP773..UTF8: New file.
7806 * iconvdata/testdata/CP774: New file.
7807 * iconvdata/testdata/CP774..UTF8: New file.
7808
7809 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7810 END CHARMAP line.
7811 * iconvdata/gen-8bit-gap.sh: Likewise.
7812 * iconvdata/gen-8bit.sh: Likewise.
7813
c1e9e399
UD
7814 * locale/iso-639.def: Add ary entry.
7815
24c55fb3 7816 [BZ #11258]
96b4b1b0
UD
7817 * locale/C-translit.h.in: Add U20A1 transliteration.
7818
bdc2f971
KB
7819 [BZ #12178]
7820 * locale/iso-639.def: Add wae entry.
7821 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7822
2952b117
UD
7823 [BZ #12545]
7824 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7825 for n.
7826
2a81eaa5
UD
7827 [BZ #12711]
7828 * locale/C-translit.h.in: Add entry for U20B9.
7829 Patch by pravin.d.s@gmail.com.
7830
28377d1b
UD
78312011-05-08 Ulrich Drepper <drepper@gmail.com>
7832
7fb90fb8
UD
7833 [BZ #12713]
7834 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7835 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
7836 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7837 in rtld. Use *stat64.
7fb90fb8 7838 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 7839 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 7840 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
7841 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7842 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7843 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7844 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7845 __fstatat64 macros.
7fb90fb8
UD
7846 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7847 * dirent/rewinddir.c: Add libc_hidden_def.
7848 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 7849 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 7850
28377d1b
UD
7851 * include/dirent.h (__alloc_dir): Add flags parameter.
7852 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7853 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7854 __alloc_dir.
7855 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7856 from fdopendir if O_CLOEXEC is already set.
7857
66bdbaa4
AM
78582011-03-15 Alan Modra <amodra@gmail.com>
7859
7860 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7861 l_tls_firstbyte_offset non-zero. Save padding offset in
7862 l_tls_firstbyte_offset for later use.
7863 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7864 freeing static tls block.
7865
95721191
JN
78662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7867
7868 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7869 where #ifdef was intended. The intent is to prevent ARG_MAX from
7870 being defined by the kernel headers.
7871
f87dfb1f
UD
78722011-05-07 Ulrich Drepper <drepper@gmail.com>
7873
7874 [BZ #12734]
7875 * resolv/resolv.h: Define RES_NOTLDQUERY.
7876 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7877 no-tld-query and set RES_NOTLDQUERY.
7878 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7879 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7880 modern BIND to search name as TLD unless forbidden.
7881
47c3cd7a
UD
78822011-05-07 Petr Baudis <pasky@suse.cz>
7883 Ulrich Drepper <drepper@gmail.com>
7884
7885 [BZ #12393]
7886 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7887 (is_trusted_path): ...to here.
c1e9ea35 7888 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 7889 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 7890 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 7891
8a35c912
PP
78922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7893
7894 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7895 __BEGIN/__END_DECLS.
7896
acd41f47
UD
78972011-05-06 Ulrich Drepper <drepper@gmail.com>
7898
7899 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7900 NSS_STATUS_NOTFOUND if no record was found.
7901
597df647
AS
79022011-05-05 Andreas Schwab <schwab@redhat.com>
7903
7904 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7905 (headers-not-in-tirpc): Remove rpc/netdb.h
7906 * resolv/netdb.h: Revert last change.
7907
b9af1301
PP
79082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7909
7910 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7911 circular dependency between libgcc.a and libc.a.
7912
4e34d5f5
AS
79132011-05-05 Andreas Schwab <schwab@redhat.com>
7914
7915 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7916 * nis/Makefile: Don't install rpcsvc/*.
7917 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7918 instead of <rpc/types.h>.
7919 (MAXHOSTNAMELEN): Define.
7920
00ee369c
AS
79212011-05-03 Andreas Schwab <schwab@redhat.com>
7922
7923 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7924
0b592a30
MB
79252011-04-28 Maciej Babinski <mbabinski@google.com>
7926
7927 [BZ #12714]
7928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7929 gethostbyname4_r when IPv6 results are possible.
7930
6e04cbbe
UD
79312011-05-02 Ulrich Drepper <drepper@gmail.com>
7932
7933 [BZ #12723]
7934 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7935 _PC_PIPE_BUF handling.
7936
e4ecafe0
BH
79372011-04-30 Bruno Haible <bruno@clisp.org>
7938
7939 [BZ #12717]
7940 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7941 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7942 to 'int'.
7943 * inet/getnameinfo.c (getnameinfo): Likewise.
7944
125ee683
UD
79452011-04-29 Ulrich Drepper <drepper@gmail.com>
7946
7947 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7948 to groups setting in database lookup.
7949 * nss/nsswitch.conf: Add initgroups entry.
7950
b722481a
EB
79512011-04-22 Ulrich Drepper <drepper@gmail.com>
7952
7953 [BZ #12685]
7954 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7955 mode string.
7956 Patch by Eric Blake <eblake@redhat.com>.
7957
4df46dbd
L
79582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7959
7960 * sunrpc/Makefile (need-export-routines): Add svc_run.
7961 (routines): Remove svc_run.
7962 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7963 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7964 * sunrpc/svc_run.c (svc_run): Likewise.
7965 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7966
e84142d2
UD
79672011-04-21 Ulrich Drepper <drepper@gmail.com>
7968
7969 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7970 problem in reallocation in last patch.
7971
877175d8
UD
79722011-04-20 Ulrich Drepper <drepper@gmail.com>
7973
7974 * sunrpc/Makefile: Move inclusion of Rules.
7975
ab8eed78
UD
79762011-04-19 Ulrich Drepper <drepper@gmail.com>
7977
7978 * nss/nss_files/files-initgroups.c: New file.
7979 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7980 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7981 _nss_files_initgroups_dyn.
7982
e3d8f584
RS
79832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7984
7985 * elf/elf.h (R_ARM_IRELATIVE): Define.
7986
af190f45
UD
79872011-04-19 Ulrich Drepper <drepper@gmail.com>
7988
7989 * po/ru.po: Update from translation team.
7990
53cf59ef
UD
79912011-04-17 Ulrich Drepper <drepper@gmail.com>
7992
7993 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7994 dependencies.
7995
4c559bcd
MF
79962011-02-06 Mike Frysinger <vapier@gentoo.org>
7997
7998 [BZ #12653]
7999 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8000 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8001 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8002 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8004
4420675c
AS
80052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8006
8007 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8008 differing bytes.
8009 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8010 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8012
75ea32ab
UD
80132011-04-17 Ulrich Drepper <drepper@gmail.com>
8014
8015 [BZ #12420]
8016 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8017 storing it.
8018 * stdlib/bug-getcontext.c: New file.
8019 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8020
27390476
AK
80212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8022
8023 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8024 instructions into .machine "z9-109".
8025 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8026 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8027
10442705
AK
80282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8029
8030 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8031 between environment variables and auxiliary vector.
8032
7b57bfe5
UD
80332011-04-16 Ulrich Drepper <drepper@gmail.com>
8034
8035 * Makefile: Add rules to build linkobj/libc.so.
8036 * include/libc-symbols.h: Define libc_hidden_nolink.
8037 * include/rpc/auth.h: Mark functions which are to be hidden.
8038 * include/rpc/auth_des.h: Likewise.
8039 * include/rpc/auth_unix.h: Likewise.
8040 * include/rpc/clnt.h: Likewise.
8041 * include/rpc/des_crypt.h: Likewise.
8042 * include/rpc/key_prot.h: Likewise.
8043 * include/rpc/pmap_clnt.h: Likewise.
8044 * include/rpc/pmap_prot.h: Likewise.
8045 * include/rpc/pmap_rmt.h: Likewise.
8046 * include/rpc/rpc_msg.h: Likewise.
8047 * include/rpc/svc.h: Likewise.
8048 * include/rpc/svc_auth.h: Likewise.
8049 * include/rpc/xdr.h: Likewise.
8050 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8051 * nss/Makefile: Likewise.
8052 * sunrpc/Makefile: Don't install headers. Build library with normal
8053 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8054 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8055 for the compat linking library. Remove use of INTDEF/INTUSE.
8056 * sunrpc/auth_none.c: Likewise.
8057 * sunrpc/auth_unix.c: Likewise.
8058 * sunrpc/authdes_prot.c: Likewise.
8059 * sunrpc/authuxprot.c: Likewise.
8060 * sunrpc/clnt_gen.c: Likewise.
8061 * sunrpc/clnt_perr.c: Likewise.
8062 * sunrpc/clnt_raw.c: Likewise.
8063 * sunrpc/clnt_simp.c: Likewise.
8064 * sunrpc/clnt_tcp.c: Likewise.
8065 * sunrpc/clnt_udp.c: Likewise.
8066 * sunrpc/clnt_unix.c: Likewise.
8067 * sunrpc/des_crypt.c: Likewise.
8068 * sunrpc/des_soft.c: Likewise.
8069 * sunrpc/get_myaddr.c: Likewise.
8070 * sunrpc/key_call.c: Likewise.
8071 * sunrpc/key_prot.c: Likewise.
8072 * sunrpc/netname.c: Likewise.
8073 * sunrpc/pm_getmaps.c: Likewise.
8074 * sunrpc/pm_getport.c: Likewise.
8075 * sunrpc/pmap_clnt.c: Likewise.
8076 * sunrpc/pmap_prot.c: Likewise.
8077 * sunrpc/pmap_prot2.c: Likewise.
8078 * sunrpc/pmap_rmt.c: Likewise.
8079 * sunrpc/publickey.c: Likewise.
8080 * sunrpc/rpc_cmsg.c: Likewise.
8081 * sunrpc/rpc_common.c: Likewise.
8082 * sunrpc/rpc_dtable.c: Likewise.
8083 * sunrpc/rpc_prot.c: Likewise.
8084 * sunrpc/rpc_thread.c: Likewise.
8085 * sunrpc/rtime.c: Likewise.
8086 * sunrpc/svc.c: Likewise.
8087 * sunrpc/svc_auth.c: Likewise.
8088 * sunrpc/svc_authux.c: Likewise.
8089 * sunrpc/svc_raw.c: Likewise.
8090 * sunrpc/svc_run.c: Likewise.
8091 * sunrpc/svc_simple.c: Likewise.
8092 * sunrpc/svc_tcp.c: Likewise.
8093 * sunrpc/svc_udp.c: Likewise.
8094 * sunrpc/svc_unix.c: Likewise.
8095 * sunrpc/svcauth_des.c: Likewise.
8096 * sunrpc/xcrypt.c: Likewise.
8097 * sunrpc/xdr.c: Likewise.
8098 * sunrpc/xdr_array.c: Likewise.
8099 * sunrpc/xdr_float.c: Likewise.
8100 * sunrpc/xdr_intXX_t.c: Likewise.
8101 * sunrpc/xdr_mem.c: Likewise.
8102 * sunrpc/xdr_rec.c: Likewise.
8103 * sunrpc/xdr_ref.c: Likewise.
8104 * sunrpc/xdr_sizeof.c: Likewise.
8105 * sunrpc/xdr_stdio.c: Likewise.
8106
e6c61494
UD
81072011-04-10 Ulrich Drepper <drepper@gmail.com>
8108
8109 [BZ #12650]
8110 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8111 * sysdeps/ia64/dl-tls.h: Likewise.
8112 * sysdeps/powerpc/dl-tls.h: Likewise.
8113 * sysdeps/s390/dl-tls.h: Likewise.
8114 * sysdeps/sh/dl-tls.h: Likewise.
8115 * sysdeps/sparc/dl-tls.h: Likewise.
8116 * sysdeps/x86_64/dl-tls.h: Likewise.
8117 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8118
34fe483e
AS
81192011-03-14 Andreas Schwab <schwab@redhat.com>
8120
8121 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8122 rpath element also skip the following colon.
8123 (expand_dynamic_string_token): Add is_path parameter and pass
8124 down to DL_DST_REQUIRED and _dl_dst_substitute.
8125 (decompose_rpath): Call expand_dynamic_string_token with
8126 non-zero is_path. Ignore empty rpaths.
8127 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8128 with zero is_path.
8129
f12a32e6
AS
81302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8131
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8133 Make cancelable.
8134
38a7d692
UD
81352011-04-09 Ulrich Drepper <drepper@gmail.com>
8136
8137 [BZ #12655]
8138 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8139 Patch by Filipe David Manana <fdmanana@apache.org>.
8140
e451d22b
AS
81412011-04-07 Andreas Schwab <schwab@redhat.com>
8142
8143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8144 Maintain aligned stack.
8145 (CHECK_RSP): Remove unused macro.
8146
dedc7c7b
UD
81472011-04-03 Ulrich Drepper <drepper@gmail.com>
8148
8149 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8150 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8151
94521213
UD
81522011-04-02 Ulrich Drepper <drepper@gmail.com>
8153
8154 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8155
8cb700c0 8156 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8157
0354e355
L
81582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8159
8160 [BZ #12518]
8161 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8162 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8163 * sysdeps/x86_64/memmove.c: New file.
8164 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8165 (memcpy): Renamed to ...
8166 (__new_memcpy): This.
8167 (memcpy): Provide GLIBC_2_14 memcpy.
8168 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8169 (memcpy): Provide GLIBC_2_2_5 memcpy.
8170
8593482f
UD
81712011-04-01 Ulrich Drepper <drepper@gmail.com>
8172
8173 [BZ #12631]
8174 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8175
81a5726b
AS
81762011-03-30 Andreas Schwab <schwab@redhat.com>
8177
8178 * misc/syncfs.c: New file.
8179 * misc/Makefile (routines): Add syncfs.
8180 * posix/unistd.h: Declare syncfs.
8181 * sysdeps/unix/syscalls.list: Add syncfs.
8182
00e5419f
AS
81832011-04-01 Andreas Schwab <schwab@redhat.com>
8184
8185 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8186 open_by_handle_at.
8187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8188 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8192 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8194
748876bf
UD
81952011-04-01 Ulrich Drepper <drepper@gmail.com>
8196
658e451d
UD
8197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8198 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8199 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8204
748876bf
UD
8205 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8206 sync_file_range.c with -fexceptions.
8207 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8208 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8209 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8210 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8211 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8212 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8214 sync_file_range as cancellation point
8215 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8216 now a wrapper around __call_sync_file_range with cancellation handling.
8217 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8218 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8219 function name to __call_sync_file_range.
8220 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8221 Add call_sync_file_range.
748876bf 8222
6e63d5e1
AS
82232011-04-01 Andreas Schwab <schwab@redhat.com>
8224
8225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8226 bits/timex.h.
6e63d5e1 8227
46998f74
UD
82282011-04-01 Ulrich Drepper <drepper@gmail.com>
8229
4c1423ed
UD
8230 * iconv/iconv.h: Fix typo in comment.
8231 * io/fcntl.h: Likewise.
8232 * libio/stdio.h: Likewise.
8233 * posix/spawn.h: Likewise.
8234 * posix/unistd.h: Likewise.
8235 * stdlib/stdlib.h: Likewise.
8236 * time/time.h: Likewise.
8237 * wcsmbs/wchar.h: Likewise.
8238
158648c0
UD
8239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8240 open_by_handle): Add.
8241 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8242 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8243 Augment a few comments.
8244 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8246 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8249 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8250 open_by_handle.
8251
46998f74
UD
8252 * io/fcntl.h (AT_EMPTY_PATH): Define.
8253
83fe108b
UD
82542011-03-30 Ulrich Drepper <drepper@gmail.com>
8255
8256 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8257 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8258 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8259 to...
8260 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8261 * Versions.def: Add GLIBC_2.14.
8262 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8263 Export.
83fe108b 8264
bb242059
UD
82652011-03-22 Ulrich Drepper <drepper@gmail.com>
8266
8267 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8268 round counter.
8269 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8270
c97a1282
L
82712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8272
8273 [BZ #12597]
8274 * string/test-strncmp.c (do_page_test): New function.
8275 (check2): Likewise.
8276 (test_main): Call check2.
8277 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8278
2a115601
UD
82792011-03-20 Ulrich Drepper <drepper@gmail.com>
8280
8281 [BZ #12587]
8282 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8283 Handle cache information in CPU leaf 4.
8284 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8285
8126d904
UD
82862011-03-18 Ulrich Drepper <drepper@gmail.com>
8287
042c49c6 8288 [BZ #12583]
8126d904
UD
8289 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8290 character representation.
8291 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8292
ccfe366e
RA
82932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8294
8295 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8296 END(__isnan) to END(__isnanf) to match function entry point/label
8297 EALIGN(__isnanf,...).
8298
c6e13027
JJ
82992011-03-10 Jakub Jelinek <jakub@redhat.com>
8300
8301 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8302
33f85a3f
UD
83032011-03-10 Ulrich Drepper <drepper@gmail.com>
8304
028478fa
UD
8305 [BZ #12510]
8306 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8307 copy from the symbol referenced in the relocation to initialize the
8308 used variable.
8309 Patch by Piotr Bury <pbury@goahead.com>.
8310 * elf/Makefile: Add rules to build and tst-unique3.
8311 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8312 * elf/tst-unique3.cc: New file.
8313 * elf/tst-unique3.h: New file.
8314 * elf/tst-unique3lib.cc: New file.
8315 * elf/tst-unique3lib2.cc: New file.
8316
33f85a3f
UD
8317 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8318
03592fc7
MF
83192011-03-10 Mike Frysinger <vapier@gentoo.org>
8320
8321 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8322 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8323 to _start.
03592fc7 8324
6a5ee102
UD
83252011-03-06 Ulrich Drepper <drepper@gmail.com>
8326
8327 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8328 to-be-loaded object along a path to loader is ld.so.
8329
7e4ba49c
HJ
83302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8331 Ulrich Drepper <drepper@gmail.com>
8332
8333 * sysdeps/x86_64/memset.S: After aligning destination, code
8334 branches to different locations depending on the value of
8335 misalignment, when multiarch is enabled. Fix this.
8336
83372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8338
8339 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8340 Set _x86_64_preferred_memory_instruction for AMD processsors.
8341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8342 Set bit_Prefer_SSE_for_memop for AMD processors.
8343
13a804de
UD
83442011-03-04 Ulrich Drepper <drepper@gmail.com>
8345
8346 * libio/fmemopen.c (fmemopen): Optimize a bit.
8347
9d25c392
AS
83482011-03-03 Andreas Schwab <schwab@redhat.com>
8349
8350 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8351
a5543c6a
RM
83522011-03-03 Roland McGrath <roland@redhat.com>
8353
8354 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8355
012d35f7
DM
83562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8357
7e4ba49c 8358 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8359 __bzero_ultra1 instead of __memset_ultra1.
8360
4bff6e01
AS
83612011-02-23 Andreas Schwab <schwab@redhat.com>
8362 Ulrich Drepper <drepper@gmail.com>
8363
8364 [BZ #12509]
8365 * include/link.h (struct link_map): Add l_orig_initfini.
8366 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8367 returning unsuccessfully.
8368 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8369 close of a file loaded at startup, restore the original l_initfini
8370 list.
8371 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8372 list, store the pointer.
8373 * elf/Makefile ($(objpfx)noload-mem): New rule.
8374 (noload-ENV): Define.
8375 (tests): Add $(objpfx)noload-mem.
8376 * elf/noload.c: Include <memcheck.h>.
8377 (main): Call mtrace. Close all opened handles.
8378
f2092faf
AS
83792011-02-17 Andreas Schwab <schwab@redhat.com>
8380
8381 [BZ #12454]
8382 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8383 dependencies are missing.
8384
6c8a2e88
ST
83852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8386
f2092faf 8387 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8388 Hurd needs munmap.
8389 * sysdeps/mach/hurd/ifreq.h: New file.
8390
84a42118
PB
83912011-01-27 Petr Baudis <pasky@suse.cz>
8392 Ulrich Drepper <drepper@gmail.com>
8393
071f805e 8394 [BZ 12445]#
84a42118
PB
8395 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8396 to extend_alloca().
8397 * stdio-common/bug23.c: New file.
8398 * stdio-common/Makefile (tests): Add bug23.
8399
e23fe25b
AS
84002010-09-28 Andreas Schwab <schwab@redhat.com>
8401 Ulrich Drepper <drepper@gmail.com>
8402
8403 [BZ #12489]
8404 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8405 before performing relro protection. At old place add assertion
8406 to make sure nothing changed.
8407
d3f02e10
NS
84082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8409 Glauber de Oliveira Costa <glommer@gmail.com>
8410
8411 * elf/elf.h: Add new ARM TLS relocs.
8412
d55fd7a5
RA
84132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8414
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8416 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8417 cast from r3.
8418 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8419 'tests' variable.
8420 * sysdeps/wordsize-64/tst-writev.c: New file.
8421
2206397e
RA
84222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8423
8424 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8425 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8426 insns in _dl_start to prevent a TOC reference before relocs are
8427 resolved.
8428
e9433893
UD
84292011-02-15 Ulrich Drepper <drepper@gmail.com>
8430
8431 [BZ #12469]
8432 * Makeconfig: Remove RANLIB definition.
8433 * Makerules: Don't use RANLIB.
8434 * aclocal.m4: Remove ranlib test.
8435 * configure.in: No need to check for ranlib.
8436 * elf/rtld-Rules: Don't use RANLIB.
8437
f75286c6
ST
84382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8439
8e31c82d
ST
8440 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8441 protection macro.
8442 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8443 inclusion protection macro.
8444
f75286c6
ST
8445 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8446 SIGRTMIN and SIGRTMAX and print information in that case only when
8447 SIGRTMIN is defined.
8448
c1d0e639
JJ
84492011-02-11 Jakub Jelinek <jakub@redhat.com>
8450
8451 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8452 arginfo fn returning -1.
8453
8454 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8455 and thousands string is zero terminated.
8456
edf9294e
AS
84572011-02-03 Andreas Schwab <schwab@redhat.com>
8458
8459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8460 sysdeps/unix/sysv/linux/bits/socket.h.
8461
2b7e92df
ST
84622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8463
edf9294e
AS
8464 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8465 (__CPU_COUNT): Remove old macros.
8466 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8467 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8468 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8469 (__sched_cpualloc, __sched_cpufree): Add declarations.
8470
a4c7ea7b
UD
84712011-02-05 Ulrich Drepper <drepper@gmail.com>
8472
8473 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8474 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8475 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8476 (readdhstai): Return value of addhstaiX call.
8477 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8478 (addgrbyX): Return value returned by cache_addgr.
8479 (readdgrbyname): Return value returned by addgrbyX.
8480 (readdgrbygid): Likewise.
8481 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8482 (addpwbyX): Return value returned by cache_addpw.
8483 (readdpwbyname): Return value returned by addhstbyX.
8484 (readdpwbyuid): Likewise.
8485 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8486 (addservbyX): Return value returned by cache_addserv.
8487 (readdservbyname): Return value returned by addservbyX:
8488 (readdservbyport): Likewise.
8489 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8490 (addhstbyX): Return value returned by cache_addhst.
8491 (readdhstbyname): Return value returned by addhstbyX.
8492 (readdhstbyaddr): Likewise.
8493 (readdhstbynamev6): Likewise.
8494 (readdhstbyaddrv6): Likewise.
8495 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8496 (readdinitgroups): Return value returned by addinitgroupsX.
8497 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8498 (prune_cache): Keep track of timeout value of re-added entries.
8499 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8500 * nscd/nscd.h: Adjust prototypes of readd* functions.
8501
a0bf67cc
RM
85022011-02-04 Roland McGrath <roland@redhat.com>
8503
8504 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8505 (nis_stats): Likewise.
8506 * nis/nis_modify.c (nis_modify): Likewise.
8507 * nis/nis_remove.c (nis_remove): Likewise.
8508 * nis/nis_add.c (nis_add): Likewise.
8509
8510 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8511
8512 * posix/fnmatch_loop.c: Add some consts.
8513
8514 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8515
435b95eb
L
85162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8517
8518 [BZ #12460]
8519 * config.make.in (config-cflags-novzeroupper): Define.
8520 * configure.in: Substitute libc_cv_cc_novzeroupper.
8521 * elf/Makefile (AVX-CFLAGS): Define.
8522 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8523 (CFLAGS-tst-auditmod4a.c): Likewise.
8524 (CFLAGS-tst-auditmod4b.c): Likewise.
8525 (CFLAGS-tst-auditmod6b.c): Likewise.
8526 (CFLAGS-tst-auditmod6c.c): Likewise.
8527 (CFLAGS-tst-auditmod7b.c): Likewise.
8528 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8529
8517b15e
UD
85302011-02-02 Ulrich Drepper <drepper@gmail.com>
8531
8532 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8533 function to the callback.
8534 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8535
10a656fe
AS
85362011-02-02 Andreas Schwab <schwab@redhat.com>
8537
8538 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8539 of errno.
8540
968dad0a
UD
85412011-01-19 Ulrich Drepper <drepper@gmail.com>
8542
9f94d2ea 8543 [BZ #11724]
968dad0a
UD
8544 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8545 of constructors.
8546 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8547 of destructors.
8548 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8549
8550 [BZ #11724]
8551 * elf/Makefile: Add rules to build and run new test.
8552 * elf/tst-initorder.c: New file.
8553 * elf/tst-initorder.exp: New file.
8554 * elf/tst-initordera1.c: New file.
8555 * elf/tst-initordera2.c: New file.
8556 * elf/tst-initordera3.c: New file.
8557 * elf/tst-initordera4.c: New file.
8558 * elf/tst-initorderb1.c: New file.
8559 * elf/tst-initorderb2.c: New file.
8560 * elf/tst-order-a1.c: New file.
8561 * elf/tst-order-a2.c: New file.
8562 * elf/tst-order-a3.c: New file.
8563 * elf/tst-order-a4.c: New file.
8564 * elf/tst-order-b1.c: New file.
8565 * elf/tst-order-b2.c: New file.
8566 * elf/tst-order-main.c: New file.
8567 New test case by George Gensure <werkt0@gmail.com>.
8568
86e92359
UD
85692010-10-01 Andreas Schwab <schwab@redhat.com>
8570
8571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8572 decoding ACE if AI_CANONIDN.
8573
5d5732b0
UD
85742011-01-18 Ulrich Drepper <drepper@gmail.com>
8575
8576 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8577
a77e8cbc
UD
85782011-01-17 Ulrich Drepper <drepper@gmail.com>
8579
6392473f
UD
8580 * version.h (RELEASE): Bump for 2.13 release.
8581 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8582
620a0529
UD
8583 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8584
18ba70a5
UD
8585 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8586 MADV_NOHUGEPAGE.
32465c3e
UD
8587 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8588 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8590 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8593
c0dafcf1
UD
8594 * posix/getconf.c: Update copyright year.
8595 * catgets/gencat.c: Likewise.
8596 * csu/version.c: Likewise.
8597 * debug/catchsegv.sh: Likewise.
8598 * debug/xtrace.sh: Likewise.
8599 * elf/ldconfig.c: Likewise.
8600 * elf/ldd.bash.in: Likewise.
8601 * elf/sprof.c (print_version): Likewise.
8602 * iconv/iconv_prog.c: Likewise.
8603 * iconv/iconvconfig.c: Likewise.
8604 * locale/programs/locale.c: Likewise.
8605 * locale/programs/localedef.c: Likewise.
8606 * malloc/memusage.sh: Likewise.
8607 * malloc/mtrace.pl: Likewise.
8608 * nscd/nscd.c (print_version): Likewise.
8609 * nss/getent.c: Likewise.
8610
a77e8cbc
UD
8611 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8612 PF_CAIF, and PF_ALG.
8613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8614
77e8bddf
AS
86152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8616
1f20b93a
AS
8617 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8618 (modules-names): Use them.
8619 (ifunc-test-modules, ifunc-pie-tests): Define.
8620 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8621 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8622 (test-extras): Likewise.
8623 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8624 $(compile-command.c).
8625 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8626 (all-built-dso): Define.
8627 (check-textrel.out, check-execstack.out): Depend on it.
8628
77e8bddf
AS
8629 * configure.in: Don't override --enable-multi-arch.
8630
bc425b33
UD
86312011-01-15 Ulrich Drepper <drepper@gmail.com>
8632
8633 [BZ #6812]
8634 * nscd/hstcache.c (tryagain): Define.
8635 (cache_addhst): Return tryagain not notfound for temporary errors.
8636 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8637 failed.
8638
794c3ad3
UD
86392011-01-14 Ulrich Drepper <drepper@gmail.com>
8640
70181fdd
UD
8641 [BZ #10563]
8642 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8643 to make the syscall.
8644 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8645
794c3ad3
UD
8646 [BZ #12378]
8647 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8648 and fall back to matching as normal character if the string ends before
8649 the matching ']' is found. This is what POSIX requires.
8650 * posix/testfnm.c: Adjust test result.
8651 * posix/globtest.sh: Adjust test result. Add new test.
8652 * posix/tst-fnmatch.input: Likewise.
8653 * posix/tst-fnmatch2.c: Add new test.
8654
68dc9497
AS
86552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8656
8657 * elf/Makefile (check-execstack): Revert last change. Depend on
8658 check-execstack.h.
8659 (check-execstack.h): New target.
8660 (generated): Add check-execstack.h.
8661 * elf/check-execstack.c: Include "check-execstack.h".
8662 (main): Revert last change.
8663 (handle_file): Return zero if GNU_STACK is absent and
8664 DEFAULT_STACK_PERMS doesn't include PF_X.
8665
451f001b
UD
86662011-01-13 Ulrich Drepper <drepper@gmail.com>
8667
cfa28e56
UD
8668 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8669 in child fails because the descriptor is already closed.
8cf8ce17
UD
8670 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8671 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8672 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8673
1086d70d
UD
8674 [BZ #12397]
8675 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8676 syscall.
8677
451f001b
UD
8678 [BZ #10484]
8679 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8680 temporary buffer used to handle multi lookups locally.
a85b5cb4 8681 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8682
08769175
UD
86832011-01-12 Ulrich Drepper <drepper@gmail.com>
8684
8685 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8686 loader is ld.so.
8687
5e49c52e
UD
86882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8689
8690 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8691 alignment for SSE2.
8692
60522a5f
UD
86932011-01-12 Ulrich Drepper <drepper@gmail.com>
8694
8695 [BZ #12394]
8696 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8697 characters. When rounding increased number of integer digits recompute
8698 number of groups.
8699 * stdio-common/tst-grouping.c: New file.
8700 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8701
f257bbd7
UD
87022011-01-09 Ulrich Drepper <drepper@gmail.com>
8703
8704 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8705 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8706
8707 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8708 void.
8709 * bits/select.h: Likewise.
8710
fa9c15cb
UD
87112011-01-08 Ulrich Drepper <drepper@gmail.com>
8712
8713 * po/ja.po: Update from translation team.
8714
16c2895f
DM
87152011-01-04 David S. Miller <davem@sunset.davemloft.net>
8716
8717 [BZ #11155]
8718 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8719 implementation just like for lxstat, fxstatat, et al.
8720
2543fef2
JM
87212010-12-27 Jim Meyering <meyering@redhat.com>
8722
8723 [BZ #12348]
8724 * posix/regexec.c (build_trtable): Return failure indication upon
8725 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8726
98727dbe
UD
87272010-12-25 Ulrich Drepper <drepper@gmail.com>
8728
5bd6dc5c
UD
8729 [BZ #12201]
8730 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8731 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8732 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8733 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8734
97983464
UD
8735 [BZ #12207]
8736 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8737
98727dbe
UD
8738 [BZ #12204]
8739 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8740 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8741
4a531bb0
L
87422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8743
8744 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8745 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8746 script has SORT_BY_INIT_PRIORITY.
8747 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8748 NO_CTORS_DTORS_SECTIONS is defined.
8749 * elf/soinit.c: Likewise.
8750 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8751 NO_CTORS_DTORS_SECTIONS is defined.
8752 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8753 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8754 * sysdeps/sh/init-first.c: Likewise.
8755 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8756
07eb4b71
UD
87572010-12-24 Ulrich Drepper <drepper@gmail.com>
8758
8759 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8760 always use the slow path.
8761
30950a5f
RA
87622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8763
8764 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8765 similar rule which adds the sysdep directories to the header search in
8766 order to pick up the correct platform stackinfo.h.
8767 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8768 perform test if it is, otherwise return successfully without testing.
8769 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8770 DEFAULT_STACK_PERMS define in stackinfo.h.
8771 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8772 defined in stackinfo.h.
8773 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8774 DEFAULT_STACK_PERMS defined in stackinfo.h.
8775 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8776 * sysdeps/ia64/stackinfo.h: Likewise.
8777 * sysdeps/s390/stackinfo.h: Likewise.
8778 * sysdeps/sh/stackinfo.h: Likewise.
8779 * sysdeps/sparc/stackinfo.h: Likewise.
8780 * sysdeps/x86_64/stackinfo.h: Likewise.
8781 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8782 PF_X for powerpc64. Retain PF_X for powerpc32.
8783
db753e2c
UD
87842010-12-19 Ulrich Drepper <drepper@gmail.com>
8785
14b697f7
UD
8786 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8787 accurately.
db753e2c
UD
8788 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8789 GETDENTS_64BIT_ALIGNED.
8790
28300719
UD
87912010-12-14 Ulrich Drepper <dreper@gmail.com>
8792
14b697f7 8793 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8794
4f197237
AS
87952010-12-10 Andreas Schwab <schwab@redhat.com>
8796
dbb0472f
AS
8797 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8798 _GNU_SOURCE.
8799
4f197237
AS
8800 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8801 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8802 Remove __restrict.
8803 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8804 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8805
fb88ac72
UD
88062010-12-09 Ulrich Drepper <drepper@gmail.com>
8807
8808 [BZ #11655]
8809 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8810 are initialized.
8811
42acbb92
JJ
88122010-12-09 Jakub Jelinek <jakub@redhat.com>
8813
8814 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8815
c038d98d
UD
88162010-12-03 Ulrich Drepper <drepper@gmail.com>
8817
8818 * po/it.po: Update from translation team.
8819
3a4a2499
L
88202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8821
8822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8823 unused codes.
8824
1e24cf6e
UD
88252010-11-30 Ulrich Drepper <drepper@gmail.com>
8826
8827 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8828
a7690819
AS
88292010-11-24 Andreas Schwab <schwab@redhat.com>
8830
8831 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8832 specially.
8833 (gaih_getanswer_slice): Likewise.
8834
3bf8d1b1
JJ
88352010-10-20 Jakub Jelinek <jakub@redhat.com>
8836
8837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8838
6db52fbb
PB
88392010-05-31 Petr Baudis <pasky@suse.cz>
8840
8841 [BZ #11149]
8842 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8843 silently even in the chroot mode.
8844
eaca7569
UD
88452010-11-22 Ulrich Drepper <drepper@gmail.com>
8846
8847 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8848 last patch a bit. Pretty printing
8849
3056dcdb
UD
88502010-05-31 Petr Baudis <pasky@suse.cz>
8851
8852 [BZ #10085]
8853 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8854 initialization of skip_initgroups_dyn.
8855
cf7c9078
UD
88562010-11-19 Ulrich Drepper <drepper@gmail.com>
8857
8858 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8859 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8860
a1fb5e3e
UD
88612010-11-16 Ulrich Drepper <drepper@gmail.com>
8862
8863 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8864
3540d66b
AS
88652010-11-11 Andreas Schwab <schwab@redhat.com>
8866
8867 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8868 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8869 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8870 ($(objpfx)tst-fnmatch-mem): New rule.
8871 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8872 * posix/tst-fnmatch.c (main): Call mtrace.
8873
13b69574
L
88742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8875
8876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8877 Support Intel processor model 6 and model 0x2c.
8878
da93d214
LM
88792010-11-10 Luis Machado <luisgpm@br.ibm.com>
8880
8881 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8882 signed comparison.
8883
8ca52c6e
L
88842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8885
8886 [BZ #12205]
8887 * string/test-strncasecmp.c (check_result): New function.
8888 (do_one_test): Use it.
8889 (check1): New function.
8890 (test_main): Use it.
8891 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8892 Support strcasecmp and strncasecmp.
8893
69da074d
UD
88942010-11-08 Ulrich Drepper <drepper@gmail.com>
8895
8896 [BZ #12194]
8897 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8898 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8899
ff02d528
L
89002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8901
8902 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8903 IFUNC support.
8904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8905 memset-x86-64.
8906 * sysdeps/x86_64/multiarch/bzero.S: New file.
8907 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8908 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8909 * sysdeps/x86_64/multiarch/memset.S: New file.
8910 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8912 Set bit_Prefer_SSE_for_memop for Intel processors.
8913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8914 Define.
8915 (index_Prefer_SSE_for_memop): Define.
8916 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8917
344d0b54
LM
89182010-11-04 Luis Machado <luisgpm@br.ibm.com>
8919
8920 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8921 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8922
c0dde15b
UD
89232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8924
8925 [BZ #12191]
8926 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8927 (__x86_64_raw_data_cache_size_half): Likewise.
8928 (__x86_64_raw_shared_cache_size): Likewise.
8929 (__x86_64_raw_shared_cache_size_half): Likewise.
8930
8931 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8932 (__x86_64_raw_data_cache_size_half): Likewise.
8933 (__x86_64_raw_shared_cache_size): Likewise.
8934 (__x86_64_raw_shared_cache_size_half): Likewise.
8935 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8936 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8937 and __x86_64_raw_shared_cache_size_half. Round
8938 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8939 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8940 to multiple of 256 bytes.
8941
0e516e0e
MS
89422010-11-03 Ulrich Drepper <drepper@gmail.com>
8943
8944 [BZ #12167]
8945 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8946 of inacessible symlinks. Verify result of symlink before returning it.
8947 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8948 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8949
0e012e87
ER
89502010-10-28 Erich Ritz <erichritz@gmail.com>
8951
8952 * math/math.h (isinf): Fix typo in comment.
8953
de0ff7bc
UD
89542010-11-01 Ulrich Drepper <drepper@gmail.com>
8955
8956 * po/da.po: Update from translation team.
8957
fa41c84d
UD
89582010-10-26 Ulrich Drepper <drepper@gmail.com>
8959
8960 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8961 is added to the list.
8962
f0967738
AK
89632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8964 Ulrich Drepper <drepper@gmail.com>
8965
8966 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8967 the global list here. Move code to...
8968 (_dl_add_to_namespace_list): ...here. New function.
8969 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8970 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8971 * elf/dl-load.c (lose): Don't remove the element from the list.
8972 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8973 (_dl_map_object): Likewise.
8974
89752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
8976
8977 [BZ #12159]
8978 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8979 into all bytes of SSE register.
8980 Patch by Richard Li <richardpku@gmail.com>.
8981
f0967738 89822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8983
8984 [BZ #12140]
8985 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8986 perturbing.
8987
d0b9e94f
MB
89882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8989
8990 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8991 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8992 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8993 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8995 submachine.
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8997
8e9f92e9
AS
89982010-10-22 Andreas Schwab <schwab@redhat.com>
8999
9000 * include/dlfcn.h (__RTLD_SECURE): Define.
9001 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9002 mode & __RTLD_SECURE instead.
9003 (open_path): Rename preloaded parameter to secure.
9004 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9005 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9006 * elf/dl-deps.c (openaux): Likewise.
9007 * elf/rtld.c (struct map_args): Remove is_preloaded.
9008 (map_doit): Don't use it.
9009 (dl_main): Likewise.
9010 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9011 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9012
bc96fbda
AS
90132010-09-09 Andreas Schwab <schwab@redhat.com>
9014
9015 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9016 (sysd-rules-targets): Remove duplicates.
9017 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9018 rtld-%.$o dependency.
9019
22cd1c9b
AS
90202010-10-18 Andreas Schwab <schwab@redhat.com>
9021
9022 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9023 _dl_map_object do it.
9024
18edac48
UD
90252010-10-19 Ulrich Drepper <drepper@gmail.com>
9026
9027 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9028 fast fma builtins, define the macros in the C99 standard.
9029 (FP_FAST_FMAF): Likewise.
9030 (FP_FAST_FMAL): Likewise.
9031 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9032
9033 * bits/mathdef.h: Update copyright year.
9034 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9035
d2050124
MM
90362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9037
9038 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9039 builtins, define the macros in the C99 standard.
9040 (FP_FAST_FMAF): Likewise.
9041 (FP_FAST_FMAL): Likewise.
9042 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9043 multiply/add.
9044 (FP_FAST_FMAF): Likewise.
9045
475facd1
JJ
90462010-10-15 Jakub Jelinek <jakub@redhat.com>
9047
9048 [BZ #3268]
9049 * math/libm-test.inc (fma_test): Some new testcases.
9050 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9051 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9052 y and infinite z. Do multiplication by C already in long double.
9053 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9055 y and infinite z. Do bitwise or of inexact bit into u.d.
9056 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9057 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9058 * sysdeps/i386/fpu/s_fma.S: Removed.
9059 * sysdeps/i386/fpu/s_fmal.S: Removed.
9060
7c08a05c
JJ
90612010-10-16 Jakub Jelinek <jakub@redhat.com>
9062
9063 [BZ #3268]
9064 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9065 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9066 computation is not scheduled after fetestexcept. Fix value
9067 of minimum denormal long double.
9068
f3f7372d
JJ
90692010-10-14 Jakub Jelinek <jakub@redhat.com>
9070
9071 [BZ #3268]
9072 * math/libm-test.inc (fma_test): Add some more tests.
9073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9074 correctly.
9075
14d43591
AS
90762010-10-15 Andreas Schwab <schwab@redhat.com>
9077
9078 * scripts/data/localplt-s390-linux-gnu.data: New file.
9079 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9080
5e908464
JJ
90812010-10-13 Jakub Jelinek <jakub@redhat.com>
9082
9083 [BZ #3268]
9084 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9085 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9086 instead of dbl-64.
9087 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9088 inlines.
9089 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9091 if one of x and y is very large and the other is subnormal.
9092 * sysdeps/s390/fpu/s_fmaf.c: New file.
9093 * sysdeps/s390/fpu/s_fma.c: New file.
9094 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9095 * sysdeps/powerpc/fpu/s_fma.S: New file.
9096 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9097 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9098 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9099
91002010-10-12 Jakub Jelinek <jakub@redhat.com>
9101
9102 [BZ #3268]
9103 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9104 fma tests.
9105 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9106 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9107 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9108 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9109 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9110 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9112
b833d51f
UD
91132010-10-12 Ulrich Drepper <drepper@redhat.com>
9114
9115 [BZ #12078]
9116 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9117 * posix/bug-regex31.input: Add test case.
9118
1751705d
UD
91192010-10-11 Ulrich Drepper <drepper@gmail.com>
9120
e9b9cbf5
UD
9121 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9122 * posix/bug-regex31.input: New file.
9123
9124 [BZ #12078]
9125 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9126 (parse_sub_exp): Fix last change, use postorder.
9127
ef06edbe
UD
9128 * posix/bug-regex31.c: New file.
9129 * posix/Makefile: Add rules to build and run bug-regex31.
9130
a129c80d
UD
9131 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9132
9133 [BZ #12078]
9134 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9135
b76b818e
UD
9136 [BZ #12108]
9137 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9138 to have entries in sys_siglist.
9139
1751705d
UD
9140 [BZ #12093]
9141 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9142 be NULL.
9143
9ff8d36f
JJ
91442010-10-07 Jakub Jelinek <jakub@redhat.com>
9145
9146 [BZ #3268]
9147 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9148 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9149 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9150 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9151 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9152 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9153 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9154 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9155 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9156 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9157 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9158 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9159 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9160 * math/ftestexcept.c (fetestexcept): Likewise.
9161 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9162 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9163 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9164 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9165 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9166 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9167 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9168
af325969
UD
91692010-10-11 Ulrich Drepper <drepper@gmail.com>
9170
c579b202 9171 [BZ #12107]
af325969
UD
9172 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9173 newline.
9174
67a67b95
UD
91752010-10-06 Ulrich Drepper <drepper@gmail.com>
9176
9177 * string/bug-strstr1.c: New file.
9178 * string/Makefile: Add rules to build and run bug-strstr1.
9179
5fb308bc
EB
91802010-10-05 Eric Blake <eblake@redhat.com>
9181
9182 [BZ #12092]
9183 * string/str-two-way.h (two_way_long_needle): Always clear memory
9184 when skipping input due to the shift table.
9185
45db99c7
UD
91862010-10-03 Ulrich Drepper <drepper@gmail.com>
9187
3b111893
UD
9188 [BZ #12005]
9189 * malloc/mcheck.c: Handle large requests.
9190
45db99c7
UD
9191 [BZ #12077]
9192 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9193 for strncmp and strncasecmp.
9194 * string/stratcliff.c: Add tests for strcmp and strncmp.
9195 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9196
cf7a1eb8
NI
91972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9198
9199 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9200 __set_fpscr.
9201
6484ba5e
AJ
92022010-09-30 Andreas Jaeger <aj@suse.de>
9203
9204 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9205 (CGROUP_SUPER_MAGIC): Define.
9206 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9207 Handle btrfs and cgroup file systems.
9208 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9209 Likewise.
9210
91c42559
LM
92112010-09-27 Luis Machado <luisgpm@br.ibm.com>
9212
9213 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9214 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9215
87a97932
AK
92162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9217
9218 [BZ #12067]
9219 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9220 trying to locate the ELF header.
9221
c21cc9bc
AS
92222010-09-27 Andreas Schwab <schwab@redhat.com>
9223
9224 [BZ #11611]
9225 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9226 Mask out sign-bit copies when constructing f_fsid.
9227
315970f6
PB
92282010-09-24 Petr Baudis <pasky@suse.cz>
9229
9230 * debug/stack_chk_fail_local.c: Add missing licence exception.
9231 * debug/warning-nop.c: Likewise.
9232
1ac7a2c7
JM
92332010-09-15 Joseph Myers <joseph@codesourcery.com>
9234
9235 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9236 implementing getdents64 using getdents syscall, set d_type if
9237 __ASSUME_GETDENTS32_D_TYPE.
9238
56801c50
AS
92392010-09-16 Andreas Schwab <schwab@redhat.com>
9240
9241 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9242 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9243
dda51327
UD
92442010-09-21 Ulrich Drepper <drepper@redhat.com>
9245
9246 [BZ #12037]
9247 * posix/unistd.h: Undo change of feature selection for ftruncate from
9248 2010-01-11.
9249
8ffcee4a
UD
92502010-09-20 Ulrich Drepper <drepper@redhat.com>
9251
a545ecd9 9252 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9253 detection.
9254
e24f0a8b
AS
92552010-09-20 Andreas Schwab <schwab@redhat.com>
9256
9257 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9258 fanotify_mark.
9259 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9260
7291c56f
AS
92612010-09-14 Andreas Schwab <schwab@redhat.com>
9262
9263 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9264 variables after CHECK_SP call.
9265 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9266
bc5fb037
AS
92672010-09-13 Andreas Schwab <schwab@redhat.com>
9268 Ulrich Drepper <drepper@redhat.com>
9269
9270 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9271 re-relocationg ld.so.
9272 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9273 _dl_init_paths call.
9274 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9275 here anymore.
9276
e66e7419
UD
92772010-09-14 Ulrich Drepper <drepper@redhat.com>
9278
9279 * resolv/res_init.c (__res_vinit): Count the default server we added.
9280
c044aa75
CLT
92812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9282 Ulrich Drepper <drepper@redhat.com>
9283
9284 [BZ #11968]
9285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9286 (____longjmp_chk): Use %ebx for saving value across system call.
9287 Add unwind info.
9288
32cf4069
AS
92892010-09-06 Andreas Schwab <schwab@redhat.com>
9290
9291 * manual/Makefile: Don't mix pattern rules with normal rules.
9292
817328ee
AS
92932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9294
9295 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9296 operation.
9297 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9298 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9299 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9300 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9302 Likewise.
9303
29fddf61
UD
93042010-09-04 Ulrich Drepper <drepper@redhat.com>
9305
9306 [BZ #11979]
9307 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9308 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9309
0959ffc9
UD
93102010-09-02 Ulrich Drepper <drepper@redhat.com>
9311
9312 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9313 * sysdeps/x86_64/addmul_1.S: Likewise.
9314 * sysdeps/x86_64/lshift.S: Likewise.
9315 * sysdeps/x86_64/mul_1.S: Likewise.
9316 * sysdeps/x86_64/rshift.S: Likewise.
9317 * sysdeps/x86_64/sub_n.S: Likewise.
9318 * sysdeps/x86_64/submul_1.S: Likewise.
9319
ece29840
ST
93202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9321
0959ffc9
UD
9322 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9323 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9324 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9325 * bits/sched.h [__need_schedparam]
ece29840 9326 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9327 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9328 (__defined_schedparam): Define to 1.
ece29840
ST
9329 (__sched_param): New structure, identical to sched_param.
9330 (__need_schedparam): Undefine.
9331
e53a31fe
MF
93322010-08-31 Mike Frysinger <vapier@gentoo.org>
9333
fdc0c10d
MF
9334 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9335 (epoll_create1): Declare.
9336
e53a31fe
MF
9337 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9338
a726d796
AS
93392010-08-31 Andreas Schwab <schwab@redhat.com>
9340
9341 [BZ #7066]
9342 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9343 shifting retval into place.
9344
2f3e3dc7
UD
93452010-09-01 Ulrich Drepper <drepper@redhat.com>
9346
f2933da9
UD
9347 * nis/rpcsvc/nis.h: Update copyright notice.
9348 * nis/rpcsvc/nis.x: Likewise.
9349 * nis/rpcsvc/nis_callback.h: Likewise.
9350 * nis/rpcsvc/nis_callback.x: Likewise.
9351 * nis/rpcsvc/nis_object.x: Likewise.
9352 * nis/rpcsvc/nis_tags.h: Likewise.
9353 * nis/rpcsvc/yp.h: Likewise.
9354 * nis/rpcsvc/yp.x: Likewise.
9355 * nis/rpcsvc/ypupd.h: Likewise.
9356 * nis/yp_xdr.c: Likewise.
9357 * nis/ypupdate_xdr.c: Likewise.
9358
2f3e3dc7
UD
9359 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9360 mainly the body of pmap_getport. Add parameters to specify timeouts.
9361 (pmap_getport): Use __libc_rpc_getport.
9362 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9363 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9364 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9365
f3dcc2f9
AS
93662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9367
9368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9369 fanotify_mark.
9370
6d34eb5b
RM
93712010-08-27 Roland McGrath <roland@redhat.com>
9372
9373 * sysdeps/i386/i686/multiarch/Makefile
9374 (CFLAGS-varshift.c): New variable.
9375
9ea3de11
UD
93762010-08-27 Ulrich Drepper <drepper@redhat.com>
9377
c96d23fc
UD
9378 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9379 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9380
9ea3de11
UD
9381 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9382
9383 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9384
623aac7f
L
93852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9386
9387 * sysdeps/x86_64/strlen.S: Unroll the loop.
9388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9389 strlen-sse2 strlen-sse2-bsf.
9390 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9391 __strlen_no_bsf if bit_Slow_BSF is set.
9392 (__strlen_sse42): Removed.
9393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9394 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9395
8b2b7715
RM
93962010-08-25 Roland McGrath <roland@redhat.com>
9397
9398 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9399 * sysdeps/x86_64/multiarch/varshift.c: New file.
9400 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9401 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9402 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9403 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9404
e73015f2
L
94052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9406
9407 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9408 strlen-sse2 strlen-sse2-bsf.
9409 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9410 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9411 (__strlen_sse2): Removed.
9412 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9415 bit_Slow_BSF for Atom.
9416 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9417 (index_Slow_BSF): Define.
9418 (HAS_SLOW_BSF): Define.
9419
df24a73e
UD
94202010-08-25 Ulrich Drepper <drepper@redhat.com>
9421
9422 [BZ #10851]
9423 * resolv/res_init.c (__res_vinit): When no server address at all
9424 is given default to loopback.
9425
f2ac4868
RM
94262010-08-24 Roland McGrath <roland@redhat.com>
9427
09055553
RM
9428 * configure.in: Remove config-name.h generation.
9429 * configure: Regenerated.
9430 * config-name.in: File removed.
9431 * scripts/config-uname.sh: New file.
9432 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9433 ($(objdir)config-name.h): New target.
9434
f2ac4868
RM
9435 * sunrpc/rpc_parse.h: Avoid nested comment.
9436
73f27d5e
RH
94372010-08-24 Richard Henderson <rth@redhat.com>
9438 Ulrich Drepper <drepper@redhat.com>
9439 H.J. Lu <hongjiu.lu@intel.com>
9440
9441 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9443 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9444 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9445 _mm_alignr_epi8 with _mm_loadu_si128.
9446 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9447 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9448 (__m128i_shift_right): Removed.
9449 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9450 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9451 * sysdeps/x86_64/multiarch/varshift.h: New file.
9452 * sysdeps/x86_64/multiarch/varshift.S: New file.
9453
84b9230c
MF
94542010-08-21 Mike Frysinger <vapier@gentoo.org>
9455
9456 * configure.in: Move assembler checks to before sysdep dir checking.
9457
9bbd0ddc
PB
94582010-08-20 Petr Baudis <pasky@suse.cz>
9459
9460 * LICENSES: Sync the sunrpc license.
9461
9da4bb31
UD
94622010-08-19 Ulrich Drepper <drepper@redhat.com>
9463
a7ab6ec8
UD
9464 * sunrpc/auth_des.c: Update copyright notice once again.
9465 * sunrpc/auth_none.c: Likewise.
9466 * sunrpc/auth_unix.c: Likewise.
9467 * sunrpc/authdes_prot.c: Likewise.
9468 * sunrpc/authuxprot.c: Likewise.
9469 * sunrpc/bindrsvprt.c: Likewise.
9470 * sunrpc/clnt_gen.c: Likewise.
9471 * sunrpc/clnt_perr.c: Likewise.
9472 * sunrpc/clnt_raw.c: Likewise.
9473 * sunrpc/clnt_simp.c: Likewise.
9474 * sunrpc/clnt_tcp.c: Likewise.
9475 * sunrpc/clnt_udp.c: Likewise.
9476 * sunrpc/clnt_unix.c: Likewise.
9477 * sunrpc/des_crypt.c: Likewise.
9478 * sunrpc/des_soft.c: Likewise.
9479 * sunrpc/get_myaddr.c: Likewise.
9480 * sunrpc/getrpcport.c: Likewise.
9481 * sunrpc/key_call.c: Likewise.
9482 * sunrpc/key_prot.c: Likewise.
9483 * sunrpc/openchild.c: Likewise.
9484 * sunrpc/pm_getmaps.c: Likewise.
9485 * sunrpc/pm_getport.c: Likewise.
9486 * sunrpc/pmap_clnt.c: Likewise.
9487 * sunrpc/pmap_prot.c: Likewise.
9488 * sunrpc/pmap_prot2.c: Likewise.
9489 * sunrpc/pmap_rmt.c: Likewise.
9490 * sunrpc/rpc/auth.h: Likewise.
9491 * sunrpc/rpc/auth_unix.h: Likewise.
9492 * sunrpc/rpc/clnt.h: Likewise.
9493 * sunrpc/rpc/des_crypt.h: Likewise.
9494 * sunrpc/rpc/key_prot.h: Likewise.
9495 * sunrpc/rpc/netdb.h: Likewise.
9496 * sunrpc/rpc/pmap_clnt.h: Likewise.
9497 * sunrpc/rpc/pmap_prot.h: Likewise.
9498 * sunrpc/rpc/pmap_rmt.h: Likewise.
9499 * sunrpc/rpc/rpc.h: Likewise.
9500 * sunrpc/rpc/rpc_des.h: Likewise.
9501 * sunrpc/rpc/rpc_msg.h: Likewise.
9502 * sunrpc/rpc/svc.h: Likewise.
9503 * sunrpc/rpc/svc_auth.h: Likewise.
9504 * sunrpc/rpc/types.h: Likewise.
9505 * sunrpc/rpc/xdr.h: Likewise.
9506 * sunrpc/rpc_clntout.c: Likewise.
9507 * sunrpc/rpc_cmsg.c: Likewise.
9508 * sunrpc/rpc_common.c: Likewise.
9509 * sunrpc/rpc_cout.c: Likewise.
9510 * sunrpc/rpc_dtable.c: Likewise.
9511 * sunrpc/rpc_hout.c: Likewise.
9512 * sunrpc/rpc_main.c: Likewise.
9513 * sunrpc/rpc_parse.c: Likewise.
9514 * sunrpc/rpc_parse.h: Likewise.
9515 * sunrpc/rpc_prot.c: Likewise.
9516 * sunrpc/rpc_sample.c: Likewise.
9517 * sunrpc/rpc_scan.c: Likewise.
9518 * sunrpc/rpc_scan.h: Likewise.
9519 * sunrpc/rpc_svcout.c: Likewise.
9520 * sunrpc/rpc_tblout.c: Likewise.
9521 * sunrpc/rpc_util.c: Likewise.
9522 * sunrpc/rpc_util.h: Likewise.
9523 * sunrpc/rpcinfo.c: Likewise.
9524 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9525 * sunrpc/rpcsvc/key_prot.x: Likewise.
9526 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9527 * sunrpc/rpcsvc/mount.x: Likewise.
9528 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9529 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9530 * sunrpc/rpcsvc/rex.x: Likewise.
9531 * sunrpc/rpcsvc/rstat.x: Likewise.
9532 * sunrpc/rpcsvc/rusers.x: Likewise.
9533 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9534 * sunrpc/rpcsvc/spray.x: Likewise.
9535 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9536 * sunrpc/rtime.c: Likewise.
9537 * sunrpc/svc.c: Likewise.
9538 * sunrpc/svc_auth.c: Likewise.
9539 * sunrpc/svc_authux.c: Likewise.
9540 * sunrpc/svc_raw.c: Likewise.
9541 * sunrpc/svc_run.c: Likewise.
9542 * sunrpc/svc_simple.c: Likewise.
9543 * sunrpc/svc_tcp.c: Likewise.
9544 * sunrpc/svc_udp.c: Likewise.
9545 * sunrpc/svc_unix.c: Likewise.
9546 * sunrpc/svcauth_des.c: Likewise.
9547 * sunrpc/xcrypt.c: Likewise.
9548 * sunrpc/xdr.c: Likewise.
9549 * sunrpc/xdr_array.c: Likewise.
9550 * sunrpc/xdr_float.c: Likewise.
9551 * sunrpc/xdr_mem.c: Likewise.
9552 * sunrpc/xdr_rec.c: Likewise.
9553 * sunrpc/xdr_ref.c: Likewise.
9554 * sunrpc/xdr_sizeof.c: Likewise.
9555 * sunrpc/xdr_stdio.c: Likewise.
9556
9da4bb31
UD
9557 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9558 handling.
9559
bdaa77bc
AS
95602010-08-19 Andreas Schwab <schwab@redhat.com>
9561
9562 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9563
fe2f79db
LM
95642010-08-19 Luis Machado <luisgpm@br.ibm.com>
9565
9566 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9567 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9568 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9569 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9570 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9571 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9572 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9573 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9574 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9575 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9576 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9577 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9578 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9579 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9580
b9b42ee0
AB
95812010-07-26 Anton Blanchard <anton@samba.org>
9582
9583 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9584 * malloc/arena.c (heap_trim): Likewise.
9585
1c06ba31
UD
95862010-08-16 Ulrich Drepper <drepper@redhat.com>
9587
9588 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9589 here. Not...
9590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9591 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9592
f8392f40
L
95932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9594
9595 * sysdeps/i386/elf/Makefile: New file.
9596
3162f12e
AS
95972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9598
9599 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9600 from fanotify_init.
9601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9603
28c90b2c
UD
96042010-08-15 Ulrich Drepper <drepper@redhat.com>
9605
9606 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9607 of strncasecmp_l.
1feccb6c 9608 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9609
ca6bb004
UD
96102010-08-14 Ulrich Drepper <drepper@redhat.com>
9611
e9f82e0d
UD
9612 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9613 strncase_l-nonascii.
9614 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9615 Add strncase_l-ssse3.
9616 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9617 * sysdeps/x86_64/strcmp.S: Likewise.
9618 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9619 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9620 * sysdeps/x86_64/strncase.S: New file.
9621 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9622 * sysdeps/x86_64/strncase_l.S: New file.
9623 * string/Makefile (strop-tests): Add strncasecmp.
9624 * string/test-strncasecmp.c: New file.
9625
9626 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9627 warning.
9628
ca6bb004
UD
9629 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9630 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9631
052fa7b3
AS
96322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9633
9634 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9635
962dba78
UD
96362010-08-12 Ulrich Drepper <drepper@redhat.com>
9637
9638 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9639 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9640 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9641
bebff237
AM
96422010-05-01 Alan Modra <amodra@gmail.com>
9643
9644 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9645 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9646 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9647 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9648 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9649 tidying. Don't tail-call __sigjmp_save for static lib.
9650 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9651 save location.
9652 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9653 (CALL_MCOUNT): Add eh info, and nop after bl.
9654 (TAIL_CALL_SYSCALL_ERROR): New macro.
9655 (PSEUDO_RET): Use it.
9656 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9657 Correct save location of integer regs and cr.
9658 (_dl_profile_resolve): Correct cr save location. Delete nops
9659 after bl when SHARED. Reduce cfi size a little by better
9660 placement of cfi directives.
9661 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9662 make a stack frame. Instead use parm save area as a temp.
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9664 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9666 Don't make a stack frame for parent, use parm save area.
9667 Increase child stack frame to 112 bytes. Don't save unused reg,
9668 and adjust reg usage. Set up cfi on error recovery and
9669 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9671 (__makecontext): Add dummy nop after jump to exit.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9673 Use correct parm save area and cr save, reduce stack frame.
9674 Correct cfi for possible PSEUDO_RET frame setup.
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9676 Branch to local label emitted by PSEUDO_RET rather than
9677 __syscall_error.
9678
02637374
AS
96792010-08-12 Andreas Schwab <schwab@redhat.com>
9680
9681 [BZ #11904]
9682 * locale/programs/locale.c (print_assignment): New function.
9683 (show_locale_vars): Use it.
9684
c3e2f19b
UD
96852010-08-11 Ulrich Drepper <drepper@redhat.com>
9686
3cdaa6ad
UD
9687 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9688 field.
9689 (struct statfs64): Likewise.
9690 (_STATFS_F_FLAGS): Define.
9691 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9692 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9693 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9694 (ST_VALID): Define locally.
9695 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9696 __statvfs_getflags, use the provided value.
9697 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9698 __ASSUME_STATFS_F_FLAGS.
9699
754f7da3
UD
9700 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9701
10b3bedc
UD
9702 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9703 Add sys/fanotify.h.
9704 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9705 fanotify_mask for GLIBC_2.13.
9706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9707 fanotify_init and fanotify_mark.
9708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9709 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9710
c08fb0d7
UD
9711 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9712 Add prlimit.
9713 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9714 prlimit64 for GLIBC_2.13.
9715 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9716 prlimit64.
9717 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9718 syscall.
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9720 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9721 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9722 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9724 add prlimit alias.
9725 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9726
15bac72b
UD
9727 [BZ #11903]
9728 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9729 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9730
c3e2f19b
UD
9731 * nss/Makefile: Add rules to build and run tst-nss-test1.
9732 * shlib-versions: Add entry for libnss_test1.
9733 * nss/nss_test1.c: New file.
9734 * nss/tst-nss-test1.c: New file.
9735
9736 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9737 (__nss_configure_lookup): Set appropriate entry in
9738 __nss_configure_lookup to true.
9739 * nss/nsswitch.h: Define enum with indeces of databases in
9740 databases and __nss_database_custom arrays. Declare
9741 __nss_database_custom.
9742 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9743 to avoid using nscd when custom rules are installed.
9744 * nss/getXXbyYY_r.c: Likewise.
9745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9746
9747 * nss/nss_files/files-parse.c: Whitespace fixes.
9748
f15ce4d8
UD
97492010-08-09 Ulrich Drepper <drepper@redhat.com>
9750
9751 [BZ #11883]
9752 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9753 * posix/fnmatch_loop.c: Likewise.
9754
d22e4cc9
AK
97552010-07-17 Andi Kleen <ak@linux.intel.com>
9756
9757 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9758 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9759 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9760 * Versions.def [GLIBC_2.13]: Add.
9761
805bc17d
UD
97622010-08-06 Ulrich Drepper <drepper@redhat.com>
9763
9764 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9765 Also fail if tpwd after pwuid call is NULL.
9766
5a42321d
ST
97672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9768
9769 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9770 when converting to ms.
9771
fd3ebeda
ST
97722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9773
9774 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9775 EOPNOTSUPP errors with ENOTTY.
9776 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9777 EOPNOTSUPP errors with ENOTTY.
9778
73507d3a
UD
97792010-07-31 Ulrich Drepper <drepper@redhat.com>
9780
9781 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9782 Add strcasecmp_l-ssse3.
9783 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9784 strcasecmp.
9785 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9786 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9787 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9788
fe36dd02
UD
97892010-07-30 Ulrich Drepper <drepper@redhat.com>
9790
66f6765a
UD
9791 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9792
42e08a54
UD
9793 * string/Makefile (strop-tests): Add strcasecmp.
9794 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9795 strcasecmp_l-nonascii.
9796 (gen-as-const-headers): Add locale-defines.sym.
9797 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9798 * sysdeps/x86_64/strcasecmp.S: New file.
9799 * sysdeps/x86_64/strcasecmp_l.S: New file.
9800 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9801 * sysdeps/x86_64/locale-defines.sym: New file.
9802 * string/test-strcasecmp.c: New file.
9803
fe36dd02
UD
9804 * string/test-strcasestr.c: Test both ends of the range of characters.
9805 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9806
48cbc0d6
RM
98072010-07-29 Roland McGrath <roland@redhat.com>
9808
76e6d6bc 9809 [BZ #11856]
48cbc0d6
RM
9810 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9811
880113d9
UD
98122010-07-27 Ulrich Drepper <drepper@redhat.com>
9813
9814 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9815 for ld.so.
9816
deb9cabb
AS
98172010-07-27 Andreas Schwab <schwab@redhat.com>
9818
9819 * manual/memory.texi (Malloc Tunable Parameters): Document
9820 M_PERTURB.
9821
1c7570ff
RM
98222010-07-26 Roland McGrath <roland@redhat.com>
9823
9824 [BZ #11840]
9825 * configure.in (-fgnu89-inline check): Set and substitute
9826 gnu89_inline, not libc_cv_gnu89_inline.
9827 * configure: Regenerated.
9828 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9829
24fb0f88
UD
98302010-07-26 Ulrich Drepper <drepper@redhat.com>
9831
9832 * string/test-strnlen.c: New file.
9833 * string/Makefile (strop-tests): Add strnlen.
9834 * string/tester.c (test_strnlen): Add a few more test cases.
9835 * string/tst-strlen.c: Better error reporting.
9836
9837 * sysdeps/x86_64/strnlen.S: New file.
9838
8e96b93a
UD
98392010-07-24 Ulrich Drepper <drepper@redhat.com>
9840
9841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9842 lower-latency instructions.
9843
dbc676d4
UD
98442010-07-23 Ulrich Drepper <drepper@redhat.com>
9845
9846 * string/test-strcasestr.c: New file.
9847 * string/test-strstr.c: New file.
9848 * string/Makefile (strop-tests): Add strstr and strcasestr.
9849 * string/str-two-way.h: Don't undefine MAX.
9850 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9851
f6a31e0e
AS
98522010-07-21 Andreas Schwab <schwab@redhat.com>
9853
9854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9855 strcasestr-nonascii.
9856 (CFLAGS-strcasestr-nonascii.c): Define.
9857 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9858 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9859 Remove unused attribute.
9860
5dbc3b6c
RM
98612010-07-20 Roland McGrath <roland@redhat.com>
9862
9863 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9864 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9865 ld.so.cache was broken. With it, there is no way to disable dsocaps
9866 like LD_HWCAP_MASK can disable hwcaps.
9867
23d101d8
EPM
98682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9869
9870 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9871
cc9f2e47
UD
98722010-07-16 Ulrich Drepper <drepper@redhat.com>
9873
9874 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9875 call in strcasestr.
9876 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9877 __strcasestr_sse42_nonascii.
9878 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9879 strcasestr-nonascii.c.
9880 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9881
77c1b069
LM
98822010-06-15 Luis Machado <luisgpm@br.ibm.com>
9883
9884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9885 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9886 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9887 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9888
440566c3
UD
98892010-07-09 Ulrich Drepper <drepper@redhat.com>
9890
9891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9892 fcntl.
9893
5be9d05d
AS
98942010-07-06 Andreas Schwab <schwab@redhat.com>
9895
c30b7ee2 9896 [BZ #11577]
5be9d05d
AS
9897 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9898 dl_signal_cerror.
9899
8a492a67
UD
99002010-07-06 Ulrich Drepper <drepper@redhat.com>
9901
9902 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9903 _PC_PIPE_BUF using F_GETPIPE_SZ.
9904
713df3d5
RM
99052010-07-05 Roland McGrath <roland@redhat.com>
9906
9907 * manual/arith.texi (Rounding Functions): Fix rint description
9908 implicit in round description.
9909
702e8f14
UD
99102010-07-02 Ulrich Drepper <drepper@redhat.com>
9911
9912 * elf/Makefile: Fix linking for a few tests to make recent linker
9913 happy.
9914
52ed8be9
AS
99152010-06-30 Andreas Schwab <schwab@redhat.com>
9916
9917 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9918 $(common-objpfx)libc_nonshared.a.
9919
f47c9a11
LM
99202010-06-21 Luis Machado <luisgpm@br.ibm.com>
9921
9922 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9923 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9924 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9925 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9926 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9927 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9928 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9929 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9944 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9945 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9946 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9947 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9948 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9949 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9950 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9951 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9952 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9953 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9954 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9955 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9970
6fb8cbcb
L
99712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9972
9973 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9974 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9975 * string/memmove.c (memmove): Renamed to ...
9976 (MEMMOVE): ...this. Default to memmove.
9977 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9978 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9979 (END_CHK): Define.
9980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9981 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9982 mempcpy-ssse3-back memmove-ssse3-back.
9983 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9986 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9987 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9988 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9989 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9990 * sysdeps/x86_64/multiarch/memmove.c: New file.
9991 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9992 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9993 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9994 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9995 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9997 Define.
9998 (index_Fast_Copy_Backward): Define.
9999 (HAS_ARCH_FEATURE): Define.
10000 (HAS_FAST_REP_STRING): Define.
10001 (HAS_FAST_COPY_BACKWARD): Define.
10002
4e733bac 100032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10004
10005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10006 Restore proper fallback handling.
10007
63c4ed22
UD
100082010-06-19 Ulrich Drepper <drepper@redhat.com>
10009
ac2b484c
UD
10010 [BZ #11701]
10011 * posix/group_member.c (__group_member): Correct checking loop.
10012
63c4ed22
UD
10013 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10014 OOM in getpwuid_r correctly. Return error number when the caller
10015 should return, otherwise -1.
10016 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10017 call returning > 0 value.
10018 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10019
765ade4b
AS
100202010-06-07 Andreas Schwab <schwab@redhat.com>
10021
10022 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10023 libc_nonshared.a from targets in modules-names.
10024
80da2e09
KS
100252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10026
10027 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10028 requires it.
10029
158db122
LM
100302010-06-10 Luis Machado <luisgpm@br.ibm.com>
10031
10032 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10033 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10036
caa78cf8
AS
100372010-06-02 Andreas Schwab <schwab@redhat.com>
10038
10039 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10040
b2ef2c01
UD
100412010-06-14 Ulrich Drepper <drepper@redhat.com>
10042
10043 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10044 and F_GETPIPE_SZ.
10045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10050 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10051
fbd643b6
RM
100522010-06-14 Roland McGrath <roland@redhat.com>
10053
10054 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10055
f32f2869
JJ
100562010-06-07 Jakub Jelinek <jakub@redhat.com>
10057
10058 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10059 __REDIRECT followed by __THROW.
10060 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10061 * posix/getopt.h (getopt): Likewise.
10062
2a50c078
EPM
100632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10064
10065 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10066 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10067 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10068 in AT_FLAGS.
10069 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10070 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10071
eb5ad2eb
LM
100722010-05-28 Luis Machado <luisgpm@br.ibm.com>
10073
10074 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10075
3c88fe1e
L
100762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10077
10078 [BZ #11640]
10079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10080 Properly check family and model.
10081
d2f73151
TY
100822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10083
10084 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10085
ebd2e13d
LM
100862010-05-24 Luis Machado <luisgpm@br.ibm.com>
10087
10088 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10089
b32b8b45
UD
100902010-05-21 Ulrich Drepper <drepper@redhat.com>
10091
10092 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10093 symbol reference.
10094
9acbe24d
AS
100952010-05-19 Andreas Schwab <schwab@redhat.com>
10096
10097 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10098 symbol reference.
10099
f0ccf6ea
AS
101002010-05-21 Andreas Schwab <schwab@redhat.com>
10101
3d04ff3a
AS
10102 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10103 and internal_recvmmsg.
10104 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10105 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10106 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10107 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10108
f0ccf6ea
AS
10109 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10110 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10111 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10112
5b08ac57
AS
101132010-05-20 Andreas Schwab <schwab@redhat.com>
10114
10115 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10116
4828935d
LM
101172010-05-17 Luis Machado <luisgpm@br.ibm.com>
10118
10119 POWER7 optimizations.
10120 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10121 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10122
373d545e
UD
101232010-05-19 Ulrich Drepper <drepper@redhat.com>
10124
10125 * version.h: Update for 2.13 development version.
10126
21a2b1ae
AS
101272010-05-12 Andrew Stubbs <ams@codesourcery.com>
10128
10129 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10130 exceptions. Return 0.
10131
3f7dcb2b
RM
101322010-05-07 Roland McGrath <roland@redhat.com>
10133
10134 * elf/ldconfig.c (main): Add a const.
10135
5f24d53a 101362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10137
a160f8d8
UD
10138 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10139 (args_options): Add no-idn option.
10140 (ahosts_keys_int): Add idn_flags to ai_flags.
10141 (parse_option): Handle 'i' option to clear idn_flags.
10142
5f24d53a
UD
10143 * malloc/malloc.c (_int_free): Possible race in the most recently
10144 added check. Only act on the data if no current modification
10145 happened.
265bb1ce
UD
10146
10147See ChangeLog.17 for earlier changes.