]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add framework for using sparc VIS3 instructions, use it for copysign/signbit.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7bd951ff
DM
12012-03-14 David S. Miller <davem@davemloft.net>
2
eae47a36
DM
3 * sysdeps/sparc/configure.in: New file.
4 * sysdeps/sparc/configure: Generate.
5 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6 * configure: Regenerate.
7 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8 * config.make.in (have-as-vis3): New.
9 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10 available use -Av9d instead of -Av9a.
11 * sysdeps/sparc/sparc64/Makefile: Likewise.
12 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S: New file.
14 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New file.
15 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S: New file.
16 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New file.
17 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22
7bd951ff
DM
23 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use fzeros/fnegs
24 to load 0x80000000 into a float register instead of using the stack.
25 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26
bd951ccb
JM
272012-03-14 Joseph Myers <joseph@codesourcery.com>
28
29 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30 bits/syscall.h.
31 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33 ($(inst_includedir)/bits/syscall.h): Remove rule.
34 ($(objpfx)bits/syscall.d): Include instead of
35 $(objpfx)syscall-list.d.
36 (generated): Change syscall-list.h and syscall-list.d to
37 bits/syscall.h and bits/syscall.d.
38
bb4e6db2
RM
392012-03-14 Roland McGrath <roland@hack.frob.com>
40
41 [BZ #13846]
42 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43
aa4a2ae1
JM
442012-03-14 Joseph Myers <joseph@codesourcery.com>
45
e456826d
JM
46 [BZ #13841]
47 * math/s_csqrt.c: Include <float.h>.
48 (__csqrt): Scale large or subnormal inputs.
49 * math/s_csqrtf.c: Likewise.
50 * math/s_csqrtl.c: Likewise.
51 * math/libm-test.inc (csqrt_test): Add more tests.
52 * sysdeps/i386/fpu/libm-test-ulps: Update.
53 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54
aa4a2ae1
JM
55 [BZ #13840]
56 * math/libm-test.inc (hypot_test): Add more tests.
57
7c10fd35
DM
582012-03-13 David S. Miller <davem@davemloft.net>
59
60 [BZ #13840]
61 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62 double-precision for the calculation instead of scaling.
63
f453b98b
JM
642012-03-13 Joseph Myers <joseph@codesourcery.com>
65
66 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67 manipulate bits before adding and subtracting TWO52[sx].
68 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70 Likewise.
71 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
72
09a3453f
DM
732012-03-13 David S. Miller <davem@davemloft.net>
74
8e59da90
DM
75 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
77 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78 rtld-global-offsets.h
79 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80
2a8ab7f2
DM
81 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
82 large parameters.
83
10f62770
DM
84 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
85
5f0bdb18
DM
86 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
87 'err' in the ifdef scope in which it is actually used.
88
09a3453f
DM
89 * nss/nss_db/db-init.c: Include string.h
90
b4b2eb5e
DM
912012-03-12 David S. Miller <davem@davemloft.net>
92
98bb2f1c
DM
93 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
94 masking out of the most significant byte of random value used.
95 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
96 Fix coding style in previous change.
97
b4b2eb5e
DM
98 * sysdeps/unix/sysv/linux/kernel-features.h
99 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
100 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
101 expression.
102 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
103 later.
104
6e226b09
DM
1052012-03-11 David S. Miller <davem@davemloft.net>
106
a1bcbd40
DM
107 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
108 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
109 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
110 for 'resultvar' otherwise things get truncated on 64-bit.
111
cb9d6174
DM
112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
113 Fix masking out of the most significant byte of random value used.
114
6e226b09
DM
115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
116
058c132d
AS
1172012-03-10 Andreas Schwab <schwab@linux-m68k.org>
118
119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
120
2d2cd515
DM
1212012-03-09 David S. Miller <davem@davemloft.net>
122
123 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
124 variables with appropriate CPP guards.
125 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
126 frame pointer, not the stack pointer. Correct layout comments. Fix test
127 on resulting framesize and the management of the outregs buffer for pltexit.
128 Preserve floating point return values across _dl_call_pltexit call.
129 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
130 framesize and the management of the outregs buffer for pltexit.
131 Preserve floating point return values across _dl_call_pltexit
132 call.
133 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
134 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
135 (print_exit): Fix format string for return register value.
136
9a07f9d0
JM
1372012-03-10 Joseph Myers <joseph@codesourcery.com>
138
139 * sunrpc/Makefile (others): Add rpcgen.
140 ($(objpfx)rpcgen): Remove special build rule and dependency on
141 libc.
142 * sunrpc/rpcgen.c: New file.
143
547b5e30
PE
1442012-03-09 Paul Eggert <eggert@cs.ucla.edu>
145
c524201a
PE
146 [BZ #13673]
147 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
148 * stdio-common/bug-vfprintf-nargs.c: Likewise.
149 * sysdeps/i386/crti.S: Likewise.
150 * sysdeps/i386/crtn.S: Likewise.
151 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
152 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
153 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
154 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
155 * sysdeps/sh/crti.S: Likewise.
156 * sysdeps/sh/crtn.S: Likewise.
157 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
158
7b6235f2
PE
159 [BZ #13673]
160 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
161 with URL.
162 * locale/programs/locfile-kw.gperf: Likewise.
163 * locale/programs/charmap-kw.h: Regenerated.
164 * locale/programs/locfile-kw.h: Likewise.
165
547b5e30
PE
166 [BZ #13673]
167 * intl/plural.y: Replace FSF snail mail address with URL.
168 * intl/plural.c: Regenerated.
169
5f0a5dae
RH
1702012-03-09 Richard Henderson <rth@twiddle.net>
171
172 * include/math_private.h: Remove file.
173 * math/math_private.h: Move file ...
174 * sysdeps/generic/math_private.h: ... here.
175
b8c03620
RH
176 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
177 * sysdeps/powerpc/fpu/math_private.h: Likewise.
178 * sysdeps/x86_64/fpu/math_private.h: Likewise.
179
4e234f5d 180 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
181 and <math_private.h>.
182 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
183 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
184 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
185 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
186 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
187 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
188 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
190 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
191 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
193 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
194 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
195 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
196 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
197 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
198 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
199 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
200 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
201 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
202 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
203 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
204 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
206 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
208 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
211 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
212 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
213 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
214 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
215 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
216 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
217 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
218 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
219 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
220 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
222 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
223 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
224 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
225 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
226 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
227 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
228 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
229 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
230 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
231 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
232 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
233 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
234 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
235 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
236 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
237 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
239 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
240 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
241 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
242 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
243 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
245 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
246 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
247 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
248 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
249 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
250 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
251 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
252 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
253 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
254 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
256 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
261 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
262 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
263 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
264 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
265 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
266 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
269 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
270 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
271 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
272 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
273 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
274 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
275 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
276 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
277 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
278 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
279 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
280 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
281 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
282 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
283 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
284 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
285 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
286 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
287 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
288 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
289 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
290 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
291 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
292 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
293 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
294 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
295 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
296 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
297 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
298 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
299 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
300 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
301 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
302 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
303 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
305 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
306 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
307 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
308 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
309 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
310 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
311 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
312 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
313 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
314 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
315 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
316 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
317 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
318 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
319 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
320 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
321 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
322 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
323 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
324 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
325 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
326 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
327 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
328 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
329 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
330 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
331 * sysdeps/ieee754/k_standard.c: Likewise.
332 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
333 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
334 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
335 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
336 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
337 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
338 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
339 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
340 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
341 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
342 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
343 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
344 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
345 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
346 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
347 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
348 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
349 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
350 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
351 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
352 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
353 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
354 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
355 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
356 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
357 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
358 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
359 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
360 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
361 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
362 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
363 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
364 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
365 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
366 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
367 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
368 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
369 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
370 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
371 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
372 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
373 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
374 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
375 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
376 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
377 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
378 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
381 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
383 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
384 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
385 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
386 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
387 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
388 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
389 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
390 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
391 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
392 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
393 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
394 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
395 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
396 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
397 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
398 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
399 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
401 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
402 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
403 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
404 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
405 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
406 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
407 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
408 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
409 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
411 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
412 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
413 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
414 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
415 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
416 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
417 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
418 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
419 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
420 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
421 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
422 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
423 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
424 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
425 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
426 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
427 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
428 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
429 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
430 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
431 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
432 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
433 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
436 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
437 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
438 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
439 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
440 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
441 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
442 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
443 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
444 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
445 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
446 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
447 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
448 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
449 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
450 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
451 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
452 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
453 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
454 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
455 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
456 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
457 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
458 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
459 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
460 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
461 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
462 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
463 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
464 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
465 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
466 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
467 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
468 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
469 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
470 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
471 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
472 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
473 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
474 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
475 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
476 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
477 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
478 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
479 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
480 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
481 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
482 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
483 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
484 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
485 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
486 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
487 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
488 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
489 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
490 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
491 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
492 * sysdeps/ieee754/s_lib_version.c: Likewise.
493 * sysdeps/ieee754/s_matherr.c: Likewise.
494 * sysdeps/ieee754/s_signgam.c: Likewise.
495 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
496 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
497 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
498 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
499 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
500 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
501 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
502 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
503 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
504 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
505 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
506 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
507 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
508 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
509 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
510 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
511 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
512 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
513 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 516
1991fa03
JM
5172012-03-09 Joseph Myers <joseph@codesourcery.com>
518
519 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
520 * sunrpc/rpc_main.c: Likewise.
521 * sunrpc/rpc_svcout.c: Likewise.
522
60d6f5a6
DM
5232012-03-09 David S. Miller <davem@davemloft.net>
524
525 * include/math_private.h: New file.
526
4962050e
JM
5272012-03-09 Joseph Myers <joseph@codesourcery.com>
528
02a6f887
JM
529 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
530 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
531 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
532 from <bits/socket_type.h>.
533 (enum __socket_type): Don't define here.
534 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
536 bits/socket_type.h.
537
c6e013c1
JM
538 [BZ #13566]
539 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
540 checking __USE_GNU.
541
4962050e
JM
542 * Makerules ($(inst_includedir)/%.h): New rule.
543 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
544 (install-others): Remove variable setting.
545 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
546
38842f45
RH
5472012-03-08 Richard Henderson <rth@twiddle.net>
548
67bb6da6
RH
549 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
550 from macro to inline function; merge with the
551 !__LIBC_INTERNAL_MATH_INLINES version.
552 (__ieee754_sqrtf): Likewise.
553
15194b4b
RH
554 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
555 to inline function.
556 (__rintf, __floor, __floorf): Likewise.
557
64e21ede
RH
558 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
559 macro to inline function.
560 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
561
38842f45
RH
562 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
563 not <math/math_private.h>.
564
c64bf5fe
DM
5652012-03-08 David S. Miller <davem@davemloft.net>
566
567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
568 copyright year.
569 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
570
82d86f28
TS
5712012-03-08 Thomas Schwinge <thomas@codesourcery.com>
572
573 * resolv/gai_misc.c (handle_requests): Fix struct timespec
574 normalization.
575 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
576 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
577
aea5d727
UD
5782012-03-08 Ulrich Drepper <drepper@gmail.com>
579
580 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
581 be defined individually, they must be defined as a block. Define
582 S for printing a string instead of hidint the different by using a
583 macro for adding the 'l'.
584 * stdio-common/tst-fphex-wide.c: Adjust.
585
70bca0a3
MP
5862012-03-07 Marek Polacek <polacek@redhat.com>
587
588 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
589
65b81130
MP
5902012-03-08 Marek Polacek <polacek@redhat.com>
591
592 [BZ #13806]
593 * stdio-common/Makefile (tests): Add tst-fphex-wide.
594 * stdio-common/tst-fphex.c: Define a few macros to make the
595 test reusable. Use them.
596 * stdio-common/tst-fphex-wide.c: New file.
597
07037eeb
JM
5982012-03-08 Joseph Myers <joseph@codesourcery.com>
599
a7a93d50
JM
600 [BZ #6911]
601 * manual/macros.texi (gnusystems): New macro.
602 (nongnusystems): Likewise.
603 (gnulinuxhurdsystems): Likewise.
604 (gnuhurdsystems): Likewise..
605 (gnulinuxsystems): Likewise.
606 * manual/charset.texi: Use new macros or @theglibc{} to refer to
607 variants of the GNU system, not "GNU system".
608 * manual/conf.texi: Likewise.
609 * manual/errno.texi: Likewise. Update example of errno macro
610 expansion.
611 * manual/filesys.texi: Likewise.
612 (getumask): Document as specific to GNU/Hurd.
613 * manual/install.texi: Likewise. Reword some references to
614 GNU/Linux.
615 * manual/intro.texi: Likewise.
616 * manual/io.texi: Likewise.
617 (File Name Portability): Detail which constraints are inapplicable
618 to all GNU systems and which are only inapplicable to GNU/Hurd.
619 * manual/job.texi: Likewise.
620 * manual/llio.texi: Likewise.
621 (O_NOCTTY): Document as present on GNU/Linux.
622 * manual/maint.texi: Likewise.
623 * manual/memory.texi: Likewise.
624 * manual/pattern.texi: Likewise.
625 * manual/pipe.texi: Likewise.
626 * manual/process.texi: Likewise.
627 * manual/resource.texi: Likewise.
628 (RUSAGE_CHILDREN): Remove statement about specifying a particular
629 child on GNU/Hurd.
630 * manual/setjmp.texi: Likewise.
631 * manual/signal.texi: Likewise.
632 * manual/startup.texi: Likewise.
633 * manual/stdio.texi: Likewise.
634 * manual/terminal.texi: Likewise.
635 (ONLCR): Document as POSIX.
636 (OXTABS): Document availability on GNU/Linux as XTABS.
637 (ONOEOT): Document availability separately from other bits.
638 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
639 * manual/time.texi: Likewise.
640 * manual/users.texi: Likewise.
641 * INSTALL: Regenerated.
642 * sysdeps/gnu/errlist.c: Regenerated.
643
07037eeb
JM
644 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
645 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
646 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
647 puts.
648 * configure: Regenerated.
649
d1d3431a
JM
6502012-03-07 Joseph Myers <joseph@codesourcery.com>
651
af6a1e37
JM
652 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
653 default includes instead of AC_HEADER_CHECK.
654 * sysdeps/i386/configure: Regenerated.
655
d1d3431a
JM
656 [BZ #10716]
657 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
658 * math/s_cacoshf.c (__cacoshf): Likewise.
659 * math/s_cacoshl.c (__cacoshl): Likewise.
660 * math/s_casinh.c (__casinh): Set signs of result from argument.
661 * math/s_casinhf.c (__casinhf): Likewise.
662 * math/s_casinhl.c (__casinhl): Likewise.
663 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
664 (casinh_test): Add more tests.
665 * sysdeps/i386/fpu/libm-test-ulps: Update.
666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
667
482ff4da
UD
6682012-03-07 Ulrich Drepper <drepper@gmail.com>
669
872fda05
UD
670 * po/zh_TW.po: Update from translation team.
671
a4300c7a
UD
672 * login/Makefile (distribute): Remove variable.
673 * catgets/Makefile: Likewise.
674 * mach/Makefile: Likewise.
675 * malloc/Makefile: Likewise.
676 * misc/Makefile: Likewise.
677 * iconv/Makefile: Likewise.
678 * nscd/Makefile: Likewise.
679 * hurd/Makefile: Likewise.
680 * manual/Makefile: Likewise.
681 * locale/Makefile: Likewise.
682 * intl/Makefile: Likewise.
683 * conform/Makefile: Likewise.
684 * nss/Makefile: Likewise.
685 * time/Makefile: Likewise.
686 * soft-fp/Makefile: Likewise.
687 * dirent/Makefile: Likewise.
688 * gmon/Makefile: Likewise.
689 * po/Makefile: Likewise.
690 * rt/Makefile: Likewise.
691 * socket/Makefile: Likewise.
692 * math/Makefile: Likewise.
693 * signal/Makefile: Likewise.
694 * debug/Makefile: Likewise.
695 * elf/Makefile: Likewise.
696 * timezone/Makefile: Likewise.
697 * stdlib/Makefile: Likewise.
698 * iconvdata/Makefile: Likewise.
699 * sunrpc/Makefile: Likewise.
700 * io/Makefile: Likewise.
701 * argp/Makefile: Likewise.
702 * inet/Makefile: Likewise.
703 * hesiod/Makefile: Likewise.
704 * grp/Makefile: Likewise.
705 * csu/Makefile: Likewise.
706 * wctype/Makefile: Likewise.
707 * crypt/Makefile: Likewise.
708 * libio/Makefile: Likewise.
709 * string/Makefile: Likewise.
710 * nis/Makefile: Likewise.
711 * resolv/Makefile: Likewise.
712 * stdio-common/Makefile: Likewise.
713 * wcsmbs/Makefile: Likewise.
714 * dlfcn/Makefile: Likewise.
715 * posix/Makefile: Likewise.
716
482ff4da
UD
717 * timezone/Makefile: Don't install timezone files, just the programs
718 and scripts.
719
f72ed77d
UD
7202012-03-06 Ulrich Drepper <drepper@gmail.com>
721
a000466f
UD
722 * nss/databases.def: Add missing gshadow entry.
723
f72ed77d
UD
724 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
725
a53b7a4e
MP
7262012-03-06 Marek Polacek <polacek@redhat.com>
727
728 [BZ #13726]
729 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
730 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
731 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
732 * stdio-common/tst-long-dbl-fphex.c: New file.
733
e9258400
DM
7342012-03-06 David S. Miller <davem@davemloft.net>
735
736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
737 (set_obp_int): New function.
738 (get_obp_int): New function.
739 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
741 Avoid unused variable warnings on 'val' and use builtin_expect.
742 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
743 __builtin_expect.
e9258400
DM
744 (INLINE_CLONE_SYSCALL): Likewise.
745
3bd2c723
DM
7462012-03-05 David S. Miller <davem@davemloft.net>
747
748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
749
bbb78d03
AS
7502012-03-05 Andreas Schwab <schwab@linux-m68k.org>
751
884c5db4
AS
752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
753
bbb78d03
AS
754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
755 only for |x| >= 40.
756 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
757
1c9f702a 7582012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
759
760 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
761 Replace gettimeofday with __vdso_gettimeofday.
762
7be16f82
RM
763 * sysdeps/unix/sysv/linux/x86_64/init-first.c
764 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
765 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
766
767 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
768 time with __vdso_time.
769
ed58a00f
JM
7702012-03-05 Joseph Myers <joseph@codesourcery.com>
771
772 * manual/lang.texi (size_t): Note types to which size_t may be
773 equivalent with the GNU C Library, but do not describe when
774 differences between them are significant.
775
30ee4ced
AJ
7762012-03-05 Andreas Jaeger <aj@suse.de>
777
778 * sysdeps/i386/fpu/libm-test-ulps: Update.
779
b7cd39e8
JM
7802012-03-05 Joseph Myers <joseph@codesourcery.com>
781
782 [BZ #3976]
783 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
784 (__ieee754_pow): Save and restore rounding mode and use
785 round-to-nearest for main computations.
786 * math/libm-test.inc (pow_test_tonearest): New function.
787 (pow_test_towardzero): Likewise.
788 (pow_test_downward): Likewise.
789 (pow_test_upward): Likewise.
790 (main): Call the new functions.
791 * sysdeps/i386/fpu/libm-test-ulps: Update.
792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
793
794 [BZ #3976]
795 * math/libm-test.inc (cosh_test_tonearest): New function.
796 (cosh_test_towardzero): Likewise.
797 (cosh_test_downward): Likewise.
798 (cosh_test_upward): Likewise.
799 (sinh_test_tonearest): Likewise.
800 (sinh_test_towardzero): Likewise.
801 (sinh_test_downward): Likewise.
802 (sinh_test_upward): Likewise.
803 (main): Call the new functions.
804 * sysdeps/i386/fpu/libm-test-ulps: Update.
805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
806
6c6a98c9
TV
8072012-03-05 Tom de Vries <tom@codesourcery.com>
808
809 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
810 default stack guard is set in last bytes.
811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
812
21bb2d2e 8132012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 814
21bb2d2e 815 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 816
21bb2d2e
AJ
817 [BZ #13656]
818 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
819 possibly allocate from heap instead of stack.
820 * stdio-common/bug-vfprintf-nargs.c: New file.
821 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 822
c6922934
AS
8232012-03-03 Andreas Schwab <schwab@linux-m68k.org>
824
825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
826
bc957d53
MP
8272012-03-03 Marek Polacek <polacek@redhat.com>
828
829 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
830 * math/math_private.h: Likewise.
831 * stdlib/tst-strtod.c: Likewise.
832 * sysdeps/i386/i486/bits/atomic.h: Likewise.
833 * sysdeps/x86_64/bits/atomic.h: Likewise.
834
6358490d
DM
8352012-03-02 David S. Miller <davem@davemloft.net>
836
837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
841 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
842 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
843 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
844 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
845
01ae168d
RM
8462012-03-02 Roland McGrath <roland@hack.frob.com>
847
d9a17c07
RM
848 [BZ #13792]
849 * manual/examples/README: New file, says the example source files
850 can be used under GPL>=2.
851 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
852 line containing just "*/".
853 * manual/examples/add.c: Add copyright header (GPL>=2).
854 * manual/examples/argp-ex1.c: Likewise.
855 * manual/examples/argp-ex2.c: Likewise.
856 * manual/examples/argp-ex3.c: Likewise.
857 * manual/examples/argp-ex4.c: Likewise.
858 * manual/examples/atexit.c: Likewise.
859 * manual/examples/db.c: Likewise.
860 * manual/examples/dir.c: Likewise.
861 * manual/examples/dir2.c: Likewise.
862 * manual/examples/execinfo.c: Likewise.
863 * manual/examples/filecli.c: Likewise.
864 * manual/examples/filesrv.c: Likewise.
865 * manual/examples/fmtmsgexpl.c: Likewise.
866 * manual/examples/genpass.c: Likewise.
867 * manual/examples/inetcli.c: Likewise.
868 * manual/examples/inetsrv.c: Likewise.
869 * manual/examples/isockad.c: Likewise.
870 * manual/examples/longopt.c: Likewise.
871 * manual/examples/memopen.c: Likewise.
872 * manual/examples/memstrm.c: Likewise.
873 * manual/examples/mkfsock.c: Likewise.
874 * manual/examples/mkisock.c: Likewise.
875 * manual/examples/mygetpass.c: Likewise.
876 * manual/examples/pipe.c: Likewise.
877 * manual/examples/popen.c: Likewise.
878 * manual/examples/rprintf.c: Likewise.
879 * manual/examples/search.c: Likewise.
880 * manual/examples/select.c: Likewise.
881 * manual/examples/setjmp.c: Likewise.
882 * manual/examples/sigh1.c: Likewise.
883 * manual/examples/sigusr.c: Likewise.
884 * manual/examples/stpcpy.c: Likewise.
885 * manual/examples/strdupa.c: Likewise.
886 * manual/examples/strftim.c: Likewise.
887 * manual/examples/strncat.c: Likewise.
888 * manual/examples/subopt.c: Likewise.
889 * manual/examples/swapcontext.c: Likewise.
890 * manual/examples/termios.c: Likewise.
891 * manual/examples/testopt.c: Likewise.
892 * manual/examples/testpass.c: Likewise.
893 * manual/examples/timeval_subtract.c: Likewise.
894
01ae168d
RM
895 [BZ #13792]
896 * manual/time.texi (Elapsed Time): Move timeval_subtract example
897 function to ...
898 * manual/timeval_subtract.c.texi: ... here, new file.
899
49efa33d
DM
9002012-03-02 David S. Miller <davem@davemloft.net>
901
902 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
903
28afd92d
JM
9042012-03-02 Joseph Myers <joseph@codesourcery.com>
905
804360ed
JM
906 [BZ #3976]
907 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
908 (__sin): Save and restore rounding mode and use round-to-nearest
909 for all computations.
910 (__cos): Save and restore rounding mode and use round-to-nearest
911 for all computations.
912 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
913 <fenv.h>.
914 (tan): Save and restore rounding mode and use round-to-nearest for
915 all computations.
916 * math/libm-test.inc (cos_test_tonearest): New function.
917 (cos_test_towardzero): Likewise.
918 (cos_test_downward): Likewise.
919 (cos_test_upward): Likewise.
920 (sin_test_tonearest): Likewise.
921 (sin_test_towardzero): Likewise.
922 (sin_test_downward): Likewise.
923 (sin_test_upward): Likewise.
924 (tan_test_tonearest): Likewise.
925 (tan_test_towardzero): Likewise.
926 (tan_test_downward): Likewise.
927 (tan_test_upward): Likewise.
928 (main): Call the new functions.
929 * sysdeps/i386/fpu/libm-test-ulps: Update.
930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
931
a6d06d7b
JM
932 [BZ #10135]
933 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
934 small n, then large n, before computing and testing k+n.
935 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
936 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
937 Likewise.
938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
939 Likewise.
940 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
941 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
942 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
943 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
944 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
945 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
948 * math/libm-test.inc (scalbn_test): Add more tests.
949 (scalbln_test): Likewise.
950
07e12bb3
JM
951 * manual/filesys.texi (mode_t): Describe constraints on size and
952 signedness, not exact equivalence to a particular type.
953 (ino_t): Likewise.
954 (ino64_t): Likewise.
955 (dev_t): Likewise.
956 (nlink_t): Likewise.
957 (blkcnt_t): Likewise.
958 (blkcnt64_t): Likewise.
959 * manual/llio.texi (off_t): Likewise.
960
28afd92d
JM
961 [BZ #3976]
962 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
963 (__ieee754_exp): Save and restore rounding mode and use
964 round-to-nearest for all computations.
965 * math/libm-test.inc (exp_test_tonearest): New function.
966 (exp_test_towardzero): Likewise.
967 (exp_test_downward): Likewise.
968 (exp_test_upward): Likewise.
969 (main): Call the new functions.
970 * sysdeps/i386/fpu/libm-test-ulps: Update.
971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
972
b1eeb65d
CD
9732012-03-01 Chris Demetriou <cgd@google.com>
974
975 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
976 have predictable order.
977
53362a4b
DM
9782012-03-01 David S. Miller <davem@davemloft.net>
979
3c969083
DM
980 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
981
759707de
DM
982 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
983 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
984 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
985 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
986
dfdb8ff2
DM
987 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
988 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
989 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
991 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
992 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
993 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
994 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
995 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
996
ead89f96
DM
997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
998
7f66bd07
DM
999 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1000 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1001 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1002
53362a4b
DM
1003 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1004 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1005 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1006 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1007 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1008 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1009 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1010 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1011 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1012 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1013 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1014 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1016 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1017 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1019 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1020 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1021 * sysdeps/sparc/elf/configure: Regenerated.
1022
7b1902cb
JM
10232012-03-01 Joseph Myers <joseph@codesourcery.com>
1024
bec039bc
JM
1025 * configure.in (AS, LD): Require binutils 2.20 or later.
1026 * configure: Regenerated.
1027 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1028 as required minimum version.
1029 * INSTALL: Regenerated.
1030
7b1902cb
JM
1031 [BZ #2541]
1032 [BZ #4108]
1033 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1034 before squaring exponent.
1035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1036 bottom long double and 27 bits of top long double before squaring
1037 exponent.
1038 * math/libm-test.inc (erfc_test): Add more tests.
1039 * sysdeps/i386/fpu/libm-test-ulps: Update.
1040 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1042
f775c276
KT
10432012-03-01 Kai Tietz <ktietz@redhat.com>
1044
1045 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1046 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1047 containing bit-fields.
1048 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1049 * soft-fp/single.h (_FP_UNION_S): Likewise.
1050 * soft-fp/double.h (_FP_UNION_D): Likewise.
1051
5b8a4d4a
JM
10522012-02-29 Joseph Myers <joseph@codesourcery.com>
1053
0bab47b6
JM
1054 [BZ #13786]
1055 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1056 not include ../strcmp.S.
1057 [USE_AS_STRNCASECMP_L]: Likewise.
1058 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1059 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1060 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1061 (__strncasecmp_l_ia32): Define as alias to
1062 __strncasecmp_l_nonascii.
1063
0fcad3e2
JM
1064 [BZ #5794]
1065 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1066 * sysdeps/i386/fpu/libm-test-ulps: Update.
1067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1068
5b8a4d4a
JM
1069 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1071
8fdceb2e
JL
10722012-02-29 Jeff Law <law@redhat.com>
1073
1074 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1075 out of bounds read.
1076
1f393a11
MP
10772012-02-29 Marek Polacek <polacek@redhat.com>
1078
1079 [BZ #13706]
1080 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1081 * elf/Makefile: Add rules to run tst-unused-dep.out.
1082
8847f037
DM
10832012-02-28 David S. Miller <davem@davemloft.net>
1084
1085 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1086 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1087 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1088 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1089 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1090 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1091
169d7f11
JM
10922012-02-29 Joseph Myers <joseph@codesourcery.com>
1093
1094 * math/libm-test.inc (llround_test): Move one test from
1095 lround_test. Use TEST_f_L in moved test.
1096 (lround_test): Move misplaced test to llround_test. Add testcase
1097 from bug 2561.
1098
39adf059
UD
10992012-02-28 Ulrich Drepper <drepper@gmail.com>
1100
1101 * sysdeps/x86_64/fpu/e_expf.S: New file.
1102 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1103
71b5d1c5
SB
11042012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1105
1106 [BZ #13637]
1107 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1108 of remain_len that may cause incomplete multi-byte character and
1109 false match.
1110 * posix/bug-regex33.c: New file.
1111 * posix/Makefile (tests): Add bug-regex33.
1112
1f77f049
JM
11132012-02-28 Joseph Myers <joseph@codesourcery.com>
1114
1115 * manual/macros.texi: New file.
1116 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1117 * manual/libc.texinfo: Include macros.texi.
1118 * manual/creatute.texi: Likewise.
1119 * manual/install.texi: Likewise.
1120 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1121 @glibcadj{} in references to the GNU C Library.
1122 * manual/charset.texi: Likewise.
1123 * manual/conf.texi: Likewise.
1124 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1125 when not using those macros.
1126 * manual/creature.texi: Likewise.
1127 * manual/crypt.texi: Likewise.
1128 * manual/errno.texi: Likewise.
1129 * manual/filesys.texi: Likewise.
1130 * manual/header.texi: Likewise.
1131 * manual/install.texi: Likewise.
1132 * manual/intro.texi: Likewise.
1133 * manual/io.texi: Likewise.
1134 * manual/job.texi: Likewise.
1135 * manual/lang.texi: Likewise.
1136 * manual/libc.texiinfo: Likewise.
1137 * manual/llio.texi: Likewise.
1138 * manual/locale.texi: Likewise.
1139 * manual/maint.texi: Likewise.
1140 * manual/math.texi: Likewise.
1141 * manual/memory.texi: Likewise.
1142 * manual/message.texi: Likewise.
1143 * manual/nss.texi: Likewise.
1144 * manual/pattern.texi: Likewise.
1145 * manual/process.texi: Likewise.
1146 * manual/resource.texi: Likewise.
1147 * manual/search.texi: Likewise.
1148 * manual/setjmp.texi: Likewise.
1149 * manual/signal.texi: Likewise.
1150 * manual/socket.texi: Likewise.
1151 * manual/startup.texi: Likewise.
1152 * manual/stdio.texi: Likewise.
1153 * manual/string.texi: Likewise.
1154 * manual/sysinfo.texi: Likewise.
1155 * manual/syslog.texi: Likewise.
1156 * manual/terminal.texi: Likewise.
1157 * manual/time.texi: Likewise.
1158 * manual/users.texi: Likewise.
1159 * INSTALL: Regenerated.
1160 * NOTES: Regenerated.
d40c5d54 1161 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1162
450bf206
AS
11632012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1164
1165 * include/dirent.h: Include <dirstream.h> before
1166 <dirent/dirent.h>.
1167
741a235b
DM
11682012-02-28 David S. Miller <davem@davemloft.net>
1169
1170 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1171 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1172 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1173 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1174
d6b5aa58
DM
11752012-02-27 David S. Miller <davem@davemloft.net>
1176
1aff59a3
DM
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1179 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1180 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1181
d6b5aa58
DM
1182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1183 frame pointer instead of stack pointer relative arg slot.
1184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1185 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1186 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1187
433f48bf
CD
11882012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1189
1190 [BZ #3992]
1191 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1192
d674b76d
DM
11932012-02-27 David S. Miller <davem@davemloft.net>
1194
1195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1199 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1200 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1201 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1202 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1203
0e7727f7
JM
12042012-02-27 Joseph Myers <joseph@codesourcery.com>
1205
1206 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1207 later. Allow versions 5-9.
43be4ca2 1208 * configure: Regenerated.
0e7727f7
JM
1209 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1210 required minimum version and 4.6 as recommended version. Do not
1211 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1212 * INSTALL: Regenerated.
0e7727f7 1213
a78bc654
DM
12142012-02-27 David S. Miller <davem@davemloft.net>
1215
428d5830
DM
1216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1220 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1221 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1222 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1223 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1224
a78bc654
DM
1225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1226 manipulate bits before adding and subtracting TWO112[sx].
1227 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1228
4579f81c
RM
12292012-02-27 Roland McGrath <roland@hack.frob.com>
1230
36c8acb4
RM
1231 [BZ #13775]
1232 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1233 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1234 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1235 being in POSIX, because they are in 1003.1-2008.
1236
84ad622b
RM
1237 * rt/tst-aio.c: Include <fcntl.h>.
1238 * rt/tst-aio7.c: Likewise.
1239 * rt/tst-aio64.c: Likewise.
1240
4579f81c
RM
1241 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1242
abd923db
JM
12432012-02-27 Joseph Myers <joseph@codesourcery.com>
1244
1245 * manual/install.texi (--with-headers): Describe headers as
1246 interface headers, not private headers.
1247 (Specific advice for GNU/Linux systems): Describe use of headers
1248 from "make headers_install", not private headers from older
1249 kernels.
43be4ca2 1250 * INSTALL: Regenerated.
abd923db
JM
1251 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1252 Change to 2.6.19.
1253 * sysdeps/unix/sysv/linux/configure: Regenerated.
1254
6664049b
JM
1255 * manual/llio.texi (fclean): Remove documentation.
1256
bb8b6697
JM
1257 * manual/Makefile (libc-texi-generated): New variable. Include
1258 version.texi.
1259 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1260 $(libc-texi-generated), not duplicated list of files.
1261 (version.texi, stamp-version): New rules.
1262 (realclean): Remove $(libc-texi-generated), not individual files
1263 from that list. Do not remove dir-add.texinfo.
1264 * manual/libc.texinfo: Comment out uses of edition numbers and
1265 references to printed manual. Remove last-updated dates.
1266 (EDITION): Comment out.
1267 (ISBN): Likewise.
1268 (VERSION, UPDATED): Remove.
1269 (version.texi): Include.
1270
12e5c3b9
AS
12712012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1272
1273 * sysdeps/posix/spawni.c: Include <signal.h>.
1274 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1275 * sysdeps/pthread/aio_fsync.c: Likewise.
1276
4efeffc1 12772012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1278
ba63ba08
UD
1279 * conform/Makefile (tests): Run only when not cross-compiling and
1280 when fast-check is not defined.
1281
d94a4670
UD
1282 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1283 * conform/data/limits.h-data: Fixes for POSIX2008.
1284 * conform/run-conformtest.sh: Run all tests.
1285 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1286 headers.
1287 * include/bits/dlfcn.h: Likewise.
1288 * include/langinfo.h: Likewise.
1289 * include/monetary.h: Likewise.
1290 * include/sys/poll.h: Likewise.
1291
1292 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1293 for __USE_GNU.
1294 * posix/spawn.h: Define __need_sigset_t.
1295 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1296 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1297 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1298 to get sigevent_t only.
1299 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1300 only for __USE_GNU.
1301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1302 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1303 process_vm_writev only for __USE_GNU.
1304 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1305
1306 * conform/Makefile: For now ignore errors from run-conformtest.
1307 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1308 POSIX to avoid namespace pollution. Don't prepend headers.
1309 * conform/data/aio.h-data: Fixes for POSIX testing.
1310 * conform/data/fcntl.h-data: Likewise.
1311 * conform/data/glob.h-data: Likewise.
1312 * conform/data/grp.h-data: Likewise.
1313 * conform/data/pthread.h-data: Likewise.
1314 * conform/data/pwd.h-data: Likewise.
1315 * conform/data/signal.h-data: Likewise.
1316 * conform/data/spawn.h-data: Likewise.
1317 * conform/data/stdio.h-data: Likewise.
1318 * conform/data/stdlib.h-data: Likewise.
1319 * conform/data/stropts.h-data: Likewise.
1320 * conform/data/sys/mman.h-data: Likewise.
1321 * conform/data/sys/stat.h-data: Likewise.
1322 * conform/data/sys/types.h-data: Likewise.
1323 * conform/data/sys/wait.h-data: Likewise.
1324 * conform/data/time.h-data: Likewise.
1325 * conform/data/unistd.h-data: Likewise.
1326 * conform/data/utime.h-data: Likewise.
1327
1328 * io/sys/stat.h: fchmod was always in POSIX.
1329 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1330 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1331 * rt/aio.h: Define __need_timespec before including <time.h>.
1332 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1333 struct. Add forward declaration of pthread_attr_t and use it in
1334 sigevent.
1335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1336 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1337 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1338 always remove CLK_TCK definition.
1339
c20105c3
AS
13402012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1341
1342 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1343
7a270350
UD
13442012-02-25 Ulrich Drepper <drepper@gmail.com>
1345
31341567
UD
1346 * conform/run-conformtest.sh: New file.
1347 * conform/Makefile: Run run-conformtest for tests.
1348 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1349 support.
1350
1351 * conform/data/uchar.h-data: New file.
1352 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1353 * conform/data/arpa/inet.h-data: Likewise.
1354 * conform/data/assert.h-data: Likewise.
1355 * conform/data/complex.h-data: Likewise.
1356 * conform/data/cpio.h-data: Likewise.
1357 * conform/data/ctype.h-data: Likewise.
1358 * conform/data/dirent.h-data: Likewise.
1359 * conform/data/dlfcn.h-data: Likewise.
1360 * conform/data/errno.h-data: Likewise.
1361 * conform/data/fcntl.h-data: Likewise.
1362 * conform/data/float.h-data: Likewise.
1363 * conform/data/fmtmsg.h-data: Likewise.
1364 * conform/data/fnmatch.h-data: Likewise.
1365 * conform/data/ftw.h-data: Likewise.
1366 * conform/data/glob.h-data: Likewise.
1367 * conform/data/grp.h-data: Likewise.
1368 * conform/data/iconv.h-data: Likewise.
1369 * conform/data/inttypes.h-data: Likewise.
1370 * conform/data/langinfo.h-data: Likewise.
1371 * conform/data/libgen.h-data: Likewise.
1372 * conform/data/limits.h-data: Likewise.
1373 * conform/data/locale.h-data: Likewise.
1374 * conform/data/math.h-data: Likewise.
1375 * conform/data/monetary.h-data: Likewise.
1376 * conform/data/mqueue.h-data: Likewise.
1377 * conform/data/ndbm.h-data: Likewise.
1378 * conform/data/net/if.h-data: Likewise.
1379 * conform/data/netdb.h-data: Likewise.
1380 * conform/data/netinet/in.h-data: Likewise.
1381 * conform/data/nl_types.h-data: Likewise.
1382 * conform/data/poll.h-data: Likewise.
1383 * conform/data/pthread.h-data: Likewise.
1384 * conform/data/pwd.h-data: Likewise.
1385 * conform/data/regex.h-data: Likewise.
1386 * conform/data/sched.h-data: Likewise.
1387 * conform/data/search.h-data: Likewise.
1388 * conform/data/semaphore.h-data: Likewise.
1389 * conform/data/setjmp.h-data: Likewise.
1390 * conform/data/signal.h-data: Likewise.
1391 * conform/data/spawn.h-data: Likewise.
1392 * conform/data/stdarg.h-data: Likewise.
1393 * conform/data/stdio.h-data: Likewise.
1394 * conform/data/stdlib.h-data: Likewise.
1395 * conform/data/string.h-data: Likewise.
1396 * conform/data/strings.h-data: Likewise.
1397 * conform/data/stropts.h-data: Likewise.
1398 * conform/data/sys/ipc.h-data: Likewise.
1399 * conform/data/sys/mman.h-data: Likewise.
1400 * conform/data/sys/msg.h-data: Likewise.
1401 * conform/data/sys/resource.h-data: Likewise.
1402 * conform/data/sys/select.h-data: Likewise.
1403 * conform/data/sys/sem.h-data: Likewise.
1404 * conform/data/sys/shm.h-data: Likewise.
1405 * conform/data/sys/socket.h-data: Likewise.
1406 * conform/data/sys/stat.h-data: Likewise.
1407 * conform/data/sys/statvfs.h-data: Likewise.
1408 * conform/data/sys/time.h-data: Likewise.
1409 * conform/data/sys/timeb.h-data: Likewise.
1410 * conform/data/sys/times.h-data: Likewise.
1411 * conform/data/sys/types.h-data: Likewise.
1412 * conform/data/sys/uio.h-data: Likewise.
1413 * conform/data/sys/un.h-data: Likewise.
1414 * conform/data/sys/utsname.h-data: Likewise.
1415 * conform/data/sys/wait.h-data: Likewise.
1416 * conform/data/syslog.h-data: Likewise.
1417 * conform/data/tar.h-data: Likewise.
1418 * conform/data/termios.h-data: Likewise.
1419 * conform/data/utime.h-data: Likewise.
1420 * conform/data/utmpx.h-data: Likewise.
1421 * conform/data/varargs.h-data: Likewise.
1422 * conform/data/wchar.h-data: Likewise.
1423 * conform/data/wctype.h-data: Likewise.
1424 * conform/data/wordexp.h-data: Likewise.
1425
1426 * include/stropts.h: New file.
1427 * include/uchar.h: New file.
1428 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1429 * include/assert.h: Likewise.
1430 * include/ctype.h: Likewise.
1431 * include/dirent.h: Likewise.
1432 * include/dlfcn.h: Likewise.
1433 * include/fcntl.h: Likewise.
1434 * include/fnmatch.h: Likewise.
1435 * include/glob.h: Likewise.
1436 * include/grp.h: Likewise.
1437 * include/libio.h: Likewise.
1438 * include/locale.h: Likewise.
1439 * include/math.h: Likewise.
1440 * include/net/if.h: Likewise.
1441 * include/netdb.h: Likewise.
1442 * include/netinet/in.h: Likewise.
1443 * include/pthread.h: Likewise.
1444 * include/pwd.h: Likewise.
1445 * include/regex.h: Likewise.
1446 * include/sched.h: Likewise.
1447 * include/search.h: Likewise.
1448 * include/setjmp.h: Likewise.
1449 * include/signal.h: Likewise.
1450 * include/stdio.h: Likewise.
1451 * include/stdlib.h: Likewise.
1452 * include/string.h: Likewise.
1453 * include/sys/cdefs.h: Likewise.
1454 * include/sys/mman.h: Likewise.
1455 * include/sys/msg.h: Likewise.
1456 * include/sys/resource.h: Likewise.
1457 * include/sys/select.h: Likewise.
1458 * include/sys/socket.h: Likewise.
1459 * include/sys/stat.h: Likewise.
1460 * include/sys/statvfs.h: Likewise.
1461 * include/sys/time.h: Likewise.
1462 * include/sys/times.h: Likewise.
1463 * include/sys/uio.h: Likewise.
1464 * include/sys/utsname.h: Likewise.
1465 * include/sys/wait.h: Likewise.
1466 * include/termios.h: Likewise.
1467 * include/time.h: Likewise.
1468 * include/ulimit.h: Likewise.
1469 * include/unistd.h: Likewise.
1470 * include/utime.h: Likewise.
1471 * include/wchar.h: Likewise.
1472 * include/wctype.h: Likewise.
1473 * include/wordexp.h: Likewise.
1474
1475 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1476
7a270350
UD
1477 * time/time.h: TIME_UTC must be a macro.
1478 Make timespec_get available for ISO C11 only as well.
1479
7724defc
UD
14802012-02-24 Ulrich Drepper <drepper@gmail.com>
1481
1482 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1483 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1484
6b1d1d46
JM
14852012-02-24 Joseph Myers <joseph@codesourcery.com>
1486
1487 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1488
0f8bbd69
JM
14892012-02-24 Joseph Myers <joseph@codesourcery.com>
1490
1491 * manual/texinfo.tex: Update to version 2012-01-19.16.
1492
66ab80bc
JM
14932012-02-24 Joseph Myers <joseph@codesourcery.com>
1494
1495 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1496
74981cc5
RM
14972012-02-24 Roland McGrath <roland@hack.frob.com>
1498
ee968201
RM
1499 [BZ #13738]
1500 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1501 * manual/fdl-1.3.texi: New file.
1502 * manual/fdl-1.1.texi: File removed.
1503
74981cc5
RM
1504 [BZ #13738]
1505 * manual/libc.texinfo (FDL_VERSION): New @set.
1506 Use it for mention of FDL in cover text.
1507 (Documentation License): Use it in @include file name.
1508
7bb764bc
JM
15092012-02-22 Joseph Myers <joseph@codesourcery.com>
1510 Roland McGrath <roland@hack.frob.com>
1511
1512 [BZ #5461]
1513 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1514 not LONG_LONG_MAX and LONG_LONG_MIN.
1515 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1516 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1517 name.
1518 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1519
6cbeae47
JM
15202012-02-22 Joseph Myers <joseph@codesourcery.com>
1521
1522 [BZ #2547]
1523 [BZ #11365]
1524 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1525 manipulate bits before adding and subtracting TWO23[sx].
1526 * math/libm-test.inc (nearbyint_test): Add more tests.
1527
fe45ce09
JM
15282012-02-22 Joseph Myers <joseph@codesourcery.com>
1529
1530 [BZ #2548]
1531 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1532 bits before adding and subtracting TWO23[sx].
1533 * math/libm-test.inc (rint_test): Add more tests.
1534 (rint_test_tonearest): Likewise.
1535 (rint_test_towardzero): Likewise.
1536 (rint_test_downward): Likewise.
1537 (rint_test_upward: Likewise.
1538
ff3b3d82
JM
15392012-02-22 Joseph Myers <joseph@codesourcery.com>
1540
1541 [BZ #10110]
1542 * include/stdc-predef.h: New file. Extracted from features.h.
1543 * include/features.h: Include stdc-predef.h.
1544 * Makefile (headers): Add stdc-predef.h.
1545 * CONFORMANCE (Compiler limitations): Update.
1546
ef0aab35
JM
15472012-02-22 Joseph Myers <joseph@codesourcery.com>
1548
1549 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1550
58639409
DM
15512012-02-21 David S. Miller <davem@davemloft.net>
1552
1553 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1554 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1555
c0e70b25
DM
15562012-02-20 David S. Miller <davem@davemloft.net>
1557
1558 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1559 using a normal save/restore sequence, rather than allocating a
1560 dummy stack frame just to store a frame pointer and restore.
1561 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1562
fb06851d
JM
15632012-02-21 Joseph Myers <joseph@codesourcery.com>
1564
1565 * manual/install.texi: Fix stray word in line-wrapped comment.
1566
7a8b71c3
DM
15672012-02-20 David S. Miller <davem@davemloft.net>
1568
d510c123
DM
1569 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1570 both binutils and gcc support GOTDATA.
1571
0722d7c2
DM
1572 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1573 "rd %pc" in the PIC register setup sequences.
1574
3d2b3019
DM
1575 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1576 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1577 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1578 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1579 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1581 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1582 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1584 (SYSCALL_ERROR_HANDLER): Likewise.
1585 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1586 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1588 (SYSCALL_ERROR_HANDLER): Likewise.
1589
c80098a9
DM
1590 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1591 (HAVE_GCC_GOTDATA): New.
1592 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1593 relocation support in both binutils and gcc.
1594 * sysdeps/sparc/elf/configure: Regenerate.
1595
3a2545a0
DM
1596 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1597 * sysdeps/sparc/sparc32/elf/configure: Delete.
1598 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1599 * sysdeps/sparc/sparc64/elf/configure: Delete.
1600 * sysdeps/sparc/elf/configure.in: New file.
1601 * sysdeps/sparc/elf/configure: Generate.
1602
7a8b71c3
DM
1603 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1604 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1605 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1606 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1607 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1608
f1e86fca
JM
16092012-02-21 Joseph Myers <joseph@codesourcery.com>
1610
1611 * manual/install.texi: Do not mention specific glibc version
1612 numbers.
1613 * manual/libc.texinfo (VERSION, UPDATED): Update.
1614 (@copying): Use @copyright{} and range of years.
1615
0e7dfaef
JM
16162012-02-21 Joseph Myers <joseph@codesourcery.com>
1617
1618 [BZ #13695]
1619 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1620 [crti.S not in sysdirs] (generated): Do not append.
1621 [crti.S not in sysdirs] (omit-deps): Likewise.
1622 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1623 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1624 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1625 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1626 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1627 Likewise.
1628 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1629 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1630 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1631 * csu/defs.awk: Remove file.
1632 * sysdeps/generic/initfini.c: Likewise.
1633 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1634 variable.
1635 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1636 Likewise.
1637
599af3ca
JM
16382012-02-20 Joseph Myers <joseph@codesourcery.com>
1639
1640 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1641 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1642 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1643 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1644 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1645 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1646 <bits/epoll.h>.
1647 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1648 (__EPOLL_PACKED): Define to empty if not defined by
1649 <bits/epoll.h>.
1650 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1652 bits/epoll.h.
1653
0e499750
JM
16542012-02-20 Joseph Myers <joseph@codesourcery.com>
1655
1656 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1657 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1658 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1659 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1660 <bits/timerfd.h>.
1661 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1663 bits/timerfd.h.
1664
5ad91f6e
JM
16652012-02-20 Joseph Myers <joseph@codesourcery.com>
1666
1667 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1668 in C locale.
1669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1670 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1671 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1673
06b99b02
AJ
16742012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1675
1676 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1677 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1678
7638c0fd
AS
16792012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1680
1681 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1682 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1683 defined.
1684 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1685 Likewise.
1686 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1687 entry for 2.16.
1688
92221550
AJ
16892012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1690
1691 * math/w_acos.c: Use non-signaling floating-point comparisons.
1692 * math/w_acosf.c: Likewise.
1693 * math/w_acosh.c: Likewise.
1694 * math/w_acoshf.c: Likewise.
1695 * math/w_acoshl.c: Likewise.
1696 * math/w_acosl.c: Likewise.
1697 * math/w_asin.c: Likewise.
1698 * math/w_asinf.c: Likewise.
1699 * math/w_asinl.c: Likewise.
1700 * math/w_atanh.c: Likewise.
1701 * math/w_atanhf.c: Likewise.
1702 * math/w_atanhl.c: Likewise.
1703 * math/w_exp2.c: Likewise.
1704 * math/w_exp2f.c: Likewise.
1705 * math/w_exp2l.c: Likewise.
1706 * math/w_j0.c: Likewise.
1707 * math/w_j0f.c: Likewise.
1708 * math/w_j0l.c: Likewise.
1709 * math/w_j1.c: Likewise.
1710 * math/w_j1f.c: Likewise.
1711 * math/w_j1l.c: Likewise.
1712 * math/w_jn.c: Likewise.
1713 * math/w_jnf.c: Likewise.
1714 * math/w_log.c: Likewise.
1715 * math/w_log10.c: Likewise.
1716 * math/w_log10f.c: Likewise.
1717 * math/w_log10l.c: Likewise.
1718 * math/w_log2.c: Likewise.
1719 * math/w_log2f.c: Likewise.
1720 * math/w_log2l.c: Likewise.
1721 * math/w_logf.c: Likewise.
1722 * math/w_logl.c: Likewise.
1723 * math/w_sqrt.c: Likewise.
1724 * math/w_sqrtf.c: Likewise.
1725 * math/w_sqrtl.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1728 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1729 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1730 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1731
ebaf36eb
JM
17322012-02-19 Joseph Myers <joseph@codesourcery.com>
1733
1734 [BZ #9739]
1735 * manual/string.texi (strnlen): Use correct parameter name in
1736 equivalent expression.
1737
71c254a6
JM
17382012-02-19 Joseph Myers <joseph@codesourcery.com>
1739
1740 [BZ #11174]
1741 * manual/users.texi (seteuid): Consistently use neweuid for
1742 argument name.
1743
16d2c631
JM
17442012-02-19 Joseph Myers <joseph@codesourcery.com>
1745
1746 [BZ #13704]
1747 * manual/nss.texi (Services in the NSS configuration): Correct
1748 list of services in example configuration file.
1749
cd837b09
NB
17502012-02-19 Nick Bowler <nbowler@draconx.ca>
1751
1752 [BZ #11322]
1753 * manual/arith.texi: Remove statements about negative zero
1754 behaving identically to zero.
1755
02c4bbad
JM
17562012-02-18 Joseph Myers <joseph@codesourcery.com>
1757
1758 [BZ #5993]
1759 * manual/install.texi: Do not document upgrading from libc5.
1760
366842e7
JM
17612012-02-18 Joseph Myers <joseph@codesourcery.com>
1762
1763 [BZ #4596]
1764 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1765
dd54084d
DM
17662012-02-18 David S. Miller <davem@davemloft.net>
1767
1768 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1769 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1770 %o7 across the call.
1771 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1772 instead.
1773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1774 SETUP_PIC_REG_LEAF.
1775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1776 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1777 * sysdeps/sparc/crtn.S: Likewise.
1778
2bcc53a3
UD
17792012-02-17 Ulrich Drepper <drepper@gmail.com>
1780
1781 * aout/Makefile: Remove.
1782
09c093b5
RK
17832012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1784
1785 [BZ #13058]
1786 * manual/examples/argp-ex1.c (main): Format definition in GNU
1787 style.
1788 * manual/examples/argp-ex2.c (main): Likewise.
1789 * manual/examples/argp-ex3.c (main): Likewise.
1790 * manual/examples/argp-ex4.c (main): Likewise.
1791 * manual/examples/longopt.c (main): Use new-style prototype
1792 definition.
1793 * manual/examples/strncat.c (main): Specify return type and use
1794 (void) for arguments.
1795 * manual/examples/subopt.c (main): Use char **argv argument.
1796
2ee633a2
JM
17972012-02-17 Joseph Myers <joseph@codesourcery.com>
1798
1799 [BZ #5077]
1800 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1801 rounding modes.
1802
0520adde
FB
18032012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1804
1805 [BZ #6907]
1806 * manual/string.texi (strchr): Change when strchrnul is
1807 recommended.
1808
3f4081cd
DGM
18092012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1810
1811 [BZ #174]
1812 * manual/locale.texi (setlocale): Document LOCPATH.
1813
d1b10e78
JM
18142012-02-17 Joseph Myers <joseph@codesourcery.com>
1815
1816 [BZ #10210]
1817 * manual/process.texi (execle): Move @dots{} before last argument.
1818
79c6869c
PB
18192012-02-17 Paul Bolle <pebolle@tiscali.nl>
1820
1821 [BZ #12047]
1822 * manual/charset.texi (Generic Charset Conversion): Fix typo
1823 (LC_TYPE -> LC_CTYPE).
1824
cc6e48bc
NB
18252012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1826
1827 [BZ #5805]
1828 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1829 (scalbnf): Likewise.
1830 (scalbnl): Likewise.
1831 (scalbln): Likewise.
1832 (scalblnf): Likewise.
1833 (scalblnl): Likewise.
1834 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1835 (vwarnx): Likewise.
1836 (verr): Likewise.
1837 (verrx): Likewise.
1838 * manual/filesys.texi (telldir): Use braces around return type.
1839 * manual/llio.texi (mmap): Add space after comma.
1840 (mmap64): Likewise.
1841 * manual/math.texi (jn): Use @var{} on parameter names.
1842 (jnf): Likewise.
1843 (jnl): Likewise.
1844 (yn): Likewise.
1845 (ynf): Likewise.
1846 (ynl): Likewise.
1847 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1848 line.
1849 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1850 "...".
1851 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1852 (sched_get_priority_max): Likewise.
1853 * manual/signal.texi (sigvec): Add space after comma.
1854 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1855 names.
1856 (if_indextoname): Likewise.
1857 (if_freenameindex): Likewise.
1858 (sendto): Use ',' instead of '.' in prototype.
1859 * manual/startup.texi (syscall): Use @dots{} instead of literal
1860 "...".
1861 * manual/stdio.texi (__fpending): Separate initial words of
1862 paragraph from @deftypefun line.
1863 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1864 "...".
1865 (vsyslog): Use @var{} on parameter names.
1866 * manual/terminal.texi (stty): Use @var{} on parameter names.
1867 * manual/users.texi (getutmp): Use @var{} on parameter names.
1868 (getutmpx): Likewise.
1869
5b23062f
JM
18702012-02-17 Joseph Myers <joseph@codesourcery.com>
1871
1872 [BZ #6884]
1873 * manual/stdio.texi (fopen): Fix typos in description of
1874 ",ccs=STRING".
1875
8dee4833
AJ
18762012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1877
1878 [BZ #4026]
1879 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1880 get clock_id definition.
1881
9078ce93
TS
18822012-02-17 Thomas Schwinge <thomas@schwinge.name>
1883
1884 [BZ #4822]
1885 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1886 (madvise): Cast every argument to void on its own.
1887
3835c55f
JM
18882012-02-17 Joseph Myers <joseph@codesourcery.com>
1889
1890 [BZ #9902]
1891 * manual/startup.texi (Exit Status): Fix typo.
1892
35c47e37
JM
18932012-02-17 Joseph Myers <joseph@codesourcery.com>
1894
1895 [BZ #10140]
1896 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1897 * manual/examples/argp-ex2.c: Likewise.
1898 * manual/examples/argp-ex3.c: Likewise.
1899
e3b69ca7
RH
19002012-02-16 Richard Henderson <rth@redhat.com>
1901
1902 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1903 * sysdeps/s390/s390-32/initfini.c: Remove.
1904 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1905 * sysdeps/s390/s390-64/initfini.c: Remove.
1906
df83af67
KK
19072012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1908
1909 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1910 compiler output for sysdeps/generic/initfini.c.
1911 * sysdeps/sh/elf/initfini.c: Remove file.
1912
f63f3380
DM
19132012-02-16 David S. Miller <davem@davemloft.net>
1914
fb59b3a4
DM
1915 [BZ #11494]
1916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1917
f63f3380
DM
1918 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1919 * sysdeps/sparc/crti.S: New file.
1920 * sysdeps/sparc/crtn.S: New file.
1921 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1922 * sysdeps/sparc/sparc64/Makefile: Likewise.
1923
df6a4a4a
MF
19242012-02-15 Mike Frysinger <vapier@gentoo.org>
1925
6dd8f3dc 1926 [BZ #3335]
df6a4a4a
MF
1927 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1928
1cac7236
RM
19292012-02-15 Roland McGrath <roland@hack.frob.com>
1930
d2c736f8
RM
1931 [BZ #4822]
1932 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1933
1cac7236
RM
1934 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1935 (write, read, close): Likewise.
1936 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1937
8e475601
JM
19382012-02-15 Joseph Myers <joseph@codesourcery.com>
1939
1940 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1941 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1942 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1943 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1944 <bits/signalfd.h>.
1945 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1947 bits/signalfd.h.
1948
ed656b40
MP
19492012-02-14 Marek Polacek <polacek@redhat.com>
1950
1951 * sysdeps/x86_64/crti.S: New file.
1952 * sysdeps/x86_64/crtn.S: New file.
1953 * sysdeps/x86_64/elf/initfini.c: Remove file.
1954
2a979d3a
JM
19552012-02-13 Joseph Myers <joseph@codesourcery.com>
1956
1957 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1958 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1959 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1960 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1961 <bits/inotify.h>.
1962 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1964 bits/inotify.h.
1965
2a418ac3
JM
19662012-02-13 Joseph Myers <joseph@codesourcery.com>
1967
1968 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1969 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1970 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1971 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1972 <bits/eventfd.h>.
1973 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1975 bits/eventfd.h.
1976
fb779be7
TS
19772012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1978
e19e83c5
RM
1979 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1980 __feraiseexcept instead of feraiseexcept.
7c35ffed 1981
fb779be7
TS
1982 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1983 nanosleep invocations.
1984 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1985 strings, and add error checking for a nanosleep invocations.
1986
59ba27a6
PE
19872012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1988
1989 Replace FSF snail mail address with URLs, as per GNU coding standards.
1990 Most of the snail mail addresses were wrong anyway, and omitting
1991 them makes the source code easier to maintain. Almost all of the
1992 changes are to license notices and to locale LC_IDENTIFICATION
1993 addresses, except for this one:
1994 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1995 not its snail mail address.
1996
57b957eb
RH
19972012-02-09 Richard Henderson <rth@twiddle.net>
1998
af850b1c
RH
1999 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2000 of kernel-features.h.
2001
57b957eb
RH
2002 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2003
6b73181a
MP
20042012-02-08 Marek Polacek <polacek@redhat.com>
2005
2006 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2007 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2008 * sysdeps/gnu/_G_config.h: Likewise.
2009 * sysdeps/generic/_G_config.h: Likewise.
2010
26ecc33a
AS
20112012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2012
6c6dbc63
AS
2013 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2014 tests.
2015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2016
e216c012
AS
2017 * sysdeps/powerpc/powerpc32/crti.S: New file.
2018 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2019 * sysdeps/powerpc/powerpc64/crti.S: New file.
2020 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2021
26ecc33a
AS
2022 * Makeconfig (have-initfini): Don't set.
2023 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2024 * configure.in (nopic_initfini): Don't substitute.
2025 * config.h.in (HAVE_INITFINI): Don't #undef.
2026 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2027 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2028
3add8e13
JM
20292012-02-08 Joseph Myers <joseph@codesourcery.com>
2030
2031 Support crti.S and crtn.S provided directly by architectures.
2032 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2033 [crti.S in sysdirs] (omit-deps): Likewise.
2034 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2035 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2036 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2037 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2038 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2039 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2040 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2041 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2042 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2043 compiler output for sysdeps/generic/initfini.c.
2044 * sysdeps/i386/elf/Makefile: Remove file.
2045 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2046
a22f12b4
MP
20472012-02-07 Marek Polacek <polacek@redhat.com>
2048
2049 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2050 * sysdeps/gnu/_G_config.h: Likewise.
2051 * sysdeps/mach/hurd/_G_config.h: Likewise.
2052
148cf100
MP
20532012-02-07 Marek Polacek <polacek@redhat.com>
2054
2055 * math/Makefile (tests): Add tst-CMPLX2.
2056 * math/tst-CMPLX2.c: New file.
2057
cfdc0dd7
AS
20582012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2059
84ba42c4
AS
2060 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2061
cfdc0dd7
AS
2062 * math/libm-test.inc (jn_test): Add missing L suffix.
2063
622c86f4
MP
20642012-02-06 Marek Polacek <polacek@redhat.com>
2065
2066 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2067 * sysdeps/i386/fpu/e_powf.S: Likewise.
2068 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2069 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2070 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2071 * sysdeps/i386/fpu/e_pow.S: Likewise.
2072 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2073 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2074 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2075 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2076 * sysdeps/i386/fpu/e_log2.S: Likewise.
2077 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2078 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2079 * sysdeps/i386/fpu/e_powl.S: Likewise.
2080 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2081 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2082 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2083 * sysdeps/i386/fpu/e_logl.S: Likewise.
2084 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2085 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2086 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2087 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2089 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2090 * sysdeps/i386/fpu/e_log.S: Likewise.
2091 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2092 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2093 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2094 * sysdeps/i386/fpu/e_logf.S: Likewise.
2095 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2096 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2097 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2098 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2099 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2100 * sysdeps/i386/fpu/e_log10.S: Likewise.
2101 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2103 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2104 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2105 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2106 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2107 * sysdeps/i386/asm-syntax.h: Likewise.
2108 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2110 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2111 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2112 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2113 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2114 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2115 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2116 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2117 * sysdeps/powerpc/sysdep.h: Likewise.
2118 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2119 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2120
d4a54ac6
JM
21212012-02-06 Joseph Myers <joseph@codesourcery.com>
2122
2123 [BZ #411]
2124 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2125
314054ea
JM
21262012-02-06 Joseph Myers <joseph@codesourcery.com>
2127
2128 * sysdeps/i386/sysdep.h: Include <features.h>.
2129 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2130 version.
2131
d8e0ca50
JM
21322012-02-05 Joseph Myers <joseph@codesourcery.com>
2133
2134 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2135 Define.
2136 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2137 LOAD_PIC_REG_STR.
2138
b1da7dd9
JM
21392012-02-03 Joseph Myers <joseph@codesourcery.com>
2140
2141 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2142 (SETUP_PIC_REG): Use GET_PC_THUNK.
2143 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2144 macro.
2145
9a1d9254
JM
21462012-02-03 Joseph Myers <joseph@codesourcery.com>
2147
2148 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2149 for non-PIC compilation.
2150 (SETUP_PIC_REG): Add .p2align directive.
2151 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2152 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2153 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2154 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2155 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2156 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2157 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2158 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2159 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2160 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2161 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2162 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2163 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2164 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2165 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2166 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2167 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2168 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2169 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2170 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2171 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2172 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2173 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2174 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2175 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2177 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2178 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2179 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2180 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2181 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2183 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2184 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2185 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2186 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2187 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2188 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2189 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2190 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2191 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2192
65dc3b75
JM
21932012-02-03 Joseph Myers <joseph@codesourcery.com>
2194
2195 * math/tst-CMPLX.c: Include <stdio.h>.
2196
d55bf177
JM
21972012-01-31 Joseph Myers <joseph@codesourcery.com>
2198
2199 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2200 float.
2201 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2202 * sysdeps/sparc/bits/mathdef.h: Likewise.
2203
69db4f8f
MP
22042012-01-31 Marek Polacek <polacek@redhat.com>
2205
2206 * libio/libio.h: Don't define _PARAMS.
2207 * locale/programs/config.h: Don't define PARAMS.
2208 * stdlib/strtol_l.c: Likewise.
2209 (__strtol_l): Remove PARAMS from the prototype.
2210
41b81892
UD
22112012-01-31 Ulrich Drepper <drepper@gmail.com>
2212
3b49edc0
UD
2213 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2214 names. Just use the correct names. Remove unnecessary wrapper
2215 functions.
2216 * malloc/arena.c: Likewise.
2217 * malloc/hooks.c: Likewise.
2218
41b81892
UD
2219 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2220 ARENA_TEST says not to. Simplify test for creation of a new arena.
2221 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2222
27a25b6e
UD
22232012-01-30 Ulrich Drepper <drepper@gmail.com>
2224
2225 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2226 into tail calls.
2227 (update_get_addr): New function.
2228 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2229 GET_ADDR_MODULE parameter.
2230
c8a89e7d
JM
22312012-01-30 Joseph Myers <joseph@codesourcery.com>
2232
2233 * crypt/cert.c: Remove __STDC__ conditionals.
2234 * crypt/crypt-entry.c: Likewise.
2235 * crypt/crypt_util.c: Likewise.
2236 * libio/filedoalloc.c: Likewise.
2237 * libio/fileops.c: Likewise.
2238 * libio/genops.c: Likewise.
2239 * libio/iofclose.c: Likewise.
2240 * libio/iofdopen.c: Likewise.
2241 * libio/iofopen.c: Likewise.
2242 * libio/iofopen64.c: Likewise.
2243 * libio/iogetdelim.c: Likewise.
2244 * libio/iopopen.c: Likewise.
2245 * libio/obprintf.c: Likewise.
2246 * libio/oldfileops.c: Likewise.
2247 * libio/oldiofclose.c: Likewise.
2248 * libio/oldiofdopen.c: Likewise.
2249 * libio/oldiofopen.c: Likewise.
2250 * libio/oldiopopen.c: Likewise.
2251 * libio/wfiledoalloc.c: Likewise.
2252 * libio/wgenops.c: Likewise.
2253 * locale/programs/xmalloc.c: Likewise.
2254 * misc/syslog.c: Likewise.
2255 * stdio-common/xbug.c: Likewise.
2256 * string/memchr.c: Likewise.
2257 * string/memcmp.c: Likewise.
2258 * string/memrchr.c: Likewise.
2259 * string/rawmemchr.c: Likewise.
2260 * sysdeps/posix/getcwd.c: Likewise.
2261 * time/strftime_l.c: Likewise.
2262
3b100462
JM
22632012-01-30 Joseph Myers <joseph@codesourcery.com>
2264
2265 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2266 * config.make.in (config-cflags-sse2avx): Define.
2267 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2268 Fix typo.
2269
607998af
CM
22702012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2271
2272 * scripts/config.guess: Update from upstream config git repository.
2273 * scripts/config.sub: Likewise.
2274
3601428f
CM
22752012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2276
3ac8b282
CM
2277 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2278 (EM_NUM): Update.
2279 (R_TILEPRO_*, R_TILEGX_*): New macros.
2280
e034841e
CM
2281 * scripts/firstversions.awk: Fix bug in version range handling.
2282
540d7568
CM
2283 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2284
3601428f
CM
2285 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2286
463de862
CM
2287 * include/sys/epoll.h: New file.
2288 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2289 libc_hidden_def.
2290
73139a76
UD
22912012-01-28 Ulrich Drepper <drepper@gmail.com>
2292
96bc5b45
UD
2293 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2294 Avoid unnecessary __WORDSIZE == 64 test.
2295 (fmaxf): Use VEX format if possible.
2296 (fmax): Likewise.
2297 (fminf): Likewise.
2298 (fmin): Likewise.
2299
56f6f6a2
UD
2300 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2301 * math/math_private.h: Remove libc_fegetround* and
2302 libc_fesetround*.
2303 * sysdeps/i386/configure.in: Check for -msse2avx.
2304 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2305 also if SSE2AVX is defined.
2306 Remove libc_fegetround* and libc_fesetround*.
2307 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2308 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2309 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2310 of HAS_YMM_USABLE.
2311 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2312 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2314 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2316
73139a76
UD
2317 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2318
d73f93a4
AZ
23192012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2320
2321 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2322 size is not set.
2323 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2324
6ee65ed6
UD
23252012-01-27 Ulrich Drepper <drepper@gmail.com>
2326
2327 [BZ #13618]
2328 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2329 relocation.
2330 * Makeconfig (libm): Define.
2331 * elf/Makefile: Add rules to build and run tst-relsort1.
2332 * elf/tst-relsort1.c: New file.
2333 * elf/tst-relsort1mod1.c: New file.
2334 * elf/tst-relsort1mod2.c: New file.
2335
8db21882
JM
23362012-01-27 Joseph Myers <joseph@codesourcery.com>
2337
2338 * math/s_ldexp.c: Remove __STDC__ conditionals.
2339 * math/s_ldexpf.c: Likewise.
2340 * math/s_ldexpl.c: Likewise.
2341 * math/s_nextafter.c: Likewise.
2342 * math/s_nexttowardf.c: Likewise.
2343 * math/s_significand.c: Likewise.
2344 * math/s_significandf.c: Likewise.
2345 * math/s_significandl.c: Likewise.
2346 * math/w_jnl.c: Likewise.
2347 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2348 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2349 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2350 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2351 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2353 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2354 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2355 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2356 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2357 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2359 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2360 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2361 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2362 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2363 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2364 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2366 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2367 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2368 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2369 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2371 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2372 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2373 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2374 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2375 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2376 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2377 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2378 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2379 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2380 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2381 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2382 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2383 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2384 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2385 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2386 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2387 * sysdeps/ieee754/k_standard.c: Likewise.
2388 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2389 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2390 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2391 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2392 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2393 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2395 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2396 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2397 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2398 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2411 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2412 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2419 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2420 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2421 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2424 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2425 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2426 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2430 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2431 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2432 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2436 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2437 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2438 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2439 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2443 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2444 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2446 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2448 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2449 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2450 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2451 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2454 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2455 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2456 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2458 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2459 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2460 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2461 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2462 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2463 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2464 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2465 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2467 * sysdeps/ieee754/s_matherr.c: Likewise.
2468 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2469 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2471 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2472
965a54a4
JM
24732012-01-26 Joseph Myers <joseph@codesourcery.com>
2474
2475 * crypt/md5.h: Remove __STDC__ conditionals.
2476 * libio/libioP.h: Likewise.
2477 * locale/programs/config.h: Likewise.
2478 * sysdeps/generic/sysdep.h: Likewise.
2479 * sysdeps/i386/asm-syntax.h: Likewise.
2480 * sysdeps/s390/asm-syntax.h: Likewise.
2481 * sysdeps/unix/sysdep.h: Likewise.
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2484
7071ad79
JM
24852012-01-26 Joseph Myers <joseph@codesourcery.com>
2486
2487 * libio/libio.h: Remove __STDC__ conditionals.
2488 * malloc/obstack.h: Likewise.
2489 * math/complex.h: Likewise.
2490 * math/math.h: Likewise.
2491 * sysdeps/generic/_G_config.h: Likewise.
2492 * sysdeps/gnu/_G_config.h: Likewise.
2493 * sysdeps/mach/hurd/_G_config.h: Likewise.
2494 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2495 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2496 * sysdeps/sparc/bits/mathdef.h: Likewise.
2497
afc5ed09
UD
24982012-01-26 Ulrich Drepper <drepper@gmail.com>
2499
2500 [BZ #13583]
2501 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2502 Clean up HAS_* macros.
afc5ed09 2503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2504 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2505 possible.
2506 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2507 HAS_AVX.
2508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2509 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2511 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2513
bdb6de1d
JM
25142012-01-25 Joseph Myers <joseph@codesourcery.com>
2515
2516 * elf/tst-unique3.cc (gets): Remove declaration.
2517 * elf/tst-unique3lib.cc (gets): Likewise.
2518 * elf/tst-unique3lib2.cc (gets): Likewise.
2519 * elf/tst-unique4.cc (gets): Likewise.
2520
b15549e6
UD
25212012-01-24 Ulrich Drepper <drepper@gmail.com>
2522
2523 * include/stdio.h: Add C++ protection. Add gets declarations and
2524 definitions.
2525 * debug/tst-chk1.c: Don't declare gets here.
2526 * stdio-common/tst-gets.c: Likewise.
2527
a037381f
JM
25282012-01-24 Joseph Myers <joseph@codesourcery.com>
2529
2530 * posix/glob: Remove directory.
2531
f1d4aa75
JM
25322012-01-24 Joseph Myers <joseph@codesourcery.com>
2533
2534 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2535
81c0c964
PT
25362012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2537
2538 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2539 of the non-standard EPFNOSUPPORT.
2540
0ea698ae
ST
25412011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2542
2543 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2544 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2545 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2546
d220b117
UD
25472012-01-21 Ulrich Drepper <drepper@gmail.com>
2548
2549 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2550
3e1aa84e
UD
25512012-01-20 Ulrich Drepper <drepper@gmail.com>
2552
2553 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2554 transient errors.
2555 * nscd/grpcache.c (cache_addgr): Likewise.
2556 * nscd/hstcache.c (cache_addhst): Likewise.
2557 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2558 * nscd/pwdcache.c (cache_addpw): Likewise.
2559 * nscd/servicescache.c (cache_addserv): Likewise.
2560
400aa020
UD
25612012-01-16 Ulrich Drepper <drepper@gmail.com>
2562
d77e7869
UD
2563 * malloc/malloc.c: Various cleanups.
2564 * malloc/hooks.c: Likewise.
2565
400aa020
UD
2566 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2567 * stdlib/bug-fmtmsg1.c: New file.
2568
2569 * stdlib/fmtmsg.c (init): Add missing unlock.
2570 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2571
e0a309cf
MP
25722012-01-12 Marek Polacek <polacek@redhat.com>
2573
2574 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2575 and _GNU_SOURCE.
2576
929d11c7
WS
25772012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2578
2579 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2580 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2581 macro to ensure uniqueness of label name.
2582 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2583 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2584
41d0e869
UD
25852012-01-11 Ulrich Drepper <drepper@gmail.com>
2586
0cc5ed3b
UD
2587 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2588
41d0e869
UD
2589 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2590 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2591 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2592 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2593
a47a831a
UD
25942012-01-10 Ulrich Drepper <drepper@gmail.com>
2595
daa891c0
UD
2596 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2597
2598 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2599 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2600 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2601
e58ef0f2
UD
2602 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2603
a47a831a 2604 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
2605 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2606 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 2607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
2608
2609 * math/bits/math-finite.h: Add ldexp support.
2610
a0bfc9c7
MP
26112012-01-10 Marek Polacek <polacek@redhat.com>
2612
2613 * locale/programs/localedef.h (show_archive_content): Add noreturn
2614 attribute.
2615
d6e97a1d
UD
26162012-01-09 Ulrich Drepper <drepper@gmail.com>
2617
2618 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2619
d5835c26
UD
26202012-01-08 Ulrich Drepper <drepper@gmail.com>
2621
e5f484c6
UD
2622 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2623
d5835c26
UD
2624 * io/Makefile (headers): Add bits/poll2.h.
2625
d1f741e9
WS
26262011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2627
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2629 typo #include statement.
2630
ec09c1c4
UD
26312012-01-08 Ulrich Drepper <drepper@gmail.com>
2632
2633 * include/sys/cdefs.h: Define __attribute_alloc_size.
2634 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2635 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2636 * elf/pldd.c: Likewise.
2637 * iconv/iconv_charmap.c: Likewise.
2638 * iconv/iconvconfig.c: Likewise.
2639 * iconv/strtab.c: Likewise.
2640 * locale/programs/locale.c: Likewise.
2641 * locale/programs/localedef.h: Likewise.
2642 * locale/programs/simple-hash.c: Likewise.
2643 * nscd/nscd.h: Likewise.
2644 * nss/makedb.c: Likewise.
2645 * sysdeps/generic/ldconfig.h: Likewise.
2646 * locale/programs/localedef.c: Remove xmalloc prototype.
2647 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2648
20b38e03
PP
26492012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2650
2651 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2652 appropriate.
2653
a0da5fe1
UD
26542012-01-08 Ulrich Drepper <drepper@gmail.com>
2655
1d5a644a 2656 * math/Makefile (tests): Add tst-CMPLX.
669704fd 2657 * math/tst-CMPLX.c: New file.
1d5a644a 2658
8784a6db
UD
2659 * math/complex.h (CMPLXL): Fix typo.
2660
d9a216c0
UD
2661 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2662 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2663 GLIBC_2.16.
2664 * debug/tst-chk1.c: Add poll and ppoll tests.
2665 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2666 * include/sys/poll.h: Add hidden proto for ppoll.
2667 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2668 * sysdeps/mach/hurd/ppoll.c: Likewise.
2669 * io/ppoll.c: Likewise.
2670 * debug/poll_chk.c: New file.
2671 * debug/ppoll_chk.c: New file.
2672 * include/bits/poll2.h: New file.
2673 * io/bits/poll2.h: New file.
2674
ac097f5c
UD
2675 [BZ #1350]
2676 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2677
2119dcfa
UD
2678 * configure.in: static is always set to yes. Remove.
2679 * config.make.in: Don't set build-static.
2680 * Makeconfig: Remove use of build-static.
2681 * dlfcn/Makefile: Likewise.
2682 * elf/Makefile: Likewise.
2683 * math/Makefile: Likewise.
2684 * misc/Makefile: Likewise.
2685 * nptl/Makefile: Likewise.
2686 * sysdeps/mach/hurd/Makefile: Likewise.
2687
121766a9
UD
2688 * configure.in: PWD_P is not used anymore.
2689 * config.make.in: Remove PWD_P entry.
2690
51a1d39c 2691 * configure.in: Remove last remnants of RANLIB.
8720d066 2692 No need to check for signed size_t anymore.
215f4bdc
UD
2693 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2694 and IA-64.
3857022a 2695 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
2696 * aclocal.m4: Likewise.
2697
d3ed7225
UD
2698 * wcsmbs/mbrtoc16.c: Implement using towc function.
2699 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2700 * wcsmbs/wcsmbsload.c: Likewise.
2701 * iconv/gconv_simple.c: Likewise.
2702 * iconv/gconv_int.h: Likewise.
2703 * iconv/gconv_builtin.h: Likewise.
2704 * iconv/iconv_prog.c: Remove CHAR16 handling.
2705
2706 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2707
2708 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2709
a0da5fe1
UD
2710 * configure.in: Remove --with-elf and --enable-bounded options.
2711 Dont set base_machine for ia64. More non-ELF conditions removed.
2712 Remove testing and setting of leading underscore information.
2713 * config.make.in (build-bounded): Set to no.
2714 * config.h.in: Remove NO_UNDERSCORES entry.
2715 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2716 them.
2717 * csu/start.c: Remove !NO_UNDERSCORE code.
2718 * locale/localeinfo.h: Likewise.
2719 * sysdeps/generic/machine-gmon.h: Likewise.
2720 * sysdeps/generic/sysdep.h: Likewise.
2721 * sysdeps/i386/sysdep.h: Likewise.
2722 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2723 * sysdeps/mach/sysdep.h: Likewise.
2724 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2725 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2726 * sysdeps/sh/sysdep.h: Likewise.
2727 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2728 * sysdeps/unix/i386/sysdep.S: Likewise.
2729 * sysdeps/unix/sparc/start.c: Likewise.
2730 * sysdeps/unix/sparc/sysdep.S: Likewise.
2731 * sysdeps/unix/sparc/sysdep.h: Likewise.
2732 * sysdeps/unix/start.c: Likewise.
2733 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2734 * sysdeps/x86_64/sysdep.h: Likewise.
2735
df78418a
UD
27362012-01-07 Ulrich Drepper <drepper@gmail.com>
2737
a784e502
UD
2738 [BZ #13553]
2739 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2740 for non-gcc.
2741 * argp/argp-fmtstream.h: Use const instead __const.
2742 * argp/argp.h: Likewise.
2743 * assert/assert.h: Likewise.
2744 * bits/fenv.h: Likewise.
2745 * bits/sched.h: Likewise.
2746 * bits/sigset.h: Likewise.
2747 * bits/sigthread.h: Likewise.
2748 * catgets/nl_types.h: Likewise.
2749 * conform/data/pthread.h-data: Likewise.
2750 * crypt/crypt-private.h: Likewise.
2751 * crypt/crypt.h: Likewise.
2752 * crypt/crypt_util.c: Likewise.
2753 * ctype/ctype.h: Likewise.
2754 * debug/execinfo.h: Likewise.
2755 * debug/mbsnrtowcs_chk.c: Likewise.
2756 * debug/mbsrtowcs_chk.c: Likewise.
2757 * debug/wcsnrtombs_chk.c: Likewise.
2758 * debug/wcsrtombs_chk.c: Likewise.
2759 * debug/wcstombs_chk.c: Likewise.
2760 * dirent/dirent.h: Likewise.
2761 * dlfcn/dlfcn.h: Likewise.
2762 * elf/neededtest4.c: Likewise.
2763 * grp/grp.h: Likewise.
2764 * gshadow/gshadow.h: Likewise.
2765 * iconv/gconv.h: Likewise.
2766 * iconv/gconv_int.h: Likewise.
2767 * iconv/gconv_simple.c: Likewise.
2768 * iconv/iconv.h: Likewise.
2769 * iconv/loop.c: Likewise.
2770 * iconv/skeleton.c: Likewise.
2771 * include/aio.h: Likewise.
2772 * include/aliases.h: Likewise.
2773 * include/argz.h: Likewise.
2774 * include/arpa/inet.h: Likewise.
2775 * include/assert.h: Likewise.
2776 * include/dirent.h: Likewise.
2777 * include/dlfcn.h: Likewise.
2778 * include/execinfo.h: Likewise.
2779 * include/fcntl.h: Likewise.
2780 * include/fenv.h: Likewise.
2781 * include/glob.h: Likewise.
2782 * include/grp.h: Likewise.
2783 * include/libintl.h: Likewise.
2784 * include/mntent.h: Likewise.
2785 * include/netdb.h: Likewise.
2786 * include/pwd.h: Likewise.
2787 * include/rpc/netdb.h: Likewise.
2788 * include/sched.h: Likewise.
2789 * include/search.h: Likewise.
2790 * include/shadow.h: Likewise.
2791 * include/signal.h: Likewise.
2792 * include/stdio.h: Likewise.
2793 * include/stdlib.h: Likewise.
2794 * include/string.h: Likewise.
2795 * include/sys/socket.h: Likewise.
2796 * include/sys/stat.h: Likewise.
2797 * include/sys/statfs.h: Likewise.
2798 * include/sys/statvfs.h: Likewise.
2799 * include/sys/syslog.h: Likewise.
2800 * include/sys/time.h: Likewise.
2801 * include/sys/uio.h: Likewise.
2802 * include/time.h: Likewise.
2803 * include/unistd.h: Likewise.
2804 * include/utmp.h: Likewise.
2805 * include/wchar.h: Likewise.
2806 * include/wctype.h: Likewise.
2807 * inet/aliases.h: Likewise.
2808 * inet/arpa/inet.h: Likewise.
2809 * inet/netinet/ether.h: Likewise.
2810 * inet/netinet/in.h: Likewise.
2811 * intl/libintl.h: Likewise.
2812 * io/bits/fcntl2.h: Likewise.
2813 * io/fcntl.h: Likewise.
2814 * io/ftw.h: Likewise.
2815 * io/sys/poll.h: Likewise.
2816 * io/sys/stat.h: Likewise.
2817 * io/sys/statfs.h: Likewise.
2818 * io/sys/statvfs.h: Likewise.
2819 * io/utime.h: Likewise.
2820 * libio/bits/stdio.h: Likewise.
2821 * libio/bits/stdio2.h: Likewise.
2822 * libio/libio.h: Likewise.
2823 * libio/libioP.h: Likewise.
2824 * libio/stdio.h: Likewise.
2825 * locale/lc-ctype.c: Likewise.
2826 * locale/locale.h: Likewise.
2827 * login/utmp.h: Likewise.
2828 * malloc/arena.c: Likewise.
2829 * malloc/malloc.c: Likewise.
2830 * malloc/malloc.h: Likewise.
2831 * malloc/mcheck.c: Likewise.
2832 * malloc/mtrace.c: Likewise.
2833 * math/bits/mathcalls.h: Likewise.
2834 * math/fenv.h: Likewise.
2835 * math/math_private.h: Likewise.
2836 * misc/bits/error.h: Likewise.
2837 * misc/bits/syslog.h: Likewise.
2838 * misc/err.h: Likewise.
2839 * misc/error.h: Likewise.
2840 * misc/fstab.h: Likewise.
2841 * misc/mntent.h: Likewise.
2842 * misc/regexp.h: Likewise.
2843 * misc/search.h: Likewise.
2844 * misc/sgtty.h: Likewise.
2845 * misc/sys/mman.h: Likewise.
2846 * misc/sys/syslog.h: Likewise.
2847 * misc/sys/uio.h: Likewise.
2848 * misc/sys/xattr.h: Likewise.
2849 * misc/ttyent.h: Likewise.
2850 * nis/rpcsvc/ypclnt.h: Likewise.
2851 * nss/nss.h: Likewise.
2852 * posix/bits/unistd.h: Likewise.
2853 * posix/fnmatch.h: Likewise.
2854 * posix/glob.h: Likewise.
2855 * posix/sched.h: Likewise.
2856 * posix/spawn.h: Likewise.
2857 * posix/sys/wait.h: Likewise.
2858 * posix/unistd.h: Likewise.
2859 * posix/wordexp.h: Likewise.
2860 * pwd/pwd.h: Likewise.
2861 * resolv/netdb.h: Likewise.
2862 * resource/sys/resource.h: Likewise.
2863 * rt/aio.h: Likewise.
2864 * rt/bits/mqueue2.h: Likewise.
2865 * rt/mqueue.h: Likewise.
2866 * shadow/shadow.h: Likewise.
2867 * signal/signal.h: Likewise.
2868 * socket/send.c: Likewise.
2869 * socket/sendto.c: Likewise.
2870 * socket/sys/socket.h: Likewise.
2871 * stdio-common/printf.h: Likewise.
2872 * stdlib/bits/stdlib.h: Likewise.
2873 * stdlib/fmtmsg.h: Likewise.
2874 * stdlib/monetary.h: Likewise.
2875 * stdlib/stdlib.h: Likewise.
2876 * stdlib/ucontext.h: Likewise.
2877 * streams/stropts.h: Likewise.
2878 * string/argz.h: Likewise.
2879 * string/bits/string2.h: Likewise.
2880 * string/string.h: Likewise.
2881 * string/strings.h: Likewise.
2882 * sunrpc/rpc/auth.h: Likewise.
2883 * sunrpc/rpc/auth_des.h: Likewise.
2884 * sunrpc/rpc/clnt.h: Likewise.
2885 * sunrpc/rpc/netdb.h: Likewise.
2886 * sunrpc/rpc/pmap_clnt.h: Likewise.
2887 * sunrpc/rpc/xdr.h: Likewise.
2888 * sysdeps/generic/inttypes.h: Likewise.
2889 * sysdeps/generic/net/if.h: Likewise.
2890 * sysdeps/generic/sys/swap.h: Likewise.
2891 * sysdeps/gnu/net/if.h: Likewise.
2892 * sysdeps/gnu/utmpx.h: Likewise.
2893 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2894 * sysdeps/i386/i486/bits/string.h: Likewise.
2895 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2896 * sysdeps/s390/bits/string.h: Likewise.
2897 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2898 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2899 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2900 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2901 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2902 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2903 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2904 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2905 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2906 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2907 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2908 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2909 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2910 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2911 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2912 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2913 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2915 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2916 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2917 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2918 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2919 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2920 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2921 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2922 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2923 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2925 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2926 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2927 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2928 * sysvipc/sys/ipc.h: Likewise.
2929 * sysvipc/sys/msg.h: Likewise.
2930 * sysvipc/sys/sem.h: Likewise.
2931 * sysvipc/sys/shm.h: Likewise.
2932 * termios/termios.h: Likewise.
2933 * time/sys/time.h: Likewise.
2934 * time/time.h: Likewise.
2935 * wcsmbs/bits/wchar2.h: Likewise.
2936 * wcsmbs/uchar.h: Likewise.
2937 * wcsmbs/wchar.h: Likewise.
2938 * wctype/wctype.h: Likewise.
2939
0269750c
UD
2940 [BZ #13551]
2941 * Makeconfig: Remove all but ELF support including AIX support.
2942 * Makerules: Likewise.
2943 * config.h.in: Likewise.
2944 * config.make.in: Likewise.
2945 * configure: Likewise.
2946 * configure.in: Likewise.
2947 * csu/Makefile: Likewise.
2948 * csu/version.c: Likewise.
2949 * debug/Makefile: Likewise.
2950 * dlfcn/Makefile: Likewise.
2951 * elf/Makefile: Likewise.
2952 * extra-lib.mk: Likewise.
2953 * iconv/Makefile: Likewise.
2954 * include/libc-symbols.h: Likewise.
2955 * include/shlib-compat.h: Likewise.
2956 * resolv/Makefile: Likewise.
2957 * resolv/res_libc.c: Likewise.
2958 * rt/Makefile: Likewise.
2959 * sysdeps/i386/asm-syntax.h: Likewise.
2960 * sysdeps/i386/sysdep.h: Likewise.
2961 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2962 * sysdeps/mach/sysdep.h: Likewise.
2963 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2964 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2965 * sysdeps/s390/asm-syntax.h: Likewise.
2966 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2967 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2968 * sysdeps/sh/sysdep.h: Likewise.
2969 * sysdeps/unix/sparc/sysdep.h: Likewise.
2970 * sysdeps/wordsize-32/divdi3.c: Likewise.
2971 * sysdeps/x86_64/sysdep.h: Likewise.
2972
00bbd29b
UD
2973 * argp/Versions: Remove _argp_unlock_xxx.
2974
2975 [BZ #13559]
2976 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2977 * abilist/libBrokenLocale.abilist: Likewise.
2978 * abilist/libanl.abilist: Likewise.
2979 * abilist/libc.abilist: Likewise.
2980 * abilist/libcrypt.abilist: Likewise.
2981 * abilist/libdl.abilist: Likewise.
2982 * abilist/libm.abilist: Likewise.
2983 * abilist/libnsl.abilist: Likewise.
2984 * abilist/libpthread.abilist: Likewise.
2985 * abilist/libresolv.abilist: Likewise.
2986 * abilist/librt.abilist: Likewise.
2987 * abilist/libthread_db.abilist: Likewise.
2988 * abilist/libutil.abilist: Likewise.
2989 * abilist/libnss_db.abilist: New file.
2990
2991 * scripts/abilist.awk: Add support for indirect functions.
2992
a2693a0e
UD
2993 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2994
3f05895f
UD
2995 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2996
ecb6fb48
UD
2997 * shlib-versions: Remove entries for ports architectures.
2998
664f8cb9
UD
2999 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3000 files in ports.
3001 * elf/stackguard-macros.h: Remove support for IA-64.
3002 * elf/tst-auditmod1.c: Likewise.
3003 * sysdeps/generic/ldsodefs.h: Likewise.
3004
7ae81d88
UD
3005 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3006 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3007 configure files.
3008
bdeba135
UD
3009 [BZ #13552]
3010 * configure.in: Remove --enable-omitfp support.
3011 * FAQ.in: Adjust.
3012 * config.make.in: Likewise.
3013 * Makeconfig: Likewise.
3014 * manual/install.texi: Likewise.
3015
d75a0a62
UD
3016 In case anyone cares, the IA-64 architecture could move to ports.
3017 * sysdeps/ia64/*: Removed.
3018 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3019 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3020
dcc9756b
UD
3021 [BZ #13555]
3022 * configure.in: Remove entries for unsupported architectures.
3023
d3761ebc 3024 [BZ #13533]
9954432e
UD
3025 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3026 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3027 routines.
3028 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3029 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3030 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3031 fall back to using wcrtomb.
3032 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3033 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3034 renaming.
3035 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3036 * wcsmbs/tst-c16c32-1.c: New file.
3037
3038 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3039 local variable.
3040
c3a87236
UD
3041 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3042
28926a1b
UD
3043 * elf/tst-unique3.cc: Add explicit declaration of gets.
3044 * elf/tst-unique3lib.cc: Likewise.
3045 * elf/tst-unique3lib2.cc: Likewise.
3046 * elf/tst-unique4.cc: Likewise.
3047
df78418a
UD
3048 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3049
8ecd6b2a
JM
30502012-01-06 Joseph Myers <joseph@codesourcery.com>
3051
3052 [BZ #13566]
3053 * assert/assert.h (static_assert): Don't define for C++.
3054 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3055 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3056
9f115170
UD
30572012-01-03 Ulrich Drepper <drepper@gmail.com>
3058
5e0d0300
UD
3059 * iconv/loop.c (single loop): Fix assertion in storing of
3060 remaining bytes.
3061
9f115170
UD
3062 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3063
81fb02b0
UD
30642012-01-01 Ulrich Drepper <drepper@gmail.com>
3065
3066 * posix/getconf.c: Update copyright year.
3067 * nss/getent.c: Likewise.
a316c1f6 3068 * nss/makedb.c: Likewise.
81fb02b0
UD
3069 * iconv/iconvconfig.c: Likewise.
3070 * iconv/iconv_prog.c: Likewise.
3071 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3072 * elf/pldd.c: Likewise.
3073 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3074 * catgets/gencat.c: Likewise.
3075 * csu/version.c: Likewise.
3076 * elf/ldd.bash.in: Likewise.
3077 * elf/sprof.c (print_version): Likewise.
3078 * locale/programs/locale.c: Likewise.
3079 * locale/programs/localedef.c: Likewise.
a316c1f6 3080 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3081 * nscd/nscd.c (print_version): Likewise.
3082 * debug/xtrace.sh: Likewise.
3083 * malloc/memusage.sh: Likewise.
3084 * malloc/mtrace.pl: Likewise.
3085 * debug/catchsegv.sh: Likewise.
3086
2ba92745
JJ
30872011-12-30 Jakub Jelinek <jakub@redhat.com>
3088
3089 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3090 pure attribute.
3091
dadebdae
UD
30922011-12-24 Ulrich Drepper <drepper@gmail.com>
3093
d3761ebc 3094 [BZ #13533]
db6af3eb
UD
3095 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3096 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3097 transformations.
3098 * iconv/gconv_int.h: Likewise.
3099 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3100 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3101 from libc for GLIBC_2.16.
3102 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3103 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3104 * wcsmbs/uchar.h: Really define mbstate_t.
3105 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3106 * wcsmbs/c16rtomb.c: New file.
3107 * wcsmbs/mbrtoc16.c: New file.
3108 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3109 for C/POSIX locale.
3110 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3111 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3112
dadebdae
UD
3113 * wcsmbs/wchar.h: Add missing __restrict.
3114
67371b56
UD
31152011-12-23 Ulrich Drepper <drepper@gmail.com>
3116
74033a25
UD
3117 [BZ #13532]
3118 * time/Makefile (routines): Add timespec_get.
3119 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3120 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3121 timespec for ISO C11.
3122 * time/timespec_get.c: New file.
3123 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3124 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3125
380d7e87
UD
3126 [BZ #13531]
3127 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3128 * stdlib/stdlib.h: Declare aligned_alloc.
3129 * Versions.def: Add GLIBC_2.16 for libc.
3130 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3131
4e9e7a35
UD
3132 [BZ 13527]
3133 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3134 ISO C11.
3135
380d7e87 3136 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3137 code.
3138
03a71829
UD
3139 [BZ #13528]
3140 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3141
839e283e
UD
3142 [BZ #13529]
3143 * assert/assert.h (static_assert): Define.
3144
ce5294e2 3145 * version.h: Update for 2.16 development version.
90fa7312 3146
8d44e150 3147 [BZ #13526]
d7809905
UD
3148 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3149 _ISOC11_SOURCE.
3150
c0da14cd
UD
3151 * version.h (RELEASE): Bump for 2.15 release.
3152 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3153
530a3249
MP
3154 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3155 Patch by Marek Polacek <mpolacek@redhat.com>.
3156
67371b56
UD
3157 * bits/byteswap.h: Protect long long constants with __extension__.
3158 * sysdeps/i386/bits/byteswap.h: Likewise.
3159 * sysdeps/ia64/bits/byteswap.h: Likewise.
3160 * sysdeps/s390/bits/byteswap.h: Likewise.
3161 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3162
15db4de1
LD
31632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3164
3165 [BZ #13540]
bbe315ea
LD
3166 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3167 destination buffer.
15db4de1
LD
3168 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3169
2b2596b1
MP
31702011-12-23 Marek Polacek <polacek@redhat.com>
3171
3172 * elf/dl-addr.c (determine_info): Add inline keyword.
3173 * elf/tst-auditmod4b.c (check_avx): Likewise.
3174 * elf/tst-auditmod6b.c (check_avx): Likewise.
3175 * elf/tst-auditmod6c.c (check_avx): Likewise.
3176 * elf/tst-auditmod7b.c (check_avx): Likewise.
3177
70c6c246
UD
31782011-12-23 Ulrich Drepper <drepper@gmail.com>
3179
3180 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3181 !__SSE_MATH__.
3182
c044cf14
LD
31832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3184
15db4de1 3185 [BZ #13540]
c044cf14
LD
3186 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3187 processing for last bytes.
3188
6b13d9d9
BH
31892011-08-06 Bruno Haible <bruno@clisp.org>
3190
d455f537
BH
3191 [BZ #13061]
3192 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3193 U+0385, not to U+1FEE.
3194
6b13d9d9
BH
3195 [BZ #13062]
3196 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3197 entry for U+00A5 U+0301.
3198
db910efd
UD
31992011-12-22 Ulrich Drepper <drepper@gmail.com>
3200
27deeafc
UD
3201 [BZ #13166]
3202 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3203 buffer for the output is too small.
3204
aed9d171
UD
3205 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3206 optimization.
3207
db910efd
UD
3208 [BZ #13185]
3209 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3210 SSE flags if possible.
3211
2bd779ae
LD
32122011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3213
e7f9dac3 3214 [BZ #13540]
2bd779ae
LD
3215 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3216 processing for last bytes.
3217
154bfc16
JM
32182011-12-22 Joseph Myers <joseph@codesourcery.com>
3219
3220 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3221 (syscall-list-default-options, syscall-list-default-condition)
3222 (syscall-list-includes): Define.
3223 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3224 list of ABIs and options and #if conditions for each ABI. Do not
3225 handle common syscalls between ABIs specially.
3226 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3227 Remove.
3228 (syscall-list-variants, syscall-list-32bit-options)
3229 (syscall-list-32bit-condition, syscall-list-64bit-options)
3230 (syscall-list-64bit-condition): Define.
3231 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3232 (syscall-list-variants, syscall-list-32bit-options)
3233 (syscall-list-32bit-condition, syscall-list-64bit-options)
3234 (syscall-list-64bit-condition): Define.
3235 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3236 Remove.
3237 (syscall-list-variants, syscall-list-32bit-options)
3238 (syscall-list-32bit-condition, syscall-list-64bit-options)
3239 (syscall-list-64bit-condition): Define.
3240 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3241 Remove.
3242 (syscall-list-variants, syscall-list-32bit-options)
3243 (syscall-list-32bit-condition, syscall-list-64bit-options)
3244 (syscall-list-64bit-condition): Define.
3245
21eaf3a5
UD
32462011-12-22 Ulrich Drepper <drepper@gmail.com>
3247
16c6f992
UD
3248 * locale/iso-639.def: Add brx entry.
3249
41043168
UD
3250 [BZ #13328]
3251 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3252 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3253
21eaf3a5
UD
3254 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3255 __feraiseexcept_renamed.
3256
e3a851a2
UD
32572011-12-21 Ulrich Drepper <drepper@gmail.com>
3258
4920765e
UD
3259 [BZ #13538]
3260 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3261 EPOLLET with unsigned values.
3262 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3263 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3264
e3a851a2
UD
3265 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3266 to large cancellation.
3267 * math/s_cacoshf.c: Likewise.
3268 * math/s_cacoshl.c: Likewise.
3269
b27e24b8
RK
32702011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3271
3272 [BZ #13305]
aebefeee 3273 [BZ #12786]
b27e24b8
RK
3274 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3275 * math/s_cacoshf.c: Likewise.
3276 * math/s_cacoshl.c: Likewise.
3277
ee190f67
UD
32782011-12-21 Ulrich Drepper <drepper@gmail.com>
3279
3280 [BZ #13439]
3281 * iconv/gconv.h: Define __GCONV_SWAP.
3282 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3283 * iconvdata/utf-16.c: Likewise.
3284 * iconvdata/utf-32.c: Likewise.
3285
707f25df
AS
32862011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3287
3288 [BZ #13524]
3289 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3290 numerator after shifting it by one limb.
3291
d2daaa1e
RÁE
32922011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3293
3294 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3295 under [__USE_EXTERN_INLINES].
3296
a4647e72
UD
32972011-12-17 Ulrich Drepper <drepper@gmail.com>
3298
3299 [BZ #13446]
3300 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3301
f0b264f1
AZ
33022011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3303
3304 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3305 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3306 optimized code.
3307 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3308 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3309 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3310 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3311 for strncasecmp/strncasecmp_l compilation.
3312 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3313 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3314
8ef4f244
MP
33152011-12-08 Marek Polacek <mpolacek@redhat.com>
3316
3317 [BZ #13484]
3318 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3319 of __asm__.
3320
97ac2654
UD
33212011-12-17 Ulrich Drepper <drepper@gmail.com>
3322
3323 [BZ #13506]
3324 * time/tzfile.c (__tzfile_read): Check values from file header.
3325
91d2a845
WS
33262011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3327
3328 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3329 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3330 * powerpc/powerpc32/dl-start.S: Likewise.
3331 * powerpc/powerpc32/elf/start.S: Likewise.
3332 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3333 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3334 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3335 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3336 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3337 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3338 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3339 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3340 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3341 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3342 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3343 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3344 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3345 * powerpc/powerpc32/memset.S: Likewise.
3346 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3347 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3348 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3349 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3350 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3351 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3352 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3353 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3354 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3355 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3356 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3357 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3358 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3359
a1267ba1
AZ
33602011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3361
3362 * math/libm-test.inc: Added more nearbyint tests.
3363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3364 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3367
ad8ac1bd
RL
33682011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3369
3370 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3371 FD_CLOEXEC.
3372
1d3e4b61
UD
33732011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3374
3375 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3376 Add wcscpy-ssse3 wcscpy-c.
3377 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3378 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3379 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3380 * sysdeps/x86_64/wcschr.S: New file.
3381 * sysdeps/x86_64/wcsrchr.S: New file.
3382 * string/test-strcmp.c: Remove checking of wcscmp function for
3383 wrong alignments.
3384 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3385 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3386 wcsrchr-sse2 wcsrchr-c.
3387 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3388 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3389 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3390 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3391 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3392 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3393 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3394 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3395 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3396 * wcsmbc/wcschr.c (WCSCHR): New macro.
3397
5b330a2d
UD
33982011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3399
3400 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3401 * wcsmbs/test-wcsrchr.c: New file.
3402 * string/test-strrchr.c: Add wcsrchr support.
3403 (WIDE): New macro.
3404 * wcsmbs/test-wcscpy.c: New file.
3405 * string/test-strcpy.c: Add wcscpy support.
3406 (WIDE): New macro.
26428b7c 3407
f039c043
UD
34082011-12-10 Ulrich Drepper <drepper@gmail.com>
3409
3410 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3411 the inner loop.
3412
850fb039
AS
34132011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3414
3415 [BZ #13472]
3416 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3417
4efbd5cb
UD
34182011-12-04 Ulrich Drepper <drepper@gmail.com>
3419
52ff5dd0 3420 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3421 Minor optimizations.
52ff5dd0 3422
4efbd5cb
UD
3423 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3424 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3425 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3426
8a426e12
UD
34272011-12-03 Ulrich Drepper <drepper@gmail.com>
3428
aff2453d
UD
3429 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3430 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3431 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3432 for gcc to avoid warnings.
3433 * inet/Makefile (tests): Add tst-checks.
3434 * inet/tst-checks.c: New file.
3435
3436 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3437 warning.
3438
3439 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3440 __wmemcmp_sse2.
3441
3442 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3443 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3444
8a426e12
UD
3445 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3446
9bea3473
UD
34472011-12-02 Ulrich Drepper <drepper@gmail.com>
3448
3a965496
UD
3449 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3450 problem.
3451
9bea3473
UD
3452 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3453
f101631b
UD
34542011-11-29 Joseph Myers <joseph@codesourcery.com>
3455
3456 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3457 conditional on GCC version.
3458 (__arch_compare_and_exchange_val_8_acq)
3459 (__arch_compare_and_exchange_val_16_acq)
3460 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3461 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3462 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3463
a98275aa
UD
34642011-12-02 Joseph Myers <joseph@codesourcery.com>
3465
3466 * sysdeps/sh/backtrace.c: New file.
3467
d4cc29a2
AS
34682011-12-02 Andreas Schwab <schwab@redhat.com>
3469
3470 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3471 parenthesis.
3472
6257af2d
AS
34732011-12-01 Andreas Schwab <schwab@redhat.com>
3474
3475 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3476 falling back to utime.
3477
b5f44c1a
AS
34782011-11-30 Andreas Schwab <schwab@redhat.com>
3479
3480 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3481 expectations for float.
3482
f3a6cc0a
AS
34832011-11-29 Andreas Schwab <schwab@redhat.com>
3484
3485 * locale/weight.h (findidx): Add parameter len.
3486 * locale/weightwc.h (findidx): Likewise.
3487 * posix/fnmatch_loop.c (FCT): Adjust caller.
3488 * posix/regcomp.c (build_equiv_class): Likewise.
3489 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3490 * posix/regexec.c (check_node_accept_bytes): Likewise.
3491 * string/strcoll_l.c (STRCOLL): Likewise.
3492 * string/strxfrm_l.c (STRXFRM): Likewise.
3493
9d65ea3a
UD
34942011-11-17 Ulrich Drepper <drepper@gmail.com>
3495
3496 * Makefile.in: Remove CVSOPT handling.
3497 * configure.in: Remove use of AC_REVISION.
3498 * iconvdata/Makefile (distribute): No need to filter out CVS.
3499 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3500 handling.
3501
5583a086
AS
35022011-11-16 Andreas Schwab <schwab@redhat.com>
3503
3504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3505 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3506 [USE_AS_STRNCASECMP_L]: Likewise.
3507 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3508 NO_TLS_DIRECT_SEG_REFS.
3509 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3510 Fix argument offsets for non-PIC.
3511 [USE_AS_STRNCASECMP_L]: Likewise.
3512 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3513 NO_TLS_DIRECT_SEG_REFS.
3514
d62a8200
UD
35152011-11-15 Ulrich Drepper <drepper@gmail.com>
3516
9d65ea3a 3517 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3518 O_CLOEXEC.
3519 * locale/loadlocale.c (_nl_load_locale): Likewise.
3520
09f93bd3
AS
35212011-11-15 Andreas Schwab <schwab@redhat.com>
3522
446514f9
AS
3523 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3524 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3525 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3526 (SYSCALL_GETTIME): Set errno on error.
3527
09f93bd3
AS
3528 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3529 count references to noai6ai_cached.
3530
312be3f9
UD
35312011-11-15 Ulrich Drepper <drepper@gmail.com>
3532
3533 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3534
3535 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3536 FD_CLOEXEC for /proc/self/maps.
3537
3538 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3539 FD_CLOEXEC for /proc/meminfo.
3540
3541 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3542 gai.conf.
3543
3544 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3545 FD_CLOEXEC for given file.
3546
3547 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3548
3549 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3550 FD_CLOEXEC for /etc/hosts.
3551 (_gethtent): Likewise.
3552
3553 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3554
3555 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3556 cancellation and set FD_CLOEXEC for /etc/netgroup.
3557
3558 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3559 reading /etc/publickey.
3560
3561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3562 allow cancellation when reading /etc/group.
3563
3564 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3565 cancellation.
3566 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3567
3568 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3569 when using data file.
3570
3571 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3572
3573 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3574 (write_nis_obj): Use "c" and "e" in fopen.
3575
3576 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3577
3578 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3579
3580 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3581
3582 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3583
3584 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3585 locale.alias.
3586
3587 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3588
3589 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3590
3591 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3592
3593 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3594 file parsing and set FD_CLOEXEC.
3595
82af0fa8
UD
35962011-11-14 Ulrich Drepper <drepper@gmail.com>
3597
3598 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3599
a5fb313c
AS
36002011-11-14 Andreas Schwab <schwab@redhat.com>
3601
3602 * malloc/arena.c (arena_get2): Don't call reused_arena when
3603 _int_new_arena failed.
3604
6abf3465
UD
36052011-11-14 Ulrich Drepper <drepper@gmail.com>
3606
3607 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3608 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3609 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3610 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3611 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3612 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3613 to compile strcasecmp and strncasecmp.
3614 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3615 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3616
3617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3618
76e3966e
UD
36192011-11-13 Ulrich Drepper <drepper@gmail.com>
3620
3621 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3622 locale-defines.sym to gen-as-const-headers.
3623 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3624 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3626 to compile strcasecmp and strncasecmp.
3627 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3628 strcasecmp_l and strncasecmp_l.
3629 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3630 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3631 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3632 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3633 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3634 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3635 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3636 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3637 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3638 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3639 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3640
ab26144e
UD
36412011-11-12 Ulrich Drepper <drepper@gmail.com>
3642
7edb22ef
UD
3643 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3644 result of SYSDEP_GETTIME_CPU to retval.
3645 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3646 parameter list to macro. Remove trailing semicolon. Adjust users.
3647
9694fc44
UD
3648 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3649 variable.
3650
8ad89ef8
UD
3651 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3652 mantissa words.
3653 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3654
0c822ef9
UD
3655 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3656 from unused variable.
3657
874e0564
UD
3658 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3659 DWARF definitions.
3660 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3661 for assembling.
3662
3a2edc79
UD
3663 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3664 over namespaces.
3665
f3c2577f
UD
3666 * sunrpc/rpc_prot.c (rejected): Fix case value.
3667
294ce126
UD
3668 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3669 unsigned long long int to avoid warnings in shift.
3670
5e2b63c6
UD
3671 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3672 of use of trans.
3673 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3674 variable tmp.
3675
e7f4b08e
UD
3676 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3677 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3678 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3679
ab26144e
UD
3680 * nis/nis_table.c (nis_list): Use variable of correct type for
3681 result of __follow_path call.
3682
8a6d5255
AZ
36832011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3684
3685 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3686 of math functions ceil, trunc, floor, round, and sqrt, when
3687 avaliable on the platform.
3688 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3689 name clash.
3690 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3691 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3692 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3693
aaddc98c
MP
36942011-10-30 Marek Polacek <mpolacek@redhat.com>
3695
3696 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3697 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3698
95b7042b
RM
36992011-11-11 Roland McGrath <roland@hack.frob.com>
3700
3701 * include/unistd.h: Fix __readlink return type.
3702 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3703
57769839
UD
37042011-11-11 Ulrich Drepper <drepper@gmail.com>
3705
3706 * stdlib/ucontext.h: Undo last change for makecontext.
3707
edc5984d
AS
37082011-11-11 Andreas Schwab <schwab@redhat.com>
3709
98591e58
AS
3710 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3711
edc5984d
AS
3712 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3713 * setjmp/setjmp.h: Mark functions as non-leaf.
3714 * setjmp/bits/setjmp2.h: Likewise.
3715 * stdlib/ucontext.h: Likewise.
3716
77cdc054
AS
37172011-11-10 Andreas Schwab <schwab@redhat.com>
3718
3719 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3720 (reused_arena): Don't check arena limit.
3721 (arena_get2): Atomically check arena limit.
3722
fe72eebd
UD
37232011-11-08 Ulrich Drepper <drepper@gmail.com>
3724
5f078c32
UD
3725 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3726 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3727
fe72eebd
UD
3728 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3729 instructions.
3730
ae1bc2fa
AS
37312011-11-07 Andreas Schwab <schwab@redhat.com>
3732
7583a88d
AS
3733 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3734 handler when locking.
3735
ae1bc2fa
AS
3736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3737 Fix size of allocated buffer.
3738
10fb0bfa
AS
37392011-11-04 Andreas Schwab <schwab@redhat.com>
3740
998832a4
AS
3741 [BZ #10103]
3742 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3743 declarations for long double functions.
3744 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3745
10fb0bfa
AS
3746 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3747
3d7ba52b
AS
37482011-11-03 Andreas Schwab <schwab@redhat.com>
3749
a9ae54a1
AS
3750 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3751 installed.
3752
3d7ba52b
AS
3753 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3754 is disabled.
3755
bc8db248
ST
37562011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3757
3758 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3759
45b96dd6
AS
37602011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3761
647776f6
AS
3762 * include/alloca.h (stackinfo_alloca_round): Define.
3763 (extend_alloca): Use it.
3764 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3765 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3766 here.
3767
d91a8b93
AS
3768 * scripts/check-local-headers.sh: Ignore libaudit.h.
3769
45b96dd6
AS
3770 * nscd/Makefile (extra-objs): Make recursively expanded.
3771
432d41ce
UD
37722011-11-01 Ulrich Drepper <drepper@gmail.com>
3773
34372fc6
UD
3774 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3776
fadb59f8
UD
3777 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3778 * posix/tst-rfc3484-2.c: Likewise.
3779 * posix/tst-rfc3484-3.c: Likewise.
3780
78239589
UD
3781 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3782 process_vm_writev.
3783 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3784 process_vm_writev.
3785 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3786 process_vm_writev from libc using GLIBC_2.15 version.
3787
432d41ce
UD
3788 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3789
02f9c6cf
PP
37902011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3791
3792 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3793 stack usage.
3794
3a2c0242
UD
37952011-10-31 Ulrich Drepper <drepper@gmail.com>
3796
f4ec4833
UD
3797 [BZ #13367]
3798 * nss/getent.c (initgroups_keys): Show error message in case no group
3799 names are given.
3800
3a2c0242
UD
3801 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3802 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3803 __bump_nl_timestamp.
3804 * nscd/connections (nscd_init): When host database is served open
3805 netlink socket and request notification about configuration changes.
3806 (main_loop_poll): Track netlink file descriptor and bump timestamp
3807 in case data becomes available.
3808 (main_loop_epoll): Likewise.
3809 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3810 (database_pers_head): Add extra_data fileds.
3811 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3812 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3813 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3814 Adjust caller.
3815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3816 in6ai data, call __free_in6ai.
3817 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3818 Add -DHAVE_NETLINK.
3819 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3820 interface information. Reuse previous data if netlink timestamp
3821 is not changed.
3822 (__bump_nl_timestamp): New function.
3823 (__free_in6ai): New function.
3824
636064eb
UD
38252011-10-30 Ulrich Drepper <drepper@gmail.com>
3826
3827 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3828 close_not_cancel_no_status here.
3829 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3830
9beb2334
UD
38312011-10-29 Ulrich Drepper <drepper@gmail.com>
3832
6ef76f3b
UD
3833 [BZ #13276]
3834 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3835 return value.
3836
0ffc4f3e 3837 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3838 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3839 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3840
cb95113e
UD
38412011-07-03 Andreas Jaeger <aj@suse.de>
3842
3843 [BZ #10709]
3844 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3845 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3846 * math/libm-test.inc (sin_test): Add test case.
3847
a1b560ff
UD
38482011-10-29 Ulrich Drepper <drepper@gmail.com>
3849
c9aaface
UD
3850 [BZ #13337]
3851 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3852 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3853
d272e7f1
UD
3854 * elf/chroot_canon.c (chroot_canon): Cleanups.
3855
1bc33071
UD
3856 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3857
1760874d
TJ
3858 [BZ #13335]
3859 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3860 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3861
51d91b18
UD
3862 * string/test-strchr.c: Make usable for strchrnul testing.
3863 * string/test-strchrnul.c: New file.
3864 * string/Makefile (strop-tests): Add strchrnul.
3865
a1b560ff 3866 * po/it.po: Update from translation team.
b611fb81 3867 * po/es.po: Likewise.
a1b560ff 3868
a5b81e1f
UD
38692011-10-28 Ulrich Drepper <drepper@gmail.com>
3870
fd52bc6d
UD
3871 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3872 the three constants needed as parameters. Drop the others.
3873 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3874 __m128i_strloadu_tolower.
52e4b9eb
UD
3875 Create and initialize variable zero and use it in all the places
3876 where _mm_setzero_si128 was used.
fd52bc6d 3877
a5b81e1f
UD
3878 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3879 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3880 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3881 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3882 anymore.
3883 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3884 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3885 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3886 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3887 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3888 __mpranred, __mptan.
3889 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3890 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3891 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3892 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3893 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3894 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3895 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3896 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3897 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3898
b4343346
AS
38992011-10-28 Andreas Schwab <schwab@redhat.com>
3900
0c92d8a8
AS
3901 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3902 redefine if SHARED.
3903 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3904
b4343346
AS
3905 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3906 wide char related routines to wcsmbs subdir.
3907
3871f58f
AS
39082011-10-27 Andreas Schwab <schwab@redhat.com>
3909
3910 [BZ #13344]
3911 * misc/sys/cdefs.h (__THROWNL): Define.
3912 * posix/unistd.h: Use __THREADNL instead of __THREAD
3913 for memory synchronization functions.
3914
94d44d9f
RM
39152011-10-26 Roland McGrath <roland@hack.frob.com>
3916
21b64b15 3917 [BZ #13349]
94d44d9f
RM
3918 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3919 doesn't exist.
3920 * manual/stdio.texi (Obstack Streams): Node removed.
3921
f6ce9294
AS
39222011-10-26 Andreas Schwab <schwab@redhat.com>
3923
80479147
AS
3924 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3925 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3926 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3927
f6ce9294
AS
3928 * math/math_private.h (math_force_eval): Allow non-addressable
3929 arguments.
3930 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3931
618280a1
UD
39322011-10-25 Ulrich Drepper <drepper@gmail.com>
3933
e0016b11
UD
3934 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3935 file is not needed.
3936
3937 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3939 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3940 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3941 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3944 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3945 Add AVX variants.
3946 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3947 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3948 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3949 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3950 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3951 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3952 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3953 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3954 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3955 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3956 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3957 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3958 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3959 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3960 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3961 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3962 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3963 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3964 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3965
3966 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3967 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3968
618280a1
UD
3969 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3970 place. Use VEX encoding when compiling for AVX.
3971
37822576
AS
39722011-10-25 Andreas Schwab <schwab@redhat.com>
3973
1f1e1947
AS
3974 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3975 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3976
37822576
AS
3977 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3978
31ea014d
UD
39792011-10-25 Ulrich Drepper <drepper@gmail.com>
3980
d7826aa1 3981 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3982 useless if() expression.
d7826aa1
UD
3983 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3992 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3993 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3994 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3995 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3996 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3997 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3998 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4000 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4001 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4002
31ea014d
UD
4003 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4004
16437fec
AS
40052011-10-25 Andreas Schwab <schwab@redhat.com>
4006
4007 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4008 condition.
4009 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4010
31d3cc00
UD
40112011-10-25 Ulrich Drepper <drepper@gmail.com>
4012
4013 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4014 .text section. Avoid duplicate constants.
4015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4025 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4027 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4030 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4032 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4033 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4038 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4039 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4040 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4041 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4042 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4043 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4044 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4045 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4046 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4048 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4049 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4050 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4051 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4053 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4054 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4055 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4056 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4057 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4058 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4059 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4060
58985aa9
UD
40612011-10-24 Ulrich Drepper <drepper@gmail.com>
4062
202c9deb
UD
4063 * sysdeps/x86_64/dla.h: Move to ...
4064 * sysdeps/x86_64/fpu/dla.h: ...here.
4065 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4066 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4067
af968f62
UD
4068 * config.make.in: Add have-mfma4 entry.
4069 * configure.in: Substitute libc_cv_cc_fma4.
4070 * math/Makefile (dbl-only-routines): Add sincostab.
4071 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4072 Use __sincostab not sincos.
4073 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4074 name is a macro.
4075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4079 using __copysign.
4080 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4081 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4082 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4083 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4084 and __inv.
4085 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4086 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4087 __copysign.
4088 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4089 define aliases when function name is a macro.
4090 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4091 sysdeps/ieee754/dbl-64/sincos.tbl.
4092 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4093 fma4-enabled routines.
4094 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4095 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4096 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4097 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4098 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4099 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4100 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4101 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4102 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4103 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4104 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4105 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4106 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4107 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4108 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4109 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4110 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4111 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4112 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4114 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4115 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4119 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4120 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4121 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4122 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4123 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4124
58985aa9
UD
4125 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4126 rename.
4127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4134 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4135
a201fbcf
AS
41362011-10-24 Andreas Schwab <schwab@redhat.com>
4137
4138 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4139
fc2ee42a
LD
41402011-10-23 Ulrich Drepper <drepper@gmail.com>
4141
bb3129bd
UD
4142 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4143
0275fff8
UD
4144 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4145 prediction.
4146 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4147
2fa2ae85
UD
4148 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4149 Remove unused variable magic_bits.
4150 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4151
fc2ee42a
LD
4152 * string/strnlen.c: Define and use STRNLEN macro.
4153 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4154 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4156 * wcsmbs/wcslen.c: Define and use WCSLEN.
4157 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4158 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4159 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4160 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4161 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4162 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4163 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4164
ce7dd29f
LD
41652011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4166
4167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4168 strnlen-sse2-no-bsf.
4169 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4171 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4172 Add strnlen support.
4173 (USE_AS_STRNLEN): New macro.
4174 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4176 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4177 * sysdeps/x86_64/wcslen.S: New file.
4178
979c70a3
MZ
41792011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4180
4181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4182 XMM-moves are used for copying on small sizes.
4183
2d09f82f
LD
41842011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4185
4186 * wcsmbs/Makefile (strop-tests): Add wcschr.
4187 * wcsmbs/test-wcschr.c: New file.
4188 * string/test-strchr.c: Update.
4189 Add wcschr support.
4190 (WIDE): New macro.
4191
619fccca
LD
41922011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4193
2d09f82f 4194 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4195 * wcsmbs/test-wcslen.c: New file.
4196 * string/test-strlen.c: Update.
4197 Add wcslen support.
4198 (WIDE): New macro.
4199
09f699ea
UD
42002011-10-23 Ulrich Drepper <drepper@gmail.com>
4201
4202 * po/it.po: Update from translation team.
4203
95584d3b
LD
42042011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4205
4206 * sysdeps/x86_64/wcscmp.S: Update.
4207 Fix wrong comparison semantics.
4208 wcscmp shall use signed comparison not unsigned.
4209 Don't use substraction to avoid overflow bug.
4210 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4211 * wcsmbc/wcscmp.c: Likewise.
4212 * string/test-strcmp.c: Likewise.
4213 Add new tests to check cases with negative values.
4214
c8b3296b
UD
42152011-10-23 Ulrich Drepper <drepper@gmail.com>
4216
4217 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4218 * sysdeps/x86_64/dla.h: ...here. New file.
4219 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/e_sqrt.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
246ad57a
AS
42292011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4230
4231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4232 __ynl_finite aliases.
4233
a1a87169
UD
42342011-10-22 Ulrich Drepper <drepper@gmail.com>
4235
0d355eb7
UD
4236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4237
a1a87169
UD
4238 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4239 define DLA_FMA.
4240 [DLA_FMA] (EMULV): Use DLA_FMA.
4241 [DLA_FMA] (MUL12): Use EMULV.
4242 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4243 that are not needed.
4244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4251
ee2aafe0
AS
42522011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4253
4254 * math/s_nan.c: Undef __nan.
4255 * math/s_nanf.c: Undef __nanf.
4256 * math/s_nanl.c: Undef __nanl.
4257 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4258 "math_private.h".
4259
bc62c2fb
UD
42602011-10-22 Ulrich Drepper <drepper@gmail.com>
4261
77425c63
UD
4262 * math/s_catan.c: Add branch predictions.
4263 * math/s_catanf.c: Likewise.
4264 * math/s_catanh.c: Likewise.
4265 * math/s_catanhf.c: Likewise.
4266 * math/s_catanhl.c: Likewise.
4267 * math/s_catanl.c: Likewise.
4268 * math/s_cexp.c: Likewise.
4269 * math/s_cexpf.c: Likewise.
4270 * math/s_cexpl.c: Likewise.
4271 * math/s_clog.c: Likewise.
4272 * math/s_clog10.c: Likewise.
4273 * math/s_clog10f.c: Likewise.
4274 * math/s_clog10l.c: Likewise.
4275 * math/s_clogf.c: Likewise.
4276 * math/s_clogl.c: Likewise.
4277 * math/s_csqrt.c: Likewise.
4278 * math/s_csqrtf.c: Likewise.
4279 * math/s_csqrtl.c: Likewise.
4280 * math/s_ctanf.c: Likewise.
4281 * math/s_ctanh.c: Likewise.
4282 * math/s_ctanhf.c: Likewise.
4283 * math/s_ctanhl.c: Likewise.
4284 * math/s_ctanl.c: Likewise.
4285
bc62c2fb
UD
4286 * math/math_private.h: Define __nan, __nanf, __nanl.
4287 * math/s_cacosh.c: Include <math_private.h>.
4288 * math/s_cacoshl.c: Likewise.
4289 * math/s_casinh.c: Likewise.
4290 * math/s_casinhf.c: Likewise.
4291 * math/s_casinhl.c: Likewise.
4292 * math/s_ccos.c: Rely entire on ccosh.
4293 * math/s_ccosf.c: Rely entire on ccoshf.
4294 * math/s_ccosl.c: Rely entirely on ccoshl.
4295 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4296 Remove tests for FE_INVALID.
4297 * math/s_ccoshf.c: Likewise.
4298 * math/s_ccoshl.c: Likewise.
4299 * math/s_csin.c: Likewise.
4300 * math/s_csinf.c: Likewise.
4301 * math/s_csinh.c Likewise.
4302 * math/s_csinhf.c: Likewise.
4303 * math/s_csinhl.c: Likewise.
4304 * math/s_csinl.c: Likewise.
4305 * math/s_ctan.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4307 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4308 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4309
8ec250a4
UD
43102011-10-21 Ulrich Drepper <drepper@gmail.com>
4311
c196fed8
UD
4312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4313 compilation problems.
4314
8ec250a4
UD
4315 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4316 __builtin_expect.
4317
8d4f46c6
UD
43182011-10-20 Ulrich Drepper <drepper@gmail.com>
4319
ed72b654
UD
4320 * sysdeps/i386/configure.in: Test for -mfma4 option.
4321 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4322 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4323 COMMON_CPUID_INDEX_80000001.
4324 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4325 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4326 use it if FMA3 is not supported.
4327 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4328
8d4f46c6
UD
4329 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4330 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4331
d45c60c2
AS
43322011-10-20 Andreas Schwab <schwab@redhat.com>
4333
4334 [BZ #12892]
4335 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4336 it would create a cycle with a link time dependency.
4337
d9a4d2ab
UD
43382011-10-19 Ulrich Drepper <drepper@gmail.com>
4339
855d1560
UD
4340 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4341 instruction.
4342 * string/Makefile (strop-tests): Add rawmemchr.
4343 * string/test-rawmemchr.c: New file.
4344
d9a4d2ab
UD
4345 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4347 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4348 when compiling str{,n}casecmp and when AVX is available. Hook up
4349 new optimized code in initializers.
4350
8f3b1ffe
AS
43512011-10-19 Andreas Schwab <schwab@redhat.com>
4352
4353 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4354 __feraiseexcept instead of feraiseexcept.
4355
d38f1dba
UD
43562011-10-18 Ulrich Drepper <drepper@gmail.com>
4357
d9a8d0ab
UD
4358 * math/math_private.h: Define defaults for libc_fetestexcept and
4359 libc_feupdateenv.
4360 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4361 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4362 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4363 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4364 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4365 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4366 libc_fetestexcept and libc_feupdateenv.
4367
4855e3dd
UD
4368 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4369 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4370 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4371 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4372 libc_feholdexcept_setround.
4373
581d30e3
UD
4374 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4375 Add s_nearbyint-c and s_nearbyintf-c.
4376 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4377 nearbyintf inlines.
4378 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4379 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4380 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4381 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4382
d38f1dba
UD
4383 * math/math_private.h: Define defaults for libc_fegetround,
4384 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4385 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4386 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4387 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4388 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4389 standard functions.
4390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4391 Remove comments and hacks for old compiler versions.
4392 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4393 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4394 libc_feholdexceptl.
4395
caa6c9d8
AS
43962011-10-18 Andreas Schwab <schwab@redhat.com>
4397
4398 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4399 (__feraiseexcept_renamed): Add __NTH.
4400 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4401 namespace violations.
4402
97c066e6
UD
44032011-10-17 Ulrich Drepper <drepper@gmail.com>
4404
99ce7b04
UD
4405 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4406
1004d182
UD
4407 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4408
228a984d
UD
4409 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4410 recently added interfaces.
4411 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4412
c8553a6a
UD
4413 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4414 about macro parameter expansion.
4415
ed22dcf6
UD
4416 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4417 __NO_MATH_INLINES is defined. Cleanups.
4418
4419 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4420 and __floorf is target has SSE4.1.
4421 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4422 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4423 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4424 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4425
b171c137
UD
4426 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4427 name.
4428 (floorf): Likewise.
4429
97c066e6
UD
4430 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4431
629f62ef
AS
44322011-10-17 Andreas Schwab <schwab@redhat.com>
4433
49a43d80
AS
4434 * misc/sys/cdefs.h: Fix last change.
4435
629f62ef
AS
4436 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4437 database lookup.
4438
e453f6cd
UD
44392011-10-16 Ulrich Drepper <drepper@gmail.com>
4440
aa78043a
UD
4441 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4442
ad0f5cad
UD
4443 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4444 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4445 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4446 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4447 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4449 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4450 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4451 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4452 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4453 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4454 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4455 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4456 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4457 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4458 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4459 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4460 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4461 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4462 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4463 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4464 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4465
4466 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4467 ceil, ceilf, floor, floorf.
4468
4469 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4470 Perform IRELATIVE relocations last.
4471
e453f6cd
UD
4472 * elf/do-rel.h: Add another parameter nrelative, replacing the
4473 local variable with the same name. Change name of the function
4474 to end in Rel or Rela (uppercase).
4475 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4476 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4477 elf_dynamic_do_##reloc function.
4478
fd5bdc09
UD
44792011-10-15 Ulrich Drepper <drepper@gmail.com>
4480
79b195b5
UD
4481 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4482 is sufficient, at least on modern CPUs.
4483
d4a28569
UD
4484 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4485
b61099b5
UD
4486 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4487 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4488
bcf01e6d
UD
4489 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4490 __expl_finite.
4491 * math/bits/math-finite.h: Add entries for exp.
4492 * math/e_expl.c: Add __*_finite alias.
4493 * sysdeps/i386/fpu/e_exp.S: Likewise.
4494 * sysdeps/i386/fpu/e_expf.S: Likewise.
4495 * sysdeps/i386/fpu/e_expl.c: Likewise.
4496 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4497 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4498 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4501 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4502 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4503
ba1a0d59
UD
4504 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4505 is sufficient, at least on modern CPUs.
4506
fd5bdc09
UD
4507 * ctype/ctype-info.c (__ctype_init): Define.
4508 * include/ctype.h (__ctype_init): Declare.
4509 (__ctype_b_loc): The variable is always initialized.
4510 (__ctype_toupper_loc): Likewise.
4511 (__ctype_tolower_loc): Likewise.
4512 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4513 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4514
7872cfb0
AS
45152011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4516
b468825a
AS
4517 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4518
7872cfb0
AS
4519 * configure.in: Also look in $cxxmachine/include for C++ system
4520 headers.
4521
be13f7bf
LD
45222011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4523
4524 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4525 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4526 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4527 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4528 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4529 (USE_AS_WMEMCMP): New macro.
4530 Fixing indents.
4531 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4532 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4533 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4534 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4536 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4537 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4538 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4539 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4540 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4541 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4542 (USE_AS_WMEMCMP): New macro.
4543 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4544 * sysdeps/string/test-memcmp.c: Update.
4545 Fix simple_wmemcmp.
4546 Add new tests.
4547 * wcsmbs/wmemcmp.c: Update.
4548 (WMEMCMP): New macro.
4549 Fix overflow bug.
4550
556a2007
AJ
45512011-10-12 Andreas Jaeger <aj@suse.de>
4552
4553 [BZ #13268]
4554 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4555
538faaa7
UD
45562011-10-15 Ulrich Drepper <drepper@gmail.com>
4557
ab6737ff
UD
4558 * libio/iofwide.c (do_length): Avoid warning.
4559
538faaa7
UD
4560 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4561
396a21b1
UD
45622011-10-14 Ulrich Drepper <drepper@gmail.com>
4563
cdf2901f
UD
4564 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4565
38ad40ce
UD
4566 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4567 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4568 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4569 * sysdeps/i386/i686/fpu/e_log.S: New file.
4570 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4571 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4572
396a21b1
UD
4573 * ctype/ctype.h: Add support for inlined isXXX functions when
4574 compiling C++ code.
4575
6b1f68c9
AS
45762011-10-14 Andreas Schwab <schwab@redhat.com>
4577
349290c0
AS
4578 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4579
6b1f68c9
AS
4580 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4581
f2282d42
RM
45822011-10-13 Roland McGrath <roland@hack.frob.com>
4583
4584 [BZ #13291]
4585 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4586
5298ffa8
AS
45872011-10-13 Andreas Schwab <schwab@redhat.com>
4588
714fad23
AS
4589 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4590 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4591 feraiseexcept.
4592
81dcc7fb
AS
4593 * sysdeps/x86_64/memrchr.S: Check for zero size.
4594
5298ffa8
AS
4595 * string/stratcliff.c: Add memrchr tests.
4596
951fbcec
LD
45972011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4598
4599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4600 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4601 rawmemchr-sse2 rawmemchr-sse2-bsf.
4602 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4603 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4604 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4605 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4606 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4607 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4608 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4609 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4610 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4611 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4612 * string/memrchr.c (MEMRCHR): New macro.
4613
0ac5ae23
UD
46142011-10-12 Ulrich Drepper <drepper@gmail.com>
4615
4616 Add integration with gcc's -ffinite-math-only and optimize wrapper
4617 functions in libm.
4618 * Versions.def: Define GLIBC_2.15 version for libm.
4619 * math/Makefile (headers): Add bits/math-finite.h.
4620 * math/bits/math-finite.h: New file.
4621 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4622 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4623 * math/e_acoshl.c: Add __*_finite alias.
4624 * math/e_acosl.c: Likewise.
4625 * math/e_asinl.c: Likewise.
4626 * math/e_atan2l.c: Likewise.
4627 * math/e_atanhl.c: Likewise.
4628 * math/e_coshl.c: Likewise.
4629 * math/e_exp10.c: Likewise.
4630 * math/e_exp10f.c: Likewise.
4631 * math/e_exp10l.c: Likewise.
4632 * math/e_exp2l.c: Likewise.
4633 * math/e_fmodl.c: Likewise.
4634 * math/e_gammal_r.c: Likewise.
4635 * math/e_hypotl.c: Likewise.
4636 * math/e_j0l.c: Likewise.
4637 * math/e_j1l.c: Likewise.
4638 * math/e_jnl.c: Likewise.
4639 * math/e_lgammal_r.c: Likewise.
4640 * math/e_log10l.c: Likewise.
4641 * math/e_log2l.c: Likewise.
4642 * math/e_logl.c: Likewise.
4643 * math/e_powl.c: Likewise.
4644 * math/e_sinhl.c: Likewise.
4645 * math/e_sqrtl.c: Likewise.
4646 * math/e_scalb.c: Completely rewritten and optimized.
4647 * math/e_scalbf.c: Likewise.
4648 * math/e_scalbl.c: Likewise.
4649 * math/w_acos.c: Likewise.
4650 * math/w_acosf.c: Likewise.
4651 * math/w_acosl.c: Likewise.
4652 * math/w_acosh.c: Likewise.
4653 * math/w_acoshf.c: Likewise.
4654 * math/w_acoshl.c: Likewise.
4655 * math/w_asin.c: Likewise.
4656 * math/w_asinf.c: Likewise.
4657 * math/w_asinl.c: Likewise.
4658 * math/w_atan2.c: Likewise.
4659 * math/w_atan2f.c: Likewise.
4660 * math/w_atan2l.c: Likewise.
4661 * math/w_atanh.c: Likewise.
4662 * math/w_atanhf.c: Likewise.
4663 * math/w_atanhl.c: Likewise.
4664 * math/w_exp10.c: Likewise.
4665 * math/w_exp10f.c: Likewise.
4666 * math/w_exp10l.c: Likewise.
4667 * math/w_fmod.c: Likewise.
4668 * math/w_fmodf.c: Likewise.
4669 * math/w_fmodl.c: Likewise.
4670 * math/w_j0.c: Likewise.
4671 * math/w_j0f.c: Likewise.
4672 * math/w_j0l.c: Likewise.
4673 * math/w_j1.c: Likewise.
4674 * math/w_j1f.c: Likewise.
4675 * math/w_j1l.c: Likewise.
4676 * math/w_jn.c: Likewise.
4677 * math/w_jnf.c: Likewise.
4678 * math/w_log.c: Likewise.
4679 * math/w_logf.c: Likewise.
4680 * math/w_logl.c: Likewise.
4681 * math/w_log10.c: Likewise.
4682 * math/w_log10f.c: Likewise.
4683 * math/w_log10l.c: Likewise.
4684 * math/w_log2.c: Likewise.
4685 * math/w_log2f.c: Likewise.
4686 * math/w_log2l.c: Likewise.
4687 * math/w_pow.c: Likewise.
4688 * math/w_powf.c: Likewise.
4689 * math/w_powl.c: Likewise.
4690 * math/w_remainder.c: Likewise.
4691 * math/w_remainderf.c: Likewise.
4692 * math/w_remainderl.c: Likewise.
4693 * math/w_scalb.c: Likewise.
4694 * math/w_scalbf.c: Likewise.
4695 * math/w_scalbl.c: Likewise.
4696 * math/w_sqrt.c: Likewise.
4697 * math/w_sqrtf.c: Likewise.
4698 * math/w_sqrtl.c: Likewise.
4699 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4700 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4701 used.
4702 * math/math_private.h: Declare __kernel_standard_f.
4703 * math/w_cosh.c: Remove cruft and optimize a bit.
4704 * math/w_coshf.c: Likewise.
4705 * math/w_coshl.c: Likewise.
4706 * math/w_exp2.c: Likewise.
4707 * math/w_exp2f.c: Likewise.
4708 * math/w_exp2l.c: Likewise.
4709 * math/w_hypot.c: Likewise.
4710 * math/w_hypotf.c: Likewise.
4711 * math/w_hypotl.c: Likewise.
4712 * math/w_lgamma.c: Likewise.
4713 * math/w_lgamma_r.c: Likewise.
4714 * math/w_lgammaf.c: Likewise.
4715 * math/w_lgammaf_r.c: Likewise.
4716 * math/w_lgammal.c: Likewise.
4717 * math/w_lgammal_r.c: Likewise.
4718 * math/w_sinh.c: Likewise.
4719 * math/w_sinhf.c: Likewise.
4720 * math/w_sinhl.c: Likewise.
4721 * math/w_tgamma.c: Likewise.
4722 * math/w_tgammaf.c: Likewise.
4723 * math/w_tgammal.c: Likewise.
4724 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4725 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4726 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4727 Minor optimizations. Pretty printing. Remove cruft.
4728 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4729 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4730 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4732 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4733 * sysdeps/i386/fpu/e_asin.S: Likewise.
4734 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4735 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4736 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4737 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4738 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4739 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4741 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4742 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4743 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4744 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4745 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4746 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4747 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4748 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4749 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4750 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4751 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4752 * sysdeps/i386/fpu/e_log.S: Likewise.
4753 * sysdeps/i386/fpu/e_log10.S: Likewise.
4754 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4755 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4756 * sysdeps/i386/fpu/e_log2.S: Likewise.
4757 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4758 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4759 * sysdeps/i386/fpu/e_logf.S: Likewise.
4760 * sysdeps/i386/fpu/e_logl.S: Likewise.
4761 * sysdeps/i386/fpu/e_pow.S: Likewise.
4762 * sysdeps/i386/fpu/e_powf.S: Likewise.
4763 * sysdeps/i386/fpu/e_powl.S: Likewise.
4764 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4765 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4766 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4767 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4768 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4769 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4770 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4771 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4772 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4773 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4774 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4776 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4777 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4778 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4779 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4780 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4781 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4782 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4783 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4784 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4786 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4787 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4788 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4789 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4790 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4791 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4793 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4794 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4795 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4796 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4797 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4798 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4799 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4800 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4801 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4802 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4803 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4804 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4805 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4806 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4807 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4808 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4809 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4810 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4811 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4812 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4813 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4814 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4856 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4857 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4858 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4861 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4864 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4865 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4866 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4867 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4868 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4869 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4870 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4871 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4872 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4873 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4874 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4875 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4876 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4877 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4878 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4879 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4881 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4883 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4884 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4885 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4886 (__isnanf): Likewise.
4887 (__isinf_ns): Likewise.
4888 (__isinf_nsf): Likewise.
4889 (__finite): Likewise.
4890 (__finitef): Likewise.
4891 (__ieee754_sqrt): Define as macro.
4892 (__ieee754_sqrtf): Define as macro.
4893 (__ieee754_sqrtl): Define as macro.
4894 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4895 inlined copy.
4896 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4897 __FINITE_MATH_ONLY__ consistent.
4898 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4899
12cc2fcd
AS
49002011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4901
a843a204
AS
4902 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4903 of rawmemchr.
4904
12cc2fcd
AS
4905 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4906
c853acd5
UD
49072011-10-09 Ulrich Drepper <drepper@gmail.com>
4908
4909 * po/ja.po: Update from translation team.
4910
c658d255
RM
49112011-10-08 Roland McGrath <roland@hack.frob.com>
4912
110946e4
RM
4913 * locale/programs/locarchive.c (prepare_address_space): New function.
4914 (create_archive, enlarge_archive, open_archive): Use it.
4915
50604220
RM
4916 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4917 inside [SHARED], where it is used.
4918
c658d255
RM
4919 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4920
4921 * nss/getent.c (netgroup_keys): Remove unused variable.
4922 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4923
6a621eb7
UD
49242011-10-08 Ulrich Drepper <drepper@gmail.com>
4925
7edb55ce
UD
4926 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4927 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4929 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4930 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4931 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4932 * math/Makefile (libm-calls): Add s_isinf_ns.
4933 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4934 * math/multc3.c: Likewise.
4935 * math/s_casin.c: Likewise.
4936 * math/s_casinf.c: Likewise.
4937 * math/s_casinl.c: Likewise.
4938 * math/s_ccos.c: Likewise.
4939 * math/s_ccosf.c: Likewise.
4940 * math/s_ccosl.c: Likewise.
4941 * math/s_ctan.c: Likewise.
4942 * math/s_ctanf.c: Likewise.
4943 * math/s_ctanh.c: Likewise.
4944 * math/s_ctanhf.c: Likewise.
4945 * math/s_ctanhl.c: Likewise.
4946 * math/s_ctanl.c: Likewise.
4947 * math/w_fmod.c: Likewise.
4948 * math/w_fmodf.c: Likewise.
4949 * math/w_fmodl.c: Likewise.
4950 * math/w_remainder.c: Likewise.
4951 * math/w_remainderf.c: Likewise.
4952 * math/w_remainderl.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4954 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4955 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4957 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4958 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4959 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4960 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4961
187da0ae
UD
4962 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4963 of the number.
4964 * stdio-common/printf_fphex.c: Likewise.
4965 * stdio-common/printf_size.c: Likewise.
4966
9277c064
UD
4967 * math/e_exp10.c: Include math_private.h using <...> not "...".
4968 * math/e_exp10f.c: Likewise.
4969 * math/e_exp10l.c: Likewise.
4970 * math/e_exp2l.c: Likewise.
4971 * math/e_j0l.c: Likewise.
4972 * math/e_j1l.c: Likewise.
4973 * math/e_jnl.c: Likewise.
4974 * math/e_lgammal_r.c: Likewise.
4975 * math/e_rem_pio2l.c: Likewise.
4976 * math/e_scalb.c: Likewise.
4977 * math/e_scalbf.c: Likewise.
4978 * math/e_scalbl.c: Likewise.
4979 * math/k_cosl.c: Likewise.
4980 * math/k_sinl.c: Likewise.
4981 * math/k_tanl.c: Likewise.
4982 * math/s_cacoshf.c: Likewise.
4983 * math/s_catan.c: Likewise.
4984 * math/s_catanf.c: Likewise.
4985 * math/s_catanh.c: Likewise.
4986 * math/s_catanhf.c: Likewise.
4987 * math/s_catanhl.c: Likewise.
4988 * math/s_catanl.c: Likewise.
4989 * math/s_ccosh.c: Likewise.
4990 * math/s_ccoshf.c: Likewise.
4991 * math/s_ccoshl.c: Likewise.
4992 * math/s_cexp.c: Likewise.
4993 * math/s_cexpf.c: Likewise.
4994 * math/s_cexpl.c: Likewise.
4995 * math/s_clog.c: Likewise.
4996 * math/s_clog10.c: Likewise.
4997 * math/s_clog10f.c: Likewise.
4998 * math/s_clog10l.c: Likewise.
4999 * math/s_clogf.c: Likewise.
5000 * math/s_clogl.c: Likewise.
5001 * math/s_csin.c: Likewise.
5002 * math/s_csinf.c: Likewise.
5003 * math/s_csinh.c: Likewise.
5004 * math/s_csinhf.c: Likewise.
5005 * math/s_csinhl.c: Likewise.
5006 * math/s_csinl.c: Likewise.
5007 * math/s_csqrt.c: Likewise.
5008 * math/s_csqrtf.c: Likewise.
5009 * math/s_csqrtl.c: Likewise.
5010 * math/s_ctan.c: Likewise.
5011 * math/s_ctanf.c: Likewise.
5012 * math/s_ctanh.c: Likewise.
5013 * math/s_ctanhf.c: Likewise.
5014 * math/s_ctanhl.c: Likewise.
5015 * math/s_ctanl.c: Likewise.
5016 * math/s_ldexp.c: Likewise.
5017 * math/s_ldexpf.c: Likewise.
5018 * math/s_ldexpl.c: Likewise.
5019 * math/s_significand.c: Likewise.
5020 * math/s_significandf.c: Likewise.
5021 * math/s_significandl.c: Likewise.
5022 * math/w_acos.c: Likewise.
5023 * math/w_acosf.c: Likewise.
5024 * math/w_acosh.c: Likewise.
5025 * math/w_acoshf.c: Likewise.
5026 * math/w_acoshl.c: Likewise.
5027 * math/w_acosl.c: Likewise.
5028 * math/w_asin.c: Likewise.
5029 * math/w_asinf.c: Likewise.
5030 * math/w_asinl.c: Likewise.
5031 * math/w_atan2.c: Likewise.
5032 * math/w_atan2f.c: Likewise.
5033 * math/w_atan2l.c: Likewise.
5034 * math/w_atanh.c: Likewise.
5035 * math/w_atanhf.c: Likewise.
5036 * math/w_atanhl.c: Likewise.
5037 * math/w_cosh.c: Likewise.
5038 * math/w_coshf.c: Likewise.
5039 * math/w_coshl.c: Likewise.
5040 * math/w_dremf.c: Likewise.
5041 * math/w_exp10.c: Likewise.
5042 * math/w_exp10f.c: Likewise.
5043 * math/w_exp10l.c: Likewise.
5044 * math/w_exp2.c: Likewise.
5045 * math/w_exp2f.c: Likewise.
5046 * math/w_fmod.c: Likewise.
5047 * math/w_fmodf.c: Likewise.
5048 * math/w_fmodl.c: Likewise.
5049 * math/w_hypot.c: Likewise.
5050 * math/w_hypotf.c: Likewise.
5051 * math/w_hypotl.c: Likewise.
5052 * math/w_j0.c: Likewise.
5053 * math/w_j0f.c: Likewise.
5054 * math/w_j0l.c: Likewise.
5055 * math/w_j1.c: Likewise.
5056 * math/w_j1f.c: Likewise.
5057 * math/w_j1l.c: Likewise.
5058 * math/w_jn.c: Likewise.
5059 * math/w_jnf.c: Likewise.
5060 * math/w_jnl.c: Likewise.
5061 * math/w_lgamma.c: Likewise.
5062 * math/w_lgamma_r.c: Likewise.
5063 * math/w_lgammaf.c: Likewise.
5064 * math/w_lgammaf_r.c: Likewise.
5065 * math/w_lgammal.c: Likewise.
5066 * math/w_lgammal_r.c: Likewise.
5067 * math/w_log.c: Likewise.
5068 * math/w_log10.c: Likewise.
5069 * math/w_log10f.c: Likewise.
5070 * math/w_log10l.c: Likewise.
5071 * math/w_log2.c: Likewise.
5072 * math/w_log2f.c: Likewise.
5073 * math/w_log2l.c: Likewise.
5074 * math/w_logf.c: Likewise.
5075 * math/w_logl.c: Likewise.
5076 * math/w_pow.c: Likewise.
5077 * math/w_powf.c: Likewise.
5078 * math/w_powl.c: Likewise.
5079 * math/w_remainder.c: Likewise.
5080 * math/w_remainderf.c: Likewise.
5081 * math/w_remainderl.c: Likewise.
5082 * math/w_scalb.c: Likewise.
5083 * math/w_scalbf.c: Likewise.
5084 * math/w_scalbl.c: Likewise.
5085 * math/w_sinh.c: Likewise.
5086 * math/w_sinhf.c: Likewise.
5087 * math/w_sinhl.c: Likewise.
5088 * math/w_sqrt.c: Likewise.
5089 * math/w_sqrtf.c: Likewise.
5090 * math/w_sqrtl.c: Likewise.
5091 * math/w_tgamma.c: Likewise.
5092 * math/w_tgammaf.c: Likewise.
5093 * math/w_tgammal.c: Likewise.
5094
6a621eb7
UD
5095 * po/ja.po: Update from translation team.
5096
bf582445
AJ
50972011-09-29 Andreas Jaeger <aj@suse.de>
5098
f9efbf3a
AJ
5099 [BZ #13179]
5100 * sunrpc/netname.c (netname2host): Fix logic.
5101
bf582445
AJ
5102 [BZ #6779]
5103 [BZ #6783]
5104 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5105 correctly.
5106 * math/w_remainder.c (__remainder): Likewise.
5107 * math/w_remainderf.c (__remainderf): Likewise.
5108 * math/libm-test.inc (remainder_test): Add test cases.
5109
48693bea
AK
51102011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5111
5112 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5113 sdiv_qrnnd.
5114
42622229
LD
51152011-10-07 Ulrich Drepper <drepper@gmail.com>
5116
5117 * string/test-memcmp.c: Avoid unncessary #defines.
5118 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5119
093ecf92
LD
51202011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5121
5122 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5123 Use new sse2 version for core i3 - i7 as it's faster
5124 than sse42 version.
5125 (bit_Prefer_PMINUB_for_stringop): New.
5126 * sysdeps/x86_64/rawmemchr.S: Update.
5127 Replace with faster SSE2 version.
5128 * sysdeps/x86_64/memrchr.S: New file.
5129 * sysdeps/x86_64/memchr.S: Update.
5130 Replace with faster SSE2 version.
5131
fde56e5c
MP
51322011-09-12 Marek Polacek <mpolacek@redhat.com>
5133
5134 * elf/dl-load.c (lose): Add cast to avoid warning.
5135
21fd49a9
UD
51362011-10-07 Ulrich Drepper <drepper@gmail.com>
5137
5a06e643
UD
5138 * po/ca.po: Update from translation team.
5139
684ae515
UD
5140 * inet/getnetgrent_r.c: Hook up nscd.
5141 * nscd/Makefile (routines): Add nscd_netgroup.
5142 (nscd-modules): Add netgroupcache.
5143 (CFLAGS-netgroupcache.c): Define.
5144 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5145 (cache_search): Add const to second parameter.
5146 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5147 INNETGR.
5148 (dbs): Add netgrdb entry.
5149 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5150 (verify_persistent_db): Handle netgrdb.
5151 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5152 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5153 GETFDNETGR.
5154 (netgroup_response_header): Define.
5155 (innetgroup_response_header): Define.
5156 (datahead): Add netgroup_response_header and innetgroup_response_header
5157 elements.
5158 * nscd/nscd.conf: Add entries for netgroup cache.
5159 * nscd/nscd.h (dbtype): Add netgrdb.
5160 (_PATH_NSCD_NETGROUP_DB): Define.
5161 (netgroup_iov_disabled): Declare.
5162 (xmalloc, xcalloc, xrealloc): Move declarations here.
5163 (cache_search): Adjust prototype.
5164 Add netgroup-related prototypes.
5165 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5166 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5167 (__nscd_innetgr): Declare.
5168 * nscd/selinux.c (perms): Use access_vector_t as element type and
5169 add netgroup-related initializers.
5170 * nscd/netgroupcache.c: New file.
5171 * nscd/nscd_netgroup.c: New file.
5172 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5173 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5174 For four parameters use innetgr.
5175 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5176 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5177 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5178 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5179
21fd49a9
UD
5180 * nscd/connections.c (register_traced_file): Don't register file
5181 for disabled databases.
5182
054c0457
UD
51832011-10-06 Ulrich Drepper <drepper@gmail.com>
5184
32b63198
UD
5185 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5186
054c0457
UD
5187 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5188 from tree and freeing node.
5189
64031225
JO
51902011-09-25 Jiri Olsa <jolsa@redhat.com>
5191
5192 * nss/nsswitch.c (__nss_database_lookup): Handle
5193 nss_parse_service_list out of memory case.
5194
0490345c
JO
51952011-09-15 Jiri Olsa <jolsa@redhat.com>
5196
5197 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5198 out of memory case.
5199
3a62d00d
AS
52002011-10-04 Andreas Schwab <schwab@redhat.com>
5201
5202 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5203 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5204 pass it down.
5205 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5206 elf_machine_rela, elf_machine_lazy_rel.
5207 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5208 (ELF_DYNAMIC_DO_REL): Likewise.
5209 (ELF_DYNAMIC_DO_RELA): Likewise.
5210 (ELF_DYNAMIC_RELOCATE): Likewise.
5211 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5212 to ELF_DYNAMIC_DO_REL.
5213 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5214 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5215 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5216 elf_machine_rela.
5217 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5218 skip_ifunc, don't call ifunc function if non-zero.
5219 (elf_machine_rela): Likewise.
5220 (elf_machine_lazy_rel): Likewise.
5221 (elf_machine_lazy_rela): Likewise.
5222 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5223 (elf_machine_lazy_rel): Likewise.
5224 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5225 Likewise.
5226 (elf_machine_lazy_rel): Likewise.
5227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5228 Likewise.
5229 (elf_machine_lazy_rel): Likewise.
5230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5231 (elf_machine_lazy_rel): Likewise.
5232 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5233 (elf_machine_lazy_rel): Likewise.
5234 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5235 (elf_machine_lazy_rel): Likewise.
5236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5237 (elf_machine_lazy_rel): Likewise.
5238 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5239 (elf_machine_lazy_rel): Likewise.
5240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5241 (elf_machine_lazy_rel): Likewise.
5242
68577918
UD
52432011-09-28 Ulrich Drepper <drepper@gmail.com>
5244
5245 * nss/nss_files/files-init.c (_nss_files_init): Use static
5246 initialization for all the *_traced_file variables.
5247
68822d74
AS
52482011-09-28 Andreas Schwab <schwab@redhat.com>
5249
5250 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5251
2056100b
RM
52522011-09-27 Roland McGrath <roland@hack.frob.com>
5253
5254 [BZ #13226]
5255 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5256
32c76b63
AS
52572011-09-27 Andreas Schwab <schwab@redhat.com>
5258
5259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5260 Reread the line before reparsing it.
5261
bf972c9d
AS
52622011-09-26 Andreas Schwab <schwab@redhat.com>
5263
5264 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5265
e057a1b5
JM
52662011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5267 Maxim Kuvyrkov <maxim@codesourcery.com>
5268 Joseph Myers <joseph@codesourcery.com>
5269
5270 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5271 if needed for __stack_chk_guard.
5272
bc7e1c36
RM
52732011-09-19 Roland McGrath <roland@hack.frob.com>
5274
ecb1482f
RM
5275 * sysdeps/posix/spawni.c (script_execute): Always define it.
5276 It will be optimized away if unused.
5277 (maybe_script_execute): New function.
5278 (__spawni): Call it.
5279
bc7e1c36
RM
5280 * Makerules: Don't include tls.make.
5281 (config-tls): Always set to thread.
5282 * tls.make.c: File removed.
5283
1c3b002b
MF
52842011-09-19 Mike Frysinger <vapier@gentoo.org>
5285
5286 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5287 * config.make.in (CPPFLAGS-config): New substituted variable.
5288
2840865d
UD
52892011-09-15 Ulrich Drepper <drepper@gmail.com>
5290
88738eb6
UD
5291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5292
cbf645a6 5293 [BZ #13192]
2840865d
UD
5294 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5295 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5296
b402e91a
RM
52972011-09-15 Roland McGrath <roland@hack.frob.com>
5298
5299 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5300 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5302 (CALL_FAIL): Likewise.
5303 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5304 (CALL_FAIL): Macro removed.
5305 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5306
4c1a1f71
UD
53072011-09-15 Ulrich Drepper <drepper@gmail.com>
5308
5309 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5310 for __FINITE_MATH_ONLY__ == 1.
5311
edc121be
AS
53122011-09-15 Andreas Schwab <schwab@redhat.com>
5313
5314 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5315 __ieee754_sqrt instead of sqrt.
5316 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5317 __ieee754_sqrtf instead of sqrtf.
5318 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5319 __floorf instead of floorf.
5320 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5321 __floorf, __truncf instead of floorf, truncf.
5322
cd205654
UD
53232011-09-14 Ulrich Drepper <drepper@gmail.com>
5324
ee4d0315
UD
5325 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5326
cd205654
UD
5327 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5328 __extern_always_inline.
5329 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5330 32-bit.
5331
48b67d71
AS
53322011-09-14 Andreas Schwab <schwab@redhat.com>
5333
5334 * elf/rtld.c (dl_main): Also relocate in dependency order when
5335 doing symbol dependency testing.
5336
1ae12c75
AS
53372011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5338
5339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5340 Always define `refsym'.
5341
995a80df
AS
53422011-09-13 Andreas Schwab <schwab@redhat.com>
5343
e529793b
AS
5344 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5345 (__FD_ELT): Renamed from __FDELT.
5346 * misc/bits/select2.h (__FD_ELT): Likewise.
5347 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5348 __FD_MASK instead of __FDELT, __FDMASK.
5349 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5350 Likewise.
5351 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5352 Likewise.
5353
52d4fef8
AS
5354 * elf/Makefile (gen-ldd): Fix pattern.
5355
995a80df
AS
5356 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5357 (init_tls): Likewise.
5358
8682f8b0
UD
53592011-09-12 Ulrich Drepper <drepper@gmail.com>
5360
5361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5362
de82006d
AS
53632011-09-12 Andreas Schwab <schwab@redhat.com>
5364
a7c8e6a1
AS
5365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5366 `struct cmsghdr *' instead of `void *'.
5367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5368 Likewise.
5369
0f31fe77
AS
53702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5371
5372 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5373 if non-absolute.
5374 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5375 ldd_rewrite_script.
0f31fe77 5376
32b4c839
UD
53772011-09-11 Ulrich Drepper <drepper@gmail.com>
5378
83cd1420
UD
5379 * configure.in: Remove --with-tls option.
5380 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5381 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5382 out in case it is missing.
5383 * sysdeps/ia64/elf/configure.in: Likewise.
5384 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5385 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5386 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5387 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5388 * sysdeps/sh/elf/configure.in: Likewise.
5389 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5391 * sysdeps/x86_64/elf/configure.in: Likewise.
5392 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5393 * sysdeps/mach/hurd/tls.h: Likewise.
5394
633f745d
UD
5395 [BZ #13067]
5396 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5397
f318beb8
UD
5398 [BZ #13090]
5399 * configure.in: Fix use of AC_INIT.
5400
32b4c839
UD
5401 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5402
3ce1f295
UD
54032011-09-10 Ulrich Drepper <drepper@gmail.com>
5404
bb016596
UD
5405 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5406 __set_errno.
8e58439c
UD
5407 * malloc/hooks.c: Likewise.
5408
aebae053 5409 [BZ #11929]
02d46fc4
UD
5410 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5411 variables statically.
5412 (narenas): Initialize.
5413 (list_lock): Initialize.
bb016596
UD
5414 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5415 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5416 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5417 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5418 Add initializers to main_arena and mp_.
5419 (malloc_state): Remove pagesize member. Change all users to use
5420 GLRO(dl_pagesize).
5421
5422 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5423 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5424 is always initialized.
5425
22a89187
UD
5426 * malloc/malloc.c: Removed unused configurations and dead code.
5427 * malloc/arena.c: Likewise.
5428 * malloc/hooks.c: Likewise.
02d46fc4 5429 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5430
d063d164
UD
5431 * include/tls.h: Removed. USE___THREAD must always be defined.
5432 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5433 * elf/dl-libc.c: Likewise.
5434 * elf/dl-tsd.c: Likewise.
5435 * include/errno.h: Likewise.
5436 * include/netdb.h: Likewise.
5437 * include/resolv.h: Likewise.
5438 * inet/herrno-loc.c: Likewise.
5439 * inet/herrno.c: Likewise.
5440 * malloc/arena.c: Likewise.
5441 * malloc/hooks.c: Likewise.
5442 * malloc/malloc.c: Likewise.
5443 * resolv/res-state.c: Likewise.
5444 * resolv/res_libc.c: Likewise.
5445 * sysdeps/i386/dl-machine.h: Likewise.
5446 * sysdeps/ia64/dl-machine.h: Likewise.
5447 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5448 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5449 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5450 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5451 * sysdeps/sh/dl-machine.h: Likewise.
5452 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5453 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5454 * sysdeps/unix/i386/sysdep.S: Likewise.
5455 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5456 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5457 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5461 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5462 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5463 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5465 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5466 * sysdeps/x86_64/dl-machine.h: Likewise.
5467 * tls.make.c: Likewise.
5468
3ce1f295
UD
5469 * configure.in: Remove --with-__thread option. Make tests for
5470 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5471 tls_model attribute fail if no support is available. Remove
5472 USE_IN_LIBIO.
5473 * Makeconfig: Adjust for dropped configure option. All features are
5474 now mandatory.
5475 * Makerules: Likewise.
5476 * Versions.def: Likewise.
5477 * argp/argp-fmtstream.c: Likewise.
5478 * argp/argp-fmtstream.h: Likewise.
5479 * argp/argp-help.c: Likewise.
5480 * assert/assert.c: Likewise.
5481 * config.h.in: Likewise.
5482 * config.make.in: Likewise.
5483 * configure: Likewise.
5484 * configure.in: Likewise.
5485 * csu/Versions: Likewise.
5486 * csu/init.c: Likewise.
5487 * elf/tst-audit2.c: Likewise.
5488 * elf/tst-tls10.c: Likewise.
5489 * elf/tst-tls10.h: Likewise.
5490 * elf/tst-tls11.c: Likewise.
5491 * elf/tst-tls12.c: Likewise.
5492 * elf/tst-tls14.c: Likewise.
5493 * elf/tst-tlsmod11.c: Likewise.
5494 * elf/tst-tlsmod12.c: Likewise.
5495 * elf/tst-tlsmod13.c: Likewise.
5496 * elf/tst-tlsmod13a.c: Likewise.
5497 * elf/tst-tlsmod14a.c: Likewise.
5498 * elf/tst-tlsmod15b.c: Likewise.
5499 * elf/tst-tlsmod16a.c: Likewise.
5500 * elf/tst-tlsmod16b.c: Likewise.
5501 * elf/tst-tlsmod7.c: Likewise.
5502 * elf/tst-tlsmod8.c: Likewise.
5503 * elf/tst-tlsmod9.c: Likewise.
5504 * gmon/gmon.c: Likewise.
5505 * grp/fgetgrent_r.c: Likewise.
5506 * grp/putgrent.c: Likewise.
5507 * hurd/fopenport.c: Likewise.
5508 * include/libc-symbols.h: Likewise.
5509 * include/tls.h: Likewise.
5510 * intl/gettextP.h: Likewise.
5511 * intl/loadinfo.h: Likewise.
5512 * locale/global-locale.c: Likewise.
5513 * locale/localeinfo.h: Likewise.
5514 * mach/devstream.c: Likewise.
5515 * malloc/arena.c: Likewise.
5516 * malloc/set-freeres.c: Likewise.
5517 * misc/err.c: Likewise.
5518 * misc/getttyent.c: Likewise.
5519 * misc/mntent_r.c: Likewise.
5520 * posix/getopt.c: Likewise.
5521 * posix/wordexp.c: Likewise.
5522 * pwd/fgetpwent_r.c: Likewise.
5523 * resolv/Versions: Likewise.
5524 * resolv/res_hconf.c: Likewise.
5525 * shadow/fgetspent_r.c: Likewise.
5526 * shadow/putspent.c: Likewise.
5527 * stdio-common/printf_fphex.c: Likewise.
5528 * stdio-common/tmpfile.c: Likewise.
5529 * stdlib/abort.c: Likewise.
5530 * stdlib/fmtmsg.c: Likewise.
5531 * sunrpc/auth_unix.c: Likewise.
5532 * sunrpc/clnt_perr.c: Likewise.
5533 * sunrpc/clnt_tcp.c: Likewise.
5534 * sunrpc/clnt_udp.c: Likewise.
5535 * sunrpc/clnt_unix.c: Likewise.
5536 * sunrpc/openchild.c: Likewise.
5537 * sunrpc/svc_simple.c: Likewise.
5538 * sunrpc/svc_tcp.c: Likewise.
5539 * sunrpc/svc_udp.c: Likewise.
5540 * sunrpc/svc_unix.c: Likewise.
5541 * sunrpc/xdr.c: Likewise.
5542 * sunrpc/xdr_array.c: Likewise.
5543 * sunrpc/xdr_rec.c: Likewise.
5544 * sunrpc/xdr_ref.c: Likewise.
5545 * sunrpc/xdr_stdio.c: Likewise.
5546
1248c1c4
PB
55472011-09-09 Ulrich Drepper <drepper@gmail.com>
5548
5549 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5550
55512011-07-03 Andreas Jaeger <aj@suse.de>
5552
5553 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5554 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5555 regenerate with gen-libm-tests.pl.
5556
55572010-05-12 Petr Baudis <pasky@suse.cz>
5558
5559 [BZ #11589]
5560 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5561 around j0() zero points by switching to j1().
5562 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5566
f22e1074
UD
55672011-09-09 Ulrich Drepper <drepper@gmail.com>
5568
f19009c1
UD
5569 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5570 instead of 0.
5571 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5572 instead of 0. .
5573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5574 Patch in part by Pavel Roskin <proski@gnu.org>.
5575
3f8cc204
UD
5576 [BZ #13138]
5577 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5578 realloc.
5579 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5580 Free memory block if necessary.
5581
f22e1074
UD
5582 [BZ #12847]
5583 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5584 be NULL. Don't lock in this case.
5585
0a2349f9
RM
55862011-09-09 Roland McGrath <roland@hack.frob.com>
5587
5588 * elf/elf.h (ELFOSABI_GNU): New macro.
5589 (ELFOSABI_LINUX): Define to that.
5590
f3cdd467
DZ
55912011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5592
5593 * string/strncat.c (strncat): Undef the symbol in case it has been
5594 defined in bits/string.h.
5595
74718d13
UD
55962011-09-09 Ulrich Drepper <drepper@gmail.com>
5597
633e9e0f
UD
5598 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5599
0a2349f9 5600 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
5601 link map.
5602
f9924780
AJ
56032011-08-17 Andreas Jaeger <aj@suse.de>
5604
5605 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5606
7f5517aa
PP
56072011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5608 Ian Lance Taylor <iant@google.com>
5609
5610 * math/libm-test.inc (lround_test): New testcase.
5611 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5612
762011fe
UD
56132011-09-08 Ulrich Drepper <drepper@gmail.com>
5614
92963737
UD
5615 * Makefile: Remove support for automatic cvs check-ins.
5616 * Makerules: Likewise.
5617 * config.make.in: Likewise.
5618 * configure.in: Likewise.
5619 * intl/Makefile: Likewise.
5620 * locale/Makefile: Likewise.
5621 * po/Makefile: Likewise.
5622 * posix/Makefile: Likewise.
5623 * sysdeps/gnu/Makefile: Likewise.
5624 * sysdeps/mach/hurd/Makefile: Likewise.
5625 * sysdeps/sparc/sparc32/Makefile: Likewise.
5626
b0727fd8
JS
5627 [BZ #13118]
5628 * posix/Makefile (bug-regex32-ENV): Define.
5629 Patch by John Stanley <jpsinthemix@verizon.net>.
5630
a0f33f99
UD
5631 * misc/Makefile (headers): Add bits/select2.h.
5632 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5633 * misc/bits/select2.h: New file.
5634 * include/bits/select2.h: New file.
5635 * debug/Makefile (routines): Add fdelt_chk.
5636 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5637 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5638 FD_ISSET.
5639 * debug/fdelt_chk.c: New file.
5640
762011fe
UD
5641 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5642 * wcsmbs/test-wmemcmp.c: Likewise.
5643 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 5644 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
5645
56462011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5647
5648 * string/Makefile (strop-tests): Add memcmp.
5649 * string/test-wmemcmp.c: New file.
5650 * string/test-memcmp.c: Add wmemcmp support.
5651
7f513ec8
RM
56522011-09-08 Roland McGrath <roland@hack.frob.com>
5653
0442afb4
RM
5654 [BZ #13153]
5655 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5656 2011-07-19 change.
5657
7f513ec8
RM
5658 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5659 garbage value in a __mach_port_mod_refs call in the cases of the
5660 task-self and thread-self ports.
5661
a12b2239
ST
56622011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5663
5664 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5665
610f9ab4
AS
56662011-09-08 Andreas Schwab <schwab@redhat.com>
5667
7f513ec8 5668 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 5669
48882a1a
LD
56702011-09-07 Ulrich Drepper <drepper@gmail.com>
5671
b49865be
UD
5672 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5673
fdc86bc9
UD
5674 * elf/dl-libc.c (dlerror_run): Pass back error code from
5675 dl_catch_error.
5676
c966526a
UD
5677 [BZ #13123]
5678 * elf/dl-load.c (lose): Free l_origin if it is valid.
5679
48882a1a
LD
5680 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5681 names.
5682 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5683 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5685 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5686 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5687 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5688
77a2a8b4
AZ
56892011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5690
5691 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5692 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5693 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5694 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5695 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5696 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5697 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5698 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5699 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5700 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5701
24f579d8
AM
57022011-08-15 Alan Modra <amodra@gmail.com>
5703
5704 [BZ #13092]
5705 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5706 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5707 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5708 ppc_mcount to static-only-routines.
5709 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5710 __mcount_internal.
5711 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5712 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5713
3d4837df
UD
57142011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5715
5716 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5717 for finite and infinity parameters.
5718
22700377
WS
57192011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5720
5721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5722 and add nop instructions for throughput optimization.
5723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5724
5025581e
WS
57252011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5726
5727 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5728 aligned copy for power7 with vector-scalar instructions.
5729 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5730
08a300c9
L
57312011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5732
5733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5734 AVX check.
5735
59178ef9
AS
57362011-09-07 Andreas Schwab <schwab@redhat.com>
5737
5738 [BZ #13144]
5739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5740 last change.
5741
e38ba7ab
UD
57422011-09-07 Ulrich Drepper <drepper@gmail.com>
5743
5744 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5745 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5746 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5747 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5748 clock_gettime.
5749
d53a73ac
UD
57502011-09-06 Ulrich Drepper <drepper@gmail.com>
5751
fc8bffcc
UD
5752 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5753 Forgot to demangle the pointer.
5754
ceaa0c5d
UD
5755 * sysdeps/i386/sysdep.h: Define atom_text_section.
5756 * sysdeps/x86_64/sysdep.h: Likewise.
5757 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5758 section with atom_text_section.
5759 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5760 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5761 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5762 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5763 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5764
a77d3c17
UD
5765 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5766 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5767 already be defined. Change to take two parameters and don't assign
5768 result to variable. Adjust all users.
5769 Define INTERNAL_GETTIME if not already defined.
5770 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5771 call.
5772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5773 HAVE_CLOCK_GETTIME_VSYSCALL.
5774 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5775
d53a73ac
UD
5776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5777 gettimeofday vsyscall, just use time.
5778
a8f84144
AS
57792011-09-06 Andreas Schwab <schwab@redhat.com>
5780
5781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5782 <errno.h>.
5783
ef606249
UD
57842011-09-06 Ulrich Drepper <drepper@gmail.com>
5785
5786 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5787 syscall on x86-64.
5788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5789 syscall.
5790 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5791 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5792 syscall if possible.
5793
6585cb60
UD
57942011-09-05 Ulrich Drepper <drepper@gmail.com>
5795
5796 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5797 e_ident. Don't pass to find_mapsXX.
5798 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5799
a5f524e4
LD
58002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5801
5802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5803 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5804 * sysdeps/x86_64/multiarch/strchr.S: Update.
5805 Check bit_slow_BSF bit.
5806 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5807 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5808 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5809
554881ef
UD
58102011-09-05 Ulrich Drepper <drepper@gmail.com>
5811
d96de963
UD
5812 [BZ #13134]
5813 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5814 before glibc 2.15.
5815 (tryshell): Define.
5816 (__spawni): Change last parameter to be flag. Test
5817 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5818 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5819 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5820 * posix/spawni.c: Likewise.
5821 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5822 * posix/spawnp.c: Likewise. Change normal version to use
5823 SPAWN_XFLAGS_USE_PATH.
5824 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5825 SPAWN_XFLAGS_TRY_SHELL.
5826
d48e5868
UD
5827 [BZ #13150]
5828 * posix/glob.h: Remove gcc 1.x support.
5829
554881ef
UD
5830 [BZ #13068]
5831 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5832
693fb948
LD
58332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5834
5835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5836 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5837 strrchr-sse2-bsf
5838 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5839 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5840 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5841 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5842 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5843 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5844
1b48c537
UD
58452011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5846
49d42c37
UD
5847 * sysdeps/x86_64/wcscmp.S: New file.
5848
1b48c537
UD
5849 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5850 wcscmp-c wcscmp-sse2
5851 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5852 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5853 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5854 * wcsmbs/wcscmp.c: Allow renaming.
5855
15c95c5d
DM
58562011-09-05 David S. Miller <davem@davemloft.net>
5857
5858 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5859 stack slot, rather than the struct return pointer slot.
5860 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5861 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5863 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5864
2f0ad8f3
UD
58652011-09-05 Ulrich Drepper <drepper@gmail.com>
5866
d88ae418
UD
5867 * po/ja.po: Update from translation team.
5868
2f0ad8f3
UD
5869 [BZ #13144]
5870 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5871 kernel in 64-bit binaries.
5872
5f4318d1
DM
58732011-09-01 David S. Miller <davem@davemloft.net>
5874
5875 * elf/elf.h (HWCAP_SPARC_*): Move to..
5876 * sysdeps/sparc/sysdep.h: this new file and add new values.
5877 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5878 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5879 _DL_HWCAP_COUNT to 24.
5880 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5881 entries.
5882 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5883 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5884 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5886 instead of magic constants.
5887 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5888
3ba57516
DM
58892011-08-31 David S. Miller <davem@davemloft.net>
5890
5891 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5893 Reimplement to do errno handling inline.
5894 (SYSCALL_ERROR_HANDLER): New macro.
5895 (__SYSCALL_STRING): Do not do errno handling in asm.
5896 (__CLONE_SYSCALL_STRING): Delete.
5897 (__INTERNAL_SYSCALL_STRING): Delete.
5898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5899 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5900 (PSEUDO): Reimplement to do errno handling inline.
5901 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5902 (SYSCALL_ERROR_HANDLER): New macro.
5903 (__SYSCALL_STRING): Do not do errno handling in asm.
5904 (__CLONE_SYSCALL_STRING): Delete.
5905 (__INTERNAL_SYSCALL_STRING): Delete.
5906 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5907 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5908 i386.
5909 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5910 (inline_syscall*): Add 'err' argument.
5911 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5912 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5913 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5914 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5915
5916 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5917 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5918
2bc17433
AS
59192011-08-30 Andreas Schwab <schwab@redhat.com>
5920
5921 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5922
fbeb5f4d
JO
59232011-08-29 Jiri Olsa <jolsa@redhat.com>
5924
5925 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5926 directive.
5927
ad69cc26
DM
59282011-08-24 David S. Miller <davem@davemloft.net>
5929
5930 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5931
39dd69df
AS
59322011-08-24 Andreas Schwab <schwab@redhat.com>
5933
5934 * elf/Makefile: Add rules to build and run unload8 test.
5935 * elf/unload8.c: New file.
5936 * elf/unload8mod1.c: New file.
5937 * elf/unload8mod1x.c: New file.
5938 * elf/unload8mod2.c: New file.
5939 * elf/unload8mod3.c: New file.
5940
5941 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5942 it wasn't used.
5943
2c0b250a
DM
59442011-08-23 David S. Miller <davem@davemloft.net>
5945
5946 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5947 subtract stack bias.
5948 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5949 %sp not %fp in calculations.
5950 (_JMPBUF_UNWINDS_ADJ): Likewise.
5951
22044b48
DM
5952 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5953 (aio_suspend): Call it to force an exception region around the
5954 AIO_MISC_WAIT() invocation.
5955
2cae4995
AS
59562011-08-23 Andreas Schwab <schwab@redhat.com>
5957
5958 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5959 backslash.
5960
873a772e
AJ
59612011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5962
5963 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5964 protection macro.
5965 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5966 and <dl-machine.h>.
5967 (Elf64_FuncDesc): Remove.
5968
25ad0df1
DM
59692011-08-22 David S. Miller <davem@davemloft.net>
5970
5971 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5972 sigaltstack check, add missing cfi directives.
5973 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5974 missing cfi directives, and sigaltstack handling.
5975
e888bcbe
AS
59762011-08-16 Andreas Schwab <schwab@redhat.com>
5977
5978 [BZ #11724]
5979 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5980 object is seen twice.
5981 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5982
5983 * elf/Makefile (distribute): Add tst-initorder2.c.
5984 (tests): Add tst-initorder2.
5985 (modules-names): Add tst-initorder2a tst-initorder2b
5986 tst-initorder2c tst-initorder2d. Add rules to build them.
5987 ($(objpfx)tst-initorder2.out): New rule.
5988 * elf/tst-initorder2.c: New file.
5989 * elf/tst-initorder2.exp: New file.
5990
87162f46
AS
59912011-08-22 Andreas Schwab <schwab@redhat.com>
5992
70538b7f
AS
5993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5994
f55ffe58
AS
5995 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5996 dependencies back to end of function.
5997
87162f46
AS
5998 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5999 $(elfobjdir)/ld.so.
6000
91b392a4
UD
60012011-08-21 Ulrich Drepper <drepper@gmail.com>
6002
6003 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6004 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6006 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6007 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6008 of __vdso_gettimeofday.
6009 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6010 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6011 attribute_hidden.
6012 (_libc_vdso_platform_setup): Remove initialization of
6013 __vdso_gettimeofday and __vdso_time.
6014
5c43483f
UD
60152011-08-20 Ulrich Drepper <drepper@gmail.com>
6016
775a77e7
UD
6017 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6018 and fgetc_unlocked.
6019 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6020 getc_unlocked.
89f447ed 6021
49c74ba9
UD
6022 * elf/dl-open.c (add_to_global): Report additions to the global scope
6023 for LD_DEBUG=scopes.
6024 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6025 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6026
5c43483f
UD
6027 [BZ #13114]
6028 * stdio-common/Makefile (tests): Add bug24.
6029 * stdio-common/bug24.c: New file.
6030
a101b025
AJ
60312011-08-19 Andreas Jaeger <aj@suse.de>
6032
6033 [BZ #13114]
6034 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6035 non-existant file when using close-on-exec mode.
6036
c88f1766
UD
60372011-08-20 Ulrich Drepper <drepper@gmail.com>
6038
0276a718
UD
6039 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6040 the very first instruction.
6041
c88f1766
UD
6042 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6043 the CFI state in the end.
6044 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6045 inclusion of dl-trampoline.h.
6046 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6047
51ccffa0
AS
60482011-08-19 Andreas Schwab <schwab@redhat.com>
6049
94d7165f
AS
6050 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6051 expectations for long double.
6052
51ccffa0
AS
6053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6054 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6055
fd708658 60562011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6057
6058 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6059 artificual limit depends upon the system page size.
6060
44f0a71e
UD
60612011-08-17 Ulrich Drepper <drepper@gmail.com>
6062
6063 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6064 * resolv/Makefile: Define CFLAGS-libresolv.
6065
8de79a24
AS
60662011-08-17 Andreas Schwab <schwab@redhat.com>
6067
6068 * nss/makedb.c (compute_tables): Make variables used in nested
6069 function static.
6070
27724598
UD
60712011-08-17 Ulrich Drepper <drepper@gmail.com>
6072
c5305d88
UD
6073 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6074 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6075 if buffer was too small.
6076
27724598
UD
6077 * elf/pldd.c (main): Attach to all threads in the process.
6078 Rewrite /proc handling to use *at functions.
6079
076fe015
UD
60802011-08-16 Ulrich Drepper <drepper@gmail.com>
6081
174baab3
UD
6082 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6083 specifies first scope to show.
6084 (dl_open_worker): Update callers. Move printing scope of new
6085 object to before the relocation.
44f0a71e 6086 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6087 * sysdeps/generic/ldsodefs.h: Update declaration.
6088
076fe015
UD
6089 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6090 string for the scope number.
6091
a60df2c3
UD
60922011-08-14 Ulrich Drepper <drepper@gmail.com>
6093
6094 * nscd/servicescache.c (cache_addserv): Make sure written is always
6095 initialized.
6096
5e4287d1
RM
60972011-08-14 Roland McGrath <roland@hack.frob.com>
6098
85ae0589
RM
6099 * sysdeps/i386/i486/bits/atomic.h
6100 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6101 statement expression, so as to suppress "set but not used" warning.
6102 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6103
69f63097
RM
6104 * string/strncat.c (STRNCAT): Use prototype definition.
6105
675456ef
RM
6106 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6107 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6108 -Iprograms here.
6109 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6110 (localedef-modules): Add localedef.
6111 (locale-modules): Add locale.
6112
5e4287d1
RM
6113 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6114 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6115 to avoid a warning.
6116
9c96ff23
DM
61172011-08-14 David S. Miller <davem@davemloft.net>
6118
6119 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6120 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6121
f9ddf089
UD
61222011-08-13 Ulrich Drepper <drepper@gmail.com>
6123
44f0a71e 6124 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6125 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6126 * elf/rtld.c (dl_main): Set l_name of vDSO.
6127 Call _dl_show_scope when DL_DEBUG_SCOPES.
6128 (process_dl_debug): Recognize scopes flag and also set it for all.
6129 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6130 Declare _dl_show_scope.
6131
1dc27704
UD
6132 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6133 (do_dlopen): Pass caller_dlopen to dl_open.
6134 (__libc_dlopen_mode): Initialize caller_dlopen.
6135
f9ddf089
UD
6136 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6137 of libc. Make tolower call locale-independent. Optimize a bit by
6138 using isdigit instead of isalnum.
6139 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6140
9ac533d3
UD
61412011-08-12 Ulrich Drepper <drepper@gmail.com>
6142
6143 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6144 was a dependency or dynamically loaded.
6145
89edf2e9
UD
61462011-08-11 Ulrich Drepper <drepper@gmail.com>
6147
8e999d29
UD
6148 * intl/l10nflist.c: Allow architecture-specific pop function.
6149 * sysdeps/x86_64/l10nflist.c: New file.
6150
89edf2e9
UD
6151 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6152 classification.
6153
14d96785
AS
61542011-08-10 Andreas Schwab <schwab@redhat.com>
6155
6156 * include/dirent.h: Add libc_hidden_proto for scandirat and
6157 scandirat64. Don't declare __scandirat64.
6158 * dirent/scandirat.c: Add libc_hidden_def.
6159 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6160 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6161
6761ac04
DM
61622011-08-10 David S. Miller <davem@davemloft.net>
6163
6164 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6165 enum.
6166 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6168 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6169
c55fbd1e
UD
61702011-08-09 Ulrich Drepper <drepper@gmail.com>
6171
6172 * Versions.def [libc]: Add GLIBC_2.15.
6173 * dirent/Makefile (routines): Add scandirat and scandirat64.
6174 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6175 GLIBC_2.15.
6176 * dirent/dirent.h: Declare scandirat and scandirat64.
6177 * dirent/scandirat.c: New file.
6178 * dirent/scandirat64.c: New file.
6179 * sysdeps/wordsize-64/scandirat.c: New file.
6180 * sysdeps/wordsize-64/scandirat64.c: New file.
6181 * dirent/opendir.c: Define opendirat.
6182 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6183 using scandirat.
6184 * dirent/scandir64.c: Adjust for scandir.c change.
6185 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6186 __scandirat64, and __scandir_cancel_handler.
6187 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6188 additional parameter and use openat instead of open (outside of ld.so).
6189 Add new __opendir as wrapper around __opendirat.
6190 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6191 here without requiring old scandirat implementation.
6192
879165f2
UD
61932011-08-08 Ulrich Drepper <drepper@gmail.com>
6194
6195 * dirent/scandir.c (cancel_handler): Renamed to
6196 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6197 defined. Adjust users.
6198 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6199 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6200
cb7e923b
UD
62012011-08-04 Ulrich Drepper <drepper@gmail.com>
6202
16292edd
UD
6203 * string/test-string.h (IMPL): Use __STRING to expand name and then
6204 stringify it.
6205
cb7e923b
UD
6206 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6207 of cleanups.
6208
cff82933
LD
62092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6210
6211 * string/Makefile: Update.
6212 (strop-tests): Append strncat.
6213 * string/test-wcscmp.c: New file.
6214 New comprehensive test for wcscmp.
6215 * string/test-strcmp.c: Update.
6216 (WIDE): New define.
6217
9be9bfcc
AS
62182011-07-22 Andreas Schwab <schwab@redhat.com>
6219
6220 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6221 line.
6222
2e96f1c7
AS
62232011-07-26 Andreas Schwab <schwab@redhat.com>
6224
6225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6226 encoding to ACE if AI_IDN.
6227
85188888
JJ
62282011-08-01 Jakub Jelinek <jakub@redhat.com>
6229
6230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6231 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6232
5fa16e9b
LD
62332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6234
6235 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6236 Fix overflow bug in strncat.
6237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6238
6239 * string/test-strncat.c: Update.
6240 Add new tests for checking overflow bugs.
6241
62422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6243
6244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6245 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6246 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6247 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6248 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6249 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6250 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6251 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6252 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6253
6254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6255 (USE_AS_STRCAT): Define.
6256 Add strcat and strncat support.
6257 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6258
8c1a459f
AS
62592011-07-25 Andreas Schwab <schwab@redhat.com>
6260
6261 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6262 __n bigger than INT_MAX+1.
6263 (__strncmp_g): Likewise.
6264
bba33c28
UD
62652011-07-23 Ulrich Drepper <drepper@gmail.com>
6266
798be72d
UD
6267 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6268 * libio/stido.h: Likewise.
6269
8accd4dc
UD
6270 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6271 (AF_NFC): Define.
6272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6273 (AF_NFC): Define.
6274
cbff0d96
UD
6275 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6276 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6278 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6280
9191c04a
UD
6281 [BZ #13021]
6282 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6283 installed.
6284
bba33c28
UD
6285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6286 typo.
6287 (_dl_x86_64_save_sse): Likewise.
6288
90f139dd
UD
62892011-07-22 Ulrich Drepper <drepper@gmail.com>
6290
1aae088a
UD
6291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6292 OSXSAVE.
6293 (_dl_x86_64_save_sse): Likewise.
6294
8e2045f5
UD
6295 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6296
90f139dd
UD
6297 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6298
1d002f25
AS
62992011-07-21 Andreas Schwab <schwab@redhat.com>
6300
6301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6302 change.
6303 (_dl_x86_64_save_sse): Use correct AVX check.
6304
21137f89
UD
63052011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6306
6307 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6308 bug in strncpy/strncat.
6309 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6310
a65c0b7a
UD
63112011-07-21 Ulrich Drepper <drepper@gmail.com>
6312
6313 * string/tester.c (test_strcat): Add tests for different alignments
6314 of source and destination.
6315 (test_strncat): Likewise.
6316
6986b98a
UD
63172011-07-20 Ulrich Drepper <drepper@gmail.com>
6318
90bb2039
UD
6319 [BZ #12852]
6320 * posix/glob.c (glob): Check passed in values before using them in
6321 expressions to avoid some overflows.
6322 (glob_in_dir): Likewise.
6323
5644ef54
UD
6324 [BZ #13007]
6325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6326 check for AVX enablement so that we don't crash with old kernels and
6327 new hardware.
6328 * elf/tst-audit4.c: Add same checks here.
6329 * elf/tst-audit6.c: Likewise.
6330
6331 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6332
bfc9dc9b
AS
63332011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6334
6335 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6336
702e64bb
UD
63372011-07-20 Ulrich Drepper <drepper@gmail.com>
6338
6339 * po/cs.po: Update from translation team.
6340 * po/bg.po: Likewise.
6341
295e904f
MP
63422011-07-12 Marek Polacek <mpolacek@redhat.com>
6343
6344 * misc/sys/cdefs.h: Add support for const attribute.
6345 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6346 to gnu_dev_{major,minor,makedev} functions.
6347
3ff94596
MP
63482011-07-20 Marek Polacek <mpolacek@redhat.com>
6349
6350 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6351
28b59fca
AS
63522011-07-20 Andreas Schwab <schwab@redhat.com>
6353
6354 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6355 strlen results.
6356
19df733e
AK
63572011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6358
6359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6360 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6361 register in order to avoid conflicts with the soft frame pointer
6362 being held in r11 when necessary.
6363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6364 (INTERNAL_VSYSCALL_NCS): Likewise.
6365
c8835729
MP
63662011-07-14 Marek Polacek <mpolacek@redhat.com>
6367
6368 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6369 * elf/dl-fini.c (_dl_fini): Adjust caller.
6370 * elf/dl-close.c (_dl_close_worker): Likewise.
6371 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6372
b902330c
MP
63732011-07-15 Marek Polacek <mpolacek@redhat.com>
6374
8991e135
MP
6375 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6376 "aux_cache->nlibs < 0".
6377
b902330c
MP
6378 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6379 in the reload-count case.
6380
99710781
LD
63812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6382
6383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6384 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6385 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6386 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6387 * sysdeps/x86_64/multiarch/strcat.S: New file.
6388 * sysdeps/x86_64/multiarch/strncat.S: New file.
6389 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6390 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6391 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6392 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6393 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6394 (USE_AS_STRCAT): Define.
6395 Add strcat and strncat support.
6396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6397 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6398 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6399 * string/strncat.c: Update.
6400 (USE_AS_STRNCAT): Define.
6401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6402 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6403 and i7.
6404 * sysdeps/x86_64/multiarch/init-arch.h
6405 (bit_Prefer_PMINUB_for_stringop): New.
6406 (index_Prefer_PMINUB_for_stringop): Likewise.
6407 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6408 bit_Prefer_PMINUB_for_stringop.
6409
7dc6bd90
UD
64102011-07-19 Ulrich Drepper <drepper@gmail.com>
6411
6412 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6413 buffer64.
6414 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6415 of casting of buffer.
6416 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6417 buffer32 and buffer64.
6418 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6419 writes instead of casting of buffer.
6420 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6421 buffer32.
6422 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6423 casting of buffer.
6424
e0e72284
AS
64252011-07-19 Andreas Schwab <schwab@redhat.com>
6426
6427 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6428
feb1eb0b
UD
64292011-07-19 Ulrich Drepper <drepper@gmail.com>
6430
6431 * nscd/nscd.c (termination_handler): Don't do anything for a database
6432 if it has not yet been initialized.
6433
298711ff
UD
64342011-07-18 Ulrich Drepper <drepper@gmail.com>
6435
6436 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6437
64382011-07-15 Marek Polacek <mpolacek@redhat.com>
6439
6440 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6441
f9d68389
UD
64422011-07-18 Ulrich Drepper <drepper@gmail.com>
6443
6444 * po/nl.po: Update from translation team.
6445 * po/sv.po: Likewise.
6446
db290cf5
RM
64472011-07-16 Roland McGrath <roland@hack.frob.com>
6448
6449 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6450 now disallowed by GCC.
5c550700 6451
fd5e21c7
RM
6452 * configure.in (use-default-link): Default to yes if a test -shared
6453 link meets our qualifications.
6454 * configure: Regenerated.
6455
5c550700
RM
6456 * config.make.in (output-format): New variable.
6457 * configure.in: Check for ld --print-output-format support.
6458 * configure: Regenerated.
6459 * Makerules ($(common-objpfx)format.lds)
6460 [$(output-format) != unknown]: Just use $(output-format),
6461 instead of the linker-script munging.
6462
9fa2c032
RM
64632011-07-14 Roland McGrath <roland@hack.frob.com>
6464
a6928d51
RM
6465 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6466 of $(common-objpfx)shlib.lds.
6467 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6468
661607b3
RM
6469 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6470 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6471
9fa2c032
RM
6472 * configure.in (-z relro check): Adjust test code to add a large
6473 writable data section after it.
6474 * configure: Regenerated.
6475
defe9061
RM
64762011-07-11 Roland McGrath <roland@hack.frob.com>
6477
6478 * configure.in (-z relro check): Fix test code to make the variable
6479 truly const.
6480 * configure: Regenerated.
6481
319b9ad4
UD
64822011-07-11 Ulrich Drepper <drepper@gmail.com>
6483
6484 * nscd/nscd.h (struct traced_file): Define.
6485 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6486 elements. Add traced_files.
6487 (inotify_fd): Declare.
6488 (register_traced_file): Declare.
6489 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6490 (inotify_fd): Export.
6491 (resolv_conf_descr): Remove.
6492 (nscd_init): Move inotify descriptor creation to main.
6493 Don't register files for notification here.
6494 (register_traced_file): New function.
6495 (invalidate_cache): Don't use reset_res to determine whether to call
6496 res_init, go through the list of registered files.
6497 (main_loop_poll): The inotify descriptors are now stored in the
6498 structures for the traced files.
6499 (main_loop_epoll): Likewise
6500 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6501 to __nss_disable_nscd.
6502 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6503 for a database anymore. Check the records for all the registered
6504 files instead.
6505 * nss/Makefile (libnss_files-routines): Add files-init.
6506 (libnss_db-routines): Add db-init.
6507 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6508 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6509 * nss/nss_db/db-init.c: New file.
6510 * nss/nss_files/files-init.c: New file.
6511 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6512 __nss_lookup_function.
6513 (__nss_lookup_function): Call nss_load_library.
6514 (nss_load_all_libraries): New function.
6515 (__nss_disable_nscd): Take parameter with callback function for files
6516 to register. Set is_nscd. Load all the DSOs for the NSS modules
6517 used for the cached services.
6518 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6519 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6520 options for features to all the files in nscd.
6521
6522 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6523
23bee3e8
RM
65242011-07-10 Roland McGrath <roland@hack.frob.com>
6525
6526 * csu/elf-init.c (__libc_csu_init): Comment typo.
6527
46a5b7f0
UD
65282011-07-09 Ulrich Drepper <drepper@gmail.com>
6529
6530 * po/pl.po: Update from translation team.
6531 * po/ja.po: Likewise.
6532 * po/ru.po: Likewise.
6533 * po/ko.po: Likewise.
6534 * po/fr.po: Likewise.
6535
d30cf5bb
RM
65362011-07-09 Roland McGrath <roland@hack.frob.com>
6537
113ddea4
RM
6538 * configure.in (.ctors/.dtors header and trailer check):
6539 Use an empirical test on a built program.
6540 * configure: Regenerated.
6541
574920b4
RM
6542 * configure.in (-z relro check): Use an empirical test on a built DSO.
6543 Detect, but do not require, on ia64.
6544 * configure: Regenerated.
6545
d30cf5bb
RM
6546 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6547 Update tests that use readelf to use $READELF instead.
6548 * configure: Regenerated.
6549
8538fdb3
UD
65502011-07-08 Ulrich Drepper <drepper@gmail.com>
6551
6552 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6553 if the result is not used.
6554
04d08991
AJ
65552011-07-05 Andreas Jaeger <aj@suse.de>
6556
6557 [BZ#9696]
6558 * stdlib/tst-strtod.c: Add testcase.
6559
de283087
AD
65602011-07-07 Ulrich Drepper <drepper@gmail.com>
6561
4e5f31c8 6562 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6563 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6564 The latter has a higher limit. Take additional parameter to pass to
6565 the new function.
6566 (__pathconf): Pass file to __statfs_link_max.
6567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6568 __statfs_link_max.
6569 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6570 __statfs_link_max.
6571
de283087
AD
6572 [BZ #12868]
6573 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6574 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6575 Handle Lustre.
6576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6577 (__statfs_filesize_max): Likewise.
6578 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6579
c75fa153
AJ
65802011-07-05 Andreas Jaeger <aj@suse.de>
6581
6582 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6583
1a544854
UD
65842011-07-06 Marek Polacek <mpolacek@redhat.com>
6585
6586 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6587 `status' variable.
6588 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6589 Likewise.
6590
6f0eec67
UD
65912011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6592
6593 * Makefile (strop-tests): Add strncat.
6594 * string/test-strncat.c: New file.
6595
aae30307
UD
65962011-06-30 Marek Polacek <mpolacek@redhat.com>
6597
6598 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6599
c0cfb5eb
UD
66002011-06-21 Andreas Jaeger <aj@suse.de>
6601
6602 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6603 Copy rule from iconvdata/Makefile.
6604
01636b21
UD
66052011-07-06 Ulrich Drepper <drepper@gmail.com>
6606
6607 [BZ #12922]
6608 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6609 but no long options are defined, just return 'W'.
6610
9895c8bc
UD
66112011-06-22 Marek Polacek <mpolacek@redhat.com>
6612
6613 [BZ #9696]
6614 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6615
5d4cf042
UD
66162011-07-06 Ulrich Drepper <drepper@gmail.com>
6617
6618 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6619 netgroups to read.
960e5535 6620 (innetgr): Likewise.
5d4cf042 6621
751eb97e
RM
66222011-07-05 Roland McGrath <roland@hack.frob.com>
6623
6624 * config.make.in (install_root): Default to $(DESTDIR).
6625
f15f1e45
UD
66262011-07-05 Ulrich Drepper <drepper@gmail.com>
6627
6628 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6629
4e34ac6a
RM
66302011-07-02 Roland McGrath <roland@hack.frob.com>
6631
5e9b6af4
RM
6632 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6633
84f9ea0f
RM
6634 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6635 containing directory rather than embedding absolute directory names.
6636
ea5ee9f7
RM
6637 * scripts/check-local-headers.sh: Rewritten using awk.
6638 Match by word, not by line. Print error messages for matches.
6639 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6640
1b74661a
RM
6641 * Makerules [shlib-lds-flags empty]:
6642 ($(common-objpfx)libc_pic.opts): New target.
6643 ($(common-objpfx)libc_pic.os.clean): New target.
6644 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6645
6646 * config.make.in (OBJCOPY): New variable.
6647 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6648 * configure: Regenerated.
6649
f781ef40
RM
6650 * config.make.in (use-default-link): New variable.
6651 * configure.in (use_default_link): Grok --with-default-link to set it.
6652 * configure: Regenerated.
6653 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6654 (shlib-lds, shlib-lds-flags): Define to empty.
6655
2d4fa81e
RM
6656 * Makerules (shlib-lds): New variable.
6657 (shlib-lds-flags): New variable.
6658 (build-shlib, build-moduile, build-module-asneeded): Use it.
6659 ($(common-objpfx)libc.so): Use $(shlib-lds).
6660 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6661 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6662
31fffa6b
RM
6663 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6664 DT_FLAGS/DT_FLAGS_1 with zero flags.
6665
4e34ac6a
RM
6666 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6667 linker script munging.
6668
fcfc776b
UD
66692011-07-02 Ulrich Drepper <drepper@gmail.com>
6670
6671 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6672 as 128-bit value.
6673 * crypt/sha512.c (sha512_process_block): Perform total addition using
6674 128-bit if possible.
6675 (__sha512_finish_ctx): Likewise.
6676 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6677 as 64-bit value.
6678 * crypt/sha256.c (SWAP64): Define.
6679 (sha256_process_block): Perform total addition using 64-bit if
6680 possible.
6681 (__sha256_finish_ctx): Likewise.
6682
99231d9a
UD
66832011-07-01 Ulrich Drepper <drepper@gmail.com>
6684
6685 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6686 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6687 * nscd/hstcache.c (cache_addhst): Likewise.
6688 * nscd/grpcache.c (cache_addgr): Likewise.
6689 * nscd/aicache.c (addhstaiX): Likewise
6690 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6691
445b4a53
TK
66922011-07-01 Thorsten Kukuk <kukuk@suse.de>
6693
6694 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6696 * nscd/hstcache.c (cache_addhst): Likewise.
6697 * nscd/grpcache.c (cache_addgr): Likewise.
6698 * nscd/aicache.c (addhstaiX): Likewise
6699
6d4d8e8e
AS
67002011-07-01 Andreas Schwab <schwab@redhat.com>
6701
6702 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6703 domain only when needed.
6704
89f654c5
AS
67052011-06-30 Andreas Schwab <schwab@redhat.com>
6706
6707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6708 is always restored.
6709
cf3b23ff
UD
67102011-06-29 Ulrich Drepper <drepper@gmail.com>
6711
6712 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6713 are re-adding the entry.
6714 * nscd/servicescache.c (cache_addserv): Likewise.
6715
751626f9
AJ
67162011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6717
6718 * sysdeps/generic/dl-irel.h: fix protection against multiple
6719 inclusions.
6720 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6721
9113ea1f
UD
67222011-06-28 Ulrich Drepper <drepper@gmail.com>
6723
5c0b8d90
UD
6724 [BZ #12935]
6725 * malloc/memusage.sh: Fix quoting in message.
6726 * debug/xtrace.sh: Likewise.
6727
9113ea1f
UD
6728 * configure.in: Remove support for --experimental-malloc option, make
6729 it the default.
6730 * config.make.in: Likewise.
6731 * malloc/Makefile: Likewise.
6732
a4172181
AS
67332011-06-27 Andreas Schwab <schwab@redhat.com>
6734
6735 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6736 two-byte characters.
6737
78a7eee7
RM
67382011-06-27 Roland McGrath <roland@hack.frob.com>
6739
62bede13
RM
6740 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6741 AC_CACHE_CHECK invocation.
6742 * configure: Regenerated.
6743
78a7eee7
RM
6744 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6745
5ce33a62
UD
67462011-06-27 Ulrich Drepper <drepper@gmail.com>
6747
034807a9
UD
6748 [BZ #12350]
6749 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6750 bit from old_res_options.
6751
4902da17
UD
6752 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6753
5ce33a62
UD
6754 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6755 value type for setfct.
6756
c2344f56
L
67572011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6758
6759 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6760 __gettimeofday instead of gettimeofday.
6761
68468076
UD
67622011-06-26 Ulrich Drepper <drepper@gmail.com>
6763
6764 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6765
acb0d739
L
67662011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6767
6768 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6769
6770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6771 info.
6772
8912479f
L
67732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6774
6775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6776 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6777 strcpy-sse2-unaligned strncpy-sse2-unaligned
6778 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6779 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6780 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6781 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6782 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6783 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6785 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6786 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6787 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6788 (STRCPY): Support SSE2 and SSSE3 versions.
6789
d5495a11
UD
67902011-06-24 Ulrich Drepper <drepper@gmail.com>
6791
6792 [BZ #12874]
6793 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6794 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6795 kernels which artificially limit size of requests.
6796
0b1cbaae
L
67972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6798
6799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6800 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6801 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6802 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6803 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6804 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6805 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6806 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6807 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6809 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6810 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6811 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6812 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6813 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6815 Enable unaligned load optimization for Intel Core i3, i5 and i7
6816 processors.
6817 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6818 Define.
6819 (index_Fast_Unaligned_Load): Define.
6820 (HAS_FAST_UNALIGNED_LOAD): Define.
6821
07f494a0
MP
68222011-06-23 Marek Polacek <mpolacek@redhat.com>
6823
6824 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6825
fa3fc0fe
UD
68262011-06-22 Ulrich Drepper <drepper@gmail.com>
6827
6828 [BZ #12907]
6829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6830 until it is clear that the information is realy needed.
6831 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6832
e12df166
AS
68332011-06-22 Andreas Schwab <schwab@redhat.com>
6834
6835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6836
852eb34d
UD
68372011-06-22 Ulrich Drepper <drepper@gmail.com>
6838
84e2a551
UD
6839 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6840 /sys/devices/system/cpu/online if it is usable.
6841
852eb34d
UD
6842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6843 reading the information from the /proc filesystem to once a second.
6844
6e502e19
UD
68452011-06-21 Andreas Jaeger <aj@suse.de>
6846
6847 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6848 NULL after inclusion of kernel headers.
6849
75d39ff2
UD
68502011-06-21 Ulrich Drepper <drepper@gmail.com>
6851
51f9aa6a
UD
6852 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6853 calls to internal_setent.
6854
c0244a9d
UD
6855 [BZ #12885]
6856 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6857 addresses using gethostbyname4_r ignore IPv4 addresses.
6858
c5e3c2ae
UD
6859 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6860 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6861
75d39ff2
UD
6862 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6863
42675c6f
DM
68642011-06-20 David S. Miller <davem@davemloft.net>
6865
6866 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6867 inclusions.
6868 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6869
6870 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6871 (elf_irel): Use it.
6872 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6873 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6874 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6875 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6876 * sysdeps/x86_64/dl-irel.h: Likewise.
6877
6878 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6879 * elf/dl-sym.c: Likewise.
6880
57912a71
UD
68812011-06-15 Ulrich Drepper <drepper@gmail.com>
6882
6883 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6884 need to dereference resplen2.
6885
ee22793d
AS
68862011-06-14 Andreas Schwab <schwab@redhat.com>
6887
6888 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6889
a9e836b0
UD
68902011-06-15 Ulrich Drepper <drepper@gmail.com>
6891
77fb9117
UD
6892 * Makeconfig: Define vardbdir and inst_vardbdir.
6893 * nss/Makefile: Add rules to install db-Makefile.
6894
40c1b22c
UD
6895 * nss/nss_db/db-XXX.c: Cleanup.
6896
9f2da732
UD
6897 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6898 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6899 GLIBC_PRIVATE.
6900 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6901 * nss/makedb.c: Implement -g option to specify that value strings
6902 are generated and should not be added to table iterated over for
6903 get*ent calls.
6904 * nss/nss_db/db-initgroups.c: New file.
6905
82e9a1f7
UD
6906 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6907 interface.
6908
c41af17e
UD
6909 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6910 (internal_getgrouplist): Adjust to name change.
6911 Update use_initgroups_entry if this is not the first call.
6912 * nss/databases.def: Add initgroups entry.
6913
a9e836b0
UD
6914 * nss/makedb.c (compute_tables): Check result of multiple hash table
6915 sizes to minimize maximum chain length.
6916
2666d441
UD
69172011-06-14 Ulrich Drepper <drepper@gmail.com>
6918
6919 * Versions.def: Add entry for libnss_db.
6920 * shlib-versions: Likewise.
6921 * nss/Makefile: Add rules to build libnss_db.
6922 * nss/Versions: Add libnss_db information. Organize libnss_files
6923 entries better.
6924 * nss/db-Makefile: Add gshadow support. Change rules for the new
6925 makedb progra. Some minor improvements to generate smaller files.
6926 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6927 here from...
6928 * nss/makedb.c: ...here.
6929 Improve database format to be smaller and require less memory at
6930 runtime.
6931 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6932 db anymore.
6933 * nss/nss_db/db-netgrp.c: Likewise.
6934 * nss/nss_db/db-open.c: Likewise.
6935 * nss/nss_files/flies-XXX.x: Adjust comments.
6936 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6937 * nss/nss_files/files-grp.c: Likewise.
6938 * nss/nss_files/files-hosts.c: Likewise.
6939 * nss/nss_files/files-network.c: Likewise.
6940 * nss/nss_files/files-proto.c: Likewise.
6941 * nss/nss_files/files-pwd.c: Likewise.
6942 * nss/nss_files/files-rpc.c: Likewise.
6943 * nss/nss_files/files-service.c: Likewise.
6944 * nss/nss_files/files-sgrp.c: Likewise.
6945 * nss/nss_files/files-spwd.c: Likewise.
6946 * nss/nss_db/db-alias.c: Removed.
6947 * nss/nss_db/dummy-db.h: Removed.
6948
9ee76b5a
UD
69492011-06-02 Ulrich Drepper <drepper@gmail.com>
6950
6951 * nss/makedb.c: Rewritten to not use database library.
6952 * nss/Makefile: Update to build new makedb program.
6953
c71ca1f8
AJ
69542011-06-14 Andreas Jaeger <aj@suse.de>
6955
6956 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6957 memset declaration.
6958
3154bfb8
UD
69592011-06-10 Andreas Schwab <schwab@redhat.com>
6960
6961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6962 tmpbuf.
6963
b350afab
RM
69642011-06-10 Roland McGrath <roland@hack.frob.com>
6965
decd4e50
RM
6966 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6967 * elf/Makefile ($(objpfx)ld.so): Likewise.
6968
5615eaf2
RM
6969 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6970 Don't list ld.so twice in dependencies.
6971
6972 * posix/bug-regex31.c: Include <stdlib.h>.
6973
6974 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6975
6976 * nis/nss_compat/compat-spwd.c
6977 (getspent_next_nss_netgr): Remove unused variable.
6978 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6979
6980 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6981 nonmembers" output to use the right array.
6982
6983 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6984
6985 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6986
6987 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6988 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6989 * catgets/gencat.c (read_input_file): Likewise.
6990 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6991
6992 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6993 variable definition inside #if's controlling its use.
6994
6995 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6996
6997 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6998
6999 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7000
7001 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7002 unreachable code.
7003
7004 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7005
b68e08db
RM
7006 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7007 * configure: Regenerated.
7008
b350afab
RM
7009 * Makerules: Revert last change.
7010 * elf/Makefile: Likewise.
7011
28368601
RM
70122011-06-09 Roland McGrath <roland@hack.frob.com>
7013
7014 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7015 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7016 (reloc-link): Likewise.
7017
11988f8f
UD
70182011-06-09 Ulrich Drepper <drepper@gmail.com>
7019
7020 * elf/Makefile: Add rules to build pldd.
7021 * elf/pldd.c: New file.
7022 * elf/pldd-xx.c: New file.
7023
e80fab37
UD
70242011-06-07 Ulrich Drepper <drepper@gmail.com>
7025
7026 * version.h: Update for 2.15 development version.
7027
9b849836
DM
70282011-06-07 David S. Miller <davem@davemloft.net>
7029
7030 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7031 ifuncs.
7032 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7033 elf_machine_lazy_rel): Likewise.
7034 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7035 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7036 elf_machine_lazy_rel): Likewise.
7037 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7038 dl_hwcap via passed in argument.
7039 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7040 Likewise.
7041
5a31b283
AK
70422011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7043
7044 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7045
069e52f8
RM
70462011-06-06 Roland McGrath <roland@hack.frob.com>
7047
7048 [BZ #12849]
7049 * manual/fdl-1.1.texi: New file, verbatim from:
7050 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7051 * manual/lgpl-2.1.texi: New file, verbatim from:
7052 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7053 * manual/Makefile (licenses): New variable, list those new file names.
7054 (texis): Use it.
7055 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7056
7057 * manual/fdl.texi: File removed.
7058 * manual/lesser.texi: File removed.
7059 * manual/libc.texinfo (Copying, Documentation License):
7060 Use new @include file names, put @appendix directive before @include.
7061
f16846a5
JJ
70622011-06-04 Jakub Jelinek <jakub@redhat.com>
7063
7064 [BZ #12841]
7065 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7066 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7067 (mq_open): Add __NTH.
7068
3d29045b
L
70692011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7070
7071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7072 Assume Intel Core i3/i5/i7 processor if AVX is available.
7073
8c297311
UD
70742011-05-31 Ulrich Drepper <drepper@gmail.com>
7075
7076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7077 typo.
7078
c8fc0c91
UD
70792011-05-31 Andreas Schwab <schwab@redhat.com>
7080
7081 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7082 memory. Use alloca_account. Fix memory leak when retrying.
7083
5b27a807
UD
70842011-05-31 Ulrich Drepper <drepper@gmail.com>
7085
356f8bc6
UD
7086 * version.h (RELEASE): Bump for 2.14 release.
7087 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7088
5b27a807
UD
7089 * config.make.in (RANLIB): Remove entry.
7090
01f16ab0
UD
70912011-05-30 Ulrich Drepper <drepper@gmail.com>
7092
41fce8bd
UD
7093 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7094 (libc.pot): Work around missing support for .ksh extension in xgettext.
7095
4769ae77
UD
7096 [BZ #12684]
7097 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7098 if both request failed.
7099 (send_dg): In case of server errors clear resplen or *resplen2.
7100
6b1e7d19
UD
7101 [BZ #12454]
7102 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7103 when there are multiple maps.
7104 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7105 (_dl_fini): Remove test here.
7106
01f16ab0
UD
7107 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7108
b1ebd700
UD
71092011-05-29 Ulrich Drepper <drepper@gmail.com>
7110
7ae22829
UD
7111 [BZ #12350]
7112 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7113 bit from old_res_options.
7114 (gaih_inet): Likewise.
7115
553149f6 7116 [BZ #11099]
18a84741 7117 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7118 as signed.
7119
652ffab1
UD
7120 * resolv/res_init.c (res_setoptions): Make the code more compact.
7121
16985fd0
UD
7122 [BZ #11558]
7123 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7124 set RES_USEVC.
7125
0464f746
UD
7126 [BZ #11634]
7127 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7128
7d17596c
UD
7129 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7130
cf6bbbd7
UD
7131 [BZ #11781]
7132 * malloc/malloc.h: Declare malloc hook variables as volatile.
7133
13f1ab36
UD
7134 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7135 in last patch.
7136
b1ebd700
UD
7137 [BZ #11799]
7138 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7139 raise in the comment.
80e2212d
UD
7140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7141 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7142 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7143
ce67228d
UD
71442011-05-28 Ulrich Drepper <drepper@gmail.com>
7145
8887a920
UD
7146 [BZ #12811]
7147 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7148 grow the buffers more if it already has to be sufficient.
7149 (build_wcs_upper_buffer): Likewise.
7150 * posix/regexec.c (check_matching): Likewise.
7151 (clean_state_log_if_needed): Likewise.
7152 (extend_buffers): Don't enlarge buffers beyond size of the input
7153 buffer.
7154 Patches mostly by Emil Wojak <emil@wojak.eu>.
7155 * posix/bug-regex32.c: New file.
7156 * posix/Makefile (tests): Add bug-regex32.
7157
4f031072
UD
7158 * locale/findlocale.c (_nl_find_locale): Return right away if
7159 _nl_explode_name failed.
7160 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7161
d0478f0c
UD
7162 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7163
de81b246
UD
7164 * debug/xtrace.sh: Unify messages.
7165 * malloc/memusage.sh: Likewise.
7166
c738465a
UD
7167 [BZ #12813]
7168 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7169 time symbol from vDSO. Substitute with vsyscall if not available.
7170 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7171 __vdso_time.
7172
f1f929d7
UD
7173 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7174 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7175 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7176 Add sendmmsg and internal_sendmmsg.
7177 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7178 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7179 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7180
ce67228d
UD
7181 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7182 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7183 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7184
e57420c6
UD
71852011-05-27 Ulrich Drepper <drepper@gmail.com>
7186
a8509ca5
UD
7187 [BZ #12813]
7188 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7189 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7190 available.
7191 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7192 __vdso_getcpu.
7193
e57420c6
UD
7194 [BZ #12814]
7195 * iconvdata/Makefile (tests): Add bug-iconv9.
7196 * iconvdata/bug-iconv9.c: New file.
7197
4d07db15
AS
71982011-05-27 Andreas Schwab <schwab@redhat.com>
7199
7200 [BZ #12814]
7201 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7202
ea486f69
JJ
72032011-05-25 Jakub Jelinek <jakub@redhat.com>
7204
7205 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7206 (struct user_regs_struct): Change intcs field back to cs.
7207
6f038433
UD
72082011-05-25 Ulrich Drepper <drepper@gmail.com>
7209
7210 * po/ja.po: Update from translation team.
7211
67f86a25
UD
72122011-05-23 Ulrich Drepper <drepper@gmail.com>
7213
7214 [BZ #12795]
7215 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7217
def7fbd6
AS
72182011-05-20 Andreas Schwab <schwab@redhat.com>
7219
7220 * stdlib/longlong.h: Update from GCC.
7221
f50ef8f1
AS
72222011-05-23 Andreas Schwab <schwab@redhat.com>
7223
7224 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7225 parameter name.
7226 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7227 Add parameter name.
7228 (__sysconf): Pass it down.
7229
de7ce8f1
UD
72302011-05-22 Ulrich Drepper <drepper@gmail.com>
7231
f2962a71
UD
7232 [BZ #12671]
7233 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7234 some situations.
7235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7236 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7237 add in in __libc_use_alloca calls. Adjust callers.
7238 (glob): Use malloc in some situations.
7239
de7ce8f1
UD
7240 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7241 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7242 pltexit.
7243
aec84f53
UD
72442011-05-21 Ulrich Drepper <drepper@gmail.com>
7245
05bb4a68
UD
7246 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7247 and CLOCK_BOOTTIME_ALARM.
7248
7ea72f99
UD
7249 [BZ #12782]
7250 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7251 is returned.
7252
7e4afad5
UD
7253 * string/_strerror.c (__strerror_r): Print negative errors as signed
7254 numbers.
7255
8e211fec
UD
7256 [BZ #12777]
7257 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7258 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7259 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7260
f7d82dc9
UD
7261 * configure.in: Fix typo in redirection and correct removal of test
7262 files in two cases.
7263
cc9e536d
UD
7264 [BZ #12788]
7265 * locale/setlocale.c (new_composite_name): Fix test to check for
7266 identical name of all categories.
7267
aec84f53
UD
7268 [BZ #12792]
7269 * libio/filedoalloc.c (local_isatty): New function.
7270 (_IO_file_doallocate): Use local_isatty.
7271 * stdio-common/perror.c (perror): In case a new stream is used
7272 forward the stream error.
7273 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7274 error flag.
7275
78e64fdc
RT
72762011-05-20 Ulrich Drepper <drepper@gmail.com>
7277
34a9094f
UD
7278 [BZ #11869]
7279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7280 alloca.
7281 * include/alloca.h (extend_alloca_account): Define.
7282
78e64fdc
RT
7283 [BZ #11857]
7284 * posix/regex.h: Fix comments with documentation of user-accessible
7285 fields after compilation and describe correct free'ing of pattern
7286 after re_compile_pattern.
7287 Patch by Reuben Thomas <rrt@sc3d.org>.
7288
457bddfc
RA
72892011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7290
7291 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7292 and -mno-altivec to prevent the compiler from using Altivec and/or
7293 VSX instructions when the corresponding registers are not available.
7294
a4527b51
AS
72952011-05-19 Andreas Schwab <schwab@redhat.com>
7296
7297 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7298
ed690b2f
UD
72992011-05-19 Ulrich Drepper <drepper@gmail.com>
7300
7301 * libio/freopen.c (freopen): Use __dup2, not dup2.
7302 * libio/freopen64.c (freopen64): Likewise.
7303
8db73634
L
73042011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7305
7306 [BZ #12775]
7307 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7308 * math/Makefile (tests): Add test-powl.
7309 (CFLAGS-test-powl.c): Define.
7310 * math/test-powl.c: New file.
7311
0a197a9d
L
73122011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7313
7314 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7315
ee30c380
UD
73162011-05-17 Ulrich Drepper <drepper@gmail.com>
7317
7318 [BZ #11837]
7319 * iconvdata/gb18030.c: Update to GB18020-2005.
7320
6ce75379
UD
73212011-05-16 Ulrich Drepper <drepper@gmail.com>
7322
a4b89fd8
AR
7323 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7324 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7325 Patch by Aharon Robbins <arnold@skeeve.com>.
7326
ea389b12
UD
7327 [BZ #11892]
7328 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7329 on the stack.
7330
68a3f91f
UD
7331 [BZ #11895]
7332 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7333 through underflows.
7334
15cc7dd1
UD
7335 [BZ #12766]
7336 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7337 point to strings before performing equality test for error_one_per_line
7338 mode.
7339
f3799213
UD
7340 [BZ #11697]
7341 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7342
d79a9c94
UD
7343 [BZ #11820]
7344 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7345 (struct user_fpregs_struct): Avoid __uint*_t types.
7346
56e5eb46
UD
7347 [BZ #6420]
7348 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7349 symbol info. Use it instead of calling _dl_addr locally.
7350 (lock_and_info): New function.
7351 (tr_freehook): Call lock_and_info and pass symbol info as additional
7352 parameter to tr_where.
7353 (tr_mallochook): Likewise.
7354 (tr_reallochook): Likewise.
7355 (tr_memalignhook): Likewise.
7356
6ce75379
UD
7357 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7358 used and couldn't be at all thread-safe.
7359
f8a3b5bf
UD
73602011-05-15 Ulrich Drepper <drepper@gmail.com>
7361
94b7cc37
UD
7362 * libio/freopen.c (freopen): Don't close old file descriptor
7363 before the new one is opened. Instead dup the new file descriptor
7364 to the old one after the new stream is created.
7365 * libio/freopen64.c (freopen64): Likewise.
7366 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7367 * libio/fileops.c (_IO_new_file_close_it): Handle new
7368 _IO_FLAGS2_NOCLOSE flag.
7369 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7370 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7371 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7372 _IO_FLAGS2_NOCLOSE flag.
7373 * include/unistd.h: Add hidden_proto for dup3.
7374 Define __have_dup3.
7375 * io/dup3.c: Define hidden symbol.
7376 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7377
bd25564e
UD
7378 [BZ #7101]
7379 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7380 when an incomplete long option is used.
7381 * posix/tst-getopt_long1.c: New file.
7382 * posix/Makefile (tests): Add tst-getopt_long1.
7383
c84cfef4
UD
7384 [BZ #10138]
7385 * scripts/config.guess: Update from autoconf-2.68.
7386 * scripts/config.sub: Likewise.
7387
3b85df27
UD
7388 [BZ #10157]
7389 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7390 tests into ...
7391 (has_cpuclock): ...this. New function.
7392 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7393 macro here based on has_cpuclock code.
7394
15a856b1
UD
7395 [BZ #10149]
7396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7397 First byte (not low byte) is now always NUL.
7398 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7399
05f399e6
UD
7400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7401 Use non-cancelable interfaces.
7402
10a52685 7403 [BZ #9809]
94ecc67d
UD
7404 * locale/iso-639.def: Add entry for Sorani.
7405
f8a3b5bf
UD
7406 [BZ #11901]
7407 * include/stdlib.h: Move include protection to the right place.
7408 Define abort_msg_s. Declare __abort_msg with it.
7409 * stdlib/abort.c (__abort_msg): Adjust type.
7410 * assert/assert.c (__assert_fail_base): New function. Majority
7411 of code from __assert_fail. Allocate memory for __abort_msg with
7412 mmap.
7413 (__assert_fail): Now call __assert_fail_base.
7414 * assert/assert-perr.c: Remove bulk of implementation. Use
7415 __assert_fail_base.
7416 * include/assert.hL Declare __assert_fail_base.
7417 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7418 mmap.
7419 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7420
1af4e298
UD
74212011-05-14 Ulrich Drepper <drepper@gmail.com>
7422
f8a3b5bf 7423 [BZ #11952]
d26dfc60
MG
7424 [BZ #12453]
7425 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7426 until all modules are registered in the DTV.
7427 * elf/Makefile: Add rules to build and run tst-tls19.
7428 * elf/tst-tls19.c: New file.
7429 * elf/tst-tls19mod1.c: New file.
7430 * elf/tst-tls19mod2.c: New file.
7431 * elf/tst-tls19mod3.c: New file.
7432 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7433
2fc54d6f
UD
7434 [BZ #12083]
7435 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7436 correctly.
7437
98d76b46
UD
7438 [BZ #12601]
7439 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7440 two-byte sequence errors.
7441 * iconvdata/Makefile (tests): Add bug-iconv8.
7442 * iconvdata/bug-iconv8.c: New file.
7443
da3c19ef
UD
7444 [BZ #12626]
7445 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7446 buf2 definition.
7447
ca408c15
UD
7448 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7449
d6f67f7d
UD
7450 [BZ #12432]
7451 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7452 (dummy_getcfa): New function.
7453 (init): Get _Unwind_GetCFA address, use dummy if not found.
7454 (backtrace_helper): In recursion check, also check whether CFA changes.
7455 (__backtrace): Completely initialize arg.
7456
1af4e298 7457 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7458 storing incomplete byte sequence in state object. Avoid testing for
7459 guaranteed too small input if we know there is enough data available.
1af4e298 7460
da62f81b
AS
74612011-05-11 Andreas Schwab <schwab@redhat.com>
7462
7463 * Makeconfig (+link-pie): Indent.
7464 * Rules (binaries-pie): Define if $(have-fpie) and
7465 $(build-shared).
7466 (binaries-shared): Also filter out $(binaries-pie).
7467 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7468 * nscd/Makefile (others-pie): Add nscd.
7469 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7470 ($(objpfx)nscd): Remove command override.
7471 * login/Makefile (others-pie): Add pt_chown.
7472 ($(objpfx)pt_chown): Remove command override.
7473 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7474 remove command overrides.
7475
fcabc0f8
UD
74762011-05-13 Ulrich Drepper <drepper@gmail.com>
7477
20030ae6
UD
7478 * libio/tst_putwc.c: Fix error messages.
7479
fcabc0f8
UD
7480 [BZ #12724]
7481 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7482 currently writing and seek to current position when not.
7483 * libio/Makefile (tests): Add bug-fclose1.
7484 * libio/bug-fclose1.c: New file.
7485
320a5dc0
PB
74862011-05-12 Ulrich Drepper <drepper@gmail.com>
7487
7488 [BZ #12511]
7489 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7490 don't set DF_1_NODELETE here.
7491 (do_lookup_x): When entering new entry test for copy relocation
7492 and if necessary set DF_1_NODELETE flag.
7493 * elf/tst-unique4.cc: New file.
7494 * elf/tst-unique4.h: New file.
7495 * elf/tst-unique4lib.cc: New file.
7496 * elf/Makefile: Add rules to build and run tst-unique4.
7497 Patch by Piotr Bury <pbury@goahead.com>.
7498
22836f52
UD
74992011-05-11 Ulrich Drepper <drepper@gmail.com>
7500
f574184a
UD
7501 [BZ #12052]
7502 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7503
e1fb097f
UD
7504 [BZ #12625]
7505 * misc/mntent_r.c (addmntent): Flush the stream after the output
7506
22836f52
UD
7507 [BZ #12393]
7508 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7509 (is_trusted_path_normalize): Skip initial colon. Append slash
7510 to empty buffer. Duplicate is_trusted_path code but allow
7511 constructed patch to be prefix.
7512 (is_dst): Allow $ORIGIN followed by /.
7513 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7514 Correct testing of result of is_trusted_path_normalize
7515 (decompose_rpath): Fix warning.
7516
7b3b0b2a
UD
75172011-05-10 Ulrich Drepper <drepper@gmail.com>
7518
7519 [BZ #11257]
7520 * grp/initgroups.c (internal_getgrouplist): When we found the service
7521 list through the initgroups entry in nsswitch.conf do not always
7522 continue on a successful lookup. Don't always use the
eac80ce2 7523 __nss_group_database value if it is set.
7b3b0b2a
UD
7524 * nss/nsswitch.conf (initgroups): Change action for successful db
7525 lookup to continue for compatibility.
7526
2a81eaa5
UD
75272011-05-09 Ulrich Drepper <drepper@gmail.com>
7528
be97a69e
UD
7529 [BZ #11532]
7530 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7531 and CP774 modules.
7532 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7533 and CP774 modules.
7534 * iconvdata/tst-tables.sh: Likewise.
7535 * iconvdata/cp770.c: New file.
7536 * iconvdata/cp771.c: New file.
7537 * iconvdata/cp772.c: New file.
7538 * iconvdata/cp773.c: New file.
7539 * iconvdata/cp774.c: New file.
7540 * iconvdata/testdata/CP770: New file.
7541 * iconvdata/testdata/CP770..UTF8: New file.
7542 * iconvdata/testdata/CP771: New file.
7543 * iconvdata/testdata/CP771..UTF8: New file.
7544 * iconvdata/testdata/CP772: New file.
7545 * iconvdata/testdata/CP772..UTF8: New file.
7546 * iconvdata/testdata/CP773: New file.
7547 * iconvdata/testdata/CP773..UTF8: New file.
7548 * iconvdata/testdata/CP774: New file.
7549 * iconvdata/testdata/CP774..UTF8: New file.
7550
7551 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7552 END CHARMAP line.
7553 * iconvdata/gen-8bit-gap.sh: Likewise.
7554 * iconvdata/gen-8bit.sh: Likewise.
7555
c1e9e399
UD
7556 * locale/iso-639.def: Add ary entry.
7557
24c55fb3 7558 [BZ #11258]
96b4b1b0
UD
7559 * locale/C-translit.h.in: Add U20A1 transliteration.
7560
bdc2f971
KB
7561 [BZ #12178]
7562 * locale/iso-639.def: Add wae entry.
7563 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7564
2952b117
UD
7565 [BZ #12545]
7566 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7567 for n.
7568
2a81eaa5
UD
7569 [BZ #12711]
7570 * locale/C-translit.h.in: Add entry for U20B9.
7571 Patch by pravin.d.s@gmail.com.
7572
28377d1b
UD
75732011-05-08 Ulrich Drepper <drepper@gmail.com>
7574
7fb90fb8
UD
7575 [BZ #12713]
7576 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7577 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
7578 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7579 in rtld. Use *stat64.
7fb90fb8 7580 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 7581 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 7582 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
7583 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7584 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7585 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7586 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7587 __fstatat64 macros.
7fb90fb8
UD
7588 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7589 * dirent/rewinddir.c: Add libc_hidden_def.
7590 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 7591 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 7592
28377d1b
UD
7593 * include/dirent.h (__alloc_dir): Add flags parameter.
7594 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7595 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7596 __alloc_dir.
7597 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7598 from fdopendir if O_CLOEXEC is already set.
7599
66bdbaa4
AM
76002011-03-15 Alan Modra <amodra@gmail.com>
7601
7602 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7603 l_tls_firstbyte_offset non-zero. Save padding offset in
7604 l_tls_firstbyte_offset for later use.
7605 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7606 freeing static tls block.
7607
95721191
JN
76082011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7609
7610 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7611 where #ifdef was intended. The intent is to prevent ARG_MAX from
7612 being defined by the kernel headers.
7613
f87dfb1f
UD
76142011-05-07 Ulrich Drepper <drepper@gmail.com>
7615
7616 [BZ #12734]
7617 * resolv/resolv.h: Define RES_NOTLDQUERY.
7618 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7619 no-tld-query and set RES_NOTLDQUERY.
7620 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7621 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7622 modern BIND to search name as TLD unless forbidden.
7623
47c3cd7a
UD
76242011-05-07 Petr Baudis <pasky@suse.cz>
7625 Ulrich Drepper <drepper@gmail.com>
7626
7627 [BZ #12393]
7628 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7629 (is_trusted_path): ...to here.
c1e9ea35 7630 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 7631 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 7632 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 7633
8a35c912
PP
76342011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7635
7636 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7637 __BEGIN/__END_DECLS.
7638
acd41f47
UD
76392011-05-06 Ulrich Drepper <drepper@gmail.com>
7640
7641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7642 NSS_STATUS_NOTFOUND if no record was found.
7643
597df647
AS
76442011-05-05 Andreas Schwab <schwab@redhat.com>
7645
7646 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7647 (headers-not-in-tirpc): Remove rpc/netdb.h
7648 * resolv/netdb.h: Revert last change.
7649
b9af1301
PP
76502011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7651
7652 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7653 circular dependency between libgcc.a and libc.a.
7654
4e34d5f5
AS
76552011-05-05 Andreas Schwab <schwab@redhat.com>
7656
7657 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7658 * nis/Makefile: Don't install rpcsvc/*.
7659 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7660 instead of <rpc/types.h>.
7661 (MAXHOSTNAMELEN): Define.
7662
00ee369c
AS
76632011-05-03 Andreas Schwab <schwab@redhat.com>
7664
7665 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7666
0b592a30
MB
76672011-04-28 Maciej Babinski <mbabinski@google.com>
7668
7669 [BZ #12714]
7670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7671 gethostbyname4_r when IPv6 results are possible.
7672
6e04cbbe
UD
76732011-05-02 Ulrich Drepper <drepper@gmail.com>
7674
7675 [BZ #12723]
7676 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7677 _PC_PIPE_BUF handling.
7678
e4ecafe0
BH
76792011-04-30 Bruno Haible <bruno@clisp.org>
7680
7681 [BZ #12717]
7682 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7683 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7684 to 'int'.
7685 * inet/getnameinfo.c (getnameinfo): Likewise.
7686
125ee683
UD
76872011-04-29 Ulrich Drepper <drepper@gmail.com>
7688
7689 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7690 to groups setting in database lookup.
7691 * nss/nsswitch.conf: Add initgroups entry.
7692
b722481a
EB
76932011-04-22 Ulrich Drepper <drepper@gmail.com>
7694
7695 [BZ #12685]
7696 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7697 mode string.
7698 Patch by Eric Blake <eblake@redhat.com>.
7699
4df46dbd
L
77002011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7701
7702 * sunrpc/Makefile (need-export-routines): Add svc_run.
7703 (routines): Remove svc_run.
7704 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7705 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7706 * sunrpc/svc_run.c (svc_run): Likewise.
7707 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7708
e84142d2
UD
77092011-04-21 Ulrich Drepper <drepper@gmail.com>
7710
7711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7712 problem in reallocation in last patch.
7713
877175d8
UD
77142011-04-20 Ulrich Drepper <drepper@gmail.com>
7715
7716 * sunrpc/Makefile: Move inclusion of Rules.
7717
ab8eed78
UD
77182011-04-19 Ulrich Drepper <drepper@gmail.com>
7719
7720 * nss/nss_files/files-initgroups.c: New file.
7721 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7722 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7723 _nss_files_initgroups_dyn.
7724
e3d8f584
RS
77252011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7726
7727 * elf/elf.h (R_ARM_IRELATIVE): Define.
7728
af190f45
UD
77292011-04-19 Ulrich Drepper <drepper@gmail.com>
7730
7731 * po/ru.po: Update from translation team.
7732
53cf59ef
UD
77332011-04-17 Ulrich Drepper <drepper@gmail.com>
7734
7735 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7736 dependencies.
7737
4c559bcd
MF
77382011-02-06 Mike Frysinger <vapier@gentoo.org>
7739
7740 [BZ #12653]
7741 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7742 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7745 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7746
4420675c
AS
77472011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7748
7749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7750 differing bytes.
7751 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7753 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7754
75ea32ab
UD
77552011-04-17 Ulrich Drepper <drepper@gmail.com>
7756
7757 [BZ #12420]
7758 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7759 storing it.
7760 * stdlib/bug-getcontext.c: New file.
7761 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7762
27390476
AK
77632011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7764
7765 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7766 instructions into .machine "z9-109".
7767 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7768 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7769
10442705
AK
77702011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7771
7772 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7773 between environment variables and auxiliary vector.
7774
7b57bfe5
UD
77752011-04-16 Ulrich Drepper <drepper@gmail.com>
7776
7777 * Makefile: Add rules to build linkobj/libc.so.
7778 * include/libc-symbols.h: Define libc_hidden_nolink.
7779 * include/rpc/auth.h: Mark functions which are to be hidden.
7780 * include/rpc/auth_des.h: Likewise.
7781 * include/rpc/auth_unix.h: Likewise.
7782 * include/rpc/clnt.h: Likewise.
7783 * include/rpc/des_crypt.h: Likewise.
7784 * include/rpc/key_prot.h: Likewise.
7785 * include/rpc/pmap_clnt.h: Likewise.
7786 * include/rpc/pmap_prot.h: Likewise.
7787 * include/rpc/pmap_rmt.h: Likewise.
7788 * include/rpc/rpc_msg.h: Likewise.
7789 * include/rpc/svc.h: Likewise.
7790 * include/rpc/svc_auth.h: Likewise.
7791 * include/rpc/xdr.h: Likewise.
7792 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7793 * nss/Makefile: Likewise.
7794 * sunrpc/Makefile: Don't install headers. Build library with normal
7795 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7796 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7797 for the compat linking library. Remove use of INTDEF/INTUSE.
7798 * sunrpc/auth_none.c: Likewise.
7799 * sunrpc/auth_unix.c: Likewise.
7800 * sunrpc/authdes_prot.c: Likewise.
7801 * sunrpc/authuxprot.c: Likewise.
7802 * sunrpc/clnt_gen.c: Likewise.
7803 * sunrpc/clnt_perr.c: Likewise.
7804 * sunrpc/clnt_raw.c: Likewise.
7805 * sunrpc/clnt_simp.c: Likewise.
7806 * sunrpc/clnt_tcp.c: Likewise.
7807 * sunrpc/clnt_udp.c: Likewise.
7808 * sunrpc/clnt_unix.c: Likewise.
7809 * sunrpc/des_crypt.c: Likewise.
7810 * sunrpc/des_soft.c: Likewise.
7811 * sunrpc/get_myaddr.c: Likewise.
7812 * sunrpc/key_call.c: Likewise.
7813 * sunrpc/key_prot.c: Likewise.
7814 * sunrpc/netname.c: Likewise.
7815 * sunrpc/pm_getmaps.c: Likewise.
7816 * sunrpc/pm_getport.c: Likewise.
7817 * sunrpc/pmap_clnt.c: Likewise.
7818 * sunrpc/pmap_prot.c: Likewise.
7819 * sunrpc/pmap_prot2.c: Likewise.
7820 * sunrpc/pmap_rmt.c: Likewise.
7821 * sunrpc/publickey.c: Likewise.
7822 * sunrpc/rpc_cmsg.c: Likewise.
7823 * sunrpc/rpc_common.c: Likewise.
7824 * sunrpc/rpc_dtable.c: Likewise.
7825 * sunrpc/rpc_prot.c: Likewise.
7826 * sunrpc/rpc_thread.c: Likewise.
7827 * sunrpc/rtime.c: Likewise.
7828 * sunrpc/svc.c: Likewise.
7829 * sunrpc/svc_auth.c: Likewise.
7830 * sunrpc/svc_authux.c: Likewise.
7831 * sunrpc/svc_raw.c: Likewise.
7832 * sunrpc/svc_run.c: Likewise.
7833 * sunrpc/svc_simple.c: Likewise.
7834 * sunrpc/svc_tcp.c: Likewise.
7835 * sunrpc/svc_udp.c: Likewise.
7836 * sunrpc/svc_unix.c: Likewise.
7837 * sunrpc/svcauth_des.c: Likewise.
7838 * sunrpc/xcrypt.c: Likewise.
7839 * sunrpc/xdr.c: Likewise.
7840 * sunrpc/xdr_array.c: Likewise.
7841 * sunrpc/xdr_float.c: Likewise.
7842 * sunrpc/xdr_intXX_t.c: Likewise.
7843 * sunrpc/xdr_mem.c: Likewise.
7844 * sunrpc/xdr_rec.c: Likewise.
7845 * sunrpc/xdr_ref.c: Likewise.
7846 * sunrpc/xdr_sizeof.c: Likewise.
7847 * sunrpc/xdr_stdio.c: Likewise.
7848
e6c61494
UD
78492011-04-10 Ulrich Drepper <drepper@gmail.com>
7850
7851 [BZ #12650]
7852 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7853 * sysdeps/ia64/dl-tls.h: Likewise.
7854 * sysdeps/powerpc/dl-tls.h: Likewise.
7855 * sysdeps/s390/dl-tls.h: Likewise.
7856 * sysdeps/sh/dl-tls.h: Likewise.
7857 * sysdeps/sparc/dl-tls.h: Likewise.
7858 * sysdeps/x86_64/dl-tls.h: Likewise.
7859 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7860
34fe483e
AS
78612011-03-14 Andreas Schwab <schwab@redhat.com>
7862
7863 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7864 rpath element also skip the following colon.
7865 (expand_dynamic_string_token): Add is_path parameter and pass
7866 down to DL_DST_REQUIRED and _dl_dst_substitute.
7867 (decompose_rpath): Call expand_dynamic_string_token with
7868 non-zero is_path. Ignore empty rpaths.
7869 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7870 with zero is_path.
7871
f12a32e6
AS
78722011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7873
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7875 Make cancelable.
7876
38a7d692
UD
78772011-04-09 Ulrich Drepper <drepper@gmail.com>
7878
7879 [BZ #12655]
7880 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7881 Patch by Filipe David Manana <fdmanana@apache.org>.
7882
e451d22b
AS
78832011-04-07 Andreas Schwab <schwab@redhat.com>
7884
7885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7886 Maintain aligned stack.
7887 (CHECK_RSP): Remove unused macro.
7888
dedc7c7b
UD
78892011-04-03 Ulrich Drepper <drepper@gmail.com>
7890
7891 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7892 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7893
94521213
UD
78942011-04-02 Ulrich Drepper <drepper@gmail.com>
7895
7896 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7897
8cb700c0 7898 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7899
0354e355
L
79002011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7901
7902 [BZ #12518]
7903 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7904 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7905 * sysdeps/x86_64/memmove.c: New file.
7906 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7907 (memcpy): Renamed to ...
7908 (__new_memcpy): This.
7909 (memcpy): Provide GLIBC_2_14 memcpy.
7910 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7911 (memcpy): Provide GLIBC_2_2_5 memcpy.
7912
8593482f
UD
79132011-04-01 Ulrich Drepper <drepper@gmail.com>
7914
7915 [BZ #12631]
7916 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7917
81a5726b
AS
79182011-03-30 Andreas Schwab <schwab@redhat.com>
7919
7920 * misc/syncfs.c: New file.
7921 * misc/Makefile (routines): Add syncfs.
7922 * posix/unistd.h: Declare syncfs.
7923 * sysdeps/unix/syscalls.list: Add syncfs.
7924
00e5419f
AS
79252011-04-01 Andreas Schwab <schwab@redhat.com>
7926
7927 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7928 open_by_handle_at.
7929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7930 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7932 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7934 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7935 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7936
748876bf
UD
79372011-04-01 Ulrich Drepper <drepper@gmail.com>
7938
658e451d
UD
7939 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7940 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7941 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7942 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7943 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7945 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7946
748876bf
UD
7947 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7948 sync_file_range.c with -fexceptions.
7949 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7950 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7951 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7952 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7953 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7954 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7955 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7956 sync_file_range as cancellation point
7957 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7958 now a wrapper around __call_sync_file_range with cancellation handling.
7959 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7960 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7961 function name to __call_sync_file_range.
7962 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7963 Add call_sync_file_range.
748876bf 7964
6e63d5e1
AS
79652011-04-01 Andreas Schwab <schwab@redhat.com>
7966
7967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7968 bits/timex.h.
6e63d5e1 7969
46998f74
UD
79702011-04-01 Ulrich Drepper <drepper@gmail.com>
7971
4c1423ed
UD
7972 * iconv/iconv.h: Fix typo in comment.
7973 * io/fcntl.h: Likewise.
7974 * libio/stdio.h: Likewise.
7975 * posix/spawn.h: Likewise.
7976 * posix/unistd.h: Likewise.
7977 * stdlib/stdlib.h: Likewise.
7978 * time/time.h: Likewise.
7979 * wcsmbs/wchar.h: Likewise.
7980
158648c0
UD
7981 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7982 open_by_handle): Add.
7983 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7984 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7985 Augment a few comments.
7986 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7988 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7990 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7991 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7992 open_by_handle.
7993
46998f74
UD
7994 * io/fcntl.h (AT_EMPTY_PATH): Define.
7995
83fe108b
UD
79962011-03-30 Ulrich Drepper <drepper@gmail.com>
7997
7998 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7999 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8000 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8001 to...
8002 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8003 * Versions.def: Add GLIBC_2.14.
8004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8005 Export.
83fe108b 8006
bb242059
UD
80072011-03-22 Ulrich Drepper <drepper@gmail.com>
8008
8009 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8010 round counter.
8011 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8012
c97a1282
L
80132011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8014
8015 [BZ #12597]
8016 * string/test-strncmp.c (do_page_test): New function.
8017 (check2): Likewise.
8018 (test_main): Call check2.
8019 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8020
2a115601
UD
80212011-03-20 Ulrich Drepper <drepper@gmail.com>
8022
8023 [BZ #12587]
8024 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8025 Handle cache information in CPU leaf 4.
8026 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8027
8126d904
UD
80282011-03-18 Ulrich Drepper <drepper@gmail.com>
8029
042c49c6 8030 [BZ #12583]
8126d904
UD
8031 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8032 character representation.
8033 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8034
ccfe366e
RA
80352011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8036
8037 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8038 END(__isnan) to END(__isnanf) to match function entry point/label
8039 EALIGN(__isnanf,...).
8040
c6e13027
JJ
80412011-03-10 Jakub Jelinek <jakub@redhat.com>
8042
8043 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8044
33f85a3f
UD
80452011-03-10 Ulrich Drepper <drepper@gmail.com>
8046
028478fa
UD
8047 [BZ #12510]
8048 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8049 copy from the symbol referenced in the relocation to initialize the
8050 used variable.
8051 Patch by Piotr Bury <pbury@goahead.com>.
8052 * elf/Makefile: Add rules to build and tst-unique3.
8053 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8054 * elf/tst-unique3.cc: New file.
8055 * elf/tst-unique3.h: New file.
8056 * elf/tst-unique3lib.cc: New file.
8057 * elf/tst-unique3lib2.cc: New file.
8058
33f85a3f
UD
8059 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8060
03592fc7
MF
80612011-03-10 Mike Frysinger <vapier@gentoo.org>
8062
8063 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8064 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8065 to _start.
03592fc7 8066
6a5ee102
UD
80672011-03-06 Ulrich Drepper <drepper@gmail.com>
8068
8069 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8070 to-be-loaded object along a path to loader is ld.so.
8071
7e4ba49c
HJ
80722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8073 Ulrich Drepper <drepper@gmail.com>
8074
8075 * sysdeps/x86_64/memset.S: After aligning destination, code
8076 branches to different locations depending on the value of
8077 misalignment, when multiarch is enabled. Fix this.
8078
80792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8080
8081 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8082 Set _x86_64_preferred_memory_instruction for AMD processsors.
8083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8084 Set bit_Prefer_SSE_for_memop for AMD processors.
8085
13a804de
UD
80862011-03-04 Ulrich Drepper <drepper@gmail.com>
8087
8088 * libio/fmemopen.c (fmemopen): Optimize a bit.
8089
9d25c392
AS
80902011-03-03 Andreas Schwab <schwab@redhat.com>
8091
8092 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8093
a5543c6a
RM
80942011-03-03 Roland McGrath <roland@redhat.com>
8095
8096 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8097
012d35f7
DM
80982011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8099
7e4ba49c 8100 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8101 __bzero_ultra1 instead of __memset_ultra1.
8102
4bff6e01
AS
81032011-02-23 Andreas Schwab <schwab@redhat.com>
8104 Ulrich Drepper <drepper@gmail.com>
8105
8106 [BZ #12509]
8107 * include/link.h (struct link_map): Add l_orig_initfini.
8108 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8109 returning unsuccessfully.
8110 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8111 close of a file loaded at startup, restore the original l_initfini
8112 list.
8113 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8114 list, store the pointer.
8115 * elf/Makefile ($(objpfx)noload-mem): New rule.
8116 (noload-ENV): Define.
8117 (tests): Add $(objpfx)noload-mem.
8118 * elf/noload.c: Include <memcheck.h>.
8119 (main): Call mtrace. Close all opened handles.
8120
f2092faf
AS
81212011-02-17 Andreas Schwab <schwab@redhat.com>
8122
8123 [BZ #12454]
8124 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8125 dependencies are missing.
8126
6c8a2e88
ST
81272011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8128
f2092faf 8129 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8130 Hurd needs munmap.
8131 * sysdeps/mach/hurd/ifreq.h: New file.
8132
84a42118
PB
81332011-01-27 Petr Baudis <pasky@suse.cz>
8134 Ulrich Drepper <drepper@gmail.com>
8135
071f805e 8136 [BZ 12445]#
84a42118
PB
8137 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8138 to extend_alloca().
8139 * stdio-common/bug23.c: New file.
8140 * stdio-common/Makefile (tests): Add bug23.
8141
e23fe25b
AS
81422010-09-28 Andreas Schwab <schwab@redhat.com>
8143 Ulrich Drepper <drepper@gmail.com>
8144
8145 [BZ #12489]
8146 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8147 before performing relro protection. At old place add assertion
8148 to make sure nothing changed.
8149
d3f02e10
NS
81502011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8151 Glauber de Oliveira Costa <glommer@gmail.com>
8152
8153 * elf/elf.h: Add new ARM TLS relocs.
8154
d55fd7a5
RA
81552011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8156
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8158 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8159 cast from r3.
8160 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8161 'tests' variable.
8162 * sysdeps/wordsize-64/tst-writev.c: New file.
8163
2206397e
RA
81642011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8165
8166 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8167 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8168 insns in _dl_start to prevent a TOC reference before relocs are
8169 resolved.
8170
e9433893
UD
81712011-02-15 Ulrich Drepper <drepper@gmail.com>
8172
8173 [BZ #12469]
8174 * Makeconfig: Remove RANLIB definition.
8175 * Makerules: Don't use RANLIB.
8176 * aclocal.m4: Remove ranlib test.
8177 * configure.in: No need to check for ranlib.
8178 * elf/rtld-Rules: Don't use RANLIB.
8179
f75286c6
ST
81802011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8181
8e31c82d
ST
8182 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8183 protection macro.
8184 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8185 inclusion protection macro.
8186
f75286c6
ST
8187 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8188 SIGRTMIN and SIGRTMAX and print information in that case only when
8189 SIGRTMIN is defined.
8190
c1d0e639
JJ
81912011-02-11 Jakub Jelinek <jakub@redhat.com>
8192
8193 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8194 arginfo fn returning -1.
8195
8196 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8197 and thousands string is zero terminated.
8198
edf9294e
AS
81992011-02-03 Andreas Schwab <schwab@redhat.com>
8200
8201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8202 sysdeps/unix/sysv/linux/bits/socket.h.
8203
2b7e92df
ST
82042011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8205
edf9294e
AS
8206 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8207 (__CPU_COUNT): Remove old macros.
8208 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8209 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8210 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8211 (__sched_cpualloc, __sched_cpufree): Add declarations.
8212
a4c7ea7b
UD
82132011-02-05 Ulrich Drepper <drepper@gmail.com>
8214
8215 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8216 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8217 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8218 (readdhstai): Return value of addhstaiX call.
8219 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8220 (addgrbyX): Return value returned by cache_addgr.
8221 (readdgrbyname): Return value returned by addgrbyX.
8222 (readdgrbygid): Likewise.
8223 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8224 (addpwbyX): Return value returned by cache_addpw.
8225 (readdpwbyname): Return value returned by addhstbyX.
8226 (readdpwbyuid): Likewise.
8227 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8228 (addservbyX): Return value returned by cache_addserv.
8229 (readdservbyname): Return value returned by addservbyX:
8230 (readdservbyport): Likewise.
8231 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8232 (addhstbyX): Return value returned by cache_addhst.
8233 (readdhstbyname): Return value returned by addhstbyX.
8234 (readdhstbyaddr): Likewise.
8235 (readdhstbynamev6): Likewise.
8236 (readdhstbyaddrv6): Likewise.
8237 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8238 (readdinitgroups): Return value returned by addinitgroupsX.
8239 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8240 (prune_cache): Keep track of timeout value of re-added entries.
8241 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8242 * nscd/nscd.h: Adjust prototypes of readd* functions.
8243
a0bf67cc
RM
82442011-02-04 Roland McGrath <roland@redhat.com>
8245
8246 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8247 (nis_stats): Likewise.
8248 * nis/nis_modify.c (nis_modify): Likewise.
8249 * nis/nis_remove.c (nis_remove): Likewise.
8250 * nis/nis_add.c (nis_add): Likewise.
8251
8252 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8253
8254 * posix/fnmatch_loop.c: Add some consts.
8255
8256 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8257
435b95eb
L
82582011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8259
8260 [BZ #12460]
8261 * config.make.in (config-cflags-novzeroupper): Define.
8262 * configure.in: Substitute libc_cv_cc_novzeroupper.
8263 * elf/Makefile (AVX-CFLAGS): Define.
8264 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8265 (CFLAGS-tst-auditmod4a.c): Likewise.
8266 (CFLAGS-tst-auditmod4b.c): Likewise.
8267 (CFLAGS-tst-auditmod6b.c): Likewise.
8268 (CFLAGS-tst-auditmod6c.c): Likewise.
8269 (CFLAGS-tst-auditmod7b.c): Likewise.
8270 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8271
8517b15e
UD
82722011-02-02 Ulrich Drepper <drepper@gmail.com>
8273
8274 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8275 function to the callback.
8276 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8277
10a656fe
AS
82782011-02-02 Andreas Schwab <schwab@redhat.com>
8279
8280 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8281 of errno.
8282
968dad0a
UD
82832011-01-19 Ulrich Drepper <drepper@gmail.com>
8284
9f94d2ea 8285 [BZ #11724]
968dad0a
UD
8286 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8287 of constructors.
8288 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8289 of destructors.
8290 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8291
8292 [BZ #11724]
8293 * elf/Makefile: Add rules to build and run new test.
8294 * elf/tst-initorder.c: New file.
8295 * elf/tst-initorder.exp: New file.
8296 * elf/tst-initordera1.c: New file.
8297 * elf/tst-initordera2.c: New file.
8298 * elf/tst-initordera3.c: New file.
8299 * elf/tst-initordera4.c: New file.
8300 * elf/tst-initorderb1.c: New file.
8301 * elf/tst-initorderb2.c: New file.
8302 * elf/tst-order-a1.c: New file.
8303 * elf/tst-order-a2.c: New file.
8304 * elf/tst-order-a3.c: New file.
8305 * elf/tst-order-a4.c: New file.
8306 * elf/tst-order-b1.c: New file.
8307 * elf/tst-order-b2.c: New file.
8308 * elf/tst-order-main.c: New file.
8309 New test case by George Gensure <werkt0@gmail.com>.
8310
86e92359
UD
83112010-10-01 Andreas Schwab <schwab@redhat.com>
8312
8313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8314 decoding ACE if AI_CANONIDN.
8315
5d5732b0
UD
83162011-01-18 Ulrich Drepper <drepper@gmail.com>
8317
8318 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8319
a77e8cbc
UD
83202011-01-17 Ulrich Drepper <drepper@gmail.com>
8321
6392473f
UD
8322 * version.h (RELEASE): Bump for 2.13 release.
8323 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8324
620a0529
UD
8325 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8326
18ba70a5
UD
8327 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8328 MADV_NOHUGEPAGE.
32465c3e
UD
8329 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8330 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8331 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8332 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8333 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8334 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8335
c0dafcf1
UD
8336 * posix/getconf.c: Update copyright year.
8337 * catgets/gencat.c: Likewise.
8338 * csu/version.c: Likewise.
8339 * debug/catchsegv.sh: Likewise.
8340 * debug/xtrace.sh: Likewise.
8341 * elf/ldconfig.c: Likewise.
8342 * elf/ldd.bash.in: Likewise.
8343 * elf/sprof.c (print_version): Likewise.
8344 * iconv/iconv_prog.c: Likewise.
8345 * iconv/iconvconfig.c: Likewise.
8346 * locale/programs/locale.c: Likewise.
8347 * locale/programs/localedef.c: Likewise.
8348 * malloc/memusage.sh: Likewise.
8349 * malloc/mtrace.pl: Likewise.
8350 * nscd/nscd.c (print_version): Likewise.
8351 * nss/getent.c: Likewise.
8352
a77e8cbc
UD
8353 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8354 PF_CAIF, and PF_ALG.
8355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8356
77e8bddf
AS
83572011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8358
1f20b93a
AS
8359 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8360 (modules-names): Use them.
8361 (ifunc-test-modules, ifunc-pie-tests): Define.
8362 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8363 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8364 (test-extras): Likewise.
8365 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8366 $(compile-command.c).
8367 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8368 (all-built-dso): Define.
8369 (check-textrel.out, check-execstack.out): Depend on it.
8370
77e8bddf
AS
8371 * configure.in: Don't override --enable-multi-arch.
8372
bc425b33
UD
83732011-01-15 Ulrich Drepper <drepper@gmail.com>
8374
8375 [BZ #6812]
8376 * nscd/hstcache.c (tryagain): Define.
8377 (cache_addhst): Return tryagain not notfound for temporary errors.
8378 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8379 failed.
8380
794c3ad3
UD
83812011-01-14 Ulrich Drepper <drepper@gmail.com>
8382
70181fdd
UD
8383 [BZ #10563]
8384 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8385 to make the syscall.
8386 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8387
794c3ad3
UD
8388 [BZ #12378]
8389 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8390 and fall back to matching as normal character if the string ends before
8391 the matching ']' is found. This is what POSIX requires.
8392 * posix/testfnm.c: Adjust test result.
8393 * posix/globtest.sh: Adjust test result. Add new test.
8394 * posix/tst-fnmatch.input: Likewise.
8395 * posix/tst-fnmatch2.c: Add new test.
8396
68dc9497
AS
83972010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8398
8399 * elf/Makefile (check-execstack): Revert last change. Depend on
8400 check-execstack.h.
8401 (check-execstack.h): New target.
8402 (generated): Add check-execstack.h.
8403 * elf/check-execstack.c: Include "check-execstack.h".
8404 (main): Revert last change.
8405 (handle_file): Return zero if GNU_STACK is absent and
8406 DEFAULT_STACK_PERMS doesn't include PF_X.
8407
451f001b
UD
84082011-01-13 Ulrich Drepper <drepper@gmail.com>
8409
cfa28e56
UD
8410 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8411 in child fails because the descriptor is already closed.
8cf8ce17
UD
8412 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8413 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8414 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8415
1086d70d
UD
8416 [BZ #12397]
8417 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8418 syscall.
8419
451f001b
UD
8420 [BZ #10484]
8421 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8422 temporary buffer used to handle multi lookups locally.
a85b5cb4 8423 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8424
08769175
UD
84252011-01-12 Ulrich Drepper <drepper@gmail.com>
8426
8427 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8428 loader is ld.so.
8429
5e49c52e
UD
84302011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8431
8432 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8433 alignment for SSE2.
8434
60522a5f
UD
84352011-01-12 Ulrich Drepper <drepper@gmail.com>
8436
8437 [BZ #12394]
8438 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8439 characters. When rounding increased number of integer digits recompute
8440 number of groups.
8441 * stdio-common/tst-grouping.c: New file.
8442 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8443
f257bbd7
UD
84442011-01-09 Ulrich Drepper <drepper@gmail.com>
8445
8446 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8447 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8448
8449 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8450 void.
8451 * bits/select.h: Likewise.
8452
fa9c15cb
UD
84532011-01-08 Ulrich Drepper <drepper@gmail.com>
8454
8455 * po/ja.po: Update from translation team.
8456
16c2895f
DM
84572011-01-04 David S. Miller <davem@sunset.davemloft.net>
8458
8459 [BZ #11155]
8460 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8461 implementation just like for lxstat, fxstatat, et al.
8462
2543fef2
JM
84632010-12-27 Jim Meyering <meyering@redhat.com>
8464
8465 [BZ #12348]
8466 * posix/regexec.c (build_trtable): Return failure indication upon
8467 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8468
98727dbe
UD
84692010-12-25 Ulrich Drepper <drepper@gmail.com>
8470
5bd6dc5c
UD
8471 [BZ #12201]
8472 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8473 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8474 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8475 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8476
97983464
UD
8477 [BZ #12207]
8478 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8479
98727dbe
UD
8480 [BZ #12204]
8481 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8482 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8483
4a531bb0
L
84842010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8485
8486 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8487 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8488 script has SORT_BY_INIT_PRIORITY.
8489 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8490 NO_CTORS_DTORS_SECTIONS is defined.
8491 * elf/soinit.c: Likewise.
8492 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8493 NO_CTORS_DTORS_SECTIONS is defined.
8494 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8495 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8496 * sysdeps/sh/init-first.c: Likewise.
8497 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8498
07eb4b71
UD
84992010-12-24 Ulrich Drepper <drepper@gmail.com>
8500
8501 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8502 always use the slow path.
8503
30950a5f
RA
85042010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8505
8506 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8507 similar rule which adds the sysdep directories to the header search in
8508 order to pick up the correct platform stackinfo.h.
8509 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8510 perform test if it is, otherwise return successfully without testing.
8511 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8512 DEFAULT_STACK_PERMS define in stackinfo.h.
8513 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8514 defined in stackinfo.h.
8515 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8516 DEFAULT_STACK_PERMS defined in stackinfo.h.
8517 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8518 * sysdeps/ia64/stackinfo.h: Likewise.
8519 * sysdeps/s390/stackinfo.h: Likewise.
8520 * sysdeps/sh/stackinfo.h: Likewise.
8521 * sysdeps/sparc/stackinfo.h: Likewise.
8522 * sysdeps/x86_64/stackinfo.h: Likewise.
8523 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8524 PF_X for powerpc64. Retain PF_X for powerpc32.
8525
db753e2c
UD
85262010-12-19 Ulrich Drepper <drepper@gmail.com>
8527
14b697f7
UD
8528 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8529 accurately.
db753e2c
UD
8530 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8531 GETDENTS_64BIT_ALIGNED.
8532
28300719
UD
85332010-12-14 Ulrich Drepper <dreper@gmail.com>
8534
14b697f7 8535 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8536
4f197237
AS
85372010-12-10 Andreas Schwab <schwab@redhat.com>
8538
dbb0472f
AS
8539 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8540 _GNU_SOURCE.
8541
4f197237
AS
8542 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8543 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8544 Remove __restrict.
8545 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8546 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8547
fb88ac72
UD
85482010-12-09 Ulrich Drepper <drepper@gmail.com>
8549
8550 [BZ #11655]
8551 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8552 are initialized.
8553
42acbb92
JJ
85542010-12-09 Jakub Jelinek <jakub@redhat.com>
8555
8556 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8557
c038d98d
UD
85582010-12-03 Ulrich Drepper <drepper@gmail.com>
8559
8560 * po/it.po: Update from translation team.
8561
3a4a2499
L
85622010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8563
8564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8565 unused codes.
8566
1e24cf6e
UD
85672010-11-30 Ulrich Drepper <drepper@gmail.com>
8568
8569 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8570
a7690819
AS
85712010-11-24 Andreas Schwab <schwab@redhat.com>
8572
8573 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8574 specially.
8575 (gaih_getanswer_slice): Likewise.
8576
3bf8d1b1
JJ
85772010-10-20 Jakub Jelinek <jakub@redhat.com>
8578
8579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8580
6db52fbb
PB
85812010-05-31 Petr Baudis <pasky@suse.cz>
8582
8583 [BZ #11149]
8584 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8585 silently even in the chroot mode.
8586
eaca7569
UD
85872010-11-22 Ulrich Drepper <drepper@gmail.com>
8588
8589 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8590 last patch a bit. Pretty printing
8591
3056dcdb
UD
85922010-05-31 Petr Baudis <pasky@suse.cz>
8593
8594 [BZ #10085]
8595 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8596 initialization of skip_initgroups_dyn.
8597
cf7c9078
UD
85982010-11-19 Ulrich Drepper <drepper@gmail.com>
8599
8600 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8601 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8602
a1fb5e3e
UD
86032010-11-16 Ulrich Drepper <drepper@gmail.com>
8604
8605 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8606
3540d66b
AS
86072010-11-11 Andreas Schwab <schwab@redhat.com>
8608
8609 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8610 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8611 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8612 ($(objpfx)tst-fnmatch-mem): New rule.
8613 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8614 * posix/tst-fnmatch.c (main): Call mtrace.
8615
13b69574
L
86162010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8617
8618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8619 Support Intel processor model 6 and model 0x2c.
8620
da93d214
LM
86212010-11-10 Luis Machado <luisgpm@br.ibm.com>
8622
8623 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8624 signed comparison.
8625
8ca52c6e
L
86262010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8627
8628 [BZ #12205]
8629 * string/test-strncasecmp.c (check_result): New function.
8630 (do_one_test): Use it.
8631 (check1): New function.
8632 (test_main): Use it.
8633 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8634 Support strcasecmp and strncasecmp.
8635
69da074d
UD
86362010-11-08 Ulrich Drepper <drepper@gmail.com>
8637
8638 [BZ #12194]
8639 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8640 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8641
ff02d528
L
86422010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8643
8644 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8645 IFUNC support.
8646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8647 memset-x86-64.
8648 * sysdeps/x86_64/multiarch/bzero.S: New file.
8649 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8650 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8651 * sysdeps/x86_64/multiarch/memset.S: New file.
8652 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8654 Set bit_Prefer_SSE_for_memop for Intel processors.
8655 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8656 Define.
8657 (index_Prefer_SSE_for_memop): Define.
8658 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8659
344d0b54
LM
86602010-11-04 Luis Machado <luisgpm@br.ibm.com>
8661
8662 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8663 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8664
c0dde15b
UD
86652010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8666
8667 [BZ #12191]
8668 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8669 (__x86_64_raw_data_cache_size_half): Likewise.
8670 (__x86_64_raw_shared_cache_size): Likewise.
8671 (__x86_64_raw_shared_cache_size_half): Likewise.
8672
8673 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8674 (__x86_64_raw_data_cache_size_half): Likewise.
8675 (__x86_64_raw_shared_cache_size): Likewise.
8676 (__x86_64_raw_shared_cache_size_half): Likewise.
8677 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8678 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8679 and __x86_64_raw_shared_cache_size_half. Round
8680 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8681 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8682 to multiple of 256 bytes.
8683
0e516e0e
MS
86842010-11-03 Ulrich Drepper <drepper@gmail.com>
8685
8686 [BZ #12167]
8687 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8688 of inacessible symlinks. Verify result of symlink before returning it.
8689 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8690 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8691
0e012e87
ER
86922010-10-28 Erich Ritz <erichritz@gmail.com>
8693
8694 * math/math.h (isinf): Fix typo in comment.
8695
de0ff7bc
UD
86962010-11-01 Ulrich Drepper <drepper@gmail.com>
8697
8698 * po/da.po: Update from translation team.
8699
fa41c84d
UD
87002010-10-26 Ulrich Drepper <drepper@gmail.com>
8701
8702 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8703 is added to the list.
8704
f0967738
AK
87052010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8706 Ulrich Drepper <drepper@gmail.com>
8707
8708 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8709 the global list here. Move code to...
8710 (_dl_add_to_namespace_list): ...here. New function.
8711 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8712 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8713 * elf/dl-load.c (lose): Don't remove the element from the list.
8714 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8715 (_dl_map_object): Likewise.
8716
87172010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
8718
8719 [BZ #12159]
8720 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8721 into all bytes of SSE register.
8722 Patch by Richard Li <richardpku@gmail.com>.
8723
f0967738 87242010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8725
8726 [BZ #12140]
8727 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8728 perturbing.
8729
d0b9e94f
MB
87302010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8731
8732 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8733 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8734 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8735 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8737 submachine.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8739
8e9f92e9
AS
87402010-10-22 Andreas Schwab <schwab@redhat.com>
8741
8742 * include/dlfcn.h (__RTLD_SECURE): Define.
8743 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8744 mode & __RTLD_SECURE instead.
8745 (open_path): Rename preloaded parameter to secure.
8746 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8747 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8748 * elf/dl-deps.c (openaux): Likewise.
8749 * elf/rtld.c (struct map_args): Remove is_preloaded.
8750 (map_doit): Don't use it.
8751 (dl_main): Likewise.
8752 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8753 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8754
bc96fbda
AS
87552010-09-09 Andreas Schwab <schwab@redhat.com>
8756
8757 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8758 (sysd-rules-targets): Remove duplicates.
8759 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8760 rtld-%.$o dependency.
8761
22cd1c9b
AS
87622010-10-18 Andreas Schwab <schwab@redhat.com>
8763
8764 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8765 _dl_map_object do it.
8766
18edac48
UD
87672010-10-19 Ulrich Drepper <drepper@gmail.com>
8768
8769 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8770 fast fma builtins, define the macros in the C99 standard.
8771 (FP_FAST_FMAF): Likewise.
8772 (FP_FAST_FMAL): Likewise.
8773 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8774
8775 * bits/mathdef.h: Update copyright year.
8776 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8777
d2050124
MM
87782010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8779
8780 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8781 builtins, define the macros in the C99 standard.
8782 (FP_FAST_FMAF): Likewise.
8783 (FP_FAST_FMAL): Likewise.
8784 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8785 multiply/add.
8786 (FP_FAST_FMAF): Likewise.
8787
475facd1
JJ
87882010-10-15 Jakub Jelinek <jakub@redhat.com>
8789
8790 [BZ #3268]
8791 * math/libm-test.inc (fma_test): Some new testcases.
8792 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8793 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8794 y and infinite z. Do multiplication by C already in long double.
8795 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8797 y and infinite z. Do bitwise or of inexact bit into u.d.
8798 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8799 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8800 * sysdeps/i386/fpu/s_fma.S: Removed.
8801 * sysdeps/i386/fpu/s_fmal.S: Removed.
8802
7c08a05c
JJ
88032010-10-16 Jakub Jelinek <jakub@redhat.com>
8804
8805 [BZ #3268]
8806 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8808 computation is not scheduled after fetestexcept. Fix value
8809 of minimum denormal long double.
8810
f3f7372d
JJ
88112010-10-14 Jakub Jelinek <jakub@redhat.com>
8812
8813 [BZ #3268]
8814 * math/libm-test.inc (fma_test): Add some more tests.
8815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8816 correctly.
8817
14d43591
AS
88182010-10-15 Andreas Schwab <schwab@redhat.com>
8819
8820 * scripts/data/localplt-s390-linux-gnu.data: New file.
8821 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8822
5e908464
JJ
88232010-10-13 Jakub Jelinek <jakub@redhat.com>
8824
8825 [BZ #3268]
8826 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8827 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8828 instead of dbl-64.
8829 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8830 inlines.
8831 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8833 if one of x and y is very large and the other is subnormal.
8834 * sysdeps/s390/fpu/s_fmaf.c: New file.
8835 * sysdeps/s390/fpu/s_fma.c: New file.
8836 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8837 * sysdeps/powerpc/fpu/s_fma.S: New file.
8838 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8839 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8840 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8841
88422010-10-12 Jakub Jelinek <jakub@redhat.com>
8843
8844 [BZ #3268]
8845 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8846 fma tests.
8847 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8848 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8849 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8850 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8851 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8852 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8854
b833d51f
UD
88552010-10-12 Ulrich Drepper <drepper@redhat.com>
8856
8857 [BZ #12078]
8858 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8859 * posix/bug-regex31.input: Add test case.
8860
1751705d
UD
88612010-10-11 Ulrich Drepper <drepper@gmail.com>
8862
e9b9cbf5
UD
8863 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8864 * posix/bug-regex31.input: New file.
8865
8866 [BZ #12078]
8867 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8868 (parse_sub_exp): Fix last change, use postorder.
8869
ef06edbe
UD
8870 * posix/bug-regex31.c: New file.
8871 * posix/Makefile: Add rules to build and run bug-regex31.
8872
a129c80d
UD
8873 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8874
8875 [BZ #12078]
8876 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8877
b76b818e
UD
8878 [BZ #12108]
8879 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8880 to have entries in sys_siglist.
8881
1751705d
UD
8882 [BZ #12093]
8883 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8884 be NULL.
8885
9ff8d36f
JJ
88862010-10-07 Jakub Jelinek <jakub@redhat.com>
8887
8888 [BZ #3268]
8889 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8890 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8891 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8892 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8893 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8894 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8895 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8896 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8897 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8898 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8899 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8900 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8901 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8902 * math/ftestexcept.c (fetestexcept): Likewise.
8903 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8904 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8905 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8906 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8907 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8908 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8909 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8910
af325969
UD
89112010-10-11 Ulrich Drepper <drepper@gmail.com>
8912
c579b202 8913 [BZ #12107]
af325969
UD
8914 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8915 newline.
8916
67a67b95
UD
89172010-10-06 Ulrich Drepper <drepper@gmail.com>
8918
8919 * string/bug-strstr1.c: New file.
8920 * string/Makefile: Add rules to build and run bug-strstr1.
8921
5fb308bc
EB
89222010-10-05 Eric Blake <eblake@redhat.com>
8923
8924 [BZ #12092]
8925 * string/str-two-way.h (two_way_long_needle): Always clear memory
8926 when skipping input due to the shift table.
8927
45db99c7
UD
89282010-10-03 Ulrich Drepper <drepper@gmail.com>
8929
3b111893
UD
8930 [BZ #12005]
8931 * malloc/mcheck.c: Handle large requests.
8932
45db99c7
UD
8933 [BZ #12077]
8934 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8935 for strncmp and strncasecmp.
8936 * string/stratcliff.c: Add tests for strcmp and strncmp.
8937 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8938
cf7a1eb8
NI
89392010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8940
8941 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8942 __set_fpscr.
8943
6484ba5e
AJ
89442010-09-30 Andreas Jaeger <aj@suse.de>
8945
8946 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8947 (CGROUP_SUPER_MAGIC): Define.
8948 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8949 Handle btrfs and cgroup file systems.
8950 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8951 Likewise.
8952
91c42559
LM
89532010-09-27 Luis Machado <luisgpm@br.ibm.com>
8954
8955 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8956 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8957
87a97932
AK
89582010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8959
8960 [BZ #12067]
8961 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8962 trying to locate the ELF header.
8963
c21cc9bc
AS
89642010-09-27 Andreas Schwab <schwab@redhat.com>
8965
8966 [BZ #11611]
8967 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8968 Mask out sign-bit copies when constructing f_fsid.
8969
315970f6
PB
89702010-09-24 Petr Baudis <pasky@suse.cz>
8971
8972 * debug/stack_chk_fail_local.c: Add missing licence exception.
8973 * debug/warning-nop.c: Likewise.
8974
1ac7a2c7
JM
89752010-09-15 Joseph Myers <joseph@codesourcery.com>
8976
8977 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8978 implementing getdents64 using getdents syscall, set d_type if
8979 __ASSUME_GETDENTS32_D_TYPE.
8980
56801c50
AS
89812010-09-16 Andreas Schwab <schwab@redhat.com>
8982
8983 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8984 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8985
dda51327
UD
89862010-09-21 Ulrich Drepper <drepper@redhat.com>
8987
8988 [BZ #12037]
8989 * posix/unistd.h: Undo change of feature selection for ftruncate from
8990 2010-01-11.
8991
8ffcee4a
UD
89922010-09-20 Ulrich Drepper <drepper@redhat.com>
8993
a545ecd9 8994 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8995 detection.
8996
e24f0a8b
AS
89972010-09-20 Andreas Schwab <schwab@redhat.com>
8998
8999 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9000 fanotify_mark.
9001 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9002
7291c56f
AS
90032010-09-14 Andreas Schwab <schwab@redhat.com>
9004
9005 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9006 variables after CHECK_SP call.
9007 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9008
bc5fb037
AS
90092010-09-13 Andreas Schwab <schwab@redhat.com>
9010 Ulrich Drepper <drepper@redhat.com>
9011
9012 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9013 re-relocationg ld.so.
9014 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9015 _dl_init_paths call.
9016 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9017 here anymore.
9018
e66e7419
UD
90192010-09-14 Ulrich Drepper <drepper@redhat.com>
9020
9021 * resolv/res_init.c (__res_vinit): Count the default server we added.
9022
c044aa75
CLT
90232010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9024 Ulrich Drepper <drepper@redhat.com>
9025
9026 [BZ #11968]
9027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9028 (____longjmp_chk): Use %ebx for saving value across system call.
9029 Add unwind info.
9030
32cf4069
AS
90312010-09-06 Andreas Schwab <schwab@redhat.com>
9032
9033 * manual/Makefile: Don't mix pattern rules with normal rules.
9034
817328ee
AS
90352010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9036
9037 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9038 operation.
9039 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9040 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9041 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9042 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9044 Likewise.
9045
29fddf61
UD
90462010-09-04 Ulrich Drepper <drepper@redhat.com>
9047
9048 [BZ #11979]
9049 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9050 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9051
0959ffc9
UD
90522010-09-02 Ulrich Drepper <drepper@redhat.com>
9053
9054 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9055 * sysdeps/x86_64/addmul_1.S: Likewise.
9056 * sysdeps/x86_64/lshift.S: Likewise.
9057 * sysdeps/x86_64/mul_1.S: Likewise.
9058 * sysdeps/x86_64/rshift.S: Likewise.
9059 * sysdeps/x86_64/sub_n.S: Likewise.
9060 * sysdeps/x86_64/submul_1.S: Likewise.
9061
ece29840
ST
90622010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9063
0959ffc9
UD
9064 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9065 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9066 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9067 * bits/sched.h [__need_schedparam]
ece29840 9068 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9069 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9070 (__defined_schedparam): Define to 1.
ece29840
ST
9071 (__sched_param): New structure, identical to sched_param.
9072 (__need_schedparam): Undefine.
9073
e53a31fe
MF
90742010-08-31 Mike Frysinger <vapier@gentoo.org>
9075
fdc0c10d
MF
9076 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9077 (epoll_create1): Declare.
9078
e53a31fe
MF
9079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9080
a726d796
AS
90812010-08-31 Andreas Schwab <schwab@redhat.com>
9082
9083 [BZ #7066]
9084 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9085 shifting retval into place.
9086
2f3e3dc7
UD
90872010-09-01 Ulrich Drepper <drepper@redhat.com>
9088
f2933da9
UD
9089 * nis/rpcsvc/nis.h: Update copyright notice.
9090 * nis/rpcsvc/nis.x: Likewise.
9091 * nis/rpcsvc/nis_callback.h: Likewise.
9092 * nis/rpcsvc/nis_callback.x: Likewise.
9093 * nis/rpcsvc/nis_object.x: Likewise.
9094 * nis/rpcsvc/nis_tags.h: Likewise.
9095 * nis/rpcsvc/yp.h: Likewise.
9096 * nis/rpcsvc/yp.x: Likewise.
9097 * nis/rpcsvc/ypupd.h: Likewise.
9098 * nis/yp_xdr.c: Likewise.
9099 * nis/ypupdate_xdr.c: Likewise.
9100
2f3e3dc7
UD
9101 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9102 mainly the body of pmap_getport. Add parameters to specify timeouts.
9103 (pmap_getport): Use __libc_rpc_getport.
9104 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9105 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9106 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9107
f3dcc2f9
AS
91082010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9109
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9111 fanotify_mark.
9112
6d34eb5b
RM
91132010-08-27 Roland McGrath <roland@redhat.com>
9114
9115 * sysdeps/i386/i686/multiarch/Makefile
9116 (CFLAGS-varshift.c): New variable.
9117
9ea3de11
UD
91182010-08-27 Ulrich Drepper <drepper@redhat.com>
9119
c96d23fc
UD
9120 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9121 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9122
9ea3de11
UD
9123 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9124
9125 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9126
623aac7f
L
91272010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9128
9129 * sysdeps/x86_64/strlen.S: Unroll the loop.
9130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9131 strlen-sse2 strlen-sse2-bsf.
9132 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9133 __strlen_no_bsf if bit_Slow_BSF is set.
9134 (__strlen_sse42): Removed.
9135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9136 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9137
8b2b7715
RM
91382010-08-25 Roland McGrath <roland@redhat.com>
9139
9140 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9141 * sysdeps/x86_64/multiarch/varshift.c: New file.
9142 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9143 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9144 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9145 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9146
e73015f2
L
91472010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9150 strlen-sse2 strlen-sse2-bsf.
9151 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9152 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9153 (__strlen_sse2): Removed.
9154 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9157 bit_Slow_BSF for Atom.
9158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9159 (index_Slow_BSF): Define.
9160 (HAS_SLOW_BSF): Define.
9161
df24a73e
UD
91622010-08-25 Ulrich Drepper <drepper@redhat.com>
9163
9164 [BZ #10851]
9165 * resolv/res_init.c (__res_vinit): When no server address at all
9166 is given default to loopback.
9167
f2ac4868
RM
91682010-08-24 Roland McGrath <roland@redhat.com>
9169
09055553
RM
9170 * configure.in: Remove config-name.h generation.
9171 * configure: Regenerated.
9172 * config-name.in: File removed.
9173 * scripts/config-uname.sh: New file.
9174 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9175 ($(objdir)config-name.h): New target.
9176
f2ac4868
RM
9177 * sunrpc/rpc_parse.h: Avoid nested comment.
9178
73f27d5e
RH
91792010-08-24 Richard Henderson <rth@redhat.com>
9180 Ulrich Drepper <drepper@redhat.com>
9181 H.J. Lu <hongjiu.lu@intel.com>
9182
9183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9185 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9186 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9187 _mm_alignr_epi8 with _mm_loadu_si128.
9188 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9189 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9190 (__m128i_shift_right): Removed.
9191 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9192 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9193 * sysdeps/x86_64/multiarch/varshift.h: New file.
9194 * sysdeps/x86_64/multiarch/varshift.S: New file.
9195
84b9230c
MF
91962010-08-21 Mike Frysinger <vapier@gentoo.org>
9197
9198 * configure.in: Move assembler checks to before sysdep dir checking.
9199
9bbd0ddc
PB
92002010-08-20 Petr Baudis <pasky@suse.cz>
9201
9202 * LICENSES: Sync the sunrpc license.
9203
9da4bb31
UD
92042010-08-19 Ulrich Drepper <drepper@redhat.com>
9205
a7ab6ec8
UD
9206 * sunrpc/auth_des.c: Update copyright notice once again.
9207 * sunrpc/auth_none.c: Likewise.
9208 * sunrpc/auth_unix.c: Likewise.
9209 * sunrpc/authdes_prot.c: Likewise.
9210 * sunrpc/authuxprot.c: Likewise.
9211 * sunrpc/bindrsvprt.c: Likewise.
9212 * sunrpc/clnt_gen.c: Likewise.
9213 * sunrpc/clnt_perr.c: Likewise.
9214 * sunrpc/clnt_raw.c: Likewise.
9215 * sunrpc/clnt_simp.c: Likewise.
9216 * sunrpc/clnt_tcp.c: Likewise.
9217 * sunrpc/clnt_udp.c: Likewise.
9218 * sunrpc/clnt_unix.c: Likewise.
9219 * sunrpc/des_crypt.c: Likewise.
9220 * sunrpc/des_soft.c: Likewise.
9221 * sunrpc/get_myaddr.c: Likewise.
9222 * sunrpc/getrpcport.c: Likewise.
9223 * sunrpc/key_call.c: Likewise.
9224 * sunrpc/key_prot.c: Likewise.
9225 * sunrpc/openchild.c: Likewise.
9226 * sunrpc/pm_getmaps.c: Likewise.
9227 * sunrpc/pm_getport.c: Likewise.
9228 * sunrpc/pmap_clnt.c: Likewise.
9229 * sunrpc/pmap_prot.c: Likewise.
9230 * sunrpc/pmap_prot2.c: Likewise.
9231 * sunrpc/pmap_rmt.c: Likewise.
9232 * sunrpc/rpc/auth.h: Likewise.
9233 * sunrpc/rpc/auth_unix.h: Likewise.
9234 * sunrpc/rpc/clnt.h: Likewise.
9235 * sunrpc/rpc/des_crypt.h: Likewise.
9236 * sunrpc/rpc/key_prot.h: Likewise.
9237 * sunrpc/rpc/netdb.h: Likewise.
9238 * sunrpc/rpc/pmap_clnt.h: Likewise.
9239 * sunrpc/rpc/pmap_prot.h: Likewise.
9240 * sunrpc/rpc/pmap_rmt.h: Likewise.
9241 * sunrpc/rpc/rpc.h: Likewise.
9242 * sunrpc/rpc/rpc_des.h: Likewise.
9243 * sunrpc/rpc/rpc_msg.h: Likewise.
9244 * sunrpc/rpc/svc.h: Likewise.
9245 * sunrpc/rpc/svc_auth.h: Likewise.
9246 * sunrpc/rpc/types.h: Likewise.
9247 * sunrpc/rpc/xdr.h: Likewise.
9248 * sunrpc/rpc_clntout.c: Likewise.
9249 * sunrpc/rpc_cmsg.c: Likewise.
9250 * sunrpc/rpc_common.c: Likewise.
9251 * sunrpc/rpc_cout.c: Likewise.
9252 * sunrpc/rpc_dtable.c: Likewise.
9253 * sunrpc/rpc_hout.c: Likewise.
9254 * sunrpc/rpc_main.c: Likewise.
9255 * sunrpc/rpc_parse.c: Likewise.
9256 * sunrpc/rpc_parse.h: Likewise.
9257 * sunrpc/rpc_prot.c: Likewise.
9258 * sunrpc/rpc_sample.c: Likewise.
9259 * sunrpc/rpc_scan.c: Likewise.
9260 * sunrpc/rpc_scan.h: Likewise.
9261 * sunrpc/rpc_svcout.c: Likewise.
9262 * sunrpc/rpc_tblout.c: Likewise.
9263 * sunrpc/rpc_util.c: Likewise.
9264 * sunrpc/rpc_util.h: Likewise.
9265 * sunrpc/rpcinfo.c: Likewise.
9266 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9267 * sunrpc/rpcsvc/key_prot.x: Likewise.
9268 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9269 * sunrpc/rpcsvc/mount.x: Likewise.
9270 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9271 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9272 * sunrpc/rpcsvc/rex.x: Likewise.
9273 * sunrpc/rpcsvc/rstat.x: Likewise.
9274 * sunrpc/rpcsvc/rusers.x: Likewise.
9275 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9276 * sunrpc/rpcsvc/spray.x: Likewise.
9277 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9278 * sunrpc/rtime.c: Likewise.
9279 * sunrpc/svc.c: Likewise.
9280 * sunrpc/svc_auth.c: Likewise.
9281 * sunrpc/svc_authux.c: Likewise.
9282 * sunrpc/svc_raw.c: Likewise.
9283 * sunrpc/svc_run.c: Likewise.
9284 * sunrpc/svc_simple.c: Likewise.
9285 * sunrpc/svc_tcp.c: Likewise.
9286 * sunrpc/svc_udp.c: Likewise.
9287 * sunrpc/svc_unix.c: Likewise.
9288 * sunrpc/svcauth_des.c: Likewise.
9289 * sunrpc/xcrypt.c: Likewise.
9290 * sunrpc/xdr.c: Likewise.
9291 * sunrpc/xdr_array.c: Likewise.
9292 * sunrpc/xdr_float.c: Likewise.
9293 * sunrpc/xdr_mem.c: Likewise.
9294 * sunrpc/xdr_rec.c: Likewise.
9295 * sunrpc/xdr_ref.c: Likewise.
9296 * sunrpc/xdr_sizeof.c: Likewise.
9297 * sunrpc/xdr_stdio.c: Likewise.
9298
9da4bb31
UD
9299 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9300 handling.
9301
bdaa77bc
AS
93022010-08-19 Andreas Schwab <schwab@redhat.com>
9303
9304 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9305
fe2f79db
LM
93062010-08-19 Luis Machado <luisgpm@br.ibm.com>
9307
9308 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9309 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9310 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9311 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9312 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9313 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9314 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9315 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9316 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9317 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9318 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9319 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9320 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9321 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9322
b9b42ee0
AB
93232010-07-26 Anton Blanchard <anton@samba.org>
9324
9325 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9326 * malloc/arena.c (heap_trim): Likewise.
9327
1c06ba31
UD
93282010-08-16 Ulrich Drepper <drepper@redhat.com>
9329
9330 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9331 here. Not...
9332 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9333 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9334
f8392f40
L
93352010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 * sysdeps/i386/elf/Makefile: New file.
9338
3162f12e
AS
93392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9340
9341 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9342 from fanotify_init.
9343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9345
28c90b2c
UD
93462010-08-15 Ulrich Drepper <drepper@redhat.com>
9347
9348 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9349 of strncasecmp_l.
1feccb6c 9350 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9351
ca6bb004
UD
93522010-08-14 Ulrich Drepper <drepper@redhat.com>
9353
e9f82e0d
UD
9354 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9355 strncase_l-nonascii.
9356 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9357 Add strncase_l-ssse3.
9358 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9359 * sysdeps/x86_64/strcmp.S: Likewise.
9360 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9361 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9362 * sysdeps/x86_64/strncase.S: New file.
9363 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9364 * sysdeps/x86_64/strncase_l.S: New file.
9365 * string/Makefile (strop-tests): Add strncasecmp.
9366 * string/test-strncasecmp.c: New file.
9367
9368 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9369 warning.
9370
ca6bb004
UD
9371 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9372 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9373
052fa7b3
AS
93742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9375
9376 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9377
962dba78
UD
93782010-08-12 Ulrich Drepper <drepper@redhat.com>
9379
9380 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9381 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9382 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9383
bebff237
AM
93842010-05-01 Alan Modra <amodra@gmail.com>
9385
9386 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9387 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9388 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9389 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9390 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9391 tidying. Don't tail-call __sigjmp_save for static lib.
9392 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9393 save location.
9394 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9395 (CALL_MCOUNT): Add eh info, and nop after bl.
9396 (TAIL_CALL_SYSCALL_ERROR): New macro.
9397 (PSEUDO_RET): Use it.
9398 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9399 Correct save location of integer regs and cr.
9400 (_dl_profile_resolve): Correct cr save location. Delete nops
9401 after bl when SHARED. Reduce cfi size a little by better
9402 placement of cfi directives.
9403 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9404 make a stack frame. Instead use parm save area as a temp.
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9406 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9408 Don't make a stack frame for parent, use parm save area.
9409 Increase child stack frame to 112 bytes. Don't save unused reg,
9410 and adjust reg usage. Set up cfi on error recovery and
9411 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9413 (__makecontext): Add dummy nop after jump to exit.
9414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9415 Use correct parm save area and cr save, reduce stack frame.
9416 Correct cfi for possible PSEUDO_RET frame setup.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9418 Branch to local label emitted by PSEUDO_RET rather than
9419 __syscall_error.
9420
02637374
AS
94212010-08-12 Andreas Schwab <schwab@redhat.com>
9422
9423 [BZ #11904]
9424 * locale/programs/locale.c (print_assignment): New function.
9425 (show_locale_vars): Use it.
9426
c3e2f19b
UD
94272010-08-11 Ulrich Drepper <drepper@redhat.com>
9428
3cdaa6ad
UD
9429 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9430 field.
9431 (struct statfs64): Likewise.
9432 (_STATFS_F_FLAGS): Define.
9433 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9434 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9435 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9436 (ST_VALID): Define locally.
9437 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9438 __statvfs_getflags, use the provided value.
9439 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9440 __ASSUME_STATFS_F_FLAGS.
9441
754f7da3
UD
9442 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9443
10b3bedc
UD
9444 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9445 Add sys/fanotify.h.
9446 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9447 fanotify_mask for GLIBC_2.13.
9448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9449 fanotify_init and fanotify_mark.
9450 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9451 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9452
c08fb0d7
UD
9453 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9454 Add prlimit.
9455 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9456 prlimit64 for GLIBC_2.13.
9457 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9458 prlimit64.
9459 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9460 syscall.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9462 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9463 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9464 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9466 add prlimit alias.
9467 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9468
15bac72b
UD
9469 [BZ #11903]
9470 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9471 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9472
c3e2f19b
UD
9473 * nss/Makefile: Add rules to build and run tst-nss-test1.
9474 * shlib-versions: Add entry for libnss_test1.
9475 * nss/nss_test1.c: New file.
9476 * nss/tst-nss-test1.c: New file.
9477
9478 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9479 (__nss_configure_lookup): Set appropriate entry in
9480 __nss_configure_lookup to true.
9481 * nss/nsswitch.h: Define enum with indeces of databases in
9482 databases and __nss_database_custom arrays. Declare
9483 __nss_database_custom.
9484 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9485 to avoid using nscd when custom rules are installed.
9486 * nss/getXXbyYY_r.c: Likewise.
9487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9488
9489 * nss/nss_files/files-parse.c: Whitespace fixes.
9490
f15ce4d8
UD
94912010-08-09 Ulrich Drepper <drepper@redhat.com>
9492
9493 [BZ #11883]
9494 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9495 * posix/fnmatch_loop.c: Likewise.
9496
d22e4cc9
AK
94972010-07-17 Andi Kleen <ak@linux.intel.com>
9498
9499 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9500 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9501 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9502 * Versions.def [GLIBC_2.13]: Add.
9503
805bc17d
UD
95042010-08-06 Ulrich Drepper <drepper@redhat.com>
9505
9506 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9507 Also fail if tpwd after pwuid call is NULL.
9508
5a42321d
ST
95092010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9510
9511 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9512 when converting to ms.
9513
fd3ebeda
ST
95142010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9515
9516 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9517 EOPNOTSUPP errors with ENOTTY.
9518 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9519 EOPNOTSUPP errors with ENOTTY.
9520
73507d3a
UD
95212010-07-31 Ulrich Drepper <drepper@redhat.com>
9522
9523 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9524 Add strcasecmp_l-ssse3.
9525 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9526 strcasecmp.
9527 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9528 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9529 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9530
fe36dd02
UD
95312010-07-30 Ulrich Drepper <drepper@redhat.com>
9532
66f6765a
UD
9533 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9534
42e08a54
UD
9535 * string/Makefile (strop-tests): Add strcasecmp.
9536 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9537 strcasecmp_l-nonascii.
9538 (gen-as-const-headers): Add locale-defines.sym.
9539 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9540 * sysdeps/x86_64/strcasecmp.S: New file.
9541 * sysdeps/x86_64/strcasecmp_l.S: New file.
9542 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9543 * sysdeps/x86_64/locale-defines.sym: New file.
9544 * string/test-strcasecmp.c: New file.
9545
fe36dd02
UD
9546 * string/test-strcasestr.c: Test both ends of the range of characters.
9547 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9548
48cbc0d6
RM
95492010-07-29 Roland McGrath <roland@redhat.com>
9550
76e6d6bc 9551 [BZ #11856]
48cbc0d6
RM
9552 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9553
880113d9
UD
95542010-07-27 Ulrich Drepper <drepper@redhat.com>
9555
9556 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9557 for ld.so.
9558
deb9cabb
AS
95592010-07-27 Andreas Schwab <schwab@redhat.com>
9560
9561 * manual/memory.texi (Malloc Tunable Parameters): Document
9562 M_PERTURB.
9563
1c7570ff
RM
95642010-07-26 Roland McGrath <roland@redhat.com>
9565
9566 [BZ #11840]
9567 * configure.in (-fgnu89-inline check): Set and substitute
9568 gnu89_inline, not libc_cv_gnu89_inline.
9569 * configure: Regenerated.
9570 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9571
24fb0f88
UD
95722010-07-26 Ulrich Drepper <drepper@redhat.com>
9573
9574 * string/test-strnlen.c: New file.
9575 * string/Makefile (strop-tests): Add strnlen.
9576 * string/tester.c (test_strnlen): Add a few more test cases.
9577 * string/tst-strlen.c: Better error reporting.
9578
9579 * sysdeps/x86_64/strnlen.S: New file.
9580
8e96b93a
UD
95812010-07-24 Ulrich Drepper <drepper@redhat.com>
9582
9583 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9584 lower-latency instructions.
9585
dbc676d4
UD
95862010-07-23 Ulrich Drepper <drepper@redhat.com>
9587
9588 * string/test-strcasestr.c: New file.
9589 * string/test-strstr.c: New file.
9590 * string/Makefile (strop-tests): Add strstr and strcasestr.
9591 * string/str-two-way.h: Don't undefine MAX.
9592 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9593
f6a31e0e
AS
95942010-07-21 Andreas Schwab <schwab@redhat.com>
9595
9596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9597 strcasestr-nonascii.
9598 (CFLAGS-strcasestr-nonascii.c): Define.
9599 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9600 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9601 Remove unused attribute.
9602
5dbc3b6c
RM
96032010-07-20 Roland McGrath <roland@redhat.com>
9604
9605 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9606 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9607 ld.so.cache was broken. With it, there is no way to disable dsocaps
9608 like LD_HWCAP_MASK can disable hwcaps.
9609
23d101d8
EPM
96102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9611
9612 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9613
cc9f2e47
UD
96142010-07-16 Ulrich Drepper <drepper@redhat.com>
9615
9616 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9617 call in strcasestr.
9618 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9619 __strcasestr_sse42_nonascii.
9620 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9621 strcasestr-nonascii.c.
9622 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9623
77c1b069
LM
96242010-06-15 Luis Machado <luisgpm@br.ibm.com>
9625
9626 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9627 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9628 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9629 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9630
440566c3
UD
96312010-07-09 Ulrich Drepper <drepper@redhat.com>
9632
9633 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9634 fcntl.
9635
5be9d05d
AS
96362010-07-06 Andreas Schwab <schwab@redhat.com>
9637
c30b7ee2 9638 [BZ #11577]
5be9d05d
AS
9639 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9640 dl_signal_cerror.
9641
8a492a67
UD
96422010-07-06 Ulrich Drepper <drepper@redhat.com>
9643
9644 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9645 _PC_PIPE_BUF using F_GETPIPE_SZ.
9646
713df3d5
RM
96472010-07-05 Roland McGrath <roland@redhat.com>
9648
9649 * manual/arith.texi (Rounding Functions): Fix rint description
9650 implicit in round description.
9651
702e8f14
UD
96522010-07-02 Ulrich Drepper <drepper@redhat.com>
9653
9654 * elf/Makefile: Fix linking for a few tests to make recent linker
9655 happy.
9656
52ed8be9
AS
96572010-06-30 Andreas Schwab <schwab@redhat.com>
9658
9659 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9660 $(common-objpfx)libc_nonshared.a.
9661
f47c9a11
LM
96622010-06-21 Luis Machado <luisgpm@br.ibm.com>
9663
9664 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9665 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9666 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9667 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9668 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9669 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9670 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9671 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9686 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9687 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9688 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9689 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9690 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9691 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9692 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9693 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9694 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9695 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9696 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9697 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9712
6fb8cbcb
L
97132010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9714
9715 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9716 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9717 * string/memmove.c (memmove): Renamed to ...
9718 (MEMMOVE): ...this. Default to memmove.
9719 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9720 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9721 (END_CHK): Define.
9722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9723 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9724 mempcpy-ssse3-back memmove-ssse3-back.
9725 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9727 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9728 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9729 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9730 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9731 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9732 * sysdeps/x86_64/multiarch/memmove.c: New file.
9733 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9734 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9735 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9736 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9737 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9738 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9739 Define.
9740 (index_Fast_Copy_Backward): Define.
9741 (HAS_ARCH_FEATURE): Define.
9742 (HAS_FAST_REP_STRING): Define.
9743 (HAS_FAST_COPY_BACKWARD): Define.
9744
4e733bac 97452010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
9746
9747 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9748 Restore proper fallback handling.
9749
63c4ed22
UD
97502010-06-19 Ulrich Drepper <drepper@redhat.com>
9751
ac2b484c
UD
9752 [BZ #11701]
9753 * posix/group_member.c (__group_member): Correct checking loop.
9754
63c4ed22
UD
9755 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9756 OOM in getpwuid_r correctly. Return error number when the caller
9757 should return, otherwise -1.
9758 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9759 call returning > 0 value.
9760 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9761
765ade4b
AS
97622010-06-07 Andreas Schwab <schwab@redhat.com>
9763
9764 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9765 libc_nonshared.a from targets in modules-names.
9766
80da2e09
KS
97672010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9768
9769 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9770 requires it.
9771
158db122
LM
97722010-06-10 Luis Machado <luisgpm@br.ibm.com>
9773
9774 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9775 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9776 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9777 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9778
caa78cf8
AS
97792010-06-02 Andreas Schwab <schwab@redhat.com>
9780
9781 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9782
b2ef2c01
UD
97832010-06-14 Ulrich Drepper <drepper@redhat.com>
9784
9785 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9786 and F_GETPIPE_SZ.
9787 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9788 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9791 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9792 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9793
fbd643b6
RM
97942010-06-14 Roland McGrath <roland@redhat.com>
9795
9796 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9797
f32f2869
JJ
97982010-06-07 Jakub Jelinek <jakub@redhat.com>
9799
9800 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9801 __REDIRECT followed by __THROW.
9802 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9803 * posix/getopt.h (getopt): Likewise.
9804
2a50c078
EPM
98052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9806
9807 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9808 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9809 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9810 in AT_FLAGS.
9811 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9812 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9813
eb5ad2eb
LM
98142010-05-28 Luis Machado <luisgpm@br.ibm.com>
9815
9816 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9817
3c88fe1e
L
98182010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9819
9820 [BZ #11640]
9821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9822 Properly check family and model.
9823
d2f73151
TY
98242010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9825
9826 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9827
ebd2e13d
LM
98282010-05-24 Luis Machado <luisgpm@br.ibm.com>
9829
9830 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9831
b32b8b45
UD
98322010-05-21 Ulrich Drepper <drepper@redhat.com>
9833
9834 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9835 symbol reference.
9836
9acbe24d
AS
98372010-05-19 Andreas Schwab <schwab@redhat.com>
9838
9839 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9840 symbol reference.
9841
f0ccf6ea
AS
98422010-05-21 Andreas Schwab <schwab@redhat.com>
9843
3d04ff3a
AS
9844 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9845 and internal_recvmmsg.
9846 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9847 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9848 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9849 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9850
f0ccf6ea
AS
9851 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9852 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9853 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9854
5b08ac57
AS
98552010-05-20 Andreas Schwab <schwab@redhat.com>
9856
9857 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9858
4828935d
LM
98592010-05-17 Luis Machado <luisgpm@br.ibm.com>
9860
9861 POWER7 optimizations.
9862 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9863 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9864
373d545e
UD
98652010-05-19 Ulrich Drepper <drepper@redhat.com>
9866
9867 * version.h: Update for 2.13 development version.
9868
21a2b1ae
AS
98692010-05-12 Andrew Stubbs <ams@codesourcery.com>
9870
9871 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9872 exceptions. Return 0.
9873
3f7dcb2b
RM
98742010-05-07 Roland McGrath <roland@redhat.com>
9875
9876 * elf/ldconfig.c (main): Add a const.
9877
5f24d53a 98782010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9879
a160f8d8
UD
9880 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9881 (args_options): Add no-idn option.
9882 (ahosts_keys_int): Add idn_flags to ai_flags.
9883 (parse_option): Handle 'i' option to clear idn_flags.
9884
5f24d53a
UD
9885 * malloc/malloc.c (_int_free): Possible race in the most recently
9886 added check. Only act on the data if no current modification
9887 happened.
265bb1ce
UD
9888
9889See ChangeLog.17 for earlier changes.