]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use correct implementation for dl-fxstatat64 on sparc64.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
09a3453f
DM
12012-03-13 David S. Miller <davem@davemloft.net>
2
10f62770
DM
3 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4
5f0bdb18
DM
5 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6 'err' in the ifdef scope in which it is actually used.
7
09a3453f
DM
8 * nss/nss_db/db-init.c: Include string.h
9
b4b2eb5e
DM
102012-03-12 David S. Miller <davem@davemloft.net>
11
98bb2f1c
DM
12 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13 masking out of the most significant byte of random value used.
14 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15 Fix coding style in previous change.
16
b4b2eb5e
DM
17 * sysdeps/unix/sysv/linux/kernel-features.h
18 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20 expression.
21 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22 later.
23
6e226b09
DM
242012-03-11 David S. Miller <davem@davemloft.net>
25
a1bcbd40
DM
26 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29 for 'resultvar' otherwise things get truncated on 64-bit.
30
cb9d6174
DM
31 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32 Fix masking out of the most significant byte of random value used.
33
6e226b09
DM
34 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35
058c132d
AS
362012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37
38 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39
2d2cd515
DM
402012-03-09 David S. Miller <davem@davemloft.net>
41
42 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43 variables with appropriate CPP guards.
44 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
45 frame pointer, not the stack pointer. Correct layout comments. Fix test
46 on resulting framesize and the management of the outregs buffer for pltexit.
47 Preserve floating point return values across _dl_call_pltexit call.
48 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49 framesize and the management of the outregs buffer for pltexit.
50 Preserve floating point return values across _dl_call_pltexit
51 call.
52 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
53 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
54 (print_exit): Fix format string for return register value.
55
9a07f9d0
JM
562012-03-10 Joseph Myers <joseph@codesourcery.com>
57
58 * sunrpc/Makefile (others): Add rpcgen.
59 ($(objpfx)rpcgen): Remove special build rule and dependency on
60 libc.
61 * sunrpc/rpcgen.c: New file.
62
547b5e30
PE
632012-03-09 Paul Eggert <eggert@cs.ucla.edu>
64
c524201a
PE
65 [BZ #13673]
66 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67 * stdio-common/bug-vfprintf-nargs.c: Likewise.
68 * sysdeps/i386/crti.S: Likewise.
69 * sysdeps/i386/crtn.S: Likewise.
70 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
74 * sysdeps/sh/crti.S: Likewise.
75 * sysdeps/sh/crtn.S: Likewise.
76 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77
7b6235f2
PE
78 [BZ #13673]
79 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80 with URL.
81 * locale/programs/locfile-kw.gperf: Likewise.
82 * locale/programs/charmap-kw.h: Regenerated.
83 * locale/programs/locfile-kw.h: Likewise.
84
547b5e30
PE
85 [BZ #13673]
86 * intl/plural.y: Replace FSF snail mail address with URL.
87 * intl/plural.c: Regenerated.
88
5f0a5dae
RH
892012-03-09 Richard Henderson <rth@twiddle.net>
90
91 * include/math_private.h: Remove file.
92 * math/math_private.h: Move file ...
93 * sysdeps/generic/math_private.h: ... here.
94
b8c03620
RH
95 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
96 * sysdeps/powerpc/fpu/math_private.h: Likewise.
97 * sysdeps/x86_64/fpu/math_private.h: Likewise.
98
4e234f5d 99 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
100 and <math_private.h>.
101 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
102 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
103 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
104 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
105 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
106 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
107 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
109 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
110 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
112 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
113 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
115 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
116 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
118 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
119 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
120 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
122 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
123 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
125 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
126 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
127 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
128 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
131 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
132 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
133 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
135 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
136 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
137 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
138 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
139 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
141 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
142 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
143 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
144 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
145 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
147 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
148 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
150 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
151 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
152 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
153 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
154 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
155 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
156 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
157 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
158 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
159 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
160 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
162 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
164 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
165 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
169 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
170 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
171 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
172 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
173 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
174 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
175 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
180 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
181 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
183 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
184 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
185 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
187 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
188 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
189 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
192 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
193 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
194 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
195 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
196 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
198 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
199 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
200 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
201 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
202 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
203 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
204 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
205 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
206 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
207 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
208 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
213 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
214 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
215 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
216 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
217 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
218 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
219 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
220 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
221 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
222 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
223 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
224 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
225 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
226 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
227 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
228 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
229 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
230 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
231 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
232 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
233 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
234 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
235 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
236 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
237 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
238 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
239 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
240 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
241 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
242 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
243 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
244 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
245 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
246 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
247 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
248 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
249 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
250 * sysdeps/ieee754/k_standard.c: Likewise.
251 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
252 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
254 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
255 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
256 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
257 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
258 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
259 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
260 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
261 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
262 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
263 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
264 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
265 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
266 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
267 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
268 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
269 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
270 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
271 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
272 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
273 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
275 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
276 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
277 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
278 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
279 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
280 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
281 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
282 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
283 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
284 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
285 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
286 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
287 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
288 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
289 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
290 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
291 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
292 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
293 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
294 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
295 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
296 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
297 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
299 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
301 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
302 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
303 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
304 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
307 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
308 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
309 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
310 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
311 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
312 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
313 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
314 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
317 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
318 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
319 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
321 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
322 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
323 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
324 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
325 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
327 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
328 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
330 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
331 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
332 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
333 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
334 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
335 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
336 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
337 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
338 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
339 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
341 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
342 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
343 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
344 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
347 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
348 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
349 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
350 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
352 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
354 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
355 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
358 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
359 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
361 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
362 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
363 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
365 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
366 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
367 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
369 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
370 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
371 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
372 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
373 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
374 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
375 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
376 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
377 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
378 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
379 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
380 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
381 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
382 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
383 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
384 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
385 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
387 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
388 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
389 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
390 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
391 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
393 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
394 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
395 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
396 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
397 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
398 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
399 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
400 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
401 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
402 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
403 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
404 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
405 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
406 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
407 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
408 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
409 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
410 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
411 * sysdeps/ieee754/s_lib_version.c: Likewise.
412 * sysdeps/ieee754/s_matherr.c: Likewise.
413 * sysdeps/ieee754/s_signgam.c: Likewise.
414 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
415 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
416 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
417 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
418 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
419 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
420 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
421 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
422 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
423 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
424 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
425 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
426 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
428 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
429 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
430 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
431 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
432 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
434 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 435
1991fa03
JM
4362012-03-09 Joseph Myers <joseph@codesourcery.com>
437
438 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
439 * sunrpc/rpc_main.c: Likewise.
440 * sunrpc/rpc_svcout.c: Likewise.
441
60d6f5a6
DM
4422012-03-09 David S. Miller <davem@davemloft.net>
443
444 * include/math_private.h: New file.
445
4962050e
JM
4462012-03-09 Joseph Myers <joseph@codesourcery.com>
447
02a6f887
JM
448 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
449 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
450 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
451 from <bits/socket_type.h>.
452 (enum __socket_type): Don't define here.
453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
455 bits/socket_type.h.
456
c6e013c1
JM
457 [BZ #13566]
458 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
459 checking __USE_GNU.
460
4962050e
JM
461 * Makerules ($(inst_includedir)/%.h): New rule.
462 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
463 (install-others): Remove variable setting.
464 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
465
38842f45
RH
4662012-03-08 Richard Henderson <rth@twiddle.net>
467
67bb6da6
RH
468 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
469 from macro to inline function; merge with the
470 !__LIBC_INTERNAL_MATH_INLINES version.
471 (__ieee754_sqrtf): Likewise.
472
15194b4b
RH
473 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
474 to inline function.
475 (__rintf, __floor, __floorf): Likewise.
476
64e21ede
RH
477 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
478 macro to inline function.
479 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
480
38842f45
RH
481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
482 not <math/math_private.h>.
483
c64bf5fe
DM
4842012-03-08 David S. Miller <davem@davemloft.net>
485
486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
487 copyright year.
488 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
489
82d86f28
TS
4902012-03-08 Thomas Schwinge <thomas@codesourcery.com>
491
492 * resolv/gai_misc.c (handle_requests): Fix struct timespec
493 normalization.
494 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
495 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
496
aea5d727
UD
4972012-03-08 Ulrich Drepper <drepper@gmail.com>
498
499 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
500 be defined individually, they must be defined as a block. Define
501 S for printing a string instead of hidint the different by using a
502 macro for adding the 'l'.
503 * stdio-common/tst-fphex-wide.c: Adjust.
504
70bca0a3
MP
5052012-03-07 Marek Polacek <polacek@redhat.com>
506
507 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
508
65b81130
MP
5092012-03-08 Marek Polacek <polacek@redhat.com>
510
511 [BZ #13806]
512 * stdio-common/Makefile (tests): Add tst-fphex-wide.
513 * stdio-common/tst-fphex.c: Define a few macros to make the
514 test reusable. Use them.
515 * stdio-common/tst-fphex-wide.c: New file.
516
07037eeb
JM
5172012-03-08 Joseph Myers <joseph@codesourcery.com>
518
a7a93d50
JM
519 [BZ #6911]
520 * manual/macros.texi (gnusystems): New macro.
521 (nongnusystems): Likewise.
522 (gnulinuxhurdsystems): Likewise.
523 (gnuhurdsystems): Likewise..
524 (gnulinuxsystems): Likewise.
525 * manual/charset.texi: Use new macros or @theglibc{} to refer to
526 variants of the GNU system, not "GNU system".
527 * manual/conf.texi: Likewise.
528 * manual/errno.texi: Likewise. Update example of errno macro
529 expansion.
530 * manual/filesys.texi: Likewise.
531 (getumask): Document as specific to GNU/Hurd.
532 * manual/install.texi: Likewise. Reword some references to
533 GNU/Linux.
534 * manual/intro.texi: Likewise.
535 * manual/io.texi: Likewise.
536 (File Name Portability): Detail which constraints are inapplicable
537 to all GNU systems and which are only inapplicable to GNU/Hurd.
538 * manual/job.texi: Likewise.
539 * manual/llio.texi: Likewise.
540 (O_NOCTTY): Document as present on GNU/Linux.
541 * manual/maint.texi: Likewise.
542 * manual/memory.texi: Likewise.
543 * manual/pattern.texi: Likewise.
544 * manual/pipe.texi: Likewise.
545 * manual/process.texi: Likewise.
546 * manual/resource.texi: Likewise.
547 (RUSAGE_CHILDREN): Remove statement about specifying a particular
548 child on GNU/Hurd.
549 * manual/setjmp.texi: Likewise.
550 * manual/signal.texi: Likewise.
551 * manual/startup.texi: Likewise.
552 * manual/stdio.texi: Likewise.
553 * manual/terminal.texi: Likewise.
554 (ONLCR): Document as POSIX.
555 (OXTABS): Document availability on GNU/Linux as XTABS.
556 (ONOEOT): Document availability separately from other bits.
557 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
558 * manual/time.texi: Likewise.
559 * manual/users.texi: Likewise.
560 * INSTALL: Regenerated.
561 * sysdeps/gnu/errlist.c: Regenerated.
562
07037eeb
JM
563 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
564 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
565 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
566 puts.
567 * configure: Regenerated.
568
d1d3431a
JM
5692012-03-07 Joseph Myers <joseph@codesourcery.com>
570
af6a1e37
JM
571 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
572 default includes instead of AC_HEADER_CHECK.
573 * sysdeps/i386/configure: Regenerated.
574
d1d3431a
JM
575 [BZ #10716]
576 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
577 * math/s_cacoshf.c (__cacoshf): Likewise.
578 * math/s_cacoshl.c (__cacoshl): Likewise.
579 * math/s_casinh.c (__casinh): Set signs of result from argument.
580 * math/s_casinhf.c (__casinhf): Likewise.
581 * math/s_casinhl.c (__casinhl): Likewise.
582 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
583 (casinh_test): Add more tests.
584 * sysdeps/i386/fpu/libm-test-ulps: Update.
585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
586
482ff4da
UD
5872012-03-07 Ulrich Drepper <drepper@gmail.com>
588
872fda05
UD
589 * po/zh_TW.po: Update from translation team.
590
a4300c7a
UD
591 * login/Makefile (distribute): Remove variable.
592 * catgets/Makefile: Likewise.
593 * mach/Makefile: Likewise.
594 * malloc/Makefile: Likewise.
595 * misc/Makefile: Likewise.
596 * iconv/Makefile: Likewise.
597 * nscd/Makefile: Likewise.
598 * hurd/Makefile: Likewise.
599 * manual/Makefile: Likewise.
600 * locale/Makefile: Likewise.
601 * intl/Makefile: Likewise.
602 * conform/Makefile: Likewise.
603 * nss/Makefile: Likewise.
604 * time/Makefile: Likewise.
605 * soft-fp/Makefile: Likewise.
606 * dirent/Makefile: Likewise.
607 * gmon/Makefile: Likewise.
608 * po/Makefile: Likewise.
609 * rt/Makefile: Likewise.
610 * socket/Makefile: Likewise.
611 * math/Makefile: Likewise.
612 * signal/Makefile: Likewise.
613 * debug/Makefile: Likewise.
614 * elf/Makefile: Likewise.
615 * timezone/Makefile: Likewise.
616 * stdlib/Makefile: Likewise.
617 * iconvdata/Makefile: Likewise.
618 * sunrpc/Makefile: Likewise.
619 * io/Makefile: Likewise.
620 * argp/Makefile: Likewise.
621 * inet/Makefile: Likewise.
622 * hesiod/Makefile: Likewise.
623 * grp/Makefile: Likewise.
624 * csu/Makefile: Likewise.
625 * wctype/Makefile: Likewise.
626 * crypt/Makefile: Likewise.
627 * libio/Makefile: Likewise.
628 * string/Makefile: Likewise.
629 * nis/Makefile: Likewise.
630 * resolv/Makefile: Likewise.
631 * stdio-common/Makefile: Likewise.
632 * wcsmbs/Makefile: Likewise.
633 * dlfcn/Makefile: Likewise.
634 * posix/Makefile: Likewise.
635
482ff4da
UD
636 * timezone/Makefile: Don't install timezone files, just the programs
637 and scripts.
638
f72ed77d
UD
6392012-03-06 Ulrich Drepper <drepper@gmail.com>
640
a000466f
UD
641 * nss/databases.def: Add missing gshadow entry.
642
f72ed77d
UD
643 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
644
a53b7a4e
MP
6452012-03-06 Marek Polacek <polacek@redhat.com>
646
647 [BZ #13726]
648 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
649 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
650 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
651 * stdio-common/tst-long-dbl-fphex.c: New file.
652
e9258400
DM
6532012-03-06 David S. Miller <davem@davemloft.net>
654
655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
656 (set_obp_int): New function.
657 (get_obp_int): New function.
658 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
660 Avoid unused variable warnings on 'val' and use builtin_expect.
661 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
662 __builtin_expect.
e9258400
DM
663 (INLINE_CLONE_SYSCALL): Likewise.
664
3bd2c723
DM
6652012-03-05 David S. Miller <davem@davemloft.net>
666
667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
668
bbb78d03
AS
6692012-03-05 Andreas Schwab <schwab@linux-m68k.org>
670
884c5db4
AS
671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
672
bbb78d03
AS
673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
674 only for |x| >= 40.
675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
676
1c9f702a 6772012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
678
679 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
680 Replace gettimeofday with __vdso_gettimeofday.
681
7be16f82
RM
682 * sysdeps/unix/sysv/linux/x86_64/init-first.c
683 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
684 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
685
686 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
687 time with __vdso_time.
688
ed58a00f
JM
6892012-03-05 Joseph Myers <joseph@codesourcery.com>
690
691 * manual/lang.texi (size_t): Note types to which size_t may be
692 equivalent with the GNU C Library, but do not describe when
693 differences between them are significant.
694
30ee4ced
AJ
6952012-03-05 Andreas Jaeger <aj@suse.de>
696
697 * sysdeps/i386/fpu/libm-test-ulps: Update.
698
b7cd39e8
JM
6992012-03-05 Joseph Myers <joseph@codesourcery.com>
700
701 [BZ #3976]
702 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
703 (__ieee754_pow): Save and restore rounding mode and use
704 round-to-nearest for main computations.
705 * math/libm-test.inc (pow_test_tonearest): New function.
706 (pow_test_towardzero): Likewise.
707 (pow_test_downward): Likewise.
708 (pow_test_upward): Likewise.
709 (main): Call the new functions.
710 * sysdeps/i386/fpu/libm-test-ulps: Update.
711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
712
713 [BZ #3976]
714 * math/libm-test.inc (cosh_test_tonearest): New function.
715 (cosh_test_towardzero): Likewise.
716 (cosh_test_downward): Likewise.
717 (cosh_test_upward): Likewise.
718 (sinh_test_tonearest): Likewise.
719 (sinh_test_towardzero): Likewise.
720 (sinh_test_downward): Likewise.
721 (sinh_test_upward): Likewise.
722 (main): Call the new functions.
723 * sysdeps/i386/fpu/libm-test-ulps: Update.
724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
725
6c6a98c9
TV
7262012-03-05 Tom de Vries <tom@codesourcery.com>
727
728 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
729 default stack guard is set in last bytes.
730 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
731
21bb2d2e 7322012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 733
21bb2d2e 734 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 735
21bb2d2e
AJ
736 [BZ #13656]
737 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
738 possibly allocate from heap instead of stack.
739 * stdio-common/bug-vfprintf-nargs.c: New file.
740 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 741
c6922934
AS
7422012-03-03 Andreas Schwab <schwab@linux-m68k.org>
743
744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
745
bc957d53
MP
7462012-03-03 Marek Polacek <polacek@redhat.com>
747
748 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
749 * math/math_private.h: Likewise.
750 * stdlib/tst-strtod.c: Likewise.
751 * sysdeps/i386/i486/bits/atomic.h: Likewise.
752 * sysdeps/x86_64/bits/atomic.h: Likewise.
753
6358490d
DM
7542012-03-02 David S. Miller <davem@davemloft.net>
755
756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
760 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
761 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
762 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
763 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
764
01ae168d
RM
7652012-03-02 Roland McGrath <roland@hack.frob.com>
766
d9a17c07
RM
767 [BZ #13792]
768 * manual/examples/README: New file, says the example source files
769 can be used under GPL>=2.
770 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
771 line containing just "*/".
772 * manual/examples/add.c: Add copyright header (GPL>=2).
773 * manual/examples/argp-ex1.c: Likewise.
774 * manual/examples/argp-ex2.c: Likewise.
775 * manual/examples/argp-ex3.c: Likewise.
776 * manual/examples/argp-ex4.c: Likewise.
777 * manual/examples/atexit.c: Likewise.
778 * manual/examples/db.c: Likewise.
779 * manual/examples/dir.c: Likewise.
780 * manual/examples/dir2.c: Likewise.
781 * manual/examples/execinfo.c: Likewise.
782 * manual/examples/filecli.c: Likewise.
783 * manual/examples/filesrv.c: Likewise.
784 * manual/examples/fmtmsgexpl.c: Likewise.
785 * manual/examples/genpass.c: Likewise.
786 * manual/examples/inetcli.c: Likewise.
787 * manual/examples/inetsrv.c: Likewise.
788 * manual/examples/isockad.c: Likewise.
789 * manual/examples/longopt.c: Likewise.
790 * manual/examples/memopen.c: Likewise.
791 * manual/examples/memstrm.c: Likewise.
792 * manual/examples/mkfsock.c: Likewise.
793 * manual/examples/mkisock.c: Likewise.
794 * manual/examples/mygetpass.c: Likewise.
795 * manual/examples/pipe.c: Likewise.
796 * manual/examples/popen.c: Likewise.
797 * manual/examples/rprintf.c: Likewise.
798 * manual/examples/search.c: Likewise.
799 * manual/examples/select.c: Likewise.
800 * manual/examples/setjmp.c: Likewise.
801 * manual/examples/sigh1.c: Likewise.
802 * manual/examples/sigusr.c: Likewise.
803 * manual/examples/stpcpy.c: Likewise.
804 * manual/examples/strdupa.c: Likewise.
805 * manual/examples/strftim.c: Likewise.
806 * manual/examples/strncat.c: Likewise.
807 * manual/examples/subopt.c: Likewise.
808 * manual/examples/swapcontext.c: Likewise.
809 * manual/examples/termios.c: Likewise.
810 * manual/examples/testopt.c: Likewise.
811 * manual/examples/testpass.c: Likewise.
812 * manual/examples/timeval_subtract.c: Likewise.
813
01ae168d
RM
814 [BZ #13792]
815 * manual/time.texi (Elapsed Time): Move timeval_subtract example
816 function to ...
817 * manual/timeval_subtract.c.texi: ... here, new file.
818
49efa33d
DM
8192012-03-02 David S. Miller <davem@davemloft.net>
820
821 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
822
28afd92d
JM
8232012-03-02 Joseph Myers <joseph@codesourcery.com>
824
804360ed
JM
825 [BZ #3976]
826 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
827 (__sin): Save and restore rounding mode and use round-to-nearest
828 for all computations.
829 (__cos): Save and restore rounding mode and use round-to-nearest
830 for all computations.
831 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
832 <fenv.h>.
833 (tan): Save and restore rounding mode and use round-to-nearest for
834 all computations.
835 * math/libm-test.inc (cos_test_tonearest): New function.
836 (cos_test_towardzero): Likewise.
837 (cos_test_downward): Likewise.
838 (cos_test_upward): Likewise.
839 (sin_test_tonearest): Likewise.
840 (sin_test_towardzero): Likewise.
841 (sin_test_downward): Likewise.
842 (sin_test_upward): Likewise.
843 (tan_test_tonearest): Likewise.
844 (tan_test_towardzero): Likewise.
845 (tan_test_downward): Likewise.
846 (tan_test_upward): Likewise.
847 (main): Call the new functions.
848 * sysdeps/i386/fpu/libm-test-ulps: Update.
849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
850
a6d06d7b
JM
851 [BZ #10135]
852 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
853 small n, then large n, before computing and testing k+n.
854 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
856 Likewise.
857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
858 Likewise.
859 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
860 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
861 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
862 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
863 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
864 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
865 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
866 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
867 * math/libm-test.inc (scalbn_test): Add more tests.
868 (scalbln_test): Likewise.
869
07e12bb3
JM
870 * manual/filesys.texi (mode_t): Describe constraints on size and
871 signedness, not exact equivalence to a particular type.
872 (ino_t): Likewise.
873 (ino64_t): Likewise.
874 (dev_t): Likewise.
875 (nlink_t): Likewise.
876 (blkcnt_t): Likewise.
877 (blkcnt64_t): Likewise.
878 * manual/llio.texi (off_t): Likewise.
879
28afd92d
JM
880 [BZ #3976]
881 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
882 (__ieee754_exp): Save and restore rounding mode and use
883 round-to-nearest for all computations.
884 * math/libm-test.inc (exp_test_tonearest): New function.
885 (exp_test_towardzero): Likewise.
886 (exp_test_downward): Likewise.
887 (exp_test_upward): Likewise.
888 (main): Call the new functions.
889 * sysdeps/i386/fpu/libm-test-ulps: Update.
890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
891
b1eeb65d
CD
8922012-03-01 Chris Demetriou <cgd@google.com>
893
894 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
895 have predictable order.
896
53362a4b
DM
8972012-03-01 David S. Miller <davem@davemloft.net>
898
3c969083
DM
899 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
900
759707de
DM
901 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
902 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
903 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
904 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
905
dfdb8ff2
DM
906 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
907 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
908 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
910 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
911 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
912 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
913 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
914 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
915
ead89f96
DM
916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
917
7f66bd07
DM
918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
919 * sysdeps/sparc/fpu/libm-test-ulps: to here.
920 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
921
53362a4b
DM
922 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
923 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
924 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
925 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
926 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
929 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
930 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
931 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
932 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
935 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
936 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
938 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
939 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
940 * sysdeps/sparc/elf/configure: Regenerated.
941
7b1902cb
JM
9422012-03-01 Joseph Myers <joseph@codesourcery.com>
943
bec039bc
JM
944 * configure.in (AS, LD): Require binutils 2.20 or later.
945 * configure: Regenerated.
946 * manual/install.texi (Tools for Compilation): Give binutils 2.20
947 as required minimum version.
948 * INSTALL: Regenerated.
949
7b1902cb
JM
950 [BZ #2541]
951 [BZ #4108]
952 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
953 before squaring exponent.
954 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
955 bottom long double and 27 bits of top long double before squaring
956 exponent.
957 * math/libm-test.inc (erfc_test): Add more tests.
958 * sysdeps/i386/fpu/libm-test-ulps: Update.
959 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
961
f775c276
KT
9622012-03-01 Kai Tietz <ktietz@redhat.com>
963
964 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
965 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
966 containing bit-fields.
967 * soft-fp/extended.h (_FP_UNION_E): Likewise.
968 * soft-fp/single.h (_FP_UNION_S): Likewise.
969 * soft-fp/double.h (_FP_UNION_D): Likewise.
970
5b8a4d4a
JM
9712012-02-29 Joseph Myers <joseph@codesourcery.com>
972
0bab47b6
JM
973 [BZ #13786]
974 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
975 not include ../strcmp.S.
976 [USE_AS_STRNCASECMP_L]: Likewise.
977 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
978 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
979 * sysdeps/i386/i686/multiarch/strncase_l-c.c
980 (__strncasecmp_l_ia32): Define as alias to
981 __strncasecmp_l_nonascii.
982
0fcad3e2
JM
983 [BZ #5794]
984 * math/libm-test.inc (expm1_test): Add test for bug 5794.
985 * sysdeps/i386/fpu/libm-test-ulps: Update.
986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
987
5b8a4d4a
JM
988 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
990
8fdceb2e
JL
9912012-02-29 Jeff Law <law@redhat.com>
992
993 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
994 out of bounds read.
995
1f393a11
MP
9962012-02-29 Marek Polacek <polacek@redhat.com>
997
998 [BZ #13706]
999 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1000 * elf/Makefile: Add rules to run tst-unused-dep.out.
1001
8847f037
DM
10022012-02-28 David S. Miller <davem@davemloft.net>
1003
1004 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1005 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1008 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1009 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1010
169d7f11
JM
10112012-02-29 Joseph Myers <joseph@codesourcery.com>
1012
1013 * math/libm-test.inc (llround_test): Move one test from
1014 lround_test. Use TEST_f_L in moved test.
1015 (lround_test): Move misplaced test to llround_test. Add testcase
1016 from bug 2561.
1017
39adf059
UD
10182012-02-28 Ulrich Drepper <drepper@gmail.com>
1019
1020 * sysdeps/x86_64/fpu/e_expf.S: New file.
1021 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1022
71b5d1c5
SB
10232012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1024
1025 [BZ #13637]
1026 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1027 of remain_len that may cause incomplete multi-byte character and
1028 false match.
1029 * posix/bug-regex33.c: New file.
1030 * posix/Makefile (tests): Add bug-regex33.
1031
1f77f049
JM
10322012-02-28 Joseph Myers <joseph@codesourcery.com>
1033
1034 * manual/macros.texi: New file.
1035 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1036 * manual/libc.texinfo: Include macros.texi.
1037 * manual/creatute.texi: Likewise.
1038 * manual/install.texi: Likewise.
1039 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1040 @glibcadj{} in references to the GNU C Library.
1041 * manual/charset.texi: Likewise.
1042 * manual/conf.texi: Likewise.
1043 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1044 when not using those macros.
1045 * manual/creature.texi: Likewise.
1046 * manual/crypt.texi: Likewise.
1047 * manual/errno.texi: Likewise.
1048 * manual/filesys.texi: Likewise.
1049 * manual/header.texi: Likewise.
1050 * manual/install.texi: Likewise.
1051 * manual/intro.texi: Likewise.
1052 * manual/io.texi: Likewise.
1053 * manual/job.texi: Likewise.
1054 * manual/lang.texi: Likewise.
1055 * manual/libc.texiinfo: Likewise.
1056 * manual/llio.texi: Likewise.
1057 * manual/locale.texi: Likewise.
1058 * manual/maint.texi: Likewise.
1059 * manual/math.texi: Likewise.
1060 * manual/memory.texi: Likewise.
1061 * manual/message.texi: Likewise.
1062 * manual/nss.texi: Likewise.
1063 * manual/pattern.texi: Likewise.
1064 * manual/process.texi: Likewise.
1065 * manual/resource.texi: Likewise.
1066 * manual/search.texi: Likewise.
1067 * manual/setjmp.texi: Likewise.
1068 * manual/signal.texi: Likewise.
1069 * manual/socket.texi: Likewise.
1070 * manual/startup.texi: Likewise.
1071 * manual/stdio.texi: Likewise.
1072 * manual/string.texi: Likewise.
1073 * manual/sysinfo.texi: Likewise.
1074 * manual/syslog.texi: Likewise.
1075 * manual/terminal.texi: Likewise.
1076 * manual/time.texi: Likewise.
1077 * manual/users.texi: Likewise.
1078 * INSTALL: Regenerated.
1079 * NOTES: Regenerated.
d40c5d54 1080 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1081
450bf206
AS
10822012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1083
1084 * include/dirent.h: Include <dirstream.h> before
1085 <dirent/dirent.h>.
1086
741a235b
DM
10872012-02-28 David S. Miller <davem@davemloft.net>
1088
1089 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1090 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1091 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1092 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1093
d6b5aa58
DM
10942012-02-27 David S. Miller <davem@davemloft.net>
1095
1aff59a3
DM
1096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1098 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1099 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1100
d6b5aa58
DM
1101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1102 frame pointer instead of stack pointer relative arg slot.
1103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1104 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1105 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1106
433f48bf
CD
11072012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1108
1109 [BZ #3992]
1110 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1111
d674b76d
DM
11122012-02-27 David S. Miller <davem@davemloft.net>
1113
1114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1118 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1119 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1120 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1121 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1122
0e7727f7
JM
11232012-02-27 Joseph Myers <joseph@codesourcery.com>
1124
1125 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1126 later. Allow versions 5-9.
43be4ca2 1127 * configure: Regenerated.
0e7727f7
JM
1128 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1129 required minimum version and 4.6 as recommended version. Do not
1130 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1131 * INSTALL: Regenerated.
0e7727f7 1132
a78bc654
DM
11332012-02-27 David S. Miller <davem@davemloft.net>
1134
428d5830
DM
1135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1139 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1140 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1141 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1142 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1143
a78bc654
DM
1144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1145 manipulate bits before adding and subtracting TWO112[sx].
1146 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1147
4579f81c
RM
11482012-02-27 Roland McGrath <roland@hack.frob.com>
1149
36c8acb4
RM
1150 [BZ #13775]
1151 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1152 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1153 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1154 being in POSIX, because they are in 1003.1-2008.
1155
84ad622b
RM
1156 * rt/tst-aio.c: Include <fcntl.h>.
1157 * rt/tst-aio7.c: Likewise.
1158 * rt/tst-aio64.c: Likewise.
1159
4579f81c
RM
1160 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1161
abd923db
JM
11622012-02-27 Joseph Myers <joseph@codesourcery.com>
1163
1164 * manual/install.texi (--with-headers): Describe headers as
1165 interface headers, not private headers.
1166 (Specific advice for GNU/Linux systems): Describe use of headers
1167 from "make headers_install", not private headers from older
1168 kernels.
43be4ca2 1169 * INSTALL: Regenerated.
abd923db
JM
1170 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1171 Change to 2.6.19.
1172 * sysdeps/unix/sysv/linux/configure: Regenerated.
1173
6664049b
JM
1174 * manual/llio.texi (fclean): Remove documentation.
1175
bb8b6697
JM
1176 * manual/Makefile (libc-texi-generated): New variable. Include
1177 version.texi.
1178 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1179 $(libc-texi-generated), not duplicated list of files.
1180 (version.texi, stamp-version): New rules.
1181 (realclean): Remove $(libc-texi-generated), not individual files
1182 from that list. Do not remove dir-add.texinfo.
1183 * manual/libc.texinfo: Comment out uses of edition numbers and
1184 references to printed manual. Remove last-updated dates.
1185 (EDITION): Comment out.
1186 (ISBN): Likewise.
1187 (VERSION, UPDATED): Remove.
1188 (version.texi): Include.
1189
12e5c3b9
AS
11902012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1191
1192 * sysdeps/posix/spawni.c: Include <signal.h>.
1193 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1194 * sysdeps/pthread/aio_fsync.c: Likewise.
1195
4efeffc1 11962012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1197
ba63ba08
UD
1198 * conform/Makefile (tests): Run only when not cross-compiling and
1199 when fast-check is not defined.
1200
d94a4670
UD
1201 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1202 * conform/data/limits.h-data: Fixes for POSIX2008.
1203 * conform/run-conformtest.sh: Run all tests.
1204 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1205 headers.
1206 * include/bits/dlfcn.h: Likewise.
1207 * include/langinfo.h: Likewise.
1208 * include/monetary.h: Likewise.
1209 * include/sys/poll.h: Likewise.
1210
1211 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1212 for __USE_GNU.
1213 * posix/spawn.h: Define __need_sigset_t.
1214 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1215 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1216 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1217 to get sigevent_t only.
1218 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1219 only for __USE_GNU.
1220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1221 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1222 process_vm_writev only for __USE_GNU.
1223 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1224
1225 * conform/Makefile: For now ignore errors from run-conformtest.
1226 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1227 POSIX to avoid namespace pollution. Don't prepend headers.
1228 * conform/data/aio.h-data: Fixes for POSIX testing.
1229 * conform/data/fcntl.h-data: Likewise.
1230 * conform/data/glob.h-data: Likewise.
1231 * conform/data/grp.h-data: Likewise.
1232 * conform/data/pthread.h-data: Likewise.
1233 * conform/data/pwd.h-data: Likewise.
1234 * conform/data/signal.h-data: Likewise.
1235 * conform/data/spawn.h-data: Likewise.
1236 * conform/data/stdio.h-data: Likewise.
1237 * conform/data/stdlib.h-data: Likewise.
1238 * conform/data/stropts.h-data: Likewise.
1239 * conform/data/sys/mman.h-data: Likewise.
1240 * conform/data/sys/stat.h-data: Likewise.
1241 * conform/data/sys/types.h-data: Likewise.
1242 * conform/data/sys/wait.h-data: Likewise.
1243 * conform/data/time.h-data: Likewise.
1244 * conform/data/unistd.h-data: Likewise.
1245 * conform/data/utime.h-data: Likewise.
1246
1247 * io/sys/stat.h: fchmod was always in POSIX.
1248 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1249 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1250 * rt/aio.h: Define __need_timespec before including <time.h>.
1251 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1252 struct. Add forward declaration of pthread_attr_t and use it in
1253 sigevent.
1254 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1256 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1257 always remove CLK_TCK definition.
1258
c20105c3
AS
12592012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1260
1261 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1262
7a270350
UD
12632012-02-25 Ulrich Drepper <drepper@gmail.com>
1264
31341567
UD
1265 * conform/run-conformtest.sh: New file.
1266 * conform/Makefile: Run run-conformtest for tests.
1267 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1268 support.
1269
1270 * conform/data/uchar.h-data: New file.
1271 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1272 * conform/data/arpa/inet.h-data: Likewise.
1273 * conform/data/assert.h-data: Likewise.
1274 * conform/data/complex.h-data: Likewise.
1275 * conform/data/cpio.h-data: Likewise.
1276 * conform/data/ctype.h-data: Likewise.
1277 * conform/data/dirent.h-data: Likewise.
1278 * conform/data/dlfcn.h-data: Likewise.
1279 * conform/data/errno.h-data: Likewise.
1280 * conform/data/fcntl.h-data: Likewise.
1281 * conform/data/float.h-data: Likewise.
1282 * conform/data/fmtmsg.h-data: Likewise.
1283 * conform/data/fnmatch.h-data: Likewise.
1284 * conform/data/ftw.h-data: Likewise.
1285 * conform/data/glob.h-data: Likewise.
1286 * conform/data/grp.h-data: Likewise.
1287 * conform/data/iconv.h-data: Likewise.
1288 * conform/data/inttypes.h-data: Likewise.
1289 * conform/data/langinfo.h-data: Likewise.
1290 * conform/data/libgen.h-data: Likewise.
1291 * conform/data/limits.h-data: Likewise.
1292 * conform/data/locale.h-data: Likewise.
1293 * conform/data/math.h-data: Likewise.
1294 * conform/data/monetary.h-data: Likewise.
1295 * conform/data/mqueue.h-data: Likewise.
1296 * conform/data/ndbm.h-data: Likewise.
1297 * conform/data/net/if.h-data: Likewise.
1298 * conform/data/netdb.h-data: Likewise.
1299 * conform/data/netinet/in.h-data: Likewise.
1300 * conform/data/nl_types.h-data: Likewise.
1301 * conform/data/poll.h-data: Likewise.
1302 * conform/data/pthread.h-data: Likewise.
1303 * conform/data/pwd.h-data: Likewise.
1304 * conform/data/regex.h-data: Likewise.
1305 * conform/data/sched.h-data: Likewise.
1306 * conform/data/search.h-data: Likewise.
1307 * conform/data/semaphore.h-data: Likewise.
1308 * conform/data/setjmp.h-data: Likewise.
1309 * conform/data/signal.h-data: Likewise.
1310 * conform/data/spawn.h-data: Likewise.
1311 * conform/data/stdarg.h-data: Likewise.
1312 * conform/data/stdio.h-data: Likewise.
1313 * conform/data/stdlib.h-data: Likewise.
1314 * conform/data/string.h-data: Likewise.
1315 * conform/data/strings.h-data: Likewise.
1316 * conform/data/stropts.h-data: Likewise.
1317 * conform/data/sys/ipc.h-data: Likewise.
1318 * conform/data/sys/mman.h-data: Likewise.
1319 * conform/data/sys/msg.h-data: Likewise.
1320 * conform/data/sys/resource.h-data: Likewise.
1321 * conform/data/sys/select.h-data: Likewise.
1322 * conform/data/sys/sem.h-data: Likewise.
1323 * conform/data/sys/shm.h-data: Likewise.
1324 * conform/data/sys/socket.h-data: Likewise.
1325 * conform/data/sys/stat.h-data: Likewise.
1326 * conform/data/sys/statvfs.h-data: Likewise.
1327 * conform/data/sys/time.h-data: Likewise.
1328 * conform/data/sys/timeb.h-data: Likewise.
1329 * conform/data/sys/times.h-data: Likewise.
1330 * conform/data/sys/types.h-data: Likewise.
1331 * conform/data/sys/uio.h-data: Likewise.
1332 * conform/data/sys/un.h-data: Likewise.
1333 * conform/data/sys/utsname.h-data: Likewise.
1334 * conform/data/sys/wait.h-data: Likewise.
1335 * conform/data/syslog.h-data: Likewise.
1336 * conform/data/tar.h-data: Likewise.
1337 * conform/data/termios.h-data: Likewise.
1338 * conform/data/utime.h-data: Likewise.
1339 * conform/data/utmpx.h-data: Likewise.
1340 * conform/data/varargs.h-data: Likewise.
1341 * conform/data/wchar.h-data: Likewise.
1342 * conform/data/wctype.h-data: Likewise.
1343 * conform/data/wordexp.h-data: Likewise.
1344
1345 * include/stropts.h: New file.
1346 * include/uchar.h: New file.
1347 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1348 * include/assert.h: Likewise.
1349 * include/ctype.h: Likewise.
1350 * include/dirent.h: Likewise.
1351 * include/dlfcn.h: Likewise.
1352 * include/fcntl.h: Likewise.
1353 * include/fnmatch.h: Likewise.
1354 * include/glob.h: Likewise.
1355 * include/grp.h: Likewise.
1356 * include/libio.h: Likewise.
1357 * include/locale.h: Likewise.
1358 * include/math.h: Likewise.
1359 * include/net/if.h: Likewise.
1360 * include/netdb.h: Likewise.
1361 * include/netinet/in.h: Likewise.
1362 * include/pthread.h: Likewise.
1363 * include/pwd.h: Likewise.
1364 * include/regex.h: Likewise.
1365 * include/sched.h: Likewise.
1366 * include/search.h: Likewise.
1367 * include/setjmp.h: Likewise.
1368 * include/signal.h: Likewise.
1369 * include/stdio.h: Likewise.
1370 * include/stdlib.h: Likewise.
1371 * include/string.h: Likewise.
1372 * include/sys/cdefs.h: Likewise.
1373 * include/sys/mman.h: Likewise.
1374 * include/sys/msg.h: Likewise.
1375 * include/sys/resource.h: Likewise.
1376 * include/sys/select.h: Likewise.
1377 * include/sys/socket.h: Likewise.
1378 * include/sys/stat.h: Likewise.
1379 * include/sys/statvfs.h: Likewise.
1380 * include/sys/time.h: Likewise.
1381 * include/sys/times.h: Likewise.
1382 * include/sys/uio.h: Likewise.
1383 * include/sys/utsname.h: Likewise.
1384 * include/sys/wait.h: Likewise.
1385 * include/termios.h: Likewise.
1386 * include/time.h: Likewise.
1387 * include/ulimit.h: Likewise.
1388 * include/unistd.h: Likewise.
1389 * include/utime.h: Likewise.
1390 * include/wchar.h: Likewise.
1391 * include/wctype.h: Likewise.
1392 * include/wordexp.h: Likewise.
1393
1394 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1395
7a270350
UD
1396 * time/time.h: TIME_UTC must be a macro.
1397 Make timespec_get available for ISO C11 only as well.
1398
7724defc
UD
13992012-02-24 Ulrich Drepper <drepper@gmail.com>
1400
1401 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1402 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1403
6b1d1d46
JM
14042012-02-24 Joseph Myers <joseph@codesourcery.com>
1405
1406 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1407
0f8bbd69
JM
14082012-02-24 Joseph Myers <joseph@codesourcery.com>
1409
1410 * manual/texinfo.tex: Update to version 2012-01-19.16.
1411
66ab80bc
JM
14122012-02-24 Joseph Myers <joseph@codesourcery.com>
1413
1414 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1415
74981cc5
RM
14162012-02-24 Roland McGrath <roland@hack.frob.com>
1417
ee968201
RM
1418 [BZ #13738]
1419 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1420 * manual/fdl-1.3.texi: New file.
1421 * manual/fdl-1.1.texi: File removed.
1422
74981cc5
RM
1423 [BZ #13738]
1424 * manual/libc.texinfo (FDL_VERSION): New @set.
1425 Use it for mention of FDL in cover text.
1426 (Documentation License): Use it in @include file name.
1427
7bb764bc
JM
14282012-02-22 Joseph Myers <joseph@codesourcery.com>
1429 Roland McGrath <roland@hack.frob.com>
1430
1431 [BZ #5461]
1432 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1433 not LONG_LONG_MAX and LONG_LONG_MIN.
1434 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1435 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1436 name.
1437 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1438
6cbeae47
JM
14392012-02-22 Joseph Myers <joseph@codesourcery.com>
1440
1441 [BZ #2547]
1442 [BZ #11365]
1443 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1444 manipulate bits before adding and subtracting TWO23[sx].
1445 * math/libm-test.inc (nearbyint_test): Add more tests.
1446
fe45ce09
JM
14472012-02-22 Joseph Myers <joseph@codesourcery.com>
1448
1449 [BZ #2548]
1450 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1451 bits before adding and subtracting TWO23[sx].
1452 * math/libm-test.inc (rint_test): Add more tests.
1453 (rint_test_tonearest): Likewise.
1454 (rint_test_towardzero): Likewise.
1455 (rint_test_downward): Likewise.
1456 (rint_test_upward: Likewise.
1457
ff3b3d82
JM
14582012-02-22 Joseph Myers <joseph@codesourcery.com>
1459
1460 [BZ #10110]
1461 * include/stdc-predef.h: New file. Extracted from features.h.
1462 * include/features.h: Include stdc-predef.h.
1463 * Makefile (headers): Add stdc-predef.h.
1464 * CONFORMANCE (Compiler limitations): Update.
1465
ef0aab35
JM
14662012-02-22 Joseph Myers <joseph@codesourcery.com>
1467
1468 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1469
58639409
DM
14702012-02-21 David S. Miller <davem@davemloft.net>
1471
1472 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1473 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1474
c0e70b25
DM
14752012-02-20 David S. Miller <davem@davemloft.net>
1476
1477 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1478 using a normal save/restore sequence, rather than allocating a
1479 dummy stack frame just to store a frame pointer and restore.
1480 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1481
fb06851d
JM
14822012-02-21 Joseph Myers <joseph@codesourcery.com>
1483
1484 * manual/install.texi: Fix stray word in line-wrapped comment.
1485
7a8b71c3
DM
14862012-02-20 David S. Miller <davem@davemloft.net>
1487
d510c123
DM
1488 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1489 both binutils and gcc support GOTDATA.
1490
0722d7c2
DM
1491 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1492 "rd %pc" in the PIC register setup sequences.
1493
3d2b3019
DM
1494 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1495 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1496 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1497 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1498 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1501 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1503 (SYSCALL_ERROR_HANDLER): Likewise.
1504 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1505 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1507 (SYSCALL_ERROR_HANDLER): Likewise.
1508
c80098a9
DM
1509 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1510 (HAVE_GCC_GOTDATA): New.
1511 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1512 relocation support in both binutils and gcc.
1513 * sysdeps/sparc/elf/configure: Regenerate.
1514
3a2545a0
DM
1515 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1516 * sysdeps/sparc/sparc32/elf/configure: Delete.
1517 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1518 * sysdeps/sparc/sparc64/elf/configure: Delete.
1519 * sysdeps/sparc/elf/configure.in: New file.
1520 * sysdeps/sparc/elf/configure: Generate.
1521
7a8b71c3
DM
1522 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1523 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1524 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1525 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1526 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1527
f1e86fca
JM
15282012-02-21 Joseph Myers <joseph@codesourcery.com>
1529
1530 * manual/install.texi: Do not mention specific glibc version
1531 numbers.
1532 * manual/libc.texinfo (VERSION, UPDATED): Update.
1533 (@copying): Use @copyright{} and range of years.
1534
0e7dfaef
JM
15352012-02-21 Joseph Myers <joseph@codesourcery.com>
1536
1537 [BZ #13695]
1538 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1539 [crti.S not in sysdirs] (generated): Do not append.
1540 [crti.S not in sysdirs] (omit-deps): Likewise.
1541 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1542 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1543 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1544 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1545 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1546 Likewise.
1547 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1548 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1549 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1550 * csu/defs.awk: Remove file.
1551 * sysdeps/generic/initfini.c: Likewise.
1552 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1553 variable.
1554 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1555 Likewise.
1556
599af3ca
JM
15572012-02-20 Joseph Myers <joseph@codesourcery.com>
1558
1559 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1560 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1561 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1562 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1564 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1565 <bits/epoll.h>.
1566 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1567 (__EPOLL_PACKED): Define to empty if not defined by
1568 <bits/epoll.h>.
1569 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1571 bits/epoll.h.
1572
0e499750
JM
15732012-02-20 Joseph Myers <joseph@codesourcery.com>
1574
1575 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1576 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1577 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1578 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1579 <bits/timerfd.h>.
1580 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1582 bits/timerfd.h.
1583
5ad91f6e
JM
15842012-02-20 Joseph Myers <joseph@codesourcery.com>
1585
1586 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1587 in C locale.
1588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1589 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1590 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1592
06b99b02
AJ
15932012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1594
1595 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1596 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1597
7638c0fd
AS
15982012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1599
1600 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1601 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1602 defined.
1603 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1604 Likewise.
1605 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1606 entry for 2.16.
1607
92221550
AJ
16082012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1609
1610 * math/w_acos.c: Use non-signaling floating-point comparisons.
1611 * math/w_acosf.c: Likewise.
1612 * math/w_acosh.c: Likewise.
1613 * math/w_acoshf.c: Likewise.
1614 * math/w_acoshl.c: Likewise.
1615 * math/w_acosl.c: Likewise.
1616 * math/w_asin.c: Likewise.
1617 * math/w_asinf.c: Likewise.
1618 * math/w_asinl.c: Likewise.
1619 * math/w_atanh.c: Likewise.
1620 * math/w_atanhf.c: Likewise.
1621 * math/w_atanhl.c: Likewise.
1622 * math/w_exp2.c: Likewise.
1623 * math/w_exp2f.c: Likewise.
1624 * math/w_exp2l.c: Likewise.
1625 * math/w_j0.c: Likewise.
1626 * math/w_j0f.c: Likewise.
1627 * math/w_j0l.c: Likewise.
1628 * math/w_j1.c: Likewise.
1629 * math/w_j1f.c: Likewise.
1630 * math/w_j1l.c: Likewise.
1631 * math/w_jn.c: Likewise.
1632 * math/w_jnf.c: Likewise.
1633 * math/w_log.c: Likewise.
1634 * math/w_log10.c: Likewise.
1635 * math/w_log10f.c: Likewise.
1636 * math/w_log10l.c: Likewise.
1637 * math/w_log2.c: Likewise.
1638 * math/w_log2f.c: Likewise.
1639 * math/w_log2l.c: Likewise.
1640 * math/w_logf.c: Likewise.
1641 * math/w_logl.c: Likewise.
1642 * math/w_sqrt.c: Likewise.
1643 * math/w_sqrtf.c: Likewise.
1644 * math/w_sqrtl.c: Likewise.
1645 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1648 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1649 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1650
ebaf36eb
JM
16512012-02-19 Joseph Myers <joseph@codesourcery.com>
1652
1653 [BZ #9739]
1654 * manual/string.texi (strnlen): Use correct parameter name in
1655 equivalent expression.
1656
71c254a6
JM
16572012-02-19 Joseph Myers <joseph@codesourcery.com>
1658
1659 [BZ #11174]
1660 * manual/users.texi (seteuid): Consistently use neweuid for
1661 argument name.
1662
16d2c631
JM
16632012-02-19 Joseph Myers <joseph@codesourcery.com>
1664
1665 [BZ #13704]
1666 * manual/nss.texi (Services in the NSS configuration): Correct
1667 list of services in example configuration file.
1668
cd837b09
NB
16692012-02-19 Nick Bowler <nbowler@draconx.ca>
1670
1671 [BZ #11322]
1672 * manual/arith.texi: Remove statements about negative zero
1673 behaving identically to zero.
1674
02c4bbad
JM
16752012-02-18 Joseph Myers <joseph@codesourcery.com>
1676
1677 [BZ #5993]
1678 * manual/install.texi: Do not document upgrading from libc5.
1679
366842e7
JM
16802012-02-18 Joseph Myers <joseph@codesourcery.com>
1681
1682 [BZ #4596]
1683 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1684
dd54084d
DM
16852012-02-18 David S. Miller <davem@davemloft.net>
1686
1687 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1688 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1689 %o7 across the call.
1690 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1691 instead.
1692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1693 SETUP_PIC_REG_LEAF.
1694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1695 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1696 * sysdeps/sparc/crtn.S: Likewise.
1697
2bcc53a3
UD
16982012-02-17 Ulrich Drepper <drepper@gmail.com>
1699
1700 * aout/Makefile: Remove.
1701
09c093b5
RK
17022012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1703
1704 [BZ #13058]
1705 * manual/examples/argp-ex1.c (main): Format definition in GNU
1706 style.
1707 * manual/examples/argp-ex2.c (main): Likewise.
1708 * manual/examples/argp-ex3.c (main): Likewise.
1709 * manual/examples/argp-ex4.c (main): Likewise.
1710 * manual/examples/longopt.c (main): Use new-style prototype
1711 definition.
1712 * manual/examples/strncat.c (main): Specify return type and use
1713 (void) for arguments.
1714 * manual/examples/subopt.c (main): Use char **argv argument.
1715
2ee633a2
JM
17162012-02-17 Joseph Myers <joseph@codesourcery.com>
1717
1718 [BZ #5077]
1719 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1720 rounding modes.
1721
0520adde
FB
17222012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1723
1724 [BZ #6907]
1725 * manual/string.texi (strchr): Change when strchrnul is
1726 recommended.
1727
3f4081cd
DGM
17282012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1729
1730 [BZ #174]
1731 * manual/locale.texi (setlocale): Document LOCPATH.
1732
d1b10e78
JM
17332012-02-17 Joseph Myers <joseph@codesourcery.com>
1734
1735 [BZ #10210]
1736 * manual/process.texi (execle): Move @dots{} before last argument.
1737
79c6869c
PB
17382012-02-17 Paul Bolle <pebolle@tiscali.nl>
1739
1740 [BZ #12047]
1741 * manual/charset.texi (Generic Charset Conversion): Fix typo
1742 (LC_TYPE -> LC_CTYPE).
1743
cc6e48bc
NB
17442012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1745
1746 [BZ #5805]
1747 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1748 (scalbnf): Likewise.
1749 (scalbnl): Likewise.
1750 (scalbln): Likewise.
1751 (scalblnf): Likewise.
1752 (scalblnl): Likewise.
1753 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1754 (vwarnx): Likewise.
1755 (verr): Likewise.
1756 (verrx): Likewise.
1757 * manual/filesys.texi (telldir): Use braces around return type.
1758 * manual/llio.texi (mmap): Add space after comma.
1759 (mmap64): Likewise.
1760 * manual/math.texi (jn): Use @var{} on parameter names.
1761 (jnf): Likewise.
1762 (jnl): Likewise.
1763 (yn): Likewise.
1764 (ynf): Likewise.
1765 (ynl): Likewise.
1766 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1767 line.
1768 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1769 "...".
1770 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1771 (sched_get_priority_max): Likewise.
1772 * manual/signal.texi (sigvec): Add space after comma.
1773 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1774 names.
1775 (if_indextoname): Likewise.
1776 (if_freenameindex): Likewise.
1777 (sendto): Use ',' instead of '.' in prototype.
1778 * manual/startup.texi (syscall): Use @dots{} instead of literal
1779 "...".
1780 * manual/stdio.texi (__fpending): Separate initial words of
1781 paragraph from @deftypefun line.
1782 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1783 "...".
1784 (vsyslog): Use @var{} on parameter names.
1785 * manual/terminal.texi (stty): Use @var{} on parameter names.
1786 * manual/users.texi (getutmp): Use @var{} on parameter names.
1787 (getutmpx): Likewise.
1788
5b23062f
JM
17892012-02-17 Joseph Myers <joseph@codesourcery.com>
1790
1791 [BZ #6884]
1792 * manual/stdio.texi (fopen): Fix typos in description of
1793 ",ccs=STRING".
1794
8dee4833
AJ
17952012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1796
1797 [BZ #4026]
1798 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1799 get clock_id definition.
1800
9078ce93
TS
18012012-02-17 Thomas Schwinge <thomas@schwinge.name>
1802
1803 [BZ #4822]
1804 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1805 (madvise): Cast every argument to void on its own.
1806
3835c55f
JM
18072012-02-17 Joseph Myers <joseph@codesourcery.com>
1808
1809 [BZ #9902]
1810 * manual/startup.texi (Exit Status): Fix typo.
1811
35c47e37
JM
18122012-02-17 Joseph Myers <joseph@codesourcery.com>
1813
1814 [BZ #10140]
1815 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1816 * manual/examples/argp-ex2.c: Likewise.
1817 * manual/examples/argp-ex3.c: Likewise.
1818
e3b69ca7
RH
18192012-02-16 Richard Henderson <rth@redhat.com>
1820
1821 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1822 * sysdeps/s390/s390-32/initfini.c: Remove.
1823 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1824 * sysdeps/s390/s390-64/initfini.c: Remove.
1825
df83af67
KK
18262012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1827
1828 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1829 compiler output for sysdeps/generic/initfini.c.
1830 * sysdeps/sh/elf/initfini.c: Remove file.
1831
f63f3380
DM
18322012-02-16 David S. Miller <davem@davemloft.net>
1833
fb59b3a4
DM
1834 [BZ #11494]
1835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1836
f63f3380
DM
1837 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1838 * sysdeps/sparc/crti.S: New file.
1839 * sysdeps/sparc/crtn.S: New file.
1840 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1841 * sysdeps/sparc/sparc64/Makefile: Likewise.
1842
df6a4a4a
MF
18432012-02-15 Mike Frysinger <vapier@gentoo.org>
1844
6dd8f3dc 1845 [BZ #3335]
df6a4a4a
MF
1846 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1847
1cac7236
RM
18482012-02-15 Roland McGrath <roland@hack.frob.com>
1849
d2c736f8
RM
1850 [BZ #4822]
1851 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1852
1cac7236
RM
1853 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1854 (write, read, close): Likewise.
1855 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1856
8e475601
JM
18572012-02-15 Joseph Myers <joseph@codesourcery.com>
1858
1859 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1860 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1861 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1862 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1863 <bits/signalfd.h>.
1864 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1866 bits/signalfd.h.
1867
ed656b40
MP
18682012-02-14 Marek Polacek <polacek@redhat.com>
1869
1870 * sysdeps/x86_64/crti.S: New file.
1871 * sysdeps/x86_64/crtn.S: New file.
1872 * sysdeps/x86_64/elf/initfini.c: Remove file.
1873
2a979d3a
JM
18742012-02-13 Joseph Myers <joseph@codesourcery.com>
1875
1876 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1877 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1878 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1879 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1880 <bits/inotify.h>.
1881 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1883 bits/inotify.h.
1884
2a418ac3
JM
18852012-02-13 Joseph Myers <joseph@codesourcery.com>
1886
1887 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1888 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1889 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1890 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1891 <bits/eventfd.h>.
1892 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1894 bits/eventfd.h.
1895
fb779be7
TS
18962012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1897
e19e83c5
RM
1898 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1899 __feraiseexcept instead of feraiseexcept.
7c35ffed 1900
fb779be7
TS
1901 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1902 nanosleep invocations.
1903 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1904 strings, and add error checking for a nanosleep invocations.
1905
59ba27a6
PE
19062012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1907
1908 Replace FSF snail mail address with URLs, as per GNU coding standards.
1909 Most of the snail mail addresses were wrong anyway, and omitting
1910 them makes the source code easier to maintain. Almost all of the
1911 changes are to license notices and to locale LC_IDENTIFICATION
1912 addresses, except for this one:
1913 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1914 not its snail mail address.
1915
57b957eb
RH
19162012-02-09 Richard Henderson <rth@twiddle.net>
1917
af850b1c
RH
1918 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1919 of kernel-features.h.
1920
57b957eb
RH
1921 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1922
6b73181a
MP
19232012-02-08 Marek Polacek <polacek@redhat.com>
1924
1925 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1926 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1927 * sysdeps/gnu/_G_config.h: Likewise.
1928 * sysdeps/generic/_G_config.h: Likewise.
1929
26ecc33a
AS
19302012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1931
6c6dbc63
AS
1932 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1933 tests.
1934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1935
e216c012
AS
1936 * sysdeps/powerpc/powerpc32/crti.S: New file.
1937 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1938 * sysdeps/powerpc/powerpc64/crti.S: New file.
1939 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1940
26ecc33a
AS
1941 * Makeconfig (have-initfini): Don't set.
1942 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1943 * configure.in (nopic_initfini): Don't substitute.
1944 * config.h.in (HAVE_INITFINI): Don't #undef.
1945 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1946 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1947
3add8e13
JM
19482012-02-08 Joseph Myers <joseph@codesourcery.com>
1949
1950 Support crti.S and crtn.S provided directly by architectures.
1951 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1952 [crti.S in sysdirs] (omit-deps): Likewise.
1953 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1954 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1955 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1956 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1957 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1958 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1959 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1960 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1961 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1962 compiler output for sysdeps/generic/initfini.c.
1963 * sysdeps/i386/elf/Makefile: Remove file.
1964 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1965
a22f12b4
MP
19662012-02-07 Marek Polacek <polacek@redhat.com>
1967
1968 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1969 * sysdeps/gnu/_G_config.h: Likewise.
1970 * sysdeps/mach/hurd/_G_config.h: Likewise.
1971
148cf100
MP
19722012-02-07 Marek Polacek <polacek@redhat.com>
1973
1974 * math/Makefile (tests): Add tst-CMPLX2.
1975 * math/tst-CMPLX2.c: New file.
1976
cfdc0dd7
AS
19772012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1978
84ba42c4
AS
1979 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1980
cfdc0dd7
AS
1981 * math/libm-test.inc (jn_test): Add missing L suffix.
1982
622c86f4
MP
19832012-02-06 Marek Polacek <polacek@redhat.com>
1984
1985 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1986 * sysdeps/i386/fpu/e_powf.S: Likewise.
1987 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1988 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1989 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1990 * sysdeps/i386/fpu/e_pow.S: Likewise.
1991 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1992 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1993 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1994 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1995 * sysdeps/i386/fpu/e_log2.S: Likewise.
1996 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1997 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1998 * sysdeps/i386/fpu/e_powl.S: Likewise.
1999 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2000 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2001 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2002 * sysdeps/i386/fpu/e_logl.S: Likewise.
2003 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2004 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2005 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2006 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2008 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2009 * sysdeps/i386/fpu/e_log.S: Likewise.
2010 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2011 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2012 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2013 * sysdeps/i386/fpu/e_logf.S: Likewise.
2014 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2015 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2016 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2017 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2018 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2019 * sysdeps/i386/fpu/e_log10.S: Likewise.
2020 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2021 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2022 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2023 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2024 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2025 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2026 * sysdeps/i386/asm-syntax.h: Likewise.
2027 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2028 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2030 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2031 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2033 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2034 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2035 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2036 * sysdeps/powerpc/sysdep.h: Likewise.
2037 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2038 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2039
d4a54ac6
JM
20402012-02-06 Joseph Myers <joseph@codesourcery.com>
2041
2042 [BZ #411]
2043 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2044
314054ea
JM
20452012-02-06 Joseph Myers <joseph@codesourcery.com>
2046
2047 * sysdeps/i386/sysdep.h: Include <features.h>.
2048 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2049 version.
2050
d8e0ca50
JM
20512012-02-05 Joseph Myers <joseph@codesourcery.com>
2052
2053 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2054 Define.
2055 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2056 LOAD_PIC_REG_STR.
2057
b1da7dd9
JM
20582012-02-03 Joseph Myers <joseph@codesourcery.com>
2059
2060 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2061 (SETUP_PIC_REG): Use GET_PC_THUNK.
2062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2063 macro.
2064
9a1d9254
JM
20652012-02-03 Joseph Myers <joseph@codesourcery.com>
2066
2067 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2068 for non-PIC compilation.
2069 (SETUP_PIC_REG): Add .p2align directive.
2070 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2071 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2072 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2073 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2074 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2075 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2076 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2077 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2078 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2079 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2080 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2081 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2082 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2083 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2084 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2085 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2086 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2087 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2088 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2089 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2090 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2092 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2093 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2096 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2097 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2098 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2099 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2100 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2101 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2102 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2103 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2104 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2105 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2106 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2107 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2108 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2109 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2110 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2111
65dc3b75
JM
21122012-02-03 Joseph Myers <joseph@codesourcery.com>
2113
2114 * math/tst-CMPLX.c: Include <stdio.h>.
2115
d55bf177
JM
21162012-01-31 Joseph Myers <joseph@codesourcery.com>
2117
2118 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2119 float.
2120 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2121 * sysdeps/sparc/bits/mathdef.h: Likewise.
2122
69db4f8f
MP
21232012-01-31 Marek Polacek <polacek@redhat.com>
2124
2125 * libio/libio.h: Don't define _PARAMS.
2126 * locale/programs/config.h: Don't define PARAMS.
2127 * stdlib/strtol_l.c: Likewise.
2128 (__strtol_l): Remove PARAMS from the prototype.
2129
41b81892
UD
21302012-01-31 Ulrich Drepper <drepper@gmail.com>
2131
3b49edc0
UD
2132 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2133 names. Just use the correct names. Remove unnecessary wrapper
2134 functions.
2135 * malloc/arena.c: Likewise.
2136 * malloc/hooks.c: Likewise.
2137
41b81892
UD
2138 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2139 ARENA_TEST says not to. Simplify test for creation of a new arena.
2140 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2141
27a25b6e
UD
21422012-01-30 Ulrich Drepper <drepper@gmail.com>
2143
2144 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2145 into tail calls.
2146 (update_get_addr): New function.
2147 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2148 GET_ADDR_MODULE parameter.
2149
c8a89e7d
JM
21502012-01-30 Joseph Myers <joseph@codesourcery.com>
2151
2152 * crypt/cert.c: Remove __STDC__ conditionals.
2153 * crypt/crypt-entry.c: Likewise.
2154 * crypt/crypt_util.c: Likewise.
2155 * libio/filedoalloc.c: Likewise.
2156 * libio/fileops.c: Likewise.
2157 * libio/genops.c: Likewise.
2158 * libio/iofclose.c: Likewise.
2159 * libio/iofdopen.c: Likewise.
2160 * libio/iofopen.c: Likewise.
2161 * libio/iofopen64.c: Likewise.
2162 * libio/iogetdelim.c: Likewise.
2163 * libio/iopopen.c: Likewise.
2164 * libio/obprintf.c: Likewise.
2165 * libio/oldfileops.c: Likewise.
2166 * libio/oldiofclose.c: Likewise.
2167 * libio/oldiofdopen.c: Likewise.
2168 * libio/oldiofopen.c: Likewise.
2169 * libio/oldiopopen.c: Likewise.
2170 * libio/wfiledoalloc.c: Likewise.
2171 * libio/wgenops.c: Likewise.
2172 * locale/programs/xmalloc.c: Likewise.
2173 * misc/syslog.c: Likewise.
2174 * stdio-common/xbug.c: Likewise.
2175 * string/memchr.c: Likewise.
2176 * string/memcmp.c: Likewise.
2177 * string/memrchr.c: Likewise.
2178 * string/rawmemchr.c: Likewise.
2179 * sysdeps/posix/getcwd.c: Likewise.
2180 * time/strftime_l.c: Likewise.
2181
3b100462
JM
21822012-01-30 Joseph Myers <joseph@codesourcery.com>
2183
2184 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2185 * config.make.in (config-cflags-sse2avx): Define.
2186 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2187 Fix typo.
2188
607998af
CM
21892012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2190
2191 * scripts/config.guess: Update from upstream config git repository.
2192 * scripts/config.sub: Likewise.
2193
3601428f
CM
21942012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2195
3ac8b282
CM
2196 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2197 (EM_NUM): Update.
2198 (R_TILEPRO_*, R_TILEGX_*): New macros.
2199
e034841e
CM
2200 * scripts/firstversions.awk: Fix bug in version range handling.
2201
540d7568
CM
2202 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2203
3601428f
CM
2204 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2205
463de862
CM
2206 * include/sys/epoll.h: New file.
2207 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2208 libc_hidden_def.
2209
73139a76
UD
22102012-01-28 Ulrich Drepper <drepper@gmail.com>
2211
96bc5b45
UD
2212 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2213 Avoid unnecessary __WORDSIZE == 64 test.
2214 (fmaxf): Use VEX format if possible.
2215 (fmax): Likewise.
2216 (fminf): Likewise.
2217 (fmin): Likewise.
2218
56f6f6a2
UD
2219 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2220 * math/math_private.h: Remove libc_fegetround* and
2221 libc_fesetround*.
2222 * sysdeps/i386/configure.in: Check for -msse2avx.
2223 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2224 also if SSE2AVX is defined.
2225 Remove libc_fegetround* and libc_fesetround*.
2226 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2227 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2228 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2229 of HAS_YMM_USABLE.
2230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2231 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2235
73139a76
UD
2236 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2237
d73f93a4
AZ
22382012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239
2240 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2241 size is not set.
2242 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2243
6ee65ed6
UD
22442012-01-27 Ulrich Drepper <drepper@gmail.com>
2245
2246 [BZ #13618]
2247 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2248 relocation.
2249 * Makeconfig (libm): Define.
2250 * elf/Makefile: Add rules to build and run tst-relsort1.
2251 * elf/tst-relsort1.c: New file.
2252 * elf/tst-relsort1mod1.c: New file.
2253 * elf/tst-relsort1mod2.c: New file.
2254
8db21882
JM
22552012-01-27 Joseph Myers <joseph@codesourcery.com>
2256
2257 * math/s_ldexp.c: Remove __STDC__ conditionals.
2258 * math/s_ldexpf.c: Likewise.
2259 * math/s_ldexpl.c: Likewise.
2260 * math/s_nextafter.c: Likewise.
2261 * math/s_nexttowardf.c: Likewise.
2262 * math/s_significand.c: Likewise.
2263 * math/s_significandf.c: Likewise.
2264 * math/s_significandl.c: Likewise.
2265 * math/w_jnl.c: Likewise.
2266 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2267 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2268 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2269 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2270 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2272 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2273 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2274 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2275 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2276 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2277 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2278 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2279 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2280 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2281 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2282 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2283 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2285 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2286 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2287 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2288 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2290 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2291 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2292 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2293 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2294 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2295 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2296 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2297 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2298 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2299 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2300 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2301 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2302 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2303 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2304 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2305 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2306 * sysdeps/ieee754/k_standard.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2326 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2327 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2336 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2338 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2339 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2340 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2341 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2342 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2343 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2348 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2349 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2350 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2353 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2354 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2365 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2366 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2367 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2368 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2369 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2372 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2373 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2377 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2381 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2382 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2383 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2386 * sysdeps/ieee754/s_matherr.c: Likewise.
2387 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2388 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2391
965a54a4
JM
23922012-01-26 Joseph Myers <joseph@codesourcery.com>
2393
2394 * crypt/md5.h: Remove __STDC__ conditionals.
2395 * libio/libioP.h: Likewise.
2396 * locale/programs/config.h: Likewise.
2397 * sysdeps/generic/sysdep.h: Likewise.
2398 * sysdeps/i386/asm-syntax.h: Likewise.
2399 * sysdeps/s390/asm-syntax.h: Likewise.
2400 * sysdeps/unix/sysdep.h: Likewise.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2403
7071ad79
JM
24042012-01-26 Joseph Myers <joseph@codesourcery.com>
2405
2406 * libio/libio.h: Remove __STDC__ conditionals.
2407 * malloc/obstack.h: Likewise.
2408 * math/complex.h: Likewise.
2409 * math/math.h: Likewise.
2410 * sysdeps/generic/_G_config.h: Likewise.
2411 * sysdeps/gnu/_G_config.h: Likewise.
2412 * sysdeps/mach/hurd/_G_config.h: Likewise.
2413 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2414 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2415 * sysdeps/sparc/bits/mathdef.h: Likewise.
2416
afc5ed09
UD
24172012-01-26 Ulrich Drepper <drepper@gmail.com>
2418
2419 [BZ #13583]
2420 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2421 Clean up HAS_* macros.
afc5ed09 2422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2423 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2424 possible.
2425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2426 HAS_AVX.
2427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2428 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2432
bdb6de1d
JM
24332012-01-25 Joseph Myers <joseph@codesourcery.com>
2434
2435 * elf/tst-unique3.cc (gets): Remove declaration.
2436 * elf/tst-unique3lib.cc (gets): Likewise.
2437 * elf/tst-unique3lib2.cc (gets): Likewise.
2438 * elf/tst-unique4.cc (gets): Likewise.
2439
b15549e6
UD
24402012-01-24 Ulrich Drepper <drepper@gmail.com>
2441
2442 * include/stdio.h: Add C++ protection. Add gets declarations and
2443 definitions.
2444 * debug/tst-chk1.c: Don't declare gets here.
2445 * stdio-common/tst-gets.c: Likewise.
2446
a037381f
JM
24472012-01-24 Joseph Myers <joseph@codesourcery.com>
2448
2449 * posix/glob: Remove directory.
2450
f1d4aa75
JM
24512012-01-24 Joseph Myers <joseph@codesourcery.com>
2452
2453 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2454
81c0c964
PT
24552012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2456
2457 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2458 of the non-standard EPFNOSUPPORT.
2459
0ea698ae
ST
24602011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2461
2462 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2463 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2464 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2465
d220b117
UD
24662012-01-21 Ulrich Drepper <drepper@gmail.com>
2467
2468 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2469
3e1aa84e
UD
24702012-01-20 Ulrich Drepper <drepper@gmail.com>
2471
2472 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2473 transient errors.
2474 * nscd/grpcache.c (cache_addgr): Likewise.
2475 * nscd/hstcache.c (cache_addhst): Likewise.
2476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2477 * nscd/pwdcache.c (cache_addpw): Likewise.
2478 * nscd/servicescache.c (cache_addserv): Likewise.
2479
400aa020
UD
24802012-01-16 Ulrich Drepper <drepper@gmail.com>
2481
d77e7869
UD
2482 * malloc/malloc.c: Various cleanups.
2483 * malloc/hooks.c: Likewise.
2484
400aa020
UD
2485 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2486 * stdlib/bug-fmtmsg1.c: New file.
2487
2488 * stdlib/fmtmsg.c (init): Add missing unlock.
2489 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2490
e0a309cf
MP
24912012-01-12 Marek Polacek <polacek@redhat.com>
2492
2493 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2494 and _GNU_SOURCE.
2495
929d11c7
WS
24962012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2497
2498 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2499 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2500 macro to ensure uniqueness of label name.
2501 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2502 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2503
41d0e869
UD
25042012-01-11 Ulrich Drepper <drepper@gmail.com>
2505
0cc5ed3b
UD
2506 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2507
41d0e869
UD
2508 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2509 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2510 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2512
a47a831a
UD
25132012-01-10 Ulrich Drepper <drepper@gmail.com>
2514
daa891c0
UD
2515 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2516
2517 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2518 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2519 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2520
e58ef0f2
UD
2521 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2522
a47a831a 2523 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
2524 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2525 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 2526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
2527
2528 * math/bits/math-finite.h: Add ldexp support.
2529
a0bfc9c7
MP
25302012-01-10 Marek Polacek <polacek@redhat.com>
2531
2532 * locale/programs/localedef.h (show_archive_content): Add noreturn
2533 attribute.
2534
d6e97a1d
UD
25352012-01-09 Ulrich Drepper <drepper@gmail.com>
2536
2537 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2538
d5835c26
UD
25392012-01-08 Ulrich Drepper <drepper@gmail.com>
2540
e5f484c6
UD
2541 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2542
d5835c26
UD
2543 * io/Makefile (headers): Add bits/poll2.h.
2544
d1f741e9
WS
25452011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2546
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2548 typo #include statement.
2549
ec09c1c4
UD
25502012-01-08 Ulrich Drepper <drepper@gmail.com>
2551
2552 * include/sys/cdefs.h: Define __attribute_alloc_size.
2553 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2554 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2555 * elf/pldd.c: Likewise.
2556 * iconv/iconv_charmap.c: Likewise.
2557 * iconv/iconvconfig.c: Likewise.
2558 * iconv/strtab.c: Likewise.
2559 * locale/programs/locale.c: Likewise.
2560 * locale/programs/localedef.h: Likewise.
2561 * locale/programs/simple-hash.c: Likewise.
2562 * nscd/nscd.h: Likewise.
2563 * nss/makedb.c: Likewise.
2564 * sysdeps/generic/ldconfig.h: Likewise.
2565 * locale/programs/localedef.c: Remove xmalloc prototype.
2566 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2567
20b38e03
PP
25682012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2569
2570 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2571 appropriate.
2572
a0da5fe1
UD
25732012-01-08 Ulrich Drepper <drepper@gmail.com>
2574
1d5a644a 2575 * math/Makefile (tests): Add tst-CMPLX.
669704fd 2576 * math/tst-CMPLX.c: New file.
1d5a644a 2577
8784a6db
UD
2578 * math/complex.h (CMPLXL): Fix typo.
2579
d9a216c0
UD
2580 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2581 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2582 GLIBC_2.16.
2583 * debug/tst-chk1.c: Add poll and ppoll tests.
2584 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2585 * include/sys/poll.h: Add hidden proto for ppoll.
2586 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2587 * sysdeps/mach/hurd/ppoll.c: Likewise.
2588 * io/ppoll.c: Likewise.
2589 * debug/poll_chk.c: New file.
2590 * debug/ppoll_chk.c: New file.
2591 * include/bits/poll2.h: New file.
2592 * io/bits/poll2.h: New file.
2593
ac097f5c
UD
2594 [BZ #1350]
2595 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2596
2119dcfa
UD
2597 * configure.in: static is always set to yes. Remove.
2598 * config.make.in: Don't set build-static.
2599 * Makeconfig: Remove use of build-static.
2600 * dlfcn/Makefile: Likewise.
2601 * elf/Makefile: Likewise.
2602 * math/Makefile: Likewise.
2603 * misc/Makefile: Likewise.
2604 * nptl/Makefile: Likewise.
2605 * sysdeps/mach/hurd/Makefile: Likewise.
2606
121766a9
UD
2607 * configure.in: PWD_P is not used anymore.
2608 * config.make.in: Remove PWD_P entry.
2609
51a1d39c 2610 * configure.in: Remove last remnants of RANLIB.
8720d066 2611 No need to check for signed size_t anymore.
215f4bdc
UD
2612 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2613 and IA-64.
3857022a 2614 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
2615 * aclocal.m4: Likewise.
2616
d3ed7225
UD
2617 * wcsmbs/mbrtoc16.c: Implement using towc function.
2618 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2619 * wcsmbs/wcsmbsload.c: Likewise.
2620 * iconv/gconv_simple.c: Likewise.
2621 * iconv/gconv_int.h: Likewise.
2622 * iconv/gconv_builtin.h: Likewise.
2623 * iconv/iconv_prog.c: Remove CHAR16 handling.
2624
2625 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2626
2627 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2628
a0da5fe1
UD
2629 * configure.in: Remove --with-elf and --enable-bounded options.
2630 Dont set base_machine for ia64. More non-ELF conditions removed.
2631 Remove testing and setting of leading underscore information.
2632 * config.make.in (build-bounded): Set to no.
2633 * config.h.in: Remove NO_UNDERSCORES entry.
2634 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2635 them.
2636 * csu/start.c: Remove !NO_UNDERSCORE code.
2637 * locale/localeinfo.h: Likewise.
2638 * sysdeps/generic/machine-gmon.h: Likewise.
2639 * sysdeps/generic/sysdep.h: Likewise.
2640 * sysdeps/i386/sysdep.h: Likewise.
2641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2642 * sysdeps/mach/sysdep.h: Likewise.
2643 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2645 * sysdeps/sh/sysdep.h: Likewise.
2646 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2647 * sysdeps/unix/i386/sysdep.S: Likewise.
2648 * sysdeps/unix/sparc/start.c: Likewise.
2649 * sysdeps/unix/sparc/sysdep.S: Likewise.
2650 * sysdeps/unix/sparc/sysdep.h: Likewise.
2651 * sysdeps/unix/start.c: Likewise.
2652 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2653 * sysdeps/x86_64/sysdep.h: Likewise.
2654
df78418a
UD
26552012-01-07 Ulrich Drepper <drepper@gmail.com>
2656
a784e502
UD
2657 [BZ #13553]
2658 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2659 for non-gcc.
2660 * argp/argp-fmtstream.h: Use const instead __const.
2661 * argp/argp.h: Likewise.
2662 * assert/assert.h: Likewise.
2663 * bits/fenv.h: Likewise.
2664 * bits/sched.h: Likewise.
2665 * bits/sigset.h: Likewise.
2666 * bits/sigthread.h: Likewise.
2667 * catgets/nl_types.h: Likewise.
2668 * conform/data/pthread.h-data: Likewise.
2669 * crypt/crypt-private.h: Likewise.
2670 * crypt/crypt.h: Likewise.
2671 * crypt/crypt_util.c: Likewise.
2672 * ctype/ctype.h: Likewise.
2673 * debug/execinfo.h: Likewise.
2674 * debug/mbsnrtowcs_chk.c: Likewise.
2675 * debug/mbsrtowcs_chk.c: Likewise.
2676 * debug/wcsnrtombs_chk.c: Likewise.
2677 * debug/wcsrtombs_chk.c: Likewise.
2678 * debug/wcstombs_chk.c: Likewise.
2679 * dirent/dirent.h: Likewise.
2680 * dlfcn/dlfcn.h: Likewise.
2681 * elf/neededtest4.c: Likewise.
2682 * grp/grp.h: Likewise.
2683 * gshadow/gshadow.h: Likewise.
2684 * iconv/gconv.h: Likewise.
2685 * iconv/gconv_int.h: Likewise.
2686 * iconv/gconv_simple.c: Likewise.
2687 * iconv/iconv.h: Likewise.
2688 * iconv/loop.c: Likewise.
2689 * iconv/skeleton.c: Likewise.
2690 * include/aio.h: Likewise.
2691 * include/aliases.h: Likewise.
2692 * include/argz.h: Likewise.
2693 * include/arpa/inet.h: Likewise.
2694 * include/assert.h: Likewise.
2695 * include/dirent.h: Likewise.
2696 * include/dlfcn.h: Likewise.
2697 * include/execinfo.h: Likewise.
2698 * include/fcntl.h: Likewise.
2699 * include/fenv.h: Likewise.
2700 * include/glob.h: Likewise.
2701 * include/grp.h: Likewise.
2702 * include/libintl.h: Likewise.
2703 * include/mntent.h: Likewise.
2704 * include/netdb.h: Likewise.
2705 * include/pwd.h: Likewise.
2706 * include/rpc/netdb.h: Likewise.
2707 * include/sched.h: Likewise.
2708 * include/search.h: Likewise.
2709 * include/shadow.h: Likewise.
2710 * include/signal.h: Likewise.
2711 * include/stdio.h: Likewise.
2712 * include/stdlib.h: Likewise.
2713 * include/string.h: Likewise.
2714 * include/sys/socket.h: Likewise.
2715 * include/sys/stat.h: Likewise.
2716 * include/sys/statfs.h: Likewise.
2717 * include/sys/statvfs.h: Likewise.
2718 * include/sys/syslog.h: Likewise.
2719 * include/sys/time.h: Likewise.
2720 * include/sys/uio.h: Likewise.
2721 * include/time.h: Likewise.
2722 * include/unistd.h: Likewise.
2723 * include/utmp.h: Likewise.
2724 * include/wchar.h: Likewise.
2725 * include/wctype.h: Likewise.
2726 * inet/aliases.h: Likewise.
2727 * inet/arpa/inet.h: Likewise.
2728 * inet/netinet/ether.h: Likewise.
2729 * inet/netinet/in.h: Likewise.
2730 * intl/libintl.h: Likewise.
2731 * io/bits/fcntl2.h: Likewise.
2732 * io/fcntl.h: Likewise.
2733 * io/ftw.h: Likewise.
2734 * io/sys/poll.h: Likewise.
2735 * io/sys/stat.h: Likewise.
2736 * io/sys/statfs.h: Likewise.
2737 * io/sys/statvfs.h: Likewise.
2738 * io/utime.h: Likewise.
2739 * libio/bits/stdio.h: Likewise.
2740 * libio/bits/stdio2.h: Likewise.
2741 * libio/libio.h: Likewise.
2742 * libio/libioP.h: Likewise.
2743 * libio/stdio.h: Likewise.
2744 * locale/lc-ctype.c: Likewise.
2745 * locale/locale.h: Likewise.
2746 * login/utmp.h: Likewise.
2747 * malloc/arena.c: Likewise.
2748 * malloc/malloc.c: Likewise.
2749 * malloc/malloc.h: Likewise.
2750 * malloc/mcheck.c: Likewise.
2751 * malloc/mtrace.c: Likewise.
2752 * math/bits/mathcalls.h: Likewise.
2753 * math/fenv.h: Likewise.
2754 * math/math_private.h: Likewise.
2755 * misc/bits/error.h: Likewise.
2756 * misc/bits/syslog.h: Likewise.
2757 * misc/err.h: Likewise.
2758 * misc/error.h: Likewise.
2759 * misc/fstab.h: Likewise.
2760 * misc/mntent.h: Likewise.
2761 * misc/regexp.h: Likewise.
2762 * misc/search.h: Likewise.
2763 * misc/sgtty.h: Likewise.
2764 * misc/sys/mman.h: Likewise.
2765 * misc/sys/syslog.h: Likewise.
2766 * misc/sys/uio.h: Likewise.
2767 * misc/sys/xattr.h: Likewise.
2768 * misc/ttyent.h: Likewise.
2769 * nis/rpcsvc/ypclnt.h: Likewise.
2770 * nss/nss.h: Likewise.
2771 * posix/bits/unistd.h: Likewise.
2772 * posix/fnmatch.h: Likewise.
2773 * posix/glob.h: Likewise.
2774 * posix/sched.h: Likewise.
2775 * posix/spawn.h: Likewise.
2776 * posix/sys/wait.h: Likewise.
2777 * posix/unistd.h: Likewise.
2778 * posix/wordexp.h: Likewise.
2779 * pwd/pwd.h: Likewise.
2780 * resolv/netdb.h: Likewise.
2781 * resource/sys/resource.h: Likewise.
2782 * rt/aio.h: Likewise.
2783 * rt/bits/mqueue2.h: Likewise.
2784 * rt/mqueue.h: Likewise.
2785 * shadow/shadow.h: Likewise.
2786 * signal/signal.h: Likewise.
2787 * socket/send.c: Likewise.
2788 * socket/sendto.c: Likewise.
2789 * socket/sys/socket.h: Likewise.
2790 * stdio-common/printf.h: Likewise.
2791 * stdlib/bits/stdlib.h: Likewise.
2792 * stdlib/fmtmsg.h: Likewise.
2793 * stdlib/monetary.h: Likewise.
2794 * stdlib/stdlib.h: Likewise.
2795 * stdlib/ucontext.h: Likewise.
2796 * streams/stropts.h: Likewise.
2797 * string/argz.h: Likewise.
2798 * string/bits/string2.h: Likewise.
2799 * string/string.h: Likewise.
2800 * string/strings.h: Likewise.
2801 * sunrpc/rpc/auth.h: Likewise.
2802 * sunrpc/rpc/auth_des.h: Likewise.
2803 * sunrpc/rpc/clnt.h: Likewise.
2804 * sunrpc/rpc/netdb.h: Likewise.
2805 * sunrpc/rpc/pmap_clnt.h: Likewise.
2806 * sunrpc/rpc/xdr.h: Likewise.
2807 * sysdeps/generic/inttypes.h: Likewise.
2808 * sysdeps/generic/net/if.h: Likewise.
2809 * sysdeps/generic/sys/swap.h: Likewise.
2810 * sysdeps/gnu/net/if.h: Likewise.
2811 * sysdeps/gnu/utmpx.h: Likewise.
2812 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2813 * sysdeps/i386/i486/bits/string.h: Likewise.
2814 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2815 * sysdeps/s390/bits/string.h: Likewise.
2816 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2817 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2818 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2819 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2820 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2821 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2822 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2823 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2824 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2825 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2826 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2827 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2828 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2829 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2830 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2831 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2832 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2836 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2837 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2838 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2839 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2840 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2841 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2842 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2843 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2844 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2845 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2846 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2847 * sysvipc/sys/ipc.h: Likewise.
2848 * sysvipc/sys/msg.h: Likewise.
2849 * sysvipc/sys/sem.h: Likewise.
2850 * sysvipc/sys/shm.h: Likewise.
2851 * termios/termios.h: Likewise.
2852 * time/sys/time.h: Likewise.
2853 * time/time.h: Likewise.
2854 * wcsmbs/bits/wchar2.h: Likewise.
2855 * wcsmbs/uchar.h: Likewise.
2856 * wcsmbs/wchar.h: Likewise.
2857 * wctype/wctype.h: Likewise.
2858
0269750c
UD
2859 [BZ #13551]
2860 * Makeconfig: Remove all but ELF support including AIX support.
2861 * Makerules: Likewise.
2862 * config.h.in: Likewise.
2863 * config.make.in: Likewise.
2864 * configure: Likewise.
2865 * configure.in: Likewise.
2866 * csu/Makefile: Likewise.
2867 * csu/version.c: Likewise.
2868 * debug/Makefile: Likewise.
2869 * dlfcn/Makefile: Likewise.
2870 * elf/Makefile: Likewise.
2871 * extra-lib.mk: Likewise.
2872 * iconv/Makefile: Likewise.
2873 * include/libc-symbols.h: Likewise.
2874 * include/shlib-compat.h: Likewise.
2875 * resolv/Makefile: Likewise.
2876 * resolv/res_libc.c: Likewise.
2877 * rt/Makefile: Likewise.
2878 * sysdeps/i386/asm-syntax.h: Likewise.
2879 * sysdeps/i386/sysdep.h: Likewise.
2880 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2881 * sysdeps/mach/sysdep.h: Likewise.
2882 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2883 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2884 * sysdeps/s390/asm-syntax.h: Likewise.
2885 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2887 * sysdeps/sh/sysdep.h: Likewise.
2888 * sysdeps/unix/sparc/sysdep.h: Likewise.
2889 * sysdeps/wordsize-32/divdi3.c: Likewise.
2890 * sysdeps/x86_64/sysdep.h: Likewise.
2891
00bbd29b
UD
2892 * argp/Versions: Remove _argp_unlock_xxx.
2893
2894 [BZ #13559]
2895 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2896 * abilist/libBrokenLocale.abilist: Likewise.
2897 * abilist/libanl.abilist: Likewise.
2898 * abilist/libc.abilist: Likewise.
2899 * abilist/libcrypt.abilist: Likewise.
2900 * abilist/libdl.abilist: Likewise.
2901 * abilist/libm.abilist: Likewise.
2902 * abilist/libnsl.abilist: Likewise.
2903 * abilist/libpthread.abilist: Likewise.
2904 * abilist/libresolv.abilist: Likewise.
2905 * abilist/librt.abilist: Likewise.
2906 * abilist/libthread_db.abilist: Likewise.
2907 * abilist/libutil.abilist: Likewise.
2908 * abilist/libnss_db.abilist: New file.
2909
2910 * scripts/abilist.awk: Add support for indirect functions.
2911
a2693a0e
UD
2912 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2913
3f05895f
UD
2914 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2915
ecb6fb48
UD
2916 * shlib-versions: Remove entries for ports architectures.
2917
664f8cb9
UD
2918 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2919 files in ports.
2920 * elf/stackguard-macros.h: Remove support for IA-64.
2921 * elf/tst-auditmod1.c: Likewise.
2922 * sysdeps/generic/ldsodefs.h: Likewise.
2923
7ae81d88
UD
2924 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2925 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2926 configure files.
2927
bdeba135
UD
2928 [BZ #13552]
2929 * configure.in: Remove --enable-omitfp support.
2930 * FAQ.in: Adjust.
2931 * config.make.in: Likewise.
2932 * Makeconfig: Likewise.
2933 * manual/install.texi: Likewise.
2934
d75a0a62
UD
2935 In case anyone cares, the IA-64 architecture could move to ports.
2936 * sysdeps/ia64/*: Removed.
2937 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2938 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2939
dcc9756b
UD
2940 [BZ #13555]
2941 * configure.in: Remove entries for unsupported architectures.
2942
d3761ebc 2943 [BZ #13533]
9954432e
UD
2944 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2945 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2946 routines.
2947 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2948 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2949 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2950 fall back to using wcrtomb.
2951 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2952 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2953 renaming.
2954 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2955 * wcsmbs/tst-c16c32-1.c: New file.
2956
2957 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2958 local variable.
2959
c3a87236
UD
2960 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2961
28926a1b
UD
2962 * elf/tst-unique3.cc: Add explicit declaration of gets.
2963 * elf/tst-unique3lib.cc: Likewise.
2964 * elf/tst-unique3lib2.cc: Likewise.
2965 * elf/tst-unique4.cc: Likewise.
2966
df78418a
UD
2967 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2968
8ecd6b2a
JM
29692012-01-06 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #13566]
2972 * assert/assert.h (static_assert): Don't define for C++.
2973 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2974 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2975
9f115170
UD
29762012-01-03 Ulrich Drepper <drepper@gmail.com>
2977
5e0d0300
UD
2978 * iconv/loop.c (single loop): Fix assertion in storing of
2979 remaining bytes.
2980
9f115170
UD
2981 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2982
81fb02b0
UD
29832012-01-01 Ulrich Drepper <drepper@gmail.com>
2984
2985 * posix/getconf.c: Update copyright year.
2986 * nss/getent.c: Likewise.
a316c1f6 2987 * nss/makedb.c: Likewise.
81fb02b0
UD
2988 * iconv/iconvconfig.c: Likewise.
2989 * iconv/iconv_prog.c: Likewise.
2990 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2991 * elf/pldd.c: Likewise.
2992 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2993 * catgets/gencat.c: Likewise.
2994 * csu/version.c: Likewise.
2995 * elf/ldd.bash.in: Likewise.
2996 * elf/sprof.c (print_version): Likewise.
2997 * locale/programs/locale.c: Likewise.
2998 * locale/programs/localedef.c: Likewise.
a316c1f6 2999 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3000 * nscd/nscd.c (print_version): Likewise.
3001 * debug/xtrace.sh: Likewise.
3002 * malloc/memusage.sh: Likewise.
3003 * malloc/mtrace.pl: Likewise.
3004 * debug/catchsegv.sh: Likewise.
3005
2ba92745
JJ
30062011-12-30 Jakub Jelinek <jakub@redhat.com>
3007
3008 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3009 pure attribute.
3010
dadebdae
UD
30112011-12-24 Ulrich Drepper <drepper@gmail.com>
3012
d3761ebc 3013 [BZ #13533]
db6af3eb
UD
3014 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3015 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3016 transformations.
3017 * iconv/gconv_int.h: Likewise.
3018 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3019 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3020 from libc for GLIBC_2.16.
3021 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3022 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3023 * wcsmbs/uchar.h: Really define mbstate_t.
3024 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3025 * wcsmbs/c16rtomb.c: New file.
3026 * wcsmbs/mbrtoc16.c: New file.
3027 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3028 for C/POSIX locale.
3029 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3030 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3031
dadebdae
UD
3032 * wcsmbs/wchar.h: Add missing __restrict.
3033
67371b56
UD
30342011-12-23 Ulrich Drepper <drepper@gmail.com>
3035
74033a25
UD
3036 [BZ #13532]
3037 * time/Makefile (routines): Add timespec_get.
3038 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3039 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3040 timespec for ISO C11.
3041 * time/timespec_get.c: New file.
3042 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3043 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3044
380d7e87
UD
3045 [BZ #13531]
3046 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3047 * stdlib/stdlib.h: Declare aligned_alloc.
3048 * Versions.def: Add GLIBC_2.16 for libc.
3049 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3050
4e9e7a35
UD
3051 [BZ 13527]
3052 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3053 ISO C11.
3054
380d7e87 3055 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3056 code.
3057
03a71829
UD
3058 [BZ #13528]
3059 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3060
839e283e
UD
3061 [BZ #13529]
3062 * assert/assert.h (static_assert): Define.
3063
ce5294e2 3064 * version.h: Update for 2.16 development version.
90fa7312 3065
8d44e150 3066 [BZ #13526]
d7809905
UD
3067 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3068 _ISOC11_SOURCE.
3069
c0da14cd
UD
3070 * version.h (RELEASE): Bump for 2.15 release.
3071 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3072
530a3249
MP
3073 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3074 Patch by Marek Polacek <mpolacek@redhat.com>.
3075
67371b56
UD
3076 * bits/byteswap.h: Protect long long constants with __extension__.
3077 * sysdeps/i386/bits/byteswap.h: Likewise.
3078 * sysdeps/ia64/bits/byteswap.h: Likewise.
3079 * sysdeps/s390/bits/byteswap.h: Likewise.
3080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3081
15db4de1
LD
30822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3083
3084 [BZ #13540]
bbe315ea
LD
3085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3086 destination buffer.
15db4de1
LD
3087 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3088
2b2596b1
MP
30892011-12-23 Marek Polacek <polacek@redhat.com>
3090
3091 * elf/dl-addr.c (determine_info): Add inline keyword.
3092 * elf/tst-auditmod4b.c (check_avx): Likewise.
3093 * elf/tst-auditmod6b.c (check_avx): Likewise.
3094 * elf/tst-auditmod6c.c (check_avx): Likewise.
3095 * elf/tst-auditmod7b.c (check_avx): Likewise.
3096
70c6c246
UD
30972011-12-23 Ulrich Drepper <drepper@gmail.com>
3098
3099 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3100 !__SSE_MATH__.
3101
c044cf14
LD
31022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3103
15db4de1 3104 [BZ #13540]
c044cf14
LD
3105 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3106 processing for last bytes.
3107
6b13d9d9
BH
31082011-08-06 Bruno Haible <bruno@clisp.org>
3109
d455f537
BH
3110 [BZ #13061]
3111 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3112 U+0385, not to U+1FEE.
3113
6b13d9d9
BH
3114 [BZ #13062]
3115 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3116 entry for U+00A5 U+0301.
3117
db910efd
UD
31182011-12-22 Ulrich Drepper <drepper@gmail.com>
3119
27deeafc
UD
3120 [BZ #13166]
3121 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3122 buffer for the output is too small.
3123
aed9d171
UD
3124 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3125 optimization.
3126
db910efd
UD
3127 [BZ #13185]
3128 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3129 SSE flags if possible.
3130
2bd779ae
LD
31312011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3132
e7f9dac3 3133 [BZ #13540]
2bd779ae
LD
3134 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3135 processing for last bytes.
3136
154bfc16
JM
31372011-12-22 Joseph Myers <joseph@codesourcery.com>
3138
3139 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3140 (syscall-list-default-options, syscall-list-default-condition)
3141 (syscall-list-includes): Define.
3142 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3143 list of ABIs and options and #if conditions for each ABI. Do not
3144 handle common syscalls between ABIs specially.
3145 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3146 Remove.
3147 (syscall-list-variants, syscall-list-32bit-options)
3148 (syscall-list-32bit-condition, syscall-list-64bit-options)
3149 (syscall-list-64bit-condition): Define.
3150 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3151 (syscall-list-variants, syscall-list-32bit-options)
3152 (syscall-list-32bit-condition, syscall-list-64bit-options)
3153 (syscall-list-64bit-condition): Define.
3154 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3155 Remove.
3156 (syscall-list-variants, syscall-list-32bit-options)
3157 (syscall-list-32bit-condition, syscall-list-64bit-options)
3158 (syscall-list-64bit-condition): Define.
3159 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3160 Remove.
3161 (syscall-list-variants, syscall-list-32bit-options)
3162 (syscall-list-32bit-condition, syscall-list-64bit-options)
3163 (syscall-list-64bit-condition): Define.
3164
21eaf3a5
UD
31652011-12-22 Ulrich Drepper <drepper@gmail.com>
3166
16c6f992
UD
3167 * locale/iso-639.def: Add brx entry.
3168
41043168
UD
3169 [BZ #13328]
3170 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3171 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3172
21eaf3a5
UD
3173 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3174 __feraiseexcept_renamed.
3175
e3a851a2
UD
31762011-12-21 Ulrich Drepper <drepper@gmail.com>
3177
4920765e
UD
3178 [BZ #13538]
3179 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3180 EPOLLET with unsigned values.
3181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3182 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3183
e3a851a2
UD
3184 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3185 to large cancellation.
3186 * math/s_cacoshf.c: Likewise.
3187 * math/s_cacoshl.c: Likewise.
3188
b27e24b8
RK
31892011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3190
3191 [BZ #13305]
aebefeee 3192 [BZ #12786]
b27e24b8
RK
3193 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3194 * math/s_cacoshf.c: Likewise.
3195 * math/s_cacoshl.c: Likewise.
3196
ee190f67
UD
31972011-12-21 Ulrich Drepper <drepper@gmail.com>
3198
3199 [BZ #13439]
3200 * iconv/gconv.h: Define __GCONV_SWAP.
3201 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3202 * iconvdata/utf-16.c: Likewise.
3203 * iconvdata/utf-32.c: Likewise.
3204
707f25df
AS
32052011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3206
3207 [BZ #13524]
3208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3209 numerator after shifting it by one limb.
3210
d2daaa1e
RÁE
32112011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3212
3213 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3214 under [__USE_EXTERN_INLINES].
3215
a4647e72
UD
32162011-12-17 Ulrich Drepper <drepper@gmail.com>
3217
3218 [BZ #13446]
3219 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3220
f0b264f1
AZ
32212011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3222
3223 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3224 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3225 optimized code.
3226 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3227 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3228 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3229 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3230 for strncasecmp/strncasecmp_l compilation.
3231 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3232 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3233
8ef4f244
MP
32342011-12-08 Marek Polacek <mpolacek@redhat.com>
3235
3236 [BZ #13484]
3237 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3238 of __asm__.
3239
97ac2654
UD
32402011-12-17 Ulrich Drepper <drepper@gmail.com>
3241
3242 [BZ #13506]
3243 * time/tzfile.c (__tzfile_read): Check values from file header.
3244
91d2a845
WS
32452011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3246
3247 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3248 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3249 * powerpc/powerpc32/dl-start.S: Likewise.
3250 * powerpc/powerpc32/elf/start.S: Likewise.
3251 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3252 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3253 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3254 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3255 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3256 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3257 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3258 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3259 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3260 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3261 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3262 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3263 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3264 * powerpc/powerpc32/memset.S: Likewise.
3265 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3266 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3267 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3268 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3269 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3270 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3271 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3272 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3273 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3274 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3275 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3276 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3277 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3278
a1267ba1
AZ
32792011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3280
3281 * math/libm-test.inc: Added more nearbyint tests.
3282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3285 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3286
ad8ac1bd
RL
32872011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3288
3289 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3290 FD_CLOEXEC.
3291
1d3e4b61
UD
32922011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3293
3294 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3295 Add wcscpy-ssse3 wcscpy-c.
3296 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3297 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3298 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3299 * sysdeps/x86_64/wcschr.S: New file.
3300 * sysdeps/x86_64/wcsrchr.S: New file.
3301 * string/test-strcmp.c: Remove checking of wcscmp function for
3302 wrong alignments.
3303 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3304 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3305 wcsrchr-sse2 wcsrchr-c.
3306 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3307 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3308 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3309 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3310 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3311 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3312 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3313 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3314 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3315 * wcsmbc/wcschr.c (WCSCHR): New macro.
3316
5b330a2d
UD
33172011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3318
3319 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3320 * wcsmbs/test-wcsrchr.c: New file.
3321 * string/test-strrchr.c: Add wcsrchr support.
3322 (WIDE): New macro.
3323 * wcsmbs/test-wcscpy.c: New file.
3324 * string/test-strcpy.c: Add wcscpy support.
3325 (WIDE): New macro.
26428b7c 3326
f039c043
UD
33272011-12-10 Ulrich Drepper <drepper@gmail.com>
3328
3329 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3330 the inner loop.
3331
850fb039
AS
33322011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3333
3334 [BZ #13472]
3335 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3336
4efbd5cb
UD
33372011-12-04 Ulrich Drepper <drepper@gmail.com>
3338
52ff5dd0 3339 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3340 Minor optimizations.
52ff5dd0 3341
4efbd5cb
UD
3342 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3343 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3344 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3345
8a426e12
UD
33462011-12-03 Ulrich Drepper <drepper@gmail.com>
3347
aff2453d
UD
3348 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3349 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3350 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3351 for gcc to avoid warnings.
3352 * inet/Makefile (tests): Add tst-checks.
3353 * inet/tst-checks.c: New file.
3354
3355 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3356 warning.
3357
3358 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3359 __wmemcmp_sse2.
3360
3361 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3362 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3363
8a426e12
UD
3364 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3365
9bea3473
UD
33662011-12-02 Ulrich Drepper <drepper@gmail.com>
3367
3a965496
UD
3368 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3369 problem.
3370
9bea3473
UD
3371 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3372
f101631b
UD
33732011-11-29 Joseph Myers <joseph@codesourcery.com>
3374
3375 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3376 conditional on GCC version.
3377 (__arch_compare_and_exchange_val_8_acq)
3378 (__arch_compare_and_exchange_val_16_acq)
3379 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3380 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3381 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3382
a98275aa
UD
33832011-12-02 Joseph Myers <joseph@codesourcery.com>
3384
3385 * sysdeps/sh/backtrace.c: New file.
3386
d4cc29a2
AS
33872011-12-02 Andreas Schwab <schwab@redhat.com>
3388
3389 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3390 parenthesis.
3391
6257af2d
AS
33922011-12-01 Andreas Schwab <schwab@redhat.com>
3393
3394 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3395 falling back to utime.
3396
b5f44c1a
AS
33972011-11-30 Andreas Schwab <schwab@redhat.com>
3398
3399 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3400 expectations for float.
3401
f3a6cc0a
AS
34022011-11-29 Andreas Schwab <schwab@redhat.com>
3403
3404 * locale/weight.h (findidx): Add parameter len.
3405 * locale/weightwc.h (findidx): Likewise.
3406 * posix/fnmatch_loop.c (FCT): Adjust caller.
3407 * posix/regcomp.c (build_equiv_class): Likewise.
3408 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3409 * posix/regexec.c (check_node_accept_bytes): Likewise.
3410 * string/strcoll_l.c (STRCOLL): Likewise.
3411 * string/strxfrm_l.c (STRXFRM): Likewise.
3412
9d65ea3a
UD
34132011-11-17 Ulrich Drepper <drepper@gmail.com>
3414
3415 * Makefile.in: Remove CVSOPT handling.
3416 * configure.in: Remove use of AC_REVISION.
3417 * iconvdata/Makefile (distribute): No need to filter out CVS.
3418 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3419 handling.
3420
5583a086
AS
34212011-11-16 Andreas Schwab <schwab@redhat.com>
3422
3423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3424 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3425 [USE_AS_STRNCASECMP_L]: Likewise.
3426 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3427 NO_TLS_DIRECT_SEG_REFS.
3428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3429 Fix argument offsets for non-PIC.
3430 [USE_AS_STRNCASECMP_L]: Likewise.
3431 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3432 NO_TLS_DIRECT_SEG_REFS.
3433
d62a8200
UD
34342011-11-15 Ulrich Drepper <drepper@gmail.com>
3435
9d65ea3a 3436 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3437 O_CLOEXEC.
3438 * locale/loadlocale.c (_nl_load_locale): Likewise.
3439
09f93bd3
AS
34402011-11-15 Andreas Schwab <schwab@redhat.com>
3441
446514f9
AS
3442 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3443 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3444 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3445 (SYSCALL_GETTIME): Set errno on error.
3446
09f93bd3
AS
3447 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3448 count references to noai6ai_cached.
3449
312be3f9
UD
34502011-11-15 Ulrich Drepper <drepper@gmail.com>
3451
3452 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3453
3454 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3455 FD_CLOEXEC for /proc/self/maps.
3456
3457 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3458 FD_CLOEXEC for /proc/meminfo.
3459
3460 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3461 gai.conf.
3462
3463 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3464 FD_CLOEXEC for given file.
3465
3466 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3467
3468 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3469 FD_CLOEXEC for /etc/hosts.
3470 (_gethtent): Likewise.
3471
3472 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3473
3474 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3475 cancellation and set FD_CLOEXEC for /etc/netgroup.
3476
3477 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3478 reading /etc/publickey.
3479
3480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3481 allow cancellation when reading /etc/group.
3482
3483 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3484 cancellation.
3485 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3486
3487 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3488 when using data file.
3489
3490 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3491
3492 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3493 (write_nis_obj): Use "c" and "e" in fopen.
3494
3495 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3496
3497 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3498
3499 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3500
3501 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3502
3503 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3504 locale.alias.
3505
3506 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3507
3508 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3509
3510 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3511
3512 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3513 file parsing and set FD_CLOEXEC.
3514
82af0fa8
UD
35152011-11-14 Ulrich Drepper <drepper@gmail.com>
3516
3517 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3518
a5fb313c
AS
35192011-11-14 Andreas Schwab <schwab@redhat.com>
3520
3521 * malloc/arena.c (arena_get2): Don't call reused_arena when
3522 _int_new_arena failed.
3523
6abf3465
UD
35242011-11-14 Ulrich Drepper <drepper@gmail.com>
3525
3526 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3527 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3528 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3530 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3532 to compile strcasecmp and strncasecmp.
3533 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3534 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3535
3536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3537
76e3966e
UD
35382011-11-13 Ulrich Drepper <drepper@gmail.com>
3539
3540 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3541 locale-defines.sym to gen-as-const-headers.
3542 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3543 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3545 to compile strcasecmp and strncasecmp.
3546 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3547 strcasecmp_l and strncasecmp_l.
3548 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3549 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3550 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3551 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3552 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3553 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3554 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3555 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3556 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3557 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3558 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3559
ab26144e
UD
35602011-11-12 Ulrich Drepper <drepper@gmail.com>
3561
7edb22ef
UD
3562 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3563 result of SYSDEP_GETTIME_CPU to retval.
3564 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3565 parameter list to macro. Remove trailing semicolon. Adjust users.
3566
9694fc44
UD
3567 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3568 variable.
3569
8ad89ef8
UD
3570 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3571 mantissa words.
3572 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3573
0c822ef9
UD
3574 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3575 from unused variable.
3576
874e0564
UD
3577 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3578 DWARF definitions.
3579 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3580 for assembling.
3581
3a2edc79
UD
3582 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3583 over namespaces.
3584
f3c2577f
UD
3585 * sunrpc/rpc_prot.c (rejected): Fix case value.
3586
294ce126
UD
3587 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3588 unsigned long long int to avoid warnings in shift.
3589
5e2b63c6
UD
3590 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3591 of use of trans.
3592 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3593 variable tmp.
3594
e7f4b08e
UD
3595 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3596 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3597 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3598
ab26144e
UD
3599 * nis/nis_table.c (nis_list): Use variable of correct type for
3600 result of __follow_path call.
3601
8a6d5255
AZ
36022011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3603
3604 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3605 of math functions ceil, trunc, floor, round, and sqrt, when
3606 avaliable on the platform.
3607 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3608 name clash.
3609 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3610 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3611 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3612
aaddc98c
MP
36132011-10-30 Marek Polacek <mpolacek@redhat.com>
3614
3615 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3616 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3617
95b7042b
RM
36182011-11-11 Roland McGrath <roland@hack.frob.com>
3619
3620 * include/unistd.h: Fix __readlink return type.
3621 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3622
57769839
UD
36232011-11-11 Ulrich Drepper <drepper@gmail.com>
3624
3625 * stdlib/ucontext.h: Undo last change for makecontext.
3626
edc5984d
AS
36272011-11-11 Andreas Schwab <schwab@redhat.com>
3628
98591e58
AS
3629 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3630
edc5984d
AS
3631 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3632 * setjmp/setjmp.h: Mark functions as non-leaf.
3633 * setjmp/bits/setjmp2.h: Likewise.
3634 * stdlib/ucontext.h: Likewise.
3635
77cdc054
AS
36362011-11-10 Andreas Schwab <schwab@redhat.com>
3637
3638 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3639 (reused_arena): Don't check arena limit.
3640 (arena_get2): Atomically check arena limit.
3641
fe72eebd
UD
36422011-11-08 Ulrich Drepper <drepper@gmail.com>
3643
5f078c32
UD
3644 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3645 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3646
fe72eebd
UD
3647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3648 instructions.
3649
ae1bc2fa
AS
36502011-11-07 Andreas Schwab <schwab@redhat.com>
3651
7583a88d
AS
3652 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3653 handler when locking.
3654
ae1bc2fa
AS
3655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3656 Fix size of allocated buffer.
3657
10fb0bfa
AS
36582011-11-04 Andreas Schwab <schwab@redhat.com>
3659
998832a4
AS
3660 [BZ #10103]
3661 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3662 declarations for long double functions.
3663 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3664
10fb0bfa
AS
3665 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3666
3d7ba52b
AS
36672011-11-03 Andreas Schwab <schwab@redhat.com>
3668
a9ae54a1
AS
3669 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3670 installed.
3671
3d7ba52b
AS
3672 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3673 is disabled.
3674
bc8db248
ST
36752011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3676
3677 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3678
45b96dd6
AS
36792011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3680
647776f6
AS
3681 * include/alloca.h (stackinfo_alloca_round): Define.
3682 (extend_alloca): Use it.
3683 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3684 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3685 here.
3686
d91a8b93
AS
3687 * scripts/check-local-headers.sh: Ignore libaudit.h.
3688
45b96dd6
AS
3689 * nscd/Makefile (extra-objs): Make recursively expanded.
3690
432d41ce
UD
36912011-11-01 Ulrich Drepper <drepper@gmail.com>
3692
34372fc6
UD
3693 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3694 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3695
fadb59f8
UD
3696 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3697 * posix/tst-rfc3484-2.c: Likewise.
3698 * posix/tst-rfc3484-3.c: Likewise.
3699
78239589
UD
3700 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3701 process_vm_writev.
3702 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3703 process_vm_writev.
3704 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3705 process_vm_writev from libc using GLIBC_2.15 version.
3706
432d41ce
UD
3707 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3708
02f9c6cf
PP
37092011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3710
3711 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3712 stack usage.
3713
3a2c0242
UD
37142011-10-31 Ulrich Drepper <drepper@gmail.com>
3715
f4ec4833
UD
3716 [BZ #13367]
3717 * nss/getent.c (initgroups_keys): Show error message in case no group
3718 names are given.
3719
3a2c0242
UD
3720 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3721 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3722 __bump_nl_timestamp.
3723 * nscd/connections (nscd_init): When host database is served open
3724 netlink socket and request notification about configuration changes.
3725 (main_loop_poll): Track netlink file descriptor and bump timestamp
3726 in case data becomes available.
3727 (main_loop_epoll): Likewise.
3728 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3729 (database_pers_head): Add extra_data fileds.
3730 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3731 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3732 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3733 Adjust caller.
3734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3735 in6ai data, call __free_in6ai.
3736 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3737 Add -DHAVE_NETLINK.
3738 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3739 interface information. Reuse previous data if netlink timestamp
3740 is not changed.
3741 (__bump_nl_timestamp): New function.
3742 (__free_in6ai): New function.
3743
636064eb
UD
37442011-10-30 Ulrich Drepper <drepper@gmail.com>
3745
3746 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3747 close_not_cancel_no_status here.
3748 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3749
9beb2334
UD
37502011-10-29 Ulrich Drepper <drepper@gmail.com>
3751
6ef76f3b
UD
3752 [BZ #13276]
3753 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3754 return value.
3755
0ffc4f3e 3756 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3757 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3758 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3759
cb95113e
UD
37602011-07-03 Andreas Jaeger <aj@suse.de>
3761
3762 [BZ #10709]
3763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3764 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3765 * math/libm-test.inc (sin_test): Add test case.
3766
a1b560ff
UD
37672011-10-29 Ulrich Drepper <drepper@gmail.com>
3768
c9aaface
UD
3769 [BZ #13337]
3770 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3771 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3772
d272e7f1
UD
3773 * elf/chroot_canon.c (chroot_canon): Cleanups.
3774
1bc33071
UD
3775 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3776
1760874d
TJ
3777 [BZ #13335]
3778 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3779 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3780
51d91b18
UD
3781 * string/test-strchr.c: Make usable for strchrnul testing.
3782 * string/test-strchrnul.c: New file.
3783 * string/Makefile (strop-tests): Add strchrnul.
3784
a1b560ff 3785 * po/it.po: Update from translation team.
b611fb81 3786 * po/es.po: Likewise.
a1b560ff 3787
a5b81e1f
UD
37882011-10-28 Ulrich Drepper <drepper@gmail.com>
3789
fd52bc6d
UD
3790 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3791 the three constants needed as parameters. Drop the others.
3792 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3793 __m128i_strloadu_tolower.
52e4b9eb
UD
3794 Create and initialize variable zero and use it in all the places
3795 where _mm_setzero_si128 was used.
fd52bc6d 3796
a5b81e1f
UD
3797 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3798 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3799 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3800 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3801 anymore.
3802 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3803 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3804 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3805 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3806 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3807 __mpranred, __mptan.
3808 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3809 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3810 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3811 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3812 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3813 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3814 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3815 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3816 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3817
b4343346
AS
38182011-10-28 Andreas Schwab <schwab@redhat.com>
3819
0c92d8a8
AS
3820 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3821 redefine if SHARED.
3822 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3823
b4343346
AS
3824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3825 wide char related routines to wcsmbs subdir.
3826
3871f58f
AS
38272011-10-27 Andreas Schwab <schwab@redhat.com>
3828
3829 [BZ #13344]
3830 * misc/sys/cdefs.h (__THROWNL): Define.
3831 * posix/unistd.h: Use __THREADNL instead of __THREAD
3832 for memory synchronization functions.
3833
94d44d9f
RM
38342011-10-26 Roland McGrath <roland@hack.frob.com>
3835
21b64b15 3836 [BZ #13349]
94d44d9f
RM
3837 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3838 doesn't exist.
3839 * manual/stdio.texi (Obstack Streams): Node removed.
3840
f6ce9294
AS
38412011-10-26 Andreas Schwab <schwab@redhat.com>
3842
80479147
AS
3843 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3845 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3846
f6ce9294
AS
3847 * math/math_private.h (math_force_eval): Allow non-addressable
3848 arguments.
3849 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3850
618280a1
UD
38512011-10-25 Ulrich Drepper <drepper@gmail.com>
3852
e0016b11
UD
3853 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3854 file is not needed.
3855
3856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3857 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3858 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3859 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3860 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3861 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3862 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3863 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3864 Add AVX variants.
3865 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3866 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3867 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3868 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3869 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3870 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3871 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3872 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3873 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3874 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3875 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3876 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3877 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3878 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3879 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3880 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3881 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3882 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3883 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3884
3885 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3886 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3887
618280a1
UD
3888 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3889 place. Use VEX encoding when compiling for AVX.
3890
37822576
AS
38912011-10-25 Andreas Schwab <schwab@redhat.com>
3892
1f1e1947
AS
3893 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3894 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3895
37822576
AS
3896 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3897
31ea014d
UD
38982011-10-25 Ulrich Drepper <drepper@gmail.com>
3899
d7826aa1 3900 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3901 useless if() expression.
d7826aa1
UD
3902 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3903 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3904 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3906 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3907 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3908 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3910 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3912 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3913 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3914 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3915 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3916 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3917 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3918 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3920 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3921
31ea014d
UD
3922 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3923
16437fec
AS
39242011-10-25 Andreas Schwab <schwab@redhat.com>
3925
3926 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3927 condition.
3928 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3929
31d3cc00
UD
39302011-10-25 Ulrich Drepper <drepper@gmail.com>
3931
3932 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3933 .text section. Avoid duplicate constants.
3934 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3944 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3946 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3949 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3951 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3957 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3958 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3959 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3960 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3961 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3962 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3963 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3964 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3965 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3967 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3968 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3969 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3970 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3971 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3972 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3973 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3974 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3975 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3976 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3977 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3978 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3979
58985aa9
UD
39802011-10-24 Ulrich Drepper <drepper@gmail.com>
3981
202c9deb
UD
3982 * sysdeps/x86_64/dla.h: Move to ...
3983 * sysdeps/x86_64/fpu/dla.h: ...here.
3984 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3985 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3986
af968f62
UD
3987 * config.make.in: Add have-mfma4 entry.
3988 * configure.in: Substitute libc_cv_cc_fma4.
3989 * math/Makefile (dbl-only-routines): Add sincostab.
3990 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3991 Use __sincostab not sincos.
3992 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3993 name is a macro.
3994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3998 using __copysign.
3999 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4000 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4001 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4002 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4003 and __inv.
4004 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4005 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4006 __copysign.
4007 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4008 define aliases when function name is a macro.
4009 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4010 sysdeps/ieee754/dbl-64/sincos.tbl.
4011 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4012 fma4-enabled routines.
4013 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4014 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4017 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4018 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4020 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4022 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4023 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4024 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4025 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4026 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4027 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4028 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4029 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4030 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4031 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4033 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4034 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4036 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4040 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4041 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4042 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4043
58985aa9
UD
4044 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4045 rename.
4046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4054
a201fbcf
AS
40552011-10-24 Andreas Schwab <schwab@redhat.com>
4056
4057 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4058
fc2ee42a
LD
40592011-10-23 Ulrich Drepper <drepper@gmail.com>
4060
bb3129bd
UD
4061 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4062
0275fff8
UD
4063 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4064 prediction.
4065 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4066
2fa2ae85
UD
4067 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4068 Remove unused variable magic_bits.
4069 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4070
fc2ee42a
LD
4071 * string/strnlen.c: Define and use STRNLEN macro.
4072 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4073 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4075 * wcsmbs/wcslen.c: Define and use WCSLEN.
4076 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4077 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4078 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4079 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4080 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4081 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4082 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4083
ce7dd29f
LD
40842011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4085
4086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4087 strnlen-sse2-no-bsf.
4088 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4089 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4090 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4091 Add strnlen support.
4092 (USE_AS_STRNLEN): New macro.
4093 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4094 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4095 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4096 * sysdeps/x86_64/wcslen.S: New file.
4097
979c70a3
MZ
40982011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4099
4100 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4101 XMM-moves are used for copying on small sizes.
4102
2d09f82f
LD
41032011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4104
4105 * wcsmbs/Makefile (strop-tests): Add wcschr.
4106 * wcsmbs/test-wcschr.c: New file.
4107 * string/test-strchr.c: Update.
4108 Add wcschr support.
4109 (WIDE): New macro.
4110
619fccca
LD
41112011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4112
2d09f82f 4113 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4114 * wcsmbs/test-wcslen.c: New file.
4115 * string/test-strlen.c: Update.
4116 Add wcslen support.
4117 (WIDE): New macro.
4118
09f699ea
UD
41192011-10-23 Ulrich Drepper <drepper@gmail.com>
4120
4121 * po/it.po: Update from translation team.
4122
95584d3b
LD
41232011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4124
4125 * sysdeps/x86_64/wcscmp.S: Update.
4126 Fix wrong comparison semantics.
4127 wcscmp shall use signed comparison not unsigned.
4128 Don't use substraction to avoid overflow bug.
4129 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4130 * wcsmbc/wcscmp.c: Likewise.
4131 * string/test-strcmp.c: Likewise.
4132 Add new tests to check cases with negative values.
4133
c8b3296b
UD
41342011-10-23 Ulrich Drepper <drepper@gmail.com>
4135
4136 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4137 * sysdeps/x86_64/dla.h: ...here. New file.
4138 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4146 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4147
246ad57a
AS
41482011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4149
4150 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4151 __ynl_finite aliases.
4152
a1a87169
UD
41532011-10-22 Ulrich Drepper <drepper@gmail.com>
4154
0d355eb7
UD
4155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4156
a1a87169
UD
4157 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4158 define DLA_FMA.
4159 [DLA_FMA] (EMULV): Use DLA_FMA.
4160 [DLA_FMA] (MUL12): Use EMULV.
4161 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4162 that are not needed.
4163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4170
ee2aafe0
AS
41712011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4172
4173 * math/s_nan.c: Undef __nan.
4174 * math/s_nanf.c: Undef __nanf.
4175 * math/s_nanl.c: Undef __nanl.
4176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4177 "math_private.h".
4178
bc62c2fb
UD
41792011-10-22 Ulrich Drepper <drepper@gmail.com>
4180
77425c63
UD
4181 * math/s_catan.c: Add branch predictions.
4182 * math/s_catanf.c: Likewise.
4183 * math/s_catanh.c: Likewise.
4184 * math/s_catanhf.c: Likewise.
4185 * math/s_catanhl.c: Likewise.
4186 * math/s_catanl.c: Likewise.
4187 * math/s_cexp.c: Likewise.
4188 * math/s_cexpf.c: Likewise.
4189 * math/s_cexpl.c: Likewise.
4190 * math/s_clog.c: Likewise.
4191 * math/s_clog10.c: Likewise.
4192 * math/s_clog10f.c: Likewise.
4193 * math/s_clog10l.c: Likewise.
4194 * math/s_clogf.c: Likewise.
4195 * math/s_clogl.c: Likewise.
4196 * math/s_csqrt.c: Likewise.
4197 * math/s_csqrtf.c: Likewise.
4198 * math/s_csqrtl.c: Likewise.
4199 * math/s_ctanf.c: Likewise.
4200 * math/s_ctanh.c: Likewise.
4201 * math/s_ctanhf.c: Likewise.
4202 * math/s_ctanhl.c: Likewise.
4203 * math/s_ctanl.c: Likewise.
4204
bc62c2fb
UD
4205 * math/math_private.h: Define __nan, __nanf, __nanl.
4206 * math/s_cacosh.c: Include <math_private.h>.
4207 * math/s_cacoshl.c: Likewise.
4208 * math/s_casinh.c: Likewise.
4209 * math/s_casinhf.c: Likewise.
4210 * math/s_casinhl.c: Likewise.
4211 * math/s_ccos.c: Rely entire on ccosh.
4212 * math/s_ccosf.c: Rely entire on ccoshf.
4213 * math/s_ccosl.c: Rely entirely on ccoshl.
4214 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4215 Remove tests for FE_INVALID.
4216 * math/s_ccoshf.c: Likewise.
4217 * math/s_ccoshl.c: Likewise.
4218 * math/s_csin.c: Likewise.
4219 * math/s_csinf.c: Likewise.
4220 * math/s_csinh.c Likewise.
4221 * math/s_csinhf.c: Likewise.
4222 * math/s_csinhl.c: Likewise.
4223 * math/s_csinl.c: Likewise.
4224 * math/s_ctan.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4226 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4227 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4228
8ec250a4
UD
42292011-10-21 Ulrich Drepper <drepper@gmail.com>
4230
c196fed8
UD
4231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4232 compilation problems.
4233
8ec250a4
UD
4234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4235 __builtin_expect.
4236
8d4f46c6
UD
42372011-10-20 Ulrich Drepper <drepper@gmail.com>
4238
ed72b654
UD
4239 * sysdeps/i386/configure.in: Test for -mfma4 option.
4240 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4241 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4242 COMMON_CPUID_INDEX_80000001.
4243 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4244 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4245 use it if FMA3 is not supported.
4246 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4247
8d4f46c6
UD
4248 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4249 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4250
d45c60c2
AS
42512011-10-20 Andreas Schwab <schwab@redhat.com>
4252
4253 [BZ #12892]
4254 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4255 it would create a cycle with a link time dependency.
4256
d9a4d2ab
UD
42572011-10-19 Ulrich Drepper <drepper@gmail.com>
4258
855d1560
UD
4259 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4260 instruction.
4261 * string/Makefile (strop-tests): Add rawmemchr.
4262 * string/test-rawmemchr.c: New file.
4263
d9a4d2ab
UD
4264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4265 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4266 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4267 when compiling str{,n}casecmp and when AVX is available. Hook up
4268 new optimized code in initializers.
4269
8f3b1ffe
AS
42702011-10-19 Andreas Schwab <schwab@redhat.com>
4271
4272 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4273 __feraiseexcept instead of feraiseexcept.
4274
d38f1dba
UD
42752011-10-18 Ulrich Drepper <drepper@gmail.com>
4276
d9a8d0ab
UD
4277 * math/math_private.h: Define defaults for libc_fetestexcept and
4278 libc_feupdateenv.
4279 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4280 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4281 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4283 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4284 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4285 libc_fetestexcept and libc_feupdateenv.
4286
4855e3dd
UD
4287 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4288 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4289 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4290 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4291 libc_feholdexcept_setround.
4292
581d30e3
UD
4293 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4294 Add s_nearbyint-c and s_nearbyintf-c.
4295 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4296 nearbyintf inlines.
4297 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4298 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4300 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4301
d38f1dba
UD
4302 * math/math_private.h: Define defaults for libc_fegetround,
4303 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4304 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4305 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4306 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4307 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4308 standard functions.
4309 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4310 Remove comments and hacks for old compiler versions.
4311 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4312 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4313 libc_feholdexceptl.
4314
caa6c9d8
AS
43152011-10-18 Andreas Schwab <schwab@redhat.com>
4316
4317 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4318 (__feraiseexcept_renamed): Add __NTH.
4319 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4320 namespace violations.
4321
97c066e6
UD
43222011-10-17 Ulrich Drepper <drepper@gmail.com>
4323
99ce7b04
UD
4324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4325
1004d182
UD
4326 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4327
228a984d
UD
4328 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4329 recently added interfaces.
4330 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4331
c8553a6a
UD
4332 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4333 about macro parameter expansion.
4334
ed22dcf6
UD
4335 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4336 __NO_MATH_INLINES is defined. Cleanups.
4337
4338 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4339 and __floorf is target has SSE4.1.
4340 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4341 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4342 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4343 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4344
b171c137
UD
4345 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4346 name.
4347 (floorf): Likewise.
4348
97c066e6
UD
4349 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4350
629f62ef
AS
43512011-10-17 Andreas Schwab <schwab@redhat.com>
4352
49a43d80
AS
4353 * misc/sys/cdefs.h: Fix last change.
4354
629f62ef
AS
4355 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4356 database lookup.
4357
e453f6cd
UD
43582011-10-16 Ulrich Drepper <drepper@gmail.com>
4359
aa78043a
UD
4360 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4361
ad0f5cad
UD
4362 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4363 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4364 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4365 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4366 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4367 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4368 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4370 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4371 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4372 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4373 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4374 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4375 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4376 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4377 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4378 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4379 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4380 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4381 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4382 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4383 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4384
4385 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4386 ceil, ceilf, floor, floorf.
4387
4388 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4389 Perform IRELATIVE relocations last.
4390
e453f6cd
UD
4391 * elf/do-rel.h: Add another parameter nrelative, replacing the
4392 local variable with the same name. Change name of the function
4393 to end in Rel or Rela (uppercase).
4394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4395 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4396 elf_dynamic_do_##reloc function.
4397
fd5bdc09
UD
43982011-10-15 Ulrich Drepper <drepper@gmail.com>
4399
79b195b5
UD
4400 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4401 is sufficient, at least on modern CPUs.
4402
d4a28569
UD
4403 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4404
b61099b5
UD
4405 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4407
bcf01e6d
UD
4408 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4409 __expl_finite.
4410 * math/bits/math-finite.h: Add entries for exp.
4411 * math/e_expl.c: Add __*_finite alias.
4412 * sysdeps/i386/fpu/e_exp.S: Likewise.
4413 * sysdeps/i386/fpu/e_expf.S: Likewise.
4414 * sysdeps/i386/fpu/e_expl.c: Likewise.
4415 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4416 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4420 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4421 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4422
ba1a0d59
UD
4423 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4424 is sufficient, at least on modern CPUs.
4425
fd5bdc09
UD
4426 * ctype/ctype-info.c (__ctype_init): Define.
4427 * include/ctype.h (__ctype_init): Declare.
4428 (__ctype_b_loc): The variable is always initialized.
4429 (__ctype_toupper_loc): Likewise.
4430 (__ctype_tolower_loc): Likewise.
4431 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4432 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4433
7872cfb0
AS
44342011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4435
b468825a
AS
4436 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4437
7872cfb0
AS
4438 * configure.in: Also look in $cxxmachine/include for C++ system
4439 headers.
4440
be13f7bf
LD
44412011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4442
4443 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4444 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4445 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4446 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4447 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4448 (USE_AS_WMEMCMP): New macro.
4449 Fixing indents.
4450 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4451 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4452 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4453 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4455 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4456 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4457 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4458 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4459 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4460 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4461 (USE_AS_WMEMCMP): New macro.
4462 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4463 * sysdeps/string/test-memcmp.c: Update.
4464 Fix simple_wmemcmp.
4465 Add new tests.
4466 * wcsmbs/wmemcmp.c: Update.
4467 (WMEMCMP): New macro.
4468 Fix overflow bug.
4469
556a2007
AJ
44702011-10-12 Andreas Jaeger <aj@suse.de>
4471
4472 [BZ #13268]
4473 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4474
538faaa7
UD
44752011-10-15 Ulrich Drepper <drepper@gmail.com>
4476
ab6737ff
UD
4477 * libio/iofwide.c (do_length): Avoid warning.
4478
538faaa7
UD
4479 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4480
396a21b1
UD
44812011-10-14 Ulrich Drepper <drepper@gmail.com>
4482
cdf2901f
UD
4483 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4484
38ad40ce
UD
4485 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4486 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4487 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4488 * sysdeps/i386/i686/fpu/e_log.S: New file.
4489 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4490 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4491
396a21b1
UD
4492 * ctype/ctype.h: Add support for inlined isXXX functions when
4493 compiling C++ code.
4494
6b1f68c9
AS
44952011-10-14 Andreas Schwab <schwab@redhat.com>
4496
349290c0
AS
4497 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4498
6b1f68c9
AS
4499 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4500
f2282d42
RM
45012011-10-13 Roland McGrath <roland@hack.frob.com>
4502
4503 [BZ #13291]
4504 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4505
5298ffa8
AS
45062011-10-13 Andreas Schwab <schwab@redhat.com>
4507
714fad23
AS
4508 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4509 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4510 feraiseexcept.
4511
81dcc7fb
AS
4512 * sysdeps/x86_64/memrchr.S: Check for zero size.
4513
5298ffa8
AS
4514 * string/stratcliff.c: Add memrchr tests.
4515
951fbcec
LD
45162011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4517
4518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4519 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4520 rawmemchr-sse2 rawmemchr-sse2-bsf.
4521 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4522 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4523 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4524 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4525 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4526 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4527 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4528 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4529 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4530 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4531 * string/memrchr.c (MEMRCHR): New macro.
4532
0ac5ae23
UD
45332011-10-12 Ulrich Drepper <drepper@gmail.com>
4534
4535 Add integration with gcc's -ffinite-math-only and optimize wrapper
4536 functions in libm.
4537 * Versions.def: Define GLIBC_2.15 version for libm.
4538 * math/Makefile (headers): Add bits/math-finite.h.
4539 * math/bits/math-finite.h: New file.
4540 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4541 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4542 * math/e_acoshl.c: Add __*_finite alias.
4543 * math/e_acosl.c: Likewise.
4544 * math/e_asinl.c: Likewise.
4545 * math/e_atan2l.c: Likewise.
4546 * math/e_atanhl.c: Likewise.
4547 * math/e_coshl.c: Likewise.
4548 * math/e_exp10.c: Likewise.
4549 * math/e_exp10f.c: Likewise.
4550 * math/e_exp10l.c: Likewise.
4551 * math/e_exp2l.c: Likewise.
4552 * math/e_fmodl.c: Likewise.
4553 * math/e_gammal_r.c: Likewise.
4554 * math/e_hypotl.c: Likewise.
4555 * math/e_j0l.c: Likewise.
4556 * math/e_j1l.c: Likewise.
4557 * math/e_jnl.c: Likewise.
4558 * math/e_lgammal_r.c: Likewise.
4559 * math/e_log10l.c: Likewise.
4560 * math/e_log2l.c: Likewise.
4561 * math/e_logl.c: Likewise.
4562 * math/e_powl.c: Likewise.
4563 * math/e_sinhl.c: Likewise.
4564 * math/e_sqrtl.c: Likewise.
4565 * math/e_scalb.c: Completely rewritten and optimized.
4566 * math/e_scalbf.c: Likewise.
4567 * math/e_scalbl.c: Likewise.
4568 * math/w_acos.c: Likewise.
4569 * math/w_acosf.c: Likewise.
4570 * math/w_acosl.c: Likewise.
4571 * math/w_acosh.c: Likewise.
4572 * math/w_acoshf.c: Likewise.
4573 * math/w_acoshl.c: Likewise.
4574 * math/w_asin.c: Likewise.
4575 * math/w_asinf.c: Likewise.
4576 * math/w_asinl.c: Likewise.
4577 * math/w_atan2.c: Likewise.
4578 * math/w_atan2f.c: Likewise.
4579 * math/w_atan2l.c: Likewise.
4580 * math/w_atanh.c: Likewise.
4581 * math/w_atanhf.c: Likewise.
4582 * math/w_atanhl.c: Likewise.
4583 * math/w_exp10.c: Likewise.
4584 * math/w_exp10f.c: Likewise.
4585 * math/w_exp10l.c: Likewise.
4586 * math/w_fmod.c: Likewise.
4587 * math/w_fmodf.c: Likewise.
4588 * math/w_fmodl.c: Likewise.
4589 * math/w_j0.c: Likewise.
4590 * math/w_j0f.c: Likewise.
4591 * math/w_j0l.c: Likewise.
4592 * math/w_j1.c: Likewise.
4593 * math/w_j1f.c: Likewise.
4594 * math/w_j1l.c: Likewise.
4595 * math/w_jn.c: Likewise.
4596 * math/w_jnf.c: Likewise.
4597 * math/w_log.c: Likewise.
4598 * math/w_logf.c: Likewise.
4599 * math/w_logl.c: Likewise.
4600 * math/w_log10.c: Likewise.
4601 * math/w_log10f.c: Likewise.
4602 * math/w_log10l.c: Likewise.
4603 * math/w_log2.c: Likewise.
4604 * math/w_log2f.c: Likewise.
4605 * math/w_log2l.c: Likewise.
4606 * math/w_pow.c: Likewise.
4607 * math/w_powf.c: Likewise.
4608 * math/w_powl.c: Likewise.
4609 * math/w_remainder.c: Likewise.
4610 * math/w_remainderf.c: Likewise.
4611 * math/w_remainderl.c: Likewise.
4612 * math/w_scalb.c: Likewise.
4613 * math/w_scalbf.c: Likewise.
4614 * math/w_scalbl.c: Likewise.
4615 * math/w_sqrt.c: Likewise.
4616 * math/w_sqrtf.c: Likewise.
4617 * math/w_sqrtl.c: Likewise.
4618 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4619 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4620 used.
4621 * math/math_private.h: Declare __kernel_standard_f.
4622 * math/w_cosh.c: Remove cruft and optimize a bit.
4623 * math/w_coshf.c: Likewise.
4624 * math/w_coshl.c: Likewise.
4625 * math/w_exp2.c: Likewise.
4626 * math/w_exp2f.c: Likewise.
4627 * math/w_exp2l.c: Likewise.
4628 * math/w_hypot.c: Likewise.
4629 * math/w_hypotf.c: Likewise.
4630 * math/w_hypotl.c: Likewise.
4631 * math/w_lgamma.c: Likewise.
4632 * math/w_lgamma_r.c: Likewise.
4633 * math/w_lgammaf.c: Likewise.
4634 * math/w_lgammaf_r.c: Likewise.
4635 * math/w_lgammal.c: Likewise.
4636 * math/w_lgammal_r.c: Likewise.
4637 * math/w_sinh.c: Likewise.
4638 * math/w_sinhf.c: Likewise.
4639 * math/w_sinhl.c: Likewise.
4640 * math/w_tgamma.c: Likewise.
4641 * math/w_tgammaf.c: Likewise.
4642 * math/w_tgammal.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4645 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4646 Minor optimizations. Pretty printing. Remove cruft.
4647 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4648 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4649 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4651 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4652 * sysdeps/i386/fpu/e_asin.S: Likewise.
4653 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4654 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4655 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4656 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4657 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4658 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4659 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4660 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4661 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4662 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4663 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4664 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4665 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4666 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4667 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4668 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4669 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4670 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4671 * sysdeps/i386/fpu/e_log.S: Likewise.
4672 * sysdeps/i386/fpu/e_log10.S: Likewise.
4673 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4674 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4675 * sysdeps/i386/fpu/e_log2.S: Likewise.
4676 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4677 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4678 * sysdeps/i386/fpu/e_logf.S: Likewise.
4679 * sysdeps/i386/fpu/e_logl.S: Likewise.
4680 * sysdeps/i386/fpu/e_pow.S: Likewise.
4681 * sysdeps/i386/fpu/e_powf.S: Likewise.
4682 * sysdeps/i386/fpu/e_powl.S: Likewise.
4683 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4684 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4685 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4686 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4687 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4688 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4689 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4690 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4691 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4692 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4693 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4695 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4696 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4697 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4698 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4699 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4700 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4701 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4702 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4703 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4705 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4706 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4713 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4714 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4715 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4716 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4717 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4718 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4719 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4720 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4721 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4722 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4723 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4724 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4725 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4726 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4727 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4728 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4729 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4730 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4731 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4732 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4733 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4738 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4741 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4742 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4744 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4745 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4747 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4748 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4749 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4757 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4758 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4763 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4772 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4775 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4776 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4777 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4780 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4781 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4783 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4785 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4786 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4787 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4788 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4789 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4790 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4791 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4792 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4793 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4794 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4795 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4796 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4797 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4798 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4800 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4801 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4802 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4803 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4804 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4805 (__isnanf): Likewise.
4806 (__isinf_ns): Likewise.
4807 (__isinf_nsf): Likewise.
4808 (__finite): Likewise.
4809 (__finitef): Likewise.
4810 (__ieee754_sqrt): Define as macro.
4811 (__ieee754_sqrtf): Define as macro.
4812 (__ieee754_sqrtl): Define as macro.
4813 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4814 inlined copy.
4815 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4816 __FINITE_MATH_ONLY__ consistent.
4817 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4818
12cc2fcd
AS
48192011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4820
a843a204
AS
4821 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4822 of rawmemchr.
4823
12cc2fcd
AS
4824 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4825
c853acd5
UD
48262011-10-09 Ulrich Drepper <drepper@gmail.com>
4827
4828 * po/ja.po: Update from translation team.
4829
c658d255
RM
48302011-10-08 Roland McGrath <roland@hack.frob.com>
4831
110946e4
RM
4832 * locale/programs/locarchive.c (prepare_address_space): New function.
4833 (create_archive, enlarge_archive, open_archive): Use it.
4834
50604220
RM
4835 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4836 inside [SHARED], where it is used.
4837
c658d255
RM
4838 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4839
4840 * nss/getent.c (netgroup_keys): Remove unused variable.
4841 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4842
6a621eb7
UD
48432011-10-08 Ulrich Drepper <drepper@gmail.com>
4844
7edb55ce
UD
4845 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4846 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4848 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4849 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4850 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4851 * math/Makefile (libm-calls): Add s_isinf_ns.
4852 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4853 * math/multc3.c: Likewise.
4854 * math/s_casin.c: Likewise.
4855 * math/s_casinf.c: Likewise.
4856 * math/s_casinl.c: Likewise.
4857 * math/s_ccos.c: Likewise.
4858 * math/s_ccosf.c: Likewise.
4859 * math/s_ccosl.c: Likewise.
4860 * math/s_ctan.c: Likewise.
4861 * math/s_ctanf.c: Likewise.
4862 * math/s_ctanh.c: Likewise.
4863 * math/s_ctanhf.c: Likewise.
4864 * math/s_ctanhl.c: Likewise.
4865 * math/s_ctanl.c: Likewise.
4866 * math/w_fmod.c: Likewise.
4867 * math/w_fmodf.c: Likewise.
4868 * math/w_fmodl.c: Likewise.
4869 * math/w_remainder.c: Likewise.
4870 * math/w_remainderf.c: Likewise.
4871 * math/w_remainderl.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4873 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4874 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4876 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4877 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4878 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4879 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4880
187da0ae
UD
4881 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4882 of the number.
4883 * stdio-common/printf_fphex.c: Likewise.
4884 * stdio-common/printf_size.c: Likewise.
4885
9277c064
UD
4886 * math/e_exp10.c: Include math_private.h using <...> not "...".
4887 * math/e_exp10f.c: Likewise.
4888 * math/e_exp10l.c: Likewise.
4889 * math/e_exp2l.c: Likewise.
4890 * math/e_j0l.c: Likewise.
4891 * math/e_j1l.c: Likewise.
4892 * math/e_jnl.c: Likewise.
4893 * math/e_lgammal_r.c: Likewise.
4894 * math/e_rem_pio2l.c: Likewise.
4895 * math/e_scalb.c: Likewise.
4896 * math/e_scalbf.c: Likewise.
4897 * math/e_scalbl.c: Likewise.
4898 * math/k_cosl.c: Likewise.
4899 * math/k_sinl.c: Likewise.
4900 * math/k_tanl.c: Likewise.
4901 * math/s_cacoshf.c: Likewise.
4902 * math/s_catan.c: Likewise.
4903 * math/s_catanf.c: Likewise.
4904 * math/s_catanh.c: Likewise.
4905 * math/s_catanhf.c: Likewise.
4906 * math/s_catanhl.c: Likewise.
4907 * math/s_catanl.c: Likewise.
4908 * math/s_ccosh.c: Likewise.
4909 * math/s_ccoshf.c: Likewise.
4910 * math/s_ccoshl.c: Likewise.
4911 * math/s_cexp.c: Likewise.
4912 * math/s_cexpf.c: Likewise.
4913 * math/s_cexpl.c: Likewise.
4914 * math/s_clog.c: Likewise.
4915 * math/s_clog10.c: Likewise.
4916 * math/s_clog10f.c: Likewise.
4917 * math/s_clog10l.c: Likewise.
4918 * math/s_clogf.c: Likewise.
4919 * math/s_clogl.c: Likewise.
4920 * math/s_csin.c: Likewise.
4921 * math/s_csinf.c: Likewise.
4922 * math/s_csinh.c: Likewise.
4923 * math/s_csinhf.c: Likewise.
4924 * math/s_csinhl.c: Likewise.
4925 * math/s_csinl.c: Likewise.
4926 * math/s_csqrt.c: Likewise.
4927 * math/s_csqrtf.c: Likewise.
4928 * math/s_csqrtl.c: Likewise.
4929 * math/s_ctan.c: Likewise.
4930 * math/s_ctanf.c: Likewise.
4931 * math/s_ctanh.c: Likewise.
4932 * math/s_ctanhf.c: Likewise.
4933 * math/s_ctanhl.c: Likewise.
4934 * math/s_ctanl.c: Likewise.
4935 * math/s_ldexp.c: Likewise.
4936 * math/s_ldexpf.c: Likewise.
4937 * math/s_ldexpl.c: Likewise.
4938 * math/s_significand.c: Likewise.
4939 * math/s_significandf.c: Likewise.
4940 * math/s_significandl.c: Likewise.
4941 * math/w_acos.c: Likewise.
4942 * math/w_acosf.c: Likewise.
4943 * math/w_acosh.c: Likewise.
4944 * math/w_acoshf.c: Likewise.
4945 * math/w_acoshl.c: Likewise.
4946 * math/w_acosl.c: Likewise.
4947 * math/w_asin.c: Likewise.
4948 * math/w_asinf.c: Likewise.
4949 * math/w_asinl.c: Likewise.
4950 * math/w_atan2.c: Likewise.
4951 * math/w_atan2f.c: Likewise.
4952 * math/w_atan2l.c: Likewise.
4953 * math/w_atanh.c: Likewise.
4954 * math/w_atanhf.c: Likewise.
4955 * math/w_atanhl.c: Likewise.
4956 * math/w_cosh.c: Likewise.
4957 * math/w_coshf.c: Likewise.
4958 * math/w_coshl.c: Likewise.
4959 * math/w_dremf.c: Likewise.
4960 * math/w_exp10.c: Likewise.
4961 * math/w_exp10f.c: Likewise.
4962 * math/w_exp10l.c: Likewise.
4963 * math/w_exp2.c: Likewise.
4964 * math/w_exp2f.c: Likewise.
4965 * math/w_fmod.c: Likewise.
4966 * math/w_fmodf.c: Likewise.
4967 * math/w_fmodl.c: Likewise.
4968 * math/w_hypot.c: Likewise.
4969 * math/w_hypotf.c: Likewise.
4970 * math/w_hypotl.c: Likewise.
4971 * math/w_j0.c: Likewise.
4972 * math/w_j0f.c: Likewise.
4973 * math/w_j0l.c: Likewise.
4974 * math/w_j1.c: Likewise.
4975 * math/w_j1f.c: Likewise.
4976 * math/w_j1l.c: Likewise.
4977 * math/w_jn.c: Likewise.
4978 * math/w_jnf.c: Likewise.
4979 * math/w_jnl.c: Likewise.
4980 * math/w_lgamma.c: Likewise.
4981 * math/w_lgamma_r.c: Likewise.
4982 * math/w_lgammaf.c: Likewise.
4983 * math/w_lgammaf_r.c: Likewise.
4984 * math/w_lgammal.c: Likewise.
4985 * math/w_lgammal_r.c: Likewise.
4986 * math/w_log.c: Likewise.
4987 * math/w_log10.c: Likewise.
4988 * math/w_log10f.c: Likewise.
4989 * math/w_log10l.c: Likewise.
4990 * math/w_log2.c: Likewise.
4991 * math/w_log2f.c: Likewise.
4992 * math/w_log2l.c: Likewise.
4993 * math/w_logf.c: Likewise.
4994 * math/w_logl.c: Likewise.
4995 * math/w_pow.c: Likewise.
4996 * math/w_powf.c: Likewise.
4997 * math/w_powl.c: Likewise.
4998 * math/w_remainder.c: Likewise.
4999 * math/w_remainderf.c: Likewise.
5000 * math/w_remainderl.c: Likewise.
5001 * math/w_scalb.c: Likewise.
5002 * math/w_scalbf.c: Likewise.
5003 * math/w_scalbl.c: Likewise.
5004 * math/w_sinh.c: Likewise.
5005 * math/w_sinhf.c: Likewise.
5006 * math/w_sinhl.c: Likewise.
5007 * math/w_sqrt.c: Likewise.
5008 * math/w_sqrtf.c: Likewise.
5009 * math/w_sqrtl.c: Likewise.
5010 * math/w_tgamma.c: Likewise.
5011 * math/w_tgammaf.c: Likewise.
5012 * math/w_tgammal.c: Likewise.
5013
6a621eb7
UD
5014 * po/ja.po: Update from translation team.
5015
bf582445
AJ
50162011-09-29 Andreas Jaeger <aj@suse.de>
5017
f9efbf3a
AJ
5018 [BZ #13179]
5019 * sunrpc/netname.c (netname2host): Fix logic.
5020
bf582445
AJ
5021 [BZ #6779]
5022 [BZ #6783]
5023 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5024 correctly.
5025 * math/w_remainder.c (__remainder): Likewise.
5026 * math/w_remainderf.c (__remainderf): Likewise.
5027 * math/libm-test.inc (remainder_test): Add test cases.
5028
48693bea
AK
50292011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5030
5031 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5032 sdiv_qrnnd.
5033
42622229
LD
50342011-10-07 Ulrich Drepper <drepper@gmail.com>
5035
5036 * string/test-memcmp.c: Avoid unncessary #defines.
5037 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5038
093ecf92
LD
50392011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5040
5041 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5042 Use new sse2 version for core i3 - i7 as it's faster
5043 than sse42 version.
5044 (bit_Prefer_PMINUB_for_stringop): New.
5045 * sysdeps/x86_64/rawmemchr.S: Update.
5046 Replace with faster SSE2 version.
5047 * sysdeps/x86_64/memrchr.S: New file.
5048 * sysdeps/x86_64/memchr.S: Update.
5049 Replace with faster SSE2 version.
5050
fde56e5c
MP
50512011-09-12 Marek Polacek <mpolacek@redhat.com>
5052
5053 * elf/dl-load.c (lose): Add cast to avoid warning.
5054
21fd49a9
UD
50552011-10-07 Ulrich Drepper <drepper@gmail.com>
5056
5a06e643
UD
5057 * po/ca.po: Update from translation team.
5058
684ae515
UD
5059 * inet/getnetgrent_r.c: Hook up nscd.
5060 * nscd/Makefile (routines): Add nscd_netgroup.
5061 (nscd-modules): Add netgroupcache.
5062 (CFLAGS-netgroupcache.c): Define.
5063 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5064 (cache_search): Add const to second parameter.
5065 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5066 INNETGR.
5067 (dbs): Add netgrdb entry.
5068 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5069 (verify_persistent_db): Handle netgrdb.
5070 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5071 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5072 GETFDNETGR.
5073 (netgroup_response_header): Define.
5074 (innetgroup_response_header): Define.
5075 (datahead): Add netgroup_response_header and innetgroup_response_header
5076 elements.
5077 * nscd/nscd.conf: Add entries for netgroup cache.
5078 * nscd/nscd.h (dbtype): Add netgrdb.
5079 (_PATH_NSCD_NETGROUP_DB): Define.
5080 (netgroup_iov_disabled): Declare.
5081 (xmalloc, xcalloc, xrealloc): Move declarations here.
5082 (cache_search): Adjust prototype.
5083 Add netgroup-related prototypes.
5084 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5085 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5086 (__nscd_innetgr): Declare.
5087 * nscd/selinux.c (perms): Use access_vector_t as element type and
5088 add netgroup-related initializers.
5089 * nscd/netgroupcache.c: New file.
5090 * nscd/nscd_netgroup.c: New file.
5091 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5092 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5093 For four parameters use innetgr.
5094 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5095 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5096 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5097 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5098
21fd49a9
UD
5099 * nscd/connections.c (register_traced_file): Don't register file
5100 for disabled databases.
5101
054c0457
UD
51022011-10-06 Ulrich Drepper <drepper@gmail.com>
5103
32b63198
UD
5104 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5105
054c0457
UD
5106 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5107 from tree and freeing node.
5108
64031225
JO
51092011-09-25 Jiri Olsa <jolsa@redhat.com>
5110
5111 * nss/nsswitch.c (__nss_database_lookup): Handle
5112 nss_parse_service_list out of memory case.
5113
0490345c
JO
51142011-09-15 Jiri Olsa <jolsa@redhat.com>
5115
5116 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5117 out of memory case.
5118
3a62d00d
AS
51192011-10-04 Andreas Schwab <schwab@redhat.com>
5120
5121 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5122 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5123 pass it down.
5124 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5125 elf_machine_rela, elf_machine_lazy_rel.
5126 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5127 (ELF_DYNAMIC_DO_REL): Likewise.
5128 (ELF_DYNAMIC_DO_RELA): Likewise.
5129 (ELF_DYNAMIC_RELOCATE): Likewise.
5130 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5131 to ELF_DYNAMIC_DO_REL.
5132 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5133 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5134 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5135 elf_machine_rela.
5136 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5137 skip_ifunc, don't call ifunc function if non-zero.
5138 (elf_machine_rela): Likewise.
5139 (elf_machine_lazy_rel): Likewise.
5140 (elf_machine_lazy_rela): Likewise.
5141 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5142 (elf_machine_lazy_rel): Likewise.
5143 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5144 Likewise.
5145 (elf_machine_lazy_rel): Likewise.
5146 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5147 Likewise.
5148 (elf_machine_lazy_rel): Likewise.
5149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5150 (elf_machine_lazy_rel): Likewise.
5151 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5152 (elf_machine_lazy_rel): Likewise.
5153 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5154 (elf_machine_lazy_rel): Likewise.
5155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5156 (elf_machine_lazy_rel): Likewise.
5157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5158 (elf_machine_lazy_rel): Likewise.
5159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5160 (elf_machine_lazy_rel): Likewise.
5161
68577918
UD
51622011-09-28 Ulrich Drepper <drepper@gmail.com>
5163
5164 * nss/nss_files/files-init.c (_nss_files_init): Use static
5165 initialization for all the *_traced_file variables.
5166
68822d74
AS
51672011-09-28 Andreas Schwab <schwab@redhat.com>
5168
5169 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5170
2056100b
RM
51712011-09-27 Roland McGrath <roland@hack.frob.com>
5172
5173 [BZ #13226]
5174 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5175
32c76b63
AS
51762011-09-27 Andreas Schwab <schwab@redhat.com>
5177
5178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5179 Reread the line before reparsing it.
5180
bf972c9d
AS
51812011-09-26 Andreas Schwab <schwab@redhat.com>
5182
5183 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5184
e057a1b5
JM
51852011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5186 Maxim Kuvyrkov <maxim@codesourcery.com>
5187 Joseph Myers <joseph@codesourcery.com>
5188
5189 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5190 if needed for __stack_chk_guard.
5191
bc7e1c36
RM
51922011-09-19 Roland McGrath <roland@hack.frob.com>
5193
ecb1482f
RM
5194 * sysdeps/posix/spawni.c (script_execute): Always define it.
5195 It will be optimized away if unused.
5196 (maybe_script_execute): New function.
5197 (__spawni): Call it.
5198
bc7e1c36
RM
5199 * Makerules: Don't include tls.make.
5200 (config-tls): Always set to thread.
5201 * tls.make.c: File removed.
5202
1c3b002b
MF
52032011-09-19 Mike Frysinger <vapier@gentoo.org>
5204
5205 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5206 * config.make.in (CPPFLAGS-config): New substituted variable.
5207
2840865d
UD
52082011-09-15 Ulrich Drepper <drepper@gmail.com>
5209
88738eb6
UD
5210 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5211
cbf645a6 5212 [BZ #13192]
2840865d
UD
5213 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5214 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5215
b402e91a
RM
52162011-09-15 Roland McGrath <roland@hack.frob.com>
5217
5218 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5219 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5221 (CALL_FAIL): Likewise.
5222 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5223 (CALL_FAIL): Macro removed.
5224 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5225
4c1a1f71
UD
52262011-09-15 Ulrich Drepper <drepper@gmail.com>
5227
5228 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5229 for __FINITE_MATH_ONLY__ == 1.
5230
edc121be
AS
52312011-09-15 Andreas Schwab <schwab@redhat.com>
5232
5233 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5234 __ieee754_sqrt instead of sqrt.
5235 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5236 __ieee754_sqrtf instead of sqrtf.
5237 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5238 __floorf instead of floorf.
5239 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5240 __floorf, __truncf instead of floorf, truncf.
5241
cd205654
UD
52422011-09-14 Ulrich Drepper <drepper@gmail.com>
5243
ee4d0315
UD
5244 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5245
cd205654
UD
5246 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5247 __extern_always_inline.
5248 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5249 32-bit.
5250
48b67d71
AS
52512011-09-14 Andreas Schwab <schwab@redhat.com>
5252
5253 * elf/rtld.c (dl_main): Also relocate in dependency order when
5254 doing symbol dependency testing.
5255
1ae12c75
AS
52562011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5257
5258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5259 Always define `refsym'.
5260
995a80df
AS
52612011-09-13 Andreas Schwab <schwab@redhat.com>
5262
e529793b
AS
5263 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5264 (__FD_ELT): Renamed from __FDELT.
5265 * misc/bits/select2.h (__FD_ELT): Likewise.
5266 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5267 __FD_MASK instead of __FDELT, __FDMASK.
5268 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5269 Likewise.
5270 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5271 Likewise.
5272
52d4fef8
AS
5273 * elf/Makefile (gen-ldd): Fix pattern.
5274
995a80df
AS
5275 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5276 (init_tls): Likewise.
5277
8682f8b0
UD
52782011-09-12 Ulrich Drepper <drepper@gmail.com>
5279
5280 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5281
de82006d
AS
52822011-09-12 Andreas Schwab <schwab@redhat.com>
5283
a7c8e6a1
AS
5284 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5285 `struct cmsghdr *' instead of `void *'.
5286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5287 Likewise.
5288
0f31fe77
AS
52892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5290
5291 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5292 if non-absolute.
5293 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5294 ldd_rewrite_script.
0f31fe77 5295
32b4c839
UD
52962011-09-11 Ulrich Drepper <drepper@gmail.com>
5297
83cd1420
UD
5298 * configure.in: Remove --with-tls option.
5299 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5300 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5301 out in case it is missing.
5302 * sysdeps/ia64/elf/configure.in: Likewise.
5303 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5304 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5305 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5306 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5307 * sysdeps/sh/elf/configure.in: Likewise.
5308 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5309 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5310 * sysdeps/x86_64/elf/configure.in: Likewise.
5311 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5312 * sysdeps/mach/hurd/tls.h: Likewise.
5313
633f745d
UD
5314 [BZ #13067]
5315 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5316
f318beb8
UD
5317 [BZ #13090]
5318 * configure.in: Fix use of AC_INIT.
5319
32b4c839
UD
5320 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5321
3ce1f295
UD
53222011-09-10 Ulrich Drepper <drepper@gmail.com>
5323
bb016596
UD
5324 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5325 __set_errno.
8e58439c
UD
5326 * malloc/hooks.c: Likewise.
5327
aebae053 5328 [BZ #11929]
02d46fc4
UD
5329 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5330 variables statically.
5331 (narenas): Initialize.
5332 (list_lock): Initialize.
bb016596
UD
5333 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5334 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5335 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5336 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5337 Add initializers to main_arena and mp_.
5338 (malloc_state): Remove pagesize member. Change all users to use
5339 GLRO(dl_pagesize).
5340
5341 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5342 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5343 is always initialized.
5344
22a89187
UD
5345 * malloc/malloc.c: Removed unused configurations and dead code.
5346 * malloc/arena.c: Likewise.
5347 * malloc/hooks.c: Likewise.
02d46fc4 5348 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5349
d063d164
UD
5350 * include/tls.h: Removed. USE___THREAD must always be defined.
5351 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5352 * elf/dl-libc.c: Likewise.
5353 * elf/dl-tsd.c: Likewise.
5354 * include/errno.h: Likewise.
5355 * include/netdb.h: Likewise.
5356 * include/resolv.h: Likewise.
5357 * inet/herrno-loc.c: Likewise.
5358 * inet/herrno.c: Likewise.
5359 * malloc/arena.c: Likewise.
5360 * malloc/hooks.c: Likewise.
5361 * malloc/malloc.c: Likewise.
5362 * resolv/res-state.c: Likewise.
5363 * resolv/res_libc.c: Likewise.
5364 * sysdeps/i386/dl-machine.h: Likewise.
5365 * sysdeps/ia64/dl-machine.h: Likewise.
5366 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5367 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5368 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5369 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5370 * sysdeps/sh/dl-machine.h: Likewise.
5371 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5373 * sysdeps/unix/i386/sysdep.S: Likewise.
5374 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5375 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5379 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5380 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5384 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5385 * sysdeps/x86_64/dl-machine.h: Likewise.
5386 * tls.make.c: Likewise.
5387
3ce1f295
UD
5388 * configure.in: Remove --with-__thread option. Make tests for
5389 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5390 tls_model attribute fail if no support is available. Remove
5391 USE_IN_LIBIO.
5392 * Makeconfig: Adjust for dropped configure option. All features are
5393 now mandatory.
5394 * Makerules: Likewise.
5395 * Versions.def: Likewise.
5396 * argp/argp-fmtstream.c: Likewise.
5397 * argp/argp-fmtstream.h: Likewise.
5398 * argp/argp-help.c: Likewise.
5399 * assert/assert.c: Likewise.
5400 * config.h.in: Likewise.
5401 * config.make.in: Likewise.
5402 * configure: Likewise.
5403 * configure.in: Likewise.
5404 * csu/Versions: Likewise.
5405 * csu/init.c: Likewise.
5406 * elf/tst-audit2.c: Likewise.
5407 * elf/tst-tls10.c: Likewise.
5408 * elf/tst-tls10.h: Likewise.
5409 * elf/tst-tls11.c: Likewise.
5410 * elf/tst-tls12.c: Likewise.
5411 * elf/tst-tls14.c: Likewise.
5412 * elf/tst-tlsmod11.c: Likewise.
5413 * elf/tst-tlsmod12.c: Likewise.
5414 * elf/tst-tlsmod13.c: Likewise.
5415 * elf/tst-tlsmod13a.c: Likewise.
5416 * elf/tst-tlsmod14a.c: Likewise.
5417 * elf/tst-tlsmod15b.c: Likewise.
5418 * elf/tst-tlsmod16a.c: Likewise.
5419 * elf/tst-tlsmod16b.c: Likewise.
5420 * elf/tst-tlsmod7.c: Likewise.
5421 * elf/tst-tlsmod8.c: Likewise.
5422 * elf/tst-tlsmod9.c: Likewise.
5423 * gmon/gmon.c: Likewise.
5424 * grp/fgetgrent_r.c: Likewise.
5425 * grp/putgrent.c: Likewise.
5426 * hurd/fopenport.c: Likewise.
5427 * include/libc-symbols.h: Likewise.
5428 * include/tls.h: Likewise.
5429 * intl/gettextP.h: Likewise.
5430 * intl/loadinfo.h: Likewise.
5431 * locale/global-locale.c: Likewise.
5432 * locale/localeinfo.h: Likewise.
5433 * mach/devstream.c: Likewise.
5434 * malloc/arena.c: Likewise.
5435 * malloc/set-freeres.c: Likewise.
5436 * misc/err.c: Likewise.
5437 * misc/getttyent.c: Likewise.
5438 * misc/mntent_r.c: Likewise.
5439 * posix/getopt.c: Likewise.
5440 * posix/wordexp.c: Likewise.
5441 * pwd/fgetpwent_r.c: Likewise.
5442 * resolv/Versions: Likewise.
5443 * resolv/res_hconf.c: Likewise.
5444 * shadow/fgetspent_r.c: Likewise.
5445 * shadow/putspent.c: Likewise.
5446 * stdio-common/printf_fphex.c: Likewise.
5447 * stdio-common/tmpfile.c: Likewise.
5448 * stdlib/abort.c: Likewise.
5449 * stdlib/fmtmsg.c: Likewise.
5450 * sunrpc/auth_unix.c: Likewise.
5451 * sunrpc/clnt_perr.c: Likewise.
5452 * sunrpc/clnt_tcp.c: Likewise.
5453 * sunrpc/clnt_udp.c: Likewise.
5454 * sunrpc/clnt_unix.c: Likewise.
5455 * sunrpc/openchild.c: Likewise.
5456 * sunrpc/svc_simple.c: Likewise.
5457 * sunrpc/svc_tcp.c: Likewise.
5458 * sunrpc/svc_udp.c: Likewise.
5459 * sunrpc/svc_unix.c: Likewise.
5460 * sunrpc/xdr.c: Likewise.
5461 * sunrpc/xdr_array.c: Likewise.
5462 * sunrpc/xdr_rec.c: Likewise.
5463 * sunrpc/xdr_ref.c: Likewise.
5464 * sunrpc/xdr_stdio.c: Likewise.
5465
1248c1c4
PB
54662011-09-09 Ulrich Drepper <drepper@gmail.com>
5467
5468 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5469
54702011-07-03 Andreas Jaeger <aj@suse.de>
5471
5472 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5473 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5474 regenerate with gen-libm-tests.pl.
5475
54762010-05-12 Petr Baudis <pasky@suse.cz>
5477
5478 [BZ #11589]
5479 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5480 around j0() zero points by switching to j1().
5481 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5485
f22e1074
UD
54862011-09-09 Ulrich Drepper <drepper@gmail.com>
5487
f19009c1
UD
5488 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5489 instead of 0.
5490 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5491 instead of 0. .
5492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5493 Patch in part by Pavel Roskin <proski@gnu.org>.
5494
3f8cc204
UD
5495 [BZ #13138]
5496 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5497 realloc.
5498 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5499 Free memory block if necessary.
5500
f22e1074
UD
5501 [BZ #12847]
5502 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5503 be NULL. Don't lock in this case.
5504
0a2349f9
RM
55052011-09-09 Roland McGrath <roland@hack.frob.com>
5506
5507 * elf/elf.h (ELFOSABI_GNU): New macro.
5508 (ELFOSABI_LINUX): Define to that.
5509
f3cdd467
DZ
55102011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5511
5512 * string/strncat.c (strncat): Undef the symbol in case it has been
5513 defined in bits/string.h.
5514
74718d13
UD
55152011-09-09 Ulrich Drepper <drepper@gmail.com>
5516
633e9e0f
UD
5517 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5518
0a2349f9 5519 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
5520 link map.
5521
f9924780
AJ
55222011-08-17 Andreas Jaeger <aj@suse.de>
5523
5524 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5525
7f5517aa
PP
55262011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5527 Ian Lance Taylor <iant@google.com>
5528
5529 * math/libm-test.inc (lround_test): New testcase.
5530 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5531
762011fe
UD
55322011-09-08 Ulrich Drepper <drepper@gmail.com>
5533
92963737
UD
5534 * Makefile: Remove support for automatic cvs check-ins.
5535 * Makerules: Likewise.
5536 * config.make.in: Likewise.
5537 * configure.in: Likewise.
5538 * intl/Makefile: Likewise.
5539 * locale/Makefile: Likewise.
5540 * po/Makefile: Likewise.
5541 * posix/Makefile: Likewise.
5542 * sysdeps/gnu/Makefile: Likewise.
5543 * sysdeps/mach/hurd/Makefile: Likewise.
5544 * sysdeps/sparc/sparc32/Makefile: Likewise.
5545
b0727fd8
JS
5546 [BZ #13118]
5547 * posix/Makefile (bug-regex32-ENV): Define.
5548 Patch by John Stanley <jpsinthemix@verizon.net>.
5549
a0f33f99
UD
5550 * misc/Makefile (headers): Add bits/select2.h.
5551 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5552 * misc/bits/select2.h: New file.
5553 * include/bits/select2.h: New file.
5554 * debug/Makefile (routines): Add fdelt_chk.
5555 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5556 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5557 FD_ISSET.
5558 * debug/fdelt_chk.c: New file.
5559
762011fe
UD
5560 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5561 * wcsmbs/test-wmemcmp.c: Likewise.
5562 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 5563 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
5564
55652011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5566
5567 * string/Makefile (strop-tests): Add memcmp.
5568 * string/test-wmemcmp.c: New file.
5569 * string/test-memcmp.c: Add wmemcmp support.
5570
7f513ec8
RM
55712011-09-08 Roland McGrath <roland@hack.frob.com>
5572
0442afb4
RM
5573 [BZ #13153]
5574 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5575 2011-07-19 change.
5576
7f513ec8
RM
5577 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5578 garbage value in a __mach_port_mod_refs call in the cases of the
5579 task-self and thread-self ports.
5580
a12b2239
ST
55812011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5582
5583 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5584
610f9ab4
AS
55852011-09-08 Andreas Schwab <schwab@redhat.com>
5586
7f513ec8 5587 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 5588
48882a1a
LD
55892011-09-07 Ulrich Drepper <drepper@gmail.com>
5590
b49865be
UD
5591 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5592
fdc86bc9
UD
5593 * elf/dl-libc.c (dlerror_run): Pass back error code from
5594 dl_catch_error.
5595
c966526a
UD
5596 [BZ #13123]
5597 * elf/dl-load.c (lose): Free l_origin if it is valid.
5598
48882a1a
LD
5599 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5600 names.
5601 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5602 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5604 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5606 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5607
77a2a8b4
AZ
56082011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5609
5610 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5611 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5612 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5613 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5614 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5615 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5616 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5617 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5618 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5619 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5620
24f579d8
AM
56212011-08-15 Alan Modra <amodra@gmail.com>
5622
5623 [BZ #13092]
5624 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5625 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5626 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5627 ppc_mcount to static-only-routines.
5628 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5629 __mcount_internal.
5630 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5631 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5632
3d4837df
UD
56332011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5634
5635 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5636 for finite and infinity parameters.
5637
22700377
WS
56382011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5639
5640 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5641 and add nop instructions for throughput optimization.
5642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5643
5025581e
WS
56442011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5645
5646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5647 aligned copy for power7 with vector-scalar instructions.
5648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5649
08a300c9
L
56502011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5651
5652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5653 AVX check.
5654
59178ef9
AS
56552011-09-07 Andreas Schwab <schwab@redhat.com>
5656
5657 [BZ #13144]
5658 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5659 last change.
5660
e38ba7ab
UD
56612011-09-07 Ulrich Drepper <drepper@gmail.com>
5662
5663 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5664 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5665 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5666 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5667 clock_gettime.
5668
d53a73ac
UD
56692011-09-06 Ulrich Drepper <drepper@gmail.com>
5670
fc8bffcc
UD
5671 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5672 Forgot to demangle the pointer.
5673
ceaa0c5d
UD
5674 * sysdeps/i386/sysdep.h: Define atom_text_section.
5675 * sysdeps/x86_64/sysdep.h: Likewise.
5676 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5677 section with atom_text_section.
5678 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5679 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5680 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5681 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5682 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5683
a77d3c17
UD
5684 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5685 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5686 already be defined. Change to take two parameters and don't assign
5687 result to variable. Adjust all users.
5688 Define INTERNAL_GETTIME if not already defined.
5689 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5690 call.
5691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5692 HAVE_CLOCK_GETTIME_VSYSCALL.
5693 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5694
d53a73ac
UD
5695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5696 gettimeofday vsyscall, just use time.
5697
a8f84144
AS
56982011-09-06 Andreas Schwab <schwab@redhat.com>
5699
5700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5701 <errno.h>.
5702
ef606249
UD
57032011-09-06 Ulrich Drepper <drepper@gmail.com>
5704
5705 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5706 syscall on x86-64.
5707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5708 syscall.
5709 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5710 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5711 syscall if possible.
5712
6585cb60
UD
57132011-09-05 Ulrich Drepper <drepper@gmail.com>
5714
5715 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5716 e_ident. Don't pass to find_mapsXX.
5717 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5718
a5f524e4
LD
57192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5720
5721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5722 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5723 * sysdeps/x86_64/multiarch/strchr.S: Update.
5724 Check bit_slow_BSF bit.
5725 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5726 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5727 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5728
554881ef
UD
57292011-09-05 Ulrich Drepper <drepper@gmail.com>
5730
d96de963
UD
5731 [BZ #13134]
5732 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5733 before glibc 2.15.
5734 (tryshell): Define.
5735 (__spawni): Change last parameter to be flag. Test
5736 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5737 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5738 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5739 * posix/spawni.c: Likewise.
5740 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5741 * posix/spawnp.c: Likewise. Change normal version to use
5742 SPAWN_XFLAGS_USE_PATH.
5743 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5744 SPAWN_XFLAGS_TRY_SHELL.
5745
d48e5868
UD
5746 [BZ #13150]
5747 * posix/glob.h: Remove gcc 1.x support.
5748
554881ef
UD
5749 [BZ #13068]
5750 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5751
693fb948
LD
57522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5753
5754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5755 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5756 strrchr-sse2-bsf
5757 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5758 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5759 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5760 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5761 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5762 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5763
1b48c537
UD
57642011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5765
49d42c37
UD
5766 * sysdeps/x86_64/wcscmp.S: New file.
5767
1b48c537
UD
5768 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5769 wcscmp-c wcscmp-sse2
5770 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5771 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5772 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5773 * wcsmbs/wcscmp.c: Allow renaming.
5774
15c95c5d
DM
57752011-09-05 David S. Miller <davem@davemloft.net>
5776
5777 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5778 stack slot, rather than the struct return pointer slot.
5779 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5780 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5782 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5783
2f0ad8f3
UD
57842011-09-05 Ulrich Drepper <drepper@gmail.com>
5785
d88ae418
UD
5786 * po/ja.po: Update from translation team.
5787
2f0ad8f3
UD
5788 [BZ #13144]
5789 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5790 kernel in 64-bit binaries.
5791
5f4318d1
DM
57922011-09-01 David S. Miller <davem@davemloft.net>
5793
5794 * elf/elf.h (HWCAP_SPARC_*): Move to..
5795 * sysdeps/sparc/sysdep.h: this new file and add new values.
5796 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5797 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5798 _DL_HWCAP_COUNT to 24.
5799 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5800 entries.
5801 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5802 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5803 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5805 instead of magic constants.
5806 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5807
3ba57516
DM
58082011-08-31 David S. Miller <davem@davemloft.net>
5809
5810 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5812 Reimplement to do errno handling inline.
5813 (SYSCALL_ERROR_HANDLER): New macro.
5814 (__SYSCALL_STRING): Do not do errno handling in asm.
5815 (__CLONE_SYSCALL_STRING): Delete.
5816 (__INTERNAL_SYSCALL_STRING): Delete.
5817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5818 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5819 (PSEUDO): Reimplement to do errno handling inline.
5820 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5821 (SYSCALL_ERROR_HANDLER): New macro.
5822 (__SYSCALL_STRING): Do not do errno handling in asm.
5823 (__CLONE_SYSCALL_STRING): Delete.
5824 (__INTERNAL_SYSCALL_STRING): Delete.
5825 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5826 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5827 i386.
5828 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5829 (inline_syscall*): Add 'err' argument.
5830 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5831 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5832 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5833 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5834
5835 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5836 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5837
2bc17433
AS
58382011-08-30 Andreas Schwab <schwab@redhat.com>
5839
5840 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5841
fbeb5f4d
JO
58422011-08-29 Jiri Olsa <jolsa@redhat.com>
5843
5844 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5845 directive.
5846
ad69cc26
DM
58472011-08-24 David S. Miller <davem@davemloft.net>
5848
5849 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5850
39dd69df
AS
58512011-08-24 Andreas Schwab <schwab@redhat.com>
5852
5853 * elf/Makefile: Add rules to build and run unload8 test.
5854 * elf/unload8.c: New file.
5855 * elf/unload8mod1.c: New file.
5856 * elf/unload8mod1x.c: New file.
5857 * elf/unload8mod2.c: New file.
5858 * elf/unload8mod3.c: New file.
5859
5860 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5861 it wasn't used.
5862
2c0b250a
DM
58632011-08-23 David S. Miller <davem@davemloft.net>
5864
5865 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5866 subtract stack bias.
5867 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5868 %sp not %fp in calculations.
5869 (_JMPBUF_UNWINDS_ADJ): Likewise.
5870
22044b48
DM
5871 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5872 (aio_suspend): Call it to force an exception region around the
5873 AIO_MISC_WAIT() invocation.
5874
2cae4995
AS
58752011-08-23 Andreas Schwab <schwab@redhat.com>
5876
5877 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5878 backslash.
5879
873a772e
AJ
58802011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5881
5882 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5883 protection macro.
5884 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5885 and <dl-machine.h>.
5886 (Elf64_FuncDesc): Remove.
5887
25ad0df1
DM
58882011-08-22 David S. Miller <davem@davemloft.net>
5889
5890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5891 sigaltstack check, add missing cfi directives.
5892 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5893 missing cfi directives, and sigaltstack handling.
5894
e888bcbe
AS
58952011-08-16 Andreas Schwab <schwab@redhat.com>
5896
5897 [BZ #11724]
5898 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5899 object is seen twice.
5900 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5901
5902 * elf/Makefile (distribute): Add tst-initorder2.c.
5903 (tests): Add tst-initorder2.
5904 (modules-names): Add tst-initorder2a tst-initorder2b
5905 tst-initorder2c tst-initorder2d. Add rules to build them.
5906 ($(objpfx)tst-initorder2.out): New rule.
5907 * elf/tst-initorder2.c: New file.
5908 * elf/tst-initorder2.exp: New file.
5909
87162f46
AS
59102011-08-22 Andreas Schwab <schwab@redhat.com>
5911
70538b7f
AS
5912 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5913
f55ffe58
AS
5914 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5915 dependencies back to end of function.
5916
87162f46
AS
5917 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5918 $(elfobjdir)/ld.so.
5919
91b392a4
UD
59202011-08-21 Ulrich Drepper <drepper@gmail.com>
5921
5922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5923 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5925 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5926 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5927 of __vdso_gettimeofday.
5928 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5929 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5930 attribute_hidden.
5931 (_libc_vdso_platform_setup): Remove initialization of
5932 __vdso_gettimeofday and __vdso_time.
5933
5c43483f
UD
59342011-08-20 Ulrich Drepper <drepper@gmail.com>
5935
775a77e7
UD
5936 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5937 and fgetc_unlocked.
5938 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5939 getc_unlocked.
89f447ed 5940
49c74ba9
UD
5941 * elf/dl-open.c (add_to_global): Report additions to the global scope
5942 for LD_DEBUG=scopes.
5943 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5944 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5945
5c43483f
UD
5946 [BZ #13114]
5947 * stdio-common/Makefile (tests): Add bug24.
5948 * stdio-common/bug24.c: New file.
5949
a101b025
AJ
59502011-08-19 Andreas Jaeger <aj@suse.de>
5951
5952 [BZ #13114]
5953 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5954 non-existant file when using close-on-exec mode.
5955
c88f1766
UD
59562011-08-20 Ulrich Drepper <drepper@gmail.com>
5957
0276a718
UD
5958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5959 the very first instruction.
5960
c88f1766
UD
5961 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5962 the CFI state in the end.
5963 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5964 inclusion of dl-trampoline.h.
5965 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5966
51ccffa0
AS
59672011-08-19 Andreas Schwab <schwab@redhat.com>
5968
94d7165f
AS
5969 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5970 expectations for long double.
5971
51ccffa0
AS
5972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5973 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5974
fd708658 59752011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5976
5977 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5978 artificual limit depends upon the system page size.
5979
44f0a71e
UD
59802011-08-17 Ulrich Drepper <drepper@gmail.com>
5981
5982 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5983 * resolv/Makefile: Define CFLAGS-libresolv.
5984
8de79a24
AS
59852011-08-17 Andreas Schwab <schwab@redhat.com>
5986
5987 * nss/makedb.c (compute_tables): Make variables used in nested
5988 function static.
5989
27724598
UD
59902011-08-17 Ulrich Drepper <drepper@gmail.com>
5991
c5305d88
UD
5992 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5993 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5994 if buffer was too small.
5995
27724598
UD
5996 * elf/pldd.c (main): Attach to all threads in the process.
5997 Rewrite /proc handling to use *at functions.
5998
076fe015
UD
59992011-08-16 Ulrich Drepper <drepper@gmail.com>
6000
174baab3
UD
6001 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6002 specifies first scope to show.
6003 (dl_open_worker): Update callers. Move printing scope of new
6004 object to before the relocation.
44f0a71e 6005 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6006 * sysdeps/generic/ldsodefs.h: Update declaration.
6007
076fe015
UD
6008 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6009 string for the scope number.
6010
a60df2c3
UD
60112011-08-14 Ulrich Drepper <drepper@gmail.com>
6012
6013 * nscd/servicescache.c (cache_addserv): Make sure written is always
6014 initialized.
6015
5e4287d1
RM
60162011-08-14 Roland McGrath <roland@hack.frob.com>
6017
85ae0589
RM
6018 * sysdeps/i386/i486/bits/atomic.h
6019 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6020 statement expression, so as to suppress "set but not used" warning.
6021 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6022
69f63097
RM
6023 * string/strncat.c (STRNCAT): Use prototype definition.
6024
675456ef
RM
6025 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6026 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6027 -Iprograms here.
6028 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6029 (localedef-modules): Add localedef.
6030 (locale-modules): Add locale.
6031
5e4287d1
RM
6032 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6033 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6034 to avoid a warning.
6035
9c96ff23
DM
60362011-08-14 David S. Miller <davem@davemloft.net>
6037
6038 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6039 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6040
f9ddf089
UD
60412011-08-13 Ulrich Drepper <drepper@gmail.com>
6042
44f0a71e 6043 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6044 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6045 * elf/rtld.c (dl_main): Set l_name of vDSO.
6046 Call _dl_show_scope when DL_DEBUG_SCOPES.
6047 (process_dl_debug): Recognize scopes flag and also set it for all.
6048 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6049 Declare _dl_show_scope.
6050
1dc27704
UD
6051 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6052 (do_dlopen): Pass caller_dlopen to dl_open.
6053 (__libc_dlopen_mode): Initialize caller_dlopen.
6054
f9ddf089
UD
6055 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6056 of libc. Make tolower call locale-independent. Optimize a bit by
6057 using isdigit instead of isalnum.
6058 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6059
9ac533d3
UD
60602011-08-12 Ulrich Drepper <drepper@gmail.com>
6061
6062 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6063 was a dependency or dynamically loaded.
6064
89edf2e9
UD
60652011-08-11 Ulrich Drepper <drepper@gmail.com>
6066
8e999d29
UD
6067 * intl/l10nflist.c: Allow architecture-specific pop function.
6068 * sysdeps/x86_64/l10nflist.c: New file.
6069
89edf2e9
UD
6070 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6071 classification.
6072
14d96785
AS
60732011-08-10 Andreas Schwab <schwab@redhat.com>
6074
6075 * include/dirent.h: Add libc_hidden_proto for scandirat and
6076 scandirat64. Don't declare __scandirat64.
6077 * dirent/scandirat.c: Add libc_hidden_def.
6078 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6079 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6080
6761ac04
DM
60812011-08-10 David S. Miller <davem@davemloft.net>
6082
6083 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6084 enum.
6085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6087 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6088
c55fbd1e
UD
60892011-08-09 Ulrich Drepper <drepper@gmail.com>
6090
6091 * Versions.def [libc]: Add GLIBC_2.15.
6092 * dirent/Makefile (routines): Add scandirat and scandirat64.
6093 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6094 GLIBC_2.15.
6095 * dirent/dirent.h: Declare scandirat and scandirat64.
6096 * dirent/scandirat.c: New file.
6097 * dirent/scandirat64.c: New file.
6098 * sysdeps/wordsize-64/scandirat.c: New file.
6099 * sysdeps/wordsize-64/scandirat64.c: New file.
6100 * dirent/opendir.c: Define opendirat.
6101 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6102 using scandirat.
6103 * dirent/scandir64.c: Adjust for scandir.c change.
6104 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6105 __scandirat64, and __scandir_cancel_handler.
6106 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6107 additional parameter and use openat instead of open (outside of ld.so).
6108 Add new __opendir as wrapper around __opendirat.
6109 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6110 here without requiring old scandirat implementation.
6111
879165f2
UD
61122011-08-08 Ulrich Drepper <drepper@gmail.com>
6113
6114 * dirent/scandir.c (cancel_handler): Renamed to
6115 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6116 defined. Adjust users.
6117 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6118 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6119
cb7e923b
UD
61202011-08-04 Ulrich Drepper <drepper@gmail.com>
6121
16292edd
UD
6122 * string/test-string.h (IMPL): Use __STRING to expand name and then
6123 stringify it.
6124
cb7e923b
UD
6125 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6126 of cleanups.
6127
cff82933
LD
61282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6129
6130 * string/Makefile: Update.
6131 (strop-tests): Append strncat.
6132 * string/test-wcscmp.c: New file.
6133 New comprehensive test for wcscmp.
6134 * string/test-strcmp.c: Update.
6135 (WIDE): New define.
6136
9be9bfcc
AS
61372011-07-22 Andreas Schwab <schwab@redhat.com>
6138
6139 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6140 line.
6141
2e96f1c7
AS
61422011-07-26 Andreas Schwab <schwab@redhat.com>
6143
6144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6145 encoding to ACE if AI_IDN.
6146
85188888
JJ
61472011-08-01 Jakub Jelinek <jakub@redhat.com>
6148
6149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6150 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6151
5fa16e9b
LD
61522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6153
6154 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6155 Fix overflow bug in strncat.
6156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6157
6158 * string/test-strncat.c: Update.
6159 Add new tests for checking overflow bugs.
6160
61612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6162
6163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6164 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6165 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6166 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6167 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6168 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6169 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6170 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6171 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6172
6173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6174 (USE_AS_STRCAT): Define.
6175 Add strcat and strncat support.
6176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6177
8c1a459f
AS
61782011-07-25 Andreas Schwab <schwab@redhat.com>
6179
6180 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6181 __n bigger than INT_MAX+1.
6182 (__strncmp_g): Likewise.
6183
bba33c28
UD
61842011-07-23 Ulrich Drepper <drepper@gmail.com>
6185
798be72d
UD
6186 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6187 * libio/stido.h: Likewise.
6188
8accd4dc
UD
6189 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6190 (AF_NFC): Define.
6191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6192 (AF_NFC): Define.
6193
cbff0d96
UD
6194 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6195 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6197 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6199
9191c04a
UD
6200 [BZ #13021]
6201 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6202 installed.
6203
bba33c28
UD
6204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6205 typo.
6206 (_dl_x86_64_save_sse): Likewise.
6207
90f139dd
UD
62082011-07-22 Ulrich Drepper <drepper@gmail.com>
6209
1aae088a
UD
6210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6211 OSXSAVE.
6212 (_dl_x86_64_save_sse): Likewise.
6213
8e2045f5
UD
6214 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6215
90f139dd
UD
6216 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6217
1d002f25
AS
62182011-07-21 Andreas Schwab <schwab@redhat.com>
6219
6220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6221 change.
6222 (_dl_x86_64_save_sse): Use correct AVX check.
6223
21137f89
UD
62242011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6225
6226 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6227 bug in strncpy/strncat.
6228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6229
a65c0b7a
UD
62302011-07-21 Ulrich Drepper <drepper@gmail.com>
6231
6232 * string/tester.c (test_strcat): Add tests for different alignments
6233 of source and destination.
6234 (test_strncat): Likewise.
6235
6986b98a
UD
62362011-07-20 Ulrich Drepper <drepper@gmail.com>
6237
90bb2039
UD
6238 [BZ #12852]
6239 * posix/glob.c (glob): Check passed in values before using them in
6240 expressions to avoid some overflows.
6241 (glob_in_dir): Likewise.
6242
5644ef54
UD
6243 [BZ #13007]
6244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6245 check for AVX enablement so that we don't crash with old kernels and
6246 new hardware.
6247 * elf/tst-audit4.c: Add same checks here.
6248 * elf/tst-audit6.c: Likewise.
6249
6250 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6251
bfc9dc9b
AS
62522011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6253
6254 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6255
702e64bb
UD
62562011-07-20 Ulrich Drepper <drepper@gmail.com>
6257
6258 * po/cs.po: Update from translation team.
6259 * po/bg.po: Likewise.
6260
295e904f
MP
62612011-07-12 Marek Polacek <mpolacek@redhat.com>
6262
6263 * misc/sys/cdefs.h: Add support for const attribute.
6264 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6265 to gnu_dev_{major,minor,makedev} functions.
6266
3ff94596
MP
62672011-07-20 Marek Polacek <mpolacek@redhat.com>
6268
6269 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6270
28b59fca
AS
62712011-07-20 Andreas Schwab <schwab@redhat.com>
6272
6273 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6274 strlen results.
6275
19df733e
AK
62762011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6277
6278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6279 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6280 register in order to avoid conflicts with the soft frame pointer
6281 being held in r11 when necessary.
6282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6283 (INTERNAL_VSYSCALL_NCS): Likewise.
6284
c8835729
MP
62852011-07-14 Marek Polacek <mpolacek@redhat.com>
6286
6287 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6288 * elf/dl-fini.c (_dl_fini): Adjust caller.
6289 * elf/dl-close.c (_dl_close_worker): Likewise.
6290 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6291
b902330c
MP
62922011-07-15 Marek Polacek <mpolacek@redhat.com>
6293
8991e135
MP
6294 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6295 "aux_cache->nlibs < 0".
6296
b902330c
MP
6297 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6298 in the reload-count case.
6299
99710781
LD
63002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6301
6302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6303 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6304 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6305 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6306 * sysdeps/x86_64/multiarch/strcat.S: New file.
6307 * sysdeps/x86_64/multiarch/strncat.S: New file.
6308 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6310 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6311 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6312 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6313 (USE_AS_STRCAT): Define.
6314 Add strcat and strncat support.
6315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6317 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6318 * string/strncat.c: Update.
6319 (USE_AS_STRNCAT): Define.
6320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6321 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6322 and i7.
6323 * sysdeps/x86_64/multiarch/init-arch.h
6324 (bit_Prefer_PMINUB_for_stringop): New.
6325 (index_Prefer_PMINUB_for_stringop): Likewise.
6326 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6327 bit_Prefer_PMINUB_for_stringop.
6328
7dc6bd90
UD
63292011-07-19 Ulrich Drepper <drepper@gmail.com>
6330
6331 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6332 buffer64.
6333 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6334 of casting of buffer.
6335 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6336 buffer32 and buffer64.
6337 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6338 writes instead of casting of buffer.
6339 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6340 buffer32.
6341 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6342 casting of buffer.
6343
e0e72284
AS
63442011-07-19 Andreas Schwab <schwab@redhat.com>
6345
6346 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6347
feb1eb0b
UD
63482011-07-19 Ulrich Drepper <drepper@gmail.com>
6349
6350 * nscd/nscd.c (termination_handler): Don't do anything for a database
6351 if it has not yet been initialized.
6352
298711ff
UD
63532011-07-18 Ulrich Drepper <drepper@gmail.com>
6354
6355 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6356
63572011-07-15 Marek Polacek <mpolacek@redhat.com>
6358
6359 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6360
f9d68389
UD
63612011-07-18 Ulrich Drepper <drepper@gmail.com>
6362
6363 * po/nl.po: Update from translation team.
6364 * po/sv.po: Likewise.
6365
db290cf5
RM
63662011-07-16 Roland McGrath <roland@hack.frob.com>
6367
6368 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6369 now disallowed by GCC.
5c550700 6370
fd5e21c7
RM
6371 * configure.in (use-default-link): Default to yes if a test -shared
6372 link meets our qualifications.
6373 * configure: Regenerated.
6374
5c550700
RM
6375 * config.make.in (output-format): New variable.
6376 * configure.in: Check for ld --print-output-format support.
6377 * configure: Regenerated.
6378 * Makerules ($(common-objpfx)format.lds)
6379 [$(output-format) != unknown]: Just use $(output-format),
6380 instead of the linker-script munging.
6381
9fa2c032
RM
63822011-07-14 Roland McGrath <roland@hack.frob.com>
6383
a6928d51
RM
6384 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6385 of $(common-objpfx)shlib.lds.
6386 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6387
661607b3
RM
6388 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6389 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6390
9fa2c032
RM
6391 * configure.in (-z relro check): Adjust test code to add a large
6392 writable data section after it.
6393 * configure: Regenerated.
6394
defe9061
RM
63952011-07-11 Roland McGrath <roland@hack.frob.com>
6396
6397 * configure.in (-z relro check): Fix test code to make the variable
6398 truly const.
6399 * configure: Regenerated.
6400
319b9ad4
UD
64012011-07-11 Ulrich Drepper <drepper@gmail.com>
6402
6403 * nscd/nscd.h (struct traced_file): Define.
6404 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6405 elements. Add traced_files.
6406 (inotify_fd): Declare.
6407 (register_traced_file): Declare.
6408 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6409 (inotify_fd): Export.
6410 (resolv_conf_descr): Remove.
6411 (nscd_init): Move inotify descriptor creation to main.
6412 Don't register files for notification here.
6413 (register_traced_file): New function.
6414 (invalidate_cache): Don't use reset_res to determine whether to call
6415 res_init, go through the list of registered files.
6416 (main_loop_poll): The inotify descriptors are now stored in the
6417 structures for the traced files.
6418 (main_loop_epoll): Likewise
6419 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6420 to __nss_disable_nscd.
6421 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6422 for a database anymore. Check the records for all the registered
6423 files instead.
6424 * nss/Makefile (libnss_files-routines): Add files-init.
6425 (libnss_db-routines): Add db-init.
6426 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6427 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6428 * nss/nss_db/db-init.c: New file.
6429 * nss/nss_files/files-init.c: New file.
6430 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6431 __nss_lookup_function.
6432 (__nss_lookup_function): Call nss_load_library.
6433 (nss_load_all_libraries): New function.
6434 (__nss_disable_nscd): Take parameter with callback function for files
6435 to register. Set is_nscd. Load all the DSOs for the NSS modules
6436 used for the cached services.
6437 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6438 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6439 options for features to all the files in nscd.
6440
6441 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6442
23bee3e8
RM
64432011-07-10 Roland McGrath <roland@hack.frob.com>
6444
6445 * csu/elf-init.c (__libc_csu_init): Comment typo.
6446
46a5b7f0
UD
64472011-07-09 Ulrich Drepper <drepper@gmail.com>
6448
6449 * po/pl.po: Update from translation team.
6450 * po/ja.po: Likewise.
6451 * po/ru.po: Likewise.
6452 * po/ko.po: Likewise.
6453 * po/fr.po: Likewise.
6454
d30cf5bb
RM
64552011-07-09 Roland McGrath <roland@hack.frob.com>
6456
113ddea4
RM
6457 * configure.in (.ctors/.dtors header and trailer check):
6458 Use an empirical test on a built program.
6459 * configure: Regenerated.
6460
574920b4
RM
6461 * configure.in (-z relro check): Use an empirical test on a built DSO.
6462 Detect, but do not require, on ia64.
6463 * configure: Regenerated.
6464
d30cf5bb
RM
6465 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6466 Update tests that use readelf to use $READELF instead.
6467 * configure: Regenerated.
6468
8538fdb3
UD
64692011-07-08 Ulrich Drepper <drepper@gmail.com>
6470
6471 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6472 if the result is not used.
6473
04d08991
AJ
64742011-07-05 Andreas Jaeger <aj@suse.de>
6475
6476 [BZ#9696]
6477 * stdlib/tst-strtod.c: Add testcase.
6478
de283087
AD
64792011-07-07 Ulrich Drepper <drepper@gmail.com>
6480
4e5f31c8 6481 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6482 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6483 The latter has a higher limit. Take additional parameter to pass to
6484 the new function.
6485 (__pathconf): Pass file to __statfs_link_max.
6486 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6487 __statfs_link_max.
6488 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6489 __statfs_link_max.
6490
de283087
AD
6491 [BZ #12868]
6492 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6493 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6494 Handle Lustre.
6495 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6496 (__statfs_filesize_max): Likewise.
6497 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6498
c75fa153
AJ
64992011-07-05 Andreas Jaeger <aj@suse.de>
6500
6501 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6502
1a544854
UD
65032011-07-06 Marek Polacek <mpolacek@redhat.com>
6504
6505 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6506 `status' variable.
6507 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6508 Likewise.
6509
6f0eec67
UD
65102011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6511
6512 * Makefile (strop-tests): Add strncat.
6513 * string/test-strncat.c: New file.
6514
aae30307
UD
65152011-06-30 Marek Polacek <mpolacek@redhat.com>
6516
6517 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6518
c0cfb5eb
UD
65192011-06-21 Andreas Jaeger <aj@suse.de>
6520
6521 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6522 Copy rule from iconvdata/Makefile.
6523
01636b21
UD
65242011-07-06 Ulrich Drepper <drepper@gmail.com>
6525
6526 [BZ #12922]
6527 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6528 but no long options are defined, just return 'W'.
6529
9895c8bc
UD
65302011-06-22 Marek Polacek <mpolacek@redhat.com>
6531
6532 [BZ #9696]
6533 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6534
5d4cf042
UD
65352011-07-06 Ulrich Drepper <drepper@gmail.com>
6536
6537 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6538 netgroups to read.
960e5535 6539 (innetgr): Likewise.
5d4cf042 6540
751eb97e
RM
65412011-07-05 Roland McGrath <roland@hack.frob.com>
6542
6543 * config.make.in (install_root): Default to $(DESTDIR).
6544
f15f1e45
UD
65452011-07-05 Ulrich Drepper <drepper@gmail.com>
6546
6547 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6548
4e34ac6a
RM
65492011-07-02 Roland McGrath <roland@hack.frob.com>
6550
5e9b6af4
RM
6551 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6552
84f9ea0f
RM
6553 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6554 containing directory rather than embedding absolute directory names.
6555
ea5ee9f7
RM
6556 * scripts/check-local-headers.sh: Rewritten using awk.
6557 Match by word, not by line. Print error messages for matches.
6558 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6559
1b74661a
RM
6560 * Makerules [shlib-lds-flags empty]:
6561 ($(common-objpfx)libc_pic.opts): New target.
6562 ($(common-objpfx)libc_pic.os.clean): New target.
6563 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6564
6565 * config.make.in (OBJCOPY): New variable.
6566 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6567 * configure: Regenerated.
6568
f781ef40
RM
6569 * config.make.in (use-default-link): New variable.
6570 * configure.in (use_default_link): Grok --with-default-link to set it.
6571 * configure: Regenerated.
6572 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6573 (shlib-lds, shlib-lds-flags): Define to empty.
6574
2d4fa81e
RM
6575 * Makerules (shlib-lds): New variable.
6576 (shlib-lds-flags): New variable.
6577 (build-shlib, build-moduile, build-module-asneeded): Use it.
6578 ($(common-objpfx)libc.so): Use $(shlib-lds).
6579 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6580 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6581
31fffa6b
RM
6582 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6583 DT_FLAGS/DT_FLAGS_1 with zero flags.
6584
4e34ac6a
RM
6585 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6586 linker script munging.
6587
fcfc776b
UD
65882011-07-02 Ulrich Drepper <drepper@gmail.com>
6589
6590 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6591 as 128-bit value.
6592 * crypt/sha512.c (sha512_process_block): Perform total addition using
6593 128-bit if possible.
6594 (__sha512_finish_ctx): Likewise.
6595 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6596 as 64-bit value.
6597 * crypt/sha256.c (SWAP64): Define.
6598 (sha256_process_block): Perform total addition using 64-bit if
6599 possible.
6600 (__sha256_finish_ctx): Likewise.
6601
99231d9a
UD
66022011-07-01 Ulrich Drepper <drepper@gmail.com>
6603
6604 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6605 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6606 * nscd/hstcache.c (cache_addhst): Likewise.
6607 * nscd/grpcache.c (cache_addgr): Likewise.
6608 * nscd/aicache.c (addhstaiX): Likewise
6609 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6610
445b4a53
TK
66112011-07-01 Thorsten Kukuk <kukuk@suse.de>
6612
6613 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6615 * nscd/hstcache.c (cache_addhst): Likewise.
6616 * nscd/grpcache.c (cache_addgr): Likewise.
6617 * nscd/aicache.c (addhstaiX): Likewise
6618
6d4d8e8e
AS
66192011-07-01 Andreas Schwab <schwab@redhat.com>
6620
6621 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6622 domain only when needed.
6623
89f654c5
AS
66242011-06-30 Andreas Schwab <schwab@redhat.com>
6625
6626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6627 is always restored.
6628
cf3b23ff
UD
66292011-06-29 Ulrich Drepper <drepper@gmail.com>
6630
6631 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6632 are re-adding the entry.
6633 * nscd/servicescache.c (cache_addserv): Likewise.
6634
751626f9
AJ
66352011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6636
6637 * sysdeps/generic/dl-irel.h: fix protection against multiple
6638 inclusions.
6639 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6640
9113ea1f
UD
66412011-06-28 Ulrich Drepper <drepper@gmail.com>
6642
5c0b8d90
UD
6643 [BZ #12935]
6644 * malloc/memusage.sh: Fix quoting in message.
6645 * debug/xtrace.sh: Likewise.
6646
9113ea1f
UD
6647 * configure.in: Remove support for --experimental-malloc option, make
6648 it the default.
6649 * config.make.in: Likewise.
6650 * malloc/Makefile: Likewise.
6651
a4172181
AS
66522011-06-27 Andreas Schwab <schwab@redhat.com>
6653
6654 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6655 two-byte characters.
6656
78a7eee7
RM
66572011-06-27 Roland McGrath <roland@hack.frob.com>
6658
62bede13
RM
6659 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6660 AC_CACHE_CHECK invocation.
6661 * configure: Regenerated.
6662
78a7eee7
RM
6663 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6664
5ce33a62
UD
66652011-06-27 Ulrich Drepper <drepper@gmail.com>
6666
034807a9
UD
6667 [BZ #12350]
6668 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6669 bit from old_res_options.
6670
4902da17
UD
6671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6672
5ce33a62
UD
6673 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6674 value type for setfct.
6675
c2344f56
L
66762011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6677
6678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6679 __gettimeofday instead of gettimeofday.
6680
68468076
UD
66812011-06-26 Ulrich Drepper <drepper@gmail.com>
6682
6683 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6684
acb0d739
L
66852011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6686
6687 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6688
6689 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6690 info.
6691
8912479f
L
66922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6693
6694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6695 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6696 strcpy-sse2-unaligned strncpy-sse2-unaligned
6697 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6698 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6699 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6700 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6701 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6703 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6704 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6705 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6706 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6707 (STRCPY): Support SSE2 and SSSE3 versions.
6708
d5495a11
UD
67092011-06-24 Ulrich Drepper <drepper@gmail.com>
6710
6711 [BZ #12874]
6712 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6713 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6714 kernels which artificially limit size of requests.
6715
0b1cbaae
L
67162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6717
6718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6719 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6720 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6721 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6722 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6723 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6724 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6725 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6726 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6727 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6728 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6729 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6730 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6731 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6732 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6734 Enable unaligned load optimization for Intel Core i3, i5 and i7
6735 processors.
6736 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6737 Define.
6738 (index_Fast_Unaligned_Load): Define.
6739 (HAS_FAST_UNALIGNED_LOAD): Define.
6740
07f494a0
MP
67412011-06-23 Marek Polacek <mpolacek@redhat.com>
6742
6743 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6744
fa3fc0fe
UD
67452011-06-22 Ulrich Drepper <drepper@gmail.com>
6746
6747 [BZ #12907]
6748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6749 until it is clear that the information is realy needed.
6750 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6751
e12df166
AS
67522011-06-22 Andreas Schwab <schwab@redhat.com>
6753
6754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6755
852eb34d
UD
67562011-06-22 Ulrich Drepper <drepper@gmail.com>
6757
84e2a551
UD
6758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6759 /sys/devices/system/cpu/online if it is usable.
6760
852eb34d
UD
6761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6762 reading the information from the /proc filesystem to once a second.
6763
6e502e19
UD
67642011-06-21 Andreas Jaeger <aj@suse.de>
6765
6766 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6767 NULL after inclusion of kernel headers.
6768
75d39ff2
UD
67692011-06-21 Ulrich Drepper <drepper@gmail.com>
6770
51f9aa6a
UD
6771 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6772 calls to internal_setent.
6773
c0244a9d
UD
6774 [BZ #12885]
6775 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6776 addresses using gethostbyname4_r ignore IPv4 addresses.
6777
c5e3c2ae
UD
6778 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6779 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6780
75d39ff2
UD
6781 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6782
42675c6f
DM
67832011-06-20 David S. Miller <davem@davemloft.net>
6784
6785 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6786 inclusions.
6787 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6788
6789 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6790 (elf_irel): Use it.
6791 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6792 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6793 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6794 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6795 * sysdeps/x86_64/dl-irel.h: Likewise.
6796
6797 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6798 * elf/dl-sym.c: Likewise.
6799
57912a71
UD
68002011-06-15 Ulrich Drepper <drepper@gmail.com>
6801
6802 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6803 need to dereference resplen2.
6804
ee22793d
AS
68052011-06-14 Andreas Schwab <schwab@redhat.com>
6806
6807 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6808
a9e836b0
UD
68092011-06-15 Ulrich Drepper <drepper@gmail.com>
6810
77fb9117
UD
6811 * Makeconfig: Define vardbdir and inst_vardbdir.
6812 * nss/Makefile: Add rules to install db-Makefile.
6813
40c1b22c
UD
6814 * nss/nss_db/db-XXX.c: Cleanup.
6815
9f2da732
UD
6816 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6817 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6818 GLIBC_PRIVATE.
6819 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6820 * nss/makedb.c: Implement -g option to specify that value strings
6821 are generated and should not be added to table iterated over for
6822 get*ent calls.
6823 * nss/nss_db/db-initgroups.c: New file.
6824
82e9a1f7
UD
6825 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6826 interface.
6827
c41af17e
UD
6828 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6829 (internal_getgrouplist): Adjust to name change.
6830 Update use_initgroups_entry if this is not the first call.
6831 * nss/databases.def: Add initgroups entry.
6832
a9e836b0
UD
6833 * nss/makedb.c (compute_tables): Check result of multiple hash table
6834 sizes to minimize maximum chain length.
6835
2666d441
UD
68362011-06-14 Ulrich Drepper <drepper@gmail.com>
6837
6838 * Versions.def: Add entry for libnss_db.
6839 * shlib-versions: Likewise.
6840 * nss/Makefile: Add rules to build libnss_db.
6841 * nss/Versions: Add libnss_db information. Organize libnss_files
6842 entries better.
6843 * nss/db-Makefile: Add gshadow support. Change rules for the new
6844 makedb progra. Some minor improvements to generate smaller files.
6845 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6846 here from...
6847 * nss/makedb.c: ...here.
6848 Improve database format to be smaller and require less memory at
6849 runtime.
6850 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6851 db anymore.
6852 * nss/nss_db/db-netgrp.c: Likewise.
6853 * nss/nss_db/db-open.c: Likewise.
6854 * nss/nss_files/flies-XXX.x: Adjust comments.
6855 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6856 * nss/nss_files/files-grp.c: Likewise.
6857 * nss/nss_files/files-hosts.c: Likewise.
6858 * nss/nss_files/files-network.c: Likewise.
6859 * nss/nss_files/files-proto.c: Likewise.
6860 * nss/nss_files/files-pwd.c: Likewise.
6861 * nss/nss_files/files-rpc.c: Likewise.
6862 * nss/nss_files/files-service.c: Likewise.
6863 * nss/nss_files/files-sgrp.c: Likewise.
6864 * nss/nss_files/files-spwd.c: Likewise.
6865 * nss/nss_db/db-alias.c: Removed.
6866 * nss/nss_db/dummy-db.h: Removed.
6867
9ee76b5a
UD
68682011-06-02 Ulrich Drepper <drepper@gmail.com>
6869
6870 * nss/makedb.c: Rewritten to not use database library.
6871 * nss/Makefile: Update to build new makedb program.
6872
c71ca1f8
AJ
68732011-06-14 Andreas Jaeger <aj@suse.de>
6874
6875 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6876 memset declaration.
6877
3154bfb8
UD
68782011-06-10 Andreas Schwab <schwab@redhat.com>
6879
6880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6881 tmpbuf.
6882
b350afab
RM
68832011-06-10 Roland McGrath <roland@hack.frob.com>
6884
decd4e50
RM
6885 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6886 * elf/Makefile ($(objpfx)ld.so): Likewise.
6887
5615eaf2
RM
6888 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6889 Don't list ld.so twice in dependencies.
6890
6891 * posix/bug-regex31.c: Include <stdlib.h>.
6892
6893 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6894
6895 * nis/nss_compat/compat-spwd.c
6896 (getspent_next_nss_netgr): Remove unused variable.
6897 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6898
6899 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6900 nonmembers" output to use the right array.
6901
6902 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6903
6904 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6905
6906 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6907 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6908 * catgets/gencat.c (read_input_file): Likewise.
6909 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6910
6911 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6912 variable definition inside #if's controlling its use.
6913
6914 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6915
6916 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6917
6918 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6919
6920 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6921 unreachable code.
6922
6923 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6924
b68e08db
RM
6925 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6926 * configure: Regenerated.
6927
b350afab
RM
6928 * Makerules: Revert last change.
6929 * elf/Makefile: Likewise.
6930
28368601
RM
69312011-06-09 Roland McGrath <roland@hack.frob.com>
6932
6933 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6934 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6935 (reloc-link): Likewise.
6936
11988f8f
UD
69372011-06-09 Ulrich Drepper <drepper@gmail.com>
6938
6939 * elf/Makefile: Add rules to build pldd.
6940 * elf/pldd.c: New file.
6941 * elf/pldd-xx.c: New file.
6942
e80fab37
UD
69432011-06-07 Ulrich Drepper <drepper@gmail.com>
6944
6945 * version.h: Update for 2.15 development version.
6946
9b849836
DM
69472011-06-07 David S. Miller <davem@davemloft.net>
6948
6949 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6950 ifuncs.
6951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6952 elf_machine_lazy_rel): Likewise.
6953 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6955 elf_machine_lazy_rel): Likewise.
6956 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6957 dl_hwcap via passed in argument.
6958 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6959 Likewise.
6960
5a31b283
AK
69612011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6962
6963 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6964
069e52f8
RM
69652011-06-06 Roland McGrath <roland@hack.frob.com>
6966
6967 [BZ #12849]
6968 * manual/fdl-1.1.texi: New file, verbatim from:
6969 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6970 * manual/lgpl-2.1.texi: New file, verbatim from:
6971 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6972 * manual/Makefile (licenses): New variable, list those new file names.
6973 (texis): Use it.
6974 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6975
6976 * manual/fdl.texi: File removed.
6977 * manual/lesser.texi: File removed.
6978 * manual/libc.texinfo (Copying, Documentation License):
6979 Use new @include file names, put @appendix directive before @include.
6980
f16846a5
JJ
69812011-06-04 Jakub Jelinek <jakub@redhat.com>
6982
6983 [BZ #12841]
6984 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6985 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6986 (mq_open): Add __NTH.
6987
3d29045b
L
69882011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6989
6990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6991 Assume Intel Core i3/i5/i7 processor if AVX is available.
6992
8c297311
UD
69932011-05-31 Ulrich Drepper <drepper@gmail.com>
6994
6995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6996 typo.
6997
c8fc0c91
UD
69982011-05-31 Andreas Schwab <schwab@redhat.com>
6999
7000 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7001 memory. Use alloca_account. Fix memory leak when retrying.
7002
5b27a807
UD
70032011-05-31 Ulrich Drepper <drepper@gmail.com>
7004
356f8bc6
UD
7005 * version.h (RELEASE): Bump for 2.14 release.
7006 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7007
5b27a807
UD
7008 * config.make.in (RANLIB): Remove entry.
7009
01f16ab0
UD
70102011-05-30 Ulrich Drepper <drepper@gmail.com>
7011
41fce8bd
UD
7012 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7013 (libc.pot): Work around missing support for .ksh extension in xgettext.
7014
4769ae77
UD
7015 [BZ #12684]
7016 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7017 if both request failed.
7018 (send_dg): In case of server errors clear resplen or *resplen2.
7019
6b1e7d19
UD
7020 [BZ #12454]
7021 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7022 when there are multiple maps.
7023 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7024 (_dl_fini): Remove test here.
7025
01f16ab0
UD
7026 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7027
b1ebd700
UD
70282011-05-29 Ulrich Drepper <drepper@gmail.com>
7029
7ae22829
UD
7030 [BZ #12350]
7031 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7032 bit from old_res_options.
7033 (gaih_inet): Likewise.
7034
553149f6 7035 [BZ #11099]
18a84741 7036 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7037 as signed.
7038
652ffab1
UD
7039 * resolv/res_init.c (res_setoptions): Make the code more compact.
7040
16985fd0
UD
7041 [BZ #11558]
7042 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7043 set RES_USEVC.
7044
0464f746
UD
7045 [BZ #11634]
7046 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7047
7d17596c
UD
7048 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7049
cf6bbbd7
UD
7050 [BZ #11781]
7051 * malloc/malloc.h: Declare malloc hook variables as volatile.
7052
13f1ab36
UD
7053 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7054 in last patch.
7055
b1ebd700
UD
7056 [BZ #11799]
7057 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7058 raise in the comment.
80e2212d
UD
7059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7061 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7062
ce67228d
UD
70632011-05-28 Ulrich Drepper <drepper@gmail.com>
7064
8887a920
UD
7065 [BZ #12811]
7066 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7067 grow the buffers more if it already has to be sufficient.
7068 (build_wcs_upper_buffer): Likewise.
7069 * posix/regexec.c (check_matching): Likewise.
7070 (clean_state_log_if_needed): Likewise.
7071 (extend_buffers): Don't enlarge buffers beyond size of the input
7072 buffer.
7073 Patches mostly by Emil Wojak <emil@wojak.eu>.
7074 * posix/bug-regex32.c: New file.
7075 * posix/Makefile (tests): Add bug-regex32.
7076
4f031072
UD
7077 * locale/findlocale.c (_nl_find_locale): Return right away if
7078 _nl_explode_name failed.
7079 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7080
d0478f0c
UD
7081 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7082
de81b246
UD
7083 * debug/xtrace.sh: Unify messages.
7084 * malloc/memusage.sh: Likewise.
7085
c738465a
UD
7086 [BZ #12813]
7087 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7088 time symbol from vDSO. Substitute with vsyscall if not available.
7089 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7090 __vdso_time.
7091
f1f929d7
UD
7092 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7093 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7094 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7095 Add sendmmsg and internal_sendmmsg.
7096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7097 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7098 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7099
ce67228d
UD
7100 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7101 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7102 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7103
e57420c6
UD
71042011-05-27 Ulrich Drepper <drepper@gmail.com>
7105
a8509ca5
UD
7106 [BZ #12813]
7107 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7108 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7109 available.
7110 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7111 __vdso_getcpu.
7112
e57420c6
UD
7113 [BZ #12814]
7114 * iconvdata/Makefile (tests): Add bug-iconv9.
7115 * iconvdata/bug-iconv9.c: New file.
7116
4d07db15
AS
71172011-05-27 Andreas Schwab <schwab@redhat.com>
7118
7119 [BZ #12814]
7120 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7121
ea486f69
JJ
71222011-05-25 Jakub Jelinek <jakub@redhat.com>
7123
7124 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7125 (struct user_regs_struct): Change intcs field back to cs.
7126
6f038433
UD
71272011-05-25 Ulrich Drepper <drepper@gmail.com>
7128
7129 * po/ja.po: Update from translation team.
7130
67f86a25
UD
71312011-05-23 Ulrich Drepper <drepper@gmail.com>
7132
7133 [BZ #12795]
7134 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7135 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7136
def7fbd6
AS
71372011-05-20 Andreas Schwab <schwab@redhat.com>
7138
7139 * stdlib/longlong.h: Update from GCC.
7140
f50ef8f1
AS
71412011-05-23 Andreas Schwab <schwab@redhat.com>
7142
7143 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7144 parameter name.
7145 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7146 Add parameter name.
7147 (__sysconf): Pass it down.
7148
de7ce8f1
UD
71492011-05-22 Ulrich Drepper <drepper@gmail.com>
7150
f2962a71
UD
7151 [BZ #12671]
7152 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7153 some situations.
7154 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7155 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7156 add in in __libc_use_alloca calls. Adjust callers.
7157 (glob): Use malloc in some situations.
7158
de7ce8f1
UD
7159 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7160 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7161 pltexit.
7162
aec84f53
UD
71632011-05-21 Ulrich Drepper <drepper@gmail.com>
7164
05bb4a68
UD
7165 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7166 and CLOCK_BOOTTIME_ALARM.
7167
7ea72f99
UD
7168 [BZ #12782]
7169 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7170 is returned.
7171
7e4afad5
UD
7172 * string/_strerror.c (__strerror_r): Print negative errors as signed
7173 numbers.
7174
8e211fec
UD
7175 [BZ #12777]
7176 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7177 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7178 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7179
f7d82dc9
UD
7180 * configure.in: Fix typo in redirection and correct removal of test
7181 files in two cases.
7182
cc9e536d
UD
7183 [BZ #12788]
7184 * locale/setlocale.c (new_composite_name): Fix test to check for
7185 identical name of all categories.
7186
aec84f53
UD
7187 [BZ #12792]
7188 * libio/filedoalloc.c (local_isatty): New function.
7189 (_IO_file_doallocate): Use local_isatty.
7190 * stdio-common/perror.c (perror): In case a new stream is used
7191 forward the stream error.
7192 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7193 error flag.
7194
78e64fdc
RT
71952011-05-20 Ulrich Drepper <drepper@gmail.com>
7196
34a9094f
UD
7197 [BZ #11869]
7198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7199 alloca.
7200 * include/alloca.h (extend_alloca_account): Define.
7201
78e64fdc
RT
7202 [BZ #11857]
7203 * posix/regex.h: Fix comments with documentation of user-accessible
7204 fields after compilation and describe correct free'ing of pattern
7205 after re_compile_pattern.
7206 Patch by Reuben Thomas <rrt@sc3d.org>.
7207
457bddfc
RA
72082011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7209
7210 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7211 and -mno-altivec to prevent the compiler from using Altivec and/or
7212 VSX instructions when the corresponding registers are not available.
7213
a4527b51
AS
72142011-05-19 Andreas Schwab <schwab@redhat.com>
7215
7216 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7217
ed690b2f
UD
72182011-05-19 Ulrich Drepper <drepper@gmail.com>
7219
7220 * libio/freopen.c (freopen): Use __dup2, not dup2.
7221 * libio/freopen64.c (freopen64): Likewise.
7222
8db73634
L
72232011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7224
7225 [BZ #12775]
7226 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7227 * math/Makefile (tests): Add test-powl.
7228 (CFLAGS-test-powl.c): Define.
7229 * math/test-powl.c: New file.
7230
0a197a9d
L
72312011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7232
7233 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7234
ee30c380
UD
72352011-05-17 Ulrich Drepper <drepper@gmail.com>
7236
7237 [BZ #11837]
7238 * iconvdata/gb18030.c: Update to GB18020-2005.
7239
6ce75379
UD
72402011-05-16 Ulrich Drepper <drepper@gmail.com>
7241
a4b89fd8
AR
7242 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7243 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7244 Patch by Aharon Robbins <arnold@skeeve.com>.
7245
ea389b12
UD
7246 [BZ #11892]
7247 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7248 on the stack.
7249
68a3f91f
UD
7250 [BZ #11895]
7251 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7252 through underflows.
7253
15cc7dd1
UD
7254 [BZ #12766]
7255 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7256 point to strings before performing equality test for error_one_per_line
7257 mode.
7258
f3799213
UD
7259 [BZ #11697]
7260 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7261
d79a9c94
UD
7262 [BZ #11820]
7263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7264 (struct user_fpregs_struct): Avoid __uint*_t types.
7265
56e5eb46
UD
7266 [BZ #6420]
7267 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7268 symbol info. Use it instead of calling _dl_addr locally.
7269 (lock_and_info): New function.
7270 (tr_freehook): Call lock_and_info and pass symbol info as additional
7271 parameter to tr_where.
7272 (tr_mallochook): Likewise.
7273 (tr_reallochook): Likewise.
7274 (tr_memalignhook): Likewise.
7275
6ce75379
UD
7276 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7277 used and couldn't be at all thread-safe.
7278
f8a3b5bf
UD
72792011-05-15 Ulrich Drepper <drepper@gmail.com>
7280
94b7cc37
UD
7281 * libio/freopen.c (freopen): Don't close old file descriptor
7282 before the new one is opened. Instead dup the new file descriptor
7283 to the old one after the new stream is created.
7284 * libio/freopen64.c (freopen64): Likewise.
7285 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7286 * libio/fileops.c (_IO_new_file_close_it): Handle new
7287 _IO_FLAGS2_NOCLOSE flag.
7288 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7289 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7290 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7291 _IO_FLAGS2_NOCLOSE flag.
7292 * include/unistd.h: Add hidden_proto for dup3.
7293 Define __have_dup3.
7294 * io/dup3.c: Define hidden symbol.
7295 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7296
bd25564e
UD
7297 [BZ #7101]
7298 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7299 when an incomplete long option is used.
7300 * posix/tst-getopt_long1.c: New file.
7301 * posix/Makefile (tests): Add tst-getopt_long1.
7302
c84cfef4
UD
7303 [BZ #10138]
7304 * scripts/config.guess: Update from autoconf-2.68.
7305 * scripts/config.sub: Likewise.
7306
3b85df27
UD
7307 [BZ #10157]
7308 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7309 tests into ...
7310 (has_cpuclock): ...this. New function.
7311 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7312 macro here based on has_cpuclock code.
7313
15a856b1
UD
7314 [BZ #10149]
7315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7316 First byte (not low byte) is now always NUL.
7317 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7318
05f399e6
UD
7319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7320 Use non-cancelable interfaces.
7321
10a52685 7322 [BZ #9809]
94ecc67d
UD
7323 * locale/iso-639.def: Add entry for Sorani.
7324
f8a3b5bf
UD
7325 [BZ #11901]
7326 * include/stdlib.h: Move include protection to the right place.
7327 Define abort_msg_s. Declare __abort_msg with it.
7328 * stdlib/abort.c (__abort_msg): Adjust type.
7329 * assert/assert.c (__assert_fail_base): New function. Majority
7330 of code from __assert_fail. Allocate memory for __abort_msg with
7331 mmap.
7332 (__assert_fail): Now call __assert_fail_base.
7333 * assert/assert-perr.c: Remove bulk of implementation. Use
7334 __assert_fail_base.
7335 * include/assert.hL Declare __assert_fail_base.
7336 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7337 mmap.
7338 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7339
1af4e298
UD
73402011-05-14 Ulrich Drepper <drepper@gmail.com>
7341
f8a3b5bf 7342 [BZ #11952]
d26dfc60
MG
7343 [BZ #12453]
7344 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7345 until all modules are registered in the DTV.
7346 * elf/Makefile: Add rules to build and run tst-tls19.
7347 * elf/tst-tls19.c: New file.
7348 * elf/tst-tls19mod1.c: New file.
7349 * elf/tst-tls19mod2.c: New file.
7350 * elf/tst-tls19mod3.c: New file.
7351 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7352
2fc54d6f
UD
7353 [BZ #12083]
7354 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7355 correctly.
7356
98d76b46
UD
7357 [BZ #12601]
7358 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7359 two-byte sequence errors.
7360 * iconvdata/Makefile (tests): Add bug-iconv8.
7361 * iconvdata/bug-iconv8.c: New file.
7362
da3c19ef
UD
7363 [BZ #12626]
7364 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7365 buf2 definition.
7366
ca408c15
UD
7367 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7368
d6f67f7d
UD
7369 [BZ #12432]
7370 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7371 (dummy_getcfa): New function.
7372 (init): Get _Unwind_GetCFA address, use dummy if not found.
7373 (backtrace_helper): In recursion check, also check whether CFA changes.
7374 (__backtrace): Completely initialize arg.
7375
1af4e298 7376 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7377 storing incomplete byte sequence in state object. Avoid testing for
7378 guaranteed too small input if we know there is enough data available.
1af4e298 7379
da62f81b
AS
73802011-05-11 Andreas Schwab <schwab@redhat.com>
7381
7382 * Makeconfig (+link-pie): Indent.
7383 * Rules (binaries-pie): Define if $(have-fpie) and
7384 $(build-shared).
7385 (binaries-shared): Also filter out $(binaries-pie).
7386 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7387 * nscd/Makefile (others-pie): Add nscd.
7388 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7389 ($(objpfx)nscd): Remove command override.
7390 * login/Makefile (others-pie): Add pt_chown.
7391 ($(objpfx)pt_chown): Remove command override.
7392 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7393 remove command overrides.
7394
fcabc0f8
UD
73952011-05-13 Ulrich Drepper <drepper@gmail.com>
7396
20030ae6
UD
7397 * libio/tst_putwc.c: Fix error messages.
7398
fcabc0f8
UD
7399 [BZ #12724]
7400 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7401 currently writing and seek to current position when not.
7402 * libio/Makefile (tests): Add bug-fclose1.
7403 * libio/bug-fclose1.c: New file.
7404
320a5dc0
PB
74052011-05-12 Ulrich Drepper <drepper@gmail.com>
7406
7407 [BZ #12511]
7408 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7409 don't set DF_1_NODELETE here.
7410 (do_lookup_x): When entering new entry test for copy relocation
7411 and if necessary set DF_1_NODELETE flag.
7412 * elf/tst-unique4.cc: New file.
7413 * elf/tst-unique4.h: New file.
7414 * elf/tst-unique4lib.cc: New file.
7415 * elf/Makefile: Add rules to build and run tst-unique4.
7416 Patch by Piotr Bury <pbury@goahead.com>.
7417
22836f52
UD
74182011-05-11 Ulrich Drepper <drepper@gmail.com>
7419
f574184a
UD
7420 [BZ #12052]
7421 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7422
e1fb097f
UD
7423 [BZ #12625]
7424 * misc/mntent_r.c (addmntent): Flush the stream after the output
7425
22836f52
UD
7426 [BZ #12393]
7427 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7428 (is_trusted_path_normalize): Skip initial colon. Append slash
7429 to empty buffer. Duplicate is_trusted_path code but allow
7430 constructed patch to be prefix.
7431 (is_dst): Allow $ORIGIN followed by /.
7432 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7433 Correct testing of result of is_trusted_path_normalize
7434 (decompose_rpath): Fix warning.
7435
7b3b0b2a
UD
74362011-05-10 Ulrich Drepper <drepper@gmail.com>
7437
7438 [BZ #11257]
7439 * grp/initgroups.c (internal_getgrouplist): When we found the service
7440 list through the initgroups entry in nsswitch.conf do not always
7441 continue on a successful lookup. Don't always use the
eac80ce2 7442 __nss_group_database value if it is set.
7b3b0b2a
UD
7443 * nss/nsswitch.conf (initgroups): Change action for successful db
7444 lookup to continue for compatibility.
7445
2a81eaa5
UD
74462011-05-09 Ulrich Drepper <drepper@gmail.com>
7447
be97a69e
UD
7448 [BZ #11532]
7449 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7450 and CP774 modules.
7451 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7452 and CP774 modules.
7453 * iconvdata/tst-tables.sh: Likewise.
7454 * iconvdata/cp770.c: New file.
7455 * iconvdata/cp771.c: New file.
7456 * iconvdata/cp772.c: New file.
7457 * iconvdata/cp773.c: New file.
7458 * iconvdata/cp774.c: New file.
7459 * iconvdata/testdata/CP770: New file.
7460 * iconvdata/testdata/CP770..UTF8: New file.
7461 * iconvdata/testdata/CP771: New file.
7462 * iconvdata/testdata/CP771..UTF8: New file.
7463 * iconvdata/testdata/CP772: New file.
7464 * iconvdata/testdata/CP772..UTF8: New file.
7465 * iconvdata/testdata/CP773: New file.
7466 * iconvdata/testdata/CP773..UTF8: New file.
7467 * iconvdata/testdata/CP774: New file.
7468 * iconvdata/testdata/CP774..UTF8: New file.
7469
7470 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7471 END CHARMAP line.
7472 * iconvdata/gen-8bit-gap.sh: Likewise.
7473 * iconvdata/gen-8bit.sh: Likewise.
7474
c1e9e399
UD
7475 * locale/iso-639.def: Add ary entry.
7476
24c55fb3 7477 [BZ #11258]
96b4b1b0
UD
7478 * locale/C-translit.h.in: Add U20A1 transliteration.
7479
bdc2f971
KB
7480 [BZ #12178]
7481 * locale/iso-639.def: Add wae entry.
7482 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7483
2952b117
UD
7484 [BZ #12545]
7485 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7486 for n.
7487
2a81eaa5
UD
7488 [BZ #12711]
7489 * locale/C-translit.h.in: Add entry for U20B9.
7490 Patch by pravin.d.s@gmail.com.
7491
28377d1b
UD
74922011-05-08 Ulrich Drepper <drepper@gmail.com>
7493
7fb90fb8
UD
7494 [BZ #12713]
7495 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7496 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
7497 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7498 in rtld. Use *stat64.
7fb90fb8 7499 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 7500 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 7501 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
7502 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7503 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7504 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7505 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7506 __fstatat64 macros.
7fb90fb8
UD
7507 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7508 * dirent/rewinddir.c: Add libc_hidden_def.
7509 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 7510 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 7511
28377d1b
UD
7512 * include/dirent.h (__alloc_dir): Add flags parameter.
7513 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7514 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7515 __alloc_dir.
7516 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7517 from fdopendir if O_CLOEXEC is already set.
7518
66bdbaa4
AM
75192011-03-15 Alan Modra <amodra@gmail.com>
7520
7521 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7522 l_tls_firstbyte_offset non-zero. Save padding offset in
7523 l_tls_firstbyte_offset for later use.
7524 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7525 freeing static tls block.
7526
95721191
JN
75272011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7528
7529 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7530 where #ifdef was intended. The intent is to prevent ARG_MAX from
7531 being defined by the kernel headers.
7532
f87dfb1f
UD
75332011-05-07 Ulrich Drepper <drepper@gmail.com>
7534
7535 [BZ #12734]
7536 * resolv/resolv.h: Define RES_NOTLDQUERY.
7537 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7538 no-tld-query and set RES_NOTLDQUERY.
7539 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7540 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7541 modern BIND to search name as TLD unless forbidden.
7542
47c3cd7a
UD
75432011-05-07 Petr Baudis <pasky@suse.cz>
7544 Ulrich Drepper <drepper@gmail.com>
7545
7546 [BZ #12393]
7547 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7548 (is_trusted_path): ...to here.
c1e9ea35 7549 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 7550 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 7551 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 7552
8a35c912
PP
75532011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7554
7555 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7556 __BEGIN/__END_DECLS.
7557
acd41f47
UD
75582011-05-06 Ulrich Drepper <drepper@gmail.com>
7559
7560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7561 NSS_STATUS_NOTFOUND if no record was found.
7562
597df647
AS
75632011-05-05 Andreas Schwab <schwab@redhat.com>
7564
7565 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7566 (headers-not-in-tirpc): Remove rpc/netdb.h
7567 * resolv/netdb.h: Revert last change.
7568
b9af1301
PP
75692011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7570
7571 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7572 circular dependency between libgcc.a and libc.a.
7573
4e34d5f5
AS
75742011-05-05 Andreas Schwab <schwab@redhat.com>
7575
7576 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7577 * nis/Makefile: Don't install rpcsvc/*.
7578 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7579 instead of <rpc/types.h>.
7580 (MAXHOSTNAMELEN): Define.
7581
00ee369c
AS
75822011-05-03 Andreas Schwab <schwab@redhat.com>
7583
7584 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7585
0b592a30
MB
75862011-04-28 Maciej Babinski <mbabinski@google.com>
7587
7588 [BZ #12714]
7589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7590 gethostbyname4_r when IPv6 results are possible.
7591
6e04cbbe
UD
75922011-05-02 Ulrich Drepper <drepper@gmail.com>
7593
7594 [BZ #12723]
7595 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7596 _PC_PIPE_BUF handling.
7597
e4ecafe0
BH
75982011-04-30 Bruno Haible <bruno@clisp.org>
7599
7600 [BZ #12717]
7601 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7602 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7603 to 'int'.
7604 * inet/getnameinfo.c (getnameinfo): Likewise.
7605
125ee683
UD
76062011-04-29 Ulrich Drepper <drepper@gmail.com>
7607
7608 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7609 to groups setting in database lookup.
7610 * nss/nsswitch.conf: Add initgroups entry.
7611
b722481a
EB
76122011-04-22 Ulrich Drepper <drepper@gmail.com>
7613
7614 [BZ #12685]
7615 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7616 mode string.
7617 Patch by Eric Blake <eblake@redhat.com>.
7618
4df46dbd
L
76192011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7620
7621 * sunrpc/Makefile (need-export-routines): Add svc_run.
7622 (routines): Remove svc_run.
7623 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7624 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7625 * sunrpc/svc_run.c (svc_run): Likewise.
7626 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7627
e84142d2
UD
76282011-04-21 Ulrich Drepper <drepper@gmail.com>
7629
7630 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7631 problem in reallocation in last patch.
7632
877175d8
UD
76332011-04-20 Ulrich Drepper <drepper@gmail.com>
7634
7635 * sunrpc/Makefile: Move inclusion of Rules.
7636
ab8eed78
UD
76372011-04-19 Ulrich Drepper <drepper@gmail.com>
7638
7639 * nss/nss_files/files-initgroups.c: New file.
7640 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7641 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7642 _nss_files_initgroups_dyn.
7643
e3d8f584
RS
76442011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7645
7646 * elf/elf.h (R_ARM_IRELATIVE): Define.
7647
af190f45
UD
76482011-04-19 Ulrich Drepper <drepper@gmail.com>
7649
7650 * po/ru.po: Update from translation team.
7651
53cf59ef
UD
76522011-04-17 Ulrich Drepper <drepper@gmail.com>
7653
7654 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7655 dependencies.
7656
4c559bcd
MF
76572011-02-06 Mike Frysinger <vapier@gentoo.org>
7658
7659 [BZ #12653]
7660 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7661 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7663 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7664 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7665
4420675c
AS
76662011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7667
7668 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7669 differing bytes.
7670 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7673
75ea32ab
UD
76742011-04-17 Ulrich Drepper <drepper@gmail.com>
7675
7676 [BZ #12420]
7677 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7678 storing it.
7679 * stdlib/bug-getcontext.c: New file.
7680 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7681
27390476
AK
76822011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7683
7684 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7685 instructions into .machine "z9-109".
7686 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7687 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7688
10442705
AK
76892011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7690
7691 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7692 between environment variables and auxiliary vector.
7693
7b57bfe5
UD
76942011-04-16 Ulrich Drepper <drepper@gmail.com>
7695
7696 * Makefile: Add rules to build linkobj/libc.so.
7697 * include/libc-symbols.h: Define libc_hidden_nolink.
7698 * include/rpc/auth.h: Mark functions which are to be hidden.
7699 * include/rpc/auth_des.h: Likewise.
7700 * include/rpc/auth_unix.h: Likewise.
7701 * include/rpc/clnt.h: Likewise.
7702 * include/rpc/des_crypt.h: Likewise.
7703 * include/rpc/key_prot.h: Likewise.
7704 * include/rpc/pmap_clnt.h: Likewise.
7705 * include/rpc/pmap_prot.h: Likewise.
7706 * include/rpc/pmap_rmt.h: Likewise.
7707 * include/rpc/rpc_msg.h: Likewise.
7708 * include/rpc/svc.h: Likewise.
7709 * include/rpc/svc_auth.h: Likewise.
7710 * include/rpc/xdr.h: Likewise.
7711 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7712 * nss/Makefile: Likewise.
7713 * sunrpc/Makefile: Don't install headers. Build library with normal
7714 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7715 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7716 for the compat linking library. Remove use of INTDEF/INTUSE.
7717 * sunrpc/auth_none.c: Likewise.
7718 * sunrpc/auth_unix.c: Likewise.
7719 * sunrpc/authdes_prot.c: Likewise.
7720 * sunrpc/authuxprot.c: Likewise.
7721 * sunrpc/clnt_gen.c: Likewise.
7722 * sunrpc/clnt_perr.c: Likewise.
7723 * sunrpc/clnt_raw.c: Likewise.
7724 * sunrpc/clnt_simp.c: Likewise.
7725 * sunrpc/clnt_tcp.c: Likewise.
7726 * sunrpc/clnt_udp.c: Likewise.
7727 * sunrpc/clnt_unix.c: Likewise.
7728 * sunrpc/des_crypt.c: Likewise.
7729 * sunrpc/des_soft.c: Likewise.
7730 * sunrpc/get_myaddr.c: Likewise.
7731 * sunrpc/key_call.c: Likewise.
7732 * sunrpc/key_prot.c: Likewise.
7733 * sunrpc/netname.c: Likewise.
7734 * sunrpc/pm_getmaps.c: Likewise.
7735 * sunrpc/pm_getport.c: Likewise.
7736 * sunrpc/pmap_clnt.c: Likewise.
7737 * sunrpc/pmap_prot.c: Likewise.
7738 * sunrpc/pmap_prot2.c: Likewise.
7739 * sunrpc/pmap_rmt.c: Likewise.
7740 * sunrpc/publickey.c: Likewise.
7741 * sunrpc/rpc_cmsg.c: Likewise.
7742 * sunrpc/rpc_common.c: Likewise.
7743 * sunrpc/rpc_dtable.c: Likewise.
7744 * sunrpc/rpc_prot.c: Likewise.
7745 * sunrpc/rpc_thread.c: Likewise.
7746 * sunrpc/rtime.c: Likewise.
7747 * sunrpc/svc.c: Likewise.
7748 * sunrpc/svc_auth.c: Likewise.
7749 * sunrpc/svc_authux.c: Likewise.
7750 * sunrpc/svc_raw.c: Likewise.
7751 * sunrpc/svc_run.c: Likewise.
7752 * sunrpc/svc_simple.c: Likewise.
7753 * sunrpc/svc_tcp.c: Likewise.
7754 * sunrpc/svc_udp.c: Likewise.
7755 * sunrpc/svc_unix.c: Likewise.
7756 * sunrpc/svcauth_des.c: Likewise.
7757 * sunrpc/xcrypt.c: Likewise.
7758 * sunrpc/xdr.c: Likewise.
7759 * sunrpc/xdr_array.c: Likewise.
7760 * sunrpc/xdr_float.c: Likewise.
7761 * sunrpc/xdr_intXX_t.c: Likewise.
7762 * sunrpc/xdr_mem.c: Likewise.
7763 * sunrpc/xdr_rec.c: Likewise.
7764 * sunrpc/xdr_ref.c: Likewise.
7765 * sunrpc/xdr_sizeof.c: Likewise.
7766 * sunrpc/xdr_stdio.c: Likewise.
7767
e6c61494
UD
77682011-04-10 Ulrich Drepper <drepper@gmail.com>
7769
7770 [BZ #12650]
7771 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7772 * sysdeps/ia64/dl-tls.h: Likewise.
7773 * sysdeps/powerpc/dl-tls.h: Likewise.
7774 * sysdeps/s390/dl-tls.h: Likewise.
7775 * sysdeps/sh/dl-tls.h: Likewise.
7776 * sysdeps/sparc/dl-tls.h: Likewise.
7777 * sysdeps/x86_64/dl-tls.h: Likewise.
7778 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7779
34fe483e
AS
77802011-03-14 Andreas Schwab <schwab@redhat.com>
7781
7782 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7783 rpath element also skip the following colon.
7784 (expand_dynamic_string_token): Add is_path parameter and pass
7785 down to DL_DST_REQUIRED and _dl_dst_substitute.
7786 (decompose_rpath): Call expand_dynamic_string_token with
7787 non-zero is_path. Ignore empty rpaths.
7788 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7789 with zero is_path.
7790
f12a32e6
AS
77912011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7792
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7794 Make cancelable.
7795
38a7d692
UD
77962011-04-09 Ulrich Drepper <drepper@gmail.com>
7797
7798 [BZ #12655]
7799 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7800 Patch by Filipe David Manana <fdmanana@apache.org>.
7801
e451d22b
AS
78022011-04-07 Andreas Schwab <schwab@redhat.com>
7803
7804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7805 Maintain aligned stack.
7806 (CHECK_RSP): Remove unused macro.
7807
dedc7c7b
UD
78082011-04-03 Ulrich Drepper <drepper@gmail.com>
7809
7810 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7811 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7812
94521213
UD
78132011-04-02 Ulrich Drepper <drepper@gmail.com>
7814
7815 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7816
8cb700c0 7817 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7818
0354e355
L
78192011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7820
7821 [BZ #12518]
7822 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7823 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7824 * sysdeps/x86_64/memmove.c: New file.
7825 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7826 (memcpy): Renamed to ...
7827 (__new_memcpy): This.
7828 (memcpy): Provide GLIBC_2_14 memcpy.
7829 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7830 (memcpy): Provide GLIBC_2_2_5 memcpy.
7831
8593482f
UD
78322011-04-01 Ulrich Drepper <drepper@gmail.com>
7833
7834 [BZ #12631]
7835 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7836
81a5726b
AS
78372011-03-30 Andreas Schwab <schwab@redhat.com>
7838
7839 * misc/syncfs.c: New file.
7840 * misc/Makefile (routines): Add syncfs.
7841 * posix/unistd.h: Declare syncfs.
7842 * sysdeps/unix/syscalls.list: Add syncfs.
7843
00e5419f
AS
78442011-04-01 Andreas Schwab <schwab@redhat.com>
7845
7846 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7847 open_by_handle_at.
7848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7849 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7851 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7853 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7855
748876bf
UD
78562011-04-01 Ulrich Drepper <drepper@gmail.com>
7857
658e451d
UD
7858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7860 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7865
748876bf
UD
7866 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7867 sync_file_range.c with -fexceptions.
7868 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7869 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7870 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7871 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7872 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7873 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7874 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7875 sync_file_range as cancellation point
7876 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7877 now a wrapper around __call_sync_file_range with cancellation handling.
7878 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7879 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7880 function name to __call_sync_file_range.
7881 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7882 Add call_sync_file_range.
748876bf 7883
6e63d5e1
AS
78842011-04-01 Andreas Schwab <schwab@redhat.com>
7885
7886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7887 bits/timex.h.
6e63d5e1 7888
46998f74
UD
78892011-04-01 Ulrich Drepper <drepper@gmail.com>
7890
4c1423ed
UD
7891 * iconv/iconv.h: Fix typo in comment.
7892 * io/fcntl.h: Likewise.
7893 * libio/stdio.h: Likewise.
7894 * posix/spawn.h: Likewise.
7895 * posix/unistd.h: Likewise.
7896 * stdlib/stdlib.h: Likewise.
7897 * time/time.h: Likewise.
7898 * wcsmbs/wchar.h: Likewise.
7899
158648c0
UD
7900 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7901 open_by_handle): Add.
7902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7903 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7904 Augment a few comments.
7905 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7910 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7911 open_by_handle.
7912
46998f74
UD
7913 * io/fcntl.h (AT_EMPTY_PATH): Define.
7914
83fe108b
UD
79152011-03-30 Ulrich Drepper <drepper@gmail.com>
7916
7917 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7918 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7919 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7920 to...
7921 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7922 * Versions.def: Add GLIBC_2.14.
7923 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7924 Export.
83fe108b 7925
bb242059
UD
79262011-03-22 Ulrich Drepper <drepper@gmail.com>
7927
7928 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7929 round counter.
7930 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7931
c97a1282
L
79322011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7933
7934 [BZ #12597]
7935 * string/test-strncmp.c (do_page_test): New function.
7936 (check2): Likewise.
7937 (test_main): Call check2.
7938 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7939
2a115601
UD
79402011-03-20 Ulrich Drepper <drepper@gmail.com>
7941
7942 [BZ #12587]
7943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7944 Handle cache information in CPU leaf 4.
7945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7946
8126d904
UD
79472011-03-18 Ulrich Drepper <drepper@gmail.com>
7948
042c49c6 7949 [BZ #12583]
8126d904
UD
7950 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7951 character representation.
7952 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7953
ccfe366e
RA
79542011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7955
7956 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7957 END(__isnan) to END(__isnanf) to match function entry point/label
7958 EALIGN(__isnanf,...).
7959
c6e13027
JJ
79602011-03-10 Jakub Jelinek <jakub@redhat.com>
7961
7962 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7963
33f85a3f
UD
79642011-03-10 Ulrich Drepper <drepper@gmail.com>
7965
028478fa
UD
7966 [BZ #12510]
7967 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7968 copy from the symbol referenced in the relocation to initialize the
7969 used variable.
7970 Patch by Piotr Bury <pbury@goahead.com>.
7971 * elf/Makefile: Add rules to build and tst-unique3.
7972 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7973 * elf/tst-unique3.cc: New file.
7974 * elf/tst-unique3.h: New file.
7975 * elf/tst-unique3lib.cc: New file.
7976 * elf/tst-unique3lib2.cc: New file.
7977
33f85a3f
UD
7978 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7979
03592fc7
MF
79802011-03-10 Mike Frysinger <vapier@gentoo.org>
7981
7982 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7983 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7984 to _start.
03592fc7 7985
6a5ee102
UD
79862011-03-06 Ulrich Drepper <drepper@gmail.com>
7987
7988 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7989 to-be-loaded object along a path to loader is ld.so.
7990
7e4ba49c
HJ
79912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7992 Ulrich Drepper <drepper@gmail.com>
7993
7994 * sysdeps/x86_64/memset.S: After aligning destination, code
7995 branches to different locations depending on the value of
7996 misalignment, when multiarch is enabled. Fix this.
7997
79982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7999
8000 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8001 Set _x86_64_preferred_memory_instruction for AMD processsors.
8002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8003 Set bit_Prefer_SSE_for_memop for AMD processors.
8004
13a804de
UD
80052011-03-04 Ulrich Drepper <drepper@gmail.com>
8006
8007 * libio/fmemopen.c (fmemopen): Optimize a bit.
8008
9d25c392
AS
80092011-03-03 Andreas Schwab <schwab@redhat.com>
8010
8011 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8012
a5543c6a
RM
80132011-03-03 Roland McGrath <roland@redhat.com>
8014
8015 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8016
012d35f7
DM
80172011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8018
7e4ba49c 8019 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8020 __bzero_ultra1 instead of __memset_ultra1.
8021
4bff6e01
AS
80222011-02-23 Andreas Schwab <schwab@redhat.com>
8023 Ulrich Drepper <drepper@gmail.com>
8024
8025 [BZ #12509]
8026 * include/link.h (struct link_map): Add l_orig_initfini.
8027 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8028 returning unsuccessfully.
8029 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8030 close of a file loaded at startup, restore the original l_initfini
8031 list.
8032 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8033 list, store the pointer.
8034 * elf/Makefile ($(objpfx)noload-mem): New rule.
8035 (noload-ENV): Define.
8036 (tests): Add $(objpfx)noload-mem.
8037 * elf/noload.c: Include <memcheck.h>.
8038 (main): Call mtrace. Close all opened handles.
8039
f2092faf
AS
80402011-02-17 Andreas Schwab <schwab@redhat.com>
8041
8042 [BZ #12454]
8043 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8044 dependencies are missing.
8045
6c8a2e88
ST
80462011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8047
f2092faf 8048 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8049 Hurd needs munmap.
8050 * sysdeps/mach/hurd/ifreq.h: New file.
8051
84a42118
PB
80522011-01-27 Petr Baudis <pasky@suse.cz>
8053 Ulrich Drepper <drepper@gmail.com>
8054
071f805e 8055 [BZ 12445]#
84a42118
PB
8056 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8057 to extend_alloca().
8058 * stdio-common/bug23.c: New file.
8059 * stdio-common/Makefile (tests): Add bug23.
8060
e23fe25b
AS
80612010-09-28 Andreas Schwab <schwab@redhat.com>
8062 Ulrich Drepper <drepper@gmail.com>
8063
8064 [BZ #12489]
8065 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8066 before performing relro protection. At old place add assertion
8067 to make sure nothing changed.
8068
d3f02e10
NS
80692011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8070 Glauber de Oliveira Costa <glommer@gmail.com>
8071
8072 * elf/elf.h: Add new ARM TLS relocs.
8073
d55fd7a5
RA
80742011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8075
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8077 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8078 cast from r3.
8079 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8080 'tests' variable.
8081 * sysdeps/wordsize-64/tst-writev.c: New file.
8082
2206397e
RA
80832011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8084
8085 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8086 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8087 insns in _dl_start to prevent a TOC reference before relocs are
8088 resolved.
8089
e9433893
UD
80902011-02-15 Ulrich Drepper <drepper@gmail.com>
8091
8092 [BZ #12469]
8093 * Makeconfig: Remove RANLIB definition.
8094 * Makerules: Don't use RANLIB.
8095 * aclocal.m4: Remove ranlib test.
8096 * configure.in: No need to check for ranlib.
8097 * elf/rtld-Rules: Don't use RANLIB.
8098
f75286c6
ST
80992011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8100
8e31c82d
ST
8101 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8102 protection macro.
8103 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8104 inclusion protection macro.
8105
f75286c6
ST
8106 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8107 SIGRTMIN and SIGRTMAX and print information in that case only when
8108 SIGRTMIN is defined.
8109
c1d0e639
JJ
81102011-02-11 Jakub Jelinek <jakub@redhat.com>
8111
8112 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8113 arginfo fn returning -1.
8114
8115 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8116 and thousands string is zero terminated.
8117
edf9294e
AS
81182011-02-03 Andreas Schwab <schwab@redhat.com>
8119
8120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8121 sysdeps/unix/sysv/linux/bits/socket.h.
8122
2b7e92df
ST
81232011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8124
edf9294e
AS
8125 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8126 (__CPU_COUNT): Remove old macros.
8127 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8128 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8129 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8130 (__sched_cpualloc, __sched_cpufree): Add declarations.
8131
a4c7ea7b
UD
81322011-02-05 Ulrich Drepper <drepper@gmail.com>
8133
8134 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8135 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8136 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8137 (readdhstai): Return value of addhstaiX call.
8138 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8139 (addgrbyX): Return value returned by cache_addgr.
8140 (readdgrbyname): Return value returned by addgrbyX.
8141 (readdgrbygid): Likewise.
8142 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8143 (addpwbyX): Return value returned by cache_addpw.
8144 (readdpwbyname): Return value returned by addhstbyX.
8145 (readdpwbyuid): Likewise.
8146 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8147 (addservbyX): Return value returned by cache_addserv.
8148 (readdservbyname): Return value returned by addservbyX:
8149 (readdservbyport): Likewise.
8150 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8151 (addhstbyX): Return value returned by cache_addhst.
8152 (readdhstbyname): Return value returned by addhstbyX.
8153 (readdhstbyaddr): Likewise.
8154 (readdhstbynamev6): Likewise.
8155 (readdhstbyaddrv6): Likewise.
8156 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8157 (readdinitgroups): Return value returned by addinitgroupsX.
8158 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8159 (prune_cache): Keep track of timeout value of re-added entries.
8160 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8161 * nscd/nscd.h: Adjust prototypes of readd* functions.
8162
a0bf67cc
RM
81632011-02-04 Roland McGrath <roland@redhat.com>
8164
8165 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8166 (nis_stats): Likewise.
8167 * nis/nis_modify.c (nis_modify): Likewise.
8168 * nis/nis_remove.c (nis_remove): Likewise.
8169 * nis/nis_add.c (nis_add): Likewise.
8170
8171 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8172
8173 * posix/fnmatch_loop.c: Add some consts.
8174
8175 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8176
435b95eb
L
81772011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8178
8179 [BZ #12460]
8180 * config.make.in (config-cflags-novzeroupper): Define.
8181 * configure.in: Substitute libc_cv_cc_novzeroupper.
8182 * elf/Makefile (AVX-CFLAGS): Define.
8183 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8184 (CFLAGS-tst-auditmod4a.c): Likewise.
8185 (CFLAGS-tst-auditmod4b.c): Likewise.
8186 (CFLAGS-tst-auditmod6b.c): Likewise.
8187 (CFLAGS-tst-auditmod6c.c): Likewise.
8188 (CFLAGS-tst-auditmod7b.c): Likewise.
8189 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8190
8517b15e
UD
81912011-02-02 Ulrich Drepper <drepper@gmail.com>
8192
8193 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8194 function to the callback.
8195 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8196
10a656fe
AS
81972011-02-02 Andreas Schwab <schwab@redhat.com>
8198
8199 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8200 of errno.
8201
968dad0a
UD
82022011-01-19 Ulrich Drepper <drepper@gmail.com>
8203
9f94d2ea 8204 [BZ #11724]
968dad0a
UD
8205 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8206 of constructors.
8207 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8208 of destructors.
8209 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8210
8211 [BZ #11724]
8212 * elf/Makefile: Add rules to build and run new test.
8213 * elf/tst-initorder.c: New file.
8214 * elf/tst-initorder.exp: New file.
8215 * elf/tst-initordera1.c: New file.
8216 * elf/tst-initordera2.c: New file.
8217 * elf/tst-initordera3.c: New file.
8218 * elf/tst-initordera4.c: New file.
8219 * elf/tst-initorderb1.c: New file.
8220 * elf/tst-initorderb2.c: New file.
8221 * elf/tst-order-a1.c: New file.
8222 * elf/tst-order-a2.c: New file.
8223 * elf/tst-order-a3.c: New file.
8224 * elf/tst-order-a4.c: New file.
8225 * elf/tst-order-b1.c: New file.
8226 * elf/tst-order-b2.c: New file.
8227 * elf/tst-order-main.c: New file.
8228 New test case by George Gensure <werkt0@gmail.com>.
8229
86e92359
UD
82302010-10-01 Andreas Schwab <schwab@redhat.com>
8231
8232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8233 decoding ACE if AI_CANONIDN.
8234
5d5732b0
UD
82352011-01-18 Ulrich Drepper <drepper@gmail.com>
8236
8237 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8238
a77e8cbc
UD
82392011-01-17 Ulrich Drepper <drepper@gmail.com>
8240
6392473f
UD
8241 * version.h (RELEASE): Bump for 2.13 release.
8242 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8243
620a0529
UD
8244 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8245
18ba70a5
UD
8246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8247 MADV_NOHUGEPAGE.
32465c3e
UD
8248 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8249 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8250 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8251 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8252 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8253 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8254
c0dafcf1
UD
8255 * posix/getconf.c: Update copyright year.
8256 * catgets/gencat.c: Likewise.
8257 * csu/version.c: Likewise.
8258 * debug/catchsegv.sh: Likewise.
8259 * debug/xtrace.sh: Likewise.
8260 * elf/ldconfig.c: Likewise.
8261 * elf/ldd.bash.in: Likewise.
8262 * elf/sprof.c (print_version): Likewise.
8263 * iconv/iconv_prog.c: Likewise.
8264 * iconv/iconvconfig.c: Likewise.
8265 * locale/programs/locale.c: Likewise.
8266 * locale/programs/localedef.c: Likewise.
8267 * malloc/memusage.sh: Likewise.
8268 * malloc/mtrace.pl: Likewise.
8269 * nscd/nscd.c (print_version): Likewise.
8270 * nss/getent.c: Likewise.
8271
a77e8cbc
UD
8272 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8273 PF_CAIF, and PF_ALG.
8274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8275
77e8bddf
AS
82762011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8277
1f20b93a
AS
8278 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8279 (modules-names): Use them.
8280 (ifunc-test-modules, ifunc-pie-tests): Define.
8281 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8282 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8283 (test-extras): Likewise.
8284 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8285 $(compile-command.c).
8286 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8287 (all-built-dso): Define.
8288 (check-textrel.out, check-execstack.out): Depend on it.
8289
77e8bddf
AS
8290 * configure.in: Don't override --enable-multi-arch.
8291
bc425b33
UD
82922011-01-15 Ulrich Drepper <drepper@gmail.com>
8293
8294 [BZ #6812]
8295 * nscd/hstcache.c (tryagain): Define.
8296 (cache_addhst): Return tryagain not notfound for temporary errors.
8297 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8298 failed.
8299
794c3ad3
UD
83002011-01-14 Ulrich Drepper <drepper@gmail.com>
8301
70181fdd
UD
8302 [BZ #10563]
8303 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8304 to make the syscall.
8305 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8306
794c3ad3
UD
8307 [BZ #12378]
8308 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8309 and fall back to matching as normal character if the string ends before
8310 the matching ']' is found. This is what POSIX requires.
8311 * posix/testfnm.c: Adjust test result.
8312 * posix/globtest.sh: Adjust test result. Add new test.
8313 * posix/tst-fnmatch.input: Likewise.
8314 * posix/tst-fnmatch2.c: Add new test.
8315
68dc9497
AS
83162010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8317
8318 * elf/Makefile (check-execstack): Revert last change. Depend on
8319 check-execstack.h.
8320 (check-execstack.h): New target.
8321 (generated): Add check-execstack.h.
8322 * elf/check-execstack.c: Include "check-execstack.h".
8323 (main): Revert last change.
8324 (handle_file): Return zero if GNU_STACK is absent and
8325 DEFAULT_STACK_PERMS doesn't include PF_X.
8326
451f001b
UD
83272011-01-13 Ulrich Drepper <drepper@gmail.com>
8328
cfa28e56
UD
8329 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8330 in child fails because the descriptor is already closed.
8cf8ce17
UD
8331 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8332 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8333 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8334
1086d70d
UD
8335 [BZ #12397]
8336 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8337 syscall.
8338
451f001b
UD
8339 [BZ #10484]
8340 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8341 temporary buffer used to handle multi lookups locally.
a85b5cb4 8342 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8343
08769175
UD
83442011-01-12 Ulrich Drepper <drepper@gmail.com>
8345
8346 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8347 loader is ld.so.
8348
5e49c52e
UD
83492011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8350
8351 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8352 alignment for SSE2.
8353
60522a5f
UD
83542011-01-12 Ulrich Drepper <drepper@gmail.com>
8355
8356 [BZ #12394]
8357 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8358 characters. When rounding increased number of integer digits recompute
8359 number of groups.
8360 * stdio-common/tst-grouping.c: New file.
8361 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8362
f257bbd7
UD
83632011-01-09 Ulrich Drepper <drepper@gmail.com>
8364
8365 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8366 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8367
8368 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8369 void.
8370 * bits/select.h: Likewise.
8371
fa9c15cb
UD
83722011-01-08 Ulrich Drepper <drepper@gmail.com>
8373
8374 * po/ja.po: Update from translation team.
8375
16c2895f
DM
83762011-01-04 David S. Miller <davem@sunset.davemloft.net>
8377
8378 [BZ #11155]
8379 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8380 implementation just like for lxstat, fxstatat, et al.
8381
2543fef2
JM
83822010-12-27 Jim Meyering <meyering@redhat.com>
8383
8384 [BZ #12348]
8385 * posix/regexec.c (build_trtable): Return failure indication upon
8386 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8387
98727dbe
UD
83882010-12-25 Ulrich Drepper <drepper@gmail.com>
8389
5bd6dc5c
UD
8390 [BZ #12201]
8391 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8392 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8393 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8394 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8395
97983464
UD
8396 [BZ #12207]
8397 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8398
98727dbe
UD
8399 [BZ #12204]
8400 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8401 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8402
4a531bb0
L
84032010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8404
8405 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8406 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8407 script has SORT_BY_INIT_PRIORITY.
8408 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8409 NO_CTORS_DTORS_SECTIONS is defined.
8410 * elf/soinit.c: Likewise.
8411 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8412 NO_CTORS_DTORS_SECTIONS is defined.
8413 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8414 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8415 * sysdeps/sh/init-first.c: Likewise.
8416 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8417
07eb4b71
UD
84182010-12-24 Ulrich Drepper <drepper@gmail.com>
8419
8420 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8421 always use the slow path.
8422
30950a5f
RA
84232010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8424
8425 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8426 similar rule which adds the sysdep directories to the header search in
8427 order to pick up the correct platform stackinfo.h.
8428 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8429 perform test if it is, otherwise return successfully without testing.
8430 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8431 DEFAULT_STACK_PERMS define in stackinfo.h.
8432 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8433 defined in stackinfo.h.
8434 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8435 DEFAULT_STACK_PERMS defined in stackinfo.h.
8436 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8437 * sysdeps/ia64/stackinfo.h: Likewise.
8438 * sysdeps/s390/stackinfo.h: Likewise.
8439 * sysdeps/sh/stackinfo.h: Likewise.
8440 * sysdeps/sparc/stackinfo.h: Likewise.
8441 * sysdeps/x86_64/stackinfo.h: Likewise.
8442 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8443 PF_X for powerpc64. Retain PF_X for powerpc32.
8444
db753e2c
UD
84452010-12-19 Ulrich Drepper <drepper@gmail.com>
8446
14b697f7
UD
8447 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8448 accurately.
db753e2c
UD
8449 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8450 GETDENTS_64BIT_ALIGNED.
8451
28300719
UD
84522010-12-14 Ulrich Drepper <dreper@gmail.com>
8453
14b697f7 8454 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8455
4f197237
AS
84562010-12-10 Andreas Schwab <schwab@redhat.com>
8457
dbb0472f
AS
8458 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8459 _GNU_SOURCE.
8460
4f197237
AS
8461 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8462 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8463 Remove __restrict.
8464 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8465 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8466
fb88ac72
UD
84672010-12-09 Ulrich Drepper <drepper@gmail.com>
8468
8469 [BZ #11655]
8470 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8471 are initialized.
8472
42acbb92
JJ
84732010-12-09 Jakub Jelinek <jakub@redhat.com>
8474
8475 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8476
c038d98d
UD
84772010-12-03 Ulrich Drepper <drepper@gmail.com>
8478
8479 * po/it.po: Update from translation team.
8480
3a4a2499
L
84812010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8482
8483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8484 unused codes.
8485
1e24cf6e
UD
84862010-11-30 Ulrich Drepper <drepper@gmail.com>
8487
8488 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8489
a7690819
AS
84902010-11-24 Andreas Schwab <schwab@redhat.com>
8491
8492 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8493 specially.
8494 (gaih_getanswer_slice): Likewise.
8495
3bf8d1b1
JJ
84962010-10-20 Jakub Jelinek <jakub@redhat.com>
8497
8498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8499
6db52fbb
PB
85002010-05-31 Petr Baudis <pasky@suse.cz>
8501
8502 [BZ #11149]
8503 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8504 silently even in the chroot mode.
8505
eaca7569
UD
85062010-11-22 Ulrich Drepper <drepper@gmail.com>
8507
8508 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8509 last patch a bit. Pretty printing
8510
3056dcdb
UD
85112010-05-31 Petr Baudis <pasky@suse.cz>
8512
8513 [BZ #10085]
8514 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8515 initialization of skip_initgroups_dyn.
8516
cf7c9078
UD
85172010-11-19 Ulrich Drepper <drepper@gmail.com>
8518
8519 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8521
a1fb5e3e
UD
85222010-11-16 Ulrich Drepper <drepper@gmail.com>
8523
8524 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8525
3540d66b
AS
85262010-11-11 Andreas Schwab <schwab@redhat.com>
8527
8528 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8529 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8530 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8531 ($(objpfx)tst-fnmatch-mem): New rule.
8532 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8533 * posix/tst-fnmatch.c (main): Call mtrace.
8534
13b69574
L
85352010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8536
8537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8538 Support Intel processor model 6 and model 0x2c.
8539
da93d214
LM
85402010-11-10 Luis Machado <luisgpm@br.ibm.com>
8541
8542 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8543 signed comparison.
8544
8ca52c6e
L
85452010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8546
8547 [BZ #12205]
8548 * string/test-strncasecmp.c (check_result): New function.
8549 (do_one_test): Use it.
8550 (check1): New function.
8551 (test_main): Use it.
8552 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8553 Support strcasecmp and strncasecmp.
8554
69da074d
UD
85552010-11-08 Ulrich Drepper <drepper@gmail.com>
8556
8557 [BZ #12194]
8558 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8560
ff02d528
L
85612010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8562
8563 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8564 IFUNC support.
8565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8566 memset-x86-64.
8567 * sysdeps/x86_64/multiarch/bzero.S: New file.
8568 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8569 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8570 * sysdeps/x86_64/multiarch/memset.S: New file.
8571 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8573 Set bit_Prefer_SSE_for_memop for Intel processors.
8574 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8575 Define.
8576 (index_Prefer_SSE_for_memop): Define.
8577 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8578
344d0b54
LM
85792010-11-04 Luis Machado <luisgpm@br.ibm.com>
8580
8581 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8582 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8583
c0dde15b
UD
85842010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 [BZ #12191]
8587 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8588 (__x86_64_raw_data_cache_size_half): Likewise.
8589 (__x86_64_raw_shared_cache_size): Likewise.
8590 (__x86_64_raw_shared_cache_size_half): Likewise.
8591
8592 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8593 (__x86_64_raw_data_cache_size_half): Likewise.
8594 (__x86_64_raw_shared_cache_size): Likewise.
8595 (__x86_64_raw_shared_cache_size_half): Likewise.
8596 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8597 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8598 and __x86_64_raw_shared_cache_size_half. Round
8599 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8600 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8601 to multiple of 256 bytes.
8602
0e516e0e
MS
86032010-11-03 Ulrich Drepper <drepper@gmail.com>
8604
8605 [BZ #12167]
8606 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8607 of inacessible symlinks. Verify result of symlink before returning it.
8608 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8609 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8610
0e012e87
ER
86112010-10-28 Erich Ritz <erichritz@gmail.com>
8612
8613 * math/math.h (isinf): Fix typo in comment.
8614
de0ff7bc
UD
86152010-11-01 Ulrich Drepper <drepper@gmail.com>
8616
8617 * po/da.po: Update from translation team.
8618
fa41c84d
UD
86192010-10-26 Ulrich Drepper <drepper@gmail.com>
8620
8621 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8622 is added to the list.
8623
f0967738
AK
86242010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8625 Ulrich Drepper <drepper@gmail.com>
8626
8627 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8628 the global list here. Move code to...
8629 (_dl_add_to_namespace_list): ...here. New function.
8630 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8631 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8632 * elf/dl-load.c (lose): Don't remove the element from the list.
8633 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8634 (_dl_map_object): Likewise.
8635
86362010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
8637
8638 [BZ #12159]
8639 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8640 into all bytes of SSE register.
8641 Patch by Richard Li <richardpku@gmail.com>.
8642
f0967738 86432010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8644
8645 [BZ #12140]
8646 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8647 perturbing.
8648
d0b9e94f
MB
86492010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8650
8651 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8652 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8653 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8656 submachine.
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8658
8e9f92e9
AS
86592010-10-22 Andreas Schwab <schwab@redhat.com>
8660
8661 * include/dlfcn.h (__RTLD_SECURE): Define.
8662 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8663 mode & __RTLD_SECURE instead.
8664 (open_path): Rename preloaded parameter to secure.
8665 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8666 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8667 * elf/dl-deps.c (openaux): Likewise.
8668 * elf/rtld.c (struct map_args): Remove is_preloaded.
8669 (map_doit): Don't use it.
8670 (dl_main): Likewise.
8671 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8672 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8673
bc96fbda
AS
86742010-09-09 Andreas Schwab <schwab@redhat.com>
8675
8676 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8677 (sysd-rules-targets): Remove duplicates.
8678 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8679 rtld-%.$o dependency.
8680
22cd1c9b
AS
86812010-10-18 Andreas Schwab <schwab@redhat.com>
8682
8683 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8684 _dl_map_object do it.
8685
18edac48
UD
86862010-10-19 Ulrich Drepper <drepper@gmail.com>
8687
8688 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8689 fast fma builtins, define the macros in the C99 standard.
8690 (FP_FAST_FMAF): Likewise.
8691 (FP_FAST_FMAL): Likewise.
8692 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8693
8694 * bits/mathdef.h: Update copyright year.
8695 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8696
d2050124
MM
86972010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8698
8699 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8700 builtins, define the macros in the C99 standard.
8701 (FP_FAST_FMAF): Likewise.
8702 (FP_FAST_FMAL): Likewise.
8703 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8704 multiply/add.
8705 (FP_FAST_FMAF): Likewise.
8706
475facd1
JJ
87072010-10-15 Jakub Jelinek <jakub@redhat.com>
8708
8709 [BZ #3268]
8710 * math/libm-test.inc (fma_test): Some new testcases.
8711 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8712 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8713 y and infinite z. Do multiplication by C already in long double.
8714 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8716 y and infinite z. Do bitwise or of inexact bit into u.d.
8717 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8718 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8719 * sysdeps/i386/fpu/s_fma.S: Removed.
8720 * sysdeps/i386/fpu/s_fmal.S: Removed.
8721
7c08a05c
JJ
87222010-10-16 Jakub Jelinek <jakub@redhat.com>
8723
8724 [BZ #3268]
8725 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8727 computation is not scheduled after fetestexcept. Fix value
8728 of minimum denormal long double.
8729
f3f7372d
JJ
87302010-10-14 Jakub Jelinek <jakub@redhat.com>
8731
8732 [BZ #3268]
8733 * math/libm-test.inc (fma_test): Add some more tests.
8734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8735 correctly.
8736
14d43591
AS
87372010-10-15 Andreas Schwab <schwab@redhat.com>
8738
8739 * scripts/data/localplt-s390-linux-gnu.data: New file.
8740 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8741
5e908464
JJ
87422010-10-13 Jakub Jelinek <jakub@redhat.com>
8743
8744 [BZ #3268]
8745 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8746 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8747 instead of dbl-64.
8748 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8749 inlines.
8750 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8752 if one of x and y is very large and the other is subnormal.
8753 * sysdeps/s390/fpu/s_fmaf.c: New file.
8754 * sysdeps/s390/fpu/s_fma.c: New file.
8755 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8756 * sysdeps/powerpc/fpu/s_fma.S: New file.
8757 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8758 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8759 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8760
87612010-10-12 Jakub Jelinek <jakub@redhat.com>
8762
8763 [BZ #3268]
8764 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8765 fma tests.
8766 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8767 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8768 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8769 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8770 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8771 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8773
b833d51f
UD
87742010-10-12 Ulrich Drepper <drepper@redhat.com>
8775
8776 [BZ #12078]
8777 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8778 * posix/bug-regex31.input: Add test case.
8779
1751705d
UD
87802010-10-11 Ulrich Drepper <drepper@gmail.com>
8781
e9b9cbf5
UD
8782 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8783 * posix/bug-regex31.input: New file.
8784
8785 [BZ #12078]
8786 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8787 (parse_sub_exp): Fix last change, use postorder.
8788
ef06edbe
UD
8789 * posix/bug-regex31.c: New file.
8790 * posix/Makefile: Add rules to build and run bug-regex31.
8791
a129c80d
UD
8792 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8793
8794 [BZ #12078]
8795 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8796
b76b818e
UD
8797 [BZ #12108]
8798 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8799 to have entries in sys_siglist.
8800
1751705d
UD
8801 [BZ #12093]
8802 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8803 be NULL.
8804
9ff8d36f
JJ
88052010-10-07 Jakub Jelinek <jakub@redhat.com>
8806
8807 [BZ #3268]
8808 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8809 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8810 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8811 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8812 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8813 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8814 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8815 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8816 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8817 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8818 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8819 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8820 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8821 * math/ftestexcept.c (fetestexcept): Likewise.
8822 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8823 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8824 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8825 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8826 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8827 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8828 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8829
af325969
UD
88302010-10-11 Ulrich Drepper <drepper@gmail.com>
8831
c579b202 8832 [BZ #12107]
af325969
UD
8833 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8834 newline.
8835
67a67b95
UD
88362010-10-06 Ulrich Drepper <drepper@gmail.com>
8837
8838 * string/bug-strstr1.c: New file.
8839 * string/Makefile: Add rules to build and run bug-strstr1.
8840
5fb308bc
EB
88412010-10-05 Eric Blake <eblake@redhat.com>
8842
8843 [BZ #12092]
8844 * string/str-two-way.h (two_way_long_needle): Always clear memory
8845 when skipping input due to the shift table.
8846
45db99c7
UD
88472010-10-03 Ulrich Drepper <drepper@gmail.com>
8848
3b111893
UD
8849 [BZ #12005]
8850 * malloc/mcheck.c: Handle large requests.
8851
45db99c7
UD
8852 [BZ #12077]
8853 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8854 for strncmp and strncasecmp.
8855 * string/stratcliff.c: Add tests for strcmp and strncmp.
8856 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8857
cf7a1eb8
NI
88582010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8859
8860 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8861 __set_fpscr.
8862
6484ba5e
AJ
88632010-09-30 Andreas Jaeger <aj@suse.de>
8864
8865 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8866 (CGROUP_SUPER_MAGIC): Define.
8867 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8868 Handle btrfs and cgroup file systems.
8869 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8870 Likewise.
8871
91c42559
LM
88722010-09-27 Luis Machado <luisgpm@br.ibm.com>
8873
8874 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8875 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8876
87a97932
AK
88772010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8878
8879 [BZ #12067]
8880 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8881 trying to locate the ELF header.
8882
c21cc9bc
AS
88832010-09-27 Andreas Schwab <schwab@redhat.com>
8884
8885 [BZ #11611]
8886 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8887 Mask out sign-bit copies when constructing f_fsid.
8888
315970f6
PB
88892010-09-24 Petr Baudis <pasky@suse.cz>
8890
8891 * debug/stack_chk_fail_local.c: Add missing licence exception.
8892 * debug/warning-nop.c: Likewise.
8893
1ac7a2c7
JM
88942010-09-15 Joseph Myers <joseph@codesourcery.com>
8895
8896 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8897 implementing getdents64 using getdents syscall, set d_type if
8898 __ASSUME_GETDENTS32_D_TYPE.
8899
56801c50
AS
89002010-09-16 Andreas Schwab <schwab@redhat.com>
8901
8902 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8903 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8904
dda51327
UD
89052010-09-21 Ulrich Drepper <drepper@redhat.com>
8906
8907 [BZ #12037]
8908 * posix/unistd.h: Undo change of feature selection for ftruncate from
8909 2010-01-11.
8910
8ffcee4a
UD
89112010-09-20 Ulrich Drepper <drepper@redhat.com>
8912
a545ecd9 8913 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8914 detection.
8915
e24f0a8b
AS
89162010-09-20 Andreas Schwab <schwab@redhat.com>
8917
8918 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8919 fanotify_mark.
8920 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8921
7291c56f
AS
89222010-09-14 Andreas Schwab <schwab@redhat.com>
8923
8924 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8925 variables after CHECK_SP call.
8926 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8927
bc5fb037
AS
89282010-09-13 Andreas Schwab <schwab@redhat.com>
8929 Ulrich Drepper <drepper@redhat.com>
8930
8931 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8932 re-relocationg ld.so.
8933 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8934 _dl_init_paths call.
8935 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8936 here anymore.
8937
e66e7419
UD
89382010-09-14 Ulrich Drepper <drepper@redhat.com>
8939
8940 * resolv/res_init.c (__res_vinit): Count the default server we added.
8941
c044aa75
CLT
89422010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8943 Ulrich Drepper <drepper@redhat.com>
8944
8945 [BZ #11968]
8946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8947 (____longjmp_chk): Use %ebx for saving value across system call.
8948 Add unwind info.
8949
32cf4069
AS
89502010-09-06 Andreas Schwab <schwab@redhat.com>
8951
8952 * manual/Makefile: Don't mix pattern rules with normal rules.
8953
817328ee
AS
89542010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8955
8956 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8957 operation.
8958 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8959 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8960 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8961 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8963 Likewise.
8964
29fddf61
UD
89652010-09-04 Ulrich Drepper <drepper@redhat.com>
8966
8967 [BZ #11979]
8968 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8969 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8970
0959ffc9
UD
89712010-09-02 Ulrich Drepper <drepper@redhat.com>
8972
8973 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8974 * sysdeps/x86_64/addmul_1.S: Likewise.
8975 * sysdeps/x86_64/lshift.S: Likewise.
8976 * sysdeps/x86_64/mul_1.S: Likewise.
8977 * sysdeps/x86_64/rshift.S: Likewise.
8978 * sysdeps/x86_64/sub_n.S: Likewise.
8979 * sysdeps/x86_64/submul_1.S: Likewise.
8980
ece29840
ST
89812010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8982
0959ffc9
UD
8983 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8984 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8985 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8986 * bits/sched.h [__need_schedparam]
ece29840 8987 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8988 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8989 (__defined_schedparam): Define to 1.
ece29840
ST
8990 (__sched_param): New structure, identical to sched_param.
8991 (__need_schedparam): Undefine.
8992
e53a31fe
MF
89932010-08-31 Mike Frysinger <vapier@gentoo.org>
8994
fdc0c10d
MF
8995 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8996 (epoll_create1): Declare.
8997
e53a31fe
MF
8998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8999
a726d796
AS
90002010-08-31 Andreas Schwab <schwab@redhat.com>
9001
9002 [BZ #7066]
9003 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9004 shifting retval into place.
9005
2f3e3dc7
UD
90062010-09-01 Ulrich Drepper <drepper@redhat.com>
9007
f2933da9
UD
9008 * nis/rpcsvc/nis.h: Update copyright notice.
9009 * nis/rpcsvc/nis.x: Likewise.
9010 * nis/rpcsvc/nis_callback.h: Likewise.
9011 * nis/rpcsvc/nis_callback.x: Likewise.
9012 * nis/rpcsvc/nis_object.x: Likewise.
9013 * nis/rpcsvc/nis_tags.h: Likewise.
9014 * nis/rpcsvc/yp.h: Likewise.
9015 * nis/rpcsvc/yp.x: Likewise.
9016 * nis/rpcsvc/ypupd.h: Likewise.
9017 * nis/yp_xdr.c: Likewise.
9018 * nis/ypupdate_xdr.c: Likewise.
9019
2f3e3dc7
UD
9020 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9021 mainly the body of pmap_getport. Add parameters to specify timeouts.
9022 (pmap_getport): Use __libc_rpc_getport.
9023 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9024 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9025 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9026
f3dcc2f9
AS
90272010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9028
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9030 fanotify_mark.
9031
6d34eb5b
RM
90322010-08-27 Roland McGrath <roland@redhat.com>
9033
9034 * sysdeps/i386/i686/multiarch/Makefile
9035 (CFLAGS-varshift.c): New variable.
9036
9ea3de11
UD
90372010-08-27 Ulrich Drepper <drepper@redhat.com>
9038
c96d23fc
UD
9039 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9040 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9041
9ea3de11
UD
9042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9043
9044 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9045
623aac7f
L
90462010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9047
9048 * sysdeps/x86_64/strlen.S: Unroll the loop.
9049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9050 strlen-sse2 strlen-sse2-bsf.
9051 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9052 __strlen_no_bsf if bit_Slow_BSF is set.
9053 (__strlen_sse42): Removed.
9054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9055 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9056
8b2b7715
RM
90572010-08-25 Roland McGrath <roland@redhat.com>
9058
9059 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9060 * sysdeps/x86_64/multiarch/varshift.c: New file.
9061 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9062 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9063 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9064 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9065
e73015f2
L
90662010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9067
9068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9069 strlen-sse2 strlen-sse2-bsf.
9070 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9071 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9072 (__strlen_sse2): Removed.
9073 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9076 bit_Slow_BSF for Atom.
9077 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9078 (index_Slow_BSF): Define.
9079 (HAS_SLOW_BSF): Define.
9080
df24a73e
UD
90812010-08-25 Ulrich Drepper <drepper@redhat.com>
9082
9083 [BZ #10851]
9084 * resolv/res_init.c (__res_vinit): When no server address at all
9085 is given default to loopback.
9086
f2ac4868
RM
90872010-08-24 Roland McGrath <roland@redhat.com>
9088
09055553
RM
9089 * configure.in: Remove config-name.h generation.
9090 * configure: Regenerated.
9091 * config-name.in: File removed.
9092 * scripts/config-uname.sh: New file.
9093 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9094 ($(objdir)config-name.h): New target.
9095
f2ac4868
RM
9096 * sunrpc/rpc_parse.h: Avoid nested comment.
9097
73f27d5e
RH
90982010-08-24 Richard Henderson <rth@redhat.com>
9099 Ulrich Drepper <drepper@redhat.com>
9100 H.J. Lu <hongjiu.lu@intel.com>
9101
9102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9104 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9105 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9106 _mm_alignr_epi8 with _mm_loadu_si128.
9107 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9108 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9109 (__m128i_shift_right): Removed.
9110 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9111 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9112 * sysdeps/x86_64/multiarch/varshift.h: New file.
9113 * sysdeps/x86_64/multiarch/varshift.S: New file.
9114
84b9230c
MF
91152010-08-21 Mike Frysinger <vapier@gentoo.org>
9116
9117 * configure.in: Move assembler checks to before sysdep dir checking.
9118
9bbd0ddc
PB
91192010-08-20 Petr Baudis <pasky@suse.cz>
9120
9121 * LICENSES: Sync the sunrpc license.
9122
9da4bb31
UD
91232010-08-19 Ulrich Drepper <drepper@redhat.com>
9124
a7ab6ec8
UD
9125 * sunrpc/auth_des.c: Update copyright notice once again.
9126 * sunrpc/auth_none.c: Likewise.
9127 * sunrpc/auth_unix.c: Likewise.
9128 * sunrpc/authdes_prot.c: Likewise.
9129 * sunrpc/authuxprot.c: Likewise.
9130 * sunrpc/bindrsvprt.c: Likewise.
9131 * sunrpc/clnt_gen.c: Likewise.
9132 * sunrpc/clnt_perr.c: Likewise.
9133 * sunrpc/clnt_raw.c: Likewise.
9134 * sunrpc/clnt_simp.c: Likewise.
9135 * sunrpc/clnt_tcp.c: Likewise.
9136 * sunrpc/clnt_udp.c: Likewise.
9137 * sunrpc/clnt_unix.c: Likewise.
9138 * sunrpc/des_crypt.c: Likewise.
9139 * sunrpc/des_soft.c: Likewise.
9140 * sunrpc/get_myaddr.c: Likewise.
9141 * sunrpc/getrpcport.c: Likewise.
9142 * sunrpc/key_call.c: Likewise.
9143 * sunrpc/key_prot.c: Likewise.
9144 * sunrpc/openchild.c: Likewise.
9145 * sunrpc/pm_getmaps.c: Likewise.
9146 * sunrpc/pm_getport.c: Likewise.
9147 * sunrpc/pmap_clnt.c: Likewise.
9148 * sunrpc/pmap_prot.c: Likewise.
9149 * sunrpc/pmap_prot2.c: Likewise.
9150 * sunrpc/pmap_rmt.c: Likewise.
9151 * sunrpc/rpc/auth.h: Likewise.
9152 * sunrpc/rpc/auth_unix.h: Likewise.
9153 * sunrpc/rpc/clnt.h: Likewise.
9154 * sunrpc/rpc/des_crypt.h: Likewise.
9155 * sunrpc/rpc/key_prot.h: Likewise.
9156 * sunrpc/rpc/netdb.h: Likewise.
9157 * sunrpc/rpc/pmap_clnt.h: Likewise.
9158 * sunrpc/rpc/pmap_prot.h: Likewise.
9159 * sunrpc/rpc/pmap_rmt.h: Likewise.
9160 * sunrpc/rpc/rpc.h: Likewise.
9161 * sunrpc/rpc/rpc_des.h: Likewise.
9162 * sunrpc/rpc/rpc_msg.h: Likewise.
9163 * sunrpc/rpc/svc.h: Likewise.
9164 * sunrpc/rpc/svc_auth.h: Likewise.
9165 * sunrpc/rpc/types.h: Likewise.
9166 * sunrpc/rpc/xdr.h: Likewise.
9167 * sunrpc/rpc_clntout.c: Likewise.
9168 * sunrpc/rpc_cmsg.c: Likewise.
9169 * sunrpc/rpc_common.c: Likewise.
9170 * sunrpc/rpc_cout.c: Likewise.
9171 * sunrpc/rpc_dtable.c: Likewise.
9172 * sunrpc/rpc_hout.c: Likewise.
9173 * sunrpc/rpc_main.c: Likewise.
9174 * sunrpc/rpc_parse.c: Likewise.
9175 * sunrpc/rpc_parse.h: Likewise.
9176 * sunrpc/rpc_prot.c: Likewise.
9177 * sunrpc/rpc_sample.c: Likewise.
9178 * sunrpc/rpc_scan.c: Likewise.
9179 * sunrpc/rpc_scan.h: Likewise.
9180 * sunrpc/rpc_svcout.c: Likewise.
9181 * sunrpc/rpc_tblout.c: Likewise.
9182 * sunrpc/rpc_util.c: Likewise.
9183 * sunrpc/rpc_util.h: Likewise.
9184 * sunrpc/rpcinfo.c: Likewise.
9185 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9186 * sunrpc/rpcsvc/key_prot.x: Likewise.
9187 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9188 * sunrpc/rpcsvc/mount.x: Likewise.
9189 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9190 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9191 * sunrpc/rpcsvc/rex.x: Likewise.
9192 * sunrpc/rpcsvc/rstat.x: Likewise.
9193 * sunrpc/rpcsvc/rusers.x: Likewise.
9194 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9195 * sunrpc/rpcsvc/spray.x: Likewise.
9196 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9197 * sunrpc/rtime.c: Likewise.
9198 * sunrpc/svc.c: Likewise.
9199 * sunrpc/svc_auth.c: Likewise.
9200 * sunrpc/svc_authux.c: Likewise.
9201 * sunrpc/svc_raw.c: Likewise.
9202 * sunrpc/svc_run.c: Likewise.
9203 * sunrpc/svc_simple.c: Likewise.
9204 * sunrpc/svc_tcp.c: Likewise.
9205 * sunrpc/svc_udp.c: Likewise.
9206 * sunrpc/svc_unix.c: Likewise.
9207 * sunrpc/svcauth_des.c: Likewise.
9208 * sunrpc/xcrypt.c: Likewise.
9209 * sunrpc/xdr.c: Likewise.
9210 * sunrpc/xdr_array.c: Likewise.
9211 * sunrpc/xdr_float.c: Likewise.
9212 * sunrpc/xdr_mem.c: Likewise.
9213 * sunrpc/xdr_rec.c: Likewise.
9214 * sunrpc/xdr_ref.c: Likewise.
9215 * sunrpc/xdr_sizeof.c: Likewise.
9216 * sunrpc/xdr_stdio.c: Likewise.
9217
9da4bb31
UD
9218 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9219 handling.
9220
bdaa77bc
AS
92212010-08-19 Andreas Schwab <schwab@redhat.com>
9222
9223 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9224
fe2f79db
LM
92252010-08-19 Luis Machado <luisgpm@br.ibm.com>
9226
9227 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9228 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9229 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9230 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9231 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9232 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9233 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9234 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9236 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9237 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9238 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9239 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9240 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9241
b9b42ee0
AB
92422010-07-26 Anton Blanchard <anton@samba.org>
9243
9244 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9245 * malloc/arena.c (heap_trim): Likewise.
9246
1c06ba31
UD
92472010-08-16 Ulrich Drepper <drepper@redhat.com>
9248
9249 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9250 here. Not...
9251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9252 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9253
f8392f40
L
92542010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9255
9256 * sysdeps/i386/elf/Makefile: New file.
9257
3162f12e
AS
92582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9259
9260 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9261 from fanotify_init.
9262 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9264
28c90b2c
UD
92652010-08-15 Ulrich Drepper <drepper@redhat.com>
9266
9267 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9268 of strncasecmp_l.
1feccb6c 9269 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9270
ca6bb004
UD
92712010-08-14 Ulrich Drepper <drepper@redhat.com>
9272
e9f82e0d
UD
9273 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9274 strncase_l-nonascii.
9275 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9276 Add strncase_l-ssse3.
9277 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9278 * sysdeps/x86_64/strcmp.S: Likewise.
9279 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9280 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9281 * sysdeps/x86_64/strncase.S: New file.
9282 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9283 * sysdeps/x86_64/strncase_l.S: New file.
9284 * string/Makefile (strop-tests): Add strncasecmp.
9285 * string/test-strncasecmp.c: New file.
9286
9287 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9288 warning.
9289
ca6bb004
UD
9290 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9291 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9292
052fa7b3
AS
92932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9294
9295 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9296
962dba78
UD
92972010-08-12 Ulrich Drepper <drepper@redhat.com>
9298
9299 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9301 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9302
bebff237
AM
93032010-05-01 Alan Modra <amodra@gmail.com>
9304
9305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9306 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9307 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9308 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9309 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9310 tidying. Don't tail-call __sigjmp_save for static lib.
9311 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9312 save location.
9313 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9314 (CALL_MCOUNT): Add eh info, and nop after bl.
9315 (TAIL_CALL_SYSCALL_ERROR): New macro.
9316 (PSEUDO_RET): Use it.
9317 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9318 Correct save location of integer regs and cr.
9319 (_dl_profile_resolve): Correct cr save location. Delete nops
9320 after bl when SHARED. Reduce cfi size a little by better
9321 placement of cfi directives.
9322 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9323 make a stack frame. Instead use parm save area as a temp.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9325 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9327 Don't make a stack frame for parent, use parm save area.
9328 Increase child stack frame to 112 bytes. Don't save unused reg,
9329 and adjust reg usage. Set up cfi on error recovery and
9330 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9332 (__makecontext): Add dummy nop after jump to exit.
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9334 Use correct parm save area and cr save, reduce stack frame.
9335 Correct cfi for possible PSEUDO_RET frame setup.
9336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9337 Branch to local label emitted by PSEUDO_RET rather than
9338 __syscall_error.
9339
02637374
AS
93402010-08-12 Andreas Schwab <schwab@redhat.com>
9341
9342 [BZ #11904]
9343 * locale/programs/locale.c (print_assignment): New function.
9344 (show_locale_vars): Use it.
9345
c3e2f19b
UD
93462010-08-11 Ulrich Drepper <drepper@redhat.com>
9347
3cdaa6ad
UD
9348 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9349 field.
9350 (struct statfs64): Likewise.
9351 (_STATFS_F_FLAGS): Define.
9352 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9353 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9354 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9355 (ST_VALID): Define locally.
9356 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9357 __statvfs_getflags, use the provided value.
9358 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9359 __ASSUME_STATFS_F_FLAGS.
9360
754f7da3
UD
9361 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9362
10b3bedc
UD
9363 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9364 Add sys/fanotify.h.
9365 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9366 fanotify_mask for GLIBC_2.13.
9367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9368 fanotify_init and fanotify_mark.
9369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9370 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9371
c08fb0d7
UD
9372 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9373 Add prlimit.
9374 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9375 prlimit64 for GLIBC_2.13.
9376 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9377 prlimit64.
9378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9379 syscall.
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9382 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9385 add prlimit alias.
9386 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9387
15bac72b
UD
9388 [BZ #11903]
9389 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9390 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9391
c3e2f19b
UD
9392 * nss/Makefile: Add rules to build and run tst-nss-test1.
9393 * shlib-versions: Add entry for libnss_test1.
9394 * nss/nss_test1.c: New file.
9395 * nss/tst-nss-test1.c: New file.
9396
9397 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9398 (__nss_configure_lookup): Set appropriate entry in
9399 __nss_configure_lookup to true.
9400 * nss/nsswitch.h: Define enum with indeces of databases in
9401 databases and __nss_database_custom arrays. Declare
9402 __nss_database_custom.
9403 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9404 to avoid using nscd when custom rules are installed.
9405 * nss/getXXbyYY_r.c: Likewise.
9406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9407
9408 * nss/nss_files/files-parse.c: Whitespace fixes.
9409
f15ce4d8
UD
94102010-08-09 Ulrich Drepper <drepper@redhat.com>
9411
9412 [BZ #11883]
9413 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9414 * posix/fnmatch_loop.c: Likewise.
9415
d22e4cc9
AK
94162010-07-17 Andi Kleen <ak@linux.intel.com>
9417
9418 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9419 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9420 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9421 * Versions.def [GLIBC_2.13]: Add.
9422
805bc17d
UD
94232010-08-06 Ulrich Drepper <drepper@redhat.com>
9424
9425 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9426 Also fail if tpwd after pwuid call is NULL.
9427
5a42321d
ST
94282010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9429
9430 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9431 when converting to ms.
9432
fd3ebeda
ST
94332010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9434
9435 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9436 EOPNOTSUPP errors with ENOTTY.
9437 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9438 EOPNOTSUPP errors with ENOTTY.
9439
73507d3a
UD
94402010-07-31 Ulrich Drepper <drepper@redhat.com>
9441
9442 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9443 Add strcasecmp_l-ssse3.
9444 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9445 strcasecmp.
9446 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9447 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9448 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9449
fe36dd02
UD
94502010-07-30 Ulrich Drepper <drepper@redhat.com>
9451
66f6765a
UD
9452 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9453
42e08a54
UD
9454 * string/Makefile (strop-tests): Add strcasecmp.
9455 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9456 strcasecmp_l-nonascii.
9457 (gen-as-const-headers): Add locale-defines.sym.
9458 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9459 * sysdeps/x86_64/strcasecmp.S: New file.
9460 * sysdeps/x86_64/strcasecmp_l.S: New file.
9461 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9462 * sysdeps/x86_64/locale-defines.sym: New file.
9463 * string/test-strcasecmp.c: New file.
9464
fe36dd02
UD
9465 * string/test-strcasestr.c: Test both ends of the range of characters.
9466 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9467
48cbc0d6
RM
94682010-07-29 Roland McGrath <roland@redhat.com>
9469
76e6d6bc 9470 [BZ #11856]
48cbc0d6
RM
9471 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9472
880113d9
UD
94732010-07-27 Ulrich Drepper <drepper@redhat.com>
9474
9475 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9476 for ld.so.
9477
deb9cabb
AS
94782010-07-27 Andreas Schwab <schwab@redhat.com>
9479
9480 * manual/memory.texi (Malloc Tunable Parameters): Document
9481 M_PERTURB.
9482
1c7570ff
RM
94832010-07-26 Roland McGrath <roland@redhat.com>
9484
9485 [BZ #11840]
9486 * configure.in (-fgnu89-inline check): Set and substitute
9487 gnu89_inline, not libc_cv_gnu89_inline.
9488 * configure: Regenerated.
9489 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9490
24fb0f88
UD
94912010-07-26 Ulrich Drepper <drepper@redhat.com>
9492
9493 * string/test-strnlen.c: New file.
9494 * string/Makefile (strop-tests): Add strnlen.
9495 * string/tester.c (test_strnlen): Add a few more test cases.
9496 * string/tst-strlen.c: Better error reporting.
9497
9498 * sysdeps/x86_64/strnlen.S: New file.
9499
8e96b93a
UD
95002010-07-24 Ulrich Drepper <drepper@redhat.com>
9501
9502 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9503 lower-latency instructions.
9504
dbc676d4
UD
95052010-07-23 Ulrich Drepper <drepper@redhat.com>
9506
9507 * string/test-strcasestr.c: New file.
9508 * string/test-strstr.c: New file.
9509 * string/Makefile (strop-tests): Add strstr and strcasestr.
9510 * string/str-two-way.h: Don't undefine MAX.
9511 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9512
f6a31e0e
AS
95132010-07-21 Andreas Schwab <schwab@redhat.com>
9514
9515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9516 strcasestr-nonascii.
9517 (CFLAGS-strcasestr-nonascii.c): Define.
9518 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9519 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9520 Remove unused attribute.
9521
5dbc3b6c
RM
95222010-07-20 Roland McGrath <roland@redhat.com>
9523
9524 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9525 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9526 ld.so.cache was broken. With it, there is no way to disable dsocaps
9527 like LD_HWCAP_MASK can disable hwcaps.
9528
23d101d8
EPM
95292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9530
9531 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9532
cc9f2e47
UD
95332010-07-16 Ulrich Drepper <drepper@redhat.com>
9534
9535 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9536 call in strcasestr.
9537 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9538 __strcasestr_sse42_nonascii.
9539 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9540 strcasestr-nonascii.c.
9541 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9542
77c1b069
LM
95432010-06-15 Luis Machado <luisgpm@br.ibm.com>
9544
9545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9546 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9548 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9549
440566c3
UD
95502010-07-09 Ulrich Drepper <drepper@redhat.com>
9551
9552 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9553 fcntl.
9554
5be9d05d
AS
95552010-07-06 Andreas Schwab <schwab@redhat.com>
9556
c30b7ee2 9557 [BZ #11577]
5be9d05d
AS
9558 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9559 dl_signal_cerror.
9560
8a492a67
UD
95612010-07-06 Ulrich Drepper <drepper@redhat.com>
9562
9563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9564 _PC_PIPE_BUF using F_GETPIPE_SZ.
9565
713df3d5
RM
95662010-07-05 Roland McGrath <roland@redhat.com>
9567
9568 * manual/arith.texi (Rounding Functions): Fix rint description
9569 implicit in round description.
9570
702e8f14
UD
95712010-07-02 Ulrich Drepper <drepper@redhat.com>
9572
9573 * elf/Makefile: Fix linking for a few tests to make recent linker
9574 happy.
9575
52ed8be9
AS
95762010-06-30 Andreas Schwab <schwab@redhat.com>
9577
9578 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9579 $(common-objpfx)libc_nonshared.a.
9580
f47c9a11
LM
95812010-06-21 Luis Machado <luisgpm@br.ibm.com>
9582
9583 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9584 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9585 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9586 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9587 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9588 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9589 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9590 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9605 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9606 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9607 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9608 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9609 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9610 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9611 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9612 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9613 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9614 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9615 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9616 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9631
6fb8cbcb
L
96322010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9633
9634 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9635 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9636 * string/memmove.c (memmove): Renamed to ...
9637 (MEMMOVE): ...this. Default to memmove.
9638 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9639 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9640 (END_CHK): Define.
9641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9642 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9643 mempcpy-ssse3-back memmove-ssse3-back.
9644 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9645 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9647 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9648 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9649 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9650 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9651 * sysdeps/x86_64/multiarch/memmove.c: New file.
9652 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9653 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9654 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9655 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9656 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9658 Define.
9659 (index_Fast_Copy_Backward): Define.
9660 (HAS_ARCH_FEATURE): Define.
9661 (HAS_FAST_REP_STRING): Define.
9662 (HAS_FAST_COPY_BACKWARD): Define.
9663
4e733bac 96642010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
9665
9666 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9667 Restore proper fallback handling.
9668
63c4ed22
UD
96692010-06-19 Ulrich Drepper <drepper@redhat.com>
9670
ac2b484c
UD
9671 [BZ #11701]
9672 * posix/group_member.c (__group_member): Correct checking loop.
9673
63c4ed22
UD
9674 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9675 OOM in getpwuid_r correctly. Return error number when the caller
9676 should return, otherwise -1.
9677 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9678 call returning > 0 value.
9679 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9680
765ade4b
AS
96812010-06-07 Andreas Schwab <schwab@redhat.com>
9682
9683 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9684 libc_nonshared.a from targets in modules-names.
9685
80da2e09
KS
96862010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9687
9688 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9689 requires it.
9690
158db122
LM
96912010-06-10 Luis Machado <luisgpm@br.ibm.com>
9692
9693 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9694 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9695 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9697
caa78cf8
AS
96982010-06-02 Andreas Schwab <schwab@redhat.com>
9699
9700 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9701
b2ef2c01
UD
97022010-06-14 Ulrich Drepper <drepper@redhat.com>
9703
9704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9705 and F_GETPIPE_SZ.
9706 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9710 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9712
fbd643b6
RM
97132010-06-14 Roland McGrath <roland@redhat.com>
9714
9715 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9716
f32f2869
JJ
97172010-06-07 Jakub Jelinek <jakub@redhat.com>
9718
9719 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9720 __REDIRECT followed by __THROW.
9721 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9722 * posix/getopt.h (getopt): Likewise.
9723
2a50c078
EPM
97242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9725
9726 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9727 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9728 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9729 in AT_FLAGS.
9730 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9731 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9732
eb5ad2eb
LM
97332010-05-28 Luis Machado <luisgpm@br.ibm.com>
9734
9735 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9736
3c88fe1e
L
97372010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9738
9739 [BZ #11640]
9740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9741 Properly check family and model.
9742
d2f73151
TY
97432010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9744
9745 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9746
ebd2e13d
LM
97472010-05-24 Luis Machado <luisgpm@br.ibm.com>
9748
9749 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9750
b32b8b45
UD
97512010-05-21 Ulrich Drepper <drepper@redhat.com>
9752
9753 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9754 symbol reference.
9755
9acbe24d
AS
97562010-05-19 Andreas Schwab <schwab@redhat.com>
9757
9758 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9759 symbol reference.
9760
f0ccf6ea
AS
97612010-05-21 Andreas Schwab <schwab@redhat.com>
9762
3d04ff3a
AS
9763 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9764 and internal_recvmmsg.
9765 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9766 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9767 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9768 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9769
f0ccf6ea
AS
9770 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9771 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9772 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9773
5b08ac57
AS
97742010-05-20 Andreas Schwab <schwab@redhat.com>
9775
9776 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9777
4828935d
LM
97782010-05-17 Luis Machado <luisgpm@br.ibm.com>
9779
9780 POWER7 optimizations.
9781 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9782 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9783
373d545e
UD
97842010-05-19 Ulrich Drepper <drepper@redhat.com>
9785
9786 * version.h: Update for 2.13 development version.
9787
21a2b1ae
AS
97882010-05-12 Andrew Stubbs <ams@codesourcery.com>
9789
9790 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9791 exceptions. Return 0.
9792
3f7dcb2b
RM
97932010-05-07 Roland McGrath <roland@redhat.com>
9794
9795 * elf/ldconfig.c (main): Add a const.
9796
5f24d53a 97972010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9798
a160f8d8
UD
9799 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9800 (args_options): Add no-idn option.
9801 (ahosts_keys_int): Add idn_flags to ai_flags.
9802 (parse_option): Handle 'i' option to clear idn_flags.
9803
5f24d53a
UD
9804 * malloc/malloc.c (_int_free): Possible race in the most recently
9805 added check. Only act on the data if no current modification
9806 happened.
265bb1ce
UD
9807
9808See ChangeLog.17 for earlier changes.