]> sourceware.org Git - glibc.git/blob - ChangeLog
Update powerpc libm ULPs
[glibc.git] / ChangeLog
1 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4
5 2012-03-15 David S. Miller <davem@davemloft.net>
6
7 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New file.
23 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New file.
25 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New file.
27 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New file.
29 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31 fmin/fmax sysdep routines.
32 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33
34 2012-03-14 David S. Miller <davem@davemloft.net>
35
36 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
57 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
58 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
59 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
64 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3 routines.
65 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New file.
66 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New file.
68 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New file.
70 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New file.
72 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New file.
74 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New file.
76 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New file.
77 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New file.
78 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New file.
79 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S: New file.
80 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New file.
81 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New file.
82 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
83 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New file.
84 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New file.
86 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
87 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New file.
88 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
89 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS3 routines.
90
91 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
92 New file.
93
94 * sysdeps/sparc/fpu/libm-test-ulps: Update.
95
96 * sysdeps/sparc/configure.in: New file.
97 * sysdeps/sparc/configure: Generate.
98 * configure.in (libc_cv_sparc_as_vis3): Substitute.
99 * configure: Regenerate.
100 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
101 * config.make.in (have-as-vis3): New.
102 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
103 available use -Av9d instead of -Av9a.
104 * sysdeps/sparc/sparc64/Makefile: Likewise.
105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S: New file.
107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New file.
108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S: New file.
109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New file.
110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
115
116 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use fzeros/fnegs
117 to load 0x80000000 into a float register instead of using the stack.
118 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
119
120 2012-03-14 Joseph Myers <joseph@codesourcery.com>
121
122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
123 bits/syscall.h.
124 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
125 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
126 ($(inst_includedir)/bits/syscall.h): Remove rule.
127 ($(objpfx)bits/syscall.d): Include instead of
128 $(objpfx)syscall-list.d.
129 (generated): Change syscall-list.h and syscall-list.d to
130 bits/syscall.h and bits/syscall.d.
131
132 2012-03-14 Roland McGrath <roland@hack.frob.com>
133
134 [BZ #13846]
135 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
136
137 2012-03-14 Joseph Myers <joseph@codesourcery.com>
138
139 [BZ #13841]
140 * math/s_csqrt.c: Include <float.h>.
141 (__csqrt): Scale large or subnormal inputs.
142 * math/s_csqrtf.c: Likewise.
143 * math/s_csqrtl.c: Likewise.
144 * math/libm-test.inc (csqrt_test): Add more tests.
145 * sysdeps/i386/fpu/libm-test-ulps: Update.
146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
147
148 [BZ #13840]
149 * math/libm-test.inc (hypot_test): Add more tests.
150
151 2012-03-13 David S. Miller <davem@davemloft.net>
152
153 [BZ #13840]
154 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
155 double-precision for the calculation instead of scaling.
156
157 2012-03-13 Joseph Myers <joseph@codesourcery.com>
158
159 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
160 manipulate bits before adding and subtracting TWO52[sx].
161 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
163 Likewise.
164 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
165
166 2012-03-13 David S. Miller <davem@davemloft.net>
167
168 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
169 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
171 rtld-global-offsets.h
172 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
173
174 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
175 large parameters.
176
177 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
178
179 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
180 'err' in the ifdef scope in which it is actually used.
181
182 * nss/nss_db/db-init.c: Include string.h
183
184 2012-03-12 David S. Miller <davem@davemloft.net>
185
186 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
187 masking out of the most significant byte of random value used.
188 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
189 Fix coding style in previous change.
190
191 * sysdeps/unix/sysv/linux/kernel-features.h
192 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
193 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
194 expression.
195 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
196 later.
197
198 2012-03-11 David S. Miller <davem@davemloft.net>
199
200 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
201 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
202 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
203 for 'resultvar' otherwise things get truncated on 64-bit.
204
205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
206 Fix masking out of the most significant byte of random value used.
207
208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
209
210 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
211
212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
213
214 2012-03-09 David S. Miller <davem@davemloft.net>
215
216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
217 variables with appropriate CPP guards.
218 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
219 frame pointer, not the stack pointer. Correct layout comments. Fix test
220 on resulting framesize and the management of the outregs buffer for pltexit.
221 Preserve floating point return values across _dl_call_pltexit call.
222 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
223 framesize and the management of the outregs buffer for pltexit.
224 Preserve floating point return values across _dl_call_pltexit
225 call.
226 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
227 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
228 (print_exit): Fix format string for return register value.
229
230 2012-03-10 Joseph Myers <joseph@codesourcery.com>
231
232 * sunrpc/Makefile (others): Add rpcgen.
233 ($(objpfx)rpcgen): Remove special build rule and dependency on
234 libc.
235 * sunrpc/rpcgen.c: New file.
236
237 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
238
239 [BZ #13673]
240 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
241 * stdio-common/bug-vfprintf-nargs.c: Likewise.
242 * sysdeps/i386/crti.S: Likewise.
243 * sysdeps/i386/crtn.S: Likewise.
244 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
245 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
246 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
247 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
248 * sysdeps/sh/crti.S: Likewise.
249 * sysdeps/sh/crtn.S: Likewise.
250 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
251
252 [BZ #13673]
253 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
254 with URL.
255 * locale/programs/locfile-kw.gperf: Likewise.
256 * locale/programs/charmap-kw.h: Regenerated.
257 * locale/programs/locfile-kw.h: Likewise.
258
259 [BZ #13673]
260 * intl/plural.y: Replace FSF snail mail address with URL.
261 * intl/plural.c: Regenerated.
262
263 2012-03-09 Richard Henderson <rth@twiddle.net>
264
265 * include/math_private.h: Remove file.
266 * math/math_private.h: Move file ...
267 * sysdeps/generic/math_private.h: ... here.
268
269 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
270 * sysdeps/powerpc/fpu/math_private.h: Likewise.
271 * sysdeps/x86_64/fpu/math_private.h: Likewise.
272
273 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
274 and <math_private.h>.
275 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
276 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
277 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
278 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
279 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
280 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
281 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
284 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
286 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
287 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
289 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
290 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
294 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
296 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
297 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
299 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
300 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
301 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
302 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
305 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
306 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
307 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
308 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
309 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
310 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
311 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
312 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
313 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
314 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
315 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
316 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
317 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
318 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
319 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
320 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
321 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
322 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
323 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
324 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
325 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
326 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
327 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
328 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
329 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
330 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
331 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
332 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
333 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
334 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
335 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
336 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
337 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
338 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
339 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
343 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
344 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
346 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
347 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
349 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
354 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
356 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
357 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
358 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
359 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
362 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
363 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
364 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
365 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
366 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
368 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
369 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
370 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
371 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
372 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
373 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
374 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
375 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
376 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
377 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
378 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
379 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
380 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
381 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
382 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
383 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
385 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
386 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
387 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
388 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
389 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
390 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
391 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
392 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
393 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
394 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
395 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
396 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
398 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
399 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
400 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
401 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
402 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
403 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
404 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
405 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
406 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
407 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
408 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
409 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
410 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
411 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
412 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
413 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
414 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
415 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
416 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
417 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
418 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
419 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
420 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
421 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
422 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
423 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
424 * sysdeps/ieee754/k_standard.c: Likewise.
425 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
426 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
427 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
428 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
429 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
430 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
431 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
432 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
433 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
434 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
435 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
436 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
437 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
438 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
439 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
440 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
441 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
442 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
443 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
444 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
445 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
446 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
448 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
449 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
450 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
451 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
452 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
453 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
454 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
455 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
456 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
457 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
458 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
459 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
460 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
462 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
463 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
464 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
465 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
466 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
467 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
468 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
469 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
470 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
471 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
472 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
473 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
474 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
475 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
476 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
477 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
478 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
479 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
480 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
481 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
482 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
483 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
484 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
485 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
486 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
487 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
488 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
491 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
492 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
493 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
494 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
498 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
499 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
502 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
503 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
504 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
505 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
506 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
507 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
508 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
509 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
510 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
511 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
512 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
514 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
515 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
516 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
517 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
518 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
521 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
522 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
523 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
524 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
525 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
526 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
527 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
528 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
529 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
530 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
531 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
532 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
533 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
534 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
535 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
536 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
537 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
538 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
539 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
540 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
541 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
542 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
543 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
544 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
545 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
546 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
547 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
548 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
549 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
550 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
551 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
552 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
553 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
554 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
555 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
556 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
557 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
558 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
559 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
560 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
561 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
562 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
563 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
564 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
565 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
566 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
567 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
568 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
569 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
570 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
571 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
573 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
574 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
575 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
576 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
577 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
578 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
579 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
580 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
581 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
582 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
583 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
584 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
585 * sysdeps/ieee754/s_lib_version.c: Likewise.
586 * sysdeps/ieee754/s_matherr.c: Likewise.
587 * sysdeps/ieee754/s_signgam.c: Likewise.
588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
590 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
591 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
592 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
593 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
594 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
595 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
596 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
597 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
598 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
599 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
600 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
602 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
603 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
604 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
605 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
606 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
609
610 2012-03-09 Joseph Myers <joseph@codesourcery.com>
611
612 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
613 * sunrpc/rpc_main.c: Likewise.
614 * sunrpc/rpc_svcout.c: Likewise.
615
616 2012-03-09 David S. Miller <davem@davemloft.net>
617
618 * include/math_private.h: New file.
619
620 2012-03-09 Joseph Myers <joseph@codesourcery.com>
621
622 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
623 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
624 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
625 from <bits/socket_type.h>.
626 (enum __socket_type): Don't define here.
627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
629 bits/socket_type.h.
630
631 [BZ #13566]
632 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
633 checking __USE_GNU.
634
635 * Makerules ($(inst_includedir)/%.h): New rule.
636 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
637 (install-others): Remove variable setting.
638 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
639
640 2012-03-08 Richard Henderson <rth@twiddle.net>
641
642 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
643 from macro to inline function; merge with the
644 !__LIBC_INTERNAL_MATH_INLINES version.
645 (__ieee754_sqrtf): Likewise.
646
647 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
648 to inline function.
649 (__rintf, __floor, __floorf): Likewise.
650
651 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
652 macro to inline function.
653 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
654
655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
656 not <math/math_private.h>.
657
658 2012-03-08 David S. Miller <davem@davemloft.net>
659
660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
661 copyright year.
662 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
663
664 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
665
666 * resolv/gai_misc.c (handle_requests): Fix struct timespec
667 normalization.
668 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
669 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
670
671 2012-03-08 Ulrich Drepper <drepper@gmail.com>
672
673 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
674 be defined individually, they must be defined as a block. Define
675 S for printing a string instead of hidint the different by using a
676 macro for adding the 'l'.
677 * stdio-common/tst-fphex-wide.c: Adjust.
678
679 2012-03-07 Marek Polacek <polacek@redhat.com>
680
681 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
682
683 2012-03-08 Marek Polacek <polacek@redhat.com>
684
685 [BZ #13806]
686 * stdio-common/Makefile (tests): Add tst-fphex-wide.
687 * stdio-common/tst-fphex.c: Define a few macros to make the
688 test reusable. Use them.
689 * stdio-common/tst-fphex-wide.c: New file.
690
691 2012-03-08 Joseph Myers <joseph@codesourcery.com>
692
693 [BZ #6911]
694 * manual/macros.texi (gnusystems): New macro.
695 (nongnusystems): Likewise.
696 (gnulinuxhurdsystems): Likewise.
697 (gnuhurdsystems): Likewise..
698 (gnulinuxsystems): Likewise.
699 * manual/charset.texi: Use new macros or @theglibc{} to refer to
700 variants of the GNU system, not "GNU system".
701 * manual/conf.texi: Likewise.
702 * manual/errno.texi: Likewise. Update example of errno macro
703 expansion.
704 * manual/filesys.texi: Likewise.
705 (getumask): Document as specific to GNU/Hurd.
706 * manual/install.texi: Likewise. Reword some references to
707 GNU/Linux.
708 * manual/intro.texi: Likewise.
709 * manual/io.texi: Likewise.
710 (File Name Portability): Detail which constraints are inapplicable
711 to all GNU systems and which are only inapplicable to GNU/Hurd.
712 * manual/job.texi: Likewise.
713 * manual/llio.texi: Likewise.
714 (O_NOCTTY): Document as present on GNU/Linux.
715 * manual/maint.texi: Likewise.
716 * manual/memory.texi: Likewise.
717 * manual/pattern.texi: Likewise.
718 * manual/pipe.texi: Likewise.
719 * manual/process.texi: Likewise.
720 * manual/resource.texi: Likewise.
721 (RUSAGE_CHILDREN): Remove statement about specifying a particular
722 child on GNU/Hurd.
723 * manual/setjmp.texi: Likewise.
724 * manual/signal.texi: Likewise.
725 * manual/startup.texi: Likewise.
726 * manual/stdio.texi: Likewise.
727 * manual/terminal.texi: Likewise.
728 (ONLCR): Document as POSIX.
729 (OXTABS): Document availability on GNU/Linux as XTABS.
730 (ONOEOT): Document availability separately from other bits.
731 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
732 * manual/time.texi: Likewise.
733 * manual/users.texi: Likewise.
734 * INSTALL: Regenerated.
735 * sysdeps/gnu/errlist.c: Regenerated.
736
737 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
738 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
739 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
740 puts.
741 * configure: Regenerated.
742
743 2012-03-07 Joseph Myers <joseph@codesourcery.com>
744
745 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
746 default includes instead of AC_HEADER_CHECK.
747 * sysdeps/i386/configure: Regenerated.
748
749 [BZ #10716]
750 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
751 * math/s_cacoshf.c (__cacoshf): Likewise.
752 * math/s_cacoshl.c (__cacoshl): Likewise.
753 * math/s_casinh.c (__casinh): Set signs of result from argument.
754 * math/s_casinhf.c (__casinhf): Likewise.
755 * math/s_casinhl.c (__casinhl): Likewise.
756 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
757 (casinh_test): Add more tests.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
760
761 2012-03-07 Ulrich Drepper <drepper@gmail.com>
762
763 * po/zh_TW.po: Update from translation team.
764
765 * login/Makefile (distribute): Remove variable.
766 * catgets/Makefile: Likewise.
767 * mach/Makefile: Likewise.
768 * malloc/Makefile: Likewise.
769 * misc/Makefile: Likewise.
770 * iconv/Makefile: Likewise.
771 * nscd/Makefile: Likewise.
772 * hurd/Makefile: Likewise.
773 * manual/Makefile: Likewise.
774 * locale/Makefile: Likewise.
775 * intl/Makefile: Likewise.
776 * conform/Makefile: Likewise.
777 * nss/Makefile: Likewise.
778 * time/Makefile: Likewise.
779 * soft-fp/Makefile: Likewise.
780 * dirent/Makefile: Likewise.
781 * gmon/Makefile: Likewise.
782 * po/Makefile: Likewise.
783 * rt/Makefile: Likewise.
784 * socket/Makefile: Likewise.
785 * math/Makefile: Likewise.
786 * signal/Makefile: Likewise.
787 * debug/Makefile: Likewise.
788 * elf/Makefile: Likewise.
789 * timezone/Makefile: Likewise.
790 * stdlib/Makefile: Likewise.
791 * iconvdata/Makefile: Likewise.
792 * sunrpc/Makefile: Likewise.
793 * io/Makefile: Likewise.
794 * argp/Makefile: Likewise.
795 * inet/Makefile: Likewise.
796 * hesiod/Makefile: Likewise.
797 * grp/Makefile: Likewise.
798 * csu/Makefile: Likewise.
799 * wctype/Makefile: Likewise.
800 * crypt/Makefile: Likewise.
801 * libio/Makefile: Likewise.
802 * string/Makefile: Likewise.
803 * nis/Makefile: Likewise.
804 * resolv/Makefile: Likewise.
805 * stdio-common/Makefile: Likewise.
806 * wcsmbs/Makefile: Likewise.
807 * dlfcn/Makefile: Likewise.
808 * posix/Makefile: Likewise.
809
810 * timezone/Makefile: Don't install timezone files, just the programs
811 and scripts.
812
813 2012-03-06 Ulrich Drepper <drepper@gmail.com>
814
815 * nss/databases.def: Add missing gshadow entry.
816
817 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
818
819 2012-03-06 Marek Polacek <polacek@redhat.com>
820
821 [BZ #13726]
822 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
823 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
824 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
825 * stdio-common/tst-long-dbl-fphex.c: New file.
826
827 2012-03-06 David S. Miller <davem@davemloft.net>
828
829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
830 (set_obp_int): New function.
831 (get_obp_int): New function.
832 (__get_clockfreq_via_dev_openprom): Likewise.
833 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
834 Avoid unused variable warnings on 'val' and use builtin_expect.
835 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
836 __builtin_expect.
837 (INLINE_CLONE_SYSCALL): Likewise.
838
839 2012-03-05 David S. Miller <davem@davemloft.net>
840
841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
842
843 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
844
845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
846
847 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
848 only for |x| >= 40.
849 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
850
851 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
852
853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
854 Replace gettimeofday with __vdso_gettimeofday.
855
856 * sysdeps/unix/sysv/linux/x86_64/init-first.c
857 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
858 __vdso_clock_gettime and __vdso_getcpu.
859
860 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
861 time with __vdso_time.
862
863 2012-03-05 Joseph Myers <joseph@codesourcery.com>
864
865 * manual/lang.texi (size_t): Note types to which size_t may be
866 equivalent with the GNU C Library, but do not describe when
867 differences between them are significant.
868
869 2012-03-05 Andreas Jaeger <aj@suse.de>
870
871 * sysdeps/i386/fpu/libm-test-ulps: Update.
872
873 2012-03-05 Joseph Myers <joseph@codesourcery.com>
874
875 [BZ #3976]
876 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
877 (__ieee754_pow): Save and restore rounding mode and use
878 round-to-nearest for main computations.
879 * math/libm-test.inc (pow_test_tonearest): New function.
880 (pow_test_towardzero): Likewise.
881 (pow_test_downward): Likewise.
882 (pow_test_upward): Likewise.
883 (main): Call the new functions.
884 * sysdeps/i386/fpu/libm-test-ulps: Update.
885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
886
887 [BZ #3976]
888 * math/libm-test.inc (cosh_test_tonearest): New function.
889 (cosh_test_towardzero): Likewise.
890 (cosh_test_downward): Likewise.
891 (cosh_test_upward): Likewise.
892 (sinh_test_tonearest): Likewise.
893 (sinh_test_towardzero): Likewise.
894 (sinh_test_downward): Likewise.
895 (sinh_test_upward): Likewise.
896 (main): Call the new functions.
897 * sysdeps/i386/fpu/libm-test-ulps: Update.
898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
899
900 2012-03-05 Tom de Vries <tom@codesourcery.com>
901
902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
903 default stack guard is set in last bytes.
904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
905
906 2012-03-05 Kees Cook <keescook@chromium.org>
907
908 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
909
910 [BZ #13656]
911 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
912 possibly allocate from heap instead of stack.
913 * stdio-common/bug-vfprintf-nargs.c: New file.
914 * stdio-common/Makefile (tests): Add nargs overflow test.
915
916 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
917
918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
919
920 2012-03-03 Marek Polacek <polacek@redhat.com>
921
922 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
923 * math/math_private.h: Likewise.
924 * stdlib/tst-strtod.c: Likewise.
925 * sysdeps/i386/i486/bits/atomic.h: Likewise.
926 * sysdeps/x86_64/bits/atomic.h: Likewise.
927
928 2012-03-02 David S. Miller <davem@davemloft.net>
929
930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
934 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
935 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
936 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
937 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
938
939 2012-03-02 Roland McGrath <roland@hack.frob.com>
940
941 [BZ #13792]
942 * manual/examples/README: New file, says the example source files
943 can be used under GPL>=2.
944 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
945 line containing just "*/".
946 * manual/examples/add.c: Add copyright header (GPL>=2).
947 * manual/examples/argp-ex1.c: Likewise.
948 * manual/examples/argp-ex2.c: Likewise.
949 * manual/examples/argp-ex3.c: Likewise.
950 * manual/examples/argp-ex4.c: Likewise.
951 * manual/examples/atexit.c: Likewise.
952 * manual/examples/db.c: Likewise.
953 * manual/examples/dir.c: Likewise.
954 * manual/examples/dir2.c: Likewise.
955 * manual/examples/execinfo.c: Likewise.
956 * manual/examples/filecli.c: Likewise.
957 * manual/examples/filesrv.c: Likewise.
958 * manual/examples/fmtmsgexpl.c: Likewise.
959 * manual/examples/genpass.c: Likewise.
960 * manual/examples/inetcli.c: Likewise.
961 * manual/examples/inetsrv.c: Likewise.
962 * manual/examples/isockad.c: Likewise.
963 * manual/examples/longopt.c: Likewise.
964 * manual/examples/memopen.c: Likewise.
965 * manual/examples/memstrm.c: Likewise.
966 * manual/examples/mkfsock.c: Likewise.
967 * manual/examples/mkisock.c: Likewise.
968 * manual/examples/mygetpass.c: Likewise.
969 * manual/examples/pipe.c: Likewise.
970 * manual/examples/popen.c: Likewise.
971 * manual/examples/rprintf.c: Likewise.
972 * manual/examples/search.c: Likewise.
973 * manual/examples/select.c: Likewise.
974 * manual/examples/setjmp.c: Likewise.
975 * manual/examples/sigh1.c: Likewise.
976 * manual/examples/sigusr.c: Likewise.
977 * manual/examples/stpcpy.c: Likewise.
978 * manual/examples/strdupa.c: Likewise.
979 * manual/examples/strftim.c: Likewise.
980 * manual/examples/strncat.c: Likewise.
981 * manual/examples/subopt.c: Likewise.
982 * manual/examples/swapcontext.c: Likewise.
983 * manual/examples/termios.c: Likewise.
984 * manual/examples/testopt.c: Likewise.
985 * manual/examples/testpass.c: Likewise.
986 * manual/examples/timeval_subtract.c: Likewise.
987
988 [BZ #13792]
989 * manual/time.texi (Elapsed Time): Move timeval_subtract example
990 function to ...
991 * manual/timeval_subtract.c.texi: ... here, new file.
992
993 2012-03-02 David S. Miller <davem@davemloft.net>
994
995 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
996
997 2012-03-02 Joseph Myers <joseph@codesourcery.com>
998
999 [BZ #3976]
1000 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1001 (__sin): Save and restore rounding mode and use round-to-nearest
1002 for all computations.
1003 (__cos): Save and restore rounding mode and use round-to-nearest
1004 for all computations.
1005 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1006 <fenv.h>.
1007 (tan): Save and restore rounding mode and use round-to-nearest for
1008 all computations.
1009 * math/libm-test.inc (cos_test_tonearest): New function.
1010 (cos_test_towardzero): Likewise.
1011 (cos_test_downward): Likewise.
1012 (cos_test_upward): Likewise.
1013 (sin_test_tonearest): Likewise.
1014 (sin_test_towardzero): Likewise.
1015 (sin_test_downward): Likewise.
1016 (sin_test_upward): Likewise.
1017 (tan_test_tonearest): Likewise.
1018 (tan_test_towardzero): Likewise.
1019 (tan_test_downward): Likewise.
1020 (tan_test_upward): Likewise.
1021 (main): Call the new functions.
1022 * sysdeps/i386/fpu/libm-test-ulps: Update.
1023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1024
1025 [BZ #10135]
1026 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1027 small n, then large n, before computing and testing k+n.
1028 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1030 Likewise.
1031 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1032 Likewise.
1033 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1034 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1035 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1036 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1037 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1038 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1039 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1040 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1041 * math/libm-test.inc (scalbn_test): Add more tests.
1042 (scalbln_test): Likewise.
1043
1044 * manual/filesys.texi (mode_t): Describe constraints on size and
1045 signedness, not exact equivalence to a particular type.
1046 (ino_t): Likewise.
1047 (ino64_t): Likewise.
1048 (dev_t): Likewise.
1049 (nlink_t): Likewise.
1050 (blkcnt_t): Likewise.
1051 (blkcnt64_t): Likewise.
1052 * manual/llio.texi (off_t): Likewise.
1053
1054 [BZ #3976]
1055 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1056 (__ieee754_exp): Save and restore rounding mode and use
1057 round-to-nearest for all computations.
1058 * math/libm-test.inc (exp_test_tonearest): New function.
1059 (exp_test_towardzero): Likewise.
1060 (exp_test_downward): Likewise.
1061 (exp_test_upward): Likewise.
1062 (main): Call the new functions.
1063 * sysdeps/i386/fpu/libm-test-ulps: Update.
1064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1065
1066 2012-03-01 Chris Demetriou <cgd@google.com>
1067
1068 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1069 have predictable order.
1070
1071 2012-03-01 David S. Miller <davem@davemloft.net>
1072
1073 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1074
1075 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1076 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1077 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1078 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1079
1080 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1081 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1082 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1084 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1085 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1086 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1087 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1088 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1089
1090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1091
1092 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1093 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1094 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1095
1096 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1097 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1098 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1099 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1100 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1101 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1103 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1104 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1105 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1106 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1109 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1110 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1112 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1113 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1114 * sysdeps/sparc/elf/configure: Regenerated.
1115
1116 2012-03-01 Joseph Myers <joseph@codesourcery.com>
1117
1118 * configure.in (AS, LD): Require binutils 2.20 or later.
1119 * configure: Regenerated.
1120 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1121 as required minimum version.
1122 * INSTALL: Regenerated.
1123
1124 [BZ #2541]
1125 [BZ #4108]
1126 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1127 before squaring exponent.
1128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1129 bottom long double and 27 bits of top long double before squaring
1130 exponent.
1131 * math/libm-test.inc (erfc_test): Add more tests.
1132 * sysdeps/i386/fpu/libm-test-ulps: Update.
1133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1135
1136 2012-03-01 Kai Tietz <ktietz@redhat.com>
1137
1138 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1139 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1140 containing bit-fields.
1141 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1142 * soft-fp/single.h (_FP_UNION_S): Likewise.
1143 * soft-fp/double.h (_FP_UNION_D): Likewise.
1144
1145 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1146
1147 [BZ #13786]
1148 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1149 not include ../strcmp.S.
1150 [USE_AS_STRNCASECMP_L]: Likewise.
1151 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1152 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1153 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1154 (__strncasecmp_l_ia32): Define as alias to
1155 __strncasecmp_l_nonascii.
1156
1157 [BZ #5794]
1158 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1159 * sysdeps/i386/fpu/libm-test-ulps: Update.
1160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1161
1162 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1164
1165 2012-02-29 Jeff Law <law@redhat.com>
1166
1167 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1168 out of bounds read.
1169
1170 2012-02-29 Marek Polacek <polacek@redhat.com>
1171
1172 [BZ #13706]
1173 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1174 * elf/Makefile: Add rules to run tst-unused-dep.out.
1175
1176 2012-02-28 David S. Miller <davem@davemloft.net>
1177
1178 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1179 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1180 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1182 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1183 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1184
1185 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1186
1187 * math/libm-test.inc (llround_test): Move one test from
1188 lround_test. Use TEST_f_L in moved test.
1189 (lround_test): Move misplaced test to llround_test. Add testcase
1190 from bug 2561.
1191
1192 2012-02-28 Ulrich Drepper <drepper@gmail.com>
1193
1194 * sysdeps/x86_64/fpu/e_expf.S: New file.
1195 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1196
1197 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1198
1199 [BZ #13637]
1200 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1201 of remain_len that may cause incomplete multi-byte character and
1202 false match.
1203 * posix/bug-regex33.c: New file.
1204 * posix/Makefile (tests): Add bug-regex33.
1205
1206 2012-02-28 Joseph Myers <joseph@codesourcery.com>
1207
1208 * manual/macros.texi: New file.
1209 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1210 * manual/libc.texinfo: Include macros.texi.
1211 * manual/creatute.texi: Likewise.
1212 * manual/install.texi: Likewise.
1213 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1214 @glibcadj{} in references to the GNU C Library.
1215 * manual/charset.texi: Likewise.
1216 * manual/conf.texi: Likewise.
1217 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1218 when not using those macros.
1219 * manual/creature.texi: Likewise.
1220 * manual/crypt.texi: Likewise.
1221 * manual/errno.texi: Likewise.
1222 * manual/filesys.texi: Likewise.
1223 * manual/header.texi: Likewise.
1224 * manual/install.texi: Likewise.
1225 * manual/intro.texi: Likewise.
1226 * manual/io.texi: Likewise.
1227 * manual/job.texi: Likewise.
1228 * manual/lang.texi: Likewise.
1229 * manual/libc.texiinfo: Likewise.
1230 * manual/llio.texi: Likewise.
1231 * manual/locale.texi: Likewise.
1232 * manual/maint.texi: Likewise.
1233 * manual/math.texi: Likewise.
1234 * manual/memory.texi: Likewise.
1235 * manual/message.texi: Likewise.
1236 * manual/nss.texi: Likewise.
1237 * manual/pattern.texi: Likewise.
1238 * manual/process.texi: Likewise.
1239 * manual/resource.texi: Likewise.
1240 * manual/search.texi: Likewise.
1241 * manual/setjmp.texi: Likewise.
1242 * manual/signal.texi: Likewise.
1243 * manual/socket.texi: Likewise.
1244 * manual/startup.texi: Likewise.
1245 * manual/stdio.texi: Likewise.
1246 * manual/string.texi: Likewise.
1247 * manual/sysinfo.texi: Likewise.
1248 * manual/syslog.texi: Likewise.
1249 * manual/terminal.texi: Likewise.
1250 * manual/time.texi: Likewise.
1251 * manual/users.texi: Likewise.
1252 * INSTALL: Regenerated.
1253 * NOTES: Regenerated.
1254 * sysdeps/gnu/errlist.c: Regenerated.
1255
1256 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1257
1258 * include/dirent.h: Include <dirstream.h> before
1259 <dirent/dirent.h>.
1260
1261 2012-02-28 David S. Miller <davem@davemloft.net>
1262
1263 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1264 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1265 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1266 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1267
1268 2012-02-27 David S. Miller <davem@davemloft.net>
1269
1270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1272 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1273 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1274
1275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1276 frame pointer instead of stack pointer relative arg slot.
1277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1278 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1279 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1280
1281 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1282
1283 [BZ #3992]
1284 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1285
1286 2012-02-27 David S. Miller <davem@davemloft.net>
1287
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1292 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1293 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1294 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1295 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1296
1297 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1298
1299 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1300 later. Allow versions 5-9.
1301 * configure: Regenerated.
1302 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1303 required minimum version and 4.6 as recommended version. Do not
1304 mention bugs in GCC 2.7 and 2.8.
1305 * INSTALL: Regenerated.
1306
1307 2012-02-27 David S. Miller <davem@davemloft.net>
1308
1309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1313 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1314 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1315 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1316 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1317
1318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1319 manipulate bits before adding and subtracting TWO112[sx].
1320 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1321
1322 2012-02-27 Roland McGrath <roland@hack.frob.com>
1323
1324 [BZ #13775]
1325 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1326 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1327 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1328 being in POSIX, because they are in 1003.1-2008.
1329
1330 * rt/tst-aio.c: Include <fcntl.h>.
1331 * rt/tst-aio7.c: Likewise.
1332 * rt/tst-aio64.c: Likewise.
1333
1334 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1335
1336 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1337
1338 * manual/install.texi (--with-headers): Describe headers as
1339 interface headers, not private headers.
1340 (Specific advice for GNU/Linux systems): Describe use of headers
1341 from "make headers_install", not private headers from older
1342 kernels.
1343 * INSTALL: Regenerated.
1344 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1345 Change to 2.6.19.
1346 * sysdeps/unix/sysv/linux/configure: Regenerated.
1347
1348 * manual/llio.texi (fclean): Remove documentation.
1349
1350 * manual/Makefile (libc-texi-generated): New variable. Include
1351 version.texi.
1352 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1353 $(libc-texi-generated), not duplicated list of files.
1354 (version.texi, stamp-version): New rules.
1355 (realclean): Remove $(libc-texi-generated), not individual files
1356 from that list. Do not remove dir-add.texinfo.
1357 * manual/libc.texinfo: Comment out uses of edition numbers and
1358 references to printed manual. Remove last-updated dates.
1359 (EDITION): Comment out.
1360 (ISBN): Likewise.
1361 (VERSION, UPDATED): Remove.
1362 (version.texi): Include.
1363
1364 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1365
1366 * sysdeps/posix/spawni.c: Include <signal.h>.
1367 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1368 * sysdeps/pthread/aio_fsync.c: Likewise.
1369
1370 2012-02-26 Ulrich Drepper <drepper@gmail.com>
1371
1372 * conform/Makefile (tests): Run only when not cross-compiling and
1373 when fast-check is not defined.
1374
1375 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1376 * conform/data/limits.h-data: Fixes for POSIX2008.
1377 * conform/run-conformtest.sh: Run all tests.
1378 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1379 headers.
1380 * include/bits/dlfcn.h: Likewise.
1381 * include/langinfo.h: Likewise.
1382 * include/monetary.h: Likewise.
1383 * include/sys/poll.h: Likewise.
1384
1385 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1386 for __USE_GNU.
1387 * posix/spawn.h: Define __need_sigset_t.
1388 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1389 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1390 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1391 to get sigevent_t only.
1392 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1393 only for __USE_GNU.
1394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1395 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1396 process_vm_writev only for __USE_GNU.
1397 * termios/termios.h: Declare tcgetsid also for POSIX2008.
1398
1399 * conform/Makefile: For now ignore errors from run-conformtest.
1400 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1401 POSIX to avoid namespace pollution. Don't prepend headers.
1402 * conform/data/aio.h-data: Fixes for POSIX testing.
1403 * conform/data/fcntl.h-data: Likewise.
1404 * conform/data/glob.h-data: Likewise.
1405 * conform/data/grp.h-data: Likewise.
1406 * conform/data/pthread.h-data: Likewise.
1407 * conform/data/pwd.h-data: Likewise.
1408 * conform/data/signal.h-data: Likewise.
1409 * conform/data/spawn.h-data: Likewise.
1410 * conform/data/stdio.h-data: Likewise.
1411 * conform/data/stdlib.h-data: Likewise.
1412 * conform/data/stropts.h-data: Likewise.
1413 * conform/data/sys/mman.h-data: Likewise.
1414 * conform/data/sys/stat.h-data: Likewise.
1415 * conform/data/sys/types.h-data: Likewise.
1416 * conform/data/sys/wait.h-data: Likewise.
1417 * conform/data/time.h-data: Likewise.
1418 * conform/data/unistd.h-data: Likewise.
1419 * conform/data/utime.h-data: Likewise.
1420
1421 * io/sys/stat.h: fchmod was always in POSIX.
1422 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1423 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1424 * rt/aio.h: Define __need_timespec before including <time.h>.
1425 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1426 struct. Add forward declaration of pthread_attr_t and use it in
1427 sigevent.
1428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1429 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1430 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1431 always remove CLK_TCK definition.
1432
1433 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1434
1435 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1436
1437 2012-02-25 Ulrich Drepper <drepper@gmail.com>
1438
1439 * conform/run-conformtest.sh: New file.
1440 * conform/Makefile: Run run-conformtest for tests.
1441 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1442 support.
1443
1444 * conform/data/uchar.h-data: New file.
1445 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1446 * conform/data/arpa/inet.h-data: Likewise.
1447 * conform/data/assert.h-data: Likewise.
1448 * conform/data/complex.h-data: Likewise.
1449 * conform/data/cpio.h-data: Likewise.
1450 * conform/data/ctype.h-data: Likewise.
1451 * conform/data/dirent.h-data: Likewise.
1452 * conform/data/dlfcn.h-data: Likewise.
1453 * conform/data/errno.h-data: Likewise.
1454 * conform/data/fcntl.h-data: Likewise.
1455 * conform/data/float.h-data: Likewise.
1456 * conform/data/fmtmsg.h-data: Likewise.
1457 * conform/data/fnmatch.h-data: Likewise.
1458 * conform/data/ftw.h-data: Likewise.
1459 * conform/data/glob.h-data: Likewise.
1460 * conform/data/grp.h-data: Likewise.
1461 * conform/data/iconv.h-data: Likewise.
1462 * conform/data/inttypes.h-data: Likewise.
1463 * conform/data/langinfo.h-data: Likewise.
1464 * conform/data/libgen.h-data: Likewise.
1465 * conform/data/limits.h-data: Likewise.
1466 * conform/data/locale.h-data: Likewise.
1467 * conform/data/math.h-data: Likewise.
1468 * conform/data/monetary.h-data: Likewise.
1469 * conform/data/mqueue.h-data: Likewise.
1470 * conform/data/ndbm.h-data: Likewise.
1471 * conform/data/net/if.h-data: Likewise.
1472 * conform/data/netdb.h-data: Likewise.
1473 * conform/data/netinet/in.h-data: Likewise.
1474 * conform/data/nl_types.h-data: Likewise.
1475 * conform/data/poll.h-data: Likewise.
1476 * conform/data/pthread.h-data: Likewise.
1477 * conform/data/pwd.h-data: Likewise.
1478 * conform/data/regex.h-data: Likewise.
1479 * conform/data/sched.h-data: Likewise.
1480 * conform/data/search.h-data: Likewise.
1481 * conform/data/semaphore.h-data: Likewise.
1482 * conform/data/setjmp.h-data: Likewise.
1483 * conform/data/signal.h-data: Likewise.
1484 * conform/data/spawn.h-data: Likewise.
1485 * conform/data/stdarg.h-data: Likewise.
1486 * conform/data/stdio.h-data: Likewise.
1487 * conform/data/stdlib.h-data: Likewise.
1488 * conform/data/string.h-data: Likewise.
1489 * conform/data/strings.h-data: Likewise.
1490 * conform/data/stropts.h-data: Likewise.
1491 * conform/data/sys/ipc.h-data: Likewise.
1492 * conform/data/sys/mman.h-data: Likewise.
1493 * conform/data/sys/msg.h-data: Likewise.
1494 * conform/data/sys/resource.h-data: Likewise.
1495 * conform/data/sys/select.h-data: Likewise.
1496 * conform/data/sys/sem.h-data: Likewise.
1497 * conform/data/sys/shm.h-data: Likewise.
1498 * conform/data/sys/socket.h-data: Likewise.
1499 * conform/data/sys/stat.h-data: Likewise.
1500 * conform/data/sys/statvfs.h-data: Likewise.
1501 * conform/data/sys/time.h-data: Likewise.
1502 * conform/data/sys/timeb.h-data: Likewise.
1503 * conform/data/sys/times.h-data: Likewise.
1504 * conform/data/sys/types.h-data: Likewise.
1505 * conform/data/sys/uio.h-data: Likewise.
1506 * conform/data/sys/un.h-data: Likewise.
1507 * conform/data/sys/utsname.h-data: Likewise.
1508 * conform/data/sys/wait.h-data: Likewise.
1509 * conform/data/syslog.h-data: Likewise.
1510 * conform/data/tar.h-data: Likewise.
1511 * conform/data/termios.h-data: Likewise.
1512 * conform/data/utime.h-data: Likewise.
1513 * conform/data/utmpx.h-data: Likewise.
1514 * conform/data/varargs.h-data: Likewise.
1515 * conform/data/wchar.h-data: Likewise.
1516 * conform/data/wctype.h-data: Likewise.
1517 * conform/data/wordexp.h-data: Likewise.
1518
1519 * include/stropts.h: New file.
1520 * include/uchar.h: New file.
1521 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1522 * include/assert.h: Likewise.
1523 * include/ctype.h: Likewise.
1524 * include/dirent.h: Likewise.
1525 * include/dlfcn.h: Likewise.
1526 * include/fcntl.h: Likewise.
1527 * include/fnmatch.h: Likewise.
1528 * include/glob.h: Likewise.
1529 * include/grp.h: Likewise.
1530 * include/libio.h: Likewise.
1531 * include/locale.h: Likewise.
1532 * include/math.h: Likewise.
1533 * include/net/if.h: Likewise.
1534 * include/netdb.h: Likewise.
1535 * include/netinet/in.h: Likewise.
1536 * include/pthread.h: Likewise.
1537 * include/pwd.h: Likewise.
1538 * include/regex.h: Likewise.
1539 * include/sched.h: Likewise.
1540 * include/search.h: Likewise.
1541 * include/setjmp.h: Likewise.
1542 * include/signal.h: Likewise.
1543 * include/stdio.h: Likewise.
1544 * include/stdlib.h: Likewise.
1545 * include/string.h: Likewise.
1546 * include/sys/cdefs.h: Likewise.
1547 * include/sys/mman.h: Likewise.
1548 * include/sys/msg.h: Likewise.
1549 * include/sys/resource.h: Likewise.
1550 * include/sys/select.h: Likewise.
1551 * include/sys/socket.h: Likewise.
1552 * include/sys/stat.h: Likewise.
1553 * include/sys/statvfs.h: Likewise.
1554 * include/sys/time.h: Likewise.
1555 * include/sys/times.h: Likewise.
1556 * include/sys/uio.h: Likewise.
1557 * include/sys/utsname.h: Likewise.
1558 * include/sys/wait.h: Likewise.
1559 * include/termios.h: Likewise.
1560 * include/time.h: Likewise.
1561 * include/ulimit.h: Likewise.
1562 * include/unistd.h: Likewise.
1563 * include/utime.h: Likewise.
1564 * include/wchar.h: Likewise.
1565 * include/wctype.h: Likewise.
1566 * include/wordexp.h: Likewise.
1567
1568 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1569
1570 * time/time.h: TIME_UTC must be a macro.
1571 Make timespec_get available for ISO C11 only as well.
1572
1573 2012-02-24 Ulrich Drepper <drepper@gmail.com>
1574
1575 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1576 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1577
1578 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1579
1580 * configure.in: Use -o not -a in test for unsupported multi-arch.
1581
1582 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1583
1584 * manual/texinfo.tex: Update to version 2012-01-19.16.
1585
1586 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1587
1588 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1589
1590 2012-02-24 Roland McGrath <roland@hack.frob.com>
1591
1592 [BZ #13738]
1593 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1594 * manual/fdl-1.3.texi: New file.
1595 * manual/fdl-1.1.texi: File removed.
1596
1597 [BZ #13738]
1598 * manual/libc.texinfo (FDL_VERSION): New @set.
1599 Use it for mention of FDL in cover text.
1600 (Documentation License): Use it in @include file name.
1601
1602 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1603 Roland McGrath <roland@hack.frob.com>
1604
1605 [BZ #5461]
1606 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1607 not LONG_LONG_MAX and LONG_LONG_MIN.
1608 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1609 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1610 name.
1611 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1612
1613 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1614
1615 [BZ #2547]
1616 [BZ #11365]
1617 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1618 manipulate bits before adding and subtracting TWO23[sx].
1619 * math/libm-test.inc (nearbyint_test): Add more tests.
1620
1621 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1622
1623 [BZ #2548]
1624 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1625 bits before adding and subtracting TWO23[sx].
1626 * math/libm-test.inc (rint_test): Add more tests.
1627 (rint_test_tonearest): Likewise.
1628 (rint_test_towardzero): Likewise.
1629 (rint_test_downward): Likewise.
1630 (rint_test_upward: Likewise.
1631
1632 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1633
1634 [BZ #10110]
1635 * include/stdc-predef.h: New file. Extracted from features.h.
1636 * include/features.h: Include stdc-predef.h.
1637 * Makefile (headers): Add stdc-predef.h.
1638 * CONFORMANCE (Compiler limitations): Update.
1639
1640 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1641
1642 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1643
1644 2012-02-21 David S. Miller <davem@davemloft.net>
1645
1646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1648
1649 2012-02-20 David S. Miller <davem@davemloft.net>
1650
1651 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1652 using a normal save/restore sequence, rather than allocating a
1653 dummy stack frame just to store a frame pointer and restore.
1654 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1655
1656 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1657
1658 * manual/install.texi: Fix stray word in line-wrapped comment.
1659
1660 2012-02-20 David S. Miller <davem@davemloft.net>
1661
1662 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1663 both binutils and gcc support GOTDATA.
1664
1665 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1666 "rd %pc" in the PIC register setup sequences.
1667
1668 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1669 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1670 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1671 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1672 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1674 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1675 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1677 (SYSCALL_ERROR_HANDLER): Likewise.
1678 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1679 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1681 (SYSCALL_ERROR_HANDLER): Likewise.
1682
1683 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1684 (HAVE_GCC_GOTDATA): New.
1685 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1686 relocation support in both binutils and gcc.
1687 * sysdeps/sparc/elf/configure: Regenerate.
1688
1689 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1690 * sysdeps/sparc/sparc32/elf/configure: Delete.
1691 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1692 * sysdeps/sparc/sparc64/elf/configure: Delete.
1693 * sysdeps/sparc/elf/configure.in: New file.
1694 * sysdeps/sparc/elf/configure: Generate.
1695
1696 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1697 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1698 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1699 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1700 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1701
1702 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1703
1704 * manual/install.texi: Do not mention specific glibc version
1705 numbers.
1706 * manual/libc.texinfo (VERSION, UPDATED): Update.
1707 (@copying): Use @copyright{} and range of years.
1708
1709 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1710
1711 [BZ #13695]
1712 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1713 [crti.S not in sysdirs] (generated): Do not append.
1714 [crti.S not in sysdirs] (omit-deps): Likewise.
1715 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1716 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1717 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1718 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1719 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1720 Likewise.
1721 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1722 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1723 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1724 * csu/defs.awk: Remove file.
1725 * sysdeps/generic/initfini.c: Likewise.
1726 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1727 variable.
1728 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1729 Likewise.
1730
1731 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1732
1733 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1734 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1735 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1736 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1738 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1739 <bits/epoll.h>.
1740 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1741 (__EPOLL_PACKED): Define to empty if not defined by
1742 <bits/epoll.h>.
1743 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1745 bits/epoll.h.
1746
1747 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1748
1749 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1750 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1751 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1752 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1753 <bits/timerfd.h>.
1754 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1756 bits/timerfd.h.
1757
1758 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1759
1760 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1761 in C locale.
1762 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1763 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1764 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1766
1767 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1768
1769 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1770 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1771
1772 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1773
1774 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1775 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1776 defined.
1777 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1778 Likewise.
1779 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1780 entry for 2.16.
1781
1782 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1783
1784 * math/w_acos.c: Use non-signaling floating-point comparisons.
1785 * math/w_acosf.c: Likewise.
1786 * math/w_acosh.c: Likewise.
1787 * math/w_acoshf.c: Likewise.
1788 * math/w_acoshl.c: Likewise.
1789 * math/w_acosl.c: Likewise.
1790 * math/w_asin.c: Likewise.
1791 * math/w_asinf.c: Likewise.
1792 * math/w_asinl.c: Likewise.
1793 * math/w_atanh.c: Likewise.
1794 * math/w_atanhf.c: Likewise.
1795 * math/w_atanhl.c: Likewise.
1796 * math/w_exp2.c: Likewise.
1797 * math/w_exp2f.c: Likewise.
1798 * math/w_exp2l.c: Likewise.
1799 * math/w_j0.c: Likewise.
1800 * math/w_j0f.c: Likewise.
1801 * math/w_j0l.c: Likewise.
1802 * math/w_j1.c: Likewise.
1803 * math/w_j1f.c: Likewise.
1804 * math/w_j1l.c: Likewise.
1805 * math/w_jn.c: Likewise.
1806 * math/w_jnf.c: Likewise.
1807 * math/w_log.c: Likewise.
1808 * math/w_log10.c: Likewise.
1809 * math/w_log10f.c: Likewise.
1810 * math/w_log10l.c: Likewise.
1811 * math/w_log2.c: Likewise.
1812 * math/w_log2f.c: Likewise.
1813 * math/w_log2l.c: Likewise.
1814 * math/w_logf.c: Likewise.
1815 * math/w_logl.c: Likewise.
1816 * math/w_sqrt.c: Likewise.
1817 * math/w_sqrtf.c: Likewise.
1818 * math/w_sqrtl.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1820 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1821 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1822 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1823 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1824
1825 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1826
1827 [BZ #9739]
1828 * manual/string.texi (strnlen): Use correct parameter name in
1829 equivalent expression.
1830
1831 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1832
1833 [BZ #11174]
1834 * manual/users.texi (seteuid): Consistently use neweuid for
1835 argument name.
1836
1837 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1838
1839 [BZ #13704]
1840 * manual/nss.texi (Services in the NSS configuration): Correct
1841 list of services in example configuration file.
1842
1843 2012-02-19 Nick Bowler <nbowler@draconx.ca>
1844
1845 [BZ #11322]
1846 * manual/arith.texi: Remove statements about negative zero
1847 behaving identically to zero.
1848
1849 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1850
1851 [BZ #5993]
1852 * manual/install.texi: Do not document upgrading from libc5.
1853
1854 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1855
1856 [BZ #4596]
1857 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1858
1859 2012-02-18 David S. Miller <davem@davemloft.net>
1860
1861 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1862 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1863 %o7 across the call.
1864 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1865 instead.
1866 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1867 SETUP_PIC_REG_LEAF.
1868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1869 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1870 * sysdeps/sparc/crtn.S: Likewise.
1871
1872 2012-02-17 Ulrich Drepper <drepper@gmail.com>
1873
1874 * aout/Makefile: Remove.
1875
1876 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1877
1878 [BZ #13058]
1879 * manual/examples/argp-ex1.c (main): Format definition in GNU
1880 style.
1881 * manual/examples/argp-ex2.c (main): Likewise.
1882 * manual/examples/argp-ex3.c (main): Likewise.
1883 * manual/examples/argp-ex4.c (main): Likewise.
1884 * manual/examples/longopt.c (main): Use new-style prototype
1885 definition.
1886 * manual/examples/strncat.c (main): Specify return type and use
1887 (void) for arguments.
1888 * manual/examples/subopt.c (main): Use char **argv argument.
1889
1890 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1891
1892 [BZ #5077]
1893 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1894 rounding modes.
1895
1896 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1897
1898 [BZ #6907]
1899 * manual/string.texi (strchr): Change when strchrnul is
1900 recommended.
1901
1902 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1903
1904 [BZ #174]
1905 * manual/locale.texi (setlocale): Document LOCPATH.
1906
1907 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1908
1909 [BZ #10210]
1910 * manual/process.texi (execle): Move @dots{} before last argument.
1911
1912 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
1913
1914 [BZ #12047]
1915 * manual/charset.texi (Generic Charset Conversion): Fix typo
1916 (LC_TYPE -> LC_CTYPE).
1917
1918 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1919
1920 [BZ #5805]
1921 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1922 (scalbnf): Likewise.
1923 (scalbnl): Likewise.
1924 (scalbln): Likewise.
1925 (scalblnf): Likewise.
1926 (scalblnl): Likewise.
1927 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1928 (vwarnx): Likewise.
1929 (verr): Likewise.
1930 (verrx): Likewise.
1931 * manual/filesys.texi (telldir): Use braces around return type.
1932 * manual/llio.texi (mmap): Add space after comma.
1933 (mmap64): Likewise.
1934 * manual/math.texi (jn): Use @var{} on parameter names.
1935 (jnf): Likewise.
1936 (jnl): Likewise.
1937 (yn): Likewise.
1938 (ynf): Likewise.
1939 (ynl): Likewise.
1940 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1941 line.
1942 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1943 "...".
1944 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1945 (sched_get_priority_max): Likewise.
1946 * manual/signal.texi (sigvec): Add space after comma.
1947 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1948 names.
1949 (if_indextoname): Likewise.
1950 (if_freenameindex): Likewise.
1951 (sendto): Use ',' instead of '.' in prototype.
1952 * manual/startup.texi (syscall): Use @dots{} instead of literal
1953 "...".
1954 * manual/stdio.texi (__fpending): Separate initial words of
1955 paragraph from @deftypefun line.
1956 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1957 "...".
1958 (vsyslog): Use @var{} on parameter names.
1959 * manual/terminal.texi (stty): Use @var{} on parameter names.
1960 * manual/users.texi (getutmp): Use @var{} on parameter names.
1961 (getutmpx): Likewise.
1962
1963 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1964
1965 [BZ #6884]
1966 * manual/stdio.texi (fopen): Fix typos in description of
1967 ",ccs=STRING".
1968
1969 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1970
1971 [BZ #4026]
1972 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1973 get clock_id definition.
1974
1975 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
1976
1977 [BZ #4822]
1978 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1979 (madvise): Cast every argument to void on its own.
1980
1981 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1982
1983 [BZ #9902]
1984 * manual/startup.texi (Exit Status): Fix typo.
1985
1986 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1987
1988 [BZ #10140]
1989 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1990 * manual/examples/argp-ex2.c: Likewise.
1991 * manual/examples/argp-ex3.c: Likewise.
1992
1993 2012-02-16 Richard Henderson <rth@redhat.com>
1994
1995 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1996 * sysdeps/s390/s390-32/initfini.c: Remove.
1997 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1998 * sysdeps/s390/s390-64/initfini.c: Remove.
1999
2000 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2001
2002 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2003 compiler output for sysdeps/generic/initfini.c.
2004 * sysdeps/sh/elf/initfini.c: Remove file.
2005
2006 2012-02-16 David S. Miller <davem@davemloft.net>
2007
2008 [BZ #11494]
2009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2010
2011 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2012 * sysdeps/sparc/crti.S: New file.
2013 * sysdeps/sparc/crtn.S: New file.
2014 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2015 * sysdeps/sparc/sparc64/Makefile: Likewise.
2016
2017 2012-02-15 Mike Frysinger <vapier@gentoo.org>
2018
2019 [BZ #3335]
2020 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2021
2022 2012-02-15 Roland McGrath <roland@hack.frob.com>
2023
2024 [BZ #4822]
2025 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2026
2027 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2028 (write, read, close): Likewise.
2029 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2030
2031 2012-02-15 Joseph Myers <joseph@codesourcery.com>
2032
2033 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2034 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2035 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2036 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2037 <bits/signalfd.h>.
2038 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2040 bits/signalfd.h.
2041
2042 2012-02-14 Marek Polacek <polacek@redhat.com>
2043
2044 * sysdeps/x86_64/crti.S: New file.
2045 * sysdeps/x86_64/crtn.S: New file.
2046 * sysdeps/x86_64/elf/initfini.c: Remove file.
2047
2048 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2049
2050 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2051 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2052 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2053 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2054 <bits/inotify.h>.
2055 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2057 bits/inotify.h.
2058
2059 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2060
2061 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2062 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2063 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2064 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2065 <bits/eventfd.h>.
2066 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2068 bits/eventfd.h.
2069
2070 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2071
2072 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2073 __feraiseexcept instead of feraiseexcept.
2074
2075 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2076 nanosleep invocations.
2077 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2078 strings, and add error checking for a nanosleep invocations.
2079
2080 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2081
2082 Replace FSF snail mail address with URLs, as per GNU coding standards.
2083 Most of the snail mail addresses were wrong anyway, and omitting
2084 them makes the source code easier to maintain. Almost all of the
2085 changes are to license notices and to locale LC_IDENTIFICATION
2086 addresses, except for this one:
2087 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2088 not its snail mail address.
2089
2090 2012-02-09 Richard Henderson <rth@twiddle.net>
2091
2092 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2093 of kernel-features.h.
2094
2095 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2096
2097 2012-02-08 Marek Polacek <polacek@redhat.com>
2098
2099 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2100 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2101 * sysdeps/gnu/_G_config.h: Likewise.
2102 * sysdeps/generic/_G_config.h: Likewise.
2103
2104 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2105
2106 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2107 tests.
2108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2109
2110 * sysdeps/powerpc/powerpc32/crti.S: New file.
2111 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2112 * sysdeps/powerpc/powerpc64/crti.S: New file.
2113 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2114
2115 * Makeconfig (have-initfini): Don't set.
2116 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2117 * configure.in (nopic_initfini): Don't substitute.
2118 * config.h.in (HAVE_INITFINI): Don't #undef.
2119 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2120 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2121
2122 2012-02-08 Joseph Myers <joseph@codesourcery.com>
2123
2124 Support crti.S and crtn.S provided directly by architectures.
2125 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2126 [crti.S in sysdirs] (omit-deps): Likewise.
2127 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2128 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2129 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2130 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2131 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2132 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2133 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2134 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2135 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2136 compiler output for sysdeps/generic/initfini.c.
2137 * sysdeps/i386/elf/Makefile: Remove file.
2138 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2139
2140 2012-02-07 Marek Polacek <polacek@redhat.com>
2141
2142 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2143 * sysdeps/gnu/_G_config.h: Likewise.
2144 * sysdeps/mach/hurd/_G_config.h: Likewise.
2145
2146 2012-02-07 Marek Polacek <polacek@redhat.com>
2147
2148 * math/Makefile (tests): Add tst-CMPLX2.
2149 * math/tst-CMPLX2.c: New file.
2150
2151 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2152
2153 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2154
2155 * math/libm-test.inc (jn_test): Add missing L suffix.
2156
2157 2012-02-06 Marek Polacek <polacek@redhat.com>
2158
2159 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2160 * sysdeps/i386/fpu/e_powf.S: Likewise.
2161 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2162 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2163 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2164 * sysdeps/i386/fpu/e_pow.S: Likewise.
2165 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2166 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2167 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2168 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2169 * sysdeps/i386/fpu/e_log2.S: Likewise.
2170 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2172 * sysdeps/i386/fpu/e_powl.S: Likewise.
2173 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2174 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2175 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2176 * sysdeps/i386/fpu/e_logl.S: Likewise.
2177 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2178 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2179 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2180 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2181 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2182 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2183 * sysdeps/i386/fpu/e_log.S: Likewise.
2184 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2185 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2186 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2187 * sysdeps/i386/fpu/e_logf.S: Likewise.
2188 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2189 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2190 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2191 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2192 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2193 * sysdeps/i386/fpu/e_log10.S: Likewise.
2194 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2195 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2196 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2197 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2198 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2199 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2200 * sysdeps/i386/asm-syntax.h: Likewise.
2201 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2202 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2203 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2204 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2205 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2206 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2207 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2208 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2209 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2210 * sysdeps/powerpc/sysdep.h: Likewise.
2211 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2212 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2213
2214 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2215
2216 [BZ #411]
2217 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2218
2219 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2220
2221 * sysdeps/i386/sysdep.h: Include <features.h>.
2222 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2223 version.
2224
2225 2012-02-05 Joseph Myers <joseph@codesourcery.com>
2226
2227 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2228 Define.
2229 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2230 LOAD_PIC_REG_STR.
2231
2232 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2233
2234 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2235 (SETUP_PIC_REG): Use GET_PC_THUNK.
2236 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2237 macro.
2238
2239 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2240
2241 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2242 for non-PIC compilation.
2243 (SETUP_PIC_REG): Add .p2align directive.
2244 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2245 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2246 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2247 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2248 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2249 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2250 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2251 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2252 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2253 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2254 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2255 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2256 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2257 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2258 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2259 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2260 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2261 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2262 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2263 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2264 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2265 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2266 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2267 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2270 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2272 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2273 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2275 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2276 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2277 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2278 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2279 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2280 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2281 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2282 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2283 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2284 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2285
2286 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2287
2288 * math/tst-CMPLX.c: Include <stdio.h>.
2289
2290 2012-01-31 Joseph Myers <joseph@codesourcery.com>
2291
2292 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2293 float.
2294 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2295 * sysdeps/sparc/bits/mathdef.h: Likewise.
2296
2297 2012-01-31 Marek Polacek <polacek@redhat.com>
2298
2299 * libio/libio.h: Don't define _PARAMS.
2300 * locale/programs/config.h: Don't define PARAMS.
2301 * stdlib/strtol_l.c: Likewise.
2302 (__strtol_l): Remove PARAMS from the prototype.
2303
2304 2012-01-31 Ulrich Drepper <drepper@gmail.com>
2305
2306 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2307 names. Just use the correct names. Remove unnecessary wrapper
2308 functions.
2309 * malloc/arena.c: Likewise.
2310 * malloc/hooks.c: Likewise.
2311
2312 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2313 ARENA_TEST says not to. Simplify test for creation of a new arena.
2314 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2315
2316 2012-01-30 Ulrich Drepper <drepper@gmail.com>
2317
2318 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2319 into tail calls.
2320 (update_get_addr): New function.
2321 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2322 GET_ADDR_MODULE parameter.
2323
2324 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2325
2326 * crypt/cert.c: Remove __STDC__ conditionals.
2327 * crypt/crypt-entry.c: Likewise.
2328 * crypt/crypt_util.c: Likewise.
2329 * libio/filedoalloc.c: Likewise.
2330 * libio/fileops.c: Likewise.
2331 * libio/genops.c: Likewise.
2332 * libio/iofclose.c: Likewise.
2333 * libio/iofdopen.c: Likewise.
2334 * libio/iofopen.c: Likewise.
2335 * libio/iofopen64.c: Likewise.
2336 * libio/iogetdelim.c: Likewise.
2337 * libio/iopopen.c: Likewise.
2338 * libio/obprintf.c: Likewise.
2339 * libio/oldfileops.c: Likewise.
2340 * libio/oldiofclose.c: Likewise.
2341 * libio/oldiofdopen.c: Likewise.
2342 * libio/oldiofopen.c: Likewise.
2343 * libio/oldiopopen.c: Likewise.
2344 * libio/wfiledoalloc.c: Likewise.
2345 * libio/wgenops.c: Likewise.
2346 * locale/programs/xmalloc.c: Likewise.
2347 * misc/syslog.c: Likewise.
2348 * stdio-common/xbug.c: Likewise.
2349 * string/memchr.c: Likewise.
2350 * string/memcmp.c: Likewise.
2351 * string/memrchr.c: Likewise.
2352 * string/rawmemchr.c: Likewise.
2353 * sysdeps/posix/getcwd.c: Likewise.
2354 * time/strftime_l.c: Likewise.
2355
2356 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2357
2358 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2359 * config.make.in (config-cflags-sse2avx): Define.
2360 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2361 Fix typo.
2362
2363 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2364
2365 * scripts/config.guess: Update from upstream config git repository.
2366 * scripts/config.sub: Likewise.
2367
2368 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2369
2370 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2371 (EM_NUM): Update.
2372 (R_TILEPRO_*, R_TILEGX_*): New macros.
2373
2374 * scripts/firstversions.awk: Fix bug in version range handling.
2375
2376 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2377
2378 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2379
2380 * include/sys/epoll.h: New file.
2381 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2382 libc_hidden_def.
2383
2384 2012-01-28 Ulrich Drepper <drepper@gmail.com>
2385
2386 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2387 Avoid unnecessary __WORDSIZE == 64 test.
2388 (fmaxf): Use VEX format if possible.
2389 (fmax): Likewise.
2390 (fminf): Likewise.
2391 (fmin): Likewise.
2392
2393 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2394 * math/math_private.h: Remove libc_fegetround* and
2395 libc_fesetround*.
2396 * sysdeps/i386/configure.in: Check for -msse2avx.
2397 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2398 also if SSE2AVX is defined.
2399 Remove libc_fegetround* and libc_fesetround*.
2400 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2401 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2403 of HAS_YMM_USABLE.
2404 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2405 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2406 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2407 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2408 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2409
2410 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2411
2412 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2413
2414 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2415 size is not set.
2416 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2417
2418 2012-01-27 Ulrich Drepper <drepper@gmail.com>
2419
2420 [BZ #13618]
2421 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2422 relocation.
2423 * Makeconfig (libm): Define.
2424 * elf/Makefile: Add rules to build and run tst-relsort1.
2425 * elf/tst-relsort1.c: New file.
2426 * elf/tst-relsort1mod1.c: New file.
2427 * elf/tst-relsort1mod2.c: New file.
2428
2429 2012-01-27 Joseph Myers <joseph@codesourcery.com>
2430
2431 * math/s_ldexp.c: Remove __STDC__ conditionals.
2432 * math/s_ldexpf.c: Likewise.
2433 * math/s_ldexpl.c: Likewise.
2434 * math/s_nextafter.c: Likewise.
2435 * math/s_nexttowardf.c: Likewise.
2436 * math/s_significand.c: Likewise.
2437 * math/s_significandf.c: Likewise.
2438 * math/s_significandl.c: Likewise.
2439 * math/w_jnl.c: Likewise.
2440 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2441 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2442 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2443 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2444 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2446 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2447 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2448 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2449 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2450 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2451 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2452 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2453 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2454 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2455 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2456 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2457 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2458 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2459 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2460 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2461 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2462 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2463 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2464 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2465 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2466 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2467 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2468 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2469 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2470 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2471 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2472 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2473 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2474 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2475 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2476 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2477 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2478 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2479 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2480 * sysdeps/ieee754/k_standard.c: Likewise.
2481 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2482 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2483 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2485 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2488 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2489 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2490 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2491 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2492 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2493 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2494 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2499 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2500 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2502 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2503 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2504 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2505 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2506 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2507 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2513 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2514 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2516 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2517 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2518 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2519 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2520 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2521 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2522 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2523 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2525 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2526 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2529 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2530 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2531 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2535 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2537 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2538 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2539 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2542 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2544 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2545 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2546 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2547 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2548 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2549 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2553 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2555 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2556 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2558 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2559 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2560 * sysdeps/ieee754/s_matherr.c: Likewise.
2561 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2562 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2565
2566 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2567
2568 * crypt/md5.h: Remove __STDC__ conditionals.
2569 * libio/libioP.h: Likewise.
2570 * locale/programs/config.h: Likewise.
2571 * sysdeps/generic/sysdep.h: Likewise.
2572 * sysdeps/i386/asm-syntax.h: Likewise.
2573 * sysdeps/s390/asm-syntax.h: Likewise.
2574 * sysdeps/unix/sysdep.h: Likewise.
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2577
2578 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2579
2580 * libio/libio.h: Remove __STDC__ conditionals.
2581 * malloc/obstack.h: Likewise.
2582 * math/complex.h: Likewise.
2583 * math/math.h: Likewise.
2584 * sysdeps/generic/_G_config.h: Likewise.
2585 * sysdeps/gnu/_G_config.h: Likewise.
2586 * sysdeps/mach/hurd/_G_config.h: Likewise.
2587 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2588 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2589 * sysdeps/sparc/bits/mathdef.h: Likewise.
2590
2591 2012-01-26 Ulrich Drepper <drepper@gmail.com>
2592
2593 [BZ #13583]
2594 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
2595 Clean up HAS_* macros.
2596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
2597 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2598 possible.
2599 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2600 HAS_AVX.
2601 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2602 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2603 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2604 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2605 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2606
2607 2012-01-25 Joseph Myers <joseph@codesourcery.com>
2608
2609 * elf/tst-unique3.cc (gets): Remove declaration.
2610 * elf/tst-unique3lib.cc (gets): Likewise.
2611 * elf/tst-unique3lib2.cc (gets): Likewise.
2612 * elf/tst-unique4.cc (gets): Likewise.
2613
2614 2012-01-24 Ulrich Drepper <drepper@gmail.com>
2615
2616 * include/stdio.h: Add C++ protection. Add gets declarations and
2617 definitions.
2618 * debug/tst-chk1.c: Don't declare gets here.
2619 * stdio-common/tst-gets.c: Likewise.
2620
2621 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2622
2623 * posix/glob: Remove directory.
2624
2625 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2626
2627 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2628
2629 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2630
2631 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2632 of the non-standard EPFNOSUPPORT.
2633
2634 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2635
2636 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2637 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2638 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2639
2640 2012-01-21 Ulrich Drepper <drepper@gmail.com>
2641
2642 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2643
2644 2012-01-20 Ulrich Drepper <drepper@gmail.com>
2645
2646 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2647 transient errors.
2648 * nscd/grpcache.c (cache_addgr): Likewise.
2649 * nscd/hstcache.c (cache_addhst): Likewise.
2650 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2651 * nscd/pwdcache.c (cache_addpw): Likewise.
2652 * nscd/servicescache.c (cache_addserv): Likewise.
2653
2654 2012-01-16 Ulrich Drepper <drepper@gmail.com>
2655
2656 * malloc/malloc.c: Various cleanups.
2657 * malloc/hooks.c: Likewise.
2658
2659 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2660 * stdlib/bug-fmtmsg1.c: New file.
2661
2662 * stdlib/fmtmsg.c (init): Add missing unlock.
2663 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2664
2665 2012-01-12 Marek Polacek <polacek@redhat.com>
2666
2667 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2668 and _GNU_SOURCE.
2669
2670 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2671
2672 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2673 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2674 macro to ensure uniqueness of label name.
2675 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2676 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2677
2678 2012-01-11 Ulrich Drepper <drepper@gmail.com>
2679
2680 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2681
2682 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2683 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2684 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2686
2687 2012-01-10 Ulrich Drepper <drepper@gmail.com>
2688
2689 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2690
2691 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2692 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2693 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2694
2695 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2696
2697 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
2698 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2699 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2700 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
2701
2702 * math/bits/math-finite.h: Add ldexp support.
2703
2704 2012-01-10 Marek Polacek <polacek@redhat.com>
2705
2706 * locale/programs/localedef.h (show_archive_content): Add noreturn
2707 attribute.
2708
2709 2012-01-09 Ulrich Drepper <drepper@gmail.com>
2710
2711 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2712
2713 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2714
2715 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2716
2717 * io/Makefile (headers): Add bits/poll2.h.
2718
2719 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2720
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2722 typo #include statement.
2723
2724 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2725
2726 * include/sys/cdefs.h: Define __attribute_alloc_size.
2727 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2728 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2729 * elf/pldd.c: Likewise.
2730 * iconv/iconv_charmap.c: Likewise.
2731 * iconv/iconvconfig.c: Likewise.
2732 * iconv/strtab.c: Likewise.
2733 * locale/programs/locale.c: Likewise.
2734 * locale/programs/localedef.h: Likewise.
2735 * locale/programs/simple-hash.c: Likewise.
2736 * nscd/nscd.h: Likewise.
2737 * nss/makedb.c: Likewise.
2738 * sysdeps/generic/ldconfig.h: Likewise.
2739 * locale/programs/localedef.c: Remove xmalloc prototype.
2740 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2741
2742 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2743
2744 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2745 appropriate.
2746
2747 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2748
2749 * math/Makefile (tests): Add tst-CMPLX.
2750 * math/tst-CMPLX.c: New file.
2751
2752 * math/complex.h (CMPLXL): Fix typo.
2753
2754 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2755 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2756 GLIBC_2.16.
2757 * debug/tst-chk1.c: Add poll and ppoll tests.
2758 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2759 * include/sys/poll.h: Add hidden proto for ppoll.
2760 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2761 * sysdeps/mach/hurd/ppoll.c: Likewise.
2762 * io/ppoll.c: Likewise.
2763 * debug/poll_chk.c: New file.
2764 * debug/ppoll_chk.c: New file.
2765 * include/bits/poll2.h: New file.
2766 * io/bits/poll2.h: New file.
2767
2768 [BZ #1350]
2769 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2770
2771 * configure.in: static is always set to yes. Remove.
2772 * config.make.in: Don't set build-static.
2773 * Makeconfig: Remove use of build-static.
2774 * dlfcn/Makefile: Likewise.
2775 * elf/Makefile: Likewise.
2776 * math/Makefile: Likewise.
2777 * misc/Makefile: Likewise.
2778 * nptl/Makefile: Likewise.
2779 * sysdeps/mach/hurd/Makefile: Likewise.
2780
2781 * configure.in: PWD_P is not used anymore.
2782 * config.make.in: Remove PWD_P entry.
2783
2784 * configure.in: Remove last remnants of RANLIB.
2785 No need to check for signed size_t anymore.
2786 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2787 and IA-64.
2788 Remove __builtin_expect test because we require at least gcc 3.4.
2789 * aclocal.m4: Likewise.
2790
2791 * wcsmbs/mbrtoc16.c: Implement using towc function.
2792 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2793 * wcsmbs/wcsmbsload.c: Likewise.
2794 * iconv/gconv_simple.c: Likewise.
2795 * iconv/gconv_int.h: Likewise.
2796 * iconv/gconv_builtin.h: Likewise.
2797 * iconv/iconv_prog.c: Remove CHAR16 handling.
2798
2799 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2800
2801 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2802
2803 * configure.in: Remove --with-elf and --enable-bounded options.
2804 Dont set base_machine for ia64. More non-ELF conditions removed.
2805 Remove testing and setting of leading underscore information.
2806 * config.make.in (build-bounded): Set to no.
2807 * config.h.in: Remove NO_UNDERSCORES entry.
2808 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2809 them.
2810 * csu/start.c: Remove !NO_UNDERSCORE code.
2811 * locale/localeinfo.h: Likewise.
2812 * sysdeps/generic/machine-gmon.h: Likewise.
2813 * sysdeps/generic/sysdep.h: Likewise.
2814 * sysdeps/i386/sysdep.h: Likewise.
2815 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2816 * sysdeps/mach/sysdep.h: Likewise.
2817 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2819 * sysdeps/sh/sysdep.h: Likewise.
2820 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2821 * sysdeps/unix/i386/sysdep.S: Likewise.
2822 * sysdeps/unix/sparc/start.c: Likewise.
2823 * sysdeps/unix/sparc/sysdep.S: Likewise.
2824 * sysdeps/unix/sparc/sysdep.h: Likewise.
2825 * sysdeps/unix/start.c: Likewise.
2826 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2827 * sysdeps/x86_64/sysdep.h: Likewise.
2828
2829 2012-01-07 Ulrich Drepper <drepper@gmail.com>
2830
2831 [BZ #13553]
2832 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2833 for non-gcc.
2834 * argp/argp-fmtstream.h: Use const instead __const.
2835 * argp/argp.h: Likewise.
2836 * assert/assert.h: Likewise.
2837 * bits/fenv.h: Likewise.
2838 * bits/sched.h: Likewise.
2839 * bits/sigset.h: Likewise.
2840 * bits/sigthread.h: Likewise.
2841 * catgets/nl_types.h: Likewise.
2842 * conform/data/pthread.h-data: Likewise.
2843 * crypt/crypt-private.h: Likewise.
2844 * crypt/crypt.h: Likewise.
2845 * crypt/crypt_util.c: Likewise.
2846 * ctype/ctype.h: Likewise.
2847 * debug/execinfo.h: Likewise.
2848 * debug/mbsnrtowcs_chk.c: Likewise.
2849 * debug/mbsrtowcs_chk.c: Likewise.
2850 * debug/wcsnrtombs_chk.c: Likewise.
2851 * debug/wcsrtombs_chk.c: Likewise.
2852 * debug/wcstombs_chk.c: Likewise.
2853 * dirent/dirent.h: Likewise.
2854 * dlfcn/dlfcn.h: Likewise.
2855 * elf/neededtest4.c: Likewise.
2856 * grp/grp.h: Likewise.
2857 * gshadow/gshadow.h: Likewise.
2858 * iconv/gconv.h: Likewise.
2859 * iconv/gconv_int.h: Likewise.
2860 * iconv/gconv_simple.c: Likewise.
2861 * iconv/iconv.h: Likewise.
2862 * iconv/loop.c: Likewise.
2863 * iconv/skeleton.c: Likewise.
2864 * include/aio.h: Likewise.
2865 * include/aliases.h: Likewise.
2866 * include/argz.h: Likewise.
2867 * include/arpa/inet.h: Likewise.
2868 * include/assert.h: Likewise.
2869 * include/dirent.h: Likewise.
2870 * include/dlfcn.h: Likewise.
2871 * include/execinfo.h: Likewise.
2872 * include/fcntl.h: Likewise.
2873 * include/fenv.h: Likewise.
2874 * include/glob.h: Likewise.
2875 * include/grp.h: Likewise.
2876 * include/libintl.h: Likewise.
2877 * include/mntent.h: Likewise.
2878 * include/netdb.h: Likewise.
2879 * include/pwd.h: Likewise.
2880 * include/rpc/netdb.h: Likewise.
2881 * include/sched.h: Likewise.
2882 * include/search.h: Likewise.
2883 * include/shadow.h: Likewise.
2884 * include/signal.h: Likewise.
2885 * include/stdio.h: Likewise.
2886 * include/stdlib.h: Likewise.
2887 * include/string.h: Likewise.
2888 * include/sys/socket.h: Likewise.
2889 * include/sys/stat.h: Likewise.
2890 * include/sys/statfs.h: Likewise.
2891 * include/sys/statvfs.h: Likewise.
2892 * include/sys/syslog.h: Likewise.
2893 * include/sys/time.h: Likewise.
2894 * include/sys/uio.h: Likewise.
2895 * include/time.h: Likewise.
2896 * include/unistd.h: Likewise.
2897 * include/utmp.h: Likewise.
2898 * include/wchar.h: Likewise.
2899 * include/wctype.h: Likewise.
2900 * inet/aliases.h: Likewise.
2901 * inet/arpa/inet.h: Likewise.
2902 * inet/netinet/ether.h: Likewise.
2903 * inet/netinet/in.h: Likewise.
2904 * intl/libintl.h: Likewise.
2905 * io/bits/fcntl2.h: Likewise.
2906 * io/fcntl.h: Likewise.
2907 * io/ftw.h: Likewise.
2908 * io/sys/poll.h: Likewise.
2909 * io/sys/stat.h: Likewise.
2910 * io/sys/statfs.h: Likewise.
2911 * io/sys/statvfs.h: Likewise.
2912 * io/utime.h: Likewise.
2913 * libio/bits/stdio.h: Likewise.
2914 * libio/bits/stdio2.h: Likewise.
2915 * libio/libio.h: Likewise.
2916 * libio/libioP.h: Likewise.
2917 * libio/stdio.h: Likewise.
2918 * locale/lc-ctype.c: Likewise.
2919 * locale/locale.h: Likewise.
2920 * login/utmp.h: Likewise.
2921 * malloc/arena.c: Likewise.
2922 * malloc/malloc.c: Likewise.
2923 * malloc/malloc.h: Likewise.
2924 * malloc/mcheck.c: Likewise.
2925 * malloc/mtrace.c: Likewise.
2926 * math/bits/mathcalls.h: Likewise.
2927 * math/fenv.h: Likewise.
2928 * math/math_private.h: Likewise.
2929 * misc/bits/error.h: Likewise.
2930 * misc/bits/syslog.h: Likewise.
2931 * misc/err.h: Likewise.
2932 * misc/error.h: Likewise.
2933 * misc/fstab.h: Likewise.
2934 * misc/mntent.h: Likewise.
2935 * misc/regexp.h: Likewise.
2936 * misc/search.h: Likewise.
2937 * misc/sgtty.h: Likewise.
2938 * misc/sys/mman.h: Likewise.
2939 * misc/sys/syslog.h: Likewise.
2940 * misc/sys/uio.h: Likewise.
2941 * misc/sys/xattr.h: Likewise.
2942 * misc/ttyent.h: Likewise.
2943 * nis/rpcsvc/ypclnt.h: Likewise.
2944 * nss/nss.h: Likewise.
2945 * posix/bits/unistd.h: Likewise.
2946 * posix/fnmatch.h: Likewise.
2947 * posix/glob.h: Likewise.
2948 * posix/sched.h: Likewise.
2949 * posix/spawn.h: Likewise.
2950 * posix/sys/wait.h: Likewise.
2951 * posix/unistd.h: Likewise.
2952 * posix/wordexp.h: Likewise.
2953 * pwd/pwd.h: Likewise.
2954 * resolv/netdb.h: Likewise.
2955 * resource/sys/resource.h: Likewise.
2956 * rt/aio.h: Likewise.
2957 * rt/bits/mqueue2.h: Likewise.
2958 * rt/mqueue.h: Likewise.
2959 * shadow/shadow.h: Likewise.
2960 * signal/signal.h: Likewise.
2961 * socket/send.c: Likewise.
2962 * socket/sendto.c: Likewise.
2963 * socket/sys/socket.h: Likewise.
2964 * stdio-common/printf.h: Likewise.
2965 * stdlib/bits/stdlib.h: Likewise.
2966 * stdlib/fmtmsg.h: Likewise.
2967 * stdlib/monetary.h: Likewise.
2968 * stdlib/stdlib.h: Likewise.
2969 * stdlib/ucontext.h: Likewise.
2970 * streams/stropts.h: Likewise.
2971 * string/argz.h: Likewise.
2972 * string/bits/string2.h: Likewise.
2973 * string/string.h: Likewise.
2974 * string/strings.h: Likewise.
2975 * sunrpc/rpc/auth.h: Likewise.
2976 * sunrpc/rpc/auth_des.h: Likewise.
2977 * sunrpc/rpc/clnt.h: Likewise.
2978 * sunrpc/rpc/netdb.h: Likewise.
2979 * sunrpc/rpc/pmap_clnt.h: Likewise.
2980 * sunrpc/rpc/xdr.h: Likewise.
2981 * sysdeps/generic/inttypes.h: Likewise.
2982 * sysdeps/generic/net/if.h: Likewise.
2983 * sysdeps/generic/sys/swap.h: Likewise.
2984 * sysdeps/gnu/net/if.h: Likewise.
2985 * sysdeps/gnu/utmpx.h: Likewise.
2986 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2987 * sysdeps/i386/i486/bits/string.h: Likewise.
2988 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2989 * sysdeps/s390/bits/string.h: Likewise.
2990 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2991 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2992 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2993 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2994 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2995 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2996 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2997 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2998 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2999 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3000 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3001 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3002 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3003 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3004 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3005 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3006 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3008 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3011 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3012 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3013 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3014 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3015 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3016 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3017 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3018 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3019 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3020 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3021 * sysvipc/sys/ipc.h: Likewise.
3022 * sysvipc/sys/msg.h: Likewise.
3023 * sysvipc/sys/sem.h: Likewise.
3024 * sysvipc/sys/shm.h: Likewise.
3025 * termios/termios.h: Likewise.
3026 * time/sys/time.h: Likewise.
3027 * time/time.h: Likewise.
3028 * wcsmbs/bits/wchar2.h: Likewise.
3029 * wcsmbs/uchar.h: Likewise.
3030 * wcsmbs/wchar.h: Likewise.
3031 * wctype/wctype.h: Likewise.
3032
3033 [BZ #13551]
3034 * Makeconfig: Remove all but ELF support including AIX support.
3035 * Makerules: Likewise.
3036 * config.h.in: Likewise.
3037 * config.make.in: Likewise.
3038 * configure: Likewise.
3039 * configure.in: Likewise.
3040 * csu/Makefile: Likewise.
3041 * csu/version.c: Likewise.
3042 * debug/Makefile: Likewise.
3043 * dlfcn/Makefile: Likewise.
3044 * elf/Makefile: Likewise.
3045 * extra-lib.mk: Likewise.
3046 * iconv/Makefile: Likewise.
3047 * include/libc-symbols.h: Likewise.
3048 * include/shlib-compat.h: Likewise.
3049 * resolv/Makefile: Likewise.
3050 * resolv/res_libc.c: Likewise.
3051 * rt/Makefile: Likewise.
3052 * sysdeps/i386/asm-syntax.h: Likewise.
3053 * sysdeps/i386/sysdep.h: Likewise.
3054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3055 * sysdeps/mach/sysdep.h: Likewise.
3056 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3057 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3058 * sysdeps/s390/asm-syntax.h: Likewise.
3059 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3061 * sysdeps/sh/sysdep.h: Likewise.
3062 * sysdeps/unix/sparc/sysdep.h: Likewise.
3063 * sysdeps/wordsize-32/divdi3.c: Likewise.
3064 * sysdeps/x86_64/sysdep.h: Likewise.
3065
3066 * argp/Versions: Remove _argp_unlock_xxx.
3067
3068 [BZ #13559]
3069 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3070 * abilist/libBrokenLocale.abilist: Likewise.
3071 * abilist/libanl.abilist: Likewise.
3072 * abilist/libc.abilist: Likewise.
3073 * abilist/libcrypt.abilist: Likewise.
3074 * abilist/libdl.abilist: Likewise.
3075 * abilist/libm.abilist: Likewise.
3076 * abilist/libnsl.abilist: Likewise.
3077 * abilist/libpthread.abilist: Likewise.
3078 * abilist/libresolv.abilist: Likewise.
3079 * abilist/librt.abilist: Likewise.
3080 * abilist/libthread_db.abilist: Likewise.
3081 * abilist/libutil.abilist: Likewise.
3082 * abilist/libnss_db.abilist: New file.
3083
3084 * scripts/abilist.awk: Add support for indirect functions.
3085
3086 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3087
3088 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3089
3090 * shlib-versions: Remove entries for ports architectures.
3091
3092 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3093 files in ports.
3094 * elf/stackguard-macros.h: Remove support for IA-64.
3095 * elf/tst-auditmod1.c: Likewise.
3096 * sysdeps/generic/ldsodefs.h: Likewise.
3097
3098 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3099 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3100 configure files.
3101
3102 [BZ #13552]
3103 * configure.in: Remove --enable-omitfp support.
3104 * FAQ.in: Adjust.
3105 * config.make.in: Likewise.
3106 * Makeconfig: Likewise.
3107 * manual/install.texi: Likewise.
3108
3109 In case anyone cares, the IA-64 architecture could move to ports.
3110 * sysdeps/ia64/*: Removed.
3111 * sysdeps/unix/sysv/linux/ia64/*: Removed.
3112 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3113
3114 [BZ #13555]
3115 * configure.in: Remove entries for unsupported architectures.
3116
3117 [BZ #13533]
3118 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3119 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3120 routines.
3121 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3122 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3123 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3124 fall back to using wcrtomb.
3125 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3126 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3127 renaming.
3128 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3129 * wcsmbs/tst-c16c32-1.c: New file.
3130
3131 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3132 local variable.
3133
3134 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3135
3136 * elf/tst-unique3.cc: Add explicit declaration of gets.
3137 * elf/tst-unique3lib.cc: Likewise.
3138 * elf/tst-unique3lib2.cc: Likewise.
3139 * elf/tst-unique4.cc: Likewise.
3140
3141 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3142
3143 2012-01-06 Joseph Myers <joseph@codesourcery.com>
3144
3145 [BZ #13566]
3146 * assert/assert.h (static_assert): Don't define for C++.
3147 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3148 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3149
3150 2012-01-03 Ulrich Drepper <drepper@gmail.com>
3151
3152 * iconv/loop.c (single loop): Fix assertion in storing of
3153 remaining bytes.
3154
3155 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3156
3157 2012-01-01 Ulrich Drepper <drepper@gmail.com>
3158
3159 * posix/getconf.c: Update copyright year.
3160 * nss/getent.c: Likewise.
3161 * nss/makedb.c: Likewise.
3162 * iconv/iconvconfig.c: Likewise.
3163 * iconv/iconv_prog.c: Likewise.
3164 * elf/ldconfig.c: Likewise.
3165 * elf/pldd.c: Likewise.
3166 * elf/sotruss.ksh: Likewise.
3167 * catgets/gencat.c: Likewise.
3168 * csu/version.c: Likewise.
3169 * elf/ldd.bash.in: Likewise.
3170 * elf/sprof.c (print_version): Likewise.
3171 * locale/programs/locale.c: Likewise.
3172 * locale/programs/localedef.c: Likewise.
3173 * login/programs/pt_chown.c: Likewise.
3174 * nscd/nscd.c (print_version): Likewise.
3175 * debug/xtrace.sh: Likewise.
3176 * malloc/memusage.sh: Likewise.
3177 * malloc/mtrace.pl: Likewise.
3178 * debug/catchsegv.sh: Likewise.
3179
3180 2011-12-30 Jakub Jelinek <jakub@redhat.com>
3181
3182 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3183 pure attribute.
3184
3185 2011-12-24 Ulrich Drepper <drepper@gmail.com>
3186
3187 [BZ #13533]
3188 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3189 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3190 transformations.
3191 * iconv/gconv_int.h: Likewise.
3192 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3193 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3194 from libc for GLIBC_2.16.
3195 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3196 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3197 * wcsmbs/uchar.h: Really define mbstate_t.
3198 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3199 * wcsmbs/c16rtomb.c: New file.
3200 * wcsmbs/mbrtoc16.c: New file.
3201 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3202 for C/POSIX locale.
3203 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3204 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3205
3206 * wcsmbs/wchar.h: Add missing __restrict.
3207
3208 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3209
3210 [BZ #13532]
3211 * time/Makefile (routines): Add timespec_get.
3212 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3213 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3214 timespec for ISO C11.
3215 * time/timespec_get.c: New file.
3216 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3217 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3218
3219 [BZ #13531]
3220 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3221 * stdlib/stdlib.h: Declare aligned_alloc.
3222 * Versions.def: Add GLIBC_2.16 for libc.
3223 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3224
3225 [BZ 13527]
3226 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3227 ISO C11.
3228
3229 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
3230 code.
3231
3232 [BZ #13528]
3233 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3234
3235 [BZ #13529]
3236 * assert/assert.h (static_assert): Define.
3237
3238 * version.h: Update for 2.16 development version.
3239
3240 [BZ #13526]
3241 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3242 _ISOC11_SOURCE.
3243
3244 * version.h (RELEASE): Bump for 2.15 release.
3245 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3246
3247 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3248 Patch by Marek Polacek <mpolacek@redhat.com>.
3249
3250 * bits/byteswap.h: Protect long long constants with __extension__.
3251 * sysdeps/i386/bits/byteswap.h: Likewise.
3252 * sysdeps/ia64/bits/byteswap.h: Likewise.
3253 * sysdeps/s390/bits/byteswap.h: Likewise.
3254 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3255
3256 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3257
3258 [BZ #13540]
3259 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3260 destination buffer.
3261 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3262
3263 2011-12-23 Marek Polacek <polacek@redhat.com>
3264
3265 * elf/dl-addr.c (determine_info): Add inline keyword.
3266 * elf/tst-auditmod4b.c (check_avx): Likewise.
3267 * elf/tst-auditmod6b.c (check_avx): Likewise.
3268 * elf/tst-auditmod6c.c (check_avx): Likewise.
3269 * elf/tst-auditmod7b.c (check_avx): Likewise.
3270
3271 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3272
3273 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3274 !__SSE_MATH__.
3275
3276 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3277
3278 [BZ #13540]
3279 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3280 processing for last bytes.
3281
3282 2011-08-06 Bruno Haible <bruno@clisp.org>
3283
3284 [BZ #13061]
3285 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3286 U+0385, not to U+1FEE.
3287
3288 [BZ #13062]
3289 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3290 entry for U+00A5 U+0301.
3291
3292 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3293
3294 [BZ #13166]
3295 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3296 buffer for the output is too small.
3297
3298 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3299 optimization.
3300
3301 [BZ #13185]
3302 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3303 SSE flags if possible.
3304
3305 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3306
3307 [BZ #13540]
3308 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3309 processing for last bytes.
3310
3311 2011-12-22 Joseph Myers <joseph@codesourcery.com>
3312
3313 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3314 (syscall-list-default-options, syscall-list-default-condition)
3315 (syscall-list-includes): Define.
3316 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3317 list of ABIs and options and #if conditions for each ABI. Do not
3318 handle common syscalls between ABIs specially.
3319 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3320 Remove.
3321 (syscall-list-variants, syscall-list-32bit-options)
3322 (syscall-list-32bit-condition, syscall-list-64bit-options)
3323 (syscall-list-64bit-condition): Define.
3324 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3325 (syscall-list-variants, syscall-list-32bit-options)
3326 (syscall-list-32bit-condition, syscall-list-64bit-options)
3327 (syscall-list-64bit-condition): Define.
3328 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3329 Remove.
3330 (syscall-list-variants, syscall-list-32bit-options)
3331 (syscall-list-32bit-condition, syscall-list-64bit-options)
3332 (syscall-list-64bit-condition): Define.
3333 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3334 Remove.
3335 (syscall-list-variants, syscall-list-32bit-options)
3336 (syscall-list-32bit-condition, syscall-list-64bit-options)
3337 (syscall-list-64bit-condition): Define.
3338
3339 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3340
3341 * locale/iso-639.def: Add brx entry.
3342
3343 [BZ #13328]
3344 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3345 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3346
3347 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3348 __feraiseexcept_renamed.
3349
3350 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3351
3352 [BZ #13538]
3353 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3354 EPOLLET with unsigned values.
3355 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3356 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3357
3358 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3359 to large cancellation.
3360 * math/s_cacoshf.c: Likewise.
3361 * math/s_cacoshl.c: Likewise.
3362
3363 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3364
3365 [BZ #13305]
3366 [BZ #12786]
3367 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3368 * math/s_cacoshf.c: Likewise.
3369 * math/s_cacoshl.c: Likewise.
3370
3371 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3372
3373 [BZ #13439]
3374 * iconv/gconv.h: Define __GCONV_SWAP.
3375 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3376 * iconvdata/utf-16.c: Likewise.
3377 * iconvdata/utf-32.c: Likewise.
3378
3379 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3380
3381 [BZ #13524]
3382 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3383 numerator after shifting it by one limb.
3384
3385 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3386
3387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3388 under [__USE_EXTERN_INLINES].
3389
3390 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3391
3392 [BZ #13446]
3393 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3394
3395 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3396
3397 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3398 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3399 optimized code.
3400 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3401 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3402 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3403 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3404 for strncasecmp/strncasecmp_l compilation.
3405 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3406 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3407
3408 2011-12-08 Marek Polacek <mpolacek@redhat.com>
3409
3410 [BZ #13484]
3411 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3412 of __asm__.
3413
3414 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3415
3416 [BZ #13506]
3417 * time/tzfile.c (__tzfile_read): Check values from file header.
3418
3419 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3420
3421 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3422 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3423 * powerpc/powerpc32/dl-start.S: Likewise.
3424 * powerpc/powerpc32/elf/start.S: Likewise.
3425 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3426 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3427 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3428 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3429 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3430 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3431 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3432 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3433 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3434 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3435 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3436 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3437 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3438 * powerpc/powerpc32/memset.S: Likewise.
3439 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3440 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3441 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3442 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3443 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3444 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3445 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3446 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3447 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3448 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3449 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3450 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3451 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3452
3453 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3454
3455 * math/libm-test.inc: Added more nearbyint tests.
3456 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3459 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3460
3461 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3462
3463 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3464 FD_CLOEXEC.
3465
3466 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3467
3468 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3469 Add wcscpy-ssse3 wcscpy-c.
3470 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3471 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3472 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3473 * sysdeps/x86_64/wcschr.S: New file.
3474 * sysdeps/x86_64/wcsrchr.S: New file.
3475 * string/test-strcmp.c: Remove checking of wcscmp function for
3476 wrong alignments.
3477 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3478 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3479 wcsrchr-sse2 wcsrchr-c.
3480 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3481 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3482 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3483 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3484 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3485 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3486 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3487 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3488 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3489 * wcsmbc/wcschr.c (WCSCHR): New macro.
3490
3491 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3492
3493 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3494 * wcsmbs/test-wcsrchr.c: New file.
3495 * string/test-strrchr.c: Add wcsrchr support.
3496 (WIDE): New macro.
3497 * wcsmbs/test-wcscpy.c: New file.
3498 * string/test-strcpy.c: Add wcscpy support.
3499 (WIDE): New macro.
3500
3501 2011-12-10 Ulrich Drepper <drepper@gmail.com>
3502
3503 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3504 the inner loop.
3505
3506 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3507
3508 [BZ #13472]
3509 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3510
3511 2011-12-04 Ulrich Drepper <drepper@gmail.com>
3512
3513 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
3514 Minor optimizations.
3515
3516 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3517 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3518 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3519
3520 2011-12-03 Ulrich Drepper <drepper@gmail.com>
3521
3522 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3523 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3524 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3525 for gcc to avoid warnings.
3526 * inet/Makefile (tests): Add tst-checks.
3527 * inet/tst-checks.c: New file.
3528
3529 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3530 warning.
3531
3532 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3533 __wmemcmp_sse2.
3534
3535 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3536 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3537
3538 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3539
3540 2011-12-02 Ulrich Drepper <drepper@gmail.com>
3541
3542 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3543 problem.
3544
3545 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3546
3547 2011-11-29 Joseph Myers <joseph@codesourcery.com>
3548
3549 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3550 conditional on GCC version.
3551 (__arch_compare_and_exchange_val_8_acq)
3552 (__arch_compare_and_exchange_val_16_acq)
3553 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3554 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3555 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3556
3557 2011-12-02 Joseph Myers <joseph@codesourcery.com>
3558
3559 * sysdeps/sh/backtrace.c: New file.
3560
3561 2011-12-02 Andreas Schwab <schwab@redhat.com>
3562
3563 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3564 parenthesis.
3565
3566 2011-12-01 Andreas Schwab <schwab@redhat.com>
3567
3568 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3569 falling back to utime.
3570
3571 2011-11-30 Andreas Schwab <schwab@redhat.com>
3572
3573 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3574 expectations for float.
3575
3576 2011-11-29 Andreas Schwab <schwab@redhat.com>
3577
3578 * locale/weight.h (findidx): Add parameter len.
3579 * locale/weightwc.h (findidx): Likewise.
3580 * posix/fnmatch_loop.c (FCT): Adjust caller.
3581 * posix/regcomp.c (build_equiv_class): Likewise.
3582 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3583 * posix/regexec.c (check_node_accept_bytes): Likewise.
3584 * string/strcoll_l.c (STRCOLL): Likewise.
3585 * string/strxfrm_l.c (STRXFRM): Likewise.
3586
3587 2011-11-17 Ulrich Drepper <drepper@gmail.com>
3588
3589 * Makefile.in: Remove CVSOPT handling.
3590 * configure.in: Remove use of AC_REVISION.
3591 * iconvdata/Makefile (distribute): No need to filter out CVS.
3592 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3593 handling.
3594
3595 2011-11-16 Andreas Schwab <schwab@redhat.com>
3596
3597 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3598 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3599 [USE_AS_STRNCASECMP_L]: Likewise.
3600 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3601 NO_TLS_DIRECT_SEG_REFS.
3602 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3603 Fix argument offsets for non-PIC.
3604 [USE_AS_STRNCASECMP_L]: Likewise.
3605 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3606 NO_TLS_DIRECT_SEG_REFS.
3607
3608 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3609
3610 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
3611 O_CLOEXEC.
3612 * locale/loadlocale.c (_nl_load_locale): Likewise.
3613
3614 2011-11-15 Andreas Schwab <schwab@redhat.com>
3615
3616 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3617 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3618 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3619 (SYSCALL_GETTIME): Set errno on error.
3620
3621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3622 count references to noai6ai_cached.
3623
3624 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3625
3626 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3627
3628 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3629 FD_CLOEXEC for /proc/self/maps.
3630
3631 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3632 FD_CLOEXEC for /proc/meminfo.
3633
3634 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3635 gai.conf.
3636
3637 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3638 FD_CLOEXEC for given file.
3639
3640 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3641
3642 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3643 FD_CLOEXEC for /etc/hosts.
3644 (_gethtent): Likewise.
3645
3646 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3647
3648 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3649 cancellation and set FD_CLOEXEC for /etc/netgroup.
3650
3651 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3652 reading /etc/publickey.
3653
3654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3655 allow cancellation when reading /etc/group.
3656
3657 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3658 cancellation.
3659 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3660
3661 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3662 when using data file.
3663
3664 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3665
3666 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3667 (write_nis_obj): Use "c" and "e" in fopen.
3668
3669 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3670
3671 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3672
3673 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3674
3675 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3676
3677 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3678 locale.alias.
3679
3680 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3681
3682 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3683
3684 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3685
3686 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3687 file parsing and set FD_CLOEXEC.
3688
3689 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3690
3691 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3692
3693 2011-11-14 Andreas Schwab <schwab@redhat.com>
3694
3695 * malloc/arena.c (arena_get2): Don't call reused_arena when
3696 _int_new_arena failed.
3697
3698 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3699
3700 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3701 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3702 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3703 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3705 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3706 to compile strcasecmp and strncasecmp.
3707 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3708 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3709
3710 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3711
3712 2011-11-13 Ulrich Drepper <drepper@gmail.com>
3713
3714 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3715 locale-defines.sym to gen-as-const-headers.
3716 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3717 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3719 to compile strcasecmp and strncasecmp.
3720 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3721 strcasecmp_l and strncasecmp_l.
3722 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3723 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3724 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3725 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3726 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3727 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3728 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3729 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3730 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3731 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3732 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3733
3734 2011-11-12 Ulrich Drepper <drepper@gmail.com>
3735
3736 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3737 result of SYSDEP_GETTIME_CPU to retval.
3738 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3739 parameter list to macro. Remove trailing semicolon. Adjust users.
3740
3741 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3742 variable.
3743
3744 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3745 mantissa words.
3746 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3747
3748 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3749 from unused variable.
3750
3751 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3752 DWARF definitions.
3753 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3754 for assembling.
3755
3756 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3757 over namespaces.
3758
3759 * sunrpc/rpc_prot.c (rejected): Fix case value.
3760
3761 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3762 unsigned long long int to avoid warnings in shift.
3763
3764 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3765 of use of trans.
3766 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3767 variable tmp.
3768
3769 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3770 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3771 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3772
3773 * nis/nis_table.c (nis_list): Use variable of correct type for
3774 result of __follow_path call.
3775
3776 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3777
3778 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3779 of math functions ceil, trunc, floor, round, and sqrt, when
3780 avaliable on the platform.
3781 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3782 name clash.
3783 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3784 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3785 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3786
3787 2011-10-30 Marek Polacek <mpolacek@redhat.com>
3788
3789 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3790 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3791
3792 2011-11-11 Roland McGrath <roland@hack.frob.com>
3793
3794 * include/unistd.h: Fix __readlink return type.
3795 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3796
3797 2011-11-11 Ulrich Drepper <drepper@gmail.com>
3798
3799 * stdlib/ucontext.h: Undo last change for makecontext.
3800
3801 2011-11-11 Andreas Schwab <schwab@redhat.com>
3802
3803 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3804
3805 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3806 * setjmp/setjmp.h: Mark functions as non-leaf.
3807 * setjmp/bits/setjmp2.h: Likewise.
3808 * stdlib/ucontext.h: Likewise.
3809
3810 2011-11-10 Andreas Schwab <schwab@redhat.com>
3811
3812 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3813 (reused_arena): Don't check arena limit.
3814 (arena_get2): Atomically check arena limit.
3815
3816 2011-11-08 Ulrich Drepper <drepper@gmail.com>
3817
3818 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3819 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3820
3821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3822 instructions.
3823
3824 2011-11-07 Andreas Schwab <schwab@redhat.com>
3825
3826 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3827 handler when locking.
3828
3829 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3830 Fix size of allocated buffer.
3831
3832 2011-11-04 Andreas Schwab <schwab@redhat.com>
3833
3834 [BZ #10103]
3835 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3836 declarations for long double functions.
3837 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3838
3839 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3840
3841 2011-11-03 Andreas Schwab <schwab@redhat.com>
3842
3843 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3844 installed.
3845
3846 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3847 is disabled.
3848
3849 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3850
3851 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3852
3853 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3854
3855 * include/alloca.h (stackinfo_alloca_round): Define.
3856 (extend_alloca): Use it.
3857 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3858 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3859 here.
3860
3861 * scripts/check-local-headers.sh: Ignore libaudit.h.
3862
3863 * nscd/Makefile (extra-objs): Make recursively expanded.
3864
3865 2011-11-01 Ulrich Drepper <drepper@gmail.com>
3866
3867 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3869
3870 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3871 * posix/tst-rfc3484-2.c: Likewise.
3872 * posix/tst-rfc3484-3.c: Likewise.
3873
3874 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3875 process_vm_writev.
3876 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3877 process_vm_writev.
3878 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3879 process_vm_writev from libc using GLIBC_2.15 version.
3880
3881 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3882
3883 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3884
3885 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3886 stack usage.
3887
3888 2011-10-31 Ulrich Drepper <drepper@gmail.com>
3889
3890 [BZ #13367]
3891 * nss/getent.c (initgroups_keys): Show error message in case no group
3892 names are given.
3893
3894 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3895 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3896 __bump_nl_timestamp.
3897 * nscd/connections (nscd_init): When host database is served open
3898 netlink socket and request notification about configuration changes.
3899 (main_loop_poll): Track netlink file descriptor and bump timestamp
3900 in case data becomes available.
3901 (main_loop_epoll): Likewise.
3902 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3903 (database_pers_head): Add extra_data fileds.
3904 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3905 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3906 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3907 Adjust caller.
3908 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3909 in6ai data, call __free_in6ai.
3910 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3911 Add -DHAVE_NETLINK.
3912 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3913 interface information. Reuse previous data if netlink timestamp
3914 is not changed.
3915 (__bump_nl_timestamp): New function.
3916 (__free_in6ai): New function.
3917
3918 2011-10-30 Ulrich Drepper <drepper@gmail.com>
3919
3920 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3921 close_not_cancel_no_status here.
3922 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3923
3924 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3925
3926 [BZ #13276]
3927 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3928 return value.
3929
3930 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
3931 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3932 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3933
3934 2011-07-03 Andreas Jaeger <aj@suse.de>
3935
3936 [BZ #10709]
3937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3938 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3939 * math/libm-test.inc (sin_test): Add test case.
3940
3941 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3942
3943 [BZ #13337]
3944 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3945 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3946
3947 * elf/chroot_canon.c (chroot_canon): Cleanups.
3948
3949 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3950
3951 [BZ #13335]
3952 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3953 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3954
3955 * string/test-strchr.c: Make usable for strchrnul testing.
3956 * string/test-strchrnul.c: New file.
3957 * string/Makefile (strop-tests): Add strchrnul.
3958
3959 * po/it.po: Update from translation team.
3960 * po/es.po: Likewise.
3961
3962 2011-10-28 Ulrich Drepper <drepper@gmail.com>
3963
3964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3965 the three constants needed as parameters. Drop the others.
3966 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3967 __m128i_strloadu_tolower.
3968 Create and initialize variable zero and use it in all the places
3969 where _mm_setzero_si128 was used.
3970
3971 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3972 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3973 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3974 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3975 anymore.
3976 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3977 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3978 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3979 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3980 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3981 __mpranred, __mptan.
3982 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3983 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3984 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3985 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3986 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3987 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3988 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3989 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3990 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3991
3992 2011-10-28 Andreas Schwab <schwab@redhat.com>
3993
3994 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3995 redefine if SHARED.
3996 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3997
3998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3999 wide char related routines to wcsmbs subdir.
4000
4001 2011-10-27 Andreas Schwab <schwab@redhat.com>
4002
4003 [BZ #13344]
4004 * misc/sys/cdefs.h (__THROWNL): Define.
4005 * posix/unistd.h: Use __THREADNL instead of __THREAD
4006 for memory synchronization functions.
4007
4008 2011-10-26 Roland McGrath <roland@hack.frob.com>
4009
4010 [BZ #13349]
4011 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4012 doesn't exist.
4013 * manual/stdio.texi (Obstack Streams): Node removed.
4014
4015 2011-10-26 Andreas Schwab <schwab@redhat.com>
4016
4017 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4018 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4019 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4020
4021 * math/math_private.h (math_force_eval): Allow non-addressable
4022 arguments.
4023 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4024
4025 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4026
4027 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4028 file is not needed.
4029
4030 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4031 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4032 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4033 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4035 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4036 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4037 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4038 Add AVX variants.
4039 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4040 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4041 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4042 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4043 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4044 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4045 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4046 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4047 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4048 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4049 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4050 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4051 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4052 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4053 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4054 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4055 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4056 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4057 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4058
4059 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4060 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4061
4062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4063 place. Use VEX encoding when compiling for AVX.
4064
4065 2011-10-25 Andreas Schwab <schwab@redhat.com>
4066
4067 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4068 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4069
4070 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4071
4072 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4073
4074 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4075 useless if() expression.
4076 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4082 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4086 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4087 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4088 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4089 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4090 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4091 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4094 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4095
4096 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4097
4098 2011-10-25 Andreas Schwab <schwab@redhat.com>
4099
4100 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4101 condition.
4102 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4103
4104 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4105
4106 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4107 .text section. Avoid duplicate constants.
4108 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4118 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4119 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4120 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4122 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4123 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4125 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4128 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4129 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4130 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4131 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4132 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4133 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4134 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4135 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4136 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4137 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4138 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4139 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4140 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4141 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4142 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4143 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4144 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4145 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4146 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4147 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4148 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4149 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4150 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4151 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4152 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4153
4154 2011-10-24 Ulrich Drepper <drepper@gmail.com>
4155
4156 * sysdeps/x86_64/dla.h: Move to ...
4157 * sysdeps/x86_64/fpu/dla.h: ...here.
4158 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4159 situations. Use __builtin_fma only for gcc 4.6 and up.
4160
4161 * config.make.in: Add have-mfma4 entry.
4162 * configure.in: Substitute libc_cv_cc_fma4.
4163 * math/Makefile (dbl-only-routines): Add sincostab.
4164 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4165 Use __sincostab not sincos.
4166 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4167 name is a macro.
4168 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4172 using __copysign.
4173 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4174 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4175 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4176 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4177 and __inv.
4178 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4179 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4180 __copysign.
4181 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4182 define aliases when function name is a macro.
4183 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4184 sysdeps/ieee754/dbl-64/sincos.tbl.
4185 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4186 fma4-enabled routines.
4187 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4188 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4189 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4190 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4191 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4192 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4193 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4194 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4195 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4196 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4197 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4198 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4199 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4200 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4201 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4202 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4203 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4204 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4205 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4206 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4207 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4208 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4209 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4210 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4211 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4212 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4213 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4214 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4215 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4216 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4217
4218 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4219 rename.
4220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4228
4229 2011-10-24 Andreas Schwab <schwab@redhat.com>
4230
4231 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4232
4233 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4234
4235 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4236
4237 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4238 prediction.
4239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4240
4241 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4242 Remove unused variable magic_bits.
4243 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4244
4245 * string/strnlen.c: Define and use STRNLEN macro.
4246 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4247 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4248 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4249 * wcsmbs/wcslen.c: Define and use WCSLEN.
4250 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4251 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4252 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4253 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4254 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4255 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4256 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4257
4258 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4259
4260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4261 strnlen-sse2-no-bsf.
4262 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4263 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4264 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4265 Add strnlen support.
4266 (USE_AS_STRNLEN): New macro.
4267 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4268 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4269 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4270 * sysdeps/x86_64/wcslen.S: New file.
4271
4272 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4273
4274 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4275 XMM-moves are used for copying on small sizes.
4276
4277 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4278
4279 * wcsmbs/Makefile (strop-tests): Add wcschr.
4280 * wcsmbs/test-wcschr.c: New file.
4281 * string/test-strchr.c: Update.
4282 Add wcschr support.
4283 (WIDE): New macro.
4284
4285 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4286
4287 * wcsmbs/Makefile (strop-tests): Add wcslen.
4288 * wcsmbs/test-wcslen.c: New file.
4289 * string/test-strlen.c: Update.
4290 Add wcslen support.
4291 (WIDE): New macro.
4292
4293 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4294
4295 * po/it.po: Update from translation team.
4296
4297 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4298
4299 * sysdeps/x86_64/wcscmp.S: Update.
4300 Fix wrong comparison semantics.
4301 wcscmp shall use signed comparison not unsigned.
4302 Don't use substraction to avoid overflow bug.
4303 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4304 * wcsmbc/wcscmp.c: Likewise.
4305 * string/test-strcmp.c: Likewise.
4306 Add new tests to check cases with negative values.
4307
4308 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4309
4310 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4311 * sysdeps/x86_64/dla.h: ...here. New file.
4312 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4317 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4319 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4320 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4321
4322 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4323
4324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4325 __ynl_finite aliases.
4326
4327 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4328
4329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4330
4331 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4332 define DLA_FMA.
4333 [DLA_FMA] (EMULV): Use DLA_FMA.
4334 [DLA_FMA] (MUL12): Use EMULV.
4335 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4336 that are not needed.
4337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4344
4345 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4346
4347 * math/s_nan.c: Undef __nan.
4348 * math/s_nanf.c: Undef __nanf.
4349 * math/s_nanl.c: Undef __nanl.
4350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4351 "math_private.h".
4352
4353 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4354
4355 * math/s_catan.c: Add branch predictions.
4356 * math/s_catanf.c: Likewise.
4357 * math/s_catanh.c: Likewise.
4358 * math/s_catanhf.c: Likewise.
4359 * math/s_catanhl.c: Likewise.
4360 * math/s_catanl.c: Likewise.
4361 * math/s_cexp.c: Likewise.
4362 * math/s_cexpf.c: Likewise.
4363 * math/s_cexpl.c: Likewise.
4364 * math/s_clog.c: Likewise.
4365 * math/s_clog10.c: Likewise.
4366 * math/s_clog10f.c: Likewise.
4367 * math/s_clog10l.c: Likewise.
4368 * math/s_clogf.c: Likewise.
4369 * math/s_clogl.c: Likewise.
4370 * math/s_csqrt.c: Likewise.
4371 * math/s_csqrtf.c: Likewise.
4372 * math/s_csqrtl.c: Likewise.
4373 * math/s_ctanf.c: Likewise.
4374 * math/s_ctanh.c: Likewise.
4375 * math/s_ctanhf.c: Likewise.
4376 * math/s_ctanhl.c: Likewise.
4377 * math/s_ctanl.c: Likewise.
4378
4379 * math/math_private.h: Define __nan, __nanf, __nanl.
4380 * math/s_cacosh.c: Include <math_private.h>.
4381 * math/s_cacoshl.c: Likewise.
4382 * math/s_casinh.c: Likewise.
4383 * math/s_casinhf.c: Likewise.
4384 * math/s_casinhl.c: Likewise.
4385 * math/s_ccos.c: Rely entire on ccosh.
4386 * math/s_ccosf.c: Rely entire on ccoshf.
4387 * math/s_ccosl.c: Rely entirely on ccoshl.
4388 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4389 Remove tests for FE_INVALID.
4390 * math/s_ccoshf.c: Likewise.
4391 * math/s_ccoshl.c: Likewise.
4392 * math/s_csin.c: Likewise.
4393 * math/s_csinf.c: Likewise.
4394 * math/s_csinh.c Likewise.
4395 * math/s_csinhf.c: Likewise.
4396 * math/s_csinhl.c: Likewise.
4397 * math/s_csinl.c: Likewise.
4398 * math/s_ctan.c: Likewise.
4399 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4400 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4401 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4402
4403 2011-10-21 Ulrich Drepper <drepper@gmail.com>
4404
4405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4406 compilation problems.
4407
4408 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4409 __builtin_expect.
4410
4411 2011-10-20 Ulrich Drepper <drepper@gmail.com>
4412
4413 * sysdeps/i386/configure.in: Test for -mfma4 option.
4414 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4415 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4416 COMMON_CPUID_INDEX_80000001.
4417 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4418 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4419 use it if FMA3 is not supported.
4420 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4421
4422 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4423 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4424
4425 2011-10-20 Andreas Schwab <schwab@redhat.com>
4426
4427 [BZ #12892]
4428 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4429 it would create a cycle with a link time dependency.
4430
4431 2011-10-19 Ulrich Drepper <drepper@gmail.com>
4432
4433 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4434 instruction.
4435 * string/Makefile (strop-tests): Add rawmemchr.
4436 * string/test-rawmemchr.c: New file.
4437
4438 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4440 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4441 when compiling str{,n}casecmp and when AVX is available. Hook up
4442 new optimized code in initializers.
4443
4444 2011-10-19 Andreas Schwab <schwab@redhat.com>
4445
4446 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4447 __feraiseexcept instead of feraiseexcept.
4448
4449 2011-10-18 Ulrich Drepper <drepper@gmail.com>
4450
4451 * math/math_private.h: Define defaults for libc_fetestexcept and
4452 libc_feupdateenv.
4453 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4454 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4455 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4456 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4457 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4458 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4459 libc_fetestexcept and libc_feupdateenv.
4460
4461 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4462 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4463 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4464 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4465 libc_feholdexcept_setround.
4466
4467 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4468 Add s_nearbyint-c and s_nearbyintf-c.
4469 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4470 nearbyintf inlines.
4471 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4472 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4473 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4474 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4475
4476 * math/math_private.h: Define defaults for libc_fegetround,
4477 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4478 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4479 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4480 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4481 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4482 standard functions.
4483 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4484 Remove comments and hacks for old compiler versions.
4485 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4486 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4487 libc_feholdexceptl.
4488
4489 2011-10-18 Andreas Schwab <schwab@redhat.com>
4490
4491 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
4492 (__feraiseexcept_renamed): Add __NTH.
4493 (feraiseexcept): Add __NTH. Rename local variables to fix
4494 namespace violations.
4495
4496 2011-10-17 Ulrich Drepper <drepper@gmail.com>
4497
4498 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4499
4500 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4501
4502 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4503 recently added interfaces.
4504 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4505
4506 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4507 about macro parameter expansion.
4508
4509 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4510 __NO_MATH_INLINES is defined. Cleanups.
4511
4512 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4513 and __floorf is target has SSE4.1.
4514 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4515 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4516 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4517 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4518
4519 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4520 name.
4521 (floorf): Likewise.
4522
4523 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4524
4525 2011-10-17 Andreas Schwab <schwab@redhat.com>
4526
4527 * misc/sys/cdefs.h: Fix last change.
4528
4529 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4530 database lookup.
4531
4532 2011-10-16 Ulrich Drepper <drepper@gmail.com>
4533
4534 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4535
4536 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4537 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4542 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4543 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4544 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4545 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4546 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4547 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4548 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4549 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4550 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4551 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4552 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4553 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4554 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4555 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4556 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4557 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4558
4559 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4560 ceil, ceilf, floor, floorf.
4561
4562 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4563 Perform IRELATIVE relocations last.
4564
4565 * elf/do-rel.h: Add another parameter nrelative, replacing the
4566 local variable with the same name. Change name of the function
4567 to end in Rel or Rela (uppercase).
4568 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4569 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4570 elf_dynamic_do_##reloc function.
4571
4572 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4573
4574 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4575 is sufficient, at least on modern CPUs.
4576
4577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4578
4579 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4580 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4581
4582 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4583 __expl_finite.
4584 * math/bits/math-finite.h: Add entries for exp.
4585 * math/e_expl.c: Add __*_finite alias.
4586 * sysdeps/i386/fpu/e_exp.S: Likewise.
4587 * sysdeps/i386/fpu/e_expf.S: Likewise.
4588 * sysdeps/i386/fpu/e_expl.c: Likewise.
4589 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4590 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4591 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4592 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4593 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4594 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4595 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4596
4597 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4598 is sufficient, at least on modern CPUs.
4599
4600 * ctype/ctype-info.c (__ctype_init): Define.
4601 * include/ctype.h (__ctype_init): Declare.
4602 (__ctype_b_loc): The variable is always initialized.
4603 (__ctype_toupper_loc): Likewise.
4604 (__ctype_tolower_loc): Likewise.
4605 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4606 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4607
4608 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4609
4610 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4611
4612 * configure.in: Also look in $cxxmachine/include for C++ system
4613 headers.
4614
4615 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4616
4617 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4618 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4619 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4620 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4621 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4622 (USE_AS_WMEMCMP): New macro.
4623 Fixing indents.
4624 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4625 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4626 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4627 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4629 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4630 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4631 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4632 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4633 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4634 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4635 (USE_AS_WMEMCMP): New macro.
4636 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4637 * sysdeps/string/test-memcmp.c: Update.
4638 Fix simple_wmemcmp.
4639 Add new tests.
4640 * wcsmbs/wmemcmp.c: Update.
4641 (WMEMCMP): New macro.
4642 Fix overflow bug.
4643
4644 2011-10-12 Andreas Jaeger <aj@suse.de>
4645
4646 [BZ #13268]
4647 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4648
4649 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4650
4651 * libio/iofwide.c (do_length): Avoid warning.
4652
4653 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4654
4655 2011-10-14 Ulrich Drepper <drepper@gmail.com>
4656
4657 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4658
4659 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4660 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4661 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4662 * sysdeps/i386/i686/fpu/e_log.S: New file.
4663 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4664 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4665
4666 * ctype/ctype.h: Add support for inlined isXXX functions when
4667 compiling C++ code.
4668
4669 2011-10-14 Andreas Schwab <schwab@redhat.com>
4670
4671 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4672
4673 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4674
4675 2011-10-13 Roland McGrath <roland@hack.frob.com>
4676
4677 [BZ #13291]
4678 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4679
4680 2011-10-13 Andreas Schwab <schwab@redhat.com>
4681
4682 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4683 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4684 feraiseexcept.
4685
4686 * sysdeps/x86_64/memrchr.S: Check for zero size.
4687
4688 * string/stratcliff.c: Add memrchr tests.
4689
4690 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4691
4692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4693 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4694 rawmemchr-sse2 rawmemchr-sse2-bsf.
4695 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4696 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4697 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4698 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4699 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4700 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4701 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4702 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4703 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4704 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4705 * string/memrchr.c (MEMRCHR): New macro.
4706
4707 2011-10-12 Ulrich Drepper <drepper@gmail.com>
4708
4709 Add integration with gcc's -ffinite-math-only and optimize wrapper
4710 functions in libm.
4711 * Versions.def: Define GLIBC_2.15 version for libm.
4712 * math/Makefile (headers): Add bits/math-finite.h.
4713 * math/bits/math-finite.h: New file.
4714 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4715 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4716 * math/e_acoshl.c: Add __*_finite alias.
4717 * math/e_acosl.c: Likewise.
4718 * math/e_asinl.c: Likewise.
4719 * math/e_atan2l.c: Likewise.
4720 * math/e_atanhl.c: Likewise.
4721 * math/e_coshl.c: Likewise.
4722 * math/e_exp10.c: Likewise.
4723 * math/e_exp10f.c: Likewise.
4724 * math/e_exp10l.c: Likewise.
4725 * math/e_exp2l.c: Likewise.
4726 * math/e_fmodl.c: Likewise.
4727 * math/e_gammal_r.c: Likewise.
4728 * math/e_hypotl.c: Likewise.
4729 * math/e_j0l.c: Likewise.
4730 * math/e_j1l.c: Likewise.
4731 * math/e_jnl.c: Likewise.
4732 * math/e_lgammal_r.c: Likewise.
4733 * math/e_log10l.c: Likewise.
4734 * math/e_log2l.c: Likewise.
4735 * math/e_logl.c: Likewise.
4736 * math/e_powl.c: Likewise.
4737 * math/e_sinhl.c: Likewise.
4738 * math/e_sqrtl.c: Likewise.
4739 * math/e_scalb.c: Completely rewritten and optimized.
4740 * math/e_scalbf.c: Likewise.
4741 * math/e_scalbl.c: Likewise.
4742 * math/w_acos.c: Likewise.
4743 * math/w_acosf.c: Likewise.
4744 * math/w_acosl.c: Likewise.
4745 * math/w_acosh.c: Likewise.
4746 * math/w_acoshf.c: Likewise.
4747 * math/w_acoshl.c: Likewise.
4748 * math/w_asin.c: Likewise.
4749 * math/w_asinf.c: Likewise.
4750 * math/w_asinl.c: Likewise.
4751 * math/w_atan2.c: Likewise.
4752 * math/w_atan2f.c: Likewise.
4753 * math/w_atan2l.c: Likewise.
4754 * math/w_atanh.c: Likewise.
4755 * math/w_atanhf.c: Likewise.
4756 * math/w_atanhl.c: Likewise.
4757 * math/w_exp10.c: Likewise.
4758 * math/w_exp10f.c: Likewise.
4759 * math/w_exp10l.c: Likewise.
4760 * math/w_fmod.c: Likewise.
4761 * math/w_fmodf.c: Likewise.
4762 * math/w_fmodl.c: Likewise.
4763 * math/w_j0.c: Likewise.
4764 * math/w_j0f.c: Likewise.
4765 * math/w_j0l.c: Likewise.
4766 * math/w_j1.c: Likewise.
4767 * math/w_j1f.c: Likewise.
4768 * math/w_j1l.c: Likewise.
4769 * math/w_jn.c: Likewise.
4770 * math/w_jnf.c: Likewise.
4771 * math/w_log.c: Likewise.
4772 * math/w_logf.c: Likewise.
4773 * math/w_logl.c: Likewise.
4774 * math/w_log10.c: Likewise.
4775 * math/w_log10f.c: Likewise.
4776 * math/w_log10l.c: Likewise.
4777 * math/w_log2.c: Likewise.
4778 * math/w_log2f.c: Likewise.
4779 * math/w_log2l.c: Likewise.
4780 * math/w_pow.c: Likewise.
4781 * math/w_powf.c: Likewise.
4782 * math/w_powl.c: Likewise.
4783 * math/w_remainder.c: Likewise.
4784 * math/w_remainderf.c: Likewise.
4785 * math/w_remainderl.c: Likewise.
4786 * math/w_scalb.c: Likewise.
4787 * math/w_scalbf.c: Likewise.
4788 * math/w_scalbl.c: Likewise.
4789 * math/w_sqrt.c: Likewise.
4790 * math/w_sqrtf.c: Likewise.
4791 * math/w_sqrtl.c: Likewise.
4792 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4793 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4794 used.
4795 * math/math_private.h: Declare __kernel_standard_f.
4796 * math/w_cosh.c: Remove cruft and optimize a bit.
4797 * math/w_coshf.c: Likewise.
4798 * math/w_coshl.c: Likewise.
4799 * math/w_exp2.c: Likewise.
4800 * math/w_exp2f.c: Likewise.
4801 * math/w_exp2l.c: Likewise.
4802 * math/w_hypot.c: Likewise.
4803 * math/w_hypotf.c: Likewise.
4804 * math/w_hypotl.c: Likewise.
4805 * math/w_lgamma.c: Likewise.
4806 * math/w_lgamma_r.c: Likewise.
4807 * math/w_lgammaf.c: Likewise.
4808 * math/w_lgammaf_r.c: Likewise.
4809 * math/w_lgammal.c: Likewise.
4810 * math/w_lgammal_r.c: Likewise.
4811 * math/w_sinh.c: Likewise.
4812 * math/w_sinhf.c: Likewise.
4813 * math/w_sinhl.c: Likewise.
4814 * math/w_tgamma.c: Likewise.
4815 * math/w_tgammaf.c: Likewise.
4816 * math/w_tgammal.c: Likewise.
4817 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4818 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4819 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4820 Minor optimizations. Pretty printing. Remove cruft.
4821 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4822 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4823 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4824 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4825 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4826 * sysdeps/i386/fpu/e_asin.S: Likewise.
4827 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4828 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4829 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4830 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4831 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4832 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4833 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4834 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4835 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4836 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4837 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4838 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4839 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4840 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4841 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4842 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4843 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4844 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4845 * sysdeps/i386/fpu/e_log.S: Likewise.
4846 * sysdeps/i386/fpu/e_log10.S: Likewise.
4847 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4848 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4849 * sysdeps/i386/fpu/e_log2.S: Likewise.
4850 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4851 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4852 * sysdeps/i386/fpu/e_logf.S: Likewise.
4853 * sysdeps/i386/fpu/e_logl.S: Likewise.
4854 * sysdeps/i386/fpu/e_pow.S: Likewise.
4855 * sysdeps/i386/fpu/e_powf.S: Likewise.
4856 * sysdeps/i386/fpu/e_powl.S: Likewise.
4857 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4858 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4859 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4860 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4861 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4862 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4863 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4864 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4865 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4866 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4869 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4870 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4871 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4873 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4876 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4877 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4879 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4880 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4882 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4884 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4886 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4887 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4890 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4891 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4892 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4893 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4894 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4895 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4896 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4897 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4898 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4899 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4900 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4901 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4902 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4903 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4904 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4905 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4906 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4907 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4908 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4927 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4928 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4929 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4930 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4945 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4946 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4949 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4951 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4952 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4954 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4957 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4958 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4959 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4960 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4961 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4962 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4963 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4964 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4965 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4966 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4967 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4968 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4969 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4970 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4971 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4972 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4973 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4974 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4975 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4976 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4977 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4978 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4979 (__isnanf): Likewise.
4980 (__isinf_ns): Likewise.
4981 (__isinf_nsf): Likewise.
4982 (__finite): Likewise.
4983 (__finitef): Likewise.
4984 (__ieee754_sqrt): Define as macro.
4985 (__ieee754_sqrtf): Define as macro.
4986 (__ieee754_sqrtl): Define as macro.
4987 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4988 inlined copy.
4989 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4990 __FINITE_MATH_ONLY__ consistent.
4991 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4992
4993 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4994
4995 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4996 of rawmemchr.
4997
4998 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4999
5000 2011-10-09 Ulrich Drepper <drepper@gmail.com>
5001
5002 * po/ja.po: Update from translation team.
5003
5004 2011-10-08 Roland McGrath <roland@hack.frob.com>
5005
5006 * locale/programs/locarchive.c (prepare_address_space): New function.
5007 (create_archive, enlarge_archive, open_archive): Use it.
5008
5009 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5010 inside [SHARED], where it is used.
5011
5012 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5013
5014 * nss/getent.c (netgroup_keys): Remove unused variable.
5015 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5016
5017 2011-10-08 Ulrich Drepper <drepper@gmail.com>
5018
5019 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5020 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5022 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5023 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5024 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5025 * math/Makefile (libm-calls): Add s_isinf_ns.
5026 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5027 * math/multc3.c: Likewise.
5028 * math/s_casin.c: Likewise.
5029 * math/s_casinf.c: Likewise.
5030 * math/s_casinl.c: Likewise.
5031 * math/s_ccos.c: Likewise.
5032 * math/s_ccosf.c: Likewise.
5033 * math/s_ccosl.c: Likewise.
5034 * math/s_ctan.c: Likewise.
5035 * math/s_ctanf.c: Likewise.
5036 * math/s_ctanh.c: Likewise.
5037 * math/s_ctanhf.c: Likewise.
5038 * math/s_ctanhl.c: Likewise.
5039 * math/s_ctanl.c: Likewise.
5040 * math/w_fmod.c: Likewise.
5041 * math/w_fmodf.c: Likewise.
5042 * math/w_fmodl.c: Likewise.
5043 * math/w_remainder.c: Likewise.
5044 * math/w_remainderf.c: Likewise.
5045 * math/w_remainderl.c: Likewise.
5046 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5047 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5048 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5050 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5051 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5052 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5053 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5054
5055 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5056 of the number.
5057 * stdio-common/printf_fphex.c: Likewise.
5058 * stdio-common/printf_size.c: Likewise.
5059
5060 * math/e_exp10.c: Include math_private.h using <...> not "...".
5061 * math/e_exp10f.c: Likewise.
5062 * math/e_exp10l.c: Likewise.
5063 * math/e_exp2l.c: Likewise.
5064 * math/e_j0l.c: Likewise.
5065 * math/e_j1l.c: Likewise.
5066 * math/e_jnl.c: Likewise.
5067 * math/e_lgammal_r.c: Likewise.
5068 * math/e_rem_pio2l.c: Likewise.
5069 * math/e_scalb.c: Likewise.
5070 * math/e_scalbf.c: Likewise.
5071 * math/e_scalbl.c: Likewise.
5072 * math/k_cosl.c: Likewise.
5073 * math/k_sinl.c: Likewise.
5074 * math/k_tanl.c: Likewise.
5075 * math/s_cacoshf.c: Likewise.
5076 * math/s_catan.c: Likewise.
5077 * math/s_catanf.c: Likewise.
5078 * math/s_catanh.c: Likewise.
5079 * math/s_catanhf.c: Likewise.
5080 * math/s_catanhl.c: Likewise.
5081 * math/s_catanl.c: Likewise.
5082 * math/s_ccosh.c: Likewise.
5083 * math/s_ccoshf.c: Likewise.
5084 * math/s_ccoshl.c: Likewise.
5085 * math/s_cexp.c: Likewise.
5086 * math/s_cexpf.c: Likewise.
5087 * math/s_cexpl.c: Likewise.
5088 * math/s_clog.c: Likewise.
5089 * math/s_clog10.c: Likewise.
5090 * math/s_clog10f.c: Likewise.
5091 * math/s_clog10l.c: Likewise.
5092 * math/s_clogf.c: Likewise.
5093 * math/s_clogl.c: Likewise.
5094 * math/s_csin.c: Likewise.
5095 * math/s_csinf.c: Likewise.
5096 * math/s_csinh.c: Likewise.
5097 * math/s_csinhf.c: Likewise.
5098 * math/s_csinhl.c: Likewise.
5099 * math/s_csinl.c: Likewise.
5100 * math/s_csqrt.c: Likewise.
5101 * math/s_csqrtf.c: Likewise.
5102 * math/s_csqrtl.c: Likewise.
5103 * math/s_ctan.c: Likewise.
5104 * math/s_ctanf.c: Likewise.
5105 * math/s_ctanh.c: Likewise.
5106 * math/s_ctanhf.c: Likewise.
5107 * math/s_ctanhl.c: Likewise.
5108 * math/s_ctanl.c: Likewise.
5109 * math/s_ldexp.c: Likewise.
5110 * math/s_ldexpf.c: Likewise.
5111 * math/s_ldexpl.c: Likewise.
5112 * math/s_significand.c: Likewise.
5113 * math/s_significandf.c: Likewise.
5114 * math/s_significandl.c: Likewise.
5115 * math/w_acos.c: Likewise.
5116 * math/w_acosf.c: Likewise.
5117 * math/w_acosh.c: Likewise.
5118 * math/w_acoshf.c: Likewise.
5119 * math/w_acoshl.c: Likewise.
5120 * math/w_acosl.c: Likewise.
5121 * math/w_asin.c: Likewise.
5122 * math/w_asinf.c: Likewise.
5123 * math/w_asinl.c: Likewise.
5124 * math/w_atan2.c: Likewise.
5125 * math/w_atan2f.c: Likewise.
5126 * math/w_atan2l.c: Likewise.
5127 * math/w_atanh.c: Likewise.
5128 * math/w_atanhf.c: Likewise.
5129 * math/w_atanhl.c: Likewise.
5130 * math/w_cosh.c: Likewise.
5131 * math/w_coshf.c: Likewise.
5132 * math/w_coshl.c: Likewise.
5133 * math/w_dremf.c: Likewise.
5134 * math/w_exp10.c: Likewise.
5135 * math/w_exp10f.c: Likewise.
5136 * math/w_exp10l.c: Likewise.
5137 * math/w_exp2.c: Likewise.
5138 * math/w_exp2f.c: Likewise.
5139 * math/w_fmod.c: Likewise.
5140 * math/w_fmodf.c: Likewise.
5141 * math/w_fmodl.c: Likewise.
5142 * math/w_hypot.c: Likewise.
5143 * math/w_hypotf.c: Likewise.
5144 * math/w_hypotl.c: Likewise.
5145 * math/w_j0.c: Likewise.
5146 * math/w_j0f.c: Likewise.
5147 * math/w_j0l.c: Likewise.
5148 * math/w_j1.c: Likewise.
5149 * math/w_j1f.c: Likewise.
5150 * math/w_j1l.c: Likewise.
5151 * math/w_jn.c: Likewise.
5152 * math/w_jnf.c: Likewise.
5153 * math/w_jnl.c: Likewise.
5154 * math/w_lgamma.c: Likewise.
5155 * math/w_lgamma_r.c: Likewise.
5156 * math/w_lgammaf.c: Likewise.
5157 * math/w_lgammaf_r.c: Likewise.
5158 * math/w_lgammal.c: Likewise.
5159 * math/w_lgammal_r.c: Likewise.
5160 * math/w_log.c: Likewise.
5161 * math/w_log10.c: Likewise.
5162 * math/w_log10f.c: Likewise.
5163 * math/w_log10l.c: Likewise.
5164 * math/w_log2.c: Likewise.
5165 * math/w_log2f.c: Likewise.
5166 * math/w_log2l.c: Likewise.
5167 * math/w_logf.c: Likewise.
5168 * math/w_logl.c: Likewise.
5169 * math/w_pow.c: Likewise.
5170 * math/w_powf.c: Likewise.
5171 * math/w_powl.c: Likewise.
5172 * math/w_remainder.c: Likewise.
5173 * math/w_remainderf.c: Likewise.
5174 * math/w_remainderl.c: Likewise.
5175 * math/w_scalb.c: Likewise.
5176 * math/w_scalbf.c: Likewise.
5177 * math/w_scalbl.c: Likewise.
5178 * math/w_sinh.c: Likewise.
5179 * math/w_sinhf.c: Likewise.
5180 * math/w_sinhl.c: Likewise.
5181 * math/w_sqrt.c: Likewise.
5182 * math/w_sqrtf.c: Likewise.
5183 * math/w_sqrtl.c: Likewise.
5184 * math/w_tgamma.c: Likewise.
5185 * math/w_tgammaf.c: Likewise.
5186 * math/w_tgammal.c: Likewise.
5187
5188 * po/ja.po: Update from translation team.
5189
5190 2011-09-29 Andreas Jaeger <aj@suse.de>
5191
5192 [BZ #13179]
5193 * sunrpc/netname.c (netname2host): Fix logic.
5194
5195 [BZ #6779]
5196 [BZ #6783]
5197 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5198 correctly.
5199 * math/w_remainder.c (__remainder): Likewise.
5200 * math/w_remainderf.c (__remainderf): Likewise.
5201 * math/libm-test.inc (remainder_test): Add test cases.
5202
5203 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5204
5205 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5206 sdiv_qrnnd.
5207
5208 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5209
5210 * string/test-memcmp.c: Avoid unncessary #defines.
5211 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5212
5213 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5214
5215 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5216 Use new sse2 version for core i3 - i7 as it's faster
5217 than sse42 version.
5218 (bit_Prefer_PMINUB_for_stringop): New.
5219 * sysdeps/x86_64/rawmemchr.S: Update.
5220 Replace with faster SSE2 version.
5221 * sysdeps/x86_64/memrchr.S: New file.
5222 * sysdeps/x86_64/memchr.S: Update.
5223 Replace with faster SSE2 version.
5224
5225 2011-09-12 Marek Polacek <mpolacek@redhat.com>
5226
5227 * elf/dl-load.c (lose): Add cast to avoid warning.
5228
5229 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5230
5231 * po/ca.po: Update from translation team.
5232
5233 * inet/getnetgrent_r.c: Hook up nscd.
5234 * nscd/Makefile (routines): Add nscd_netgroup.
5235 (nscd-modules): Add netgroupcache.
5236 (CFLAGS-netgroupcache.c): Define.
5237 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5238 (cache_search): Add const to second parameter.
5239 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5240 INNETGR.
5241 (dbs): Add netgrdb entry.
5242 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5243 (verify_persistent_db): Handle netgrdb.
5244 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5245 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5246 GETFDNETGR.
5247 (netgroup_response_header): Define.
5248 (innetgroup_response_header): Define.
5249 (datahead): Add netgroup_response_header and innetgroup_response_header
5250 elements.
5251 * nscd/nscd.conf: Add entries for netgroup cache.
5252 * nscd/nscd.h (dbtype): Add netgrdb.
5253 (_PATH_NSCD_NETGROUP_DB): Define.
5254 (netgroup_iov_disabled): Declare.
5255 (xmalloc, xcalloc, xrealloc): Move declarations here.
5256 (cache_search): Adjust prototype.
5257 Add netgroup-related prototypes.
5258 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5259 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5260 (__nscd_innetgr): Declare.
5261 * nscd/selinux.c (perms): Use access_vector_t as element type and
5262 add netgroup-related initializers.
5263 * nscd/netgroupcache.c: New file.
5264 * nscd/nscd_netgroup.c: New file.
5265 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5266 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5267 For four parameters use innetgr.
5268 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5269 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5270 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5271 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5272
5273 * nscd/connections.c (register_traced_file): Don't register file
5274 for disabled databases.
5275
5276 2011-10-06 Ulrich Drepper <drepper@gmail.com>
5277
5278 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5279
5280 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5281 from tree and freeing node.
5282
5283 2011-09-25 Jiri Olsa <jolsa@redhat.com>
5284
5285 * nss/nsswitch.c (__nss_database_lookup): Handle
5286 nss_parse_service_list out of memory case.
5287
5288 2011-09-15 Jiri Olsa <jolsa@redhat.com>
5289
5290 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5291 out of memory case.
5292
5293 2011-10-04 Andreas Schwab <schwab@redhat.com>
5294
5295 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5296 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5297 pass it down.
5298 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5299 elf_machine_rela, elf_machine_lazy_rel.
5300 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5301 (ELF_DYNAMIC_DO_REL): Likewise.
5302 (ELF_DYNAMIC_DO_RELA): Likewise.
5303 (ELF_DYNAMIC_RELOCATE): Likewise.
5304 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5305 to ELF_DYNAMIC_DO_REL.
5306 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5307 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5308 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5309 elf_machine_rela.
5310 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5311 skip_ifunc, don't call ifunc function if non-zero.
5312 (elf_machine_rela): Likewise.
5313 (elf_machine_lazy_rel): Likewise.
5314 (elf_machine_lazy_rela): Likewise.
5315 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5316 (elf_machine_lazy_rel): Likewise.
5317 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5318 Likewise.
5319 (elf_machine_lazy_rel): Likewise.
5320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5321 Likewise.
5322 (elf_machine_lazy_rel): Likewise.
5323 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5324 (elf_machine_lazy_rel): Likewise.
5325 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5326 (elf_machine_lazy_rel): Likewise.
5327 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5328 (elf_machine_lazy_rel): Likewise.
5329 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5330 (elf_machine_lazy_rel): Likewise.
5331 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5332 (elf_machine_lazy_rel): Likewise.
5333 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5334 (elf_machine_lazy_rel): Likewise.
5335
5336 2011-09-28 Ulrich Drepper <drepper@gmail.com>
5337
5338 * nss/nss_files/files-init.c (_nss_files_init): Use static
5339 initialization for all the *_traced_file variables.
5340
5341 2011-09-28 Andreas Schwab <schwab@redhat.com>
5342
5343 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5344
5345 2011-09-27 Roland McGrath <roland@hack.frob.com>
5346
5347 [BZ #13226]
5348 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5349
5350 2011-09-27 Andreas Schwab <schwab@redhat.com>
5351
5352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5353 Reread the line before reparsing it.
5354
5355 2011-09-26 Andreas Schwab <schwab@redhat.com>
5356
5357 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5358
5359 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5360 Maxim Kuvyrkov <maxim@codesourcery.com>
5361 Joseph Myers <joseph@codesourcery.com>
5362
5363 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5364 if needed for __stack_chk_guard.
5365
5366 2011-09-19 Roland McGrath <roland@hack.frob.com>
5367
5368 * sysdeps/posix/spawni.c (script_execute): Always define it.
5369 It will be optimized away if unused.
5370 (maybe_script_execute): New function.
5371 (__spawni): Call it.
5372
5373 * Makerules: Don't include tls.make.
5374 (config-tls): Always set to thread.
5375 * tls.make.c: File removed.
5376
5377 2011-09-19 Mike Frysinger <vapier@gentoo.org>
5378
5379 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5380 * config.make.in (CPPFLAGS-config): New substituted variable.
5381
5382 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5383
5384 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5385
5386 [BZ #13192]
5387 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5388 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5389
5390 2011-09-15 Roland McGrath <roland@hack.frob.com>
5391
5392 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5393 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5395 (CALL_FAIL): Likewise.
5396 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5397 (CALL_FAIL): Macro removed.
5398 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5399
5400 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5401
5402 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5403 for __FINITE_MATH_ONLY__ == 1.
5404
5405 2011-09-15 Andreas Schwab <schwab@redhat.com>
5406
5407 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5408 __ieee754_sqrt instead of sqrt.
5409 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5410 __ieee754_sqrtf instead of sqrtf.
5411 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5412 __floorf instead of floorf.
5413 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5414 __floorf, __truncf instead of floorf, truncf.
5415
5416 2011-09-14 Ulrich Drepper <drepper@gmail.com>
5417
5418 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5419
5420 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5421 __extern_always_inline.
5422 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5423 32-bit.
5424
5425 2011-09-14 Andreas Schwab <schwab@redhat.com>
5426
5427 * elf/rtld.c (dl_main): Also relocate in dependency order when
5428 doing symbol dependency testing.
5429
5430 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5431
5432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5433 Always define `refsym'.
5434
5435 2011-09-13 Andreas Schwab <schwab@redhat.com>
5436
5437 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5438 (__FD_ELT): Renamed from __FDELT.
5439 * misc/bits/select2.h (__FD_ELT): Likewise.
5440 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5441 __FD_MASK instead of __FDELT, __FDMASK.
5442 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5443 Likewise.
5444 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5445 Likewise.
5446
5447 * elf/Makefile (gen-ldd): Fix pattern.
5448
5449 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5450 (init_tls): Likewise.
5451
5452 2011-09-12 Ulrich Drepper <drepper@gmail.com>
5453
5454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5455
5456 2011-09-12 Andreas Schwab <schwab@redhat.com>
5457
5458 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5459 `struct cmsghdr *' instead of `void *'.
5460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5461 Likewise.
5462
5463 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5464
5465 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5466 if non-absolute.
5467 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5468 ldd_rewrite_script.
5469
5470 2011-09-11 Ulrich Drepper <drepper@gmail.com>
5471
5472 * configure.in: Remove --with-tls option.
5473 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5474 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5475 out in case it is missing.
5476 * sysdeps/ia64/elf/configure.in: Likewise.
5477 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5478 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5479 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5480 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5481 * sysdeps/sh/elf/configure.in: Likewise.
5482 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5483 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5484 * sysdeps/x86_64/elf/configure.in: Likewise.
5485 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5486 * sysdeps/mach/hurd/tls.h: Likewise.
5487
5488 [BZ #13067]
5489 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5490
5491 [BZ #13090]
5492 * configure.in: Fix use of AC_INIT.
5493
5494 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5495
5496 2011-09-10 Ulrich Drepper <drepper@gmail.com>
5497
5498 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5499 __set_errno.
5500 * malloc/hooks.c: Likewise.
5501
5502 [BZ #11929]
5503 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5504 variables statically.
5505 (narenas): Initialize.
5506 (list_lock): Initialize.
5507 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5508 initializtion of main_arena and list_lock. Small cleanups.
5509 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5510 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5511 Add initializers to main_arena and mp_.
5512 (malloc_state): Remove pagesize member. Change all users to use
5513 GLRO(dl_pagesize).
5514
5515 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5516 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5517 is always initialized.
5518
5519 * malloc/malloc.c: Removed unused configurations and dead code.
5520 * malloc/arena.c: Likewise.
5521 * malloc/hooks.c: Likewise.
5522 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
5523
5524 * include/tls.h: Removed. USE___THREAD must always be defined.
5525 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5526 * elf/dl-libc.c: Likewise.
5527 * elf/dl-tsd.c: Likewise.
5528 * include/errno.h: Likewise.
5529 * include/netdb.h: Likewise.
5530 * include/resolv.h: Likewise.
5531 * inet/herrno-loc.c: Likewise.
5532 * inet/herrno.c: Likewise.
5533 * malloc/arena.c: Likewise.
5534 * malloc/hooks.c: Likewise.
5535 * malloc/malloc.c: Likewise.
5536 * resolv/res-state.c: Likewise.
5537 * resolv/res_libc.c: Likewise.
5538 * sysdeps/i386/dl-machine.h: Likewise.
5539 * sysdeps/ia64/dl-machine.h: Likewise.
5540 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5541 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5542 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5543 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5544 * sysdeps/sh/dl-machine.h: Likewise.
5545 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5546 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5547 * sysdeps/unix/i386/sysdep.S: Likewise.
5548 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5549 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5554 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5558 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5559 * sysdeps/x86_64/dl-machine.h: Likewise.
5560 * tls.make.c: Likewise.
5561
5562 * configure.in: Remove --with-__thread option. Make tests for
5563 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5564 tls_model attribute fail if no support is available. Remove
5565 USE_IN_LIBIO.
5566 * Makeconfig: Adjust for dropped configure option. All features are
5567 now mandatory.
5568 * Makerules: Likewise.
5569 * Versions.def: Likewise.
5570 * argp/argp-fmtstream.c: Likewise.
5571 * argp/argp-fmtstream.h: Likewise.
5572 * argp/argp-help.c: Likewise.
5573 * assert/assert.c: Likewise.
5574 * config.h.in: Likewise.
5575 * config.make.in: Likewise.
5576 * configure: Likewise.
5577 * configure.in: Likewise.
5578 * csu/Versions: Likewise.
5579 * csu/init.c: Likewise.
5580 * elf/tst-audit2.c: Likewise.
5581 * elf/tst-tls10.c: Likewise.
5582 * elf/tst-tls10.h: Likewise.
5583 * elf/tst-tls11.c: Likewise.
5584 * elf/tst-tls12.c: Likewise.
5585 * elf/tst-tls14.c: Likewise.
5586 * elf/tst-tlsmod11.c: Likewise.
5587 * elf/tst-tlsmod12.c: Likewise.
5588 * elf/tst-tlsmod13.c: Likewise.
5589 * elf/tst-tlsmod13a.c: Likewise.
5590 * elf/tst-tlsmod14a.c: Likewise.
5591 * elf/tst-tlsmod15b.c: Likewise.
5592 * elf/tst-tlsmod16a.c: Likewise.
5593 * elf/tst-tlsmod16b.c: Likewise.
5594 * elf/tst-tlsmod7.c: Likewise.
5595 * elf/tst-tlsmod8.c: Likewise.
5596 * elf/tst-tlsmod9.c: Likewise.
5597 * gmon/gmon.c: Likewise.
5598 * grp/fgetgrent_r.c: Likewise.
5599 * grp/putgrent.c: Likewise.
5600 * hurd/fopenport.c: Likewise.
5601 * include/libc-symbols.h: Likewise.
5602 * include/tls.h: Likewise.
5603 * intl/gettextP.h: Likewise.
5604 * intl/loadinfo.h: Likewise.
5605 * locale/global-locale.c: Likewise.
5606 * locale/localeinfo.h: Likewise.
5607 * mach/devstream.c: Likewise.
5608 * malloc/arena.c: Likewise.
5609 * malloc/set-freeres.c: Likewise.
5610 * misc/err.c: Likewise.
5611 * misc/getttyent.c: Likewise.
5612 * misc/mntent_r.c: Likewise.
5613 * posix/getopt.c: Likewise.
5614 * posix/wordexp.c: Likewise.
5615 * pwd/fgetpwent_r.c: Likewise.
5616 * resolv/Versions: Likewise.
5617 * resolv/res_hconf.c: Likewise.
5618 * shadow/fgetspent_r.c: Likewise.
5619 * shadow/putspent.c: Likewise.
5620 * stdio-common/printf_fphex.c: Likewise.
5621 * stdio-common/tmpfile.c: Likewise.
5622 * stdlib/abort.c: Likewise.
5623 * stdlib/fmtmsg.c: Likewise.
5624 * sunrpc/auth_unix.c: Likewise.
5625 * sunrpc/clnt_perr.c: Likewise.
5626 * sunrpc/clnt_tcp.c: Likewise.
5627 * sunrpc/clnt_udp.c: Likewise.
5628 * sunrpc/clnt_unix.c: Likewise.
5629 * sunrpc/openchild.c: Likewise.
5630 * sunrpc/svc_simple.c: Likewise.
5631 * sunrpc/svc_tcp.c: Likewise.
5632 * sunrpc/svc_udp.c: Likewise.
5633 * sunrpc/svc_unix.c: Likewise.
5634 * sunrpc/xdr.c: Likewise.
5635 * sunrpc/xdr_array.c: Likewise.
5636 * sunrpc/xdr_rec.c: Likewise.
5637 * sunrpc/xdr_ref.c: Likewise.
5638 * sunrpc/xdr_stdio.c: Likewise.
5639
5640 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5641
5642 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5643
5644 2011-07-03 Andreas Jaeger <aj@suse.de>
5645
5646 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5647 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5648 regenerate with gen-libm-tests.pl.
5649
5650 2010-05-12 Petr Baudis <pasky@suse.cz>
5651
5652 [BZ #11589]
5653 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5654 around j0() zero points by switching to j1().
5655 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5659
5660 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5661
5662 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5663 instead of 0.
5664 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5665 instead of 0. .
5666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5667 Patch in part by Pavel Roskin <proski@gnu.org>.
5668
5669 [BZ #13138]
5670 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5671 realloc.
5672 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5673 Free memory block if necessary.
5674
5675 [BZ #12847]
5676 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5677 be NULL. Don't lock in this case.
5678
5679 2011-09-09 Roland McGrath <roland@hack.frob.com>
5680
5681 * elf/elf.h (ELFOSABI_GNU): New macro.
5682 (ELFOSABI_LINUX): Define to that.
5683
5684 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5685
5686 * string/strncat.c (strncat): Undef the symbol in case it has been
5687 defined in bits/string.h.
5688
5689 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5690
5691 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5692
5693 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
5694 link map.
5695
5696 2011-08-17 Andreas Jaeger <aj@suse.de>
5697
5698 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5699
5700 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5701 Ian Lance Taylor <iant@google.com>
5702
5703 * math/libm-test.inc (lround_test): New testcase.
5704 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5705
5706 2011-09-08 Ulrich Drepper <drepper@gmail.com>
5707
5708 * Makefile: Remove support for automatic cvs check-ins.
5709 * Makerules: Likewise.
5710 * config.make.in: Likewise.
5711 * configure.in: Likewise.
5712 * intl/Makefile: Likewise.
5713 * locale/Makefile: Likewise.
5714 * po/Makefile: Likewise.
5715 * posix/Makefile: Likewise.
5716 * sysdeps/gnu/Makefile: Likewise.
5717 * sysdeps/mach/hurd/Makefile: Likewise.
5718 * sysdeps/sparc/sparc32/Makefile: Likewise.
5719
5720 [BZ #13118]
5721 * posix/Makefile (bug-regex32-ENV): Define.
5722 Patch by John Stanley <jpsinthemix@verizon.net>.
5723
5724 * misc/Makefile (headers): Add bits/select2.h.
5725 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5726 * misc/bits/select2.h: New file.
5727 * include/bits/select2.h: New file.
5728 * debug/Makefile (routines): Add fdelt_chk.
5729 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5730 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5731 FD_ISSET.
5732 * debug/fdelt_chk.c: New file.
5733
5734 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5735 * wcsmbs/test-wmemcmp.c: Likewise.
5736 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
5737 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
5738
5739 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5740
5741 * string/Makefile (strop-tests): Add memcmp.
5742 * string/test-wmemcmp.c: New file.
5743 * string/test-memcmp.c: Add wmemcmp support.
5744
5745 2011-09-08 Roland McGrath <roland@hack.frob.com>
5746
5747 [BZ #13153]
5748 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5749 2011-07-19 change.
5750
5751 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5752 garbage value in a __mach_port_mod_refs call in the cases of the
5753 task-self and thread-self ports.
5754
5755 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5756
5757 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5758
5759 2011-09-08 Andreas Schwab <schwab@redhat.com>
5760
5761 * elf/dl-load.c (lose): Check for non-null L.
5762
5763 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5764
5765 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5766
5767 * elf/dl-libc.c (dlerror_run): Pass back error code from
5768 dl_catch_error.
5769
5770 [BZ #13123]
5771 * elf/dl-load.c (lose): Free l_origin if it is valid.
5772
5773 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5774 names.
5775 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5776 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5777 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5778 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5779 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5780 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5781
5782 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5783
5784 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5785 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5786 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5787 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5788 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5789 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5790 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5791 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5792 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5793 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5794
5795 2011-08-15 Alan Modra <amodra@gmail.com>
5796
5797 [BZ #13092]
5798 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5799 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5800 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5801 ppc_mcount to static-only-routines.
5802 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5803 __mcount_internal.
5804 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5805 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5806
5807 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5808
5809 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5810 for finite and infinity parameters.
5811
5812 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5813
5814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5815 and add nop instructions for throughput optimization.
5816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5817
5818 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5819
5820 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5821 aligned copy for power7 with vector-scalar instructions.
5822 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5823
5824 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5825
5826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5827 AVX check.
5828
5829 2011-09-07 Andreas Schwab <schwab@redhat.com>
5830
5831 [BZ #13144]
5832 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5833 last change.
5834
5835 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5836
5837 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5838 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5839 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5840 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5841 clock_gettime.
5842
5843 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5844
5845 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5846 Forgot to demangle the pointer.
5847
5848 * sysdeps/i386/sysdep.h: Define atom_text_section.
5849 * sysdeps/x86_64/sysdep.h: Likewise.
5850 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5851 section with atom_text_section.
5852 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5853 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5854 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5856 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5857
5858 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5859 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5860 already be defined. Change to take two parameters and don't assign
5861 result to variable. Adjust all users.
5862 Define INTERNAL_GETTIME if not already defined.
5863 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5864 call.
5865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5866 HAVE_CLOCK_GETTIME_VSYSCALL.
5867 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5868
5869 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5870 gettimeofday vsyscall, just use time.
5871
5872 2011-09-06 Andreas Schwab <schwab@redhat.com>
5873
5874 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5875 <errno.h>.
5876
5877 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5878
5879 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5880 syscall on x86-64.
5881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5882 syscall.
5883 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5884 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5885 syscall if possible.
5886
5887 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5888
5889 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5890 e_ident. Don't pass to find_mapsXX.
5891 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5892
5893 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5894
5895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5896 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5897 * sysdeps/x86_64/multiarch/strchr.S: Update.
5898 Check bit_slow_BSF bit.
5899 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5900 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5901 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5902
5903 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5904
5905 [BZ #13134]
5906 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5907 before glibc 2.15.
5908 (tryshell): Define.
5909 (__spawni): Change last parameter to be flag. Test
5910 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5911 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5912 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5913 * posix/spawni.c: Likewise.
5914 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5915 * posix/spawnp.c: Likewise. Change normal version to use
5916 SPAWN_XFLAGS_USE_PATH.
5917 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5918 SPAWN_XFLAGS_TRY_SHELL.
5919
5920 [BZ #13150]
5921 * posix/glob.h: Remove gcc 1.x support.
5922
5923 [BZ #13068]
5924 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5925
5926 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5927
5928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5929 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5930 strrchr-sse2-bsf
5931 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5932 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5933 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5934 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5935 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5936 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5937
5938 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5939
5940 * sysdeps/x86_64/wcscmp.S: New file.
5941
5942 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5943 wcscmp-c wcscmp-sse2
5944 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5945 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5946 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5947 * wcsmbs/wcscmp.c: Allow renaming.
5948
5949 2011-09-05 David S. Miller <davem@davemloft.net>
5950
5951 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5952 stack slot, rather than the struct return pointer slot.
5953 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5954 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5956 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5957
5958 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5959
5960 * po/ja.po: Update from translation team.
5961
5962 [BZ #13144]
5963 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5964 kernel in 64-bit binaries.
5965
5966 2011-09-01 David S. Miller <davem@davemloft.net>
5967
5968 * elf/elf.h (HWCAP_SPARC_*): Move to..
5969 * sysdeps/sparc/sysdep.h: this new file and add new values.
5970 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5971 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5972 _DL_HWCAP_COUNT to 24.
5973 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5974 entries.
5975 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5976 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5977 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5979 instead of magic constants.
5980 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5981
5982 2011-08-31 David S. Miller <davem@davemloft.net>
5983
5984 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5986 Reimplement to do errno handling inline.
5987 (SYSCALL_ERROR_HANDLER): New macro.
5988 (__SYSCALL_STRING): Do not do errno handling in asm.
5989 (__CLONE_SYSCALL_STRING): Delete.
5990 (__INTERNAL_SYSCALL_STRING): Delete.
5991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5992 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5993 (PSEUDO): Reimplement to do errno handling inline.
5994 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5995 (SYSCALL_ERROR_HANDLER): New macro.
5996 (__SYSCALL_STRING): Do not do errno handling in asm.
5997 (__CLONE_SYSCALL_STRING): Delete.
5998 (__INTERNAL_SYSCALL_STRING): Delete.
5999 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6000 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6001 i386.
6002 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6003 (inline_syscall*): Add 'err' argument.
6004 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6005 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6006 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6007 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6008
6009 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6010 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6011
6012 2011-08-30 Andreas Schwab <schwab@redhat.com>
6013
6014 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6015
6016 2011-08-29 Jiri Olsa <jolsa@redhat.com>
6017
6018 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6019 directive.
6020
6021 2011-08-24 David S. Miller <davem@davemloft.net>
6022
6023 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6024
6025 2011-08-24 Andreas Schwab <schwab@redhat.com>
6026
6027 * elf/Makefile: Add rules to build and run unload8 test.
6028 * elf/unload8.c: New file.
6029 * elf/unload8mod1.c: New file.
6030 * elf/unload8mod1x.c: New file.
6031 * elf/unload8mod2.c: New file.
6032 * elf/unload8mod3.c: New file.
6033
6034 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6035 it wasn't used.
6036
6037 2011-08-23 David S. Miller <davem@davemloft.net>
6038
6039 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6040 subtract stack bias.
6041 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6042 %sp not %fp in calculations.
6043 (_JMPBUF_UNWINDS_ADJ): Likewise.
6044
6045 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6046 (aio_suspend): Call it to force an exception region around the
6047 AIO_MISC_WAIT() invocation.
6048
6049 2011-08-23 Andreas Schwab <schwab@redhat.com>
6050
6051 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6052 backslash.
6053
6054 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6055
6056 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6057 protection macro.
6058 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6059 and <dl-machine.h>.
6060 (Elf64_FuncDesc): Remove.
6061
6062 2011-08-22 David S. Miller <davem@davemloft.net>
6063
6064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6065 sigaltstack check, add missing cfi directives.
6066 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6067 missing cfi directives, and sigaltstack handling.
6068
6069 2011-08-16 Andreas Schwab <schwab@redhat.com>
6070
6071 [BZ #11724]
6072 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6073 object is seen twice.
6074 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6075
6076 * elf/Makefile (distribute): Add tst-initorder2.c.
6077 (tests): Add tst-initorder2.
6078 (modules-names): Add tst-initorder2a tst-initorder2b
6079 tst-initorder2c tst-initorder2d. Add rules to build them.
6080 ($(objpfx)tst-initorder2.out): New rule.
6081 * elf/tst-initorder2.c: New file.
6082 * elf/tst-initorder2.exp: New file.
6083
6084 2011-08-22 Andreas Schwab <schwab@redhat.com>
6085
6086 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6087
6088 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6089 dependencies back to end of function.
6090
6091 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6092 $(elfobjdir)/ld.so.
6093
6094 2011-08-21 Ulrich Drepper <drepper@gmail.com>
6095
6096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6097 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6098 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6099 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6100 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6101 of __vdso_gettimeofday.
6102 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6103 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6104 attribute_hidden.
6105 (_libc_vdso_platform_setup): Remove initialization of
6106 __vdso_gettimeofday and __vdso_time.
6107
6108 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6109
6110 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6111 and fgetc_unlocked.
6112 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6113 getc_unlocked.
6114
6115 * elf/dl-open.c (add_to_global): Report additions to the global scope
6116 for LD_DEBUG=scopes.
6117 (dl_open_worker): Also print scope of newly loaded dependencies.
6118 (_dl_show_scope): Indicate if there is no scope.
6119
6120 [BZ #13114]
6121 * stdio-common/Makefile (tests): Add bug24.
6122 * stdio-common/bug24.c: New file.
6123
6124 2011-08-19 Andreas Jaeger <aj@suse.de>
6125
6126 [BZ #13114]
6127 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6128 non-existant file when using close-on-exec mode.
6129
6130 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6131
6132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6133 the very first instruction.
6134
6135 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6136 the CFI state in the end.
6137 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6138 inclusion of dl-trampoline.h.
6139 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6140
6141 2011-08-19 Andreas Schwab <schwab@redhat.com>
6142
6143 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6144 expectations for long double.
6145
6146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6147 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6148
6149 2011-08-14 David S. Miller <davem@davemloft.net>
6150
6151 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6152 artificual limit depends upon the system page size.
6153
6154 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6155
6156 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6157 * resolv/Makefile: Define CFLAGS-libresolv.
6158
6159 2011-08-17 Andreas Schwab <schwab@redhat.com>
6160
6161 * nss/makedb.c (compute_tables): Make variables used in nested
6162 function static.
6163
6164 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6165
6166 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6167 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6168 if buffer was too small.
6169
6170 * elf/pldd.c (main): Attach to all threads in the process.
6171 Rewrite /proc handling to use *at functions.
6172
6173 2011-08-16 Ulrich Drepper <drepper@gmail.com>
6174
6175 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6176 specifies first scope to show.
6177 (dl_open_worker): Update callers. Move printing scope of new
6178 object to before the relocation.
6179 * elf/rtld.c (dl_main): Update _dl_show_scope call.
6180 * sysdeps/generic/ldsodefs.h: Update declaration.
6181
6182 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6183 string for the scope number.
6184
6185 2011-08-14 Ulrich Drepper <drepper@gmail.com>
6186
6187 * nscd/servicescache.c (cache_addserv): Make sure written is always
6188 initialized.
6189
6190 2011-08-14 Roland McGrath <roland@hack.frob.com>
6191
6192 * sysdeps/i386/i486/bits/atomic.h
6193 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6194 statement expression, so as to suppress "set but not used" warning.
6195 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6196
6197 * string/strncat.c (STRNCAT): Use prototype definition.
6198
6199 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6200 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6201 -Iprograms here.
6202 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6203 (localedef-modules): Add localedef.
6204 (locale-modules): Add locale.
6205
6206 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6207 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6208 to avoid a warning.
6209
6210 2011-08-14 David S. Miller <davem@davemloft.net>
6211
6212 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6213 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6214
6215 2011-08-13 Ulrich Drepper <drepper@gmail.com>
6216
6217 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
6218 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6219 * elf/rtld.c (dl_main): Set l_name of vDSO.
6220 Call _dl_show_scope when DL_DEBUG_SCOPES.
6221 (process_dl_debug): Recognize scopes flag and also set it for all.
6222 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6223 Declare _dl_show_scope.
6224
6225 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6226 (do_dlopen): Pass caller_dlopen to dl_open.
6227 (__libc_dlopen_mode): Initialize caller_dlopen.
6228
6229 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6230 of libc. Make tolower call locale-independent. Optimize a bit by
6231 using isdigit instead of isalnum.
6232 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6233
6234 2011-08-12 Ulrich Drepper <drepper@gmail.com>
6235
6236 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6237 was a dependency or dynamically loaded.
6238
6239 2011-08-11 Ulrich Drepper <drepper@gmail.com>
6240
6241 * intl/l10nflist.c: Allow architecture-specific pop function.
6242 * sysdeps/x86_64/l10nflist.c: New file.
6243
6244 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6245 classification.
6246
6247 2011-08-10 Andreas Schwab <schwab@redhat.com>
6248
6249 * include/dirent.h: Add libc_hidden_proto for scandirat and
6250 scandirat64. Don't declare __scandirat64.
6251 * dirent/scandirat.c: Add libc_hidden_def.
6252 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6253 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6254
6255 2011-08-10 David S. Miller <davem@davemloft.net>
6256
6257 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6258 enum.
6259 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6260 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6261 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6262
6263 2011-08-09 Ulrich Drepper <drepper@gmail.com>
6264
6265 * Versions.def [libc]: Add GLIBC_2.15.
6266 * dirent/Makefile (routines): Add scandirat and scandirat64.
6267 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6268 GLIBC_2.15.
6269 * dirent/dirent.h: Declare scandirat and scandirat64.
6270 * dirent/scandirat.c: New file.
6271 * dirent/scandirat64.c: New file.
6272 * sysdeps/wordsize-64/scandirat.c: New file.
6273 * sysdeps/wordsize-64/scandirat64.c: New file.
6274 * dirent/opendir.c: Define opendirat.
6275 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6276 using scandirat.
6277 * dirent/scandir64.c: Adjust for scandir.c change.
6278 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6279 __scandirat64, and __scandir_cancel_handler.
6280 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6281 additional parameter and use openat instead of open (outside of ld.so).
6282 Add new __opendir as wrapper around __opendirat.
6283 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6284 here without requiring old scandirat implementation.
6285
6286 2011-08-08 Ulrich Drepper <drepper@gmail.com>
6287
6288 * dirent/scandir.c (cancel_handler): Renamed to
6289 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6290 defined. Adjust users.
6291 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6292 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6293
6294 2011-08-04 Ulrich Drepper <drepper@gmail.com>
6295
6296 * string/test-string.h (IMPL): Use __STRING to expand name and then
6297 stringify it.
6298
6299 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6300 of cleanups.
6301
6302 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6303
6304 * string/Makefile: Update.
6305 (strop-tests): Append strncat.
6306 * string/test-wcscmp.c: New file.
6307 New comprehensive test for wcscmp.
6308 * string/test-strcmp.c: Update.
6309 (WIDE): New define.
6310
6311 2011-07-22 Andreas Schwab <schwab@redhat.com>
6312
6313 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6314 line.
6315
6316 2011-07-26 Andreas Schwab <schwab@redhat.com>
6317
6318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6319 encoding to ACE if AI_IDN.
6320
6321 2011-08-01 Jakub Jelinek <jakub@redhat.com>
6322
6323 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6324 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6325
6326 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6327
6328 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6329 Fix overflow bug in strncat.
6330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6331
6332 * string/test-strncat.c: Update.
6333 Add new tests for checking overflow bugs.
6334
6335 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6336
6337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6338 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6339 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6340 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6341 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6342 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6343 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6344 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6345 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6346
6347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6348 (USE_AS_STRCAT): Define.
6349 Add strcat and strncat support.
6350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6351
6352 2011-07-25 Andreas Schwab <schwab@redhat.com>
6353
6354 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6355 __n bigger than INT_MAX+1.
6356 (__strncmp_g): Likewise.
6357
6358 2011-07-23 Ulrich Drepper <drepper@gmail.com>
6359
6360 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6361 * libio/stido.h: Likewise.
6362
6363 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6364 (AF_NFC): Define.
6365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6366 (AF_NFC): Define.
6367
6368 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6369 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6371 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6372 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6373
6374 [BZ #13021]
6375 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6376 installed.
6377
6378 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6379 typo.
6380 (_dl_x86_64_save_sse): Likewise.
6381
6382 2011-07-22 Ulrich Drepper <drepper@gmail.com>
6383
6384 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6385 OSXSAVE.
6386 (_dl_x86_64_save_sse): Likewise.
6387
6388 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6389
6390 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6391
6392 2011-07-21 Andreas Schwab <schwab@redhat.com>
6393
6394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6395 change.
6396 (_dl_x86_64_save_sse): Use correct AVX check.
6397
6398 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6399
6400 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6401 bug in strncpy/strncat.
6402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6403
6404 2011-07-21 Ulrich Drepper <drepper@gmail.com>
6405
6406 * string/tester.c (test_strcat): Add tests for different alignments
6407 of source and destination.
6408 (test_strncat): Likewise.
6409
6410 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6411
6412 [BZ #12852]
6413 * posix/glob.c (glob): Check passed in values before using them in
6414 expressions to avoid some overflows.
6415 (glob_in_dir): Likewise.
6416
6417 [BZ #13007]
6418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6419 check for AVX enablement so that we don't crash with old kernels and
6420 new hardware.
6421 * elf/tst-audit4.c: Add same checks here.
6422 * elf/tst-audit6.c: Likewise.
6423
6424 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6425
6426 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6427
6428 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6429
6430 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6431
6432 * po/cs.po: Update from translation team.
6433 * po/bg.po: Likewise.
6434
6435 2011-07-12 Marek Polacek <mpolacek@redhat.com>
6436
6437 * misc/sys/cdefs.h: Add support for const attribute.
6438 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6439 to gnu_dev_{major,minor,makedev} functions.
6440
6441 2011-07-20 Marek Polacek <mpolacek@redhat.com>
6442
6443 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6444
6445 2011-07-20 Andreas Schwab <schwab@redhat.com>
6446
6447 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6448 strlen results.
6449
6450 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6451
6452 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6453 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6454 register in order to avoid conflicts with the soft frame pointer
6455 being held in r11 when necessary.
6456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6457 (INTERNAL_VSYSCALL_NCS): Likewise.
6458
6459 2011-07-14 Marek Polacek <mpolacek@redhat.com>
6460
6461 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6462 * elf/dl-fini.c (_dl_fini): Adjust caller.
6463 * elf/dl-close.c (_dl_close_worker): Likewise.
6464 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6465
6466 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6467
6468 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6469 "aux_cache->nlibs < 0".
6470
6471 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6472 in the reload-count case.
6473
6474 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6475
6476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6477 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6478 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6479 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6480 * sysdeps/x86_64/multiarch/strcat.S: New file.
6481 * sysdeps/x86_64/multiarch/strncat.S: New file.
6482 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6483 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6484 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6485 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6486 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6487 (USE_AS_STRCAT): Define.
6488 Add strcat and strncat support.
6489 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6490 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6491 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6492 * string/strncat.c: Update.
6493 (USE_AS_STRNCAT): Define.
6494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6495 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6496 and i7.
6497 * sysdeps/x86_64/multiarch/init-arch.h
6498 (bit_Prefer_PMINUB_for_stringop): New.
6499 (index_Prefer_PMINUB_for_stringop): Likewise.
6500 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6501 bit_Prefer_PMINUB_for_stringop.
6502
6503 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6504
6505 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6506 buffer64.
6507 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6508 of casting of buffer.
6509 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6510 buffer32 and buffer64.
6511 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6512 writes instead of casting of buffer.
6513 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6514 buffer32.
6515 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6516 casting of buffer.
6517
6518 2011-07-19 Andreas Schwab <schwab@redhat.com>
6519
6520 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6521
6522 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6523
6524 * nscd/nscd.c (termination_handler): Don't do anything for a database
6525 if it has not yet been initialized.
6526
6527 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6528
6529 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6530
6531 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6532
6533 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6534
6535 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6536
6537 * po/nl.po: Update from translation team.
6538 * po/sv.po: Likewise.
6539
6540 2011-07-16 Roland McGrath <roland@hack.frob.com>
6541
6542 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6543 now disallowed by GCC.
6544
6545 * configure.in (use-default-link): Default to yes if a test -shared
6546 link meets our qualifications.
6547 * configure: Regenerated.
6548
6549 * config.make.in (output-format): New variable.
6550 * configure.in: Check for ld --print-output-format support.
6551 * configure: Regenerated.
6552 * Makerules ($(common-objpfx)format.lds)
6553 [$(output-format) != unknown]: Just use $(output-format),
6554 instead of the linker-script munging.
6555
6556 2011-07-14 Roland McGrath <roland@hack.frob.com>
6557
6558 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6559 of $(common-objpfx)shlib.lds.
6560 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6561
6562 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6563 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6564
6565 * configure.in (-z relro check): Adjust test code to add a large
6566 writable data section after it.
6567 * configure: Regenerated.
6568
6569 2011-07-11 Roland McGrath <roland@hack.frob.com>
6570
6571 * configure.in (-z relro check): Fix test code to make the variable
6572 truly const.
6573 * configure: Regenerated.
6574
6575 2011-07-11 Ulrich Drepper <drepper@gmail.com>
6576
6577 * nscd/nscd.h (struct traced_file): Define.
6578 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6579 elements. Add traced_files.
6580 (inotify_fd): Declare.
6581 (register_traced_file): Declare.
6582 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6583 (inotify_fd): Export.
6584 (resolv_conf_descr): Remove.
6585 (nscd_init): Move inotify descriptor creation to main.
6586 Don't register files for notification here.
6587 (register_traced_file): New function.
6588 (invalidate_cache): Don't use reset_res to determine whether to call
6589 res_init, go through the list of registered files.
6590 (main_loop_poll): The inotify descriptors are now stored in the
6591 structures for the traced files.
6592 (main_loop_epoll): Likewise
6593 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6594 to __nss_disable_nscd.
6595 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6596 for a database anymore. Check the records for all the registered
6597 files instead.
6598 * nss/Makefile (libnss_files-routines): Add files-init.
6599 (libnss_db-routines): Add db-init.
6600 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6601 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6602 * nss/nss_db/db-init.c: New file.
6603 * nss/nss_files/files-init.c: New file.
6604 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6605 __nss_lookup_function.
6606 (__nss_lookup_function): Call nss_load_library.
6607 (nss_load_all_libraries): New function.
6608 (__nss_disable_nscd): Take parameter with callback function for files
6609 to register. Set is_nscd. Load all the DSOs for the NSS modules
6610 used for the cached services.
6611 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6612 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6613 options for features to all the files in nscd.
6614
6615 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6616
6617 2011-07-10 Roland McGrath <roland@hack.frob.com>
6618
6619 * csu/elf-init.c (__libc_csu_init): Comment typo.
6620
6621 2011-07-09 Ulrich Drepper <drepper@gmail.com>
6622
6623 * po/pl.po: Update from translation team.
6624 * po/ja.po: Likewise.
6625 * po/ru.po: Likewise.
6626 * po/ko.po: Likewise.
6627 * po/fr.po: Likewise.
6628
6629 2011-07-09 Roland McGrath <roland@hack.frob.com>
6630
6631 * configure.in (.ctors/.dtors header and trailer check):
6632 Use an empirical test on a built program.
6633 * configure: Regenerated.
6634
6635 * configure.in (-z relro check): Use an empirical test on a built DSO.
6636 Detect, but do not require, on ia64.
6637 * configure: Regenerated.
6638
6639 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6640 Update tests that use readelf to use $READELF instead.
6641 * configure: Regenerated.
6642
6643 2011-07-08 Ulrich Drepper <drepper@gmail.com>
6644
6645 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6646 if the result is not used.
6647
6648 2011-07-05 Andreas Jaeger <aj@suse.de>
6649
6650 [BZ#9696]
6651 * stdlib/tst-strtod.c: Add testcase.
6652
6653 2011-07-07 Ulrich Drepper <drepper@gmail.com>
6654
6655 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
6656 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
6657 The latter has a higher limit. Take additional parameter to pass to
6658 the new function.
6659 (__pathconf): Pass file to __statfs_link_max.
6660 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6661 __statfs_link_max.
6662 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6663 __statfs_link_max.
6664
6665 [BZ #12868]
6666 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6667 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6668 Handle Lustre.
6669 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6670 (__statfs_filesize_max): Likewise.
6671 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6672
6673 2011-07-05 Andreas Jaeger <aj@suse.de>
6674
6675 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6676
6677 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6678
6679 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6680 `status' variable.
6681 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6682 Likewise.
6683
6684 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6685
6686 * Makefile (strop-tests): Add strncat.
6687 * string/test-strncat.c: New file.
6688
6689 2011-06-30 Marek Polacek <mpolacek@redhat.com>
6690
6691 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6692
6693 2011-06-21 Andreas Jaeger <aj@suse.de>
6694
6695 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6696 Copy rule from iconvdata/Makefile.
6697
6698 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6699
6700 [BZ #12922]
6701 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6702 but no long options are defined, just return 'W'.
6703
6704 2011-06-22 Marek Polacek <mpolacek@redhat.com>
6705
6706 [BZ #9696]
6707 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6708
6709 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6710
6711 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6712 netgroups to read.
6713 (innetgr): Likewise.
6714
6715 2011-07-05 Roland McGrath <roland@hack.frob.com>
6716
6717 * config.make.in (install_root): Default to $(DESTDIR).
6718
6719 2011-07-05 Ulrich Drepper <drepper@gmail.com>
6720
6721 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6722
6723 2011-07-02 Roland McGrath <roland@hack.frob.com>
6724
6725 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6726
6727 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6728 containing directory rather than embedding absolute directory names.
6729
6730 * scripts/check-local-headers.sh: Rewritten using awk.
6731 Match by word, not by line. Print error messages for matches.
6732 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6733
6734 * Makerules [shlib-lds-flags empty]:
6735 ($(common-objpfx)libc_pic.opts): New target.
6736 ($(common-objpfx)libc_pic.os.clean): New target.
6737 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6738
6739 * config.make.in (OBJCOPY): New variable.
6740 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6741 * configure: Regenerated.
6742
6743 * config.make.in (use-default-link): New variable.
6744 * configure.in (use_default_link): Grok --with-default-link to set it.
6745 * configure: Regenerated.
6746 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6747 (shlib-lds, shlib-lds-flags): Define to empty.
6748
6749 * Makerules (shlib-lds): New variable.
6750 (shlib-lds-flags): New variable.
6751 (build-shlib, build-moduile, build-module-asneeded): Use it.
6752 ($(common-objpfx)libc.so): Use $(shlib-lds).
6753 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6754 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6755
6756 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6757 DT_FLAGS/DT_FLAGS_1 with zero flags.
6758
6759 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6760 linker script munging.
6761
6762 2011-07-02 Ulrich Drepper <drepper@gmail.com>
6763
6764 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6765 as 128-bit value.
6766 * crypt/sha512.c (sha512_process_block): Perform total addition using
6767 128-bit if possible.
6768 (__sha512_finish_ctx): Likewise.
6769 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6770 as 64-bit value.
6771 * crypt/sha256.c (SWAP64): Define.
6772 (sha256_process_block): Perform total addition using 64-bit if
6773 possible.
6774 (__sha256_finish_ctx): Likewise.
6775
6776 2011-07-01 Ulrich Drepper <drepper@gmail.com>
6777
6778 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6780 * nscd/hstcache.c (cache_addhst): Likewise.
6781 * nscd/grpcache.c (cache_addgr): Likewise.
6782 * nscd/aicache.c (addhstaiX): Likewise
6783 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6784
6785 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
6786
6787 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6789 * nscd/hstcache.c (cache_addhst): Likewise.
6790 * nscd/grpcache.c (cache_addgr): Likewise.
6791 * nscd/aicache.c (addhstaiX): Likewise
6792
6793 2011-07-01 Andreas Schwab <schwab@redhat.com>
6794
6795 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6796 domain only when needed.
6797
6798 2011-06-30 Andreas Schwab <schwab@redhat.com>
6799
6800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6801 is always restored.
6802
6803 2011-06-29 Ulrich Drepper <drepper@gmail.com>
6804
6805 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6806 are re-adding the entry.
6807 * nscd/servicescache.c (cache_addserv): Likewise.
6808
6809 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6810
6811 * sysdeps/generic/dl-irel.h: fix protection against multiple
6812 inclusions.
6813 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6814
6815 2011-06-28 Ulrich Drepper <drepper@gmail.com>
6816
6817 [BZ #12935]
6818 * malloc/memusage.sh: Fix quoting in message.
6819 * debug/xtrace.sh: Likewise.
6820
6821 * configure.in: Remove support for --experimental-malloc option, make
6822 it the default.
6823 * config.make.in: Likewise.
6824 * malloc/Makefile: Likewise.
6825
6826 2011-06-27 Andreas Schwab <schwab@redhat.com>
6827
6828 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6829 two-byte characters.
6830
6831 2011-06-27 Roland McGrath <roland@hack.frob.com>
6832
6833 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6834 AC_CACHE_CHECK invocation.
6835 * configure: Regenerated.
6836
6837 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6838
6839 2011-06-27 Ulrich Drepper <drepper@gmail.com>
6840
6841 [BZ #12350]
6842 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6843 bit from old_res_options.
6844
6845 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6846
6847 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6848 value type for setfct.
6849
6850 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6851
6852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6853 __gettimeofday instead of gettimeofday.
6854
6855 2011-06-26 Ulrich Drepper <drepper@gmail.com>
6856
6857 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6858
6859 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6860
6861 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6862
6863 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6864 info.
6865
6866 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6867
6868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6869 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6870 strcpy-sse2-unaligned strncpy-sse2-unaligned
6871 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6872 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6873 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6874 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6875 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6876 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6878 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6879 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6880 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6881 (STRCPY): Support SSE2 and SSSE3 versions.
6882
6883 2011-06-24 Ulrich Drepper <drepper@gmail.com>
6884
6885 [BZ #12874]
6886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6887 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6888 kernels which artificially limit size of requests.
6889
6890 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6891
6892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6893 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6894 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6895 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6896 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6897 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6898 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6899 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6902 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6903 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6904 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6905 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6906 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6908 Enable unaligned load optimization for Intel Core i3, i5 and i7
6909 processors.
6910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6911 Define.
6912 (index_Fast_Unaligned_Load): Define.
6913 (HAS_FAST_UNALIGNED_LOAD): Define.
6914
6915 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6916
6917 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6918
6919 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6920
6921 [BZ #12907]
6922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6923 until it is clear that the information is realy needed.
6924 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6925
6926 2011-06-22 Andreas Schwab <schwab@redhat.com>
6927
6928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6929
6930 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6931
6932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6933 /sys/devices/system/cpu/online if it is usable.
6934
6935 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6936 reading the information from the /proc filesystem to once a second.
6937
6938 2011-06-21 Andreas Jaeger <aj@suse.de>
6939
6940 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6941 NULL after inclusion of kernel headers.
6942
6943 2011-06-21 Ulrich Drepper <drepper@gmail.com>
6944
6945 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6946 calls to internal_setent.
6947
6948 [BZ #12885]
6949 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6950 addresses using gethostbyname4_r ignore IPv4 addresses.
6951
6952 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6953 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6954
6955 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6956
6957 2011-06-20 David S. Miller <davem@davemloft.net>
6958
6959 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6960 inclusions.
6961 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6962
6963 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6964 (elf_irel): Use it.
6965 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6966 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6967 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6968 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6969 * sysdeps/x86_64/dl-irel.h: Likewise.
6970
6971 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6972 * elf/dl-sym.c: Likewise.
6973
6974 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6975
6976 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6977 need to dereference resplen2.
6978
6979 2011-06-14 Andreas Schwab <schwab@redhat.com>
6980
6981 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6982
6983 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6984
6985 * Makeconfig: Define vardbdir and inst_vardbdir.
6986 * nss/Makefile: Add rules to install db-Makefile.
6987
6988 * nss/nss_db/db-XXX.c: Cleanup.
6989
6990 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6991 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6992 GLIBC_PRIVATE.
6993 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6994 * nss/makedb.c: Implement -g option to specify that value strings
6995 are generated and should not be added to table iterated over for
6996 get*ent calls.
6997 * nss/nss_db/db-initgroups.c: New file.
6998
6999 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7000 interface.
7001
7002 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7003 (internal_getgrouplist): Adjust to name change.
7004 Update use_initgroups_entry if this is not the first call.
7005 * nss/databases.def: Add initgroups entry.
7006
7007 * nss/makedb.c (compute_tables): Check result of multiple hash table
7008 sizes to minimize maximum chain length.
7009
7010 2011-06-14 Ulrich Drepper <drepper@gmail.com>
7011
7012 * Versions.def: Add entry for libnss_db.
7013 * shlib-versions: Likewise.
7014 * nss/Makefile: Add rules to build libnss_db.
7015 * nss/Versions: Add libnss_db information. Organize libnss_files
7016 entries better.
7017 * nss/db-Makefile: Add gshadow support. Change rules for the new
7018 makedb progra. Some minor improvements to generate smaller files.
7019 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7020 here from...
7021 * nss/makedb.c: ...here.
7022 Improve database format to be smaller and require less memory at
7023 runtime.
7024 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7025 db anymore.
7026 * nss/nss_db/db-netgrp.c: Likewise.
7027 * nss/nss_db/db-open.c: Likewise.
7028 * nss/nss_files/flies-XXX.x: Adjust comments.
7029 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7030 * nss/nss_files/files-grp.c: Likewise.
7031 * nss/nss_files/files-hosts.c: Likewise.
7032 * nss/nss_files/files-network.c: Likewise.
7033 * nss/nss_files/files-proto.c: Likewise.
7034 * nss/nss_files/files-pwd.c: Likewise.
7035 * nss/nss_files/files-rpc.c: Likewise.
7036 * nss/nss_files/files-service.c: Likewise.
7037 * nss/nss_files/files-sgrp.c: Likewise.
7038 * nss/nss_files/files-spwd.c: Likewise.
7039 * nss/nss_db/db-alias.c: Removed.
7040 * nss/nss_db/dummy-db.h: Removed.
7041
7042 2011-06-02 Ulrich Drepper <drepper@gmail.com>
7043
7044 * nss/makedb.c: Rewritten to not use database library.
7045 * nss/Makefile: Update to build new makedb program.
7046
7047 2011-06-14 Andreas Jaeger <aj@suse.de>
7048
7049 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7050 memset declaration.
7051
7052 2011-06-10 Andreas Schwab <schwab@redhat.com>
7053
7054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7055 tmpbuf.
7056
7057 2011-06-10 Roland McGrath <roland@hack.frob.com>
7058
7059 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7060 * elf/Makefile ($(objpfx)ld.so): Likewise.
7061
7062 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7063 Don't list ld.so twice in dependencies.
7064
7065 * posix/bug-regex31.c: Include <stdlib.h>.
7066
7067 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7068
7069 * nis/nss_compat/compat-spwd.c
7070 (getspent_next_nss_netgr): Remove unused variable.
7071 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7072
7073 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7074 nonmembers" output to use the right array.
7075
7076 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7077
7078 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7079
7080 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7081 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7082 * catgets/gencat.c (read_input_file): Likewise.
7083 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7084
7085 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7086 variable definition inside #if's controlling its use.
7087
7088 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7089
7090 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7091
7092 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7093
7094 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7095 unreachable code.
7096
7097 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7098
7099 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7100 * configure: Regenerated.
7101
7102 * Makerules: Revert last change.
7103 * elf/Makefile: Likewise.
7104
7105 2011-06-09 Roland McGrath <roland@hack.frob.com>
7106
7107 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7108 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7109 (reloc-link): Likewise.
7110
7111 2011-06-09 Ulrich Drepper <drepper@gmail.com>
7112
7113 * elf/Makefile: Add rules to build pldd.
7114 * elf/pldd.c: New file.
7115 * elf/pldd-xx.c: New file.
7116
7117 2011-06-07 Ulrich Drepper <drepper@gmail.com>
7118
7119 * version.h: Update for 2.15 development version.
7120
7121 2011-06-07 David S. Miller <davem@davemloft.net>
7122
7123 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7124 ifuncs.
7125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7126 elf_machine_lazy_rel): Likewise.
7127 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7128 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7129 elf_machine_lazy_rel): Likewise.
7130 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7131 dl_hwcap via passed in argument.
7132 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7133 Likewise.
7134
7135 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7136
7137 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7138
7139 2011-06-06 Roland McGrath <roland@hack.frob.com>
7140
7141 [BZ #12849]
7142 * manual/fdl-1.1.texi: New file, verbatim from:
7143 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7144 * manual/lgpl-2.1.texi: New file, verbatim from:
7145 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7146 * manual/Makefile (licenses): New variable, list those new file names.
7147 (texis): Use it.
7148 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7149
7150 * manual/fdl.texi: File removed.
7151 * manual/lesser.texi: File removed.
7152 * manual/libc.texinfo (Copying, Documentation License):
7153 Use new @include file names, put @appendix directive before @include.
7154
7155 2011-06-04 Jakub Jelinek <jakub@redhat.com>
7156
7157 [BZ #12841]
7158 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7159 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7160 (mq_open): Add __NTH.
7161
7162 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7163
7164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7165 Assume Intel Core i3/i5/i7 processor if AVX is available.
7166
7167 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7168
7169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7170 typo.
7171
7172 2011-05-31 Andreas Schwab <schwab@redhat.com>
7173
7174 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7175 memory. Use alloca_account. Fix memory leak when retrying.
7176
7177 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7178
7179 * version.h (RELEASE): Bump for 2.14 release.
7180 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7181
7182 * config.make.in (RANLIB): Remove entry.
7183
7184 2011-05-30 Ulrich Drepper <drepper@gmail.com>
7185
7186 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7187 (libc.pot): Work around missing support for .ksh extension in xgettext.
7188
7189 [BZ #12684]
7190 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7191 if both request failed.
7192 (send_dg): In case of server errors clear resplen or *resplen2.
7193
7194 [BZ #12454]
7195 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7196 when there are multiple maps.
7197 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7198 (_dl_fini): Remove test here.
7199
7200 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7201
7202 2011-05-29 Ulrich Drepper <drepper@gmail.com>
7203
7204 [BZ #12350]
7205 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7206 bit from old_res_options.
7207 (gaih_inet): Likewise.
7208
7209 [BZ #11099]
7210 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
7211 as signed.
7212
7213 * resolv/res_init.c (res_setoptions): Make the code more compact.
7214
7215 [BZ #11558]
7216 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7217 set RES_USEVC.
7218
7219 [BZ #11634]
7220 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7221
7222 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7223
7224 [BZ #11781]
7225 * malloc/malloc.h: Declare malloc hook variables as volatile.
7226
7227 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7228 in last patch.
7229
7230 [BZ #11799]
7231 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
7232 raise in the comment.
7233 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7234 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7235 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7236
7237 2011-05-28 Ulrich Drepper <drepper@gmail.com>
7238
7239 [BZ #12811]
7240 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7241 grow the buffers more if it already has to be sufficient.
7242 (build_wcs_upper_buffer): Likewise.
7243 * posix/regexec.c (check_matching): Likewise.
7244 (clean_state_log_if_needed): Likewise.
7245 (extend_buffers): Don't enlarge buffers beyond size of the input
7246 buffer.
7247 Patches mostly by Emil Wojak <emil@wojak.eu>.
7248 * posix/bug-regex32.c: New file.
7249 * posix/Makefile (tests): Add bug-regex32.
7250
7251 * locale/findlocale.c (_nl_find_locale): Return right away if
7252 _nl_explode_name failed.
7253 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7254
7255 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7256
7257 * debug/xtrace.sh: Unify messages.
7258 * malloc/memusage.sh: Likewise.
7259
7260 [BZ #12813]
7261 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7262 time symbol from vDSO. Substitute with vsyscall if not available.
7263 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7264 __vdso_time.
7265
7266 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7267 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7268 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7269 Add sendmmsg and internal_sendmmsg.
7270 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7271 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7272 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7273
7274 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7275 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7276 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7277
7278 2011-05-27 Ulrich Drepper <drepper@gmail.com>
7279
7280 [BZ #12813]
7281 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7282 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7283 available.
7284 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7285 __vdso_getcpu.
7286
7287 [BZ #12814]
7288 * iconvdata/Makefile (tests): Add bug-iconv9.
7289 * iconvdata/bug-iconv9.c: New file.
7290
7291 2011-05-27 Andreas Schwab <schwab@redhat.com>
7292
7293 [BZ #12814]
7294 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7295
7296 2011-05-25 Jakub Jelinek <jakub@redhat.com>
7297
7298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7299 (struct user_regs_struct): Change intcs field back to cs.
7300
7301 2011-05-25 Ulrich Drepper <drepper@gmail.com>
7302
7303 * po/ja.po: Update from translation team.
7304
7305 2011-05-23 Ulrich Drepper <drepper@gmail.com>
7306
7307 [BZ #12795]
7308 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7309 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7310
7311 2011-05-20 Andreas Schwab <schwab@redhat.com>
7312
7313 * stdlib/longlong.h: Update from GCC.
7314
7315 2011-05-23 Andreas Schwab <schwab@redhat.com>
7316
7317 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7318 parameter name.
7319 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7320 Add parameter name.
7321 (__sysconf): Pass it down.
7322
7323 2011-05-22 Ulrich Drepper <drepper@gmail.com>
7324
7325 [BZ #12671]
7326 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7327 some situations.
7328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7329 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7330 add in in __libc_use_alloca calls. Adjust callers.
7331 (glob): Use malloc in some situations.
7332
7333 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7334 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7335 pltexit.
7336
7337 2011-05-21 Ulrich Drepper <drepper@gmail.com>
7338
7339 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7340 and CLOCK_BOOTTIME_ALARM.
7341
7342 [BZ #12782]
7343 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7344 is returned.
7345
7346 * string/_strerror.c (__strerror_r): Print negative errors as signed
7347 numbers.
7348
7349 [BZ #12777]
7350 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7351 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7352 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7353
7354 * configure.in: Fix typo in redirection and correct removal of test
7355 files in two cases.
7356
7357 [BZ #12788]
7358 * locale/setlocale.c (new_composite_name): Fix test to check for
7359 identical name of all categories.
7360
7361 [BZ #12792]
7362 * libio/filedoalloc.c (local_isatty): New function.
7363 (_IO_file_doallocate): Use local_isatty.
7364 * stdio-common/perror.c (perror): In case a new stream is used
7365 forward the stream error.
7366 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7367 error flag.
7368
7369 2011-05-20 Ulrich Drepper <drepper@gmail.com>
7370
7371 [BZ #11869]
7372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7373 alloca.
7374 * include/alloca.h (extend_alloca_account): Define.
7375
7376 [BZ #11857]
7377 * posix/regex.h: Fix comments with documentation of user-accessible
7378 fields after compilation and describe correct free'ing of pattern
7379 after re_compile_pattern.
7380 Patch by Reuben Thomas <rrt@sc3d.org>.
7381
7382 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7383
7384 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7385 and -mno-altivec to prevent the compiler from using Altivec and/or
7386 VSX instructions when the corresponding registers are not available.
7387
7388 2011-05-19 Andreas Schwab <schwab@redhat.com>
7389
7390 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7391
7392 2011-05-19 Ulrich Drepper <drepper@gmail.com>
7393
7394 * libio/freopen.c (freopen): Use __dup2, not dup2.
7395 * libio/freopen64.c (freopen64): Likewise.
7396
7397 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7398
7399 [BZ #12775]
7400 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7401 * math/Makefile (tests): Add test-powl.
7402 (CFLAGS-test-powl.c): Define.
7403 * math/test-powl.c: New file.
7404
7405 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7406
7407 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7408
7409 2011-05-17 Ulrich Drepper <drepper@gmail.com>
7410
7411 [BZ #11837]
7412 * iconvdata/gb18030.c: Update to GB18020-2005.
7413
7414 2011-05-16 Ulrich Drepper <drepper@gmail.com>
7415
7416 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7417 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7418 Patch by Aharon Robbins <arnold@skeeve.com>.
7419
7420 [BZ #11892]
7421 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7422 on the stack.
7423
7424 [BZ #11895]
7425 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7426 through underflows.
7427
7428 [BZ #12766]
7429 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7430 point to strings before performing equality test for error_one_per_line
7431 mode.
7432
7433 [BZ #11697]
7434 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7435
7436 [BZ #11820]
7437 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7438 (struct user_fpregs_struct): Avoid __uint*_t types.
7439
7440 [BZ #6420]
7441 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7442 symbol info. Use it instead of calling _dl_addr locally.
7443 (lock_and_info): New function.
7444 (tr_freehook): Call lock_and_info and pass symbol info as additional
7445 parameter to tr_where.
7446 (tr_mallochook): Likewise.
7447 (tr_reallochook): Likewise.
7448 (tr_memalignhook): Likewise.
7449
7450 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7451 used and couldn't be at all thread-safe.
7452
7453 2011-05-15 Ulrich Drepper <drepper@gmail.com>
7454
7455 * libio/freopen.c (freopen): Don't close old file descriptor
7456 before the new one is opened. Instead dup the new file descriptor
7457 to the old one after the new stream is created.
7458 * libio/freopen64.c (freopen64): Likewise.
7459 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7460 * libio/fileops.c (_IO_new_file_close_it): Handle new
7461 _IO_FLAGS2_NOCLOSE flag.
7462 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7463 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7464 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7465 _IO_FLAGS2_NOCLOSE flag.
7466 * include/unistd.h: Add hidden_proto for dup3.
7467 Define __have_dup3.
7468 * io/dup3.c: Define hidden symbol.
7469 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7470
7471 [BZ #7101]
7472 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7473 when an incomplete long option is used.
7474 * posix/tst-getopt_long1.c: New file.
7475 * posix/Makefile (tests): Add tst-getopt_long1.
7476
7477 [BZ #10138]
7478 * scripts/config.guess: Update from autoconf-2.68.
7479 * scripts/config.sub: Likewise.
7480
7481 [BZ #10157]
7482 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7483 tests into ...
7484 (has_cpuclock): ...this. New function.
7485 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7486 macro here based on has_cpuclock code.
7487
7488 [BZ #10149]
7489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7490 First byte (not low byte) is now always NUL.
7491 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7492
7493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7494 Use non-cancelable interfaces.
7495
7496 [BZ #9809]
7497 * locale/iso-639.def: Add entry for Sorani.
7498
7499 [BZ #11901]
7500 * include/stdlib.h: Move include protection to the right place.
7501 Define abort_msg_s. Declare __abort_msg with it.
7502 * stdlib/abort.c (__abort_msg): Adjust type.
7503 * assert/assert.c (__assert_fail_base): New function. Majority
7504 of code from __assert_fail. Allocate memory for __abort_msg with
7505 mmap.
7506 (__assert_fail): Now call __assert_fail_base.
7507 * assert/assert-perr.c: Remove bulk of implementation. Use
7508 __assert_fail_base.
7509 * include/assert.hL Declare __assert_fail_base.
7510 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7511 mmap.
7512 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7513
7514 2011-05-14 Ulrich Drepper <drepper@gmail.com>
7515
7516 [BZ #11952]
7517 [BZ #12453]
7518 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7519 until all modules are registered in the DTV.
7520 * elf/Makefile: Add rules to build and run tst-tls19.
7521 * elf/tst-tls19.c: New file.
7522 * elf/tst-tls19mod1.c: New file.
7523 * elf/tst-tls19mod2.c: New file.
7524 * elf/tst-tls19mod3.c: New file.
7525 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7526
7527 [BZ #12083]
7528 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7529 correctly.
7530
7531 [BZ #12601]
7532 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7533 two-byte sequence errors.
7534 * iconvdata/Makefile (tests): Add bug-iconv8.
7535 * iconvdata/bug-iconv8.c: New file.
7536
7537 [BZ #12626]
7538 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7539 buf2 definition.
7540
7541 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7542
7543 [BZ #12432]
7544 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7545 (dummy_getcfa): New function.
7546 (init): Get _Unwind_GetCFA address, use dummy if not found.
7547 (backtrace_helper): In recursion check, also check whether CFA changes.
7548 (__backtrace): Completely initialize arg.
7549
7550 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
7551 storing incomplete byte sequence in state object. Avoid testing for
7552 guaranteed too small input if we know there is enough data available.
7553
7554 2011-05-11 Andreas Schwab <schwab@redhat.com>
7555
7556 * Makeconfig (+link-pie): Indent.
7557 * Rules (binaries-pie): Define if $(have-fpie) and
7558 $(build-shared).
7559 (binaries-shared): Also filter out $(binaries-pie).
7560 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7561 * nscd/Makefile (others-pie): Add nscd.
7562 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7563 ($(objpfx)nscd): Remove command override.
7564 * login/Makefile (others-pie): Add pt_chown.
7565 ($(objpfx)pt_chown): Remove command override.
7566 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7567 remove command overrides.
7568
7569 2011-05-13 Ulrich Drepper <drepper@gmail.com>
7570
7571 * libio/tst_putwc.c: Fix error messages.
7572
7573 [BZ #12724]
7574 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7575 currently writing and seek to current position when not.
7576 * libio/Makefile (tests): Add bug-fclose1.
7577 * libio/bug-fclose1.c: New file.
7578
7579 2011-05-12 Ulrich Drepper <drepper@gmail.com>
7580
7581 [BZ #12511]
7582 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7583 don't set DF_1_NODELETE here.
7584 (do_lookup_x): When entering new entry test for copy relocation
7585 and if necessary set DF_1_NODELETE flag.
7586 * elf/tst-unique4.cc: New file.
7587 * elf/tst-unique4.h: New file.
7588 * elf/tst-unique4lib.cc: New file.
7589 * elf/Makefile: Add rules to build and run tst-unique4.
7590 Patch by Piotr Bury <pbury@goahead.com>.
7591
7592 2011-05-11 Ulrich Drepper <drepper@gmail.com>
7593
7594 [BZ #12052]
7595 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7596
7597 [BZ #12625]
7598 * misc/mntent_r.c (addmntent): Flush the stream after the output
7599
7600 [BZ #12393]
7601 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7602 (is_trusted_path_normalize): Skip initial colon. Append slash
7603 to empty buffer. Duplicate is_trusted_path code but allow
7604 constructed patch to be prefix.
7605 (is_dst): Allow $ORIGIN followed by /.
7606 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7607 Correct testing of result of is_trusted_path_normalize
7608 (decompose_rpath): Fix warning.
7609
7610 2011-05-10 Ulrich Drepper <drepper@gmail.com>
7611
7612 [BZ #11257]
7613 * grp/initgroups.c (internal_getgrouplist): When we found the service
7614 list through the initgroups entry in nsswitch.conf do not always
7615 continue on a successful lookup. Don't always use the
7616 __nss_group_database value if it is set.
7617 * nss/nsswitch.conf (initgroups): Change action for successful db
7618 lookup to continue for compatibility.
7619
7620 2011-05-09 Ulrich Drepper <drepper@gmail.com>
7621
7622 [BZ #11532]
7623 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7624 and CP774 modules.
7625 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7626 and CP774 modules.
7627 * iconvdata/tst-tables.sh: Likewise.
7628 * iconvdata/cp770.c: New file.
7629 * iconvdata/cp771.c: New file.
7630 * iconvdata/cp772.c: New file.
7631 * iconvdata/cp773.c: New file.
7632 * iconvdata/cp774.c: New file.
7633 * iconvdata/testdata/CP770: New file.
7634 * iconvdata/testdata/CP770..UTF8: New file.
7635 * iconvdata/testdata/CP771: New file.
7636 * iconvdata/testdata/CP771..UTF8: New file.
7637 * iconvdata/testdata/CP772: New file.
7638 * iconvdata/testdata/CP772..UTF8: New file.
7639 * iconvdata/testdata/CP773: New file.
7640 * iconvdata/testdata/CP773..UTF8: New file.
7641 * iconvdata/testdata/CP774: New file.
7642 * iconvdata/testdata/CP774..UTF8: New file.
7643
7644 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7645 END CHARMAP line.
7646 * iconvdata/gen-8bit-gap.sh: Likewise.
7647 * iconvdata/gen-8bit.sh: Likewise.
7648
7649 * locale/iso-639.def: Add ary entry.
7650
7651 [BZ #11258]
7652 * locale/C-translit.h.in: Add U20A1 transliteration.
7653
7654 [BZ #12178]
7655 * locale/iso-639.def: Add wae entry.
7656 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7657
7658 [BZ #12545]
7659 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7660 for n.
7661
7662 [BZ #12711]
7663 * locale/C-translit.h.in: Add entry for U20B9.
7664 Patch by pravin.d.s@gmail.com.
7665
7666 2011-05-08 Ulrich Drepper <drepper@gmail.com>
7667
7668 [BZ #12713]
7669 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7670 ENAMETOOLONG use generic getcwd.
7671 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7672 in rtld. Use *stat64.
7673 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
7674 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7675 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
7676 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7677 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7678 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7679 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7680 __fstatat64 macros.
7681 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7682 * dirent/rewinddir.c: Add libc_hidden_def.
7683 * sysdeps/mach/hurd/rewinddir.c: Likewise.
7684 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7685
7686 * include/dirent.h (__alloc_dir): Add flags parameter.
7687 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7688 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7689 __alloc_dir.
7690 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7691 from fdopendir if O_CLOEXEC is already set.
7692
7693 2011-03-15 Alan Modra <amodra@gmail.com>
7694
7695 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7696 l_tls_firstbyte_offset non-zero. Save padding offset in
7697 l_tls_firstbyte_offset for later use.
7698 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7699 freeing static tls block.
7700
7701 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7702
7703 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7704 where #ifdef was intended. The intent is to prevent ARG_MAX from
7705 being defined by the kernel headers.
7706
7707 2011-05-07 Ulrich Drepper <drepper@gmail.com>
7708
7709 [BZ #12734]
7710 * resolv/resolv.h: Define RES_NOTLDQUERY.
7711 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7712 no-tld-query and set RES_NOTLDQUERY.
7713 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7714 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7715 modern BIND to search name as TLD unless forbidden.
7716
7717 2011-05-07 Petr Baudis <pasky@suse.cz>
7718 Ulrich Drepper <drepper@gmail.com>
7719
7720 [BZ #12393]
7721 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7722 (is_trusted_path): ...to here.
7723 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
7724 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
7725 using is_trusted_path_normalize() in setuid scripts.
7726
7727 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7728
7729 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7730 __BEGIN/__END_DECLS.
7731
7732 2011-05-06 Ulrich Drepper <drepper@gmail.com>
7733
7734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7735 NSS_STATUS_NOTFOUND if no record was found.
7736
7737 2011-05-05 Andreas Schwab <schwab@redhat.com>
7738
7739 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7740 (headers-not-in-tirpc): Remove rpc/netdb.h
7741 * resolv/netdb.h: Revert last change.
7742
7743 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7744
7745 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7746 circular dependency between libgcc.a and libc.a.
7747
7748 2011-05-05 Andreas Schwab <schwab@redhat.com>
7749
7750 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7751 * nis/Makefile: Don't install rpcsvc/*.
7752 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7753 instead of <rpc/types.h>.
7754 (MAXHOSTNAMELEN): Define.
7755
7756 2011-05-03 Andreas Schwab <schwab@redhat.com>
7757
7758 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7759
7760 2011-04-28 Maciej Babinski <mbabinski@google.com>
7761
7762 [BZ #12714]
7763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7764 gethostbyname4_r when IPv6 results are possible.
7765
7766 2011-05-02 Ulrich Drepper <drepper@gmail.com>
7767
7768 [BZ #12723]
7769 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7770 _PC_PIPE_BUF handling.
7771
7772 2011-04-30 Bruno Haible <bruno@clisp.org>
7773
7774 [BZ #12717]
7775 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7776 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7777 to 'int'.
7778 * inet/getnameinfo.c (getnameinfo): Likewise.
7779
7780 2011-04-29 Ulrich Drepper <drepper@gmail.com>
7781
7782 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7783 to groups setting in database lookup.
7784 * nss/nsswitch.conf: Add initgroups entry.
7785
7786 2011-04-22 Ulrich Drepper <drepper@gmail.com>
7787
7788 [BZ #12685]
7789 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7790 mode string.
7791 Patch by Eric Blake <eblake@redhat.com>.
7792
7793 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 * sunrpc/Makefile (need-export-routines): Add svc_run.
7796 (routines): Remove svc_run.
7797 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7798 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7799 * sunrpc/svc_run.c (svc_run): Likewise.
7800 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7801
7802 2011-04-21 Ulrich Drepper <drepper@gmail.com>
7803
7804 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7805 problem in reallocation in last patch.
7806
7807 2011-04-20 Ulrich Drepper <drepper@gmail.com>
7808
7809 * sunrpc/Makefile: Move inclusion of Rules.
7810
7811 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7812
7813 * nss/nss_files/files-initgroups.c: New file.
7814 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7815 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7816 _nss_files_initgroups_dyn.
7817
7818 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7819
7820 * elf/elf.h (R_ARM_IRELATIVE): Define.
7821
7822 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7823
7824 * po/ru.po: Update from translation team.
7825
7826 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7827
7828 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7829 dependencies.
7830
7831 2011-02-06 Mike Frysinger <vapier@gentoo.org>
7832
7833 [BZ #12653]
7834 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7835 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7837 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7838 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7839
7840 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7841
7842 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7843 differing bytes.
7844 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7846 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7847
7848 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7849
7850 [BZ #12420]
7851 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7852 storing it.
7853 * stdlib/bug-getcontext.c: New file.
7854 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7855
7856 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7857
7858 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7859 instructions into .machine "z9-109".
7860 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7861 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7862
7863 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7864
7865 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7866 between environment variables and auxiliary vector.
7867
7868 2011-04-16 Ulrich Drepper <drepper@gmail.com>
7869
7870 * Makefile: Add rules to build linkobj/libc.so.
7871 * include/libc-symbols.h: Define libc_hidden_nolink.
7872 * include/rpc/auth.h: Mark functions which are to be hidden.
7873 * include/rpc/auth_des.h: Likewise.
7874 * include/rpc/auth_unix.h: Likewise.
7875 * include/rpc/clnt.h: Likewise.
7876 * include/rpc/des_crypt.h: Likewise.
7877 * include/rpc/key_prot.h: Likewise.
7878 * include/rpc/pmap_clnt.h: Likewise.
7879 * include/rpc/pmap_prot.h: Likewise.
7880 * include/rpc/pmap_rmt.h: Likewise.
7881 * include/rpc/rpc_msg.h: Likewise.
7882 * include/rpc/svc.h: Likewise.
7883 * include/rpc/svc_auth.h: Likewise.
7884 * include/rpc/xdr.h: Likewise.
7885 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7886 * nss/Makefile: Likewise.
7887 * sunrpc/Makefile: Don't install headers. Build library with normal
7888 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7889 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7890 for the compat linking library. Remove use of INTDEF/INTUSE.
7891 * sunrpc/auth_none.c: Likewise.
7892 * sunrpc/auth_unix.c: Likewise.
7893 * sunrpc/authdes_prot.c: Likewise.
7894 * sunrpc/authuxprot.c: Likewise.
7895 * sunrpc/clnt_gen.c: Likewise.
7896 * sunrpc/clnt_perr.c: Likewise.
7897 * sunrpc/clnt_raw.c: Likewise.
7898 * sunrpc/clnt_simp.c: Likewise.
7899 * sunrpc/clnt_tcp.c: Likewise.
7900 * sunrpc/clnt_udp.c: Likewise.
7901 * sunrpc/clnt_unix.c: Likewise.
7902 * sunrpc/des_crypt.c: Likewise.
7903 * sunrpc/des_soft.c: Likewise.
7904 * sunrpc/get_myaddr.c: Likewise.
7905 * sunrpc/key_call.c: Likewise.
7906 * sunrpc/key_prot.c: Likewise.
7907 * sunrpc/netname.c: Likewise.
7908 * sunrpc/pm_getmaps.c: Likewise.
7909 * sunrpc/pm_getport.c: Likewise.
7910 * sunrpc/pmap_clnt.c: Likewise.
7911 * sunrpc/pmap_prot.c: Likewise.
7912 * sunrpc/pmap_prot2.c: Likewise.
7913 * sunrpc/pmap_rmt.c: Likewise.
7914 * sunrpc/publickey.c: Likewise.
7915 * sunrpc/rpc_cmsg.c: Likewise.
7916 * sunrpc/rpc_common.c: Likewise.
7917 * sunrpc/rpc_dtable.c: Likewise.
7918 * sunrpc/rpc_prot.c: Likewise.
7919 * sunrpc/rpc_thread.c: Likewise.
7920 * sunrpc/rtime.c: Likewise.
7921 * sunrpc/svc.c: Likewise.
7922 * sunrpc/svc_auth.c: Likewise.
7923 * sunrpc/svc_authux.c: Likewise.
7924 * sunrpc/svc_raw.c: Likewise.
7925 * sunrpc/svc_run.c: Likewise.
7926 * sunrpc/svc_simple.c: Likewise.
7927 * sunrpc/svc_tcp.c: Likewise.
7928 * sunrpc/svc_udp.c: Likewise.
7929 * sunrpc/svc_unix.c: Likewise.
7930 * sunrpc/svcauth_des.c: Likewise.
7931 * sunrpc/xcrypt.c: Likewise.
7932 * sunrpc/xdr.c: Likewise.
7933 * sunrpc/xdr_array.c: Likewise.
7934 * sunrpc/xdr_float.c: Likewise.
7935 * sunrpc/xdr_intXX_t.c: Likewise.
7936 * sunrpc/xdr_mem.c: Likewise.
7937 * sunrpc/xdr_rec.c: Likewise.
7938 * sunrpc/xdr_ref.c: Likewise.
7939 * sunrpc/xdr_sizeof.c: Likewise.
7940 * sunrpc/xdr_stdio.c: Likewise.
7941
7942 2011-04-10 Ulrich Drepper <drepper@gmail.com>
7943
7944 [BZ #12650]
7945 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7946 * sysdeps/ia64/dl-tls.h: Likewise.
7947 * sysdeps/powerpc/dl-tls.h: Likewise.
7948 * sysdeps/s390/dl-tls.h: Likewise.
7949 * sysdeps/sh/dl-tls.h: Likewise.
7950 * sysdeps/sparc/dl-tls.h: Likewise.
7951 * sysdeps/x86_64/dl-tls.h: Likewise.
7952 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7953
7954 2011-03-14 Andreas Schwab <schwab@redhat.com>
7955
7956 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7957 rpath element also skip the following colon.
7958 (expand_dynamic_string_token): Add is_path parameter and pass
7959 down to DL_DST_REQUIRED and _dl_dst_substitute.
7960 (decompose_rpath): Call expand_dynamic_string_token with
7961 non-zero is_path. Ignore empty rpaths.
7962 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7963 with zero is_path.
7964
7965 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7966
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7968 Make cancelable.
7969
7970 2011-04-09 Ulrich Drepper <drepper@gmail.com>
7971
7972 [BZ #12655]
7973 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7974 Patch by Filipe David Manana <fdmanana@apache.org>.
7975
7976 2011-04-07 Andreas Schwab <schwab@redhat.com>
7977
7978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7979 Maintain aligned stack.
7980 (CHECK_RSP): Remove unused macro.
7981
7982 2011-04-03 Ulrich Drepper <drepper@gmail.com>
7983
7984 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7985 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7986
7987 2011-04-02 Ulrich Drepper <drepper@gmail.com>
7988
7989 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7990
7991 * include/features.h: Mention __USE_XOPEN2K8 in comment.
7992
7993 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7994
7995 [BZ #12518]
7996 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7997 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7998 * sysdeps/x86_64/memmove.c: New file.
7999 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8000 (memcpy): Renamed to ...
8001 (__new_memcpy): This.
8002 (memcpy): Provide GLIBC_2_14 memcpy.
8003 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8004 (memcpy): Provide GLIBC_2_2_5 memcpy.
8005
8006 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8007
8008 [BZ #12631]
8009 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8010
8011 2011-03-30 Andreas Schwab <schwab@redhat.com>
8012
8013 * misc/syncfs.c: New file.
8014 * misc/Makefile (routines): Add syncfs.
8015 * posix/unistd.h: Declare syncfs.
8016 * sysdeps/unix/syscalls.list: Add syncfs.
8017
8018 2011-04-01 Andreas Schwab <schwab@redhat.com>
8019
8020 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8021 open_by_handle_at.
8022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8023 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8025 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8027 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8029
8030 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8031
8032 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8033 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8034 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8036 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8039
8040 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8041 sync_file_range.c with -fexceptions.
8042 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8043 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8044 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8045 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8046 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8047 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8049 sync_file_range as cancellation point
8050 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8051 now a wrapper around __call_sync_file_range with cancellation handling.
8052 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8053 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8054 function name to __call_sync_file_range.
8055 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8056 Add call_sync_file_range.
8057
8058 2011-04-01 Andreas Schwab <schwab@redhat.com>
8059
8060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8061 bits/timex.h.
8062
8063 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8064
8065 * iconv/iconv.h: Fix typo in comment.
8066 * io/fcntl.h: Likewise.
8067 * libio/stdio.h: Likewise.
8068 * posix/spawn.h: Likewise.
8069 * posix/unistd.h: Likewise.
8070 * stdlib/stdlib.h: Likewise.
8071 * time/time.h: Likewise.
8072 * wcsmbs/wchar.h: Likewise.
8073
8074 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8075 open_by_handle): Add.
8076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8077 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8078 Augment a few comments.
8079 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8081 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8084 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8085 open_by_handle.
8086
8087 * io/fcntl.h (AT_EMPTY_PATH): Define.
8088
8089 2011-03-30 Ulrich Drepper <drepper@gmail.com>
8090
8091 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8092 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8093 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8094 to...
8095 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
8096 * Versions.def: Add GLIBC_2.14.
8097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8098 Export.
8099
8100 2011-03-22 Ulrich Drepper <drepper@gmail.com>
8101
8102 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8103 round counter.
8104 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8105
8106 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 [BZ #12597]
8109 * string/test-strncmp.c (do_page_test): New function.
8110 (check2): Likewise.
8111 (test_main): Call check2.
8112 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8113
8114 2011-03-20 Ulrich Drepper <drepper@gmail.com>
8115
8116 [BZ #12587]
8117 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8118 Handle cache information in CPU leaf 4.
8119 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8120
8121 2011-03-18 Ulrich Drepper <drepper@gmail.com>
8122
8123 [BZ #12583]
8124 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8125 character representation.
8126 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8127
8128 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8129
8130 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8131 END(__isnan) to END(__isnanf) to match function entry point/label
8132 EALIGN(__isnanf,...).
8133
8134 2011-03-10 Jakub Jelinek <jakub@redhat.com>
8135
8136 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8137
8138 2011-03-10 Ulrich Drepper <drepper@gmail.com>
8139
8140 [BZ #12510]
8141 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8142 copy from the symbol referenced in the relocation to initialize the
8143 used variable.
8144 Patch by Piotr Bury <pbury@goahead.com>.
8145 * elf/Makefile: Add rules to build and tst-unique3.
8146 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8147 * elf/tst-unique3.cc: New file.
8148 * elf/tst-unique3.h: New file.
8149 * elf/tst-unique3lib.cc: New file.
8150 * elf/tst-unique3lib2.cc: New file.
8151
8152 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8153
8154 2011-03-10 Mike Frysinger <vapier@gentoo.org>
8155
8156 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8157 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8158 to _start.
8159
8160 2011-03-06 Ulrich Drepper <drepper@gmail.com>
8161
8162 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8163 to-be-loaded object along a path to loader is ld.so.
8164
8165 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8166 Ulrich Drepper <drepper@gmail.com>
8167
8168 * sysdeps/x86_64/memset.S: After aligning destination, code
8169 branches to different locations depending on the value of
8170 misalignment, when multiarch is enabled. Fix this.
8171
8172 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8173
8174 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8175 Set _x86_64_preferred_memory_instruction for AMD processsors.
8176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8177 Set bit_Prefer_SSE_for_memop for AMD processors.
8178
8179 2011-03-04 Ulrich Drepper <drepper@gmail.com>
8180
8181 * libio/fmemopen.c (fmemopen): Optimize a bit.
8182
8183 2011-03-03 Andreas Schwab <schwab@redhat.com>
8184
8185 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8186
8187 2011-03-03 Roland McGrath <roland@redhat.com>
8188
8189 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8190
8191 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8192
8193 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
8194 __bzero_ultra1 instead of __memset_ultra1.
8195
8196 2011-02-23 Andreas Schwab <schwab@redhat.com>
8197 Ulrich Drepper <drepper@gmail.com>
8198
8199 [BZ #12509]
8200 * include/link.h (struct link_map): Add l_orig_initfini.
8201 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8202 returning unsuccessfully.
8203 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8204 close of a file loaded at startup, restore the original l_initfini
8205 list.
8206 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8207 list, store the pointer.
8208 * elf/Makefile ($(objpfx)noload-mem): New rule.
8209 (noload-ENV): Define.
8210 (tests): Add $(objpfx)noload-mem.
8211 * elf/noload.c: Include <memcheck.h>.
8212 (main): Call mtrace. Close all opened handles.
8213
8214 2011-02-17 Andreas Schwab <schwab@redhat.com>
8215
8216 [BZ #12454]
8217 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8218 dependencies are missing.
8219
8220 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8221
8222 Fix __if_freereq crash: Unlike the generic version which uses free,
8223 Hurd needs munmap.
8224 * sysdeps/mach/hurd/ifreq.h: New file.
8225
8226 2011-01-27 Petr Baudis <pasky@suse.cz>
8227 Ulrich Drepper <drepper@gmail.com>
8228
8229 [BZ 12445]#
8230 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8231 to extend_alloca().
8232 * stdio-common/bug23.c: New file.
8233 * stdio-common/Makefile (tests): Add bug23.
8234
8235 2010-09-28 Andreas Schwab <schwab@redhat.com>
8236 Ulrich Drepper <drepper@gmail.com>
8237
8238 [BZ #12489]
8239 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8240 before performing relro protection. At old place add assertion
8241 to make sure nothing changed.
8242
8243 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8244 Glauber de Oliveira Costa <glommer@gmail.com>
8245
8246 * elf/elf.h: Add new ARM TLS relocs.
8247
8248 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8249
8250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8251 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8252 cast from r3.
8253 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8254 'tests' variable.
8255 * sysdeps/wordsize-64/tst-writev.c: New file.
8256
8257 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8258
8259 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8260 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8261 insns in _dl_start to prevent a TOC reference before relocs are
8262 resolved.
8263
8264 2011-02-15 Ulrich Drepper <drepper@gmail.com>
8265
8266 [BZ #12469]
8267 * Makeconfig: Remove RANLIB definition.
8268 * Makerules: Don't use RANLIB.
8269 * aclocal.m4: Remove ranlib test.
8270 * configure.in: No need to check for ranlib.
8271 * elf/rtld-Rules: Don't use RANLIB.
8272
8273 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8274
8275 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8276 protection macro.
8277 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8278 inclusion protection macro.
8279
8280 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8281 SIGRTMIN and SIGRTMAX and print information in that case only when
8282 SIGRTMIN is defined.
8283
8284 2011-02-11 Jakub Jelinek <jakub@redhat.com>
8285
8286 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8287 arginfo fn returning -1.
8288
8289 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8290 and thousands string is zero terminated.
8291
8292 2011-02-03 Andreas Schwab <schwab@redhat.com>
8293
8294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8295 sysdeps/unix/sysv/linux/bits/socket.h.
8296
8297 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8298
8299 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8300 (__CPU_COUNT): Remove old macros.
8301 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8302 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8303 (__CPU_ALLOC, __CPU_FREE): Add macros.
8304 (__sched_cpualloc, __sched_cpufree): Add declarations.
8305
8306 2011-02-05 Ulrich Drepper <drepper@gmail.com>
8307
8308 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8309 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8310 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8311 (readdhstai): Return value of addhstaiX call.
8312 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8313 (addgrbyX): Return value returned by cache_addgr.
8314 (readdgrbyname): Return value returned by addgrbyX.
8315 (readdgrbygid): Likewise.
8316 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8317 (addpwbyX): Return value returned by cache_addpw.
8318 (readdpwbyname): Return value returned by addhstbyX.
8319 (readdpwbyuid): Likewise.
8320 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8321 (addservbyX): Return value returned by cache_addserv.
8322 (readdservbyname): Return value returned by addservbyX:
8323 (readdservbyport): Likewise.
8324 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8325 (addhstbyX): Return value returned by cache_addhst.
8326 (readdhstbyname): Return value returned by addhstbyX.
8327 (readdhstbyaddr): Likewise.
8328 (readdhstbynamev6): Likewise.
8329 (readdhstbyaddrv6): Likewise.
8330 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8331 (readdinitgroups): Return value returned by addinitgroupsX.
8332 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8333 (prune_cache): Keep track of timeout value of re-added entries.
8334 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8335 * nscd/nscd.h: Adjust prototypes of readd* functions.
8336
8337 2011-02-04 Roland McGrath <roland@redhat.com>
8338
8339 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8340 (nis_stats): Likewise.
8341 * nis/nis_modify.c (nis_modify): Likewise.
8342 * nis/nis_remove.c (nis_remove): Likewise.
8343 * nis/nis_add.c (nis_add): Likewise.
8344
8345 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8346
8347 * posix/fnmatch_loop.c: Add some consts.
8348
8349 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8350
8351 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8352
8353 [BZ #12460]
8354 * config.make.in (config-cflags-novzeroupper): Define.
8355 * configure.in: Substitute libc_cv_cc_novzeroupper.
8356 * elf/Makefile (AVX-CFLAGS): Define.
8357 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8358 (CFLAGS-tst-auditmod4a.c): Likewise.
8359 (CFLAGS-tst-auditmod4b.c): Likewise.
8360 (CFLAGS-tst-auditmod6b.c): Likewise.
8361 (CFLAGS-tst-auditmod6c.c): Likewise.
8362 (CFLAGS-tst-auditmod7b.c): Likewise.
8363 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8364
8365 2011-02-02 Ulrich Drepper <drepper@gmail.com>
8366
8367 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8368 function to the callback.
8369 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8370
8371 2011-02-02 Andreas Schwab <schwab@redhat.com>
8372
8373 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8374 of errno.
8375
8376 2011-01-19 Ulrich Drepper <drepper@gmail.com>
8377
8378 [BZ #11724]
8379 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8380 of constructors.
8381 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8382 of destructors.
8383 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8384
8385 [BZ #11724]
8386 * elf/Makefile: Add rules to build and run new test.
8387 * elf/tst-initorder.c: New file.
8388 * elf/tst-initorder.exp: New file.
8389 * elf/tst-initordera1.c: New file.
8390 * elf/tst-initordera2.c: New file.
8391 * elf/tst-initordera3.c: New file.
8392 * elf/tst-initordera4.c: New file.
8393 * elf/tst-initorderb1.c: New file.
8394 * elf/tst-initorderb2.c: New file.
8395 * elf/tst-order-a1.c: New file.
8396 * elf/tst-order-a2.c: New file.
8397 * elf/tst-order-a3.c: New file.
8398 * elf/tst-order-a4.c: New file.
8399 * elf/tst-order-b1.c: New file.
8400 * elf/tst-order-b2.c: New file.
8401 * elf/tst-order-main.c: New file.
8402 New test case by George Gensure <werkt0@gmail.com>.
8403
8404 2010-10-01 Andreas Schwab <schwab@redhat.com>
8405
8406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8407 decoding ACE if AI_CANONIDN.
8408
8409 2011-01-18 Ulrich Drepper <drepper@gmail.com>
8410
8411 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8412
8413 2011-01-17 Ulrich Drepper <drepper@gmail.com>
8414
8415 * version.h (RELEASE): Bump for 2.13 release.
8416 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8417
8418 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8419
8420 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8421 MADV_NOHUGEPAGE.
8422 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8425 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8426 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8427 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8428
8429 * posix/getconf.c: Update copyright year.
8430 * catgets/gencat.c: Likewise.
8431 * csu/version.c: Likewise.
8432 * debug/catchsegv.sh: Likewise.
8433 * debug/xtrace.sh: Likewise.
8434 * elf/ldconfig.c: Likewise.
8435 * elf/ldd.bash.in: Likewise.
8436 * elf/sprof.c (print_version): Likewise.
8437 * iconv/iconv_prog.c: Likewise.
8438 * iconv/iconvconfig.c: Likewise.
8439 * locale/programs/locale.c: Likewise.
8440 * locale/programs/localedef.c: Likewise.
8441 * malloc/memusage.sh: Likewise.
8442 * malloc/mtrace.pl: Likewise.
8443 * nscd/nscd.c (print_version): Likewise.
8444 * nss/getent.c: Likewise.
8445
8446 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8447 PF_CAIF, and PF_ALG.
8448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8449
8450 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8451
8452 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8453 (modules-names): Use them.
8454 (ifunc-test-modules, ifunc-pie-tests): Define.
8455 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8456 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8457 (test-extras): Likewise.
8458 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8459 $(compile-command.c).
8460 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8461 (all-built-dso): Define.
8462 (check-textrel.out, check-execstack.out): Depend on it.
8463
8464 * configure.in: Don't override --enable-multi-arch.
8465
8466 2011-01-15 Ulrich Drepper <drepper@gmail.com>
8467
8468 [BZ #6812]
8469 * nscd/hstcache.c (tryagain): Define.
8470 (cache_addhst): Return tryagain not notfound for temporary errors.
8471 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8472 failed.
8473
8474 2011-01-14 Ulrich Drepper <drepper@gmail.com>
8475
8476 [BZ #10563]
8477 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8478 to make the syscall.
8479 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8480
8481 [BZ #12378]
8482 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8483 and fall back to matching as normal character if the string ends before
8484 the matching ']' is found. This is what POSIX requires.
8485 * posix/testfnm.c: Adjust test result.
8486 * posix/globtest.sh: Adjust test result. Add new test.
8487 * posix/tst-fnmatch.input: Likewise.
8488 * posix/tst-fnmatch2.c: Add new test.
8489
8490 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8491
8492 * elf/Makefile (check-execstack): Revert last change. Depend on
8493 check-execstack.h.
8494 (check-execstack.h): New target.
8495 (generated): Add check-execstack.h.
8496 * elf/check-execstack.c: Include "check-execstack.h".
8497 (main): Revert last change.
8498 (handle_file): Return zero if GNU_STACK is absent and
8499 DEFAULT_STACK_PERMS doesn't include PF_X.
8500
8501 2011-01-13 Ulrich Drepper <drepper@gmail.com>
8502
8503 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8504 in child fails because the descriptor is already closed.
8505 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8506 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8507 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8508
8509 [BZ #12397]
8510 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8511 syscall.
8512
8513 [BZ #10484]
8514 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8515 temporary buffer used to handle multi lookups locally.
8516 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
8517
8518 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8519
8520 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8521 loader is ld.so.
8522
8523 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8524
8525 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8526 alignment for SSE2.
8527
8528 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8529
8530 [BZ #12394]
8531 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8532 characters. When rounding increased number of integer digits recompute
8533 number of groups.
8534 * stdio-common/tst-grouping.c: New file.
8535 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8536
8537 2011-01-09 Ulrich Drepper <drepper@gmail.com>
8538
8539 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8540 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8541
8542 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8543 void.
8544 * bits/select.h: Likewise.
8545
8546 2011-01-08 Ulrich Drepper <drepper@gmail.com>
8547
8548 * po/ja.po: Update from translation team.
8549
8550 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
8551
8552 [BZ #11155]
8553 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8554 implementation just like for lxstat, fxstatat, et al.
8555
8556 2010-12-27 Jim Meyering <meyering@redhat.com>
8557
8558 [BZ #12348]
8559 * posix/regexec.c (build_trtable): Return failure indication upon
8560 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8561
8562 2010-12-25 Ulrich Drepper <drepper@gmail.com>
8563
8564 [BZ #12201]
8565 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8566 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8567 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8568 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8569
8570 [BZ #12207]
8571 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8572
8573 [BZ #12204]
8574 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8575 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8576
8577 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8580 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8581 script has SORT_BY_INIT_PRIORITY.
8582 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8583 NO_CTORS_DTORS_SECTIONS is defined.
8584 * elf/soinit.c: Likewise.
8585 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8586 NO_CTORS_DTORS_SECTIONS is defined.
8587 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8588 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8589 * sysdeps/sh/init-first.c: Likewise.
8590 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8591
8592 2010-12-24 Ulrich Drepper <drepper@gmail.com>
8593
8594 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8595 always use the slow path.
8596
8597 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8598
8599 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8600 similar rule which adds the sysdep directories to the header search in
8601 order to pick up the correct platform stackinfo.h.
8602 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8603 perform test if it is, otherwise return successfully without testing.
8604 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8605 DEFAULT_STACK_PERMS define in stackinfo.h.
8606 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8607 defined in stackinfo.h.
8608 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8609 DEFAULT_STACK_PERMS defined in stackinfo.h.
8610 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8611 * sysdeps/ia64/stackinfo.h: Likewise.
8612 * sysdeps/s390/stackinfo.h: Likewise.
8613 * sysdeps/sh/stackinfo.h: Likewise.
8614 * sysdeps/sparc/stackinfo.h: Likewise.
8615 * sysdeps/x86_64/stackinfo.h: Likewise.
8616 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8617 PF_X for powerpc64. Retain PF_X for powerpc32.
8618
8619 2010-12-19 Ulrich Drepper <drepper@gmail.com>
8620
8621 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8622 accurately.
8623 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8624 GETDENTS_64BIT_ALIGNED.
8625
8626 2010-12-14 Ulrich Drepper <dreper@gmail.com>
8627
8628 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
8629
8630 2010-12-10 Andreas Schwab <schwab@redhat.com>
8631
8632 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8633 _GNU_SOURCE.
8634
8635 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8636 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8637 Remove __restrict.
8638 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8639 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8640
8641 2010-12-09 Ulrich Drepper <drepper@gmail.com>
8642
8643 [BZ #11655]
8644 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8645 are initialized.
8646
8647 2010-12-09 Jakub Jelinek <jakub@redhat.com>
8648
8649 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8650
8651 2010-12-03 Ulrich Drepper <drepper@gmail.com>
8652
8653 * po/it.po: Update from translation team.
8654
8655 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8658 unused codes.
8659
8660 2010-11-30 Ulrich Drepper <drepper@gmail.com>
8661
8662 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8663
8664 2010-11-24 Andreas Schwab <schwab@redhat.com>
8665
8666 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8667 specially.
8668 (gaih_getanswer_slice): Likewise.
8669
8670 2010-10-20 Jakub Jelinek <jakub@redhat.com>
8671
8672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8673
8674 2010-05-31 Petr Baudis <pasky@suse.cz>
8675
8676 [BZ #11149]
8677 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8678 silently even in the chroot mode.
8679
8680 2010-11-22 Ulrich Drepper <drepper@gmail.com>
8681
8682 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8683 last patch a bit. Pretty printing
8684
8685 2010-05-31 Petr Baudis <pasky@suse.cz>
8686
8687 [BZ #10085]
8688 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8689 initialization of skip_initgroups_dyn.
8690
8691 2010-11-19 Ulrich Drepper <drepper@gmail.com>
8692
8693 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8695
8696 2010-11-16 Ulrich Drepper <drepper@gmail.com>
8697
8698 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8699
8700 2010-11-11 Andreas Schwab <schwab@redhat.com>
8701
8702 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8703 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8704 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8705 ($(objpfx)tst-fnmatch-mem): New rule.
8706 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8707 * posix/tst-fnmatch.c (main): Call mtrace.
8708
8709 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8710
8711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8712 Support Intel processor model 6 and model 0x2c.
8713
8714 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
8715
8716 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8717 signed comparison.
8718
8719 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8720
8721 [BZ #12205]
8722 * string/test-strncasecmp.c (check_result): New function.
8723 (do_one_test): Use it.
8724 (check1): New function.
8725 (test_main): Use it.
8726 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8727 Support strcasecmp and strncasecmp.
8728
8729 2010-11-08 Ulrich Drepper <drepper@gmail.com>
8730
8731 [BZ #12194]
8732 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8733 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8734
8735 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8736
8737 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8738 IFUNC support.
8739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8740 memset-x86-64.
8741 * sysdeps/x86_64/multiarch/bzero.S: New file.
8742 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8743 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8744 * sysdeps/x86_64/multiarch/memset.S: New file.
8745 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8747 Set bit_Prefer_SSE_for_memop for Intel processors.
8748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8749 Define.
8750 (index_Prefer_SSE_for_memop): Define.
8751 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8752
8753 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
8754
8755 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8756 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8757
8758 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8759
8760 [BZ #12191]
8761 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8762 (__x86_64_raw_data_cache_size_half): Likewise.
8763 (__x86_64_raw_shared_cache_size): Likewise.
8764 (__x86_64_raw_shared_cache_size_half): Likewise.
8765
8766 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8767 (__x86_64_raw_data_cache_size_half): Likewise.
8768 (__x86_64_raw_shared_cache_size): Likewise.
8769 (__x86_64_raw_shared_cache_size_half): Likewise.
8770 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8771 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8772 and __x86_64_raw_shared_cache_size_half. Round
8773 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8774 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8775 to multiple of 256 bytes.
8776
8777 2010-11-03 Ulrich Drepper <drepper@gmail.com>
8778
8779 [BZ #12167]
8780 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8781 of inacessible symlinks. Verify result of symlink before returning it.
8782 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8783 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8784
8785 2010-10-28 Erich Ritz <erichritz@gmail.com>
8786
8787 * math/math.h (isinf): Fix typo in comment.
8788
8789 2010-11-01 Ulrich Drepper <drepper@gmail.com>
8790
8791 * po/da.po: Update from translation team.
8792
8793 2010-10-26 Ulrich Drepper <drepper@gmail.com>
8794
8795 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8796 is added to the list.
8797
8798 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8799 Ulrich Drepper <drepper@gmail.com>
8800
8801 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8802 the global list here. Move code to...
8803 (_dl_add_to_namespace_list): ...here. New function.
8804 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8805 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8806 * elf/dl-load.c (lose): Don't remove the element from the list.
8807 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8808 (_dl_map_object): Likewise.
8809
8810 2010-10-25 Ulrich Drepper <drepper@gmail.com>
8811
8812 [BZ #12159]
8813 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8814 into all bytes of SSE register.
8815 Patch by Richard Li <richardpku@gmail.com>.
8816
8817 2010-10-24 Ulrich Drepper <drepper@gmail.com>
8818
8819 [BZ #12140]
8820 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8821 perturbing.
8822
8823 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8824
8825 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8826 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8827 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8828 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8830 submachine.
8831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8832
8833 2010-10-22 Andreas Schwab <schwab@redhat.com>
8834
8835 * include/dlfcn.h (__RTLD_SECURE): Define.
8836 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8837 mode & __RTLD_SECURE instead.
8838 (open_path): Rename preloaded parameter to secure.
8839 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8840 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8841 * elf/dl-deps.c (openaux): Likewise.
8842 * elf/rtld.c (struct map_args): Remove is_preloaded.
8843 (map_doit): Don't use it.
8844 (dl_main): Likewise.
8845 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8846 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8847
8848 2010-09-09 Andreas Schwab <schwab@redhat.com>
8849
8850 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8851 (sysd-rules-targets): Remove duplicates.
8852 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8853 rtld-%.$o dependency.
8854
8855 2010-10-18 Andreas Schwab <schwab@redhat.com>
8856
8857 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8858 _dl_map_object do it.
8859
8860 2010-10-19 Ulrich Drepper <drepper@gmail.com>
8861
8862 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8863 fast fma builtins, define the macros in the C99 standard.
8864 (FP_FAST_FMAF): Likewise.
8865 (FP_FAST_FMAL): Likewise.
8866 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8867
8868 * bits/mathdef.h: Update copyright year.
8869 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8870
8871 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8872
8873 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8874 builtins, define the macros in the C99 standard.
8875 (FP_FAST_FMAF): Likewise.
8876 (FP_FAST_FMAL): Likewise.
8877 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8878 multiply/add.
8879 (FP_FAST_FMAF): Likewise.
8880
8881 2010-10-15 Jakub Jelinek <jakub@redhat.com>
8882
8883 [BZ #3268]
8884 * math/libm-test.inc (fma_test): Some new testcases.
8885 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8886 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8887 y and infinite z. Do multiplication by C already in long double.
8888 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8890 y and infinite z. Do bitwise or of inexact bit into u.d.
8891 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8892 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8893 * sysdeps/i386/fpu/s_fma.S: Removed.
8894 * sysdeps/i386/fpu/s_fmal.S: Removed.
8895
8896 2010-10-16 Jakub Jelinek <jakub@redhat.com>
8897
8898 [BZ #3268]
8899 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8901 computation is not scheduled after fetestexcept. Fix value
8902 of minimum denormal long double.
8903
8904 2010-10-14 Jakub Jelinek <jakub@redhat.com>
8905
8906 [BZ #3268]
8907 * math/libm-test.inc (fma_test): Add some more tests.
8908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8909 correctly.
8910
8911 2010-10-15 Andreas Schwab <schwab@redhat.com>
8912
8913 * scripts/data/localplt-s390-linux-gnu.data: New file.
8914 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8915
8916 2010-10-13 Jakub Jelinek <jakub@redhat.com>
8917
8918 [BZ #3268]
8919 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8920 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8921 instead of dbl-64.
8922 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8923 inlines.
8924 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8926 if one of x and y is very large and the other is subnormal.
8927 * sysdeps/s390/fpu/s_fmaf.c: New file.
8928 * sysdeps/s390/fpu/s_fma.c: New file.
8929 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8930 * sysdeps/powerpc/fpu/s_fma.S: New file.
8931 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8932 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8933 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8934
8935 2010-10-12 Jakub Jelinek <jakub@redhat.com>
8936
8937 [BZ #3268]
8938 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8939 fma tests.
8940 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8941 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8942 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8943 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8944 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8945 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8947
8948 2010-10-12 Ulrich Drepper <drepper@redhat.com>
8949
8950 [BZ #12078]
8951 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8952 * posix/bug-regex31.input: Add test case.
8953
8954 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8955
8956 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8957 * posix/bug-regex31.input: New file.
8958
8959 [BZ #12078]
8960 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8961 (parse_sub_exp): Fix last change, use postorder.
8962
8963 * posix/bug-regex31.c: New file.
8964 * posix/Makefile: Add rules to build and run bug-regex31.
8965
8966 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8967
8968 [BZ #12078]
8969 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8970
8971 [BZ #12108]
8972 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8973 to have entries in sys_siglist.
8974
8975 [BZ #12093]
8976 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8977 be NULL.
8978
8979 2010-10-07 Jakub Jelinek <jakub@redhat.com>
8980
8981 [BZ #3268]
8982 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8983 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8984 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8985 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8986 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8987 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8988 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8989 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8990 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8991 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8992 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8993 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8994 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8995 * math/ftestexcept.c (fetestexcept): Likewise.
8996 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8997 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8998 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8999 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9000 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9001 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9002 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9003
9004 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9005
9006 [BZ #12107]
9007 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9008 newline.
9009
9010 2010-10-06 Ulrich Drepper <drepper@gmail.com>
9011
9012 * string/bug-strstr1.c: New file.
9013 * string/Makefile: Add rules to build and run bug-strstr1.
9014
9015 2010-10-05 Eric Blake <eblake@redhat.com>
9016
9017 [BZ #12092]
9018 * string/str-two-way.h (two_way_long_needle): Always clear memory
9019 when skipping input due to the shift table.
9020
9021 2010-10-03 Ulrich Drepper <drepper@gmail.com>
9022
9023 [BZ #12005]
9024 * malloc/mcheck.c: Handle large requests.
9025
9026 [BZ #12077]
9027 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9028 for strncmp and strncasecmp.
9029 * string/stratcliff.c: Add tests for strcmp and strncmp.
9030 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9031
9032 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9033
9034 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9035 __set_fpscr.
9036
9037 2010-09-30 Andreas Jaeger <aj@suse.de>
9038
9039 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9040 (CGROUP_SUPER_MAGIC): Define.
9041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9042 Handle btrfs and cgroup file systems.
9043 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9044 Likewise.
9045
9046 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
9047
9048 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9049 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9050
9051 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9052
9053 [BZ #12067]
9054 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9055 trying to locate the ELF header.
9056
9057 2010-09-27 Andreas Schwab <schwab@redhat.com>
9058
9059 [BZ #11611]
9060 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9061 Mask out sign-bit copies when constructing f_fsid.
9062
9063 2010-09-24 Petr Baudis <pasky@suse.cz>
9064
9065 * debug/stack_chk_fail_local.c: Add missing licence exception.
9066 * debug/warning-nop.c: Likewise.
9067
9068 2010-09-15 Joseph Myers <joseph@codesourcery.com>
9069
9070 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9071 implementing getdents64 using getdents syscall, set d_type if
9072 __ASSUME_GETDENTS32_D_TYPE.
9073
9074 2010-09-16 Andreas Schwab <schwab@redhat.com>
9075
9076 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9077 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9078
9079 2010-09-21 Ulrich Drepper <drepper@redhat.com>
9080
9081 [BZ #12037]
9082 * posix/unistd.h: Undo change of feature selection for ftruncate from
9083 2010-01-11.
9084
9085 2010-09-20 Ulrich Drepper <drepper@redhat.com>
9086
9087 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9088 detection.
9089
9090 2010-09-20 Andreas Schwab <schwab@redhat.com>
9091
9092 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9093 fanotify_mark.
9094 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9095
9096 2010-09-14 Andreas Schwab <schwab@redhat.com>
9097
9098 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9099 variables after CHECK_SP call.
9100 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9101
9102 2010-09-13 Andreas Schwab <schwab@redhat.com>
9103 Ulrich Drepper <drepper@redhat.com>
9104
9105 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9106 re-relocationg ld.so.
9107 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9108 _dl_init_paths call.
9109 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9110 here anymore.
9111
9112 2010-09-14 Ulrich Drepper <drepper@redhat.com>
9113
9114 * resolv/res_init.c (__res_vinit): Count the default server we added.
9115
9116 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9117 Ulrich Drepper <drepper@redhat.com>
9118
9119 [BZ #11968]
9120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9121 (____longjmp_chk): Use %ebx for saving value across system call.
9122 Add unwind info.
9123
9124 2010-09-06 Andreas Schwab <schwab@redhat.com>
9125
9126 * manual/Makefile: Don't mix pattern rules with normal rules.
9127
9128 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9129
9130 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9131 operation.
9132 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9133 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9134 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9135 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9136 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9137 Likewise.
9138
9139 2010-09-04 Ulrich Drepper <drepper@redhat.com>
9140
9141 [BZ #11979]
9142 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9143 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9144
9145 2010-09-02 Ulrich Drepper <drepper@redhat.com>
9146
9147 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9148 * sysdeps/x86_64/addmul_1.S: Likewise.
9149 * sysdeps/x86_64/lshift.S: Likewise.
9150 * sysdeps/x86_64/mul_1.S: Likewise.
9151 * sysdeps/x86_64/rshift.S: Likewise.
9152 * sysdeps/x86_64/sub_n.S: Likewise.
9153 * sysdeps/x86_64/submul_1.S: Likewise.
9154
9155 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9156
9157 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9158 Define __sched_param instead of SCHED_* and sched_param when
9159 <bits/sched.h> is included with __need_schedparam defined.
9160 * bits/sched.h [__need_schedparam]
9161 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
9162 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9163 (__defined_schedparam): Define to 1.
9164 (__sched_param): New structure, identical to sched_param.
9165 (__need_schedparam): Undefine.
9166
9167 2010-08-31 Mike Frysinger <vapier@gentoo.org>
9168
9169 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9170 (epoll_create1): Declare.
9171
9172 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9173
9174 2010-08-31 Andreas Schwab <schwab@redhat.com>
9175
9176 [BZ #7066]
9177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9178 shifting retval into place.
9179
9180 2010-09-01 Ulrich Drepper <drepper@redhat.com>
9181
9182 * nis/rpcsvc/nis.h: Update copyright notice.
9183 * nis/rpcsvc/nis.x: Likewise.
9184 * nis/rpcsvc/nis_callback.h: Likewise.
9185 * nis/rpcsvc/nis_callback.x: Likewise.
9186 * nis/rpcsvc/nis_object.x: Likewise.
9187 * nis/rpcsvc/nis_tags.h: Likewise.
9188 * nis/rpcsvc/yp.h: Likewise.
9189 * nis/rpcsvc/yp.x: Likewise.
9190 * nis/rpcsvc/ypupd.h: Likewise.
9191 * nis/yp_xdr.c: Likewise.
9192 * nis/ypupdate_xdr.c: Likewise.
9193
9194 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9195 mainly the body of pmap_getport. Add parameters to specify timeouts.
9196 (pmap_getport): Use __libc_rpc_getport.
9197 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9198 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9199 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9200
9201 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9202
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9204 fanotify_mark.
9205
9206 2010-08-27 Roland McGrath <roland@redhat.com>
9207
9208 * sysdeps/i386/i686/multiarch/Makefile
9209 (CFLAGS-varshift.c): New variable.
9210
9211 2010-08-27 Ulrich Drepper <drepper@redhat.com>
9212
9213 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9214 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9215
9216 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9217
9218 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9219
9220 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9221
9222 * sysdeps/x86_64/strlen.S: Unroll the loop.
9223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9224 strlen-sse2 strlen-sse2-bsf.
9225 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9226 __strlen_no_bsf if bit_Slow_BSF is set.
9227 (__strlen_sse42): Removed.
9228 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9229 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9230
9231 2010-08-25 Roland McGrath <roland@redhat.com>
9232
9233 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9234 * sysdeps/x86_64/multiarch/varshift.c: New file.
9235 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9236 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9237 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9238 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9239
9240 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9241
9242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9243 strlen-sse2 strlen-sse2-bsf.
9244 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9245 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9246 (__strlen_sse2): Removed.
9247 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9248 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9250 bit_Slow_BSF for Atom.
9251 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9252 (index_Slow_BSF): Define.
9253 (HAS_SLOW_BSF): Define.
9254
9255 2010-08-25 Ulrich Drepper <drepper@redhat.com>
9256
9257 [BZ #10851]
9258 * resolv/res_init.c (__res_vinit): When no server address at all
9259 is given default to loopback.
9260
9261 2010-08-24 Roland McGrath <roland@redhat.com>
9262
9263 * configure.in: Remove config-name.h generation.
9264 * configure: Regenerated.
9265 * config-name.in: File removed.
9266 * scripts/config-uname.sh: New file.
9267 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9268 ($(objdir)config-name.h): New target.
9269
9270 * sunrpc/rpc_parse.h: Avoid nested comment.
9271
9272 2010-08-24 Richard Henderson <rth@redhat.com>
9273 Ulrich Drepper <drepper@redhat.com>
9274 H.J. Lu <hongjiu.lu@intel.com>
9275
9276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9278 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9279 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9280 _mm_alignr_epi8 with _mm_loadu_si128.
9281 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9282 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9283 (__m128i_shift_right): Removed.
9284 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9285 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9286 * sysdeps/x86_64/multiarch/varshift.h: New file.
9287 * sysdeps/x86_64/multiarch/varshift.S: New file.
9288
9289 2010-08-21 Mike Frysinger <vapier@gentoo.org>
9290
9291 * configure.in: Move assembler checks to before sysdep dir checking.
9292
9293 2010-08-20 Petr Baudis <pasky@suse.cz>
9294
9295 * LICENSES: Sync the sunrpc license.
9296
9297 2010-08-19 Ulrich Drepper <drepper@redhat.com>
9298
9299 * sunrpc/auth_des.c: Update copyright notice once again.
9300 * sunrpc/auth_none.c: Likewise.
9301 * sunrpc/auth_unix.c: Likewise.
9302 * sunrpc/authdes_prot.c: Likewise.
9303 * sunrpc/authuxprot.c: Likewise.
9304 * sunrpc/bindrsvprt.c: Likewise.
9305 * sunrpc/clnt_gen.c: Likewise.
9306 * sunrpc/clnt_perr.c: Likewise.
9307 * sunrpc/clnt_raw.c: Likewise.
9308 * sunrpc/clnt_simp.c: Likewise.
9309 * sunrpc/clnt_tcp.c: Likewise.
9310 * sunrpc/clnt_udp.c: Likewise.
9311 * sunrpc/clnt_unix.c: Likewise.
9312 * sunrpc/des_crypt.c: Likewise.
9313 * sunrpc/des_soft.c: Likewise.
9314 * sunrpc/get_myaddr.c: Likewise.
9315 * sunrpc/getrpcport.c: Likewise.
9316 * sunrpc/key_call.c: Likewise.
9317 * sunrpc/key_prot.c: Likewise.
9318 * sunrpc/openchild.c: Likewise.
9319 * sunrpc/pm_getmaps.c: Likewise.
9320 * sunrpc/pm_getport.c: Likewise.
9321 * sunrpc/pmap_clnt.c: Likewise.
9322 * sunrpc/pmap_prot.c: Likewise.
9323 * sunrpc/pmap_prot2.c: Likewise.
9324 * sunrpc/pmap_rmt.c: Likewise.
9325 * sunrpc/rpc/auth.h: Likewise.
9326 * sunrpc/rpc/auth_unix.h: Likewise.
9327 * sunrpc/rpc/clnt.h: Likewise.
9328 * sunrpc/rpc/des_crypt.h: Likewise.
9329 * sunrpc/rpc/key_prot.h: Likewise.
9330 * sunrpc/rpc/netdb.h: Likewise.
9331 * sunrpc/rpc/pmap_clnt.h: Likewise.
9332 * sunrpc/rpc/pmap_prot.h: Likewise.
9333 * sunrpc/rpc/pmap_rmt.h: Likewise.
9334 * sunrpc/rpc/rpc.h: Likewise.
9335 * sunrpc/rpc/rpc_des.h: Likewise.
9336 * sunrpc/rpc/rpc_msg.h: Likewise.
9337 * sunrpc/rpc/svc.h: Likewise.
9338 * sunrpc/rpc/svc_auth.h: Likewise.
9339 * sunrpc/rpc/types.h: Likewise.
9340 * sunrpc/rpc/xdr.h: Likewise.
9341 * sunrpc/rpc_clntout.c: Likewise.
9342 * sunrpc/rpc_cmsg.c: Likewise.
9343 * sunrpc/rpc_common.c: Likewise.
9344 * sunrpc/rpc_cout.c: Likewise.
9345 * sunrpc/rpc_dtable.c: Likewise.
9346 * sunrpc/rpc_hout.c: Likewise.
9347 * sunrpc/rpc_main.c: Likewise.
9348 * sunrpc/rpc_parse.c: Likewise.
9349 * sunrpc/rpc_parse.h: Likewise.
9350 * sunrpc/rpc_prot.c: Likewise.
9351 * sunrpc/rpc_sample.c: Likewise.
9352 * sunrpc/rpc_scan.c: Likewise.
9353 * sunrpc/rpc_scan.h: Likewise.
9354 * sunrpc/rpc_svcout.c: Likewise.
9355 * sunrpc/rpc_tblout.c: Likewise.
9356 * sunrpc/rpc_util.c: Likewise.
9357 * sunrpc/rpc_util.h: Likewise.
9358 * sunrpc/rpcinfo.c: Likewise.
9359 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9360 * sunrpc/rpcsvc/key_prot.x: Likewise.
9361 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9362 * sunrpc/rpcsvc/mount.x: Likewise.
9363 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9364 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9365 * sunrpc/rpcsvc/rex.x: Likewise.
9366 * sunrpc/rpcsvc/rstat.x: Likewise.
9367 * sunrpc/rpcsvc/rusers.x: Likewise.
9368 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9369 * sunrpc/rpcsvc/spray.x: Likewise.
9370 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9371 * sunrpc/rtime.c: Likewise.
9372 * sunrpc/svc.c: Likewise.
9373 * sunrpc/svc_auth.c: Likewise.
9374 * sunrpc/svc_authux.c: Likewise.
9375 * sunrpc/svc_raw.c: Likewise.
9376 * sunrpc/svc_run.c: Likewise.
9377 * sunrpc/svc_simple.c: Likewise.
9378 * sunrpc/svc_tcp.c: Likewise.
9379 * sunrpc/svc_udp.c: Likewise.
9380 * sunrpc/svc_unix.c: Likewise.
9381 * sunrpc/svcauth_des.c: Likewise.
9382 * sunrpc/xcrypt.c: Likewise.
9383 * sunrpc/xdr.c: Likewise.
9384 * sunrpc/xdr_array.c: Likewise.
9385 * sunrpc/xdr_float.c: Likewise.
9386 * sunrpc/xdr_mem.c: Likewise.
9387 * sunrpc/xdr_rec.c: Likewise.
9388 * sunrpc/xdr_ref.c: Likewise.
9389 * sunrpc/xdr_sizeof.c: Likewise.
9390 * sunrpc/xdr_stdio.c: Likewise.
9391
9392 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9393 handling.
9394
9395 2010-08-19 Andreas Schwab <schwab@redhat.com>
9396
9397 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9398
9399 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
9400
9401 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9402 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9403 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9404 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9405 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9406 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9407 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9408 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9409 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9410 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9411 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9412 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9413 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9414 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9415
9416 2010-07-26 Anton Blanchard <anton@samba.org>
9417
9418 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9419 * malloc/arena.c (heap_trim): Likewise.
9420
9421 2010-08-16 Ulrich Drepper <drepper@redhat.com>
9422
9423 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9424 here. Not...
9425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9426 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9427
9428 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9429
9430 * sysdeps/i386/elf/Makefile: New file.
9431
9432 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9433
9434 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9435 from fanotify_init.
9436 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9438
9439 2010-08-15 Ulrich Drepper <drepper@redhat.com>
9440
9441 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9442 of strncasecmp_l.
9443 * sysdeps/multiarch/strcmp.S: Likewise.
9444
9445 2010-08-14 Ulrich Drepper <drepper@redhat.com>
9446
9447 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9448 strncase_l-nonascii.
9449 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9450 Add strncase_l-ssse3.
9451 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9452 * sysdeps/x86_64/strcmp.S: Likewise.
9453 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9454 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9455 * sysdeps/x86_64/strncase.S: New file.
9456 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9457 * sysdeps/x86_64/strncase_l.S: New file.
9458 * string/Makefile (strop-tests): Add strncasecmp.
9459 * string/test-strncasecmp.c: New file.
9460
9461 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9462 warning.
9463
9464 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9465 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9466
9467 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9468
9469 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9470
9471 2010-08-12 Ulrich Drepper <drepper@redhat.com>
9472
9473 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9474 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9475 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9476
9477 2010-05-01 Alan Modra <amodra@gmail.com>
9478
9479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9480 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9481 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9482 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9483 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9484 tidying. Don't tail-call __sigjmp_save for static lib.
9485 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9486 save location.
9487 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9488 (CALL_MCOUNT): Add eh info, and nop after bl.
9489 (TAIL_CALL_SYSCALL_ERROR): New macro.
9490 (PSEUDO_RET): Use it.
9491 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9492 Correct save location of integer regs and cr.
9493 (_dl_profile_resolve): Correct cr save location. Delete nops
9494 after bl when SHARED. Reduce cfi size a little by better
9495 placement of cfi directives.
9496 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9497 make a stack frame. Instead use parm save area as a temp.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9499 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9501 Don't make a stack frame for parent, use parm save area.
9502 Increase child stack frame to 112 bytes. Don't save unused reg,
9503 and adjust reg usage. Set up cfi on error recovery and
9504 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9506 (__makecontext): Add dummy nop after jump to exit.
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9508 Use correct parm save area and cr save, reduce stack frame.
9509 Correct cfi for possible PSEUDO_RET frame setup.
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9511 Branch to local label emitted by PSEUDO_RET rather than
9512 __syscall_error.
9513
9514 2010-08-12 Andreas Schwab <schwab@redhat.com>
9515
9516 [BZ #11904]
9517 * locale/programs/locale.c (print_assignment): New function.
9518 (show_locale_vars): Use it.
9519
9520 2010-08-11 Ulrich Drepper <drepper@redhat.com>
9521
9522 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9523 field.
9524 (struct statfs64): Likewise.
9525 (_STATFS_F_FLAGS): Define.
9526 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9527 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9528 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9529 (ST_VALID): Define locally.
9530 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9531 __statvfs_getflags, use the provided value.
9532 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9533 __ASSUME_STATFS_F_FLAGS.
9534
9535 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9536
9537 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9538 Add sys/fanotify.h.
9539 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9540 fanotify_mask for GLIBC_2.13.
9541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9542 fanotify_init and fanotify_mark.
9543 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9544 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9545
9546 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9547 Add prlimit.
9548 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9549 prlimit64 for GLIBC_2.13.
9550 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9551 prlimit64.
9552 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9553 syscall.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9555 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9556 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9557 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9559 add prlimit alias.
9560 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9561
9562 [BZ #11903]
9563 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9564 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9565
9566 * nss/Makefile: Add rules to build and run tst-nss-test1.
9567 * shlib-versions: Add entry for libnss_test1.
9568 * nss/nss_test1.c: New file.
9569 * nss/tst-nss-test1.c: New file.
9570
9571 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9572 (__nss_configure_lookup): Set appropriate entry in
9573 __nss_configure_lookup to true.
9574 * nss/nsswitch.h: Define enum with indeces of databases in
9575 databases and __nss_database_custom arrays. Declare
9576 __nss_database_custom.
9577 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9578 to avoid using nscd when custom rules are installed.
9579 * nss/getXXbyYY_r.c: Likewise.
9580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9581
9582 * nss/nss_files/files-parse.c: Whitespace fixes.
9583
9584 2010-08-09 Ulrich Drepper <drepper@redhat.com>
9585
9586 [BZ #11883]
9587 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9588 * posix/fnmatch_loop.c: Likewise.
9589
9590 2010-07-17 Andi Kleen <ak@linux.intel.com>
9591
9592 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9593 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9594 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9595 * Versions.def [GLIBC_2.13]: Add.
9596
9597 2010-08-06 Ulrich Drepper <drepper@redhat.com>
9598
9599 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9600 Also fail if tpwd after pwuid call is NULL.
9601
9602 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9603
9604 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9605 when converting to ms.
9606
9607 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9608
9609 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9610 EOPNOTSUPP errors with ENOTTY.
9611 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9612 EOPNOTSUPP errors with ENOTTY.
9613
9614 2010-07-31 Ulrich Drepper <drepper@redhat.com>
9615
9616 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9617 Add strcasecmp_l-ssse3.
9618 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9619 strcasecmp.
9620 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9621 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9622 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9623
9624 2010-07-30 Ulrich Drepper <drepper@redhat.com>
9625
9626 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9627
9628 * string/Makefile (strop-tests): Add strcasecmp.
9629 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9630 strcasecmp_l-nonascii.
9631 (gen-as-const-headers): Add locale-defines.sym.
9632 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9633 * sysdeps/x86_64/strcasecmp.S: New file.
9634 * sysdeps/x86_64/strcasecmp_l.S: New file.
9635 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9636 * sysdeps/x86_64/locale-defines.sym: New file.
9637 * string/test-strcasecmp.c: New file.
9638
9639 * string/test-strcasestr.c: Test both ends of the range of characters.
9640 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9641
9642 2010-07-29 Roland McGrath <roland@redhat.com>
9643
9644 [BZ #11856]
9645 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9646
9647 2010-07-27 Ulrich Drepper <drepper@redhat.com>
9648
9649 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9650 for ld.so.
9651
9652 2010-07-27 Andreas Schwab <schwab@redhat.com>
9653
9654 * manual/memory.texi (Malloc Tunable Parameters): Document
9655 M_PERTURB.
9656
9657 2010-07-26 Roland McGrath <roland@redhat.com>
9658
9659 [BZ #11840]
9660 * configure.in (-fgnu89-inline check): Set and substitute
9661 gnu89_inline, not libc_cv_gnu89_inline.
9662 * configure: Regenerated.
9663 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9664
9665 2010-07-26 Ulrich Drepper <drepper@redhat.com>
9666
9667 * string/test-strnlen.c: New file.
9668 * string/Makefile (strop-tests): Add strnlen.
9669 * string/tester.c (test_strnlen): Add a few more test cases.
9670 * string/tst-strlen.c: Better error reporting.
9671
9672 * sysdeps/x86_64/strnlen.S: New file.
9673
9674 2010-07-24 Ulrich Drepper <drepper@redhat.com>
9675
9676 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9677 lower-latency instructions.
9678
9679 2010-07-23 Ulrich Drepper <drepper@redhat.com>
9680
9681 * string/test-strcasestr.c: New file.
9682 * string/test-strstr.c: New file.
9683 * string/Makefile (strop-tests): Add strstr and strcasestr.
9684 * string/str-two-way.h: Don't undefine MAX.
9685 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9686
9687 2010-07-21 Andreas Schwab <schwab@redhat.com>
9688
9689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9690 strcasestr-nonascii.
9691 (CFLAGS-strcasestr-nonascii.c): Define.
9692 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9693 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9694 Remove unused attribute.
9695
9696 2010-07-20 Roland McGrath <roland@redhat.com>
9697
9698 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9699 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9700 ld.so.cache was broken. With it, there is no way to disable dsocaps
9701 like LD_HWCAP_MASK can disable hwcaps.
9702
9703 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9704
9705 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9706
9707 2010-07-16 Ulrich Drepper <drepper@redhat.com>
9708
9709 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9710 call in strcasestr.
9711 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9712 __strcasestr_sse42_nonascii.
9713 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9714 strcasestr-nonascii.c.
9715 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9716
9717 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
9718
9719 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9720 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9721 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9722 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9723
9724 2010-07-09 Ulrich Drepper <drepper@redhat.com>
9725
9726 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9727 fcntl.
9728
9729 2010-07-06 Andreas Schwab <schwab@redhat.com>
9730
9731 [BZ #11577]
9732 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9733 dl_signal_cerror.
9734
9735 2010-07-06 Ulrich Drepper <drepper@redhat.com>
9736
9737 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9738 _PC_PIPE_BUF using F_GETPIPE_SZ.
9739
9740 2010-07-05 Roland McGrath <roland@redhat.com>
9741
9742 * manual/arith.texi (Rounding Functions): Fix rint description
9743 implicit in round description.
9744
9745 2010-07-02 Ulrich Drepper <drepper@redhat.com>
9746
9747 * elf/Makefile: Fix linking for a few tests to make recent linker
9748 happy.
9749
9750 2010-06-30 Andreas Schwab <schwab@redhat.com>
9751
9752 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9753 $(common-objpfx)libc_nonshared.a.
9754
9755 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
9756
9757 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9758 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9759 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9760 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9761 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9762 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9763 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9764 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9779 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9780 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9781 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9782 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9783 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9784 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9785 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9786 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9787 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9788 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9789 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9790 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9805
9806 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9807
9808 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9809 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9810 * string/memmove.c (memmove): Renamed to ...
9811 (MEMMOVE): ...this. Default to memmove.
9812 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9813 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9814 (END_CHK): Define.
9815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9816 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9817 mempcpy-ssse3-back memmove-ssse3-back.
9818 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9821 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9822 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9823 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9824 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9825 * sysdeps/x86_64/multiarch/memmove.c: New file.
9826 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9827 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9828 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9829 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9830 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9831 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9832 Define.
9833 (index_Fast_Copy_Backward): Define.
9834 (HAS_ARCH_FEATURE): Define.
9835 (HAS_FAST_REP_STRING): Define.
9836 (HAS_FAST_COPY_BACKWARD): Define.
9837
9838 2010-06-21 Andreas Schwab <schwab@redhat.com>
9839
9840 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9841 Restore proper fallback handling.
9842
9843 2010-06-19 Ulrich Drepper <drepper@redhat.com>
9844
9845 [BZ #11701]
9846 * posix/group_member.c (__group_member): Correct checking loop.
9847
9848 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9849 OOM in getpwuid_r correctly. Return error number when the caller
9850 should return, otherwise -1.
9851 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9852 call returning > 0 value.
9853 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9854
9855 2010-06-07 Andreas Schwab <schwab@redhat.com>
9856
9857 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9858 libc_nonshared.a from targets in modules-names.
9859
9860 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9861
9862 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9863 requires it.
9864
9865 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
9866
9867 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9868 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9869 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9870 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9871
9872 2010-06-02 Andreas Schwab <schwab@redhat.com>
9873
9874 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9875
9876 2010-06-14 Ulrich Drepper <drepper@redhat.com>
9877
9878 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9879 and F_GETPIPE_SZ.
9880 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9881 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9884 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9885 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9886
9887 2010-06-14 Roland McGrath <roland@redhat.com>
9888
9889 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9890
9891 2010-06-07 Jakub Jelinek <jakub@redhat.com>
9892
9893 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9894 __REDIRECT followed by __THROW.
9895 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9896 * posix/getopt.h (getopt): Likewise.
9897
9898 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9899
9900 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9901 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9902 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9903 in AT_FLAGS.
9904 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9905 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9906
9907 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
9908
9909 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9910
9911 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9912
9913 [BZ #11640]
9914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9915 Properly check family and model.
9916
9917 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9918
9919 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9920
9921 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
9922
9923 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9924
9925 2010-05-21 Ulrich Drepper <drepper@redhat.com>
9926
9927 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9928 symbol reference.
9929
9930 2010-05-19 Andreas Schwab <schwab@redhat.com>
9931
9932 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9933 symbol reference.
9934
9935 2010-05-21 Andreas Schwab <schwab@redhat.com>
9936
9937 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9938 and internal_recvmmsg.
9939 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9940 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9941 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9942 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9943
9944 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9945 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9946 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9947
9948 2010-05-20 Andreas Schwab <schwab@redhat.com>
9949
9950 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9951
9952 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
9953
9954 POWER7 optimizations.
9955 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9956 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9957
9958 2010-05-19 Ulrich Drepper <drepper@redhat.com>
9959
9960 * version.h: Update for 2.13 development version.
9961
9962 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
9963
9964 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9965 exceptions. Return 0.
9966
9967 2010-05-07 Roland McGrath <roland@redhat.com>
9968
9969 * elf/ldconfig.c (main): Add a const.
9970
9971 2010-05-06 Ulrich Drepper <drepper@redhat.com>
9972
9973 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9974 (args_options): Add no-idn option.
9975 (ahosts_keys_int): Add idn_flags to ai_flags.
9976 (parse_option): Handle 'i' option to clear idn_flags.
9977
9978 * malloc/malloc.c (_int_free): Possible race in the most recently
9979 added check. Only act on the data if no current modification
9980 happened.
9981
9982 See ChangeLog.17 for earlier changes.
This page took 0.431563 seconds and 6 git commands to generate.