]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use <> for math.h and math_private.h everywhere.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1ed0291c
RH
12012-03-09 Richard Henderson <rth@twiddle.net>
2
3 * sysdeps/i386/fpu/s_fpclassifyl.c, sysdeps/i386/fpu/s_isinfl.c,
4 sysdeps/i386/fpu/s_isnanl.c, sysdeps/i386/fpu/s_nextafterl.c,
5 sysdeps/i386/fpu/s_nexttoward.c, sysdeps/i386/fpu/s_nexttowardf.c,
6 sysdeps/ieee754/dbl-64/branred.c, sysdeps/ieee754/dbl-64/doasin.c,
7 sysdeps/ieee754/dbl-64/dosincos.c, sysdeps/ieee754/dbl-64/e_acosh.c,
8 sysdeps/ieee754/dbl-64/e_asin.c, sysdeps/ieee754/dbl-64/e_atan2.c,
9 sysdeps/ieee754/dbl-64/e_atanh.c, sysdeps/ieee754/dbl-64/e_cosh.c,
10 sysdeps/ieee754/dbl-64/e_exp.c, sysdeps/ieee754/dbl-64/e_fmod.c,
11 sysdeps/ieee754/dbl-64/e_hypot.c, sysdeps/ieee754/dbl-64/e_j0.c,
12 sysdeps/ieee754/dbl-64/e_j1.c, sysdeps/ieee754/dbl-64/e_jn.c,
13 sysdeps/ieee754/dbl-64/e_lgamma_r.c, sysdeps/ieee754/dbl-64/e_log.c,
14 sysdeps/ieee754/dbl-64/e_log10.c, sysdeps/ieee754/dbl-64/e_log2.c,
15 sysdeps/ieee754/dbl-64/e_pow.c, sysdeps/ieee754/dbl-64/e_rem_pio2.c,
16 sysdeps/ieee754/dbl-64/e_remainder.c, sysdeps/ieee754/dbl-64/e_sinh.c,
17 sysdeps/ieee754/dbl-64/e_sqrt.c, sysdeps/ieee754/dbl-64/halfulp.c,
18 sysdeps/ieee754/dbl-64/k_rem_pio2.c, sysdeps/ieee754/dbl-64/s_asinh.c,
19 sysdeps/ieee754/dbl-64/s_atan.c, sysdeps/ieee754/dbl-64/s_cbrt.c,
20 sysdeps/ieee754/dbl-64/s_ceil.c, sysdeps/ieee754/dbl-64/s_copysign.c,
21 sysdeps/ieee754/dbl-64/s_erf.c, sysdeps/ieee754/dbl-64/s_expm1.c,
22 sysdeps/ieee754/dbl-64/s_fabs.c, sysdeps/ieee754/dbl-64/s_finite.c,
23 sysdeps/ieee754/dbl-64/s_floor.c, sysdeps/ieee754/dbl-64/s_fpclassify.c,
24 sysdeps/ieee754/dbl-64/s_frexp.c, sysdeps/ieee754/dbl-64/s_ilogb.c,
25 sysdeps/ieee754/dbl-64/s_isinf.c, sysdeps/ieee754/dbl-64/s_isinf_ns.c,
26 sysdeps/ieee754/dbl-64/s_isnan.c, sysdeps/ieee754/dbl-64/s_llrint.c,
27 sysdeps/ieee754/dbl-64/s_llround.c, sysdeps/ieee754/dbl-64/s_log1p.c,
28 sysdeps/ieee754/dbl-64/s_logb.c, sysdeps/ieee754/dbl-64/s_lrint.c,
29 sysdeps/ieee754/dbl-64/s_lround.c, sysdeps/ieee754/dbl-64/s_modf.c,
30 sysdeps/ieee754/dbl-64/s_nearbyint.c, sysdeps/ieee754/dbl-64/s_remquo.c,
31 sysdeps/ieee754/dbl-64/s_rint.c, sysdeps/ieee754/dbl-64/s_round.c,
32 sysdeps/ieee754/dbl-64/s_scalbln.c, sysdeps/ieee754/dbl-64/s_scalbn.c,
33 sysdeps/ieee754/dbl-64/s_signbit.c, sysdeps/ieee754/dbl-64/s_sin.c,
34 sysdeps/ieee754/dbl-64/s_sincos.c, sysdeps/ieee754/dbl-64/s_tan.c,
35 sysdeps/ieee754/dbl-64/s_tanh.c, sysdeps/ieee754/dbl-64/s_trunc.c,
36 sysdeps/ieee754/dbl-64/sincos32.c, sysdeps/ieee754/dbl-64/slowexp.c,
37 sysdeps/ieee754/dbl-64/slowpow.c,
38 sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c,
39 sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c,
40 sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c,
41 sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c,
42 sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c,
43 sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c,
44 sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c,
45 sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c,
46 sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c,
47 sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c,
48 sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c,
49 sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c,
50 sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c,
51 sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c,
52 sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c,
53 sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c,
54 sysdeps/ieee754/dbl-64/wordsize-64/s_round.c,
55 sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c,
56 sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c,
57 sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c,
58 sysdeps/ieee754/flt-32/e_acosf.c, sysdeps/ieee754/flt-32/e_acoshf.c,
59 sysdeps/ieee754/flt-32/e_asinf.c, sysdeps/ieee754/flt-32/e_atan2f.c,
60 sysdeps/ieee754/flt-32/e_atanhf.c, sysdeps/ieee754/flt-32/e_coshf.c,
61 sysdeps/ieee754/flt-32/e_fmodf.c, sysdeps/ieee754/flt-32/e_hypotf.c,
62 sysdeps/ieee754/flt-32/e_j0f.c, sysdeps/ieee754/flt-32/e_j1f.c,
63 sysdeps/ieee754/flt-32/e_jnf.c, sysdeps/ieee754/flt-32/e_lgammaf_r.c,
64 sysdeps/ieee754/flt-32/e_log10f.c, sysdeps/ieee754/flt-32/e_log2f.c,
65 sysdeps/ieee754/flt-32/e_logf.c, sysdeps/ieee754/flt-32/e_powf.c,
66 sysdeps/ieee754/flt-32/e_rem_pio2f.c,
67 sysdeps/ieee754/flt-32/e_remainderf.c,
68 sysdeps/ieee754/flt-32/e_sinhf.c, sysdeps/ieee754/flt-32/e_sqrtf.c,
69 sysdeps/ieee754/flt-32/k_cosf.c, sysdeps/ieee754/flt-32/k_rem_pio2f.c,
70 sysdeps/ieee754/flt-32/k_sinf.c, sysdeps/ieee754/flt-32/k_tanf.c,
71 sysdeps/ieee754/flt-32/s_asinhf.c, sysdeps/ieee754/flt-32/s_atanf.c,
72 sysdeps/ieee754/flt-32/s_cbrtf.c, sysdeps/ieee754/flt-32/s_ceilf.c,
73 sysdeps/ieee754/flt-32/s_copysignf.c, sysdeps/ieee754/flt-32/s_cosf.c,
74 sysdeps/ieee754/flt-32/s_erff.c, sysdeps/ieee754/flt-32/s_expm1f.c,
75 sysdeps/ieee754/flt-32/s_fabsf.c, sysdeps/ieee754/flt-32/s_finitef.c,
76 sysdeps/ieee754/flt-32/s_floorf.c, sysdeps/ieee754/flt-32/s_fpclassifyf.c,
77 sysdeps/ieee754/flt-32/s_frexpf.c, sysdeps/ieee754/flt-32/s_ilogbf.c,
78 sysdeps/ieee754/flt-32/s_isinf_nsf.c, sysdeps/ieee754/flt-32/s_isinff.c,
79 sysdeps/ieee754/flt-32/s_isnanf.c, sysdeps/ieee754/flt-32/s_llrintf.c,
80 sysdeps/ieee754/flt-32/s_llroundf.c, sysdeps/ieee754/flt-32/s_log1pf.c,
81 sysdeps/ieee754/flt-32/s_logbf.c, sysdeps/ieee754/flt-32/s_lrintf.c,
82 sysdeps/ieee754/flt-32/s_lroundf.c, sysdeps/ieee754/flt-32/s_modff.c,
83 sysdeps/ieee754/flt-32/s_nearbyintf.c,
84 sysdeps/ieee754/flt-32/s_nextafterf.c,
85 sysdeps/ieee754/flt-32/s_remquof.c, sysdeps/ieee754/flt-32/s_rintf.c,
86 sysdeps/ieee754/flt-32/s_roundf.c, sysdeps/ieee754/flt-32/s_scalblnf.c,
87 sysdeps/ieee754/flt-32/s_scalbnf.c, sysdeps/ieee754/flt-32/s_signbitf.c,
88 sysdeps/ieee754/flt-32/s_sincosf.c, sysdeps/ieee754/flt-32/s_sinf.c,
89 sysdeps/ieee754/flt-32/s_tanf.c, sysdeps/ieee754/flt-32/s_tanhf.c,
90 sysdeps/ieee754/flt-32/s_truncf.c, sysdeps/ieee754/k_standard.c,
91 sysdeps/ieee754/ldbl-128/e_acoshl.c, sysdeps/ieee754/ldbl-128/e_acosl.c,
92 sysdeps/ieee754/ldbl-128/e_asinl.c, sysdeps/ieee754/ldbl-128/e_atan2l.c,
93 sysdeps/ieee754/ldbl-128/e_atanhl.c, sysdeps/ieee754/ldbl-128/e_coshl.c,
94 sysdeps/ieee754/ldbl-128/e_fmodl.c, sysdeps/ieee754/ldbl-128/e_hypotl.c,
95 sysdeps/ieee754/ldbl-128/e_j0l.c, sysdeps/ieee754/ldbl-128/e_j1l.c,
96 sysdeps/ieee754/ldbl-128/e_jnl.c, sysdeps/ieee754/ldbl-128/e_lgammal_r.c,
97 sysdeps/ieee754/ldbl-128/e_log10l.c, sysdeps/ieee754/ldbl-128/e_log2l.c,
98 sysdeps/ieee754/ldbl-128/e_logl.c, sysdeps/ieee754/ldbl-128/e_powl.c,
99 sysdeps/ieee754/ldbl-128/e_rem_pio2l.c,
100 sysdeps/ieee754/ldbl-128/e_remainderl.c,
101 sysdeps/ieee754/ldbl-128/e_sinhl.c, sysdeps/ieee754/ldbl-128/k_cosl.c,
102 sysdeps/ieee754/ldbl-128/k_sincosl.c, sysdeps/ieee754/ldbl-128/k_sinl.c,
103 sysdeps/ieee754/ldbl-128/k_tanl.c, sysdeps/ieee754/ldbl-128/s_asinhl.c,
104 sysdeps/ieee754/ldbl-128/s_atanl.c, sysdeps/ieee754/ldbl-128/s_cbrtl.c,
105 sysdeps/ieee754/ldbl-128/s_ceill.c, sysdeps/ieee754/ldbl-128/s_copysignl.c,
106 sysdeps/ieee754/ldbl-128/s_cosl.c, sysdeps/ieee754/ldbl-128/s_erfl.c,
107 sysdeps/ieee754/ldbl-128/s_expm1l.c, sysdeps/ieee754/ldbl-128/s_fabsl.c,
108 sysdeps/ieee754/ldbl-128/s_finitel.c, sysdeps/ieee754/ldbl-128/s_floorl.c,
109 sysdeps/ieee754/ldbl-128/s_fpclassifyl.c,
110 sysdeps/ieee754/ldbl-128/s_frexpl.c, sysdeps/ieee754/ldbl-128/s_ilogbl.c,
111 sysdeps/ieee754/ldbl-128/s_isinf_nsl.c,
112 sysdeps/ieee754/ldbl-128/s_isinfl.c, sysdeps/ieee754/ldbl-128/s_isnanl.c,
113 sysdeps/ieee754/ldbl-128/s_llrintl.c, sysdeps/ieee754/ldbl-128/s_llroundl.c,
114 sysdeps/ieee754/ldbl-128/s_log1pl.c, sysdeps/ieee754/ldbl-128/s_logbl.c,
115 sysdeps/ieee754/ldbl-128/s_lrintl.c, sysdeps/ieee754/ldbl-128/s_lroundl.c,
116 sysdeps/ieee754/ldbl-128/s_modfl.c, sysdeps/ieee754/ldbl-128/s_nearbyintl.c,
117 sysdeps/ieee754/ldbl-128/s_nextafterl.c,
118 sysdeps/ieee754/ldbl-128/s_nexttoward.c,
119 sysdeps/ieee754/ldbl-128/s_nexttowardf.c,
120 sysdeps/ieee754/ldbl-128/s_remquol.c, sysdeps/ieee754/ldbl-128/s_rintl.c,
121 sysdeps/ieee754/ldbl-128/s_roundl.c, sysdeps/ieee754/ldbl-128/s_scalblnl.c,
122 sysdeps/ieee754/ldbl-128/s_scalbnl.c, sysdeps/ieee754/ldbl-128/s_signbitl.c,
123 sysdeps/ieee754/ldbl-128/s_sincosl.c, sysdeps/ieee754/ldbl-128/s_sinl.c,
124 sysdeps/ieee754/ldbl-128/s_tanhl.c, sysdeps/ieee754/ldbl-128/s_tanl.c,
125 sysdeps/ieee754/ldbl-128/s_truncl.c, sysdeps/ieee754/ldbl-128/w_expl.c,
126 sysdeps/ieee754/ldbl-128ibm/e_acoshl.c,
127 sysdeps/ieee754/ldbl-128ibm/e_acosl.c,
128 sysdeps/ieee754/ldbl-128ibm/e_asinl.c,
129 sysdeps/ieee754/ldbl-128ibm/e_atan2l.c,
130 sysdeps/ieee754/ldbl-128ibm/e_atanhl.c,
131 sysdeps/ieee754/ldbl-128ibm/e_coshl.c,
132 sysdeps/ieee754/ldbl-128ibm/e_fmodl.c,
133 sysdeps/ieee754/ldbl-128ibm/e_hypotl.c,
134 sysdeps/ieee754/ldbl-128ibm/e_jnl.c,
135 sysdeps/ieee754/ldbl-128ibm/e_log10l.c,
136 sysdeps/ieee754/ldbl-128ibm/e_log2l.c,
137 sysdeps/ieee754/ldbl-128ibm/e_logl.c, sysdeps/ieee754/ldbl-128ibm/e_powl.c,
138 sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c,
139 sysdeps/ieee754/ldbl-128ibm/e_remainderl.c,
140 sysdeps/ieee754/ldbl-128ibm/e_sinhl.c, sysdeps/ieee754/ldbl-128ibm/k_cosl.c,
141 sysdeps/ieee754/ldbl-128ibm/k_sincosl.c,
142 sysdeps/ieee754/ldbl-128ibm/k_sinl.c, sysdeps/ieee754/ldbl-128ibm/k_tanl.c,
143 sysdeps/ieee754/ldbl-128ibm/s_asinhl.c,
144 sysdeps/ieee754/ldbl-128ibm/s_atanl.c,
145 sysdeps/ieee754/ldbl-128ibm/s_copysignl.c,
146 sysdeps/ieee754/ldbl-128ibm/s_cosl.c,
147 sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c,
148 sysdeps/ieee754/ldbl-128ibm/s_ctanl.c,
149 sysdeps/ieee754/ldbl-128ibm/s_erfl.c,
150 sysdeps/ieee754/ldbl-128ibm/s_expm1l.c,
151 sysdeps/ieee754/ldbl-128ibm/s_fabsl.c,
152 sysdeps/ieee754/ldbl-128ibm/s_finitel.c,
153 sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c,
154 sysdeps/ieee754/ldbl-128ibm/s_frexpl.c,
155 sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c,
156 sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c,
157 sysdeps/ieee754/ldbl-128ibm/s_isinfl.c,
158 sysdeps/ieee754/ldbl-128ibm/s_isnanl.c,
159 sysdeps/ieee754/ldbl-128ibm/s_log1pl.c,
160 sysdeps/ieee754/ldbl-128ibm/s_logbl.c,
161 sysdeps/ieee754/ldbl-128ibm/s_modfl.c,
162 sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c,
163 sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c,
164 sysdeps/ieee754/ldbl-128ibm/s_remquol.c,
165 sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c,
166 sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c,
167 sysdeps/ieee754/ldbl-128ibm/s_signbitl.c,
168 sysdeps/ieee754/ldbl-128ibm/s_sincosl.c,
169 sysdeps/ieee754/ldbl-128ibm/s_sinl.c,
170 sysdeps/ieee754/ldbl-128ibm/s_tanhl.c,
171 sysdeps/ieee754/ldbl-128ibm/s_tanl.c,
172 sysdeps/ieee754/ldbl-96/e_acoshl.c, sysdeps/ieee754/ldbl-96/e_asinl.c,
173 sysdeps/ieee754/ldbl-96/e_atan2l.c, sysdeps/ieee754/ldbl-96/e_atanhl.c,
174 sysdeps/ieee754/ldbl-96/e_coshl.c, sysdeps/ieee754/ldbl-96/e_hypotl.c,
175 sysdeps/ieee754/ldbl-96/e_j0l.c, sysdeps/ieee754/ldbl-96/e_j1l.c,
176 sysdeps/ieee754/ldbl-96/e_jnl.c, sysdeps/ieee754/ldbl-96/e_lgammal_r.c,
177 sysdeps/ieee754/ldbl-96/e_remainderl.c, sysdeps/ieee754/ldbl-96/e_sinhl.c,
178 sysdeps/ieee754/ldbl-96/s_asinhl.c, sysdeps/ieee754/ldbl-96/s_cbrtl.c,
179 sysdeps/ieee754/ldbl-96/s_ceill.c, sysdeps/ieee754/ldbl-96/s_copysignl.c,
180 sysdeps/ieee754/ldbl-96/s_cosl.c, sysdeps/ieee754/ldbl-96/s_erfl.c,
181 sysdeps/ieee754/ldbl-96/s_fabsl.c, sysdeps/ieee754/ldbl-96/s_finitel.c,
182 sysdeps/ieee754/ldbl-96/s_floorl.c, sysdeps/ieee754/ldbl-96/s_fpclassifyl.c,
183 sysdeps/ieee754/ldbl-96/s_frexpl.c, sysdeps/ieee754/ldbl-96/s_ilogbl.c,
184 sysdeps/ieee754/ldbl-96/s_isinf_nsl.c, sysdeps/ieee754/ldbl-96/s_isinfl.c,
185 sysdeps/ieee754/ldbl-96/s_isnanl.c, sysdeps/ieee754/ldbl-96/s_llrintl.c,
186 sysdeps/ieee754/ldbl-96/s_llroundl.c, sysdeps/ieee754/ldbl-96/s_logbl.c,
187 sysdeps/ieee754/ldbl-96/s_lrintl.c, sysdeps/ieee754/ldbl-96/s_lroundl.c,
188 sysdeps/ieee754/ldbl-96/s_modfl.c, sysdeps/ieee754/ldbl-96/s_nearbyintl.c,
189 sysdeps/ieee754/ldbl-96/s_nextafterl.c,
190 sysdeps/ieee754/ldbl-96/s_nexttoward.c,
191 sysdeps/ieee754/ldbl-96/s_nexttowardf.c,
192 sysdeps/ieee754/ldbl-96/s_remquol.c, sysdeps/ieee754/ldbl-96/s_rintl.c,
193 sysdeps/ieee754/ldbl-96/s_roundl.c, sysdeps/ieee754/ldbl-96/s_scalblnl.c,
194 sysdeps/ieee754/ldbl-96/s_scalbnl.c, sysdeps/ieee754/ldbl-96/s_signbitl.c,
195 sysdeps/ieee754/ldbl-96/s_sincosl.c, sysdeps/ieee754/ldbl-96/s_sinl.c,
196 sysdeps/ieee754/ldbl-96/s_tanhl.c, sysdeps/ieee754/ldbl-96/s_tanl.c,
197 sysdeps/ieee754/ldbl-96/s_truncl.c, sysdeps/ieee754/s_lib_version.c,
198 sysdeps/ieee754/s_matherr.c, sysdeps/ieee754/s_signgam.c,
199 sysdeps/powerpc/fpu/e_hypot.c, sysdeps/powerpc/fpu/e_hypotf.c,
200 sysdeps/powerpc/fpu/e_rem_pio2f.c, sysdeps/powerpc/fpu/k_cosf.c,
201 sysdeps/powerpc/fpu/k_rem_pio2f.c, sysdeps/powerpc/fpu/k_sinf.c,
202 sysdeps/powerpc/fpu/s_cosf.c, sysdeps/powerpc/fpu/s_float_bitwise.h,
203 sysdeps/powerpc/fpu/s_isnan.c, sysdeps/powerpc/fpu/s_rint.c,
204 sysdeps/powerpc/fpu/s_rintf.c, sysdeps/powerpc/fpu/s_sinf.c,
205 sysdeps/powerpc/fpu/w_sqrt.c, sysdeps/powerpc/fpu/w_sqrtf.c,
206 sysdeps/powerpc/powerpc32/fpu/s_llrintf.c,
207 sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c,
208 sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c,
209 sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c,
210 sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c,
211 sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c,
212 sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Use <> to include both
213 <math.h> and <math_private.h>.
214
1991fa03
JM
2152012-03-09 Joseph Myers <joseph@codesourcery.com>
216
217 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
218 * sunrpc/rpc_main.c: Likewise.
219 * sunrpc/rpc_svcout.c: Likewise.
220
60d6f5a6
DM
2212012-03-09 David S. Miller <davem@davemloft.net>
222
223 * include/math_private.h: New file.
224
4962050e
JM
2252012-03-09 Joseph Myers <joseph@codesourcery.com>
226
02a6f887
JM
227 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
228 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
229 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
230 from <bits/socket_type.h>.
231 (enum __socket_type): Don't define here.
232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
234 bits/socket_type.h.
235
c6e013c1
JM
236 [BZ #13566]
237 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
238 checking __USE_GNU.
239
4962050e
JM
240 * Makerules ($(inst_includedir)/%.h): New rule.
241 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
242 (install-others): Remove variable setting.
243 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
244
38842f45
RH
2452012-03-08 Richard Henderson <rth@twiddle.net>
246
67bb6da6
RH
247 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
248 from macro to inline function; merge with the
249 !__LIBC_INTERNAL_MATH_INLINES version.
250 (__ieee754_sqrtf): Likewise.
251
15194b4b
RH
252 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
253 to inline function.
254 (__rintf, __floor, __floorf): Likewise.
255
64e21ede
RH
256 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
257 macro to inline function.
258 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
259
38842f45
RH
260 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
261 not <math/math_private.h>.
262
c64bf5fe
DM
2632012-03-08 David S. Miller <davem@davemloft.net>
264
265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
266 copyright year.
267 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
268
82d86f28
TS
2692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
270
271 * resolv/gai_misc.c (handle_requests): Fix struct timespec
272 normalization.
273 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
274 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
275
aea5d727
UD
2762012-03-08 Ulrich Drepper <drepper@gmail.com>
277
278 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
279 be defined individually, they must be defined as a block. Define
280 S for printing a string instead of hidint the different by using a
281 macro for adding the 'l'.
282 * stdio-common/tst-fphex-wide.c: Adjust.
283
70bca0a3
MP
2842012-03-07 Marek Polacek <polacek@redhat.com>
285
286 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
287
65b81130
MP
2882012-03-08 Marek Polacek <polacek@redhat.com>
289
290 [BZ #13806]
291 * stdio-common/Makefile (tests): Add tst-fphex-wide.
292 * stdio-common/tst-fphex.c: Define a few macros to make the
293 test reusable. Use them.
294 * stdio-common/tst-fphex-wide.c: New file.
295
07037eeb
JM
2962012-03-08 Joseph Myers <joseph@codesourcery.com>
297
a7a93d50
JM
298 [BZ #6911]
299 * manual/macros.texi (gnusystems): New macro.
300 (nongnusystems): Likewise.
301 (gnulinuxhurdsystems): Likewise.
302 (gnuhurdsystems): Likewise..
303 (gnulinuxsystems): Likewise.
304 * manual/charset.texi: Use new macros or @theglibc{} to refer to
305 variants of the GNU system, not "GNU system".
306 * manual/conf.texi: Likewise.
307 * manual/errno.texi: Likewise. Update example of errno macro
308 expansion.
309 * manual/filesys.texi: Likewise.
310 (getumask): Document as specific to GNU/Hurd.
311 * manual/install.texi: Likewise. Reword some references to
312 GNU/Linux.
313 * manual/intro.texi: Likewise.
314 * manual/io.texi: Likewise.
315 (File Name Portability): Detail which constraints are inapplicable
316 to all GNU systems and which are only inapplicable to GNU/Hurd.
317 * manual/job.texi: Likewise.
318 * manual/llio.texi: Likewise.
319 (O_NOCTTY): Document as present on GNU/Linux.
320 * manual/maint.texi: Likewise.
321 * manual/memory.texi: Likewise.
322 * manual/pattern.texi: Likewise.
323 * manual/pipe.texi: Likewise.
324 * manual/process.texi: Likewise.
325 * manual/resource.texi: Likewise.
326 (RUSAGE_CHILDREN): Remove statement about specifying a particular
327 child on GNU/Hurd.
328 * manual/setjmp.texi: Likewise.
329 * manual/signal.texi: Likewise.
330 * manual/startup.texi: Likewise.
331 * manual/stdio.texi: Likewise.
332 * manual/terminal.texi: Likewise.
333 (ONLCR): Document as POSIX.
334 (OXTABS): Document availability on GNU/Linux as XTABS.
335 (ONOEOT): Document availability separately from other bits.
336 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
337 * manual/time.texi: Likewise.
338 * manual/users.texi: Likewise.
339 * INSTALL: Regenerated.
340 * sysdeps/gnu/errlist.c: Regenerated.
341
07037eeb
JM
342 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
343 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
344 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
345 puts.
346 * configure: Regenerated.
347
d1d3431a
JM
3482012-03-07 Joseph Myers <joseph@codesourcery.com>
349
af6a1e37
JM
350 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
351 default includes instead of AC_HEADER_CHECK.
352 * sysdeps/i386/configure: Regenerated.
353
d1d3431a
JM
354 [BZ #10716]
355 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
356 * math/s_cacoshf.c (__cacoshf): Likewise.
357 * math/s_cacoshl.c (__cacoshl): Likewise.
358 * math/s_casinh.c (__casinh): Set signs of result from argument.
359 * math/s_casinhf.c (__casinhf): Likewise.
360 * math/s_casinhl.c (__casinhl): Likewise.
361 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
362 (casinh_test): Add more tests.
363 * sysdeps/i386/fpu/libm-test-ulps: Update.
364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
365
482ff4da
UD
3662012-03-07 Ulrich Drepper <drepper@gmail.com>
367
872fda05
UD
368 * po/zh_TW.po: Update from translation team.
369
a4300c7a
UD
370 * login/Makefile (distribute): Remove variable.
371 * catgets/Makefile: Likewise.
372 * mach/Makefile: Likewise.
373 * malloc/Makefile: Likewise.
374 * misc/Makefile: Likewise.
375 * iconv/Makefile: Likewise.
376 * nscd/Makefile: Likewise.
377 * hurd/Makefile: Likewise.
378 * manual/Makefile: Likewise.
379 * locale/Makefile: Likewise.
380 * intl/Makefile: Likewise.
381 * conform/Makefile: Likewise.
382 * nss/Makefile: Likewise.
383 * time/Makefile: Likewise.
384 * soft-fp/Makefile: Likewise.
385 * dirent/Makefile: Likewise.
386 * gmon/Makefile: Likewise.
387 * po/Makefile: Likewise.
388 * rt/Makefile: Likewise.
389 * socket/Makefile: Likewise.
390 * math/Makefile: Likewise.
391 * signal/Makefile: Likewise.
392 * debug/Makefile: Likewise.
393 * elf/Makefile: Likewise.
394 * timezone/Makefile: Likewise.
395 * stdlib/Makefile: Likewise.
396 * iconvdata/Makefile: Likewise.
397 * sunrpc/Makefile: Likewise.
398 * io/Makefile: Likewise.
399 * argp/Makefile: Likewise.
400 * inet/Makefile: Likewise.
401 * hesiod/Makefile: Likewise.
402 * grp/Makefile: Likewise.
403 * csu/Makefile: Likewise.
404 * wctype/Makefile: Likewise.
405 * crypt/Makefile: Likewise.
406 * libio/Makefile: Likewise.
407 * string/Makefile: Likewise.
408 * nis/Makefile: Likewise.
409 * resolv/Makefile: Likewise.
410 * stdio-common/Makefile: Likewise.
411 * wcsmbs/Makefile: Likewise.
412 * dlfcn/Makefile: Likewise.
413 * posix/Makefile: Likewise.
414
482ff4da
UD
415 * timezone/Makefile: Don't install timezone files, just the programs
416 and scripts.
417
f72ed77d
UD
4182012-03-06 Ulrich Drepper <drepper@gmail.com>
419
a000466f
UD
420 * nss/databases.def: Add missing gshadow entry.
421
f72ed77d
UD
422 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
423
a53b7a4e
MP
4242012-03-06 Marek Polacek <polacek@redhat.com>
425
426 [BZ #13726]
427 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
428 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
429 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
430 * stdio-common/tst-long-dbl-fphex.c: New file.
431
e9258400
DM
4322012-03-06 David S. Miller <davem@davemloft.net>
433
434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
435 (set_obp_int): New function.
436 (get_obp_int): New function.
437 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
438 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
439 Avoid unused variable warnings on 'val' and use builtin_expect.
440 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
441 __builtin_expect.
e9258400
DM
442 (INLINE_CLONE_SYSCALL): Likewise.
443
3bd2c723
DM
4442012-03-05 David S. Miller <davem@davemloft.net>
445
446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
447
bbb78d03
AS
4482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
449
884c5db4
AS
450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
451
bbb78d03
AS
452 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
453 only for |x| >= 40.
454 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
455
1c9f702a 4562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
457
458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
459 Replace gettimeofday with __vdso_gettimeofday.
460
7be16f82
RM
461 * sysdeps/unix/sysv/linux/x86_64/init-first.c
462 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
463 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
464
465 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
466 time with __vdso_time.
467
ed58a00f
JM
4682012-03-05 Joseph Myers <joseph@codesourcery.com>
469
470 * manual/lang.texi (size_t): Note types to which size_t may be
471 equivalent with the GNU C Library, but do not describe when
472 differences between them are significant.
473
30ee4ced
AJ
4742012-03-05 Andreas Jaeger <aj@suse.de>
475
476 * sysdeps/i386/fpu/libm-test-ulps: Update.
477
b7cd39e8
JM
4782012-03-05 Joseph Myers <joseph@codesourcery.com>
479
480 [BZ #3976]
481 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
482 (__ieee754_pow): Save and restore rounding mode and use
483 round-to-nearest for main computations.
484 * math/libm-test.inc (pow_test_tonearest): New function.
485 (pow_test_towardzero): Likewise.
486 (pow_test_downward): Likewise.
487 (pow_test_upward): Likewise.
488 (main): Call the new functions.
489 * sysdeps/i386/fpu/libm-test-ulps: Update.
490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
491
492 [BZ #3976]
493 * math/libm-test.inc (cosh_test_tonearest): New function.
494 (cosh_test_towardzero): Likewise.
495 (cosh_test_downward): Likewise.
496 (cosh_test_upward): Likewise.
497 (sinh_test_tonearest): Likewise.
498 (sinh_test_towardzero): Likewise.
499 (sinh_test_downward): Likewise.
500 (sinh_test_upward): Likewise.
501 (main): Call the new functions.
502 * sysdeps/i386/fpu/libm-test-ulps: Update.
503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
504
6c6a98c9
TV
5052012-03-05 Tom de Vries <tom@codesourcery.com>
506
507 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
508 default stack guard is set in last bytes.
509 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
510
21bb2d2e 5112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 512
21bb2d2e 513 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 514
21bb2d2e
AJ
515 [BZ #13656]
516 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
517 possibly allocate from heap instead of stack.
518 * stdio-common/bug-vfprintf-nargs.c: New file.
519 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 520
c6922934
AS
5212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
522
523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
524
bc957d53
MP
5252012-03-03 Marek Polacek <polacek@redhat.com>
526
527 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
528 * math/math_private.h: Likewise.
529 * stdlib/tst-strtod.c: Likewise.
530 * sysdeps/i386/i486/bits/atomic.h: Likewise.
531 * sysdeps/x86_64/bits/atomic.h: Likewise.
532
6358490d
DM
5332012-03-02 David S. Miller <davem@davemloft.net>
534
535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
539 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
540 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
541 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
542 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
543
01ae168d
RM
5442012-03-02 Roland McGrath <roland@hack.frob.com>
545
d9a17c07
RM
546 [BZ #13792]
547 * manual/examples/README: New file, says the example source files
548 can be used under GPL>=2.
549 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
550 line containing just "*/".
551 * manual/examples/add.c: Add copyright header (GPL>=2).
552 * manual/examples/argp-ex1.c: Likewise.
553 * manual/examples/argp-ex2.c: Likewise.
554 * manual/examples/argp-ex3.c: Likewise.
555 * manual/examples/argp-ex4.c: Likewise.
556 * manual/examples/atexit.c: Likewise.
557 * manual/examples/db.c: Likewise.
558 * manual/examples/dir.c: Likewise.
559 * manual/examples/dir2.c: Likewise.
560 * manual/examples/execinfo.c: Likewise.
561 * manual/examples/filecli.c: Likewise.
562 * manual/examples/filesrv.c: Likewise.
563 * manual/examples/fmtmsgexpl.c: Likewise.
564 * manual/examples/genpass.c: Likewise.
565 * manual/examples/inetcli.c: Likewise.
566 * manual/examples/inetsrv.c: Likewise.
567 * manual/examples/isockad.c: Likewise.
568 * manual/examples/longopt.c: Likewise.
569 * manual/examples/memopen.c: Likewise.
570 * manual/examples/memstrm.c: Likewise.
571 * manual/examples/mkfsock.c: Likewise.
572 * manual/examples/mkisock.c: Likewise.
573 * manual/examples/mygetpass.c: Likewise.
574 * manual/examples/pipe.c: Likewise.
575 * manual/examples/popen.c: Likewise.
576 * manual/examples/rprintf.c: Likewise.
577 * manual/examples/search.c: Likewise.
578 * manual/examples/select.c: Likewise.
579 * manual/examples/setjmp.c: Likewise.
580 * manual/examples/sigh1.c: Likewise.
581 * manual/examples/sigusr.c: Likewise.
582 * manual/examples/stpcpy.c: Likewise.
583 * manual/examples/strdupa.c: Likewise.
584 * manual/examples/strftim.c: Likewise.
585 * manual/examples/strncat.c: Likewise.
586 * manual/examples/subopt.c: Likewise.
587 * manual/examples/swapcontext.c: Likewise.
588 * manual/examples/termios.c: Likewise.
589 * manual/examples/testopt.c: Likewise.
590 * manual/examples/testpass.c: Likewise.
591 * manual/examples/timeval_subtract.c: Likewise.
592
01ae168d
RM
593 [BZ #13792]
594 * manual/time.texi (Elapsed Time): Move timeval_subtract example
595 function to ...
596 * manual/timeval_subtract.c.texi: ... here, new file.
597
49efa33d
DM
5982012-03-02 David S. Miller <davem@davemloft.net>
599
600 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
601
28afd92d
JM
6022012-03-02 Joseph Myers <joseph@codesourcery.com>
603
804360ed
JM
604 [BZ #3976]
605 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
606 (__sin): Save and restore rounding mode and use round-to-nearest
607 for all computations.
608 (__cos): Save and restore rounding mode and use round-to-nearest
609 for all computations.
610 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
611 <fenv.h>.
612 (tan): Save and restore rounding mode and use round-to-nearest for
613 all computations.
614 * math/libm-test.inc (cos_test_tonearest): New function.
615 (cos_test_towardzero): Likewise.
616 (cos_test_downward): Likewise.
617 (cos_test_upward): Likewise.
618 (sin_test_tonearest): Likewise.
619 (sin_test_towardzero): Likewise.
620 (sin_test_downward): Likewise.
621 (sin_test_upward): Likewise.
622 (tan_test_tonearest): Likewise.
623 (tan_test_towardzero): Likewise.
624 (tan_test_downward): Likewise.
625 (tan_test_upward): Likewise.
626 (main): Call the new functions.
627 * sysdeps/i386/fpu/libm-test-ulps: Update.
628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
629
a6d06d7b
JM
630 [BZ #10135]
631 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
632 small n, then large n, before computing and testing k+n.
633 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
635 Likewise.
636 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
637 Likewise.
638 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
639 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
640 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
641 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
642 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
643 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
644 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
645 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
646 * math/libm-test.inc (scalbn_test): Add more tests.
647 (scalbln_test): Likewise.
648
07e12bb3
JM
649 * manual/filesys.texi (mode_t): Describe constraints on size and
650 signedness, not exact equivalence to a particular type.
651 (ino_t): Likewise.
652 (ino64_t): Likewise.
653 (dev_t): Likewise.
654 (nlink_t): Likewise.
655 (blkcnt_t): Likewise.
656 (blkcnt64_t): Likewise.
657 * manual/llio.texi (off_t): Likewise.
658
28afd92d
JM
659 [BZ #3976]
660 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
661 (__ieee754_exp): Save and restore rounding mode and use
662 round-to-nearest for all computations.
663 * math/libm-test.inc (exp_test_tonearest): New function.
664 (exp_test_towardzero): Likewise.
665 (exp_test_downward): Likewise.
666 (exp_test_upward): Likewise.
667 (main): Call the new functions.
668 * sysdeps/i386/fpu/libm-test-ulps: Update.
669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
670
b1eeb65d
CD
6712012-03-01 Chris Demetriou <cgd@google.com>
672
673 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
674 have predictable order.
675
53362a4b
DM
6762012-03-01 David S. Miller <davem@davemloft.net>
677
3c969083
DM
678 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
679
759707de
DM
680 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
681 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
682 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
683 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
684
dfdb8ff2
DM
685 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
686 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
687 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
689 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
690 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
691 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
692 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
693 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
694
ead89f96
DM
695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
696
7f66bd07
DM
697 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
698 * sysdeps/sparc/fpu/libm-test-ulps: to here.
699 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
700
53362a4b
DM
701 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
702 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
703 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
704 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
705 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
707 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
708 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
709 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
710 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
711 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
715 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
717 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
718 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
719 * sysdeps/sparc/elf/configure: Regenerated.
720
7b1902cb
JM
7212012-03-01 Joseph Myers <joseph@codesourcery.com>
722
bec039bc
JM
723 * configure.in (AS, LD): Require binutils 2.20 or later.
724 * configure: Regenerated.
725 * manual/install.texi (Tools for Compilation): Give binutils 2.20
726 as required minimum version.
727 * INSTALL: Regenerated.
728
7b1902cb
JM
729 [BZ #2541]
730 [BZ #4108]
731 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
732 before squaring exponent.
733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
734 bottom long double and 27 bits of top long double before squaring
735 exponent.
736 * math/libm-test.inc (erfc_test): Add more tests.
737 * sysdeps/i386/fpu/libm-test-ulps: Update.
738 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
740
f775c276
KT
7412012-03-01 Kai Tietz <ktietz@redhat.com>
742
743 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
744 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
745 containing bit-fields.
746 * soft-fp/extended.h (_FP_UNION_E): Likewise.
747 * soft-fp/single.h (_FP_UNION_S): Likewise.
748 * soft-fp/double.h (_FP_UNION_D): Likewise.
749
5b8a4d4a
JM
7502012-02-29 Joseph Myers <joseph@codesourcery.com>
751
0bab47b6
JM
752 [BZ #13786]
753 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
754 not include ../strcmp.S.
755 [USE_AS_STRNCASECMP_L]: Likewise.
756 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
757 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
758 * sysdeps/i386/i686/multiarch/strncase_l-c.c
759 (__strncasecmp_l_ia32): Define as alias to
760 __strncasecmp_l_nonascii.
761
0fcad3e2
JM
762 [BZ #5794]
763 * math/libm-test.inc (expm1_test): Add test for bug 5794.
764 * sysdeps/i386/fpu/libm-test-ulps: Update.
765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
766
5b8a4d4a
JM
767 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
769
8fdceb2e
JL
7702012-02-29 Jeff Law <law@redhat.com>
771
772 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
773 out of bounds read.
774
1f393a11
MP
7752012-02-29 Marek Polacek <polacek@redhat.com>
776
777 [BZ #13706]
778 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
779 * elf/Makefile: Add rules to run tst-unused-dep.out.
780
8847f037
DM
7812012-02-28 David S. Miller <davem@davemloft.net>
782
783 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
784 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
786 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
787 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
788 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
789
169d7f11
JM
7902012-02-29 Joseph Myers <joseph@codesourcery.com>
791
792 * math/libm-test.inc (llround_test): Move one test from
793 lround_test. Use TEST_f_L in moved test.
794 (lround_test): Move misplaced test to llround_test. Add testcase
795 from bug 2561.
796
39adf059
UD
7972012-02-28 Ulrich Drepper <drepper@gmail.com>
798
799 * sysdeps/x86_64/fpu/e_expf.S: New file.
800 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
801
71b5d1c5
SB
8022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
803
804 [BZ #13637]
805 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
806 of remain_len that may cause incomplete multi-byte character and
807 false match.
808 * posix/bug-regex33.c: New file.
809 * posix/Makefile (tests): Add bug-regex33.
810
1f77f049
JM
8112012-02-28 Joseph Myers <joseph@codesourcery.com>
812
813 * manual/macros.texi: New file.
814 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
815 * manual/libc.texinfo: Include macros.texi.
816 * manual/creatute.texi: Likewise.
817 * manual/install.texi: Likewise.
818 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
819 @glibcadj{} in references to the GNU C Library.
820 * manual/charset.texi: Likewise.
821 * manual/conf.texi: Likewise.
822 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
823 when not using those macros.
824 * manual/creature.texi: Likewise.
825 * manual/crypt.texi: Likewise.
826 * manual/errno.texi: Likewise.
827 * manual/filesys.texi: Likewise.
828 * manual/header.texi: Likewise.
829 * manual/install.texi: Likewise.
830 * manual/intro.texi: Likewise.
831 * manual/io.texi: Likewise.
832 * manual/job.texi: Likewise.
833 * manual/lang.texi: Likewise.
834 * manual/libc.texiinfo: Likewise.
835 * manual/llio.texi: Likewise.
836 * manual/locale.texi: Likewise.
837 * manual/maint.texi: Likewise.
838 * manual/math.texi: Likewise.
839 * manual/memory.texi: Likewise.
840 * manual/message.texi: Likewise.
841 * manual/nss.texi: Likewise.
842 * manual/pattern.texi: Likewise.
843 * manual/process.texi: Likewise.
844 * manual/resource.texi: Likewise.
845 * manual/search.texi: Likewise.
846 * manual/setjmp.texi: Likewise.
847 * manual/signal.texi: Likewise.
848 * manual/socket.texi: Likewise.
849 * manual/startup.texi: Likewise.
850 * manual/stdio.texi: Likewise.
851 * manual/string.texi: Likewise.
852 * manual/sysinfo.texi: Likewise.
853 * manual/syslog.texi: Likewise.
854 * manual/terminal.texi: Likewise.
855 * manual/time.texi: Likewise.
856 * manual/users.texi: Likewise.
857 * INSTALL: Regenerated.
858 * NOTES: Regenerated.
d40c5d54 859 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 860
450bf206
AS
8612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
862
863 * include/dirent.h: Include <dirstream.h> before
864 <dirent/dirent.h>.
865
741a235b
DM
8662012-02-28 David S. Miller <davem@davemloft.net>
867
868 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
869 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
870 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
871 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
872
d6b5aa58
DM
8732012-02-27 David S. Miller <davem@davemloft.net>
874
1aff59a3
DM
875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
877 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
878 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
879
d6b5aa58
DM
880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
881 frame pointer instead of stack pointer relative arg slot.
882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
883 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
884 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
885
433f48bf
CD
8862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
887
888 [BZ #3992]
889 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
890
d674b76d
DM
8912012-02-27 David S. Miller <davem@davemloft.net>
892
893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
897 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
898 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
899 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
900 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
901
0e7727f7
JM
9022012-02-27 Joseph Myers <joseph@codesourcery.com>
903
904 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
905 later. Allow versions 5-9.
43be4ca2 906 * configure: Regenerated.
0e7727f7
JM
907 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
908 required minimum version and 4.6 as recommended version. Do not
909 mention bugs in GCC 2.7 and 2.8.
43be4ca2 910 * INSTALL: Regenerated.
0e7727f7 911
a78bc654
DM
9122012-02-27 David S. Miller <davem@davemloft.net>
913
428d5830
DM
914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
918 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
919 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
920 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
921 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
922
a78bc654
DM
923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
924 manipulate bits before adding and subtracting TWO112[sx].
925 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
926
4579f81c
RM
9272012-02-27 Roland McGrath <roland@hack.frob.com>
928
36c8acb4
RM
929 [BZ #13775]
930 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
931 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
932 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
933 being in POSIX, because they are in 1003.1-2008.
934
84ad622b
RM
935 * rt/tst-aio.c: Include <fcntl.h>.
936 * rt/tst-aio7.c: Likewise.
937 * rt/tst-aio64.c: Likewise.
938
4579f81c
RM
939 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
940
abd923db
JM
9412012-02-27 Joseph Myers <joseph@codesourcery.com>
942
943 * manual/install.texi (--with-headers): Describe headers as
944 interface headers, not private headers.
945 (Specific advice for GNU/Linux systems): Describe use of headers
946 from "make headers_install", not private headers from older
947 kernels.
43be4ca2 948 * INSTALL: Regenerated.
abd923db
JM
949 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
950 Change to 2.6.19.
951 * sysdeps/unix/sysv/linux/configure: Regenerated.
952
6664049b
JM
953 * manual/llio.texi (fclean): Remove documentation.
954
bb8b6697
JM
955 * manual/Makefile (libc-texi-generated): New variable. Include
956 version.texi.
957 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
958 $(libc-texi-generated), not duplicated list of files.
959 (version.texi, stamp-version): New rules.
960 (realclean): Remove $(libc-texi-generated), not individual files
961 from that list. Do not remove dir-add.texinfo.
962 * manual/libc.texinfo: Comment out uses of edition numbers and
963 references to printed manual. Remove last-updated dates.
964 (EDITION): Comment out.
965 (ISBN): Likewise.
966 (VERSION, UPDATED): Remove.
967 (version.texi): Include.
968
12e5c3b9
AS
9692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
970
971 * sysdeps/posix/spawni.c: Include <signal.h>.
972 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
973 * sysdeps/pthread/aio_fsync.c: Likewise.
974
4efeffc1 9752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 976
ba63ba08
UD
977 * conform/Makefile (tests): Run only when not cross-compiling and
978 when fast-check is not defined.
979
d94a4670
UD
980 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
981 * conform/data/limits.h-data: Fixes for POSIX2008.
982 * conform/run-conformtest.sh: Run all tests.
983 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
984 headers.
985 * include/bits/dlfcn.h: Likewise.
986 * include/langinfo.h: Likewise.
987 * include/monetary.h: Likewise.
988 * include/sys/poll.h: Likewise.
989
990 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
991 for __USE_GNU.
992 * posix/spawn.h: Define __need_sigset_t.
993 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
994 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
995 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
996 to get sigevent_t only.
997 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
998 only for __USE_GNU.
999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1000 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1001 process_vm_writev only for __USE_GNU.
1002 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1003
1004 * conform/Makefile: For now ignore errors from run-conformtest.
1005 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1006 POSIX to avoid namespace pollution. Don't prepend headers.
1007 * conform/data/aio.h-data: Fixes for POSIX testing.
1008 * conform/data/fcntl.h-data: Likewise.
1009 * conform/data/glob.h-data: Likewise.
1010 * conform/data/grp.h-data: Likewise.
1011 * conform/data/pthread.h-data: Likewise.
1012 * conform/data/pwd.h-data: Likewise.
1013 * conform/data/signal.h-data: Likewise.
1014 * conform/data/spawn.h-data: Likewise.
1015 * conform/data/stdio.h-data: Likewise.
1016 * conform/data/stdlib.h-data: Likewise.
1017 * conform/data/stropts.h-data: Likewise.
1018 * conform/data/sys/mman.h-data: Likewise.
1019 * conform/data/sys/stat.h-data: Likewise.
1020 * conform/data/sys/types.h-data: Likewise.
1021 * conform/data/sys/wait.h-data: Likewise.
1022 * conform/data/time.h-data: Likewise.
1023 * conform/data/unistd.h-data: Likewise.
1024 * conform/data/utime.h-data: Likewise.
1025
1026 * io/sys/stat.h: fchmod was always in POSIX.
1027 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1028 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1029 * rt/aio.h: Define __need_timespec before including <time.h>.
1030 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1031 struct. Add forward declaration of pthread_attr_t and use it in
1032 sigevent.
1033 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1034 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1035 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1036 always remove CLK_TCK definition.
1037
c20105c3
AS
10382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1039
1040 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1041
7a270350
UD
10422012-02-25 Ulrich Drepper <drepper@gmail.com>
1043
31341567
UD
1044 * conform/run-conformtest.sh: New file.
1045 * conform/Makefile: Run run-conformtest for tests.
1046 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1047 support.
1048
1049 * conform/data/uchar.h-data: New file.
1050 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1051 * conform/data/arpa/inet.h-data: Likewise.
1052 * conform/data/assert.h-data: Likewise.
1053 * conform/data/complex.h-data: Likewise.
1054 * conform/data/cpio.h-data: Likewise.
1055 * conform/data/ctype.h-data: Likewise.
1056 * conform/data/dirent.h-data: Likewise.
1057 * conform/data/dlfcn.h-data: Likewise.
1058 * conform/data/errno.h-data: Likewise.
1059 * conform/data/fcntl.h-data: Likewise.
1060 * conform/data/float.h-data: Likewise.
1061 * conform/data/fmtmsg.h-data: Likewise.
1062 * conform/data/fnmatch.h-data: Likewise.
1063 * conform/data/ftw.h-data: Likewise.
1064 * conform/data/glob.h-data: Likewise.
1065 * conform/data/grp.h-data: Likewise.
1066 * conform/data/iconv.h-data: Likewise.
1067 * conform/data/inttypes.h-data: Likewise.
1068 * conform/data/langinfo.h-data: Likewise.
1069 * conform/data/libgen.h-data: Likewise.
1070 * conform/data/limits.h-data: Likewise.
1071 * conform/data/locale.h-data: Likewise.
1072 * conform/data/math.h-data: Likewise.
1073 * conform/data/monetary.h-data: Likewise.
1074 * conform/data/mqueue.h-data: Likewise.
1075 * conform/data/ndbm.h-data: Likewise.
1076 * conform/data/net/if.h-data: Likewise.
1077 * conform/data/netdb.h-data: Likewise.
1078 * conform/data/netinet/in.h-data: Likewise.
1079 * conform/data/nl_types.h-data: Likewise.
1080 * conform/data/poll.h-data: Likewise.
1081 * conform/data/pthread.h-data: Likewise.
1082 * conform/data/pwd.h-data: Likewise.
1083 * conform/data/regex.h-data: Likewise.
1084 * conform/data/sched.h-data: Likewise.
1085 * conform/data/search.h-data: Likewise.
1086 * conform/data/semaphore.h-data: Likewise.
1087 * conform/data/setjmp.h-data: Likewise.
1088 * conform/data/signal.h-data: Likewise.
1089 * conform/data/spawn.h-data: Likewise.
1090 * conform/data/stdarg.h-data: Likewise.
1091 * conform/data/stdio.h-data: Likewise.
1092 * conform/data/stdlib.h-data: Likewise.
1093 * conform/data/string.h-data: Likewise.
1094 * conform/data/strings.h-data: Likewise.
1095 * conform/data/stropts.h-data: Likewise.
1096 * conform/data/sys/ipc.h-data: Likewise.
1097 * conform/data/sys/mman.h-data: Likewise.
1098 * conform/data/sys/msg.h-data: Likewise.
1099 * conform/data/sys/resource.h-data: Likewise.
1100 * conform/data/sys/select.h-data: Likewise.
1101 * conform/data/sys/sem.h-data: Likewise.
1102 * conform/data/sys/shm.h-data: Likewise.
1103 * conform/data/sys/socket.h-data: Likewise.
1104 * conform/data/sys/stat.h-data: Likewise.
1105 * conform/data/sys/statvfs.h-data: Likewise.
1106 * conform/data/sys/time.h-data: Likewise.
1107 * conform/data/sys/timeb.h-data: Likewise.
1108 * conform/data/sys/times.h-data: Likewise.
1109 * conform/data/sys/types.h-data: Likewise.
1110 * conform/data/sys/uio.h-data: Likewise.
1111 * conform/data/sys/un.h-data: Likewise.
1112 * conform/data/sys/utsname.h-data: Likewise.
1113 * conform/data/sys/wait.h-data: Likewise.
1114 * conform/data/syslog.h-data: Likewise.
1115 * conform/data/tar.h-data: Likewise.
1116 * conform/data/termios.h-data: Likewise.
1117 * conform/data/utime.h-data: Likewise.
1118 * conform/data/utmpx.h-data: Likewise.
1119 * conform/data/varargs.h-data: Likewise.
1120 * conform/data/wchar.h-data: Likewise.
1121 * conform/data/wctype.h-data: Likewise.
1122 * conform/data/wordexp.h-data: Likewise.
1123
1124 * include/stropts.h: New file.
1125 * include/uchar.h: New file.
1126 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1127 * include/assert.h: Likewise.
1128 * include/ctype.h: Likewise.
1129 * include/dirent.h: Likewise.
1130 * include/dlfcn.h: Likewise.
1131 * include/fcntl.h: Likewise.
1132 * include/fnmatch.h: Likewise.
1133 * include/glob.h: Likewise.
1134 * include/grp.h: Likewise.
1135 * include/libio.h: Likewise.
1136 * include/locale.h: Likewise.
1137 * include/math.h: Likewise.
1138 * include/net/if.h: Likewise.
1139 * include/netdb.h: Likewise.
1140 * include/netinet/in.h: Likewise.
1141 * include/pthread.h: Likewise.
1142 * include/pwd.h: Likewise.
1143 * include/regex.h: Likewise.
1144 * include/sched.h: Likewise.
1145 * include/search.h: Likewise.
1146 * include/setjmp.h: Likewise.
1147 * include/signal.h: Likewise.
1148 * include/stdio.h: Likewise.
1149 * include/stdlib.h: Likewise.
1150 * include/string.h: Likewise.
1151 * include/sys/cdefs.h: Likewise.
1152 * include/sys/mman.h: Likewise.
1153 * include/sys/msg.h: Likewise.
1154 * include/sys/resource.h: Likewise.
1155 * include/sys/select.h: Likewise.
1156 * include/sys/socket.h: Likewise.
1157 * include/sys/stat.h: Likewise.
1158 * include/sys/statvfs.h: Likewise.
1159 * include/sys/time.h: Likewise.
1160 * include/sys/times.h: Likewise.
1161 * include/sys/uio.h: Likewise.
1162 * include/sys/utsname.h: Likewise.
1163 * include/sys/wait.h: Likewise.
1164 * include/termios.h: Likewise.
1165 * include/time.h: Likewise.
1166 * include/ulimit.h: Likewise.
1167 * include/unistd.h: Likewise.
1168 * include/utime.h: Likewise.
1169 * include/wchar.h: Likewise.
1170 * include/wctype.h: Likewise.
1171 * include/wordexp.h: Likewise.
1172
1173 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1174
7a270350
UD
1175 * time/time.h: TIME_UTC must be a macro.
1176 Make timespec_get available for ISO C11 only as well.
1177
7724defc
UD
11782012-02-24 Ulrich Drepper <drepper@gmail.com>
1179
1180 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1181 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1182
6b1d1d46
JM
11832012-02-24 Joseph Myers <joseph@codesourcery.com>
1184
1185 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1186
0f8bbd69
JM
11872012-02-24 Joseph Myers <joseph@codesourcery.com>
1188
1189 * manual/texinfo.tex: Update to version 2012-01-19.16.
1190
66ab80bc
JM
11912012-02-24 Joseph Myers <joseph@codesourcery.com>
1192
1193 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1194
74981cc5
RM
11952012-02-24 Roland McGrath <roland@hack.frob.com>
1196
ee968201
RM
1197 [BZ #13738]
1198 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1199 * manual/fdl-1.3.texi: New file.
1200 * manual/fdl-1.1.texi: File removed.
1201
74981cc5
RM
1202 [BZ #13738]
1203 * manual/libc.texinfo (FDL_VERSION): New @set.
1204 Use it for mention of FDL in cover text.
1205 (Documentation License): Use it in @include file name.
1206
7bb764bc
JM
12072012-02-22 Joseph Myers <joseph@codesourcery.com>
1208 Roland McGrath <roland@hack.frob.com>
1209
1210 [BZ #5461]
1211 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1212 not LONG_LONG_MAX and LONG_LONG_MIN.
1213 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1214 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1215 name.
1216 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1217
6cbeae47
JM
12182012-02-22 Joseph Myers <joseph@codesourcery.com>
1219
1220 [BZ #2547]
1221 [BZ #11365]
1222 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1223 manipulate bits before adding and subtracting TWO23[sx].
1224 * math/libm-test.inc (nearbyint_test): Add more tests.
1225
fe45ce09
JM
12262012-02-22 Joseph Myers <joseph@codesourcery.com>
1227
1228 [BZ #2548]
1229 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1230 bits before adding and subtracting TWO23[sx].
1231 * math/libm-test.inc (rint_test): Add more tests.
1232 (rint_test_tonearest): Likewise.
1233 (rint_test_towardzero): Likewise.
1234 (rint_test_downward): Likewise.
1235 (rint_test_upward: Likewise.
1236
ff3b3d82
JM
12372012-02-22 Joseph Myers <joseph@codesourcery.com>
1238
1239 [BZ #10110]
1240 * include/stdc-predef.h: New file. Extracted from features.h.
1241 * include/features.h: Include stdc-predef.h.
1242 * Makefile (headers): Add stdc-predef.h.
1243 * CONFORMANCE (Compiler limitations): Update.
1244
ef0aab35
JM
12452012-02-22 Joseph Myers <joseph@codesourcery.com>
1246
1247 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1248
58639409
DM
12492012-02-21 David S. Miller <davem@davemloft.net>
1250
1251 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1252 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1253
c0e70b25
DM
12542012-02-20 David S. Miller <davem@davemloft.net>
1255
1256 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1257 using a normal save/restore sequence, rather than allocating a
1258 dummy stack frame just to store a frame pointer and restore.
1259 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1260
fb06851d
JM
12612012-02-21 Joseph Myers <joseph@codesourcery.com>
1262
1263 * manual/install.texi: Fix stray word in line-wrapped comment.
1264
7a8b71c3
DM
12652012-02-20 David S. Miller <davem@davemloft.net>
1266
d510c123
DM
1267 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1268 both binutils and gcc support GOTDATA.
1269
0722d7c2
DM
1270 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1271 "rd %pc" in the PIC register setup sequences.
1272
3d2b3019
DM
1273 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1274 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1275 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1276 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1277 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1279 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1280 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1282 (SYSCALL_ERROR_HANDLER): Likewise.
1283 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1284 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1286 (SYSCALL_ERROR_HANDLER): Likewise.
1287
c80098a9
DM
1288 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1289 (HAVE_GCC_GOTDATA): New.
1290 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1291 relocation support in both binutils and gcc.
1292 * sysdeps/sparc/elf/configure: Regenerate.
1293
3a2545a0
DM
1294 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1295 * sysdeps/sparc/sparc32/elf/configure: Delete.
1296 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1297 * sysdeps/sparc/sparc64/elf/configure: Delete.
1298 * sysdeps/sparc/elf/configure.in: New file.
1299 * sysdeps/sparc/elf/configure: Generate.
1300
7a8b71c3
DM
1301 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1302 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1303 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1304 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1305 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1306
f1e86fca
JM
13072012-02-21 Joseph Myers <joseph@codesourcery.com>
1308
1309 * manual/install.texi: Do not mention specific glibc version
1310 numbers.
1311 * manual/libc.texinfo (VERSION, UPDATED): Update.
1312 (@copying): Use @copyright{} and range of years.
1313
0e7dfaef
JM
13142012-02-21 Joseph Myers <joseph@codesourcery.com>
1315
1316 [BZ #13695]
1317 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1318 [crti.S not in sysdirs] (generated): Do not append.
1319 [crti.S not in sysdirs] (omit-deps): Likewise.
1320 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1321 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1322 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1323 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1324 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1325 Likewise.
1326 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1327 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1328 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1329 * csu/defs.awk: Remove file.
1330 * sysdeps/generic/initfini.c: Likewise.
1331 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1332 variable.
1333 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1334 Likewise.
1335
599af3ca
JM
13362012-02-20 Joseph Myers <joseph@codesourcery.com>
1337
1338 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1339 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1340 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1341 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1342 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1343 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1344 <bits/epoll.h>.
1345 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1346 (__EPOLL_PACKED): Define to empty if not defined by
1347 <bits/epoll.h>.
1348 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1350 bits/epoll.h.
1351
0e499750
JM
13522012-02-20 Joseph Myers <joseph@codesourcery.com>
1353
1354 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1355 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1356 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1357 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1358 <bits/timerfd.h>.
1359 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1361 bits/timerfd.h.
1362
5ad91f6e
JM
13632012-02-20 Joseph Myers <joseph@codesourcery.com>
1364
1365 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1366 in C locale.
1367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1368 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1369 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1371
06b99b02
AJ
13722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1373
1374 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1375 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1376
7638c0fd
AS
13772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1378
1379 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1380 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1381 defined.
1382 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1385 entry for 2.16.
1386
92221550
AJ
13872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1388
1389 * math/w_acos.c: Use non-signaling floating-point comparisons.
1390 * math/w_acosf.c: Likewise.
1391 * math/w_acosh.c: Likewise.
1392 * math/w_acoshf.c: Likewise.
1393 * math/w_acoshl.c: Likewise.
1394 * math/w_acosl.c: Likewise.
1395 * math/w_asin.c: Likewise.
1396 * math/w_asinf.c: Likewise.
1397 * math/w_asinl.c: Likewise.
1398 * math/w_atanh.c: Likewise.
1399 * math/w_atanhf.c: Likewise.
1400 * math/w_atanhl.c: Likewise.
1401 * math/w_exp2.c: Likewise.
1402 * math/w_exp2f.c: Likewise.
1403 * math/w_exp2l.c: Likewise.
1404 * math/w_j0.c: Likewise.
1405 * math/w_j0f.c: Likewise.
1406 * math/w_j0l.c: Likewise.
1407 * math/w_j1.c: Likewise.
1408 * math/w_j1f.c: Likewise.
1409 * math/w_j1l.c: Likewise.
1410 * math/w_jn.c: Likewise.
1411 * math/w_jnf.c: Likewise.
1412 * math/w_log.c: Likewise.
1413 * math/w_log10.c: Likewise.
1414 * math/w_log10f.c: Likewise.
1415 * math/w_log10l.c: Likewise.
1416 * math/w_log2.c: Likewise.
1417 * math/w_log2f.c: Likewise.
1418 * math/w_log2l.c: Likewise.
1419 * math/w_logf.c: Likewise.
1420 * math/w_logl.c: Likewise.
1421 * math/w_sqrt.c: Likewise.
1422 * math/w_sqrtf.c: Likewise.
1423 * math/w_sqrtl.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1425 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1426 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1427 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1428 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1429
ebaf36eb
JM
14302012-02-19 Joseph Myers <joseph@codesourcery.com>
1431
1432 [BZ #9739]
1433 * manual/string.texi (strnlen): Use correct parameter name in
1434 equivalent expression.
1435
71c254a6
JM
14362012-02-19 Joseph Myers <joseph@codesourcery.com>
1437
1438 [BZ #11174]
1439 * manual/users.texi (seteuid): Consistently use neweuid for
1440 argument name.
1441
16d2c631
JM
14422012-02-19 Joseph Myers <joseph@codesourcery.com>
1443
1444 [BZ #13704]
1445 * manual/nss.texi (Services in the NSS configuration): Correct
1446 list of services in example configuration file.
1447
cd837b09
NB
14482012-02-19 Nick Bowler <nbowler@draconx.ca>
1449
1450 [BZ #11322]
1451 * manual/arith.texi: Remove statements about negative zero
1452 behaving identically to zero.
1453
02c4bbad
JM
14542012-02-18 Joseph Myers <joseph@codesourcery.com>
1455
1456 [BZ #5993]
1457 * manual/install.texi: Do not document upgrading from libc5.
1458
366842e7
JM
14592012-02-18 Joseph Myers <joseph@codesourcery.com>
1460
1461 [BZ #4596]
1462 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1463
dd54084d
DM
14642012-02-18 David S. Miller <davem@davemloft.net>
1465
1466 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1467 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1468 %o7 across the call.
1469 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1470 instead.
1471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1472 SETUP_PIC_REG_LEAF.
1473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1474 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1475 * sysdeps/sparc/crtn.S: Likewise.
1476
2bcc53a3
UD
14772012-02-17 Ulrich Drepper <drepper@gmail.com>
1478
1479 * aout/Makefile: Remove.
1480
09c093b5
RK
14812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1482
1483 [BZ #13058]
1484 * manual/examples/argp-ex1.c (main): Format definition in GNU
1485 style.
1486 * manual/examples/argp-ex2.c (main): Likewise.
1487 * manual/examples/argp-ex3.c (main): Likewise.
1488 * manual/examples/argp-ex4.c (main): Likewise.
1489 * manual/examples/longopt.c (main): Use new-style prototype
1490 definition.
1491 * manual/examples/strncat.c (main): Specify return type and use
1492 (void) for arguments.
1493 * manual/examples/subopt.c (main): Use char **argv argument.
1494
2ee633a2
JM
14952012-02-17 Joseph Myers <joseph@codesourcery.com>
1496
1497 [BZ #5077]
1498 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1499 rounding modes.
1500
0520adde
FB
15012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1502
1503 [BZ #6907]
1504 * manual/string.texi (strchr): Change when strchrnul is
1505 recommended.
1506
3f4081cd
DGM
15072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1508
1509 [BZ #174]
1510 * manual/locale.texi (setlocale): Document LOCPATH.
1511
d1b10e78
JM
15122012-02-17 Joseph Myers <joseph@codesourcery.com>
1513
1514 [BZ #10210]
1515 * manual/process.texi (execle): Move @dots{} before last argument.
1516
79c6869c
PB
15172012-02-17 Paul Bolle <pebolle@tiscali.nl>
1518
1519 [BZ #12047]
1520 * manual/charset.texi (Generic Charset Conversion): Fix typo
1521 (LC_TYPE -> LC_CTYPE).
1522
cc6e48bc
NB
15232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1524
1525 [BZ #5805]
1526 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1527 (scalbnf): Likewise.
1528 (scalbnl): Likewise.
1529 (scalbln): Likewise.
1530 (scalblnf): Likewise.
1531 (scalblnl): Likewise.
1532 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1533 (vwarnx): Likewise.
1534 (verr): Likewise.
1535 (verrx): Likewise.
1536 * manual/filesys.texi (telldir): Use braces around return type.
1537 * manual/llio.texi (mmap): Add space after comma.
1538 (mmap64): Likewise.
1539 * manual/math.texi (jn): Use @var{} on parameter names.
1540 (jnf): Likewise.
1541 (jnl): Likewise.
1542 (yn): Likewise.
1543 (ynf): Likewise.
1544 (ynl): Likewise.
1545 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1546 line.
1547 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1548 "...".
1549 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1550 (sched_get_priority_max): Likewise.
1551 * manual/signal.texi (sigvec): Add space after comma.
1552 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1553 names.
1554 (if_indextoname): Likewise.
1555 (if_freenameindex): Likewise.
1556 (sendto): Use ',' instead of '.' in prototype.
1557 * manual/startup.texi (syscall): Use @dots{} instead of literal
1558 "...".
1559 * manual/stdio.texi (__fpending): Separate initial words of
1560 paragraph from @deftypefun line.
1561 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1562 "...".
1563 (vsyslog): Use @var{} on parameter names.
1564 * manual/terminal.texi (stty): Use @var{} on parameter names.
1565 * manual/users.texi (getutmp): Use @var{} on parameter names.
1566 (getutmpx): Likewise.
1567
5b23062f
JM
15682012-02-17 Joseph Myers <joseph@codesourcery.com>
1569
1570 [BZ #6884]
1571 * manual/stdio.texi (fopen): Fix typos in description of
1572 ",ccs=STRING".
1573
8dee4833
AJ
15742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1575
1576 [BZ #4026]
1577 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1578 get clock_id definition.
1579
9078ce93
TS
15802012-02-17 Thomas Schwinge <thomas@schwinge.name>
1581
1582 [BZ #4822]
1583 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1584 (madvise): Cast every argument to void on its own.
1585
3835c55f
JM
15862012-02-17 Joseph Myers <joseph@codesourcery.com>
1587
1588 [BZ #9902]
1589 * manual/startup.texi (Exit Status): Fix typo.
1590
35c47e37
JM
15912012-02-17 Joseph Myers <joseph@codesourcery.com>
1592
1593 [BZ #10140]
1594 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1595 * manual/examples/argp-ex2.c: Likewise.
1596 * manual/examples/argp-ex3.c: Likewise.
1597
e3b69ca7
RH
15982012-02-16 Richard Henderson <rth@redhat.com>
1599
1600 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1601 * sysdeps/s390/s390-32/initfini.c: Remove.
1602 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1603 * sysdeps/s390/s390-64/initfini.c: Remove.
1604
df83af67
KK
16052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1606
1607 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1608 compiler output for sysdeps/generic/initfini.c.
1609 * sysdeps/sh/elf/initfini.c: Remove file.
1610
f63f3380
DM
16112012-02-16 David S. Miller <davem@davemloft.net>
1612
fb59b3a4
DM
1613 [BZ #11494]
1614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1615
f63f3380
DM
1616 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1617 * sysdeps/sparc/crti.S: New file.
1618 * sysdeps/sparc/crtn.S: New file.
1619 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1620 * sysdeps/sparc/sparc64/Makefile: Likewise.
1621
df6a4a4a
MF
16222012-02-15 Mike Frysinger <vapier@gentoo.org>
1623
6dd8f3dc 1624 [BZ #3335]
df6a4a4a
MF
1625 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1626
1cac7236
RM
16272012-02-15 Roland McGrath <roland@hack.frob.com>
1628
d2c736f8
RM
1629 [BZ #4822]
1630 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1631
1cac7236
RM
1632 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1633 (write, read, close): Likewise.
1634 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1635
8e475601
JM
16362012-02-15 Joseph Myers <joseph@codesourcery.com>
1637
1638 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1639 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1640 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1641 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1642 <bits/signalfd.h>.
1643 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1645 bits/signalfd.h.
1646
ed656b40
MP
16472012-02-14 Marek Polacek <polacek@redhat.com>
1648
1649 * sysdeps/x86_64/crti.S: New file.
1650 * sysdeps/x86_64/crtn.S: New file.
1651 * sysdeps/x86_64/elf/initfini.c: Remove file.
1652
2a979d3a
JM
16532012-02-13 Joseph Myers <joseph@codesourcery.com>
1654
1655 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1656 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1657 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1658 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1659 <bits/inotify.h>.
1660 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1662 bits/inotify.h.
1663
2a418ac3
JM
16642012-02-13 Joseph Myers <joseph@codesourcery.com>
1665
1666 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1667 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1668 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1669 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1670 <bits/eventfd.h>.
1671 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1673 bits/eventfd.h.
1674
fb779be7
TS
16752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1676
e19e83c5
RM
1677 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1678 __feraiseexcept instead of feraiseexcept.
7c35ffed 1679
fb779be7
TS
1680 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1681 nanosleep invocations.
1682 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1683 strings, and add error checking for a nanosleep invocations.
1684
59ba27a6
PE
16852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1686
1687 Replace FSF snail mail address with URLs, as per GNU coding standards.
1688 Most of the snail mail addresses were wrong anyway, and omitting
1689 them makes the source code easier to maintain. Almost all of the
1690 changes are to license notices and to locale LC_IDENTIFICATION
1691 addresses, except for this one:
1692 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1693 not its snail mail address.
1694
57b957eb
RH
16952012-02-09 Richard Henderson <rth@twiddle.net>
1696
af850b1c
RH
1697 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1698 of kernel-features.h.
1699
57b957eb
RH
1700 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1701
6b73181a
MP
17022012-02-08 Marek Polacek <polacek@redhat.com>
1703
1704 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1705 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1706 * sysdeps/gnu/_G_config.h: Likewise.
1707 * sysdeps/generic/_G_config.h: Likewise.
1708
26ecc33a
AS
17092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1710
6c6dbc63
AS
1711 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1712 tests.
1713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1714
e216c012
AS
1715 * sysdeps/powerpc/powerpc32/crti.S: New file.
1716 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1717 * sysdeps/powerpc/powerpc64/crti.S: New file.
1718 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1719
26ecc33a
AS
1720 * Makeconfig (have-initfini): Don't set.
1721 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1722 * configure.in (nopic_initfini): Don't substitute.
1723 * config.h.in (HAVE_INITFINI): Don't #undef.
1724 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1725 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1726
3add8e13
JM
17272012-02-08 Joseph Myers <joseph@codesourcery.com>
1728
1729 Support crti.S and crtn.S provided directly by architectures.
1730 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1731 [crti.S in sysdirs] (omit-deps): Likewise.
1732 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1733 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1734 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1735 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1736 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1737 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1738 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1739 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1740 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1741 compiler output for sysdeps/generic/initfini.c.
1742 * sysdeps/i386/elf/Makefile: Remove file.
1743 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1744
a22f12b4
MP
17452012-02-07 Marek Polacek <polacek@redhat.com>
1746
1747 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1748 * sysdeps/gnu/_G_config.h: Likewise.
1749 * sysdeps/mach/hurd/_G_config.h: Likewise.
1750
148cf100
MP
17512012-02-07 Marek Polacek <polacek@redhat.com>
1752
1753 * math/Makefile (tests): Add tst-CMPLX2.
1754 * math/tst-CMPLX2.c: New file.
1755
cfdc0dd7
AS
17562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1757
84ba42c4
AS
1758 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1759
cfdc0dd7
AS
1760 * math/libm-test.inc (jn_test): Add missing L suffix.
1761
622c86f4
MP
17622012-02-06 Marek Polacek <polacek@redhat.com>
1763
1764 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1765 * sysdeps/i386/fpu/e_powf.S: Likewise.
1766 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1767 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1768 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1769 * sysdeps/i386/fpu/e_pow.S: Likewise.
1770 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1771 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1772 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1773 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1774 * sysdeps/i386/fpu/e_log2.S: Likewise.
1775 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1776 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1777 * sysdeps/i386/fpu/e_powl.S: Likewise.
1778 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1779 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1780 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1781 * sysdeps/i386/fpu/e_logl.S: Likewise.
1782 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1783 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1784 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1785 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1786 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1787 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1788 * sysdeps/i386/fpu/e_log.S: Likewise.
1789 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1790 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1791 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1792 * sysdeps/i386/fpu/e_logf.S: Likewise.
1793 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1794 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1795 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1796 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1797 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1798 * sysdeps/i386/fpu/e_log10.S: Likewise.
1799 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1800 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1801 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1802 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1803 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1804 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1805 * sysdeps/i386/asm-syntax.h: Likewise.
1806 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1807 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1808 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1809 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1810 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1811 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1812 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1813 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1814 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1815 * sysdeps/powerpc/sysdep.h: Likewise.
1816 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1817 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1818
d4a54ac6
JM
18192012-02-06 Joseph Myers <joseph@codesourcery.com>
1820
1821 [BZ #411]
1822 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1823
314054ea
JM
18242012-02-06 Joseph Myers <joseph@codesourcery.com>
1825
1826 * sysdeps/i386/sysdep.h: Include <features.h>.
1827 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1828 version.
1829
d8e0ca50
JM
18302012-02-05 Joseph Myers <joseph@codesourcery.com>
1831
1832 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1833 Define.
1834 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1835 LOAD_PIC_REG_STR.
1836
b1da7dd9
JM
18372012-02-03 Joseph Myers <joseph@codesourcery.com>
1838
1839 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1840 (SETUP_PIC_REG): Use GET_PC_THUNK.
1841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1842 macro.
1843
9a1d9254
JM
18442012-02-03 Joseph Myers <joseph@codesourcery.com>
1845
1846 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1847 for non-PIC compilation.
1848 (SETUP_PIC_REG): Add .p2align directive.
1849 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1850 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1851 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1852 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1853 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1854 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1855 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1857 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1858 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1859 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1860 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1861 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1862 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1863 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1864 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1865 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1866 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1867 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1868 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1869 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1870 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1871 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1872 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1873 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1875 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1876 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1877 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1878 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1879 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1880 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1881 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1882 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1883 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1884 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1885 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1886 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1887 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1888 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1889 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1890
65dc3b75
JM
18912012-02-03 Joseph Myers <joseph@codesourcery.com>
1892
1893 * math/tst-CMPLX.c: Include <stdio.h>.
1894
d55bf177
JM
18952012-01-31 Joseph Myers <joseph@codesourcery.com>
1896
1897 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1898 float.
1899 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1900 * sysdeps/sparc/bits/mathdef.h: Likewise.
1901
69db4f8f
MP
19022012-01-31 Marek Polacek <polacek@redhat.com>
1903
1904 * libio/libio.h: Don't define _PARAMS.
1905 * locale/programs/config.h: Don't define PARAMS.
1906 * stdlib/strtol_l.c: Likewise.
1907 (__strtol_l): Remove PARAMS from the prototype.
1908
41b81892
UD
19092012-01-31 Ulrich Drepper <drepper@gmail.com>
1910
3b49edc0
UD
1911 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1912 names. Just use the correct names. Remove unnecessary wrapper
1913 functions.
1914 * malloc/arena.c: Likewise.
1915 * malloc/hooks.c: Likewise.
1916
41b81892
UD
1917 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1918 ARENA_TEST says not to. Simplify test for creation of a new arena.
1919 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1920
27a25b6e
UD
19212012-01-30 Ulrich Drepper <drepper@gmail.com>
1922
1923 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1924 into tail calls.
1925 (update_get_addr): New function.
1926 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1927 GET_ADDR_MODULE parameter.
1928
c8a89e7d
JM
19292012-01-30 Joseph Myers <joseph@codesourcery.com>
1930
1931 * crypt/cert.c: Remove __STDC__ conditionals.
1932 * crypt/crypt-entry.c: Likewise.
1933 * crypt/crypt_util.c: Likewise.
1934 * libio/filedoalloc.c: Likewise.
1935 * libio/fileops.c: Likewise.
1936 * libio/genops.c: Likewise.
1937 * libio/iofclose.c: Likewise.
1938 * libio/iofdopen.c: Likewise.
1939 * libio/iofopen.c: Likewise.
1940 * libio/iofopen64.c: Likewise.
1941 * libio/iogetdelim.c: Likewise.
1942 * libio/iopopen.c: Likewise.
1943 * libio/obprintf.c: Likewise.
1944 * libio/oldfileops.c: Likewise.
1945 * libio/oldiofclose.c: Likewise.
1946 * libio/oldiofdopen.c: Likewise.
1947 * libio/oldiofopen.c: Likewise.
1948 * libio/oldiopopen.c: Likewise.
1949 * libio/wfiledoalloc.c: Likewise.
1950 * libio/wgenops.c: Likewise.
1951 * locale/programs/xmalloc.c: Likewise.
1952 * misc/syslog.c: Likewise.
1953 * stdio-common/xbug.c: Likewise.
1954 * string/memchr.c: Likewise.
1955 * string/memcmp.c: Likewise.
1956 * string/memrchr.c: Likewise.
1957 * string/rawmemchr.c: Likewise.
1958 * sysdeps/posix/getcwd.c: Likewise.
1959 * time/strftime_l.c: Likewise.
1960
3b100462
JM
19612012-01-30 Joseph Myers <joseph@codesourcery.com>
1962
1963 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1964 * config.make.in (config-cflags-sse2avx): Define.
1965 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1966 Fix typo.
1967
607998af
CM
19682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1969
1970 * scripts/config.guess: Update from upstream config git repository.
1971 * scripts/config.sub: Likewise.
1972
3601428f
CM
19732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1974
3ac8b282
CM
1975 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1976 (EM_NUM): Update.
1977 (R_TILEPRO_*, R_TILEGX_*): New macros.
1978
e034841e
CM
1979 * scripts/firstversions.awk: Fix bug in version range handling.
1980
540d7568
CM
1981 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1982
3601428f
CM
1983 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1984
463de862
CM
1985 * include/sys/epoll.h: New file.
1986 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1987 libc_hidden_def.
1988
73139a76
UD
19892012-01-28 Ulrich Drepper <drepper@gmail.com>
1990
96bc5b45
UD
1991 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1992 Avoid unnecessary __WORDSIZE == 64 test.
1993 (fmaxf): Use VEX format if possible.
1994 (fmax): Likewise.
1995 (fminf): Likewise.
1996 (fmin): Likewise.
1997
56f6f6a2
UD
1998 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1999 * math/math_private.h: Remove libc_fegetround* and
2000 libc_fesetround*.
2001 * sysdeps/i386/configure.in: Check for -msse2avx.
2002 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2003 also if SSE2AVX is defined.
2004 Remove libc_fegetround* and libc_fesetround*.
2005 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2006 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2007 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2008 of HAS_YMM_USABLE.
2009 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2010 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2011 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2012 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2013 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2014
73139a76
UD
2015 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2016
d73f93a4
AZ
20172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018
2019 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2020 size is not set.
2021 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2022
6ee65ed6
UD
20232012-01-27 Ulrich Drepper <drepper@gmail.com>
2024
2025 [BZ #13618]
2026 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2027 relocation.
2028 * Makeconfig (libm): Define.
2029 * elf/Makefile: Add rules to build and run tst-relsort1.
2030 * elf/tst-relsort1.c: New file.
2031 * elf/tst-relsort1mod1.c: New file.
2032 * elf/tst-relsort1mod2.c: New file.
2033
8db21882
JM
20342012-01-27 Joseph Myers <joseph@codesourcery.com>
2035
2036 * math/s_ldexp.c: Remove __STDC__ conditionals.
2037 * math/s_ldexpf.c: Likewise.
2038 * math/s_ldexpl.c: Likewise.
2039 * math/s_nextafter.c: Likewise.
2040 * math/s_nexttowardf.c: Likewise.
2041 * math/s_significand.c: Likewise.
2042 * math/s_significandf.c: Likewise.
2043 * math/s_significandl.c: Likewise.
2044 * math/w_jnl.c: Likewise.
2045 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2046 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2047 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2048 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2049 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2051 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2052 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2053 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2054 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2055 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2056 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2057 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2058 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2059 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2060 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2061 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2062 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2066 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2067 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2068 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2069 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2070 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2071 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2072 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2073 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2075 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2076 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2077 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2078 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2079 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2080 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2081 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2082 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2083 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2084 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2085 * sysdeps/ieee754/k_standard.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2114 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2142 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2146 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2147 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2148 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2149 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2152 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2154 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2159 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2160 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2161 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2165 * sysdeps/ieee754/s_matherr.c: Likewise.
2166 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2167 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2170
965a54a4
JM
21712012-01-26 Joseph Myers <joseph@codesourcery.com>
2172
2173 * crypt/md5.h: Remove __STDC__ conditionals.
2174 * libio/libioP.h: Likewise.
2175 * locale/programs/config.h: Likewise.
2176 * sysdeps/generic/sysdep.h: Likewise.
2177 * sysdeps/i386/asm-syntax.h: Likewise.
2178 * sysdeps/s390/asm-syntax.h: Likewise.
2179 * sysdeps/unix/sysdep.h: Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2182
7071ad79
JM
21832012-01-26 Joseph Myers <joseph@codesourcery.com>
2184
2185 * libio/libio.h: Remove __STDC__ conditionals.
2186 * malloc/obstack.h: Likewise.
2187 * math/complex.h: Likewise.
2188 * math/math.h: Likewise.
2189 * sysdeps/generic/_G_config.h: Likewise.
2190 * sysdeps/gnu/_G_config.h: Likewise.
2191 * sysdeps/mach/hurd/_G_config.h: Likewise.
2192 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2193 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2194 * sysdeps/sparc/bits/mathdef.h: Likewise.
2195
afc5ed09
UD
21962012-01-26 Ulrich Drepper <drepper@gmail.com>
2197
2198 [BZ #13583]
2199 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2200 Clean up HAS_* macros.
afc5ed09 2201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2202 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2203 possible.
2204 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2205 HAS_AVX.
2206 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2207 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2208 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2209 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2210 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2211
bdb6de1d
JM
22122012-01-25 Joseph Myers <joseph@codesourcery.com>
2213
2214 * elf/tst-unique3.cc (gets): Remove declaration.
2215 * elf/tst-unique3lib.cc (gets): Likewise.
2216 * elf/tst-unique3lib2.cc (gets): Likewise.
2217 * elf/tst-unique4.cc (gets): Likewise.
2218
b15549e6
UD
22192012-01-24 Ulrich Drepper <drepper@gmail.com>
2220
2221 * include/stdio.h: Add C++ protection. Add gets declarations and
2222 definitions.
2223 * debug/tst-chk1.c: Don't declare gets here.
2224 * stdio-common/tst-gets.c: Likewise.
2225
a037381f
JM
22262012-01-24 Joseph Myers <joseph@codesourcery.com>
2227
2228 * posix/glob: Remove directory.
2229
f1d4aa75
JM
22302012-01-24 Joseph Myers <joseph@codesourcery.com>
2231
2232 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2233
81c0c964
PT
22342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2235
2236 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2237 of the non-standard EPFNOSUPPORT.
2238
0ea698ae
ST
22392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2240
2241 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2242 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2243 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2244
d220b117
UD
22452012-01-21 Ulrich Drepper <drepper@gmail.com>
2246
2247 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2248
3e1aa84e
UD
22492012-01-20 Ulrich Drepper <drepper@gmail.com>
2250
2251 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2252 transient errors.
2253 * nscd/grpcache.c (cache_addgr): Likewise.
2254 * nscd/hstcache.c (cache_addhst): Likewise.
2255 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2256 * nscd/pwdcache.c (cache_addpw): Likewise.
2257 * nscd/servicescache.c (cache_addserv): Likewise.
2258
400aa020
UD
22592012-01-16 Ulrich Drepper <drepper@gmail.com>
2260
d77e7869
UD
2261 * malloc/malloc.c: Various cleanups.
2262 * malloc/hooks.c: Likewise.
2263
400aa020
UD
2264 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2265 * stdlib/bug-fmtmsg1.c: New file.
2266
2267 * stdlib/fmtmsg.c (init): Add missing unlock.
2268 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2269
e0a309cf
MP
22702012-01-12 Marek Polacek <polacek@redhat.com>
2271
2272 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2273 and _GNU_SOURCE.
2274
929d11c7
WS
22752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2276
2277 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2278 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2279 macro to ensure uniqueness of label name.
2280 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2281 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2282
41d0e869
UD
22832012-01-11 Ulrich Drepper <drepper@gmail.com>
2284
0cc5ed3b
UD
2285 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2286
41d0e869
UD
2287 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2288 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2289 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2291
a47a831a
UD
22922012-01-10 Ulrich Drepper <drepper@gmail.com>
2293
daa891c0
UD
2294 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2295
2296 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2297 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2298 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2299
e58ef0f2
UD
2300 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2301
a47a831a 2302 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
2303 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2304 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 2305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
2306
2307 * math/bits/math-finite.h: Add ldexp support.
2308
a0bfc9c7
MP
23092012-01-10 Marek Polacek <polacek@redhat.com>
2310
2311 * locale/programs/localedef.h (show_archive_content): Add noreturn
2312 attribute.
2313
d6e97a1d
UD
23142012-01-09 Ulrich Drepper <drepper@gmail.com>
2315
2316 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2317
d5835c26
UD
23182012-01-08 Ulrich Drepper <drepper@gmail.com>
2319
e5f484c6
UD
2320 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2321
d5835c26
UD
2322 * io/Makefile (headers): Add bits/poll2.h.
2323
d1f741e9
WS
23242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2325
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2327 typo #include statement.
2328
ec09c1c4
UD
23292012-01-08 Ulrich Drepper <drepper@gmail.com>
2330
2331 * include/sys/cdefs.h: Define __attribute_alloc_size.
2332 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2333 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2334 * elf/pldd.c: Likewise.
2335 * iconv/iconv_charmap.c: Likewise.
2336 * iconv/iconvconfig.c: Likewise.
2337 * iconv/strtab.c: Likewise.
2338 * locale/programs/locale.c: Likewise.
2339 * locale/programs/localedef.h: Likewise.
2340 * locale/programs/simple-hash.c: Likewise.
2341 * nscd/nscd.h: Likewise.
2342 * nss/makedb.c: Likewise.
2343 * sysdeps/generic/ldconfig.h: Likewise.
2344 * locale/programs/localedef.c: Remove xmalloc prototype.
2345 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2346
20b38e03
PP
23472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2348
2349 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2350 appropriate.
2351
a0da5fe1
UD
23522012-01-08 Ulrich Drepper <drepper@gmail.com>
2353
1d5a644a 2354 * math/Makefile (tests): Add tst-CMPLX.
669704fd 2355 * math/tst-CMPLX.c: New file.
1d5a644a 2356
8784a6db
UD
2357 * math/complex.h (CMPLXL): Fix typo.
2358
d9a216c0
UD
2359 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2360 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2361 GLIBC_2.16.
2362 * debug/tst-chk1.c: Add poll and ppoll tests.
2363 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2364 * include/sys/poll.h: Add hidden proto for ppoll.
2365 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2366 * sysdeps/mach/hurd/ppoll.c: Likewise.
2367 * io/ppoll.c: Likewise.
2368 * debug/poll_chk.c: New file.
2369 * debug/ppoll_chk.c: New file.
2370 * include/bits/poll2.h: New file.
2371 * io/bits/poll2.h: New file.
2372
ac097f5c
UD
2373 [BZ #1350]
2374 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2375
2119dcfa
UD
2376 * configure.in: static is always set to yes. Remove.
2377 * config.make.in: Don't set build-static.
2378 * Makeconfig: Remove use of build-static.
2379 * dlfcn/Makefile: Likewise.
2380 * elf/Makefile: Likewise.
2381 * math/Makefile: Likewise.
2382 * misc/Makefile: Likewise.
2383 * nptl/Makefile: Likewise.
2384 * sysdeps/mach/hurd/Makefile: Likewise.
2385
121766a9
UD
2386 * configure.in: PWD_P is not used anymore.
2387 * config.make.in: Remove PWD_P entry.
2388
51a1d39c 2389 * configure.in: Remove last remnants of RANLIB.
8720d066 2390 No need to check for signed size_t anymore.
215f4bdc
UD
2391 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2392 and IA-64.
3857022a 2393 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
2394 * aclocal.m4: Likewise.
2395
d3ed7225
UD
2396 * wcsmbs/mbrtoc16.c: Implement using towc function.
2397 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2398 * wcsmbs/wcsmbsload.c: Likewise.
2399 * iconv/gconv_simple.c: Likewise.
2400 * iconv/gconv_int.h: Likewise.
2401 * iconv/gconv_builtin.h: Likewise.
2402 * iconv/iconv_prog.c: Remove CHAR16 handling.
2403
2404 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2405
2406 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2407
a0da5fe1
UD
2408 * configure.in: Remove --with-elf and --enable-bounded options.
2409 Dont set base_machine for ia64. More non-ELF conditions removed.
2410 Remove testing and setting of leading underscore information.
2411 * config.make.in (build-bounded): Set to no.
2412 * config.h.in: Remove NO_UNDERSCORES entry.
2413 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2414 them.
2415 * csu/start.c: Remove !NO_UNDERSCORE code.
2416 * locale/localeinfo.h: Likewise.
2417 * sysdeps/generic/machine-gmon.h: Likewise.
2418 * sysdeps/generic/sysdep.h: Likewise.
2419 * sysdeps/i386/sysdep.h: Likewise.
2420 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2421 * sysdeps/mach/sysdep.h: Likewise.
2422 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2423 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2424 * sysdeps/sh/sysdep.h: Likewise.
2425 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2426 * sysdeps/unix/i386/sysdep.S: Likewise.
2427 * sysdeps/unix/sparc/start.c: Likewise.
2428 * sysdeps/unix/sparc/sysdep.S: Likewise.
2429 * sysdeps/unix/sparc/sysdep.h: Likewise.
2430 * sysdeps/unix/start.c: Likewise.
2431 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2432 * sysdeps/x86_64/sysdep.h: Likewise.
2433
df78418a
UD
24342012-01-07 Ulrich Drepper <drepper@gmail.com>
2435
a784e502
UD
2436 [BZ #13553]
2437 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2438 for non-gcc.
2439 * argp/argp-fmtstream.h: Use const instead __const.
2440 * argp/argp.h: Likewise.
2441 * assert/assert.h: Likewise.
2442 * bits/fenv.h: Likewise.
2443 * bits/sched.h: Likewise.
2444 * bits/sigset.h: Likewise.
2445 * bits/sigthread.h: Likewise.
2446 * catgets/nl_types.h: Likewise.
2447 * conform/data/pthread.h-data: Likewise.
2448 * crypt/crypt-private.h: Likewise.
2449 * crypt/crypt.h: Likewise.
2450 * crypt/crypt_util.c: Likewise.
2451 * ctype/ctype.h: Likewise.
2452 * debug/execinfo.h: Likewise.
2453 * debug/mbsnrtowcs_chk.c: Likewise.
2454 * debug/mbsrtowcs_chk.c: Likewise.
2455 * debug/wcsnrtombs_chk.c: Likewise.
2456 * debug/wcsrtombs_chk.c: Likewise.
2457 * debug/wcstombs_chk.c: Likewise.
2458 * dirent/dirent.h: Likewise.
2459 * dlfcn/dlfcn.h: Likewise.
2460 * elf/neededtest4.c: Likewise.
2461 * grp/grp.h: Likewise.
2462 * gshadow/gshadow.h: Likewise.
2463 * iconv/gconv.h: Likewise.
2464 * iconv/gconv_int.h: Likewise.
2465 * iconv/gconv_simple.c: Likewise.
2466 * iconv/iconv.h: Likewise.
2467 * iconv/loop.c: Likewise.
2468 * iconv/skeleton.c: Likewise.
2469 * include/aio.h: Likewise.
2470 * include/aliases.h: Likewise.
2471 * include/argz.h: Likewise.
2472 * include/arpa/inet.h: Likewise.
2473 * include/assert.h: Likewise.
2474 * include/dirent.h: Likewise.
2475 * include/dlfcn.h: Likewise.
2476 * include/execinfo.h: Likewise.
2477 * include/fcntl.h: Likewise.
2478 * include/fenv.h: Likewise.
2479 * include/glob.h: Likewise.
2480 * include/grp.h: Likewise.
2481 * include/libintl.h: Likewise.
2482 * include/mntent.h: Likewise.
2483 * include/netdb.h: Likewise.
2484 * include/pwd.h: Likewise.
2485 * include/rpc/netdb.h: Likewise.
2486 * include/sched.h: Likewise.
2487 * include/search.h: Likewise.
2488 * include/shadow.h: Likewise.
2489 * include/signal.h: Likewise.
2490 * include/stdio.h: Likewise.
2491 * include/stdlib.h: Likewise.
2492 * include/string.h: Likewise.
2493 * include/sys/socket.h: Likewise.
2494 * include/sys/stat.h: Likewise.
2495 * include/sys/statfs.h: Likewise.
2496 * include/sys/statvfs.h: Likewise.
2497 * include/sys/syslog.h: Likewise.
2498 * include/sys/time.h: Likewise.
2499 * include/sys/uio.h: Likewise.
2500 * include/time.h: Likewise.
2501 * include/unistd.h: Likewise.
2502 * include/utmp.h: Likewise.
2503 * include/wchar.h: Likewise.
2504 * include/wctype.h: Likewise.
2505 * inet/aliases.h: Likewise.
2506 * inet/arpa/inet.h: Likewise.
2507 * inet/netinet/ether.h: Likewise.
2508 * inet/netinet/in.h: Likewise.
2509 * intl/libintl.h: Likewise.
2510 * io/bits/fcntl2.h: Likewise.
2511 * io/fcntl.h: Likewise.
2512 * io/ftw.h: Likewise.
2513 * io/sys/poll.h: Likewise.
2514 * io/sys/stat.h: Likewise.
2515 * io/sys/statfs.h: Likewise.
2516 * io/sys/statvfs.h: Likewise.
2517 * io/utime.h: Likewise.
2518 * libio/bits/stdio.h: Likewise.
2519 * libio/bits/stdio2.h: Likewise.
2520 * libio/libio.h: Likewise.
2521 * libio/libioP.h: Likewise.
2522 * libio/stdio.h: Likewise.
2523 * locale/lc-ctype.c: Likewise.
2524 * locale/locale.h: Likewise.
2525 * login/utmp.h: Likewise.
2526 * malloc/arena.c: Likewise.
2527 * malloc/malloc.c: Likewise.
2528 * malloc/malloc.h: Likewise.
2529 * malloc/mcheck.c: Likewise.
2530 * malloc/mtrace.c: Likewise.
2531 * math/bits/mathcalls.h: Likewise.
2532 * math/fenv.h: Likewise.
2533 * math/math_private.h: Likewise.
2534 * misc/bits/error.h: Likewise.
2535 * misc/bits/syslog.h: Likewise.
2536 * misc/err.h: Likewise.
2537 * misc/error.h: Likewise.
2538 * misc/fstab.h: Likewise.
2539 * misc/mntent.h: Likewise.
2540 * misc/regexp.h: Likewise.
2541 * misc/search.h: Likewise.
2542 * misc/sgtty.h: Likewise.
2543 * misc/sys/mman.h: Likewise.
2544 * misc/sys/syslog.h: Likewise.
2545 * misc/sys/uio.h: Likewise.
2546 * misc/sys/xattr.h: Likewise.
2547 * misc/ttyent.h: Likewise.
2548 * nis/rpcsvc/ypclnt.h: Likewise.
2549 * nss/nss.h: Likewise.
2550 * posix/bits/unistd.h: Likewise.
2551 * posix/fnmatch.h: Likewise.
2552 * posix/glob.h: Likewise.
2553 * posix/sched.h: Likewise.
2554 * posix/spawn.h: Likewise.
2555 * posix/sys/wait.h: Likewise.
2556 * posix/unistd.h: Likewise.
2557 * posix/wordexp.h: Likewise.
2558 * pwd/pwd.h: Likewise.
2559 * resolv/netdb.h: Likewise.
2560 * resource/sys/resource.h: Likewise.
2561 * rt/aio.h: Likewise.
2562 * rt/bits/mqueue2.h: Likewise.
2563 * rt/mqueue.h: Likewise.
2564 * shadow/shadow.h: Likewise.
2565 * signal/signal.h: Likewise.
2566 * socket/send.c: Likewise.
2567 * socket/sendto.c: Likewise.
2568 * socket/sys/socket.h: Likewise.
2569 * stdio-common/printf.h: Likewise.
2570 * stdlib/bits/stdlib.h: Likewise.
2571 * stdlib/fmtmsg.h: Likewise.
2572 * stdlib/monetary.h: Likewise.
2573 * stdlib/stdlib.h: Likewise.
2574 * stdlib/ucontext.h: Likewise.
2575 * streams/stropts.h: Likewise.
2576 * string/argz.h: Likewise.
2577 * string/bits/string2.h: Likewise.
2578 * string/string.h: Likewise.
2579 * string/strings.h: Likewise.
2580 * sunrpc/rpc/auth.h: Likewise.
2581 * sunrpc/rpc/auth_des.h: Likewise.
2582 * sunrpc/rpc/clnt.h: Likewise.
2583 * sunrpc/rpc/netdb.h: Likewise.
2584 * sunrpc/rpc/pmap_clnt.h: Likewise.
2585 * sunrpc/rpc/xdr.h: Likewise.
2586 * sysdeps/generic/inttypes.h: Likewise.
2587 * sysdeps/generic/net/if.h: Likewise.
2588 * sysdeps/generic/sys/swap.h: Likewise.
2589 * sysdeps/gnu/net/if.h: Likewise.
2590 * sysdeps/gnu/utmpx.h: Likewise.
2591 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2592 * sysdeps/i386/i486/bits/string.h: Likewise.
2593 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2594 * sysdeps/s390/bits/string.h: Likewise.
2595 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2596 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2597 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2598 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2599 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2600 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2601 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2602 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2603 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2604 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2605 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2606 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2607 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2608 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2609 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2610 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2611 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2615 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2616 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2617 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2618 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2619 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2620 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2621 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2623 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2624 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2625 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2626 * sysvipc/sys/ipc.h: Likewise.
2627 * sysvipc/sys/msg.h: Likewise.
2628 * sysvipc/sys/sem.h: Likewise.
2629 * sysvipc/sys/shm.h: Likewise.
2630 * termios/termios.h: Likewise.
2631 * time/sys/time.h: Likewise.
2632 * time/time.h: Likewise.
2633 * wcsmbs/bits/wchar2.h: Likewise.
2634 * wcsmbs/uchar.h: Likewise.
2635 * wcsmbs/wchar.h: Likewise.
2636 * wctype/wctype.h: Likewise.
2637
0269750c
UD
2638 [BZ #13551]
2639 * Makeconfig: Remove all but ELF support including AIX support.
2640 * Makerules: Likewise.
2641 * config.h.in: Likewise.
2642 * config.make.in: Likewise.
2643 * configure: Likewise.
2644 * configure.in: Likewise.
2645 * csu/Makefile: Likewise.
2646 * csu/version.c: Likewise.
2647 * debug/Makefile: Likewise.
2648 * dlfcn/Makefile: Likewise.
2649 * elf/Makefile: Likewise.
2650 * extra-lib.mk: Likewise.
2651 * iconv/Makefile: Likewise.
2652 * include/libc-symbols.h: Likewise.
2653 * include/shlib-compat.h: Likewise.
2654 * resolv/Makefile: Likewise.
2655 * resolv/res_libc.c: Likewise.
2656 * rt/Makefile: Likewise.
2657 * sysdeps/i386/asm-syntax.h: Likewise.
2658 * sysdeps/i386/sysdep.h: Likewise.
2659 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2660 * sysdeps/mach/sysdep.h: Likewise.
2661 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2662 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2663 * sysdeps/s390/asm-syntax.h: Likewise.
2664 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2666 * sysdeps/sh/sysdep.h: Likewise.
2667 * sysdeps/unix/sparc/sysdep.h: Likewise.
2668 * sysdeps/wordsize-32/divdi3.c: Likewise.
2669 * sysdeps/x86_64/sysdep.h: Likewise.
2670
00bbd29b
UD
2671 * argp/Versions: Remove _argp_unlock_xxx.
2672
2673 [BZ #13559]
2674 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2675 * abilist/libBrokenLocale.abilist: Likewise.
2676 * abilist/libanl.abilist: Likewise.
2677 * abilist/libc.abilist: Likewise.
2678 * abilist/libcrypt.abilist: Likewise.
2679 * abilist/libdl.abilist: Likewise.
2680 * abilist/libm.abilist: Likewise.
2681 * abilist/libnsl.abilist: Likewise.
2682 * abilist/libpthread.abilist: Likewise.
2683 * abilist/libresolv.abilist: Likewise.
2684 * abilist/librt.abilist: Likewise.
2685 * abilist/libthread_db.abilist: Likewise.
2686 * abilist/libutil.abilist: Likewise.
2687 * abilist/libnss_db.abilist: New file.
2688
2689 * scripts/abilist.awk: Add support for indirect functions.
2690
a2693a0e
UD
2691 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2692
3f05895f
UD
2693 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2694
ecb6fb48
UD
2695 * shlib-versions: Remove entries for ports architectures.
2696
664f8cb9
UD
2697 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2698 files in ports.
2699 * elf/stackguard-macros.h: Remove support for IA-64.
2700 * elf/tst-auditmod1.c: Likewise.
2701 * sysdeps/generic/ldsodefs.h: Likewise.
2702
7ae81d88
UD
2703 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2704 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2705 configure files.
2706
bdeba135
UD
2707 [BZ #13552]
2708 * configure.in: Remove --enable-omitfp support.
2709 * FAQ.in: Adjust.
2710 * config.make.in: Likewise.
2711 * Makeconfig: Likewise.
2712 * manual/install.texi: Likewise.
2713
d75a0a62
UD
2714 In case anyone cares, the IA-64 architecture could move to ports.
2715 * sysdeps/ia64/*: Removed.
2716 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2717 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2718
dcc9756b
UD
2719 [BZ #13555]
2720 * configure.in: Remove entries for unsupported architectures.
2721
d3761ebc 2722 [BZ #13533]
9954432e
UD
2723 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2724 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2725 routines.
2726 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2727 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2728 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2729 fall back to using wcrtomb.
2730 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2731 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2732 renaming.
2733 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2734 * wcsmbs/tst-c16c32-1.c: New file.
2735
2736 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2737 local variable.
2738
c3a87236
UD
2739 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2740
28926a1b
UD
2741 * elf/tst-unique3.cc: Add explicit declaration of gets.
2742 * elf/tst-unique3lib.cc: Likewise.
2743 * elf/tst-unique3lib2.cc: Likewise.
2744 * elf/tst-unique4.cc: Likewise.
2745
df78418a
UD
2746 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2747
8ecd6b2a
JM
27482012-01-06 Joseph Myers <joseph@codesourcery.com>
2749
2750 [BZ #13566]
2751 * assert/assert.h (static_assert): Don't define for C++.
2752 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2753 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2754
9f115170
UD
27552012-01-03 Ulrich Drepper <drepper@gmail.com>
2756
5e0d0300
UD
2757 * iconv/loop.c (single loop): Fix assertion in storing of
2758 remaining bytes.
2759
9f115170
UD
2760 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2761
81fb02b0
UD
27622012-01-01 Ulrich Drepper <drepper@gmail.com>
2763
2764 * posix/getconf.c: Update copyright year.
2765 * nss/getent.c: Likewise.
a316c1f6 2766 * nss/makedb.c: Likewise.
81fb02b0
UD
2767 * iconv/iconvconfig.c: Likewise.
2768 * iconv/iconv_prog.c: Likewise.
2769 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2770 * elf/pldd.c: Likewise.
2771 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2772 * catgets/gencat.c: Likewise.
2773 * csu/version.c: Likewise.
2774 * elf/ldd.bash.in: Likewise.
2775 * elf/sprof.c (print_version): Likewise.
2776 * locale/programs/locale.c: Likewise.
2777 * locale/programs/localedef.c: Likewise.
a316c1f6 2778 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2779 * nscd/nscd.c (print_version): Likewise.
2780 * debug/xtrace.sh: Likewise.
2781 * malloc/memusage.sh: Likewise.
2782 * malloc/mtrace.pl: Likewise.
2783 * debug/catchsegv.sh: Likewise.
2784
2ba92745
JJ
27852011-12-30 Jakub Jelinek <jakub@redhat.com>
2786
2787 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2788 pure attribute.
2789
dadebdae
UD
27902011-12-24 Ulrich Drepper <drepper@gmail.com>
2791
d3761ebc 2792 [BZ #13533]
db6af3eb
UD
2793 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2794 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2795 transformations.
2796 * iconv/gconv_int.h: Likewise.
2797 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2798 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2799 from libc for GLIBC_2.16.
2800 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2801 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2802 * wcsmbs/uchar.h: Really define mbstate_t.
2803 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2804 * wcsmbs/c16rtomb.c: New file.
2805 * wcsmbs/mbrtoc16.c: New file.
2806 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2807 for C/POSIX locale.
2808 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2809 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2810
dadebdae
UD
2811 * wcsmbs/wchar.h: Add missing __restrict.
2812
67371b56
UD
28132011-12-23 Ulrich Drepper <drepper@gmail.com>
2814
74033a25
UD
2815 [BZ #13532]
2816 * time/Makefile (routines): Add timespec_get.
2817 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2818 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2819 timespec for ISO C11.
2820 * time/timespec_get.c: New file.
2821 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2822 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2823
380d7e87
UD
2824 [BZ #13531]
2825 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2826 * stdlib/stdlib.h: Declare aligned_alloc.
2827 * Versions.def: Add GLIBC_2.16 for libc.
2828 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2829
4e9e7a35
UD
2830 [BZ 13527]
2831 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2832 ISO C11.
2833
380d7e87 2834 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2835 code.
2836
03a71829
UD
2837 [BZ #13528]
2838 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2839
839e283e
UD
2840 [BZ #13529]
2841 * assert/assert.h (static_assert): Define.
2842
ce5294e2 2843 * version.h: Update for 2.16 development version.
90fa7312 2844
8d44e150 2845 [BZ #13526]
d7809905
UD
2846 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2847 _ISOC11_SOURCE.
2848
c0da14cd
UD
2849 * version.h (RELEASE): Bump for 2.15 release.
2850 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2851
530a3249
MP
2852 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2853 Patch by Marek Polacek <mpolacek@redhat.com>.
2854
67371b56
UD
2855 * bits/byteswap.h: Protect long long constants with __extension__.
2856 * sysdeps/i386/bits/byteswap.h: Likewise.
2857 * sysdeps/ia64/bits/byteswap.h: Likewise.
2858 * sysdeps/s390/bits/byteswap.h: Likewise.
2859 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2860
15db4de1
LD
28612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2862
2863 [BZ #13540]
bbe315ea
LD
2864 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2865 destination buffer.
15db4de1
LD
2866 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2867
2b2596b1
MP
28682011-12-23 Marek Polacek <polacek@redhat.com>
2869
2870 * elf/dl-addr.c (determine_info): Add inline keyword.
2871 * elf/tst-auditmod4b.c (check_avx): Likewise.
2872 * elf/tst-auditmod6b.c (check_avx): Likewise.
2873 * elf/tst-auditmod6c.c (check_avx): Likewise.
2874 * elf/tst-auditmod7b.c (check_avx): Likewise.
2875
70c6c246
UD
28762011-12-23 Ulrich Drepper <drepper@gmail.com>
2877
2878 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2879 !__SSE_MATH__.
2880
c044cf14
LD
28812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2882
15db4de1 2883 [BZ #13540]
c044cf14
LD
2884 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2885 processing for last bytes.
2886
6b13d9d9
BH
28872011-08-06 Bruno Haible <bruno@clisp.org>
2888
d455f537
BH
2889 [BZ #13061]
2890 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2891 U+0385, not to U+1FEE.
2892
6b13d9d9
BH
2893 [BZ #13062]
2894 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2895 entry for U+00A5 U+0301.
2896
db910efd
UD
28972011-12-22 Ulrich Drepper <drepper@gmail.com>
2898
27deeafc
UD
2899 [BZ #13166]
2900 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2901 buffer for the output is too small.
2902
aed9d171
UD
2903 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2904 optimization.
2905
db910efd
UD
2906 [BZ #13185]
2907 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2908 SSE flags if possible.
2909
2bd779ae
LD
29102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2911
e7f9dac3 2912 [BZ #13540]
2bd779ae
LD
2913 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2914 processing for last bytes.
2915
154bfc16
JM
29162011-12-22 Joseph Myers <joseph@codesourcery.com>
2917
2918 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2919 (syscall-list-default-options, syscall-list-default-condition)
2920 (syscall-list-includes): Define.
2921 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2922 list of ABIs and options and #if conditions for each ABI. Do not
2923 handle common syscalls between ABIs specially.
2924 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2925 Remove.
2926 (syscall-list-variants, syscall-list-32bit-options)
2927 (syscall-list-32bit-condition, syscall-list-64bit-options)
2928 (syscall-list-64bit-condition): Define.
2929 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2930 (syscall-list-variants, syscall-list-32bit-options)
2931 (syscall-list-32bit-condition, syscall-list-64bit-options)
2932 (syscall-list-64bit-condition): Define.
2933 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2934 Remove.
2935 (syscall-list-variants, syscall-list-32bit-options)
2936 (syscall-list-32bit-condition, syscall-list-64bit-options)
2937 (syscall-list-64bit-condition): Define.
2938 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2939 Remove.
2940 (syscall-list-variants, syscall-list-32bit-options)
2941 (syscall-list-32bit-condition, syscall-list-64bit-options)
2942 (syscall-list-64bit-condition): Define.
2943
21eaf3a5
UD
29442011-12-22 Ulrich Drepper <drepper@gmail.com>
2945
16c6f992
UD
2946 * locale/iso-639.def: Add brx entry.
2947
41043168
UD
2948 [BZ #13328]
2949 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2950 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2951
21eaf3a5
UD
2952 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2953 __feraiseexcept_renamed.
2954
e3a851a2
UD
29552011-12-21 Ulrich Drepper <drepper@gmail.com>
2956
4920765e
UD
2957 [BZ #13538]
2958 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2959 EPOLLET with unsigned values.
2960 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2961 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2962
e3a851a2
UD
2963 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2964 to large cancellation.
2965 * math/s_cacoshf.c: Likewise.
2966 * math/s_cacoshl.c: Likewise.
2967
b27e24b8
RK
29682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2969
2970 [BZ #13305]
aebefeee 2971 [BZ #12786]
b27e24b8
RK
2972 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2973 * math/s_cacoshf.c: Likewise.
2974 * math/s_cacoshl.c: Likewise.
2975
ee190f67
UD
29762011-12-21 Ulrich Drepper <drepper@gmail.com>
2977
2978 [BZ #13439]
2979 * iconv/gconv.h: Define __GCONV_SWAP.
2980 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2981 * iconvdata/utf-16.c: Likewise.
2982 * iconvdata/utf-32.c: Likewise.
2983
707f25df
AS
29842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2985
2986 [BZ #13524]
2987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2988 numerator after shifting it by one limb.
2989
d2daaa1e
RÁE
29902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2991
2992 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2993 under [__USE_EXTERN_INLINES].
2994
a4647e72
UD
29952011-12-17 Ulrich Drepper <drepper@gmail.com>
2996
2997 [BZ #13446]
2998 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2999
f0b264f1
AZ
30002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3001
3002 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3003 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3004 optimized code.
3005 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3006 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3007 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3008 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3009 for strncasecmp/strncasecmp_l compilation.
3010 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3011 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3012
8ef4f244
MP
30132011-12-08 Marek Polacek <mpolacek@redhat.com>
3014
3015 [BZ #13484]
3016 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3017 of __asm__.
3018
97ac2654
UD
30192011-12-17 Ulrich Drepper <drepper@gmail.com>
3020
3021 [BZ #13506]
3022 * time/tzfile.c (__tzfile_read): Check values from file header.
3023
91d2a845
WS
30242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3025
3026 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3027 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3028 * powerpc/powerpc32/dl-start.S: Likewise.
3029 * powerpc/powerpc32/elf/start.S: Likewise.
3030 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3031 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3032 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3033 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3034 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3035 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3036 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3037 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3038 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3039 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3040 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3041 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3042 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3043 * powerpc/powerpc32/memset.S: Likewise.
3044 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3045 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3046 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3047 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3048 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3049 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3050 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3051 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3052 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3053 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3054 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3055 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3056 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3057
a1267ba1
AZ
30582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3059
3060 * math/libm-test.inc: Added more nearbyint tests.
3061 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3062 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3063 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3065
ad8ac1bd
RL
30662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3067
3068 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3069 FD_CLOEXEC.
3070
1d3e4b61
UD
30712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3072
3073 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3074 Add wcscpy-ssse3 wcscpy-c.
3075 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3076 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3077 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3078 * sysdeps/x86_64/wcschr.S: New file.
3079 * sysdeps/x86_64/wcsrchr.S: New file.
3080 * string/test-strcmp.c: Remove checking of wcscmp function for
3081 wrong alignments.
3082 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3083 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3084 wcsrchr-sse2 wcsrchr-c.
3085 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3086 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3087 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3088 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3089 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3090 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3091 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3092 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3093 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3094 * wcsmbc/wcschr.c (WCSCHR): New macro.
3095
5b330a2d
UD
30962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3097
3098 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3099 * wcsmbs/test-wcsrchr.c: New file.
3100 * string/test-strrchr.c: Add wcsrchr support.
3101 (WIDE): New macro.
3102 * wcsmbs/test-wcscpy.c: New file.
3103 * string/test-strcpy.c: Add wcscpy support.
3104 (WIDE): New macro.
26428b7c 3105
f039c043
UD
31062011-12-10 Ulrich Drepper <drepper@gmail.com>
3107
3108 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3109 the inner loop.
3110
850fb039
AS
31112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3112
3113 [BZ #13472]
3114 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3115
4efbd5cb
UD
31162011-12-04 Ulrich Drepper <drepper@gmail.com>
3117
52ff5dd0 3118 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3119 Minor optimizations.
52ff5dd0 3120
4efbd5cb
UD
3121 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3122 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3123 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3124
8a426e12
UD
31252011-12-03 Ulrich Drepper <drepper@gmail.com>
3126
aff2453d
UD
3127 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3128 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3129 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3130 for gcc to avoid warnings.
3131 * inet/Makefile (tests): Add tst-checks.
3132 * inet/tst-checks.c: New file.
3133
3134 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3135 warning.
3136
3137 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3138 __wmemcmp_sse2.
3139
3140 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3141 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3142
8a426e12
UD
3143 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3144
9bea3473
UD
31452011-12-02 Ulrich Drepper <drepper@gmail.com>
3146
3a965496
UD
3147 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3148 problem.
3149
9bea3473
UD
3150 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3151
f101631b
UD
31522011-11-29 Joseph Myers <joseph@codesourcery.com>
3153
3154 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3155 conditional on GCC version.
3156 (__arch_compare_and_exchange_val_8_acq)
3157 (__arch_compare_and_exchange_val_16_acq)
3158 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3159 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3160 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3161
a98275aa
UD
31622011-12-02 Joseph Myers <joseph@codesourcery.com>
3163
3164 * sysdeps/sh/backtrace.c: New file.
3165
d4cc29a2
AS
31662011-12-02 Andreas Schwab <schwab@redhat.com>
3167
3168 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3169 parenthesis.
3170
6257af2d
AS
31712011-12-01 Andreas Schwab <schwab@redhat.com>
3172
3173 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3174 falling back to utime.
3175
b5f44c1a
AS
31762011-11-30 Andreas Schwab <schwab@redhat.com>
3177
3178 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3179 expectations for float.
3180
f3a6cc0a
AS
31812011-11-29 Andreas Schwab <schwab@redhat.com>
3182
3183 * locale/weight.h (findidx): Add parameter len.
3184 * locale/weightwc.h (findidx): Likewise.
3185 * posix/fnmatch_loop.c (FCT): Adjust caller.
3186 * posix/regcomp.c (build_equiv_class): Likewise.
3187 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3188 * posix/regexec.c (check_node_accept_bytes): Likewise.
3189 * string/strcoll_l.c (STRCOLL): Likewise.
3190 * string/strxfrm_l.c (STRXFRM): Likewise.
3191
9d65ea3a
UD
31922011-11-17 Ulrich Drepper <drepper@gmail.com>
3193
3194 * Makefile.in: Remove CVSOPT handling.
3195 * configure.in: Remove use of AC_REVISION.
3196 * iconvdata/Makefile (distribute): No need to filter out CVS.
3197 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3198 handling.
3199
5583a086
AS
32002011-11-16 Andreas Schwab <schwab@redhat.com>
3201
3202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3203 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3204 [USE_AS_STRNCASECMP_L]: Likewise.
3205 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3206 NO_TLS_DIRECT_SEG_REFS.
3207 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3208 Fix argument offsets for non-PIC.
3209 [USE_AS_STRNCASECMP_L]: Likewise.
3210 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3211 NO_TLS_DIRECT_SEG_REFS.
3212
d62a8200
UD
32132011-11-15 Ulrich Drepper <drepper@gmail.com>
3214
9d65ea3a 3215 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3216 O_CLOEXEC.
3217 * locale/loadlocale.c (_nl_load_locale): Likewise.
3218
09f93bd3
AS
32192011-11-15 Andreas Schwab <schwab@redhat.com>
3220
446514f9
AS
3221 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3222 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3223 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3224 (SYSCALL_GETTIME): Set errno on error.
3225
09f93bd3
AS
3226 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3227 count references to noai6ai_cached.
3228
312be3f9
UD
32292011-11-15 Ulrich Drepper <drepper@gmail.com>
3230
3231 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3232
3233 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3234 FD_CLOEXEC for /proc/self/maps.
3235
3236 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3237 FD_CLOEXEC for /proc/meminfo.
3238
3239 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3240 gai.conf.
3241
3242 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3243 FD_CLOEXEC for given file.
3244
3245 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3246
3247 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3248 FD_CLOEXEC for /etc/hosts.
3249 (_gethtent): Likewise.
3250
3251 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3252
3253 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3254 cancellation and set FD_CLOEXEC for /etc/netgroup.
3255
3256 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3257 reading /etc/publickey.
3258
3259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3260 allow cancellation when reading /etc/group.
3261
3262 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3263 cancellation.
3264 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3265
3266 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3267 when using data file.
3268
3269 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3270
3271 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3272 (write_nis_obj): Use "c" and "e" in fopen.
3273
3274 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3275
3276 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3277
3278 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3279
3280 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3281
3282 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3283 locale.alias.
3284
3285 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3286
3287 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3288
3289 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3290
3291 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3292 file parsing and set FD_CLOEXEC.
3293
82af0fa8
UD
32942011-11-14 Ulrich Drepper <drepper@gmail.com>
3295
3296 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3297
a5fb313c
AS
32982011-11-14 Andreas Schwab <schwab@redhat.com>
3299
3300 * malloc/arena.c (arena_get2): Don't call reused_arena when
3301 _int_new_arena failed.
3302
6abf3465
UD
33032011-11-14 Ulrich Drepper <drepper@gmail.com>
3304
3305 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3306 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3308 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3309 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3310 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3311 to compile strcasecmp and strncasecmp.
3312 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3313 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3314
3315 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3316
76e3966e
UD
33172011-11-13 Ulrich Drepper <drepper@gmail.com>
3318
3319 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3320 locale-defines.sym to gen-as-const-headers.
3321 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3322 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3324 to compile strcasecmp and strncasecmp.
3325 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3326 strcasecmp_l and strncasecmp_l.
3327 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3328 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3329 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3330 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3331 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3332 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3333 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3334 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3335 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3336 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3337 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3338
ab26144e
UD
33392011-11-12 Ulrich Drepper <drepper@gmail.com>
3340
7edb22ef
UD
3341 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3342 result of SYSDEP_GETTIME_CPU to retval.
3343 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3344 parameter list to macro. Remove trailing semicolon. Adjust users.
3345
9694fc44
UD
3346 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3347 variable.
3348
8ad89ef8
UD
3349 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3350 mantissa words.
3351 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3352
0c822ef9
UD
3353 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3354 from unused variable.
3355
874e0564
UD
3356 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3357 DWARF definitions.
3358 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3359 for assembling.
3360
3a2edc79
UD
3361 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3362 over namespaces.
3363
f3c2577f
UD
3364 * sunrpc/rpc_prot.c (rejected): Fix case value.
3365
294ce126
UD
3366 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3367 unsigned long long int to avoid warnings in shift.
3368
5e2b63c6
UD
3369 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3370 of use of trans.
3371 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3372 variable tmp.
3373
e7f4b08e
UD
3374 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3375 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3376 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3377
ab26144e
UD
3378 * nis/nis_table.c (nis_list): Use variable of correct type for
3379 result of __follow_path call.
3380
8a6d5255
AZ
33812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3382
3383 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3384 of math functions ceil, trunc, floor, round, and sqrt, when
3385 avaliable on the platform.
3386 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3387 name clash.
3388 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3389 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3390 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3391
aaddc98c
MP
33922011-10-30 Marek Polacek <mpolacek@redhat.com>
3393
3394 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3395 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3396
95b7042b
RM
33972011-11-11 Roland McGrath <roland@hack.frob.com>
3398
3399 * include/unistd.h: Fix __readlink return type.
3400 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3401
57769839
UD
34022011-11-11 Ulrich Drepper <drepper@gmail.com>
3403
3404 * stdlib/ucontext.h: Undo last change for makecontext.
3405
edc5984d
AS
34062011-11-11 Andreas Schwab <schwab@redhat.com>
3407
98591e58
AS
3408 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3409
edc5984d
AS
3410 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3411 * setjmp/setjmp.h: Mark functions as non-leaf.
3412 * setjmp/bits/setjmp2.h: Likewise.
3413 * stdlib/ucontext.h: Likewise.
3414
77cdc054
AS
34152011-11-10 Andreas Schwab <schwab@redhat.com>
3416
3417 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3418 (reused_arena): Don't check arena limit.
3419 (arena_get2): Atomically check arena limit.
3420
fe72eebd
UD
34212011-11-08 Ulrich Drepper <drepper@gmail.com>
3422
5f078c32
UD
3423 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3424 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3425
fe72eebd
UD
3426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3427 instructions.
3428
ae1bc2fa
AS
34292011-11-07 Andreas Schwab <schwab@redhat.com>
3430
7583a88d
AS
3431 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3432 handler when locking.
3433
ae1bc2fa
AS
3434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3435 Fix size of allocated buffer.
3436
10fb0bfa
AS
34372011-11-04 Andreas Schwab <schwab@redhat.com>
3438
998832a4
AS
3439 [BZ #10103]
3440 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3441 declarations for long double functions.
3442 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3443
10fb0bfa
AS
3444 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3445
3d7ba52b
AS
34462011-11-03 Andreas Schwab <schwab@redhat.com>
3447
a9ae54a1
AS
3448 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3449 installed.
3450
3d7ba52b
AS
3451 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3452 is disabled.
3453
bc8db248
ST
34542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3455
3456 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3457
45b96dd6
AS
34582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3459
647776f6
AS
3460 * include/alloca.h (stackinfo_alloca_round): Define.
3461 (extend_alloca): Use it.
3462 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3463 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3464 here.
3465
d91a8b93
AS
3466 * scripts/check-local-headers.sh: Ignore libaudit.h.
3467
45b96dd6
AS
3468 * nscd/Makefile (extra-objs): Make recursively expanded.
3469
432d41ce
UD
34702011-11-01 Ulrich Drepper <drepper@gmail.com>
3471
34372fc6
UD
3472 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3474
fadb59f8
UD
3475 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3476 * posix/tst-rfc3484-2.c: Likewise.
3477 * posix/tst-rfc3484-3.c: Likewise.
3478
78239589
UD
3479 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3480 process_vm_writev.
3481 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3482 process_vm_writev.
3483 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3484 process_vm_writev from libc using GLIBC_2.15 version.
3485
432d41ce
UD
3486 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3487
02f9c6cf
PP
34882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3489
3490 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3491 stack usage.
3492
3a2c0242
UD
34932011-10-31 Ulrich Drepper <drepper@gmail.com>
3494
f4ec4833
UD
3495 [BZ #13367]
3496 * nss/getent.c (initgroups_keys): Show error message in case no group
3497 names are given.
3498
3a2c0242
UD
3499 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3500 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3501 __bump_nl_timestamp.
3502 * nscd/connections (nscd_init): When host database is served open
3503 netlink socket and request notification about configuration changes.
3504 (main_loop_poll): Track netlink file descriptor and bump timestamp
3505 in case data becomes available.
3506 (main_loop_epoll): Likewise.
3507 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3508 (database_pers_head): Add extra_data fileds.
3509 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3510 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3511 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3512 Adjust caller.
3513 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3514 in6ai data, call __free_in6ai.
3515 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3516 Add -DHAVE_NETLINK.
3517 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3518 interface information. Reuse previous data if netlink timestamp
3519 is not changed.
3520 (__bump_nl_timestamp): New function.
3521 (__free_in6ai): New function.
3522
636064eb
UD
35232011-10-30 Ulrich Drepper <drepper@gmail.com>
3524
3525 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3526 close_not_cancel_no_status here.
3527 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3528
9beb2334
UD
35292011-10-29 Ulrich Drepper <drepper@gmail.com>
3530
6ef76f3b
UD
3531 [BZ #13276]
3532 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3533 return value.
3534
0ffc4f3e 3535 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3536 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3537 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3538
cb95113e
UD
35392011-07-03 Andreas Jaeger <aj@suse.de>
3540
3541 [BZ #10709]
3542 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3543 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3544 * math/libm-test.inc (sin_test): Add test case.
3545
a1b560ff
UD
35462011-10-29 Ulrich Drepper <drepper@gmail.com>
3547
c9aaface
UD
3548 [BZ #13337]
3549 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3550 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3551
d272e7f1
UD
3552 * elf/chroot_canon.c (chroot_canon): Cleanups.
3553
1bc33071
UD
3554 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3555
1760874d
TJ
3556 [BZ #13335]
3557 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3558 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3559
51d91b18
UD
3560 * string/test-strchr.c: Make usable for strchrnul testing.
3561 * string/test-strchrnul.c: New file.
3562 * string/Makefile (strop-tests): Add strchrnul.
3563
a1b560ff 3564 * po/it.po: Update from translation team.
b611fb81 3565 * po/es.po: Likewise.
a1b560ff 3566
a5b81e1f
UD
35672011-10-28 Ulrich Drepper <drepper@gmail.com>
3568
fd52bc6d
UD
3569 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3570 the three constants needed as parameters. Drop the others.
3571 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3572 __m128i_strloadu_tolower.
52e4b9eb
UD
3573 Create and initialize variable zero and use it in all the places
3574 where _mm_setzero_si128 was used.
fd52bc6d 3575
a5b81e1f
UD
3576 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3577 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3578 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3579 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3580 anymore.
3581 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3582 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3583 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3584 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3585 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3586 __mpranred, __mptan.
3587 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3588 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3589 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3590 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3591 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3592 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3593 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3594 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3595 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3596
b4343346
AS
35972011-10-28 Andreas Schwab <schwab@redhat.com>
3598
0c92d8a8
AS
3599 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3600 redefine if SHARED.
3601 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3602
b4343346
AS
3603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3604 wide char related routines to wcsmbs subdir.
3605
3871f58f
AS
36062011-10-27 Andreas Schwab <schwab@redhat.com>
3607
3608 [BZ #13344]
3609 * misc/sys/cdefs.h (__THROWNL): Define.
3610 * posix/unistd.h: Use __THREADNL instead of __THREAD
3611 for memory synchronization functions.
3612
94d44d9f
RM
36132011-10-26 Roland McGrath <roland@hack.frob.com>
3614
21b64b15 3615 [BZ #13349]
94d44d9f
RM
3616 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3617 doesn't exist.
3618 * manual/stdio.texi (Obstack Streams): Node removed.
3619
f6ce9294
AS
36202011-10-26 Andreas Schwab <schwab@redhat.com>
3621
80479147
AS
3622 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3623 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3624 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3625
f6ce9294
AS
3626 * math/math_private.h (math_force_eval): Allow non-addressable
3627 arguments.
3628 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3629
618280a1
UD
36302011-10-25 Ulrich Drepper <drepper@gmail.com>
3631
e0016b11
UD
3632 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3633 file is not needed.
3634
3635 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3636 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3637 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3638 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3639 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3641 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3642 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3643 Add AVX variants.
3644 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3645 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3646 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3647 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3648 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3649 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3650 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3651 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3652 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3653 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3654 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3655 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3656 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3657 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3658 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3659 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3660 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3661 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3662 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3663
3664 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3665 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3666
618280a1
UD
3667 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3668 place. Use VEX encoding when compiling for AVX.
3669
37822576
AS
36702011-10-25 Andreas Schwab <schwab@redhat.com>
3671
1f1e1947
AS
3672 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3673 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3674
37822576
AS
3675 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3676
31ea014d
UD
36772011-10-25 Ulrich Drepper <drepper@gmail.com>
3678
d7826aa1 3679 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3680 useless if() expression.
d7826aa1
UD
3681 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3682 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3683 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3684 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3685 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3686 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3687 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3688 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3690 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3691 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3692 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3693 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3694 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3695 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3696 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3697 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3699 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3700
31ea014d
UD
3701 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3702
16437fec
AS
37032011-10-25 Andreas Schwab <schwab@redhat.com>
3704
3705 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3706 condition.
3707 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3708
31d3cc00
UD
37092011-10-25 Ulrich Drepper <drepper@gmail.com>
3710
3711 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3712 .text section. Avoid duplicate constants.
3713 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3720 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3723 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3724 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3725 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3726 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3728 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3730 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3736 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3737 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3738 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3739 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3740 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3741 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3742 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3743 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3744 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3745 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3746 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3747 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3748 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3749 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3750 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3751 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3752 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3753 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3754 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3755 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3756 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3757 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3758
58985aa9
UD
37592011-10-24 Ulrich Drepper <drepper@gmail.com>
3760
202c9deb
UD
3761 * sysdeps/x86_64/dla.h: Move to ...
3762 * sysdeps/x86_64/fpu/dla.h: ...here.
3763 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3764 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3765
af968f62
UD
3766 * config.make.in: Add have-mfma4 entry.
3767 * configure.in: Substitute libc_cv_cc_fma4.
3768 * math/Makefile (dbl-only-routines): Add sincostab.
3769 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3770 Use __sincostab not sincos.
3771 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3772 name is a macro.
3773 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3777 using __copysign.
3778 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3779 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3780 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3781 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3782 and __inv.
3783 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3784 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3785 __copysign.
3786 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3787 define aliases when function name is a macro.
3788 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3789 sysdeps/ieee754/dbl-64/sincos.tbl.
3790 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3791 fma4-enabled routines.
3792 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3793 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3794 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3795 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3797 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3798 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3799 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3800 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3801 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3802 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3803 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3804 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3805 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3806 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3807 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3808 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3809 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3810 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3812 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3813 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3814 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3815 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3816 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3818 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3819 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3820 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3821 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3822
58985aa9
UD
3823 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3824 rename.
3825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3830 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3831 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3833
a201fbcf
AS
38342011-10-24 Andreas Schwab <schwab@redhat.com>
3835
3836 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3837
fc2ee42a
LD
38382011-10-23 Ulrich Drepper <drepper@gmail.com>
3839
bb3129bd
UD
3840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3841
0275fff8
UD
3842 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3843 prediction.
3844 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3845
2fa2ae85
UD
3846 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3847 Remove unused variable magic_bits.
3848 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3849
fc2ee42a
LD
3850 * string/strnlen.c: Define and use STRNLEN macro.
3851 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3852 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3854 * wcsmbs/wcslen.c: Define and use WCSLEN.
3855 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3856 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3857 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3858 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3859 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3860 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3861 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3862
ce7dd29f
LD
38632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3864
3865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3866 strnlen-sse2-no-bsf.
3867 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3868 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3869 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3870 Add strnlen support.
3871 (USE_AS_STRNLEN): New macro.
3872 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3873 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3874 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3875 * sysdeps/x86_64/wcslen.S: New file.
3876
979c70a3
MZ
38772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3878
3879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3880 XMM-moves are used for copying on small sizes.
3881
2d09f82f
LD
38822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3883
3884 * wcsmbs/Makefile (strop-tests): Add wcschr.
3885 * wcsmbs/test-wcschr.c: New file.
3886 * string/test-strchr.c: Update.
3887 Add wcschr support.
3888 (WIDE): New macro.
3889
619fccca
LD
38902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3891
2d09f82f 3892 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3893 * wcsmbs/test-wcslen.c: New file.
3894 * string/test-strlen.c: Update.
3895 Add wcslen support.
3896 (WIDE): New macro.
3897
09f699ea
UD
38982011-10-23 Ulrich Drepper <drepper@gmail.com>
3899
3900 * po/it.po: Update from translation team.
3901
95584d3b
LD
39022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3903
3904 * sysdeps/x86_64/wcscmp.S: Update.
3905 Fix wrong comparison semantics.
3906 wcscmp shall use signed comparison not unsigned.
3907 Don't use substraction to avoid overflow bug.
3908 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3909 * wcsmbc/wcscmp.c: Likewise.
3910 * string/test-strcmp.c: Likewise.
3911 Add new tests to check cases with negative values.
3912
c8b3296b
UD
39132011-10-23 Ulrich Drepper <drepper@gmail.com>
3914
3915 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3916 * sysdeps/x86_64/dla.h: ...here. New file.
3917 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3926
246ad57a
AS
39272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3928
3929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3930 __ynl_finite aliases.
3931
a1a87169
UD
39322011-10-22 Ulrich Drepper <drepper@gmail.com>
3933
0d355eb7
UD
3934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3935
a1a87169
UD
3936 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3937 define DLA_FMA.
3938 [DLA_FMA] (EMULV): Use DLA_FMA.
3939 [DLA_FMA] (MUL12): Use EMULV.
3940 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3941 that are not needed.
3942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3949
ee2aafe0
AS
39502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3951
3952 * math/s_nan.c: Undef __nan.
3953 * math/s_nanf.c: Undef __nanf.
3954 * math/s_nanl.c: Undef __nanl.
3955 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3956 "math_private.h".
3957
bc62c2fb
UD
39582011-10-22 Ulrich Drepper <drepper@gmail.com>
3959
77425c63
UD
3960 * math/s_catan.c: Add branch predictions.
3961 * math/s_catanf.c: Likewise.
3962 * math/s_catanh.c: Likewise.
3963 * math/s_catanhf.c: Likewise.
3964 * math/s_catanhl.c: Likewise.
3965 * math/s_catanl.c: Likewise.
3966 * math/s_cexp.c: Likewise.
3967 * math/s_cexpf.c: Likewise.
3968 * math/s_cexpl.c: Likewise.
3969 * math/s_clog.c: Likewise.
3970 * math/s_clog10.c: Likewise.
3971 * math/s_clog10f.c: Likewise.
3972 * math/s_clog10l.c: Likewise.
3973 * math/s_clogf.c: Likewise.
3974 * math/s_clogl.c: Likewise.
3975 * math/s_csqrt.c: Likewise.
3976 * math/s_csqrtf.c: Likewise.
3977 * math/s_csqrtl.c: Likewise.
3978 * math/s_ctanf.c: Likewise.
3979 * math/s_ctanh.c: Likewise.
3980 * math/s_ctanhf.c: Likewise.
3981 * math/s_ctanhl.c: Likewise.
3982 * math/s_ctanl.c: Likewise.
3983
bc62c2fb
UD
3984 * math/math_private.h: Define __nan, __nanf, __nanl.
3985 * math/s_cacosh.c: Include <math_private.h>.
3986 * math/s_cacoshl.c: Likewise.
3987 * math/s_casinh.c: Likewise.
3988 * math/s_casinhf.c: Likewise.
3989 * math/s_casinhl.c: Likewise.
3990 * math/s_ccos.c: Rely entire on ccosh.
3991 * math/s_ccosf.c: Rely entire on ccoshf.
3992 * math/s_ccosl.c: Rely entirely on ccoshl.
3993 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3994 Remove tests for FE_INVALID.
3995 * math/s_ccoshf.c: Likewise.
3996 * math/s_ccoshl.c: Likewise.
3997 * math/s_csin.c: Likewise.
3998 * math/s_csinf.c: Likewise.
3999 * math/s_csinh.c Likewise.
4000 * math/s_csinhf.c: Likewise.
4001 * math/s_csinhl.c: Likewise.
4002 * math/s_csinl.c: Likewise.
4003 * math/s_ctan.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4005 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4006 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4007
8ec250a4
UD
40082011-10-21 Ulrich Drepper <drepper@gmail.com>
4009
c196fed8
UD
4010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4011 compilation problems.
4012
8ec250a4
UD
4013 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4014 __builtin_expect.
4015
8d4f46c6
UD
40162011-10-20 Ulrich Drepper <drepper@gmail.com>
4017
ed72b654
UD
4018 * sysdeps/i386/configure.in: Test for -mfma4 option.
4019 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4020 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4021 COMMON_CPUID_INDEX_80000001.
4022 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4023 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4024 use it if FMA3 is not supported.
4025 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4026
8d4f46c6
UD
4027 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4028 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4029
d45c60c2
AS
40302011-10-20 Andreas Schwab <schwab@redhat.com>
4031
4032 [BZ #12892]
4033 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4034 it would create a cycle with a link time dependency.
4035
d9a4d2ab
UD
40362011-10-19 Ulrich Drepper <drepper@gmail.com>
4037
855d1560
UD
4038 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4039 instruction.
4040 * string/Makefile (strop-tests): Add rawmemchr.
4041 * string/test-rawmemchr.c: New file.
4042
d9a4d2ab
UD
4043 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4044 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4045 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4046 when compiling str{,n}casecmp and when AVX is available. Hook up
4047 new optimized code in initializers.
4048
8f3b1ffe
AS
40492011-10-19 Andreas Schwab <schwab@redhat.com>
4050
4051 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4052 __feraiseexcept instead of feraiseexcept.
4053
d38f1dba
UD
40542011-10-18 Ulrich Drepper <drepper@gmail.com>
4055
d9a8d0ab
UD
4056 * math/math_private.h: Define defaults for libc_fetestexcept and
4057 libc_feupdateenv.
4058 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4059 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4060 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4061 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4062 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4063 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4064 libc_fetestexcept and libc_feupdateenv.
4065
4855e3dd
UD
4066 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4067 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4068 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4069 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4070 libc_feholdexcept_setround.
4071
581d30e3
UD
4072 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4073 Add s_nearbyint-c and s_nearbyintf-c.
4074 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4075 nearbyintf inlines.
4076 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4077 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4078 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4079 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4080
d38f1dba
UD
4081 * math/math_private.h: Define defaults for libc_fegetround,
4082 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4083 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4084 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4085 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4086 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4087 standard functions.
4088 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4089 Remove comments and hacks for old compiler versions.
4090 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4091 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4092 libc_feholdexceptl.
4093
caa6c9d8
AS
40942011-10-18 Andreas Schwab <schwab@redhat.com>
4095
4096 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4097 (__feraiseexcept_renamed): Add __NTH.
4098 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4099 namespace violations.
4100
97c066e6
UD
41012011-10-17 Ulrich Drepper <drepper@gmail.com>
4102
99ce7b04
UD
4103 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4104
1004d182
UD
4105 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4106
228a984d
UD
4107 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4108 recently added interfaces.
4109 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4110
c8553a6a
UD
4111 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4112 about macro parameter expansion.
4113
ed22dcf6
UD
4114 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4115 __NO_MATH_INLINES is defined. Cleanups.
4116
4117 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4118 and __floorf is target has SSE4.1.
4119 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4120 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4121 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4122 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4123
b171c137
UD
4124 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4125 name.
4126 (floorf): Likewise.
4127
97c066e6
UD
4128 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4129
629f62ef
AS
41302011-10-17 Andreas Schwab <schwab@redhat.com>
4131
49a43d80
AS
4132 * misc/sys/cdefs.h: Fix last change.
4133
629f62ef
AS
4134 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4135 database lookup.
4136
e453f6cd
UD
41372011-10-16 Ulrich Drepper <drepper@gmail.com>
4138
aa78043a
UD
4139 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4140
ad0f5cad
UD
4141 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4146 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4147 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4148 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4149 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4150 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4151 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4152 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4153 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4154 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4155 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4156 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4157 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4158 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4159 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4160 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4161 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4162 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4163
4164 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4165 ceil, ceilf, floor, floorf.
4166
4167 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4168 Perform IRELATIVE relocations last.
4169
e453f6cd
UD
4170 * elf/do-rel.h: Add another parameter nrelative, replacing the
4171 local variable with the same name. Change name of the function
4172 to end in Rel or Rela (uppercase).
4173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4174 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4175 elf_dynamic_do_##reloc function.
4176
fd5bdc09
UD
41772011-10-15 Ulrich Drepper <drepper@gmail.com>
4178
79b195b5
UD
4179 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4180 is sufficient, at least on modern CPUs.
4181
d4a28569
UD
4182 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4183
b61099b5
UD
4184 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4186
bcf01e6d
UD
4187 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4188 __expl_finite.
4189 * math/bits/math-finite.h: Add entries for exp.
4190 * math/e_expl.c: Add __*_finite alias.
4191 * sysdeps/i386/fpu/e_exp.S: Likewise.
4192 * sysdeps/i386/fpu/e_expf.S: Likewise.
4193 * sysdeps/i386/fpu/e_expl.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4195 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4199 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4200 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4201
ba1a0d59
UD
4202 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4203 is sufficient, at least on modern CPUs.
4204
fd5bdc09
UD
4205 * ctype/ctype-info.c (__ctype_init): Define.
4206 * include/ctype.h (__ctype_init): Declare.
4207 (__ctype_b_loc): The variable is always initialized.
4208 (__ctype_toupper_loc): Likewise.
4209 (__ctype_tolower_loc): Likewise.
4210 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4211 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4212
7872cfb0
AS
42132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4214
b468825a
AS
4215 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4216
7872cfb0
AS
4217 * configure.in: Also look in $cxxmachine/include for C++ system
4218 headers.
4219
be13f7bf
LD
42202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4221
4222 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4223 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4224 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4225 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4226 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4227 (USE_AS_WMEMCMP): New macro.
4228 Fixing indents.
4229 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4230 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4231 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4232 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4234 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4235 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4236 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4237 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4238 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4239 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4240 (USE_AS_WMEMCMP): New macro.
4241 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4242 * sysdeps/string/test-memcmp.c: Update.
4243 Fix simple_wmemcmp.
4244 Add new tests.
4245 * wcsmbs/wmemcmp.c: Update.
4246 (WMEMCMP): New macro.
4247 Fix overflow bug.
4248
556a2007
AJ
42492011-10-12 Andreas Jaeger <aj@suse.de>
4250
4251 [BZ #13268]
4252 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4253
538faaa7
UD
42542011-10-15 Ulrich Drepper <drepper@gmail.com>
4255
ab6737ff
UD
4256 * libio/iofwide.c (do_length): Avoid warning.
4257
538faaa7
UD
4258 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4259
396a21b1
UD
42602011-10-14 Ulrich Drepper <drepper@gmail.com>
4261
cdf2901f
UD
4262 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4263
38ad40ce
UD
4264 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4265 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4266 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4267 * sysdeps/i386/i686/fpu/e_log.S: New file.
4268 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4269 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4270
396a21b1
UD
4271 * ctype/ctype.h: Add support for inlined isXXX functions when
4272 compiling C++ code.
4273
6b1f68c9
AS
42742011-10-14 Andreas Schwab <schwab@redhat.com>
4275
349290c0
AS
4276 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4277
6b1f68c9
AS
4278 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4279
f2282d42
RM
42802011-10-13 Roland McGrath <roland@hack.frob.com>
4281
4282 [BZ #13291]
4283 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4284
5298ffa8
AS
42852011-10-13 Andreas Schwab <schwab@redhat.com>
4286
714fad23
AS
4287 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4288 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4289 feraiseexcept.
4290
81dcc7fb
AS
4291 * sysdeps/x86_64/memrchr.S: Check for zero size.
4292
5298ffa8
AS
4293 * string/stratcliff.c: Add memrchr tests.
4294
951fbcec
LD
42952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4296
4297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4298 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4299 rawmemchr-sse2 rawmemchr-sse2-bsf.
4300 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4301 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4302 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4303 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4304 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4305 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4306 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4307 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4308 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4309 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4310 * string/memrchr.c (MEMRCHR): New macro.
4311
0ac5ae23
UD
43122011-10-12 Ulrich Drepper <drepper@gmail.com>
4313
4314 Add integration with gcc's -ffinite-math-only and optimize wrapper
4315 functions in libm.
4316 * Versions.def: Define GLIBC_2.15 version for libm.
4317 * math/Makefile (headers): Add bits/math-finite.h.
4318 * math/bits/math-finite.h: New file.
4319 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4320 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4321 * math/e_acoshl.c: Add __*_finite alias.
4322 * math/e_acosl.c: Likewise.
4323 * math/e_asinl.c: Likewise.
4324 * math/e_atan2l.c: Likewise.
4325 * math/e_atanhl.c: Likewise.
4326 * math/e_coshl.c: Likewise.
4327 * math/e_exp10.c: Likewise.
4328 * math/e_exp10f.c: Likewise.
4329 * math/e_exp10l.c: Likewise.
4330 * math/e_exp2l.c: Likewise.
4331 * math/e_fmodl.c: Likewise.
4332 * math/e_gammal_r.c: Likewise.
4333 * math/e_hypotl.c: Likewise.
4334 * math/e_j0l.c: Likewise.
4335 * math/e_j1l.c: Likewise.
4336 * math/e_jnl.c: Likewise.
4337 * math/e_lgammal_r.c: Likewise.
4338 * math/e_log10l.c: Likewise.
4339 * math/e_log2l.c: Likewise.
4340 * math/e_logl.c: Likewise.
4341 * math/e_powl.c: Likewise.
4342 * math/e_sinhl.c: Likewise.
4343 * math/e_sqrtl.c: Likewise.
4344 * math/e_scalb.c: Completely rewritten and optimized.
4345 * math/e_scalbf.c: Likewise.
4346 * math/e_scalbl.c: Likewise.
4347 * math/w_acos.c: Likewise.
4348 * math/w_acosf.c: Likewise.
4349 * math/w_acosl.c: Likewise.
4350 * math/w_acosh.c: Likewise.
4351 * math/w_acoshf.c: Likewise.
4352 * math/w_acoshl.c: Likewise.
4353 * math/w_asin.c: Likewise.
4354 * math/w_asinf.c: Likewise.
4355 * math/w_asinl.c: Likewise.
4356 * math/w_atan2.c: Likewise.
4357 * math/w_atan2f.c: Likewise.
4358 * math/w_atan2l.c: Likewise.
4359 * math/w_atanh.c: Likewise.
4360 * math/w_atanhf.c: Likewise.
4361 * math/w_atanhl.c: Likewise.
4362 * math/w_exp10.c: Likewise.
4363 * math/w_exp10f.c: Likewise.
4364 * math/w_exp10l.c: Likewise.
4365 * math/w_fmod.c: Likewise.
4366 * math/w_fmodf.c: Likewise.
4367 * math/w_fmodl.c: Likewise.
4368 * math/w_j0.c: Likewise.
4369 * math/w_j0f.c: Likewise.
4370 * math/w_j0l.c: Likewise.
4371 * math/w_j1.c: Likewise.
4372 * math/w_j1f.c: Likewise.
4373 * math/w_j1l.c: Likewise.
4374 * math/w_jn.c: Likewise.
4375 * math/w_jnf.c: Likewise.
4376 * math/w_log.c: Likewise.
4377 * math/w_logf.c: Likewise.
4378 * math/w_logl.c: Likewise.
4379 * math/w_log10.c: Likewise.
4380 * math/w_log10f.c: Likewise.
4381 * math/w_log10l.c: Likewise.
4382 * math/w_log2.c: Likewise.
4383 * math/w_log2f.c: Likewise.
4384 * math/w_log2l.c: Likewise.
4385 * math/w_pow.c: Likewise.
4386 * math/w_powf.c: Likewise.
4387 * math/w_powl.c: Likewise.
4388 * math/w_remainder.c: Likewise.
4389 * math/w_remainderf.c: Likewise.
4390 * math/w_remainderl.c: Likewise.
4391 * math/w_scalb.c: Likewise.
4392 * math/w_scalbf.c: Likewise.
4393 * math/w_scalbl.c: Likewise.
4394 * math/w_sqrt.c: Likewise.
4395 * math/w_sqrtf.c: Likewise.
4396 * math/w_sqrtl.c: Likewise.
4397 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4398 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4399 used.
4400 * math/math_private.h: Declare __kernel_standard_f.
4401 * math/w_cosh.c: Remove cruft and optimize a bit.
4402 * math/w_coshf.c: Likewise.
4403 * math/w_coshl.c: Likewise.
4404 * math/w_exp2.c: Likewise.
4405 * math/w_exp2f.c: Likewise.
4406 * math/w_exp2l.c: Likewise.
4407 * math/w_hypot.c: Likewise.
4408 * math/w_hypotf.c: Likewise.
4409 * math/w_hypotl.c: Likewise.
4410 * math/w_lgamma.c: Likewise.
4411 * math/w_lgamma_r.c: Likewise.
4412 * math/w_lgammaf.c: Likewise.
4413 * math/w_lgammaf_r.c: Likewise.
4414 * math/w_lgammal.c: Likewise.
4415 * math/w_lgammal_r.c: Likewise.
4416 * math/w_sinh.c: Likewise.
4417 * math/w_sinhf.c: Likewise.
4418 * math/w_sinhl.c: Likewise.
4419 * math/w_tgamma.c: Likewise.
4420 * math/w_tgammaf.c: Likewise.
4421 * math/w_tgammal.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4424 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4425 Minor optimizations. Pretty printing. Remove cruft.
4426 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4427 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4428 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4430 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4431 * sysdeps/i386/fpu/e_asin.S: Likewise.
4432 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4433 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4434 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4435 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4436 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4437 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4438 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4439 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4440 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4441 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4442 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4443 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4444 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4445 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4446 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4447 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4448 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4449 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4450 * sysdeps/i386/fpu/e_log.S: Likewise.
4451 * sysdeps/i386/fpu/e_log10.S: Likewise.
4452 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4453 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4454 * sysdeps/i386/fpu/e_log2.S: Likewise.
4455 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4456 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4457 * sysdeps/i386/fpu/e_logf.S: Likewise.
4458 * sysdeps/i386/fpu/e_logl.S: Likewise.
4459 * sysdeps/i386/fpu/e_pow.S: Likewise.
4460 * sysdeps/i386/fpu/e_powf.S: Likewise.
4461 * sysdeps/i386/fpu/e_powl.S: Likewise.
4462 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4463 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4464 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4465 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4466 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4468 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4469 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4470 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4471 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4477 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4478 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4488 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4491 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4492 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4493 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4494 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4495 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4496 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4497 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4498 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4499 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4500 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4501 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4502 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4503 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4504 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4505 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4506 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4507 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4508 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4509 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4510 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4511 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4512 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4513 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4517 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4521 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4523 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4524 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4526 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4527 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4528 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4529 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4530 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4531 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4532 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4535 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4536 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4537 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4538 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4539 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4540 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4541 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4542 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4543 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4546 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4547 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4548 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4549 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4550 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4551 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4552 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4553 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4554 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4555 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4556 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4557 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4558 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4559 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4560 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4561 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4562 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4563 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4564 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4565 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4566 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4567 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4568 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4569 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4570 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4571 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4572 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4573 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4574 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4575 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4576 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4577 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4578 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4579 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4580 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4581 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4582 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4583 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4584 (__isnanf): Likewise.
4585 (__isinf_ns): Likewise.
4586 (__isinf_nsf): Likewise.
4587 (__finite): Likewise.
4588 (__finitef): Likewise.
4589 (__ieee754_sqrt): Define as macro.
4590 (__ieee754_sqrtf): Define as macro.
4591 (__ieee754_sqrtl): Define as macro.
4592 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4593 inlined copy.
4594 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4595 __FINITE_MATH_ONLY__ consistent.
4596 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4597
12cc2fcd
AS
45982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4599
a843a204
AS
4600 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4601 of rawmemchr.
4602
12cc2fcd
AS
4603 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4604
c853acd5
UD
46052011-10-09 Ulrich Drepper <drepper@gmail.com>
4606
4607 * po/ja.po: Update from translation team.
4608
c658d255
RM
46092011-10-08 Roland McGrath <roland@hack.frob.com>
4610
110946e4
RM
4611 * locale/programs/locarchive.c (prepare_address_space): New function.
4612 (create_archive, enlarge_archive, open_archive): Use it.
4613
50604220
RM
4614 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4615 inside [SHARED], where it is used.
4616
c658d255
RM
4617 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4618
4619 * nss/getent.c (netgroup_keys): Remove unused variable.
4620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4621
6a621eb7
UD
46222011-10-08 Ulrich Drepper <drepper@gmail.com>
4623
7edb55ce
UD
4624 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4625 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4626 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4627 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4628 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4629 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4630 * math/Makefile (libm-calls): Add s_isinf_ns.
4631 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4632 * math/multc3.c: Likewise.
4633 * math/s_casin.c: Likewise.
4634 * math/s_casinf.c: Likewise.
4635 * math/s_casinl.c: Likewise.
4636 * math/s_ccos.c: Likewise.
4637 * math/s_ccosf.c: Likewise.
4638 * math/s_ccosl.c: Likewise.
4639 * math/s_ctan.c: Likewise.
4640 * math/s_ctanf.c: Likewise.
4641 * math/s_ctanh.c: Likewise.
4642 * math/s_ctanhf.c: Likewise.
4643 * math/s_ctanhl.c: Likewise.
4644 * math/s_ctanl.c: Likewise.
4645 * math/w_fmod.c: Likewise.
4646 * math/w_fmodf.c: Likewise.
4647 * math/w_fmodl.c: Likewise.
4648 * math/w_remainder.c: Likewise.
4649 * math/w_remainderf.c: Likewise.
4650 * math/w_remainderl.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4652 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4655 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4656 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4657 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4658 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4659
187da0ae
UD
4660 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4661 of the number.
4662 * stdio-common/printf_fphex.c: Likewise.
4663 * stdio-common/printf_size.c: Likewise.
4664
9277c064
UD
4665 * math/e_exp10.c: Include math_private.h using <...> not "...".
4666 * math/e_exp10f.c: Likewise.
4667 * math/e_exp10l.c: Likewise.
4668 * math/e_exp2l.c: Likewise.
4669 * math/e_j0l.c: Likewise.
4670 * math/e_j1l.c: Likewise.
4671 * math/e_jnl.c: Likewise.
4672 * math/e_lgammal_r.c: Likewise.
4673 * math/e_rem_pio2l.c: Likewise.
4674 * math/e_scalb.c: Likewise.
4675 * math/e_scalbf.c: Likewise.
4676 * math/e_scalbl.c: Likewise.
4677 * math/k_cosl.c: Likewise.
4678 * math/k_sinl.c: Likewise.
4679 * math/k_tanl.c: Likewise.
4680 * math/s_cacoshf.c: Likewise.
4681 * math/s_catan.c: Likewise.
4682 * math/s_catanf.c: Likewise.
4683 * math/s_catanh.c: Likewise.
4684 * math/s_catanhf.c: Likewise.
4685 * math/s_catanhl.c: Likewise.
4686 * math/s_catanl.c: Likewise.
4687 * math/s_ccosh.c: Likewise.
4688 * math/s_ccoshf.c: Likewise.
4689 * math/s_ccoshl.c: Likewise.
4690 * math/s_cexp.c: Likewise.
4691 * math/s_cexpf.c: Likewise.
4692 * math/s_cexpl.c: Likewise.
4693 * math/s_clog.c: Likewise.
4694 * math/s_clog10.c: Likewise.
4695 * math/s_clog10f.c: Likewise.
4696 * math/s_clog10l.c: Likewise.
4697 * math/s_clogf.c: Likewise.
4698 * math/s_clogl.c: Likewise.
4699 * math/s_csin.c: Likewise.
4700 * math/s_csinf.c: Likewise.
4701 * math/s_csinh.c: Likewise.
4702 * math/s_csinhf.c: Likewise.
4703 * math/s_csinhl.c: Likewise.
4704 * math/s_csinl.c: Likewise.
4705 * math/s_csqrt.c: Likewise.
4706 * math/s_csqrtf.c: Likewise.
4707 * math/s_csqrtl.c: Likewise.
4708 * math/s_ctan.c: Likewise.
4709 * math/s_ctanf.c: Likewise.
4710 * math/s_ctanh.c: Likewise.
4711 * math/s_ctanhf.c: Likewise.
4712 * math/s_ctanhl.c: Likewise.
4713 * math/s_ctanl.c: Likewise.
4714 * math/s_ldexp.c: Likewise.
4715 * math/s_ldexpf.c: Likewise.
4716 * math/s_ldexpl.c: Likewise.
4717 * math/s_significand.c: Likewise.
4718 * math/s_significandf.c: Likewise.
4719 * math/s_significandl.c: Likewise.
4720 * math/w_acos.c: Likewise.
4721 * math/w_acosf.c: Likewise.
4722 * math/w_acosh.c: Likewise.
4723 * math/w_acoshf.c: Likewise.
4724 * math/w_acoshl.c: Likewise.
4725 * math/w_acosl.c: Likewise.
4726 * math/w_asin.c: Likewise.
4727 * math/w_asinf.c: Likewise.
4728 * math/w_asinl.c: Likewise.
4729 * math/w_atan2.c: Likewise.
4730 * math/w_atan2f.c: Likewise.
4731 * math/w_atan2l.c: Likewise.
4732 * math/w_atanh.c: Likewise.
4733 * math/w_atanhf.c: Likewise.
4734 * math/w_atanhl.c: Likewise.
4735 * math/w_cosh.c: Likewise.
4736 * math/w_coshf.c: Likewise.
4737 * math/w_coshl.c: Likewise.
4738 * math/w_dremf.c: Likewise.
4739 * math/w_exp10.c: Likewise.
4740 * math/w_exp10f.c: Likewise.
4741 * math/w_exp10l.c: Likewise.
4742 * math/w_exp2.c: Likewise.
4743 * math/w_exp2f.c: Likewise.
4744 * math/w_fmod.c: Likewise.
4745 * math/w_fmodf.c: Likewise.
4746 * math/w_fmodl.c: Likewise.
4747 * math/w_hypot.c: Likewise.
4748 * math/w_hypotf.c: Likewise.
4749 * math/w_hypotl.c: Likewise.
4750 * math/w_j0.c: Likewise.
4751 * math/w_j0f.c: Likewise.
4752 * math/w_j0l.c: Likewise.
4753 * math/w_j1.c: Likewise.
4754 * math/w_j1f.c: Likewise.
4755 * math/w_j1l.c: Likewise.
4756 * math/w_jn.c: Likewise.
4757 * math/w_jnf.c: Likewise.
4758 * math/w_jnl.c: Likewise.
4759 * math/w_lgamma.c: Likewise.
4760 * math/w_lgamma_r.c: Likewise.
4761 * math/w_lgammaf.c: Likewise.
4762 * math/w_lgammaf_r.c: Likewise.
4763 * math/w_lgammal.c: Likewise.
4764 * math/w_lgammal_r.c: Likewise.
4765 * math/w_log.c: Likewise.
4766 * math/w_log10.c: Likewise.
4767 * math/w_log10f.c: Likewise.
4768 * math/w_log10l.c: Likewise.
4769 * math/w_log2.c: Likewise.
4770 * math/w_log2f.c: Likewise.
4771 * math/w_log2l.c: Likewise.
4772 * math/w_logf.c: Likewise.
4773 * math/w_logl.c: Likewise.
4774 * math/w_pow.c: Likewise.
4775 * math/w_powf.c: Likewise.
4776 * math/w_powl.c: Likewise.
4777 * math/w_remainder.c: Likewise.
4778 * math/w_remainderf.c: Likewise.
4779 * math/w_remainderl.c: Likewise.
4780 * math/w_scalb.c: Likewise.
4781 * math/w_scalbf.c: Likewise.
4782 * math/w_scalbl.c: Likewise.
4783 * math/w_sinh.c: Likewise.
4784 * math/w_sinhf.c: Likewise.
4785 * math/w_sinhl.c: Likewise.
4786 * math/w_sqrt.c: Likewise.
4787 * math/w_sqrtf.c: Likewise.
4788 * math/w_sqrtl.c: Likewise.
4789 * math/w_tgamma.c: Likewise.
4790 * math/w_tgammaf.c: Likewise.
4791 * math/w_tgammal.c: Likewise.
4792
6a621eb7
UD
4793 * po/ja.po: Update from translation team.
4794
bf582445
AJ
47952011-09-29 Andreas Jaeger <aj@suse.de>
4796
f9efbf3a
AJ
4797 [BZ #13179]
4798 * sunrpc/netname.c (netname2host): Fix logic.
4799
bf582445
AJ
4800 [BZ #6779]
4801 [BZ #6783]
4802 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4803 correctly.
4804 * math/w_remainder.c (__remainder): Likewise.
4805 * math/w_remainderf.c (__remainderf): Likewise.
4806 * math/libm-test.inc (remainder_test): Add test cases.
4807
48693bea
AK
48082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4809
4810 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4811 sdiv_qrnnd.
4812
42622229
LD
48132011-10-07 Ulrich Drepper <drepper@gmail.com>
4814
4815 * string/test-memcmp.c: Avoid unncessary #defines.
4816 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4817
093ecf92
LD
48182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4819
4820 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4821 Use new sse2 version for core i3 - i7 as it's faster
4822 than sse42 version.
4823 (bit_Prefer_PMINUB_for_stringop): New.
4824 * sysdeps/x86_64/rawmemchr.S: Update.
4825 Replace with faster SSE2 version.
4826 * sysdeps/x86_64/memrchr.S: New file.
4827 * sysdeps/x86_64/memchr.S: Update.
4828 Replace with faster SSE2 version.
4829
fde56e5c
MP
48302011-09-12 Marek Polacek <mpolacek@redhat.com>
4831
4832 * elf/dl-load.c (lose): Add cast to avoid warning.
4833
21fd49a9
UD
48342011-10-07 Ulrich Drepper <drepper@gmail.com>
4835
5a06e643
UD
4836 * po/ca.po: Update from translation team.
4837
684ae515
UD
4838 * inet/getnetgrent_r.c: Hook up nscd.
4839 * nscd/Makefile (routines): Add nscd_netgroup.
4840 (nscd-modules): Add netgroupcache.
4841 (CFLAGS-netgroupcache.c): Define.
4842 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4843 (cache_search): Add const to second parameter.
4844 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4845 INNETGR.
4846 (dbs): Add netgrdb entry.
4847 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4848 (verify_persistent_db): Handle netgrdb.
4849 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4850 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4851 GETFDNETGR.
4852 (netgroup_response_header): Define.
4853 (innetgroup_response_header): Define.
4854 (datahead): Add netgroup_response_header and innetgroup_response_header
4855 elements.
4856 * nscd/nscd.conf: Add entries for netgroup cache.
4857 * nscd/nscd.h (dbtype): Add netgrdb.
4858 (_PATH_NSCD_NETGROUP_DB): Define.
4859 (netgroup_iov_disabled): Declare.
4860 (xmalloc, xcalloc, xrealloc): Move declarations here.
4861 (cache_search): Adjust prototype.
4862 Add netgroup-related prototypes.
4863 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4864 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4865 (__nscd_innetgr): Declare.
4866 * nscd/selinux.c (perms): Use access_vector_t as element type and
4867 add netgroup-related initializers.
4868 * nscd/netgroupcache.c: New file.
4869 * nscd/nscd_netgroup.c: New file.
4870 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4871 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4872 For four parameters use innetgr.
4873 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4874 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4875 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4876 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4877
21fd49a9
UD
4878 * nscd/connections.c (register_traced_file): Don't register file
4879 for disabled databases.
4880
054c0457
UD
48812011-10-06 Ulrich Drepper <drepper@gmail.com>
4882
32b63198
UD
4883 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4884
054c0457
UD
4885 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4886 from tree and freeing node.
4887
64031225
JO
48882011-09-25 Jiri Olsa <jolsa@redhat.com>
4889
4890 * nss/nsswitch.c (__nss_database_lookup): Handle
4891 nss_parse_service_list out of memory case.
4892
0490345c
JO
48932011-09-15 Jiri Olsa <jolsa@redhat.com>
4894
4895 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4896 out of memory case.
4897
3a62d00d
AS
48982011-10-04 Andreas Schwab <schwab@redhat.com>
4899
4900 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4901 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4902 pass it down.
4903 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4904 elf_machine_rela, elf_machine_lazy_rel.
4905 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4906 (ELF_DYNAMIC_DO_REL): Likewise.
4907 (ELF_DYNAMIC_DO_RELA): Likewise.
4908 (ELF_DYNAMIC_RELOCATE): Likewise.
4909 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4910 to ELF_DYNAMIC_DO_REL.
4911 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4912 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4913 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4914 elf_machine_rela.
4915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4916 skip_ifunc, don't call ifunc function if non-zero.
4917 (elf_machine_rela): Likewise.
4918 (elf_machine_lazy_rel): Likewise.
4919 (elf_machine_lazy_rela): Likewise.
4920 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4921 (elf_machine_lazy_rel): Likewise.
4922 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4923 Likewise.
4924 (elf_machine_lazy_rel): Likewise.
4925 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4926 Likewise.
4927 (elf_machine_lazy_rel): Likewise.
4928 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4929 (elf_machine_lazy_rel): Likewise.
4930 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4931 (elf_machine_lazy_rel): Likewise.
4932 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4933 (elf_machine_lazy_rel): Likewise.
4934 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4935 (elf_machine_lazy_rel): Likewise.
4936 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4937 (elf_machine_lazy_rel): Likewise.
4938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4939 (elf_machine_lazy_rel): Likewise.
4940
68577918
UD
49412011-09-28 Ulrich Drepper <drepper@gmail.com>
4942
4943 * nss/nss_files/files-init.c (_nss_files_init): Use static
4944 initialization for all the *_traced_file variables.
4945
68822d74
AS
49462011-09-28 Andreas Schwab <schwab@redhat.com>
4947
4948 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4949
2056100b
RM
49502011-09-27 Roland McGrath <roland@hack.frob.com>
4951
4952 [BZ #13226]
4953 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4954
32c76b63
AS
49552011-09-27 Andreas Schwab <schwab@redhat.com>
4956
4957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4958 Reread the line before reparsing it.
4959
bf972c9d
AS
49602011-09-26 Andreas Schwab <schwab@redhat.com>
4961
4962 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4963
e057a1b5
JM
49642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4965 Maxim Kuvyrkov <maxim@codesourcery.com>
4966 Joseph Myers <joseph@codesourcery.com>
4967
4968 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4969 if needed for __stack_chk_guard.
4970
bc7e1c36
RM
49712011-09-19 Roland McGrath <roland@hack.frob.com>
4972
ecb1482f
RM
4973 * sysdeps/posix/spawni.c (script_execute): Always define it.
4974 It will be optimized away if unused.
4975 (maybe_script_execute): New function.
4976 (__spawni): Call it.
4977
bc7e1c36
RM
4978 * Makerules: Don't include tls.make.
4979 (config-tls): Always set to thread.
4980 * tls.make.c: File removed.
4981
1c3b002b
MF
49822011-09-19 Mike Frysinger <vapier@gentoo.org>
4983
4984 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4985 * config.make.in (CPPFLAGS-config): New substituted variable.
4986
2840865d
UD
49872011-09-15 Ulrich Drepper <drepper@gmail.com>
4988
88738eb6
UD
4989 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4990
cbf645a6 4991 [BZ #13192]
2840865d
UD
4992 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4993 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4994
b402e91a
RM
49952011-09-15 Roland McGrath <roland@hack.frob.com>
4996
4997 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4998 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4999 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5000 (CALL_FAIL): Likewise.
5001 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5002 (CALL_FAIL): Macro removed.
5003 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5004
4c1a1f71
UD
50052011-09-15 Ulrich Drepper <drepper@gmail.com>
5006
5007 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5008 for __FINITE_MATH_ONLY__ == 1.
5009
edc121be
AS
50102011-09-15 Andreas Schwab <schwab@redhat.com>
5011
5012 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5013 __ieee754_sqrt instead of sqrt.
5014 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5015 __ieee754_sqrtf instead of sqrtf.
5016 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5017 __floorf instead of floorf.
5018 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5019 __floorf, __truncf instead of floorf, truncf.
5020
cd205654
UD
50212011-09-14 Ulrich Drepper <drepper@gmail.com>
5022
ee4d0315
UD
5023 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5024
cd205654
UD
5025 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5026 __extern_always_inline.
5027 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5028 32-bit.
5029
48b67d71
AS
50302011-09-14 Andreas Schwab <schwab@redhat.com>
5031
5032 * elf/rtld.c (dl_main): Also relocate in dependency order when
5033 doing symbol dependency testing.
5034
1ae12c75
AS
50352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5036
5037 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5038 Always define `refsym'.
5039
995a80df
AS
50402011-09-13 Andreas Schwab <schwab@redhat.com>
5041
e529793b
AS
5042 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5043 (__FD_ELT): Renamed from __FDELT.
5044 * misc/bits/select2.h (__FD_ELT): Likewise.
5045 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5046 __FD_MASK instead of __FDELT, __FDMASK.
5047 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5048 Likewise.
5049 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5050 Likewise.
5051
52d4fef8
AS
5052 * elf/Makefile (gen-ldd): Fix pattern.
5053
995a80df
AS
5054 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5055 (init_tls): Likewise.
5056
8682f8b0
UD
50572011-09-12 Ulrich Drepper <drepper@gmail.com>
5058
5059 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5060
de82006d
AS
50612011-09-12 Andreas Schwab <schwab@redhat.com>
5062
a7c8e6a1
AS
5063 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5064 `struct cmsghdr *' instead of `void *'.
5065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5066 Likewise.
5067
0f31fe77
AS
50682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5069
5070 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5071 if non-absolute.
5072 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5073 ldd_rewrite_script.
0f31fe77 5074
32b4c839
UD
50752011-09-11 Ulrich Drepper <drepper@gmail.com>
5076
83cd1420
UD
5077 * configure.in: Remove --with-tls option.
5078 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5079 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5080 out in case it is missing.
5081 * sysdeps/ia64/elf/configure.in: Likewise.
5082 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5083 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5084 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5085 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5086 * sysdeps/sh/elf/configure.in: Likewise.
5087 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5088 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5089 * sysdeps/x86_64/elf/configure.in: Likewise.
5090 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5091 * sysdeps/mach/hurd/tls.h: Likewise.
5092
633f745d
UD
5093 [BZ #13067]
5094 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5095
f318beb8
UD
5096 [BZ #13090]
5097 * configure.in: Fix use of AC_INIT.
5098
32b4c839
UD
5099 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5100
3ce1f295
UD
51012011-09-10 Ulrich Drepper <drepper@gmail.com>
5102
bb016596
UD
5103 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5104 __set_errno.
8e58439c
UD
5105 * malloc/hooks.c: Likewise.
5106
aebae053 5107 [BZ #11929]
02d46fc4
UD
5108 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5109 variables statically.
5110 (narenas): Initialize.
5111 (list_lock): Initialize.
bb016596
UD
5112 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5113 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5114 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5115 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5116 Add initializers to main_arena and mp_.
5117 (malloc_state): Remove pagesize member. Change all users to use
5118 GLRO(dl_pagesize).
5119
5120 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5121 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5122 is always initialized.
5123
22a89187
UD
5124 * malloc/malloc.c: Removed unused configurations and dead code.
5125 * malloc/arena.c: Likewise.
5126 * malloc/hooks.c: Likewise.
02d46fc4 5127 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5128
d063d164
UD
5129 * include/tls.h: Removed. USE___THREAD must always be defined.
5130 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5131 * elf/dl-libc.c: Likewise.
5132 * elf/dl-tsd.c: Likewise.
5133 * include/errno.h: Likewise.
5134 * include/netdb.h: Likewise.
5135 * include/resolv.h: Likewise.
5136 * inet/herrno-loc.c: Likewise.
5137 * inet/herrno.c: Likewise.
5138 * malloc/arena.c: Likewise.
5139 * malloc/hooks.c: Likewise.
5140 * malloc/malloc.c: Likewise.
5141 * resolv/res-state.c: Likewise.
5142 * resolv/res_libc.c: Likewise.
5143 * sysdeps/i386/dl-machine.h: Likewise.
5144 * sysdeps/ia64/dl-machine.h: Likewise.
5145 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5146 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5147 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5148 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5149 * sysdeps/sh/dl-machine.h: Likewise.
5150 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5151 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5152 * sysdeps/unix/i386/sysdep.S: Likewise.
5153 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5154 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5155 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5156 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5159 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5163 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5164 * sysdeps/x86_64/dl-machine.h: Likewise.
5165 * tls.make.c: Likewise.
5166
3ce1f295
UD
5167 * configure.in: Remove --with-__thread option. Make tests for
5168 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5169 tls_model attribute fail if no support is available. Remove
5170 USE_IN_LIBIO.
5171 * Makeconfig: Adjust for dropped configure option. All features are
5172 now mandatory.
5173 * Makerules: Likewise.
5174 * Versions.def: Likewise.
5175 * argp/argp-fmtstream.c: Likewise.
5176 * argp/argp-fmtstream.h: Likewise.
5177 * argp/argp-help.c: Likewise.
5178 * assert/assert.c: Likewise.
5179 * config.h.in: Likewise.
5180 * config.make.in: Likewise.
5181 * configure: Likewise.
5182 * configure.in: Likewise.
5183 * csu/Versions: Likewise.
5184 * csu/init.c: Likewise.
5185 * elf/tst-audit2.c: Likewise.
5186 * elf/tst-tls10.c: Likewise.
5187 * elf/tst-tls10.h: Likewise.
5188 * elf/tst-tls11.c: Likewise.
5189 * elf/tst-tls12.c: Likewise.
5190 * elf/tst-tls14.c: Likewise.
5191 * elf/tst-tlsmod11.c: Likewise.
5192 * elf/tst-tlsmod12.c: Likewise.
5193 * elf/tst-tlsmod13.c: Likewise.
5194 * elf/tst-tlsmod13a.c: Likewise.
5195 * elf/tst-tlsmod14a.c: Likewise.
5196 * elf/tst-tlsmod15b.c: Likewise.
5197 * elf/tst-tlsmod16a.c: Likewise.
5198 * elf/tst-tlsmod16b.c: Likewise.
5199 * elf/tst-tlsmod7.c: Likewise.
5200 * elf/tst-tlsmod8.c: Likewise.
5201 * elf/tst-tlsmod9.c: Likewise.
5202 * gmon/gmon.c: Likewise.
5203 * grp/fgetgrent_r.c: Likewise.
5204 * grp/putgrent.c: Likewise.
5205 * hurd/fopenport.c: Likewise.
5206 * include/libc-symbols.h: Likewise.
5207 * include/tls.h: Likewise.
5208 * intl/gettextP.h: Likewise.
5209 * intl/loadinfo.h: Likewise.
5210 * locale/global-locale.c: Likewise.
5211 * locale/localeinfo.h: Likewise.
5212 * mach/devstream.c: Likewise.
5213 * malloc/arena.c: Likewise.
5214 * malloc/set-freeres.c: Likewise.
5215 * misc/err.c: Likewise.
5216 * misc/getttyent.c: Likewise.
5217 * misc/mntent_r.c: Likewise.
5218 * posix/getopt.c: Likewise.
5219 * posix/wordexp.c: Likewise.
5220 * pwd/fgetpwent_r.c: Likewise.
5221 * resolv/Versions: Likewise.
5222 * resolv/res_hconf.c: Likewise.
5223 * shadow/fgetspent_r.c: Likewise.
5224 * shadow/putspent.c: Likewise.
5225 * stdio-common/printf_fphex.c: Likewise.
5226 * stdio-common/tmpfile.c: Likewise.
5227 * stdlib/abort.c: Likewise.
5228 * stdlib/fmtmsg.c: Likewise.
5229 * sunrpc/auth_unix.c: Likewise.
5230 * sunrpc/clnt_perr.c: Likewise.
5231 * sunrpc/clnt_tcp.c: Likewise.
5232 * sunrpc/clnt_udp.c: Likewise.
5233 * sunrpc/clnt_unix.c: Likewise.
5234 * sunrpc/openchild.c: Likewise.
5235 * sunrpc/svc_simple.c: Likewise.
5236 * sunrpc/svc_tcp.c: Likewise.
5237 * sunrpc/svc_udp.c: Likewise.
5238 * sunrpc/svc_unix.c: Likewise.
5239 * sunrpc/xdr.c: Likewise.
5240 * sunrpc/xdr_array.c: Likewise.
5241 * sunrpc/xdr_rec.c: Likewise.
5242 * sunrpc/xdr_ref.c: Likewise.
5243 * sunrpc/xdr_stdio.c: Likewise.
5244
1248c1c4
PB
52452011-09-09 Ulrich Drepper <drepper@gmail.com>
5246
5247 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5248
52492011-07-03 Andreas Jaeger <aj@suse.de>
5250
5251 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5252 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5253 regenerate with gen-libm-tests.pl.
5254
52552010-05-12 Petr Baudis <pasky@suse.cz>
5256
5257 [BZ #11589]
5258 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5259 around j0() zero points by switching to j1().
5260 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5263 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5264
f22e1074
UD
52652011-09-09 Ulrich Drepper <drepper@gmail.com>
5266
f19009c1
UD
5267 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5268 instead of 0.
5269 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5270 instead of 0. .
5271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5272 Patch in part by Pavel Roskin <proski@gnu.org>.
5273
3f8cc204
UD
5274 [BZ #13138]
5275 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5276 realloc.
5277 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5278 Free memory block if necessary.
5279
f22e1074
UD
5280 [BZ #12847]
5281 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5282 be NULL. Don't lock in this case.
5283
0a2349f9
RM
52842011-09-09 Roland McGrath <roland@hack.frob.com>
5285
5286 * elf/elf.h (ELFOSABI_GNU): New macro.
5287 (ELFOSABI_LINUX): Define to that.
5288
f3cdd467
DZ
52892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5290
5291 * string/strncat.c (strncat): Undef the symbol in case it has been
5292 defined in bits/string.h.
5293
74718d13
UD
52942011-09-09 Ulrich Drepper <drepper@gmail.com>
5295
633e9e0f
UD
5296 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5297
0a2349f9 5298 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
5299 link map.
5300
f9924780
AJ
53012011-08-17 Andreas Jaeger <aj@suse.de>
5302
5303 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5304
7f5517aa
PP
53052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5306 Ian Lance Taylor <iant@google.com>
5307
5308 * math/libm-test.inc (lround_test): New testcase.
5309 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5310
762011fe
UD
53112011-09-08 Ulrich Drepper <drepper@gmail.com>
5312
92963737
UD
5313 * Makefile: Remove support for automatic cvs check-ins.
5314 * Makerules: Likewise.
5315 * config.make.in: Likewise.
5316 * configure.in: Likewise.
5317 * intl/Makefile: Likewise.
5318 * locale/Makefile: Likewise.
5319 * po/Makefile: Likewise.
5320 * posix/Makefile: Likewise.
5321 * sysdeps/gnu/Makefile: Likewise.
5322 * sysdeps/mach/hurd/Makefile: Likewise.
5323 * sysdeps/sparc/sparc32/Makefile: Likewise.
5324
b0727fd8
JS
5325 [BZ #13118]
5326 * posix/Makefile (bug-regex32-ENV): Define.
5327 Patch by John Stanley <jpsinthemix@verizon.net>.
5328
a0f33f99
UD
5329 * misc/Makefile (headers): Add bits/select2.h.
5330 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5331 * misc/bits/select2.h: New file.
5332 * include/bits/select2.h: New file.
5333 * debug/Makefile (routines): Add fdelt_chk.
5334 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5335 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5336 FD_ISSET.
5337 * debug/fdelt_chk.c: New file.
5338
762011fe
UD
5339 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5340 * wcsmbs/test-wmemcmp.c: Likewise.
5341 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 5342 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
5343
53442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5345
5346 * string/Makefile (strop-tests): Add memcmp.
5347 * string/test-wmemcmp.c: New file.
5348 * string/test-memcmp.c: Add wmemcmp support.
5349
7f513ec8
RM
53502011-09-08 Roland McGrath <roland@hack.frob.com>
5351
0442afb4
RM
5352 [BZ #13153]
5353 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5354 2011-07-19 change.
5355
7f513ec8
RM
5356 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5357 garbage value in a __mach_port_mod_refs call in the cases of the
5358 task-self and thread-self ports.
5359
a12b2239
ST
53602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5361
5362 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5363
610f9ab4
AS
53642011-09-08 Andreas Schwab <schwab@redhat.com>
5365
7f513ec8 5366 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 5367
48882a1a
LD
53682011-09-07 Ulrich Drepper <drepper@gmail.com>
5369
b49865be
UD
5370 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5371
fdc86bc9
UD
5372 * elf/dl-libc.c (dlerror_run): Pass back error code from
5373 dl_catch_error.
5374
c966526a
UD
5375 [BZ #13123]
5376 * elf/dl-load.c (lose): Free l_origin if it is valid.
5377
48882a1a
LD
5378 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5379 names.
5380 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5381 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5382 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5383 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5384 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5385 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5386
77a2a8b4
AZ
53872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5388
5389 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5390 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5391 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5392 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5393 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5394 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5395 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5396 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5397 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5398 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5399
24f579d8
AM
54002011-08-15 Alan Modra <amodra@gmail.com>
5401
5402 [BZ #13092]
5403 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5404 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5405 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5406 ppc_mcount to static-only-routines.
5407 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5408 __mcount_internal.
5409 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5410 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5411
3d4837df
UD
54122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5413
5414 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5415 for finite and infinity parameters.
5416
22700377
WS
54172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5418
5419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5420 and add nop instructions for throughput optimization.
5421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5422
5025581e
WS
54232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5424
5425 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5426 aligned copy for power7 with vector-scalar instructions.
5427 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5428
08a300c9
L
54292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5430
5431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5432 AVX check.
5433
59178ef9
AS
54342011-09-07 Andreas Schwab <schwab@redhat.com>
5435
5436 [BZ #13144]
5437 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5438 last change.
5439
e38ba7ab
UD
54402011-09-07 Ulrich Drepper <drepper@gmail.com>
5441
5442 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5443 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5444 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5445 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5446 clock_gettime.
5447
d53a73ac
UD
54482011-09-06 Ulrich Drepper <drepper@gmail.com>
5449
fc8bffcc
UD
5450 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5451 Forgot to demangle the pointer.
5452
ceaa0c5d
UD
5453 * sysdeps/i386/sysdep.h: Define atom_text_section.
5454 * sysdeps/x86_64/sysdep.h: Likewise.
5455 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5456 section with atom_text_section.
5457 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5458 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5459 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5460 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5461 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5462
a77d3c17
UD
5463 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5464 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5465 already be defined. Change to take two parameters and don't assign
5466 result to variable. Adjust all users.
5467 Define INTERNAL_GETTIME if not already defined.
5468 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5469 call.
5470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5471 HAVE_CLOCK_GETTIME_VSYSCALL.
5472 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5473
d53a73ac
UD
5474 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5475 gettimeofday vsyscall, just use time.
5476
a8f84144
AS
54772011-09-06 Andreas Schwab <schwab@redhat.com>
5478
5479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5480 <errno.h>.
5481
ef606249
UD
54822011-09-06 Ulrich Drepper <drepper@gmail.com>
5483
5484 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5485 syscall on x86-64.
5486 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5487 syscall.
5488 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5489 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5490 syscall if possible.
5491
6585cb60
UD
54922011-09-05 Ulrich Drepper <drepper@gmail.com>
5493
5494 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5495 e_ident. Don't pass to find_mapsXX.
5496 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5497
a5f524e4
LD
54982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5499
5500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5501 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5502 * sysdeps/x86_64/multiarch/strchr.S: Update.
5503 Check bit_slow_BSF bit.
5504 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5505 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5506 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5507
554881ef
UD
55082011-09-05 Ulrich Drepper <drepper@gmail.com>
5509
d96de963
UD
5510 [BZ #13134]
5511 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5512 before glibc 2.15.
5513 (tryshell): Define.
5514 (__spawni): Change last parameter to be flag. Test
5515 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5516 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5517 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5518 * posix/spawni.c: Likewise.
5519 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5520 * posix/spawnp.c: Likewise. Change normal version to use
5521 SPAWN_XFLAGS_USE_PATH.
5522 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5523 SPAWN_XFLAGS_TRY_SHELL.
5524
d48e5868
UD
5525 [BZ #13150]
5526 * posix/glob.h: Remove gcc 1.x support.
5527
554881ef
UD
5528 [BZ #13068]
5529 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5530
693fb948
LD
55312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5532
5533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5534 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5535 strrchr-sse2-bsf
5536 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5537 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5538 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5539 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5540 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5541 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5542
1b48c537
UD
55432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5544
49d42c37
UD
5545 * sysdeps/x86_64/wcscmp.S: New file.
5546
1b48c537
UD
5547 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5548 wcscmp-c wcscmp-sse2
5549 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5550 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5551 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5552 * wcsmbs/wcscmp.c: Allow renaming.
5553
15c95c5d
DM
55542011-09-05 David S. Miller <davem@davemloft.net>
5555
5556 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5557 stack slot, rather than the struct return pointer slot.
5558 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5559 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5561 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5562
2f0ad8f3
UD
55632011-09-05 Ulrich Drepper <drepper@gmail.com>
5564
d88ae418
UD
5565 * po/ja.po: Update from translation team.
5566
2f0ad8f3
UD
5567 [BZ #13144]
5568 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5569 kernel in 64-bit binaries.
5570
5f4318d1
DM
55712011-09-01 David S. Miller <davem@davemloft.net>
5572
5573 * elf/elf.h (HWCAP_SPARC_*): Move to..
5574 * sysdeps/sparc/sysdep.h: this new file and add new values.
5575 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5576 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5577 _DL_HWCAP_COUNT to 24.
5578 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5579 entries.
5580 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5581 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5582 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5584 instead of magic constants.
5585 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5586
3ba57516
DM
55872011-08-31 David S. Miller <davem@davemloft.net>
5588
5589 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5591 Reimplement to do errno handling inline.
5592 (SYSCALL_ERROR_HANDLER): New macro.
5593 (__SYSCALL_STRING): Do not do errno handling in asm.
5594 (__CLONE_SYSCALL_STRING): Delete.
5595 (__INTERNAL_SYSCALL_STRING): Delete.
5596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5597 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5598 (PSEUDO): Reimplement to do errno handling inline.
5599 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5600 (SYSCALL_ERROR_HANDLER): New macro.
5601 (__SYSCALL_STRING): Do not do errno handling in asm.
5602 (__CLONE_SYSCALL_STRING): Delete.
5603 (__INTERNAL_SYSCALL_STRING): Delete.
5604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5605 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5606 i386.
5607 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5608 (inline_syscall*): Add 'err' argument.
5609 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5610 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5611 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5612 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5613
5614 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5615 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5616
2bc17433
AS
56172011-08-30 Andreas Schwab <schwab@redhat.com>
5618
5619 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5620
fbeb5f4d
JO
56212011-08-29 Jiri Olsa <jolsa@redhat.com>
5622
5623 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5624 directive.
5625
ad69cc26
DM
56262011-08-24 David S. Miller <davem@davemloft.net>
5627
5628 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5629
39dd69df
AS
56302011-08-24 Andreas Schwab <schwab@redhat.com>
5631
5632 * elf/Makefile: Add rules to build and run unload8 test.
5633 * elf/unload8.c: New file.
5634 * elf/unload8mod1.c: New file.
5635 * elf/unload8mod1x.c: New file.
5636 * elf/unload8mod2.c: New file.
5637 * elf/unload8mod3.c: New file.
5638
5639 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5640 it wasn't used.
5641
2c0b250a
DM
56422011-08-23 David S. Miller <davem@davemloft.net>
5643
5644 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5645 subtract stack bias.
5646 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5647 %sp not %fp in calculations.
5648 (_JMPBUF_UNWINDS_ADJ): Likewise.
5649
22044b48
DM
5650 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5651 (aio_suspend): Call it to force an exception region around the
5652 AIO_MISC_WAIT() invocation.
5653
2cae4995
AS
56542011-08-23 Andreas Schwab <schwab@redhat.com>
5655
5656 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5657 backslash.
5658
873a772e
AJ
56592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5660
5661 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5662 protection macro.
5663 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5664 and <dl-machine.h>.
5665 (Elf64_FuncDesc): Remove.
5666
25ad0df1
DM
56672011-08-22 David S. Miller <davem@davemloft.net>
5668
5669 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5670 sigaltstack check, add missing cfi directives.
5671 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5672 missing cfi directives, and sigaltstack handling.
5673
e888bcbe
AS
56742011-08-16 Andreas Schwab <schwab@redhat.com>
5675
5676 [BZ #11724]
5677 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5678 object is seen twice.
5679 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5680
5681 * elf/Makefile (distribute): Add tst-initorder2.c.
5682 (tests): Add tst-initorder2.
5683 (modules-names): Add tst-initorder2a tst-initorder2b
5684 tst-initorder2c tst-initorder2d. Add rules to build them.
5685 ($(objpfx)tst-initorder2.out): New rule.
5686 * elf/tst-initorder2.c: New file.
5687 * elf/tst-initorder2.exp: New file.
5688
87162f46
AS
56892011-08-22 Andreas Schwab <schwab@redhat.com>
5690
70538b7f
AS
5691 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5692
f55ffe58
AS
5693 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5694 dependencies back to end of function.
5695
87162f46
AS
5696 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5697 $(elfobjdir)/ld.so.
5698
91b392a4
UD
56992011-08-21 Ulrich Drepper <drepper@gmail.com>
5700
5701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5702 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5704 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5705 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5706 of __vdso_gettimeofday.
5707 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5708 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5709 attribute_hidden.
5710 (_libc_vdso_platform_setup): Remove initialization of
5711 __vdso_gettimeofday and __vdso_time.
5712
5c43483f
UD
57132011-08-20 Ulrich Drepper <drepper@gmail.com>
5714
775a77e7
UD
5715 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5716 and fgetc_unlocked.
5717 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5718 getc_unlocked.
89f447ed 5719
49c74ba9
UD
5720 * elf/dl-open.c (add_to_global): Report additions to the global scope
5721 for LD_DEBUG=scopes.
5722 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5723 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5724
5c43483f
UD
5725 [BZ #13114]
5726 * stdio-common/Makefile (tests): Add bug24.
5727 * stdio-common/bug24.c: New file.
5728
a101b025
AJ
57292011-08-19 Andreas Jaeger <aj@suse.de>
5730
5731 [BZ #13114]
5732 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5733 non-existant file when using close-on-exec mode.
5734
c88f1766
UD
57352011-08-20 Ulrich Drepper <drepper@gmail.com>
5736
0276a718
UD
5737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5738 the very first instruction.
5739
c88f1766
UD
5740 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5741 the CFI state in the end.
5742 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5743 inclusion of dl-trampoline.h.
5744 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5745
51ccffa0
AS
57462011-08-19 Andreas Schwab <schwab@redhat.com>
5747
94d7165f
AS
5748 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5749 expectations for long double.
5750
51ccffa0
AS
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5752 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5753
fd708658 57542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5755
5756 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5757 artificual limit depends upon the system page size.
5758
44f0a71e
UD
57592011-08-17 Ulrich Drepper <drepper@gmail.com>
5760
5761 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5762 * resolv/Makefile: Define CFLAGS-libresolv.
5763
8de79a24
AS
57642011-08-17 Andreas Schwab <schwab@redhat.com>
5765
5766 * nss/makedb.c (compute_tables): Make variables used in nested
5767 function static.
5768
27724598
UD
57692011-08-17 Ulrich Drepper <drepper@gmail.com>
5770
c5305d88
UD
5771 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5772 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5773 if buffer was too small.
5774
27724598
UD
5775 * elf/pldd.c (main): Attach to all threads in the process.
5776 Rewrite /proc handling to use *at functions.
5777
076fe015
UD
57782011-08-16 Ulrich Drepper <drepper@gmail.com>
5779
174baab3
UD
5780 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5781 specifies first scope to show.
5782 (dl_open_worker): Update callers. Move printing scope of new
5783 object to before the relocation.
44f0a71e 5784 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5785 * sysdeps/generic/ldsodefs.h: Update declaration.
5786
076fe015
UD
5787 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5788 string for the scope number.
5789
a60df2c3
UD
57902011-08-14 Ulrich Drepper <drepper@gmail.com>
5791
5792 * nscd/servicescache.c (cache_addserv): Make sure written is always
5793 initialized.
5794
5e4287d1
RM
57952011-08-14 Roland McGrath <roland@hack.frob.com>
5796
85ae0589
RM
5797 * sysdeps/i386/i486/bits/atomic.h
5798 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5799 statement expression, so as to suppress "set but not used" warning.
5800 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5801
69f63097
RM
5802 * string/strncat.c (STRNCAT): Use prototype definition.
5803
675456ef
RM
5804 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5805 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5806 -Iprograms here.
5807 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5808 (localedef-modules): Add localedef.
5809 (locale-modules): Add locale.
5810
5e4287d1
RM
5811 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5812 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5813 to avoid a warning.
5814
9c96ff23
DM
58152011-08-14 David S. Miller <davem@davemloft.net>
5816
5817 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5818 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5819
f9ddf089
UD
58202011-08-13 Ulrich Drepper <drepper@gmail.com>
5821
44f0a71e 5822 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5823 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5824 * elf/rtld.c (dl_main): Set l_name of vDSO.
5825 Call _dl_show_scope when DL_DEBUG_SCOPES.
5826 (process_dl_debug): Recognize scopes flag and also set it for all.
5827 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5828 Declare _dl_show_scope.
5829
1dc27704
UD
5830 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5831 (do_dlopen): Pass caller_dlopen to dl_open.
5832 (__libc_dlopen_mode): Initialize caller_dlopen.
5833
f9ddf089
UD
5834 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5835 of libc. Make tolower call locale-independent. Optimize a bit by
5836 using isdigit instead of isalnum.
5837 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5838
9ac533d3
UD
58392011-08-12 Ulrich Drepper <drepper@gmail.com>
5840
5841 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5842 was a dependency or dynamically loaded.
5843
89edf2e9
UD
58442011-08-11 Ulrich Drepper <drepper@gmail.com>
5845
8e999d29
UD
5846 * intl/l10nflist.c: Allow architecture-specific pop function.
5847 * sysdeps/x86_64/l10nflist.c: New file.
5848
89edf2e9
UD
5849 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5850 classification.
5851
14d96785
AS
58522011-08-10 Andreas Schwab <schwab@redhat.com>
5853
5854 * include/dirent.h: Add libc_hidden_proto for scandirat and
5855 scandirat64. Don't declare __scandirat64.
5856 * dirent/scandirat.c: Add libc_hidden_def.
5857 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5858 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5859
6761ac04
DM
58602011-08-10 David S. Miller <davem@davemloft.net>
5861
5862 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5863 enum.
5864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5865 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5866 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5867
c55fbd1e
UD
58682011-08-09 Ulrich Drepper <drepper@gmail.com>
5869
5870 * Versions.def [libc]: Add GLIBC_2.15.
5871 * dirent/Makefile (routines): Add scandirat and scandirat64.
5872 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5873 GLIBC_2.15.
5874 * dirent/dirent.h: Declare scandirat and scandirat64.
5875 * dirent/scandirat.c: New file.
5876 * dirent/scandirat64.c: New file.
5877 * sysdeps/wordsize-64/scandirat.c: New file.
5878 * sysdeps/wordsize-64/scandirat64.c: New file.
5879 * dirent/opendir.c: Define opendirat.
5880 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5881 using scandirat.
5882 * dirent/scandir64.c: Adjust for scandir.c change.
5883 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5884 __scandirat64, and __scandir_cancel_handler.
5885 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5886 additional parameter and use openat instead of open (outside of ld.so).
5887 Add new __opendir as wrapper around __opendirat.
5888 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5889 here without requiring old scandirat implementation.
5890
879165f2
UD
58912011-08-08 Ulrich Drepper <drepper@gmail.com>
5892
5893 * dirent/scandir.c (cancel_handler): Renamed to
5894 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5895 defined. Adjust users.
5896 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5897 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5898
cb7e923b
UD
58992011-08-04 Ulrich Drepper <drepper@gmail.com>
5900
16292edd
UD
5901 * string/test-string.h (IMPL): Use __STRING to expand name and then
5902 stringify it.
5903
cb7e923b
UD
5904 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5905 of cleanups.
5906
cff82933
LD
59072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5908
5909 * string/Makefile: Update.
5910 (strop-tests): Append strncat.
5911 * string/test-wcscmp.c: New file.
5912 New comprehensive test for wcscmp.
5913 * string/test-strcmp.c: Update.
5914 (WIDE): New define.
5915
9be9bfcc
AS
59162011-07-22 Andreas Schwab <schwab@redhat.com>
5917
5918 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5919 line.
5920
2e96f1c7
AS
59212011-07-26 Andreas Schwab <schwab@redhat.com>
5922
5923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5924 encoding to ACE if AI_IDN.
5925
85188888
JJ
59262011-08-01 Jakub Jelinek <jakub@redhat.com>
5927
5928 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5929 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5930
5fa16e9b
LD
59312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5932
5933 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5934 Fix overflow bug in strncat.
5935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5936
5937 * string/test-strncat.c: Update.
5938 Add new tests for checking overflow bugs.
5939
59402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5941
5942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5943 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5944 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5945 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5946 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5947 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5948 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5949 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5950 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5951
5952 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5953 (USE_AS_STRCAT): Define.
5954 Add strcat and strncat support.
5955 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5956
8c1a459f
AS
59572011-07-25 Andreas Schwab <schwab@redhat.com>
5958
5959 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5960 __n bigger than INT_MAX+1.
5961 (__strncmp_g): Likewise.
5962
bba33c28
UD
59632011-07-23 Ulrich Drepper <drepper@gmail.com>
5964
798be72d
UD
5965 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5966 * libio/stido.h: Likewise.
5967
8accd4dc
UD
5968 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5969 (AF_NFC): Define.
5970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5971 (AF_NFC): Define.
5972
cbff0d96
UD
5973 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5974 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5975 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5976 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5977 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5978
9191c04a
UD
5979 [BZ #13021]
5980 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5981 installed.
5982
bba33c28
UD
5983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5984 typo.
5985 (_dl_x86_64_save_sse): Likewise.
5986
90f139dd
UD
59872011-07-22 Ulrich Drepper <drepper@gmail.com>
5988
1aae088a
UD
5989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5990 OSXSAVE.
5991 (_dl_x86_64_save_sse): Likewise.
5992
8e2045f5
UD
5993 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5994
90f139dd
UD
5995 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5996
1d002f25
AS
59972011-07-21 Andreas Schwab <schwab@redhat.com>
5998
5999 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6000 change.
6001 (_dl_x86_64_save_sse): Use correct AVX check.
6002
21137f89
UD
60032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6004
6005 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6006 bug in strncpy/strncat.
6007 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6008
a65c0b7a
UD
60092011-07-21 Ulrich Drepper <drepper@gmail.com>
6010
6011 * string/tester.c (test_strcat): Add tests for different alignments
6012 of source and destination.
6013 (test_strncat): Likewise.
6014
6986b98a
UD
60152011-07-20 Ulrich Drepper <drepper@gmail.com>
6016
90bb2039
UD
6017 [BZ #12852]
6018 * posix/glob.c (glob): Check passed in values before using them in
6019 expressions to avoid some overflows.
6020 (glob_in_dir): Likewise.
6021
5644ef54
UD
6022 [BZ #13007]
6023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6024 check for AVX enablement so that we don't crash with old kernels and
6025 new hardware.
6026 * elf/tst-audit4.c: Add same checks here.
6027 * elf/tst-audit6.c: Likewise.
6028
6029 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6030
bfc9dc9b
AS
60312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6032
6033 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6034
702e64bb
UD
60352011-07-20 Ulrich Drepper <drepper@gmail.com>
6036
6037 * po/cs.po: Update from translation team.
6038 * po/bg.po: Likewise.
6039
295e904f
MP
60402011-07-12 Marek Polacek <mpolacek@redhat.com>
6041
6042 * misc/sys/cdefs.h: Add support for const attribute.
6043 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6044 to gnu_dev_{major,minor,makedev} functions.
6045
3ff94596
MP
60462011-07-20 Marek Polacek <mpolacek@redhat.com>
6047
6048 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6049
28b59fca
AS
60502011-07-20 Andreas Schwab <schwab@redhat.com>
6051
6052 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6053 strlen results.
6054
19df733e
AK
60552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6056
6057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6058 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6059 register in order to avoid conflicts with the soft frame pointer
6060 being held in r11 when necessary.
6061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6062 (INTERNAL_VSYSCALL_NCS): Likewise.
6063
c8835729
MP
60642011-07-14 Marek Polacek <mpolacek@redhat.com>
6065
6066 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6067 * elf/dl-fini.c (_dl_fini): Adjust caller.
6068 * elf/dl-close.c (_dl_close_worker): Likewise.
6069 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6070
b902330c
MP
60712011-07-15 Marek Polacek <mpolacek@redhat.com>
6072
8991e135
MP
6073 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6074 "aux_cache->nlibs < 0".
6075
b902330c
MP
6076 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6077 in the reload-count case.
6078
99710781
LD
60792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6080
6081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6082 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6083 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6084 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6085 * sysdeps/x86_64/multiarch/strcat.S: New file.
6086 * sysdeps/x86_64/multiarch/strncat.S: New file.
6087 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6088 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6089 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6090 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6092 (USE_AS_STRCAT): Define.
6093 Add strcat and strncat support.
6094 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6095 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6096 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6097 * string/strncat.c: Update.
6098 (USE_AS_STRNCAT): Define.
6099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6100 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6101 and i7.
6102 * sysdeps/x86_64/multiarch/init-arch.h
6103 (bit_Prefer_PMINUB_for_stringop): New.
6104 (index_Prefer_PMINUB_for_stringop): Likewise.
6105 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6106 bit_Prefer_PMINUB_for_stringop.
6107
7dc6bd90
UD
61082011-07-19 Ulrich Drepper <drepper@gmail.com>
6109
6110 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6111 buffer64.
6112 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6113 of casting of buffer.
6114 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6115 buffer32 and buffer64.
6116 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6117 writes instead of casting of buffer.
6118 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6119 buffer32.
6120 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6121 casting of buffer.
6122
e0e72284
AS
61232011-07-19 Andreas Schwab <schwab@redhat.com>
6124
6125 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6126
feb1eb0b
UD
61272011-07-19 Ulrich Drepper <drepper@gmail.com>
6128
6129 * nscd/nscd.c (termination_handler): Don't do anything for a database
6130 if it has not yet been initialized.
6131
298711ff
UD
61322011-07-18 Ulrich Drepper <drepper@gmail.com>
6133
6134 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6135
61362011-07-15 Marek Polacek <mpolacek@redhat.com>
6137
6138 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6139
f9d68389
UD
61402011-07-18 Ulrich Drepper <drepper@gmail.com>
6141
6142 * po/nl.po: Update from translation team.
6143 * po/sv.po: Likewise.
6144
db290cf5
RM
61452011-07-16 Roland McGrath <roland@hack.frob.com>
6146
6147 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6148 now disallowed by GCC.
5c550700 6149
fd5e21c7
RM
6150 * configure.in (use-default-link): Default to yes if a test -shared
6151 link meets our qualifications.
6152 * configure: Regenerated.
6153
5c550700
RM
6154 * config.make.in (output-format): New variable.
6155 * configure.in: Check for ld --print-output-format support.
6156 * configure: Regenerated.
6157 * Makerules ($(common-objpfx)format.lds)
6158 [$(output-format) != unknown]: Just use $(output-format),
6159 instead of the linker-script munging.
6160
9fa2c032
RM
61612011-07-14 Roland McGrath <roland@hack.frob.com>
6162
a6928d51
RM
6163 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6164 of $(common-objpfx)shlib.lds.
6165 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6166
661607b3
RM
6167 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6168 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6169
9fa2c032
RM
6170 * configure.in (-z relro check): Adjust test code to add a large
6171 writable data section after it.
6172 * configure: Regenerated.
6173
defe9061
RM
61742011-07-11 Roland McGrath <roland@hack.frob.com>
6175
6176 * configure.in (-z relro check): Fix test code to make the variable
6177 truly const.
6178 * configure: Regenerated.
6179
319b9ad4
UD
61802011-07-11 Ulrich Drepper <drepper@gmail.com>
6181
6182 * nscd/nscd.h (struct traced_file): Define.
6183 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6184 elements. Add traced_files.
6185 (inotify_fd): Declare.
6186 (register_traced_file): Declare.
6187 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6188 (inotify_fd): Export.
6189 (resolv_conf_descr): Remove.
6190 (nscd_init): Move inotify descriptor creation to main.
6191 Don't register files for notification here.
6192 (register_traced_file): New function.
6193 (invalidate_cache): Don't use reset_res to determine whether to call
6194 res_init, go through the list of registered files.
6195 (main_loop_poll): The inotify descriptors are now stored in the
6196 structures for the traced files.
6197 (main_loop_epoll): Likewise
6198 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6199 to __nss_disable_nscd.
6200 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6201 for a database anymore. Check the records for all the registered
6202 files instead.
6203 * nss/Makefile (libnss_files-routines): Add files-init.
6204 (libnss_db-routines): Add db-init.
6205 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6206 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6207 * nss/nss_db/db-init.c: New file.
6208 * nss/nss_files/files-init.c: New file.
6209 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6210 __nss_lookup_function.
6211 (__nss_lookup_function): Call nss_load_library.
6212 (nss_load_all_libraries): New function.
6213 (__nss_disable_nscd): Take parameter with callback function for files
6214 to register. Set is_nscd. Load all the DSOs for the NSS modules
6215 used for the cached services.
6216 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6217 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6218 options for features to all the files in nscd.
6219
6220 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6221
23bee3e8
RM
62222011-07-10 Roland McGrath <roland@hack.frob.com>
6223
6224 * csu/elf-init.c (__libc_csu_init): Comment typo.
6225
46a5b7f0
UD
62262011-07-09 Ulrich Drepper <drepper@gmail.com>
6227
6228 * po/pl.po: Update from translation team.
6229 * po/ja.po: Likewise.
6230 * po/ru.po: Likewise.
6231 * po/ko.po: Likewise.
6232 * po/fr.po: Likewise.
6233
d30cf5bb
RM
62342011-07-09 Roland McGrath <roland@hack.frob.com>
6235
113ddea4
RM
6236 * configure.in (.ctors/.dtors header and trailer check):
6237 Use an empirical test on a built program.
6238 * configure: Regenerated.
6239
574920b4
RM
6240 * configure.in (-z relro check): Use an empirical test on a built DSO.
6241 Detect, but do not require, on ia64.
6242 * configure: Regenerated.
6243
d30cf5bb
RM
6244 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6245 Update tests that use readelf to use $READELF instead.
6246 * configure: Regenerated.
6247
8538fdb3
UD
62482011-07-08 Ulrich Drepper <drepper@gmail.com>
6249
6250 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6251 if the result is not used.
6252
04d08991
AJ
62532011-07-05 Andreas Jaeger <aj@suse.de>
6254
6255 [BZ#9696]
6256 * stdlib/tst-strtod.c: Add testcase.
6257
de283087
AD
62582011-07-07 Ulrich Drepper <drepper@gmail.com>
6259
4e5f31c8 6260 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6261 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6262 The latter has a higher limit. Take additional parameter to pass to
6263 the new function.
6264 (__pathconf): Pass file to __statfs_link_max.
6265 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6266 __statfs_link_max.
6267 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6268 __statfs_link_max.
6269
de283087
AD
6270 [BZ #12868]
6271 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6273 Handle Lustre.
6274 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6275 (__statfs_filesize_max): Likewise.
6276 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6277
c75fa153
AJ
62782011-07-05 Andreas Jaeger <aj@suse.de>
6279
6280 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6281
1a544854
UD
62822011-07-06 Marek Polacek <mpolacek@redhat.com>
6283
6284 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6285 `status' variable.
6286 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6287 Likewise.
6288
6f0eec67
UD
62892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6290
6291 * Makefile (strop-tests): Add strncat.
6292 * string/test-strncat.c: New file.
6293
aae30307
UD
62942011-06-30 Marek Polacek <mpolacek@redhat.com>
6295
6296 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6297
c0cfb5eb
UD
62982011-06-21 Andreas Jaeger <aj@suse.de>
6299
6300 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6301 Copy rule from iconvdata/Makefile.
6302
01636b21
UD
63032011-07-06 Ulrich Drepper <drepper@gmail.com>
6304
6305 [BZ #12922]
6306 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6307 but no long options are defined, just return 'W'.
6308
9895c8bc
UD
63092011-06-22 Marek Polacek <mpolacek@redhat.com>
6310
6311 [BZ #9696]
6312 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6313
5d4cf042
UD
63142011-07-06 Ulrich Drepper <drepper@gmail.com>
6315
6316 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6317 netgroups to read.
960e5535 6318 (innetgr): Likewise.
5d4cf042 6319
751eb97e
RM
63202011-07-05 Roland McGrath <roland@hack.frob.com>
6321
6322 * config.make.in (install_root): Default to $(DESTDIR).
6323
f15f1e45
UD
63242011-07-05 Ulrich Drepper <drepper@gmail.com>
6325
6326 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6327
4e34ac6a
RM
63282011-07-02 Roland McGrath <roland@hack.frob.com>
6329
5e9b6af4
RM
6330 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6331
84f9ea0f
RM
6332 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6333 containing directory rather than embedding absolute directory names.
6334
ea5ee9f7
RM
6335 * scripts/check-local-headers.sh: Rewritten using awk.
6336 Match by word, not by line. Print error messages for matches.
6337 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6338
1b74661a
RM
6339 * Makerules [shlib-lds-flags empty]:
6340 ($(common-objpfx)libc_pic.opts): New target.
6341 ($(common-objpfx)libc_pic.os.clean): New target.
6342 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6343
6344 * config.make.in (OBJCOPY): New variable.
6345 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6346 * configure: Regenerated.
6347
f781ef40
RM
6348 * config.make.in (use-default-link): New variable.
6349 * configure.in (use_default_link): Grok --with-default-link to set it.
6350 * configure: Regenerated.
6351 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6352 (shlib-lds, shlib-lds-flags): Define to empty.
6353
2d4fa81e
RM
6354 * Makerules (shlib-lds): New variable.
6355 (shlib-lds-flags): New variable.
6356 (build-shlib, build-moduile, build-module-asneeded): Use it.
6357 ($(common-objpfx)libc.so): Use $(shlib-lds).
6358 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6359 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6360
31fffa6b
RM
6361 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6362 DT_FLAGS/DT_FLAGS_1 with zero flags.
6363
4e34ac6a
RM
6364 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6365 linker script munging.
6366
fcfc776b
UD
63672011-07-02 Ulrich Drepper <drepper@gmail.com>
6368
6369 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6370 as 128-bit value.
6371 * crypt/sha512.c (sha512_process_block): Perform total addition using
6372 128-bit if possible.
6373 (__sha512_finish_ctx): Likewise.
6374 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6375 as 64-bit value.
6376 * crypt/sha256.c (SWAP64): Define.
6377 (sha256_process_block): Perform total addition using 64-bit if
6378 possible.
6379 (__sha256_finish_ctx): Likewise.
6380
99231d9a
UD
63812011-07-01 Ulrich Drepper <drepper@gmail.com>
6382
6383 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6385 * nscd/hstcache.c (cache_addhst): Likewise.
6386 * nscd/grpcache.c (cache_addgr): Likewise.
6387 * nscd/aicache.c (addhstaiX): Likewise
6388 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6389
445b4a53
TK
63902011-07-01 Thorsten Kukuk <kukuk@suse.de>
6391
6392 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6394 * nscd/hstcache.c (cache_addhst): Likewise.
6395 * nscd/grpcache.c (cache_addgr): Likewise.
6396 * nscd/aicache.c (addhstaiX): Likewise
6397
6d4d8e8e
AS
63982011-07-01 Andreas Schwab <schwab@redhat.com>
6399
6400 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6401 domain only when needed.
6402
89f654c5
AS
64032011-06-30 Andreas Schwab <schwab@redhat.com>
6404
6405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6406 is always restored.
6407
cf3b23ff
UD
64082011-06-29 Ulrich Drepper <drepper@gmail.com>
6409
6410 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6411 are re-adding the entry.
6412 * nscd/servicescache.c (cache_addserv): Likewise.
6413
751626f9
AJ
64142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6415
6416 * sysdeps/generic/dl-irel.h: fix protection against multiple
6417 inclusions.
6418 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6419
9113ea1f
UD
64202011-06-28 Ulrich Drepper <drepper@gmail.com>
6421
5c0b8d90
UD
6422 [BZ #12935]
6423 * malloc/memusage.sh: Fix quoting in message.
6424 * debug/xtrace.sh: Likewise.
6425
9113ea1f
UD
6426 * configure.in: Remove support for --experimental-malloc option, make
6427 it the default.
6428 * config.make.in: Likewise.
6429 * malloc/Makefile: Likewise.
6430
a4172181
AS
64312011-06-27 Andreas Schwab <schwab@redhat.com>
6432
6433 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6434 two-byte characters.
6435
78a7eee7
RM
64362011-06-27 Roland McGrath <roland@hack.frob.com>
6437
62bede13
RM
6438 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6439 AC_CACHE_CHECK invocation.
6440 * configure: Regenerated.
6441
78a7eee7
RM
6442 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6443
5ce33a62
UD
64442011-06-27 Ulrich Drepper <drepper@gmail.com>
6445
034807a9
UD
6446 [BZ #12350]
6447 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6448 bit from old_res_options.
6449
4902da17
UD
6450 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6451
5ce33a62
UD
6452 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6453 value type for setfct.
6454
c2344f56
L
64552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6456
6457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6458 __gettimeofday instead of gettimeofday.
6459
68468076
UD
64602011-06-26 Ulrich Drepper <drepper@gmail.com>
6461
6462 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6463
acb0d739
L
64642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6465
6466 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6467
6468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6469 info.
6470
8912479f
L
64712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6472
6473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6474 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6475 strcpy-sse2-unaligned strncpy-sse2-unaligned
6476 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6477 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6478 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6479 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6480 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6481 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6483 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6484 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6485 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6486 (STRCPY): Support SSE2 and SSSE3 versions.
6487
d5495a11
UD
64882011-06-24 Ulrich Drepper <drepper@gmail.com>
6489
6490 [BZ #12874]
6491 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6492 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6493 kernels which artificially limit size of requests.
6494
0b1cbaae
L
64952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6496
6497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6498 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6499 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6500 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6501 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6502 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6503 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6504 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6505 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6506 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6507 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6508 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6509 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6510 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6511 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6513 Enable unaligned load optimization for Intel Core i3, i5 and i7
6514 processors.
6515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6516 Define.
6517 (index_Fast_Unaligned_Load): Define.
6518 (HAS_FAST_UNALIGNED_LOAD): Define.
6519
07f494a0
MP
65202011-06-23 Marek Polacek <mpolacek@redhat.com>
6521
6522 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6523
fa3fc0fe
UD
65242011-06-22 Ulrich Drepper <drepper@gmail.com>
6525
6526 [BZ #12907]
6527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6528 until it is clear that the information is realy needed.
6529 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6530
e12df166
AS
65312011-06-22 Andreas Schwab <schwab@redhat.com>
6532
6533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6534
852eb34d
UD
65352011-06-22 Ulrich Drepper <drepper@gmail.com>
6536
84e2a551
UD
6537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6538 /sys/devices/system/cpu/online if it is usable.
6539
852eb34d
UD
6540 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6541 reading the information from the /proc filesystem to once a second.
6542
6e502e19
UD
65432011-06-21 Andreas Jaeger <aj@suse.de>
6544
6545 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6546 NULL after inclusion of kernel headers.
6547
75d39ff2
UD
65482011-06-21 Ulrich Drepper <drepper@gmail.com>
6549
51f9aa6a
UD
6550 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6551 calls to internal_setent.
6552
c0244a9d
UD
6553 [BZ #12885]
6554 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6555 addresses using gethostbyname4_r ignore IPv4 addresses.
6556
c5e3c2ae
UD
6557 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6558 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6559
75d39ff2
UD
6560 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6561
42675c6f
DM
65622011-06-20 David S. Miller <davem@davemloft.net>
6563
6564 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6565 inclusions.
6566 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6567
6568 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6569 (elf_irel): Use it.
6570 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6571 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6572 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6573 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6574 * sysdeps/x86_64/dl-irel.h: Likewise.
6575
6576 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6577 * elf/dl-sym.c: Likewise.
6578
57912a71
UD
65792011-06-15 Ulrich Drepper <drepper@gmail.com>
6580
6581 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6582 need to dereference resplen2.
6583
ee22793d
AS
65842011-06-14 Andreas Schwab <schwab@redhat.com>
6585
6586 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6587
a9e836b0
UD
65882011-06-15 Ulrich Drepper <drepper@gmail.com>
6589
77fb9117
UD
6590 * Makeconfig: Define vardbdir and inst_vardbdir.
6591 * nss/Makefile: Add rules to install db-Makefile.
6592
40c1b22c
UD
6593 * nss/nss_db/db-XXX.c: Cleanup.
6594
9f2da732
UD
6595 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6596 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6597 GLIBC_PRIVATE.
6598 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6599 * nss/makedb.c: Implement -g option to specify that value strings
6600 are generated and should not be added to table iterated over for
6601 get*ent calls.
6602 * nss/nss_db/db-initgroups.c: New file.
6603
82e9a1f7
UD
6604 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6605 interface.
6606
c41af17e
UD
6607 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6608 (internal_getgrouplist): Adjust to name change.
6609 Update use_initgroups_entry if this is not the first call.
6610 * nss/databases.def: Add initgroups entry.
6611
a9e836b0
UD
6612 * nss/makedb.c (compute_tables): Check result of multiple hash table
6613 sizes to minimize maximum chain length.
6614
2666d441
UD
66152011-06-14 Ulrich Drepper <drepper@gmail.com>
6616
6617 * Versions.def: Add entry for libnss_db.
6618 * shlib-versions: Likewise.
6619 * nss/Makefile: Add rules to build libnss_db.
6620 * nss/Versions: Add libnss_db information. Organize libnss_files
6621 entries better.
6622 * nss/db-Makefile: Add gshadow support. Change rules for the new
6623 makedb progra. Some minor improvements to generate smaller files.
6624 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6625 here from...
6626 * nss/makedb.c: ...here.
6627 Improve database format to be smaller and require less memory at
6628 runtime.
6629 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6630 db anymore.
6631 * nss/nss_db/db-netgrp.c: Likewise.
6632 * nss/nss_db/db-open.c: Likewise.
6633 * nss/nss_files/flies-XXX.x: Adjust comments.
6634 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6635 * nss/nss_files/files-grp.c: Likewise.
6636 * nss/nss_files/files-hosts.c: Likewise.
6637 * nss/nss_files/files-network.c: Likewise.
6638 * nss/nss_files/files-proto.c: Likewise.
6639 * nss/nss_files/files-pwd.c: Likewise.
6640 * nss/nss_files/files-rpc.c: Likewise.
6641 * nss/nss_files/files-service.c: Likewise.
6642 * nss/nss_files/files-sgrp.c: Likewise.
6643 * nss/nss_files/files-spwd.c: Likewise.
6644 * nss/nss_db/db-alias.c: Removed.
6645 * nss/nss_db/dummy-db.h: Removed.
6646
9ee76b5a
UD
66472011-06-02 Ulrich Drepper <drepper@gmail.com>
6648
6649 * nss/makedb.c: Rewritten to not use database library.
6650 * nss/Makefile: Update to build new makedb program.
6651
c71ca1f8
AJ
66522011-06-14 Andreas Jaeger <aj@suse.de>
6653
6654 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6655 memset declaration.
6656
3154bfb8
UD
66572011-06-10 Andreas Schwab <schwab@redhat.com>
6658
6659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6660 tmpbuf.
6661
b350afab
RM
66622011-06-10 Roland McGrath <roland@hack.frob.com>
6663
decd4e50
RM
6664 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6665 * elf/Makefile ($(objpfx)ld.so): Likewise.
6666
5615eaf2
RM
6667 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6668 Don't list ld.so twice in dependencies.
6669
6670 * posix/bug-regex31.c: Include <stdlib.h>.
6671
6672 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6673
6674 * nis/nss_compat/compat-spwd.c
6675 (getspent_next_nss_netgr): Remove unused variable.
6676 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6677
6678 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6679 nonmembers" output to use the right array.
6680
6681 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6682
6683 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6684
6685 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6686 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6687 * catgets/gencat.c (read_input_file): Likewise.
6688 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6689
6690 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6691 variable definition inside #if's controlling its use.
6692
6693 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6694
6695 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6696
6697 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6698
6699 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6700 unreachable code.
6701
6702 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6703
b68e08db
RM
6704 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6705 * configure: Regenerated.
6706
b350afab
RM
6707 * Makerules: Revert last change.
6708 * elf/Makefile: Likewise.
6709
28368601
RM
67102011-06-09 Roland McGrath <roland@hack.frob.com>
6711
6712 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6713 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6714 (reloc-link): Likewise.
6715
11988f8f
UD
67162011-06-09 Ulrich Drepper <drepper@gmail.com>
6717
6718 * elf/Makefile: Add rules to build pldd.
6719 * elf/pldd.c: New file.
6720 * elf/pldd-xx.c: New file.
6721
e80fab37
UD
67222011-06-07 Ulrich Drepper <drepper@gmail.com>
6723
6724 * version.h: Update for 2.15 development version.
6725
9b849836
DM
67262011-06-07 David S. Miller <davem@davemloft.net>
6727
6728 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6729 ifuncs.
6730 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6731 elf_machine_lazy_rel): Likewise.
6732 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6734 elf_machine_lazy_rel): Likewise.
6735 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6736 dl_hwcap via passed in argument.
6737 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6738 Likewise.
6739
5a31b283
AK
67402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6741
6742 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6743
069e52f8
RM
67442011-06-06 Roland McGrath <roland@hack.frob.com>
6745
6746 [BZ #12849]
6747 * manual/fdl-1.1.texi: New file, verbatim from:
6748 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6749 * manual/lgpl-2.1.texi: New file, verbatim from:
6750 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6751 * manual/Makefile (licenses): New variable, list those new file names.
6752 (texis): Use it.
6753 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6754
6755 * manual/fdl.texi: File removed.
6756 * manual/lesser.texi: File removed.
6757 * manual/libc.texinfo (Copying, Documentation License):
6758 Use new @include file names, put @appendix directive before @include.
6759
f16846a5
JJ
67602011-06-04 Jakub Jelinek <jakub@redhat.com>
6761
6762 [BZ #12841]
6763 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6764 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6765 (mq_open): Add __NTH.
6766
3d29045b
L
67672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6768
6769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6770 Assume Intel Core i3/i5/i7 processor if AVX is available.
6771
8c297311
UD
67722011-05-31 Ulrich Drepper <drepper@gmail.com>
6773
6774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6775 typo.
6776
c8fc0c91
UD
67772011-05-31 Andreas Schwab <schwab@redhat.com>
6778
6779 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6780 memory. Use alloca_account. Fix memory leak when retrying.
6781
5b27a807
UD
67822011-05-31 Ulrich Drepper <drepper@gmail.com>
6783
356f8bc6
UD
6784 * version.h (RELEASE): Bump for 2.14 release.
6785 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6786
5b27a807
UD
6787 * config.make.in (RANLIB): Remove entry.
6788
01f16ab0
UD
67892011-05-30 Ulrich Drepper <drepper@gmail.com>
6790
41fce8bd
UD
6791 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6792 (libc.pot): Work around missing support for .ksh extension in xgettext.
6793
4769ae77
UD
6794 [BZ #12684]
6795 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6796 if both request failed.
6797 (send_dg): In case of server errors clear resplen or *resplen2.
6798
6b1e7d19
UD
6799 [BZ #12454]
6800 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6801 when there are multiple maps.
6802 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6803 (_dl_fini): Remove test here.
6804
01f16ab0
UD
6805 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6806
b1ebd700
UD
68072011-05-29 Ulrich Drepper <drepper@gmail.com>
6808
7ae22829
UD
6809 [BZ #12350]
6810 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6811 bit from old_res_options.
6812 (gaih_inet): Likewise.
6813
553149f6 6814 [BZ #11099]
18a84741 6815 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6816 as signed.
6817
652ffab1
UD
6818 * resolv/res_init.c (res_setoptions): Make the code more compact.
6819
16985fd0
UD
6820 [BZ #11558]
6821 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6822 set RES_USEVC.
6823
0464f746
UD
6824 [BZ #11634]
6825 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6826
7d17596c
UD
6827 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6828
cf6bbbd7
UD
6829 [BZ #11781]
6830 * malloc/malloc.h: Declare malloc hook variables as volatile.
6831
13f1ab36
UD
6832 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6833 in last patch.
6834
b1ebd700
UD
6835 [BZ #11799]
6836 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6837 raise in the comment.
80e2212d
UD
6838 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6839 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6840 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6841
ce67228d
UD
68422011-05-28 Ulrich Drepper <drepper@gmail.com>
6843
8887a920
UD
6844 [BZ #12811]
6845 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6846 grow the buffers more if it already has to be sufficient.
6847 (build_wcs_upper_buffer): Likewise.
6848 * posix/regexec.c (check_matching): Likewise.
6849 (clean_state_log_if_needed): Likewise.
6850 (extend_buffers): Don't enlarge buffers beyond size of the input
6851 buffer.
6852 Patches mostly by Emil Wojak <emil@wojak.eu>.
6853 * posix/bug-regex32.c: New file.
6854 * posix/Makefile (tests): Add bug-regex32.
6855
4f031072
UD
6856 * locale/findlocale.c (_nl_find_locale): Return right away if
6857 _nl_explode_name failed.
6858 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6859
d0478f0c
UD
6860 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6861
de81b246
UD
6862 * debug/xtrace.sh: Unify messages.
6863 * malloc/memusage.sh: Likewise.
6864
c738465a
UD
6865 [BZ #12813]
6866 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6867 time symbol from vDSO. Substitute with vsyscall if not available.
6868 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6869 __vdso_time.
6870
f1f929d7
UD
6871 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6872 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6873 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6874 Add sendmmsg and internal_sendmmsg.
6875 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6876 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6877 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6878
ce67228d
UD
6879 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6880 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6881 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6882
e57420c6
UD
68832011-05-27 Ulrich Drepper <drepper@gmail.com>
6884
a8509ca5
UD
6885 [BZ #12813]
6886 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6887 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6888 available.
6889 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6890 __vdso_getcpu.
6891
e57420c6
UD
6892 [BZ #12814]
6893 * iconvdata/Makefile (tests): Add bug-iconv9.
6894 * iconvdata/bug-iconv9.c: New file.
6895
4d07db15
AS
68962011-05-27 Andreas Schwab <schwab@redhat.com>
6897
6898 [BZ #12814]
6899 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6900
ea486f69
JJ
69012011-05-25 Jakub Jelinek <jakub@redhat.com>
6902
6903 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6904 (struct user_regs_struct): Change intcs field back to cs.
6905
6f038433
UD
69062011-05-25 Ulrich Drepper <drepper@gmail.com>
6907
6908 * po/ja.po: Update from translation team.
6909
67f86a25
UD
69102011-05-23 Ulrich Drepper <drepper@gmail.com>
6911
6912 [BZ #12795]
6913 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6914 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6915
def7fbd6
AS
69162011-05-20 Andreas Schwab <schwab@redhat.com>
6917
6918 * stdlib/longlong.h: Update from GCC.
6919
f50ef8f1
AS
69202011-05-23 Andreas Schwab <schwab@redhat.com>
6921
6922 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6923 parameter name.
6924 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6925 Add parameter name.
6926 (__sysconf): Pass it down.
6927
de7ce8f1
UD
69282011-05-22 Ulrich Drepper <drepper@gmail.com>
6929
f2962a71
UD
6930 [BZ #12671]
6931 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6932 some situations.
6933 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6934 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6935 add in in __libc_use_alloca calls. Adjust callers.
6936 (glob): Use malloc in some situations.
6937
de7ce8f1
UD
6938 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6939 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6940 pltexit.
6941
aec84f53
UD
69422011-05-21 Ulrich Drepper <drepper@gmail.com>
6943
05bb4a68
UD
6944 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6945 and CLOCK_BOOTTIME_ALARM.
6946
7ea72f99
UD
6947 [BZ #12782]
6948 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6949 is returned.
6950
7e4afad5
UD
6951 * string/_strerror.c (__strerror_r): Print negative errors as signed
6952 numbers.
6953
8e211fec
UD
6954 [BZ #12777]
6955 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6956 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6957 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6958
f7d82dc9
UD
6959 * configure.in: Fix typo in redirection and correct removal of test
6960 files in two cases.
6961
cc9e536d
UD
6962 [BZ #12788]
6963 * locale/setlocale.c (new_composite_name): Fix test to check for
6964 identical name of all categories.
6965
aec84f53
UD
6966 [BZ #12792]
6967 * libio/filedoalloc.c (local_isatty): New function.
6968 (_IO_file_doallocate): Use local_isatty.
6969 * stdio-common/perror.c (perror): In case a new stream is used
6970 forward the stream error.
6971 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6972 error flag.
6973
78e64fdc
RT
69742011-05-20 Ulrich Drepper <drepper@gmail.com>
6975
34a9094f
UD
6976 [BZ #11869]
6977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6978 alloca.
6979 * include/alloca.h (extend_alloca_account): Define.
6980
78e64fdc
RT
6981 [BZ #11857]
6982 * posix/regex.h: Fix comments with documentation of user-accessible
6983 fields after compilation and describe correct free'ing of pattern
6984 after re_compile_pattern.
6985 Patch by Reuben Thomas <rrt@sc3d.org>.
6986
457bddfc
RA
69872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6988
6989 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6990 and -mno-altivec to prevent the compiler from using Altivec and/or
6991 VSX instructions when the corresponding registers are not available.
6992
a4527b51
AS
69932011-05-19 Andreas Schwab <schwab@redhat.com>
6994
6995 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6996
ed690b2f
UD
69972011-05-19 Ulrich Drepper <drepper@gmail.com>
6998
6999 * libio/freopen.c (freopen): Use __dup2, not dup2.
7000 * libio/freopen64.c (freopen64): Likewise.
7001
8db73634
L
70022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7003
7004 [BZ #12775]
7005 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7006 * math/Makefile (tests): Add test-powl.
7007 (CFLAGS-test-powl.c): Define.
7008 * math/test-powl.c: New file.
7009
0a197a9d
L
70102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7011
7012 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7013
ee30c380
UD
70142011-05-17 Ulrich Drepper <drepper@gmail.com>
7015
7016 [BZ #11837]
7017 * iconvdata/gb18030.c: Update to GB18020-2005.
7018
6ce75379
UD
70192011-05-16 Ulrich Drepper <drepper@gmail.com>
7020
a4b89fd8
AR
7021 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7022 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7023 Patch by Aharon Robbins <arnold@skeeve.com>.
7024
ea389b12
UD
7025 [BZ #11892]
7026 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7027 on the stack.
7028
68a3f91f
UD
7029 [BZ #11895]
7030 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7031 through underflows.
7032
15cc7dd1
UD
7033 [BZ #12766]
7034 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7035 point to strings before performing equality test for error_one_per_line
7036 mode.
7037
f3799213
UD
7038 [BZ #11697]
7039 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7040
d79a9c94
UD
7041 [BZ #11820]
7042 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7043 (struct user_fpregs_struct): Avoid __uint*_t types.
7044
56e5eb46
UD
7045 [BZ #6420]
7046 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7047 symbol info. Use it instead of calling _dl_addr locally.
7048 (lock_and_info): New function.
7049 (tr_freehook): Call lock_and_info and pass symbol info as additional
7050 parameter to tr_where.
7051 (tr_mallochook): Likewise.
7052 (tr_reallochook): Likewise.
7053 (tr_memalignhook): Likewise.
7054
6ce75379
UD
7055 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7056 used and couldn't be at all thread-safe.
7057
f8a3b5bf
UD
70582011-05-15 Ulrich Drepper <drepper@gmail.com>
7059
94b7cc37
UD
7060 * libio/freopen.c (freopen): Don't close old file descriptor
7061 before the new one is opened. Instead dup the new file descriptor
7062 to the old one after the new stream is created.
7063 * libio/freopen64.c (freopen64): Likewise.
7064 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7065 * libio/fileops.c (_IO_new_file_close_it): Handle new
7066 _IO_FLAGS2_NOCLOSE flag.
7067 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7068 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7069 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7070 _IO_FLAGS2_NOCLOSE flag.
7071 * include/unistd.h: Add hidden_proto for dup3.
7072 Define __have_dup3.
7073 * io/dup3.c: Define hidden symbol.
7074 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7075
bd25564e
UD
7076 [BZ #7101]
7077 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7078 when an incomplete long option is used.
7079 * posix/tst-getopt_long1.c: New file.
7080 * posix/Makefile (tests): Add tst-getopt_long1.
7081
c84cfef4
UD
7082 [BZ #10138]
7083 * scripts/config.guess: Update from autoconf-2.68.
7084 * scripts/config.sub: Likewise.
7085
3b85df27
UD
7086 [BZ #10157]
7087 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7088 tests into ...
7089 (has_cpuclock): ...this. New function.
7090 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7091 macro here based on has_cpuclock code.
7092
15a856b1
UD
7093 [BZ #10149]
7094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7095 First byte (not low byte) is now always NUL.
7096 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7097
05f399e6
UD
7098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7099 Use non-cancelable interfaces.
7100
10a52685 7101 [BZ #9809]
94ecc67d
UD
7102 * locale/iso-639.def: Add entry for Sorani.
7103
f8a3b5bf
UD
7104 [BZ #11901]
7105 * include/stdlib.h: Move include protection to the right place.
7106 Define abort_msg_s. Declare __abort_msg with it.
7107 * stdlib/abort.c (__abort_msg): Adjust type.
7108 * assert/assert.c (__assert_fail_base): New function. Majority
7109 of code from __assert_fail. Allocate memory for __abort_msg with
7110 mmap.
7111 (__assert_fail): Now call __assert_fail_base.
7112 * assert/assert-perr.c: Remove bulk of implementation. Use
7113 __assert_fail_base.
7114 * include/assert.hL Declare __assert_fail_base.
7115 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7116 mmap.
7117 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7118
1af4e298
UD
71192011-05-14 Ulrich Drepper <drepper@gmail.com>
7120
f8a3b5bf 7121 [BZ #11952]
d26dfc60
MG
7122 [BZ #12453]
7123 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7124 until all modules are registered in the DTV.
7125 * elf/Makefile: Add rules to build and run tst-tls19.
7126 * elf/tst-tls19.c: New file.
7127 * elf/tst-tls19mod1.c: New file.
7128 * elf/tst-tls19mod2.c: New file.
7129 * elf/tst-tls19mod3.c: New file.
7130 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7131
2fc54d6f
UD
7132 [BZ #12083]
7133 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7134 correctly.
7135
98d76b46
UD
7136 [BZ #12601]
7137 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7138 two-byte sequence errors.
7139 * iconvdata/Makefile (tests): Add bug-iconv8.
7140 * iconvdata/bug-iconv8.c: New file.
7141
da3c19ef
UD
7142 [BZ #12626]
7143 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7144 buf2 definition.
7145
ca408c15
UD
7146 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7147
d6f67f7d
UD
7148 [BZ #12432]
7149 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7150 (dummy_getcfa): New function.
7151 (init): Get _Unwind_GetCFA address, use dummy if not found.
7152 (backtrace_helper): In recursion check, also check whether CFA changes.
7153 (__backtrace): Completely initialize arg.
7154
1af4e298 7155 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7156 storing incomplete byte sequence in state object. Avoid testing for
7157 guaranteed too small input if we know there is enough data available.
1af4e298 7158
da62f81b
AS
71592011-05-11 Andreas Schwab <schwab@redhat.com>
7160
7161 * Makeconfig (+link-pie): Indent.
7162 * Rules (binaries-pie): Define if $(have-fpie) and
7163 $(build-shared).
7164 (binaries-shared): Also filter out $(binaries-pie).
7165 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7166 * nscd/Makefile (others-pie): Add nscd.
7167 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7168 ($(objpfx)nscd): Remove command override.
7169 * login/Makefile (others-pie): Add pt_chown.
7170 ($(objpfx)pt_chown): Remove command override.
7171 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7172 remove command overrides.
7173
fcabc0f8
UD
71742011-05-13 Ulrich Drepper <drepper@gmail.com>
7175
20030ae6
UD
7176 * libio/tst_putwc.c: Fix error messages.
7177
fcabc0f8
UD
7178 [BZ #12724]
7179 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7180 currently writing and seek to current position when not.
7181 * libio/Makefile (tests): Add bug-fclose1.
7182 * libio/bug-fclose1.c: New file.
7183
320a5dc0
PB
71842011-05-12 Ulrich Drepper <drepper@gmail.com>
7185
7186 [BZ #12511]
7187 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7188 don't set DF_1_NODELETE here.
7189 (do_lookup_x): When entering new entry test for copy relocation
7190 and if necessary set DF_1_NODELETE flag.
7191 * elf/tst-unique4.cc: New file.
7192 * elf/tst-unique4.h: New file.
7193 * elf/tst-unique4lib.cc: New file.
7194 * elf/Makefile: Add rules to build and run tst-unique4.
7195 Patch by Piotr Bury <pbury@goahead.com>.
7196
22836f52
UD
71972011-05-11 Ulrich Drepper <drepper@gmail.com>
7198
f574184a
UD
7199 [BZ #12052]
7200 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7201
e1fb097f
UD
7202 [BZ #12625]
7203 * misc/mntent_r.c (addmntent): Flush the stream after the output
7204
22836f52
UD
7205 [BZ #12393]
7206 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7207 (is_trusted_path_normalize): Skip initial colon. Append slash
7208 to empty buffer. Duplicate is_trusted_path code but allow
7209 constructed patch to be prefix.
7210 (is_dst): Allow $ORIGIN followed by /.
7211 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7212 Correct testing of result of is_trusted_path_normalize
7213 (decompose_rpath): Fix warning.
7214
7b3b0b2a
UD
72152011-05-10 Ulrich Drepper <drepper@gmail.com>
7216
7217 [BZ #11257]
7218 * grp/initgroups.c (internal_getgrouplist): When we found the service
7219 list through the initgroups entry in nsswitch.conf do not always
7220 continue on a successful lookup. Don't always use the
eac80ce2 7221 __nss_group_database value if it is set.
7b3b0b2a
UD
7222 * nss/nsswitch.conf (initgroups): Change action for successful db
7223 lookup to continue for compatibility.
7224
2a81eaa5
UD
72252011-05-09 Ulrich Drepper <drepper@gmail.com>
7226
be97a69e
UD
7227 [BZ #11532]
7228 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7229 and CP774 modules.
7230 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7231 and CP774 modules.
7232 * iconvdata/tst-tables.sh: Likewise.
7233 * iconvdata/cp770.c: New file.
7234 * iconvdata/cp771.c: New file.
7235 * iconvdata/cp772.c: New file.
7236 * iconvdata/cp773.c: New file.
7237 * iconvdata/cp774.c: New file.
7238 * iconvdata/testdata/CP770: New file.
7239 * iconvdata/testdata/CP770..UTF8: New file.
7240 * iconvdata/testdata/CP771: New file.
7241 * iconvdata/testdata/CP771..UTF8: New file.
7242 * iconvdata/testdata/CP772: New file.
7243 * iconvdata/testdata/CP772..UTF8: New file.
7244 * iconvdata/testdata/CP773: New file.
7245 * iconvdata/testdata/CP773..UTF8: New file.
7246 * iconvdata/testdata/CP774: New file.
7247 * iconvdata/testdata/CP774..UTF8: New file.
7248
7249 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7250 END CHARMAP line.
7251 * iconvdata/gen-8bit-gap.sh: Likewise.
7252 * iconvdata/gen-8bit.sh: Likewise.
7253
c1e9e399
UD
7254 * locale/iso-639.def: Add ary entry.
7255
24c55fb3 7256 [BZ #11258]
96b4b1b0
UD
7257 * locale/C-translit.h.in: Add U20A1 transliteration.
7258
bdc2f971
KB
7259 [BZ #12178]
7260 * locale/iso-639.def: Add wae entry.
7261 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7262
2952b117
UD
7263 [BZ #12545]
7264 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7265 for n.
7266
2a81eaa5
UD
7267 [BZ #12711]
7268 * locale/C-translit.h.in: Add entry for U20B9.
7269 Patch by pravin.d.s@gmail.com.
7270
28377d1b
UD
72712011-05-08 Ulrich Drepper <drepper@gmail.com>
7272
7fb90fb8
UD
7273 [BZ #12713]
7274 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7275 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
7276 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7277 in rtld. Use *stat64.
7fb90fb8 7278 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 7279 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 7280 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
7281 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7282 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7283 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7284 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7285 __fstatat64 macros.
7fb90fb8
UD
7286 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7287 * dirent/rewinddir.c: Add libc_hidden_def.
7288 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 7289 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 7290
28377d1b
UD
7291 * include/dirent.h (__alloc_dir): Add flags parameter.
7292 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7293 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7294 __alloc_dir.
7295 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7296 from fdopendir if O_CLOEXEC is already set.
7297
66bdbaa4
AM
72982011-03-15 Alan Modra <amodra@gmail.com>
7299
7300 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7301 l_tls_firstbyte_offset non-zero. Save padding offset in
7302 l_tls_firstbyte_offset for later use.
7303 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7304 freeing static tls block.
7305
95721191
JN
73062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7307
7308 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7309 where #ifdef was intended. The intent is to prevent ARG_MAX from
7310 being defined by the kernel headers.
7311
f87dfb1f
UD
73122011-05-07 Ulrich Drepper <drepper@gmail.com>
7313
7314 [BZ #12734]
7315 * resolv/resolv.h: Define RES_NOTLDQUERY.
7316 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7317 no-tld-query and set RES_NOTLDQUERY.
7318 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7319 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7320 modern BIND to search name as TLD unless forbidden.
7321
47c3cd7a
UD
73222011-05-07 Petr Baudis <pasky@suse.cz>
7323 Ulrich Drepper <drepper@gmail.com>
7324
7325 [BZ #12393]
7326 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7327 (is_trusted_path): ...to here.
c1e9ea35 7328 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 7329 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 7330 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 7331
8a35c912
PP
73322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7333
7334 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7335 __BEGIN/__END_DECLS.
7336
acd41f47
UD
73372011-05-06 Ulrich Drepper <drepper@gmail.com>
7338
7339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7340 NSS_STATUS_NOTFOUND if no record was found.
7341
597df647
AS
73422011-05-05 Andreas Schwab <schwab@redhat.com>
7343
7344 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7345 (headers-not-in-tirpc): Remove rpc/netdb.h
7346 * resolv/netdb.h: Revert last change.
7347
b9af1301
PP
73482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7349
7350 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7351 circular dependency between libgcc.a and libc.a.
7352
4e34d5f5
AS
73532011-05-05 Andreas Schwab <schwab@redhat.com>
7354
7355 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7356 * nis/Makefile: Don't install rpcsvc/*.
7357 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7358 instead of <rpc/types.h>.
7359 (MAXHOSTNAMELEN): Define.
7360
00ee369c
AS
73612011-05-03 Andreas Schwab <schwab@redhat.com>
7362
7363 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7364
0b592a30
MB
73652011-04-28 Maciej Babinski <mbabinski@google.com>
7366
7367 [BZ #12714]
7368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7369 gethostbyname4_r when IPv6 results are possible.
7370
6e04cbbe
UD
73712011-05-02 Ulrich Drepper <drepper@gmail.com>
7372
7373 [BZ #12723]
7374 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7375 _PC_PIPE_BUF handling.
7376
e4ecafe0
BH
73772011-04-30 Bruno Haible <bruno@clisp.org>
7378
7379 [BZ #12717]
7380 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7381 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7382 to 'int'.
7383 * inet/getnameinfo.c (getnameinfo): Likewise.
7384
125ee683
UD
73852011-04-29 Ulrich Drepper <drepper@gmail.com>
7386
7387 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7388 to groups setting in database lookup.
7389 * nss/nsswitch.conf: Add initgroups entry.
7390
b722481a
EB
73912011-04-22 Ulrich Drepper <drepper@gmail.com>
7392
7393 [BZ #12685]
7394 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7395 mode string.
7396 Patch by Eric Blake <eblake@redhat.com>.
7397
4df46dbd
L
73982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7399
7400 * sunrpc/Makefile (need-export-routines): Add svc_run.
7401 (routines): Remove svc_run.
7402 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7403 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7404 * sunrpc/svc_run.c (svc_run): Likewise.
7405 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7406
e84142d2
UD
74072011-04-21 Ulrich Drepper <drepper@gmail.com>
7408
7409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7410 problem in reallocation in last patch.
7411
877175d8
UD
74122011-04-20 Ulrich Drepper <drepper@gmail.com>
7413
7414 * sunrpc/Makefile: Move inclusion of Rules.
7415
ab8eed78
UD
74162011-04-19 Ulrich Drepper <drepper@gmail.com>
7417
7418 * nss/nss_files/files-initgroups.c: New file.
7419 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7420 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7421 _nss_files_initgroups_dyn.
7422
e3d8f584
RS
74232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7424
7425 * elf/elf.h (R_ARM_IRELATIVE): Define.
7426
af190f45
UD
74272011-04-19 Ulrich Drepper <drepper@gmail.com>
7428
7429 * po/ru.po: Update from translation team.
7430
53cf59ef
UD
74312011-04-17 Ulrich Drepper <drepper@gmail.com>
7432
7433 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7434 dependencies.
7435
4c559bcd
MF
74362011-02-06 Mike Frysinger <vapier@gentoo.org>
7437
7438 [BZ #12653]
7439 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7440 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7441 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7443 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7444
4420675c
AS
74452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7446
7447 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7448 differing bytes.
7449 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7450 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7451 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7452
75ea32ab
UD
74532011-04-17 Ulrich Drepper <drepper@gmail.com>
7454
7455 [BZ #12420]
7456 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7457 storing it.
7458 * stdlib/bug-getcontext.c: New file.
7459 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7460
27390476
AK
74612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7462
7463 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7464 instructions into .machine "z9-109".
7465 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7466 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7467
10442705
AK
74682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7469
7470 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7471 between environment variables and auxiliary vector.
7472
7b57bfe5
UD
74732011-04-16 Ulrich Drepper <drepper@gmail.com>
7474
7475 * Makefile: Add rules to build linkobj/libc.so.
7476 * include/libc-symbols.h: Define libc_hidden_nolink.
7477 * include/rpc/auth.h: Mark functions which are to be hidden.
7478 * include/rpc/auth_des.h: Likewise.
7479 * include/rpc/auth_unix.h: Likewise.
7480 * include/rpc/clnt.h: Likewise.
7481 * include/rpc/des_crypt.h: Likewise.
7482 * include/rpc/key_prot.h: Likewise.
7483 * include/rpc/pmap_clnt.h: Likewise.
7484 * include/rpc/pmap_prot.h: Likewise.
7485 * include/rpc/pmap_rmt.h: Likewise.
7486 * include/rpc/rpc_msg.h: Likewise.
7487 * include/rpc/svc.h: Likewise.
7488 * include/rpc/svc_auth.h: Likewise.
7489 * include/rpc/xdr.h: Likewise.
7490 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7491 * nss/Makefile: Likewise.
7492 * sunrpc/Makefile: Don't install headers. Build library with normal
7493 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7494 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7495 for the compat linking library. Remove use of INTDEF/INTUSE.
7496 * sunrpc/auth_none.c: Likewise.
7497 * sunrpc/auth_unix.c: Likewise.
7498 * sunrpc/authdes_prot.c: Likewise.
7499 * sunrpc/authuxprot.c: Likewise.
7500 * sunrpc/clnt_gen.c: Likewise.
7501 * sunrpc/clnt_perr.c: Likewise.
7502 * sunrpc/clnt_raw.c: Likewise.
7503 * sunrpc/clnt_simp.c: Likewise.
7504 * sunrpc/clnt_tcp.c: Likewise.
7505 * sunrpc/clnt_udp.c: Likewise.
7506 * sunrpc/clnt_unix.c: Likewise.
7507 * sunrpc/des_crypt.c: Likewise.
7508 * sunrpc/des_soft.c: Likewise.
7509 * sunrpc/get_myaddr.c: Likewise.
7510 * sunrpc/key_call.c: Likewise.
7511 * sunrpc/key_prot.c: Likewise.
7512 * sunrpc/netname.c: Likewise.
7513 * sunrpc/pm_getmaps.c: Likewise.
7514 * sunrpc/pm_getport.c: Likewise.
7515 * sunrpc/pmap_clnt.c: Likewise.
7516 * sunrpc/pmap_prot.c: Likewise.
7517 * sunrpc/pmap_prot2.c: Likewise.
7518 * sunrpc/pmap_rmt.c: Likewise.
7519 * sunrpc/publickey.c: Likewise.
7520 * sunrpc/rpc_cmsg.c: Likewise.
7521 * sunrpc/rpc_common.c: Likewise.
7522 * sunrpc/rpc_dtable.c: Likewise.
7523 * sunrpc/rpc_prot.c: Likewise.
7524 * sunrpc/rpc_thread.c: Likewise.
7525 * sunrpc/rtime.c: Likewise.
7526 * sunrpc/svc.c: Likewise.
7527 * sunrpc/svc_auth.c: Likewise.
7528 * sunrpc/svc_authux.c: Likewise.
7529 * sunrpc/svc_raw.c: Likewise.
7530 * sunrpc/svc_run.c: Likewise.
7531 * sunrpc/svc_simple.c: Likewise.
7532 * sunrpc/svc_tcp.c: Likewise.
7533 * sunrpc/svc_udp.c: Likewise.
7534 * sunrpc/svc_unix.c: Likewise.
7535 * sunrpc/svcauth_des.c: Likewise.
7536 * sunrpc/xcrypt.c: Likewise.
7537 * sunrpc/xdr.c: Likewise.
7538 * sunrpc/xdr_array.c: Likewise.
7539 * sunrpc/xdr_float.c: Likewise.
7540 * sunrpc/xdr_intXX_t.c: Likewise.
7541 * sunrpc/xdr_mem.c: Likewise.
7542 * sunrpc/xdr_rec.c: Likewise.
7543 * sunrpc/xdr_ref.c: Likewise.
7544 * sunrpc/xdr_sizeof.c: Likewise.
7545 * sunrpc/xdr_stdio.c: Likewise.
7546
e6c61494
UD
75472011-04-10 Ulrich Drepper <drepper@gmail.com>
7548
7549 [BZ #12650]
7550 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7551 * sysdeps/ia64/dl-tls.h: Likewise.
7552 * sysdeps/powerpc/dl-tls.h: Likewise.
7553 * sysdeps/s390/dl-tls.h: Likewise.
7554 * sysdeps/sh/dl-tls.h: Likewise.
7555 * sysdeps/sparc/dl-tls.h: Likewise.
7556 * sysdeps/x86_64/dl-tls.h: Likewise.
7557 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7558
34fe483e
AS
75592011-03-14 Andreas Schwab <schwab@redhat.com>
7560
7561 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7562 rpath element also skip the following colon.
7563 (expand_dynamic_string_token): Add is_path parameter and pass
7564 down to DL_DST_REQUIRED and _dl_dst_substitute.
7565 (decompose_rpath): Call expand_dynamic_string_token with
7566 non-zero is_path. Ignore empty rpaths.
7567 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7568 with zero is_path.
7569
f12a32e6
AS
75702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7571
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7573 Make cancelable.
7574
38a7d692
UD
75752011-04-09 Ulrich Drepper <drepper@gmail.com>
7576
7577 [BZ #12655]
7578 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7579 Patch by Filipe David Manana <fdmanana@apache.org>.
7580
e451d22b
AS
75812011-04-07 Andreas Schwab <schwab@redhat.com>
7582
7583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7584 Maintain aligned stack.
7585 (CHECK_RSP): Remove unused macro.
7586
dedc7c7b
UD
75872011-04-03 Ulrich Drepper <drepper@gmail.com>
7588
7589 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7590 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7591
94521213
UD
75922011-04-02 Ulrich Drepper <drepper@gmail.com>
7593
7594 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7595
8cb700c0 7596 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7597
0354e355
L
75982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7599
7600 [BZ #12518]
7601 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7602 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7603 * sysdeps/x86_64/memmove.c: New file.
7604 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7605 (memcpy): Renamed to ...
7606 (__new_memcpy): This.
7607 (memcpy): Provide GLIBC_2_14 memcpy.
7608 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7609 (memcpy): Provide GLIBC_2_2_5 memcpy.
7610
8593482f
UD
76112011-04-01 Ulrich Drepper <drepper@gmail.com>
7612
7613 [BZ #12631]
7614 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7615
81a5726b
AS
76162011-03-30 Andreas Schwab <schwab@redhat.com>
7617
7618 * misc/syncfs.c: New file.
7619 * misc/Makefile (routines): Add syncfs.
7620 * posix/unistd.h: Declare syncfs.
7621 * sysdeps/unix/syscalls.list: Add syncfs.
7622
00e5419f
AS
76232011-04-01 Andreas Schwab <schwab@redhat.com>
7624
7625 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7626 open_by_handle_at.
7627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7628 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7632 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7633 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7634
748876bf
UD
76352011-04-01 Ulrich Drepper <drepper@gmail.com>
7636
658e451d
UD
7637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7638 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7639 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7644
748876bf
UD
7645 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7646 sync_file_range.c with -fexceptions.
7647 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7648 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7649 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7650 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7651 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7652 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7653 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7654 sync_file_range as cancellation point
7655 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7656 now a wrapper around __call_sync_file_range with cancellation handling.
7657 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7658 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7659 function name to __call_sync_file_range.
7660 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7661 Add call_sync_file_range.
748876bf 7662
6e63d5e1
AS
76632011-04-01 Andreas Schwab <schwab@redhat.com>
7664
7665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7666 bits/timex.h.
6e63d5e1 7667
46998f74
UD
76682011-04-01 Ulrich Drepper <drepper@gmail.com>
7669
4c1423ed
UD
7670 * iconv/iconv.h: Fix typo in comment.
7671 * io/fcntl.h: Likewise.
7672 * libio/stdio.h: Likewise.
7673 * posix/spawn.h: Likewise.
7674 * posix/unistd.h: Likewise.
7675 * stdlib/stdlib.h: Likewise.
7676 * time/time.h: Likewise.
7677 * wcsmbs/wchar.h: Likewise.
7678
158648c0
UD
7679 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7680 open_by_handle): Add.
7681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7682 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7683 Augment a few comments.
7684 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7686 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7688 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7689 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7690 open_by_handle.
7691
46998f74
UD
7692 * io/fcntl.h (AT_EMPTY_PATH): Define.
7693
83fe108b
UD
76942011-03-30 Ulrich Drepper <drepper@gmail.com>
7695
7696 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7697 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7698 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7699 to...
7700 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7701 * Versions.def: Add GLIBC_2.14.
7702 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7703 Export.
83fe108b 7704
bb242059
UD
77052011-03-22 Ulrich Drepper <drepper@gmail.com>
7706
7707 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7708 round counter.
7709 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7710
c97a1282
L
77112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7712
7713 [BZ #12597]
7714 * string/test-strncmp.c (do_page_test): New function.
7715 (check2): Likewise.
7716 (test_main): Call check2.
7717 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7718
2a115601
UD
77192011-03-20 Ulrich Drepper <drepper@gmail.com>
7720
7721 [BZ #12587]
7722 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7723 Handle cache information in CPU leaf 4.
7724 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7725
8126d904
UD
77262011-03-18 Ulrich Drepper <drepper@gmail.com>
7727
042c49c6 7728 [BZ #12583]
8126d904
UD
7729 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7730 character representation.
7731 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7732
ccfe366e
RA
77332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7734
7735 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7736 END(__isnan) to END(__isnanf) to match function entry point/label
7737 EALIGN(__isnanf,...).
7738
c6e13027
JJ
77392011-03-10 Jakub Jelinek <jakub@redhat.com>
7740
7741 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7742
33f85a3f
UD
77432011-03-10 Ulrich Drepper <drepper@gmail.com>
7744
028478fa
UD
7745 [BZ #12510]
7746 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7747 copy from the symbol referenced in the relocation to initialize the
7748 used variable.
7749 Patch by Piotr Bury <pbury@goahead.com>.
7750 * elf/Makefile: Add rules to build and tst-unique3.
7751 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7752 * elf/tst-unique3.cc: New file.
7753 * elf/tst-unique3.h: New file.
7754 * elf/tst-unique3lib.cc: New file.
7755 * elf/tst-unique3lib2.cc: New file.
7756
33f85a3f
UD
7757 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7758
03592fc7
MF
77592011-03-10 Mike Frysinger <vapier@gentoo.org>
7760
7761 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7762 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7763 to _start.
03592fc7 7764
6a5ee102
UD
77652011-03-06 Ulrich Drepper <drepper@gmail.com>
7766
7767 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7768 to-be-loaded object along a path to loader is ld.so.
7769
7e4ba49c
HJ
77702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7771 Ulrich Drepper <drepper@gmail.com>
7772
7773 * sysdeps/x86_64/memset.S: After aligning destination, code
7774 branches to different locations depending on the value of
7775 misalignment, when multiarch is enabled. Fix this.
7776
77772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7778
7779 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7780 Set _x86_64_preferred_memory_instruction for AMD processsors.
7781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7782 Set bit_Prefer_SSE_for_memop for AMD processors.
7783
13a804de
UD
77842011-03-04 Ulrich Drepper <drepper@gmail.com>
7785
7786 * libio/fmemopen.c (fmemopen): Optimize a bit.
7787
9d25c392
AS
77882011-03-03 Andreas Schwab <schwab@redhat.com>
7789
7790 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7791
a5543c6a
RM
77922011-03-03 Roland McGrath <roland@redhat.com>
7793
7794 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7795
012d35f7
DM
77962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7797
7e4ba49c 7798 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7799 __bzero_ultra1 instead of __memset_ultra1.
7800
4bff6e01
AS
78012011-02-23 Andreas Schwab <schwab@redhat.com>
7802 Ulrich Drepper <drepper@gmail.com>
7803
7804 [BZ #12509]
7805 * include/link.h (struct link_map): Add l_orig_initfini.
7806 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7807 returning unsuccessfully.
7808 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7809 close of a file loaded at startup, restore the original l_initfini
7810 list.
7811 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7812 list, store the pointer.
7813 * elf/Makefile ($(objpfx)noload-mem): New rule.
7814 (noload-ENV): Define.
7815 (tests): Add $(objpfx)noload-mem.
7816 * elf/noload.c: Include <memcheck.h>.
7817 (main): Call mtrace. Close all opened handles.
7818
f2092faf
AS
78192011-02-17 Andreas Schwab <schwab@redhat.com>
7820
7821 [BZ #12454]
7822 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7823 dependencies are missing.
7824
6c8a2e88
ST
78252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7826
f2092faf 7827 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7828 Hurd needs munmap.
7829 * sysdeps/mach/hurd/ifreq.h: New file.
7830
84a42118
PB
78312011-01-27 Petr Baudis <pasky@suse.cz>
7832 Ulrich Drepper <drepper@gmail.com>
7833
071f805e 7834 [BZ 12445]#
84a42118
PB
7835 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7836 to extend_alloca().
7837 * stdio-common/bug23.c: New file.
7838 * stdio-common/Makefile (tests): Add bug23.
7839
e23fe25b
AS
78402010-09-28 Andreas Schwab <schwab@redhat.com>
7841 Ulrich Drepper <drepper@gmail.com>
7842
7843 [BZ #12489]
7844 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7845 before performing relro protection. At old place add assertion
7846 to make sure nothing changed.
7847
d3f02e10
NS
78482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7849 Glauber de Oliveira Costa <glommer@gmail.com>
7850
7851 * elf/elf.h: Add new ARM TLS relocs.
7852
d55fd7a5
RA
78532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7854
7855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7856 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7857 cast from r3.
7858 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7859 'tests' variable.
7860 * sysdeps/wordsize-64/tst-writev.c: New file.
7861
2206397e
RA
78622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7863
7864 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7865 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7866 insns in _dl_start to prevent a TOC reference before relocs are
7867 resolved.
7868
e9433893
UD
78692011-02-15 Ulrich Drepper <drepper@gmail.com>
7870
7871 [BZ #12469]
7872 * Makeconfig: Remove RANLIB definition.
7873 * Makerules: Don't use RANLIB.
7874 * aclocal.m4: Remove ranlib test.
7875 * configure.in: No need to check for ranlib.
7876 * elf/rtld-Rules: Don't use RANLIB.
7877
f75286c6
ST
78782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7879
8e31c82d
ST
7880 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7881 protection macro.
7882 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7883 inclusion protection macro.
7884
f75286c6
ST
7885 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7886 SIGRTMIN and SIGRTMAX and print information in that case only when
7887 SIGRTMIN is defined.
7888
c1d0e639
JJ
78892011-02-11 Jakub Jelinek <jakub@redhat.com>
7890
7891 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7892 arginfo fn returning -1.
7893
7894 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7895 and thousands string is zero terminated.
7896
edf9294e
AS
78972011-02-03 Andreas Schwab <schwab@redhat.com>
7898
7899 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7900 sysdeps/unix/sysv/linux/bits/socket.h.
7901
2b7e92df
ST
79022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7903
edf9294e
AS
7904 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7905 (__CPU_COUNT): Remove old macros.
7906 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7907 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7908 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7909 (__sched_cpualloc, __sched_cpufree): Add declarations.
7910
a4c7ea7b
UD
79112011-02-05 Ulrich Drepper <drepper@gmail.com>
7912
7913 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7914 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7915 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7916 (readdhstai): Return value of addhstaiX call.
7917 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7918 (addgrbyX): Return value returned by cache_addgr.
7919 (readdgrbyname): Return value returned by addgrbyX.
7920 (readdgrbygid): Likewise.
7921 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7922 (addpwbyX): Return value returned by cache_addpw.
7923 (readdpwbyname): Return value returned by addhstbyX.
7924 (readdpwbyuid): Likewise.
7925 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7926 (addservbyX): Return value returned by cache_addserv.
7927 (readdservbyname): Return value returned by addservbyX:
7928 (readdservbyport): Likewise.
7929 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7930 (addhstbyX): Return value returned by cache_addhst.
7931 (readdhstbyname): Return value returned by addhstbyX.
7932 (readdhstbyaddr): Likewise.
7933 (readdhstbynamev6): Likewise.
7934 (readdhstbyaddrv6): Likewise.
7935 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7936 (readdinitgroups): Return value returned by addinitgroupsX.
7937 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7938 (prune_cache): Keep track of timeout value of re-added entries.
7939 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7940 * nscd/nscd.h: Adjust prototypes of readd* functions.
7941
a0bf67cc
RM
79422011-02-04 Roland McGrath <roland@redhat.com>
7943
7944 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7945 (nis_stats): Likewise.
7946 * nis/nis_modify.c (nis_modify): Likewise.
7947 * nis/nis_remove.c (nis_remove): Likewise.
7948 * nis/nis_add.c (nis_add): Likewise.
7949
7950 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7951
7952 * posix/fnmatch_loop.c: Add some consts.
7953
7954 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7955
435b95eb
L
79562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7957
7958 [BZ #12460]
7959 * config.make.in (config-cflags-novzeroupper): Define.
7960 * configure.in: Substitute libc_cv_cc_novzeroupper.
7961 * elf/Makefile (AVX-CFLAGS): Define.
7962 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7963 (CFLAGS-tst-auditmod4a.c): Likewise.
7964 (CFLAGS-tst-auditmod4b.c): Likewise.
7965 (CFLAGS-tst-auditmod6b.c): Likewise.
7966 (CFLAGS-tst-auditmod6c.c): Likewise.
7967 (CFLAGS-tst-auditmod7b.c): Likewise.
7968 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7969
8517b15e
UD
79702011-02-02 Ulrich Drepper <drepper@gmail.com>
7971
7972 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7973 function to the callback.
7974 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7975
10a656fe
AS
79762011-02-02 Andreas Schwab <schwab@redhat.com>
7977
7978 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7979 of errno.
7980
968dad0a
UD
79812011-01-19 Ulrich Drepper <drepper@gmail.com>
7982
9f94d2ea 7983 [BZ #11724]
968dad0a
UD
7984 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7985 of constructors.
7986 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7987 of destructors.
7988 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7989
7990 [BZ #11724]
7991 * elf/Makefile: Add rules to build and run new test.
7992 * elf/tst-initorder.c: New file.
7993 * elf/tst-initorder.exp: New file.
7994 * elf/tst-initordera1.c: New file.
7995 * elf/tst-initordera2.c: New file.
7996 * elf/tst-initordera3.c: New file.
7997 * elf/tst-initordera4.c: New file.
7998 * elf/tst-initorderb1.c: New file.
7999 * elf/tst-initorderb2.c: New file.
8000 * elf/tst-order-a1.c: New file.
8001 * elf/tst-order-a2.c: New file.
8002 * elf/tst-order-a3.c: New file.
8003 * elf/tst-order-a4.c: New file.
8004 * elf/tst-order-b1.c: New file.
8005 * elf/tst-order-b2.c: New file.
8006 * elf/tst-order-main.c: New file.
8007 New test case by George Gensure <werkt0@gmail.com>.
8008
86e92359
UD
80092010-10-01 Andreas Schwab <schwab@redhat.com>
8010
8011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8012 decoding ACE if AI_CANONIDN.
8013
5d5732b0
UD
80142011-01-18 Ulrich Drepper <drepper@gmail.com>
8015
8016 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8017
a77e8cbc
UD
80182011-01-17 Ulrich Drepper <drepper@gmail.com>
8019
6392473f
UD
8020 * version.h (RELEASE): Bump for 2.13 release.
8021 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8022
620a0529
UD
8023 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8024
18ba70a5
UD
8025 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8026 MADV_NOHUGEPAGE.
32465c3e
UD
8027 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8028 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8030 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8033
c0dafcf1
UD
8034 * posix/getconf.c: Update copyright year.
8035 * catgets/gencat.c: Likewise.
8036 * csu/version.c: Likewise.
8037 * debug/catchsegv.sh: Likewise.
8038 * debug/xtrace.sh: Likewise.
8039 * elf/ldconfig.c: Likewise.
8040 * elf/ldd.bash.in: Likewise.
8041 * elf/sprof.c (print_version): Likewise.
8042 * iconv/iconv_prog.c: Likewise.
8043 * iconv/iconvconfig.c: Likewise.
8044 * locale/programs/locale.c: Likewise.
8045 * locale/programs/localedef.c: Likewise.
8046 * malloc/memusage.sh: Likewise.
8047 * malloc/mtrace.pl: Likewise.
8048 * nscd/nscd.c (print_version): Likewise.
8049 * nss/getent.c: Likewise.
8050
a77e8cbc
UD
8051 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8052 PF_CAIF, and PF_ALG.
8053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8054
77e8bddf
AS
80552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8056
1f20b93a
AS
8057 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8058 (modules-names): Use them.
8059 (ifunc-test-modules, ifunc-pie-tests): Define.
8060 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8061 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8062 (test-extras): Likewise.
8063 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8064 $(compile-command.c).
8065 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8066 (all-built-dso): Define.
8067 (check-textrel.out, check-execstack.out): Depend on it.
8068
77e8bddf
AS
8069 * configure.in: Don't override --enable-multi-arch.
8070
bc425b33
UD
80712011-01-15 Ulrich Drepper <drepper@gmail.com>
8072
8073 [BZ #6812]
8074 * nscd/hstcache.c (tryagain): Define.
8075 (cache_addhst): Return tryagain not notfound for temporary errors.
8076 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8077 failed.
8078
794c3ad3
UD
80792011-01-14 Ulrich Drepper <drepper@gmail.com>
8080
70181fdd
UD
8081 [BZ #10563]
8082 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8083 to make the syscall.
8084 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8085
794c3ad3
UD
8086 [BZ #12378]
8087 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8088 and fall back to matching as normal character if the string ends before
8089 the matching ']' is found. This is what POSIX requires.
8090 * posix/testfnm.c: Adjust test result.
8091 * posix/globtest.sh: Adjust test result. Add new test.
8092 * posix/tst-fnmatch.input: Likewise.
8093 * posix/tst-fnmatch2.c: Add new test.
8094
68dc9497
AS
80952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8096
8097 * elf/Makefile (check-execstack): Revert last change. Depend on
8098 check-execstack.h.
8099 (check-execstack.h): New target.
8100 (generated): Add check-execstack.h.
8101 * elf/check-execstack.c: Include "check-execstack.h".
8102 (main): Revert last change.
8103 (handle_file): Return zero if GNU_STACK is absent and
8104 DEFAULT_STACK_PERMS doesn't include PF_X.
8105
451f001b
UD
81062011-01-13 Ulrich Drepper <drepper@gmail.com>
8107
cfa28e56
UD
8108 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8109 in child fails because the descriptor is already closed.
8cf8ce17
UD
8110 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8111 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8112 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8113
1086d70d
UD
8114 [BZ #12397]
8115 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8116 syscall.
8117
451f001b
UD
8118 [BZ #10484]
8119 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8120 temporary buffer used to handle multi lookups locally.
a85b5cb4 8121 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8122
08769175
UD
81232011-01-12 Ulrich Drepper <drepper@gmail.com>
8124
8125 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8126 loader is ld.so.
8127
5e49c52e
UD
81282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8129
8130 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8131 alignment for SSE2.
8132
60522a5f
UD
81332011-01-12 Ulrich Drepper <drepper@gmail.com>
8134
8135 [BZ #12394]
8136 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8137 characters. When rounding increased number of integer digits recompute
8138 number of groups.
8139 * stdio-common/tst-grouping.c: New file.
8140 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8141
f257bbd7
UD
81422011-01-09 Ulrich Drepper <drepper@gmail.com>
8143
8144 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8145 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8146
8147 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8148 void.
8149 * bits/select.h: Likewise.
8150
fa9c15cb
UD
81512011-01-08 Ulrich Drepper <drepper@gmail.com>
8152
8153 * po/ja.po: Update from translation team.
8154
16c2895f
DM
81552011-01-04 David S. Miller <davem@sunset.davemloft.net>
8156
8157 [BZ #11155]
8158 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8159 implementation just like for lxstat, fxstatat, et al.
8160
2543fef2
JM
81612010-12-27 Jim Meyering <meyering@redhat.com>
8162
8163 [BZ #12348]
8164 * posix/regexec.c (build_trtable): Return failure indication upon
8165 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8166
98727dbe
UD
81672010-12-25 Ulrich Drepper <drepper@gmail.com>
8168
5bd6dc5c
UD
8169 [BZ #12201]
8170 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8171 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8172 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8173 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8174
97983464
UD
8175 [BZ #12207]
8176 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8177
98727dbe
UD
8178 [BZ #12204]
8179 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8180 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8181
4a531bb0
L
81822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8183
8184 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8185 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8186 script has SORT_BY_INIT_PRIORITY.
8187 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8188 NO_CTORS_DTORS_SECTIONS is defined.
8189 * elf/soinit.c: Likewise.
8190 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8191 NO_CTORS_DTORS_SECTIONS is defined.
8192 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8193 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8194 * sysdeps/sh/init-first.c: Likewise.
8195 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8196
07eb4b71
UD
81972010-12-24 Ulrich Drepper <drepper@gmail.com>
8198
8199 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8200 always use the slow path.
8201
30950a5f
RA
82022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8203
8204 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8205 similar rule which adds the sysdep directories to the header search in
8206 order to pick up the correct platform stackinfo.h.
8207 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8208 perform test if it is, otherwise return successfully without testing.
8209 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8210 DEFAULT_STACK_PERMS define in stackinfo.h.
8211 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8212 defined in stackinfo.h.
8213 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8214 DEFAULT_STACK_PERMS defined in stackinfo.h.
8215 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8216 * sysdeps/ia64/stackinfo.h: Likewise.
8217 * sysdeps/s390/stackinfo.h: Likewise.
8218 * sysdeps/sh/stackinfo.h: Likewise.
8219 * sysdeps/sparc/stackinfo.h: Likewise.
8220 * sysdeps/x86_64/stackinfo.h: Likewise.
8221 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8222 PF_X for powerpc64. Retain PF_X for powerpc32.
8223
db753e2c
UD
82242010-12-19 Ulrich Drepper <drepper@gmail.com>
8225
14b697f7
UD
8226 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8227 accurately.
db753e2c
UD
8228 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8229 GETDENTS_64BIT_ALIGNED.
8230
28300719
UD
82312010-12-14 Ulrich Drepper <dreper@gmail.com>
8232
14b697f7 8233 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8234
4f197237
AS
82352010-12-10 Andreas Schwab <schwab@redhat.com>
8236
dbb0472f
AS
8237 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8238 _GNU_SOURCE.
8239
4f197237
AS
8240 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8241 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8242 Remove __restrict.
8243 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8244 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8245
fb88ac72
UD
82462010-12-09 Ulrich Drepper <drepper@gmail.com>
8247
8248 [BZ #11655]
8249 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8250 are initialized.
8251
42acbb92
JJ
82522010-12-09 Jakub Jelinek <jakub@redhat.com>
8253
8254 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8255
c038d98d
UD
82562010-12-03 Ulrich Drepper <drepper@gmail.com>
8257
8258 * po/it.po: Update from translation team.
8259
3a4a2499
L
82602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8261
8262 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8263 unused codes.
8264
1e24cf6e
UD
82652010-11-30 Ulrich Drepper <drepper@gmail.com>
8266
8267 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8268
a7690819
AS
82692010-11-24 Andreas Schwab <schwab@redhat.com>
8270
8271 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8272 specially.
8273 (gaih_getanswer_slice): Likewise.
8274
3bf8d1b1
JJ
82752010-10-20 Jakub Jelinek <jakub@redhat.com>
8276
8277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8278
6db52fbb
PB
82792010-05-31 Petr Baudis <pasky@suse.cz>
8280
8281 [BZ #11149]
8282 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8283 silently even in the chroot mode.
8284
eaca7569
UD
82852010-11-22 Ulrich Drepper <drepper@gmail.com>
8286
8287 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8288 last patch a bit. Pretty printing
8289
3056dcdb
UD
82902010-05-31 Petr Baudis <pasky@suse.cz>
8291
8292 [BZ #10085]
8293 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8294 initialization of skip_initgroups_dyn.
8295
cf7c9078
UD
82962010-11-19 Ulrich Drepper <drepper@gmail.com>
8297
8298 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8299 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8300
a1fb5e3e
UD
83012010-11-16 Ulrich Drepper <drepper@gmail.com>
8302
8303 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8304
3540d66b
AS
83052010-11-11 Andreas Schwab <schwab@redhat.com>
8306
8307 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8308 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8309 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8310 ($(objpfx)tst-fnmatch-mem): New rule.
8311 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8312 * posix/tst-fnmatch.c (main): Call mtrace.
8313
13b69574
L
83142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8315
8316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8317 Support Intel processor model 6 and model 0x2c.
8318
da93d214
LM
83192010-11-10 Luis Machado <luisgpm@br.ibm.com>
8320
8321 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8322 signed comparison.
8323
8ca52c6e
L
83242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8325
8326 [BZ #12205]
8327 * string/test-strncasecmp.c (check_result): New function.
8328 (do_one_test): Use it.
8329 (check1): New function.
8330 (test_main): Use it.
8331 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8332 Support strcasecmp and strncasecmp.
8333
69da074d
UD
83342010-11-08 Ulrich Drepper <drepper@gmail.com>
8335
8336 [BZ #12194]
8337 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8338 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8339
ff02d528
L
83402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8341
8342 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8343 IFUNC support.
8344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8345 memset-x86-64.
8346 * sysdeps/x86_64/multiarch/bzero.S: New file.
8347 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8348 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8349 * sysdeps/x86_64/multiarch/memset.S: New file.
8350 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8352 Set bit_Prefer_SSE_for_memop for Intel processors.
8353 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8354 Define.
8355 (index_Prefer_SSE_for_memop): Define.
8356 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8357
344d0b54
LM
83582010-11-04 Luis Machado <luisgpm@br.ibm.com>
8359
8360 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8361 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8362
c0dde15b
UD
83632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8364
8365 [BZ #12191]
8366 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8367 (__x86_64_raw_data_cache_size_half): Likewise.
8368 (__x86_64_raw_shared_cache_size): Likewise.
8369 (__x86_64_raw_shared_cache_size_half): Likewise.
8370
8371 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8372 (__x86_64_raw_data_cache_size_half): Likewise.
8373 (__x86_64_raw_shared_cache_size): Likewise.
8374 (__x86_64_raw_shared_cache_size_half): Likewise.
8375 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8376 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8377 and __x86_64_raw_shared_cache_size_half. Round
8378 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8379 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8380 to multiple of 256 bytes.
8381
0e516e0e
MS
83822010-11-03 Ulrich Drepper <drepper@gmail.com>
8383
8384 [BZ #12167]
8385 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8386 of inacessible symlinks. Verify result of symlink before returning it.
8387 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8388 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8389
0e012e87
ER
83902010-10-28 Erich Ritz <erichritz@gmail.com>
8391
8392 * math/math.h (isinf): Fix typo in comment.
8393
de0ff7bc
UD
83942010-11-01 Ulrich Drepper <drepper@gmail.com>
8395
8396 * po/da.po: Update from translation team.
8397
fa41c84d
UD
83982010-10-26 Ulrich Drepper <drepper@gmail.com>
8399
8400 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8401 is added to the list.
8402
f0967738
AK
84032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8404 Ulrich Drepper <drepper@gmail.com>
8405
8406 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8407 the global list here. Move code to...
8408 (_dl_add_to_namespace_list): ...here. New function.
8409 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8410 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8411 * elf/dl-load.c (lose): Don't remove the element from the list.
8412 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8413 (_dl_map_object): Likewise.
8414
84152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
8416
8417 [BZ #12159]
8418 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8419 into all bytes of SSE register.
8420 Patch by Richard Li <richardpku@gmail.com>.
8421
f0967738 84222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8423
8424 [BZ #12140]
8425 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8426 perturbing.
8427
d0b9e94f
MB
84282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8429
8430 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8431 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8432 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8433 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8435 submachine.
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8437
8e9f92e9
AS
84382010-10-22 Andreas Schwab <schwab@redhat.com>
8439
8440 * include/dlfcn.h (__RTLD_SECURE): Define.
8441 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8442 mode & __RTLD_SECURE instead.
8443 (open_path): Rename preloaded parameter to secure.
8444 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8445 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8446 * elf/dl-deps.c (openaux): Likewise.
8447 * elf/rtld.c (struct map_args): Remove is_preloaded.
8448 (map_doit): Don't use it.
8449 (dl_main): Likewise.
8450 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8451 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8452
bc96fbda
AS
84532010-09-09 Andreas Schwab <schwab@redhat.com>
8454
8455 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8456 (sysd-rules-targets): Remove duplicates.
8457 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8458 rtld-%.$o dependency.
8459
22cd1c9b
AS
84602010-10-18 Andreas Schwab <schwab@redhat.com>
8461
8462 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8463 _dl_map_object do it.
8464
18edac48
UD
84652010-10-19 Ulrich Drepper <drepper@gmail.com>
8466
8467 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8468 fast fma builtins, define the macros in the C99 standard.
8469 (FP_FAST_FMAF): Likewise.
8470 (FP_FAST_FMAL): Likewise.
8471 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8472
8473 * bits/mathdef.h: Update copyright year.
8474 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8475
d2050124
MM
84762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8477
8478 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8479 builtins, define the macros in the C99 standard.
8480 (FP_FAST_FMAF): Likewise.
8481 (FP_FAST_FMAL): Likewise.
8482 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8483 multiply/add.
8484 (FP_FAST_FMAF): Likewise.
8485
475facd1
JJ
84862010-10-15 Jakub Jelinek <jakub@redhat.com>
8487
8488 [BZ #3268]
8489 * math/libm-test.inc (fma_test): Some new testcases.
8490 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8491 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8492 y and infinite z. Do multiplication by C already in long double.
8493 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8495 y and infinite z. Do bitwise or of inexact bit into u.d.
8496 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8497 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8498 * sysdeps/i386/fpu/s_fma.S: Removed.
8499 * sysdeps/i386/fpu/s_fmal.S: Removed.
8500
7c08a05c
JJ
85012010-10-16 Jakub Jelinek <jakub@redhat.com>
8502
8503 [BZ #3268]
8504 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8506 computation is not scheduled after fetestexcept. Fix value
8507 of minimum denormal long double.
8508
f3f7372d
JJ
85092010-10-14 Jakub Jelinek <jakub@redhat.com>
8510
8511 [BZ #3268]
8512 * math/libm-test.inc (fma_test): Add some more tests.
8513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8514 correctly.
8515
14d43591
AS
85162010-10-15 Andreas Schwab <schwab@redhat.com>
8517
8518 * scripts/data/localplt-s390-linux-gnu.data: New file.
8519 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8520
5e908464
JJ
85212010-10-13 Jakub Jelinek <jakub@redhat.com>
8522
8523 [BZ #3268]
8524 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8525 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8526 instead of dbl-64.
8527 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8528 inlines.
8529 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8531 if one of x and y is very large and the other is subnormal.
8532 * sysdeps/s390/fpu/s_fmaf.c: New file.
8533 * sysdeps/s390/fpu/s_fma.c: New file.
8534 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8535 * sysdeps/powerpc/fpu/s_fma.S: New file.
8536 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8537 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8538 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8539
85402010-10-12 Jakub Jelinek <jakub@redhat.com>
8541
8542 [BZ #3268]
8543 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8544 fma tests.
8545 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8546 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8547 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8548 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8549 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8550 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8551 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8552
b833d51f
UD
85532010-10-12 Ulrich Drepper <drepper@redhat.com>
8554
8555 [BZ #12078]
8556 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8557 * posix/bug-regex31.input: Add test case.
8558
1751705d
UD
85592010-10-11 Ulrich Drepper <drepper@gmail.com>
8560
e9b9cbf5
UD
8561 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8562 * posix/bug-regex31.input: New file.
8563
8564 [BZ #12078]
8565 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8566 (parse_sub_exp): Fix last change, use postorder.
8567
ef06edbe
UD
8568 * posix/bug-regex31.c: New file.
8569 * posix/Makefile: Add rules to build and run bug-regex31.
8570
a129c80d
UD
8571 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8572
8573 [BZ #12078]
8574 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8575
b76b818e
UD
8576 [BZ #12108]
8577 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8578 to have entries in sys_siglist.
8579
1751705d
UD
8580 [BZ #12093]
8581 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8582 be NULL.
8583
9ff8d36f
JJ
85842010-10-07 Jakub Jelinek <jakub@redhat.com>
8585
8586 [BZ #3268]
8587 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8588 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8589 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8590 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8591 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8592 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8593 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8594 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8595 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8596 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8597 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8598 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8599 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8600 * math/ftestexcept.c (fetestexcept): Likewise.
8601 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8602 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8603 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8604 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8605 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8606 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8607 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8608
af325969
UD
86092010-10-11 Ulrich Drepper <drepper@gmail.com>
8610
c579b202 8611 [BZ #12107]
af325969
UD
8612 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8613 newline.
8614
67a67b95
UD
86152010-10-06 Ulrich Drepper <drepper@gmail.com>
8616
8617 * string/bug-strstr1.c: New file.
8618 * string/Makefile: Add rules to build and run bug-strstr1.
8619
5fb308bc
EB
86202010-10-05 Eric Blake <eblake@redhat.com>
8621
8622 [BZ #12092]
8623 * string/str-two-way.h (two_way_long_needle): Always clear memory
8624 when skipping input due to the shift table.
8625
45db99c7
UD
86262010-10-03 Ulrich Drepper <drepper@gmail.com>
8627
3b111893
UD
8628 [BZ #12005]
8629 * malloc/mcheck.c: Handle large requests.
8630
45db99c7
UD
8631 [BZ #12077]
8632 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8633 for strncmp and strncasecmp.
8634 * string/stratcliff.c: Add tests for strcmp and strncmp.
8635 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8636
cf7a1eb8
NI
86372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8638
8639 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8640 __set_fpscr.
8641
6484ba5e
AJ
86422010-09-30 Andreas Jaeger <aj@suse.de>
8643
8644 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8645 (CGROUP_SUPER_MAGIC): Define.
8646 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8647 Handle btrfs and cgroup file systems.
8648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8649 Likewise.
8650
91c42559
LM
86512010-09-27 Luis Machado <luisgpm@br.ibm.com>
8652
8653 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8654 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8655
87a97932
AK
86562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8657
8658 [BZ #12067]
8659 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8660 trying to locate the ELF header.
8661
c21cc9bc
AS
86622010-09-27 Andreas Schwab <schwab@redhat.com>
8663
8664 [BZ #11611]
8665 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8666 Mask out sign-bit copies when constructing f_fsid.
8667
315970f6
PB
86682010-09-24 Petr Baudis <pasky@suse.cz>
8669
8670 * debug/stack_chk_fail_local.c: Add missing licence exception.
8671 * debug/warning-nop.c: Likewise.
8672
1ac7a2c7
JM
86732010-09-15 Joseph Myers <joseph@codesourcery.com>
8674
8675 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8676 implementing getdents64 using getdents syscall, set d_type if
8677 __ASSUME_GETDENTS32_D_TYPE.
8678
56801c50
AS
86792010-09-16 Andreas Schwab <schwab@redhat.com>
8680
8681 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8682 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8683
dda51327
UD
86842010-09-21 Ulrich Drepper <drepper@redhat.com>
8685
8686 [BZ #12037]
8687 * posix/unistd.h: Undo change of feature selection for ftruncate from
8688 2010-01-11.
8689
8ffcee4a
UD
86902010-09-20 Ulrich Drepper <drepper@redhat.com>
8691
a545ecd9 8692 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8693 detection.
8694
e24f0a8b
AS
86952010-09-20 Andreas Schwab <schwab@redhat.com>
8696
8697 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8698 fanotify_mark.
8699 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8700
7291c56f
AS
87012010-09-14 Andreas Schwab <schwab@redhat.com>
8702
8703 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8704 variables after CHECK_SP call.
8705 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8706
bc5fb037
AS
87072010-09-13 Andreas Schwab <schwab@redhat.com>
8708 Ulrich Drepper <drepper@redhat.com>
8709
8710 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8711 re-relocationg ld.so.
8712 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8713 _dl_init_paths call.
8714 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8715 here anymore.
8716
e66e7419
UD
87172010-09-14 Ulrich Drepper <drepper@redhat.com>
8718
8719 * resolv/res_init.c (__res_vinit): Count the default server we added.
8720
c044aa75
CLT
87212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8722 Ulrich Drepper <drepper@redhat.com>
8723
8724 [BZ #11968]
8725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8726 (____longjmp_chk): Use %ebx for saving value across system call.
8727 Add unwind info.
8728
32cf4069
AS
87292010-09-06 Andreas Schwab <schwab@redhat.com>
8730
8731 * manual/Makefile: Don't mix pattern rules with normal rules.
8732
817328ee
AS
87332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8734
8735 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8736 operation.
8737 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8738 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8739 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8740 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8741 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8742 Likewise.
8743
29fddf61
UD
87442010-09-04 Ulrich Drepper <drepper@redhat.com>
8745
8746 [BZ #11979]
8747 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8748 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8749
0959ffc9
UD
87502010-09-02 Ulrich Drepper <drepper@redhat.com>
8751
8752 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8753 * sysdeps/x86_64/addmul_1.S: Likewise.
8754 * sysdeps/x86_64/lshift.S: Likewise.
8755 * sysdeps/x86_64/mul_1.S: Likewise.
8756 * sysdeps/x86_64/rshift.S: Likewise.
8757 * sysdeps/x86_64/sub_n.S: Likewise.
8758 * sysdeps/x86_64/submul_1.S: Likewise.
8759
ece29840
ST
87602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8761
0959ffc9
UD
8762 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8763 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8764 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8765 * bits/sched.h [__need_schedparam]
ece29840 8766 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8767 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8768 (__defined_schedparam): Define to 1.
ece29840
ST
8769 (__sched_param): New structure, identical to sched_param.
8770 (__need_schedparam): Undefine.
8771
e53a31fe
MF
87722010-08-31 Mike Frysinger <vapier@gentoo.org>
8773
fdc0c10d
MF
8774 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8775 (epoll_create1): Declare.
8776
e53a31fe
MF
8777 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8778
a726d796
AS
87792010-08-31 Andreas Schwab <schwab@redhat.com>
8780
8781 [BZ #7066]
8782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8783 shifting retval into place.
8784
2f3e3dc7
UD
87852010-09-01 Ulrich Drepper <drepper@redhat.com>
8786
f2933da9
UD
8787 * nis/rpcsvc/nis.h: Update copyright notice.
8788 * nis/rpcsvc/nis.x: Likewise.
8789 * nis/rpcsvc/nis_callback.h: Likewise.
8790 * nis/rpcsvc/nis_callback.x: Likewise.
8791 * nis/rpcsvc/nis_object.x: Likewise.
8792 * nis/rpcsvc/nis_tags.h: Likewise.
8793 * nis/rpcsvc/yp.h: Likewise.
8794 * nis/rpcsvc/yp.x: Likewise.
8795 * nis/rpcsvc/ypupd.h: Likewise.
8796 * nis/yp_xdr.c: Likewise.
8797 * nis/ypupdate_xdr.c: Likewise.
8798
2f3e3dc7
UD
8799 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8800 mainly the body of pmap_getport. Add parameters to specify timeouts.
8801 (pmap_getport): Use __libc_rpc_getport.
8802 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8803 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8804 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8805
f3dcc2f9
AS
88062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8807
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8809 fanotify_mark.
8810
6d34eb5b
RM
88112010-08-27 Roland McGrath <roland@redhat.com>
8812
8813 * sysdeps/i386/i686/multiarch/Makefile
8814 (CFLAGS-varshift.c): New variable.
8815
9ea3de11
UD
88162010-08-27 Ulrich Drepper <drepper@redhat.com>
8817
c96d23fc
UD
8818 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8819 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8820
9ea3de11
UD
8821 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8822
8823 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8824
623aac7f
L
88252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8826
8827 * sysdeps/x86_64/strlen.S: Unroll the loop.
8828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8829 strlen-sse2 strlen-sse2-bsf.
8830 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8831 __strlen_no_bsf if bit_Slow_BSF is set.
8832 (__strlen_sse42): Removed.
8833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8834 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8835
8b2b7715
RM
88362010-08-25 Roland McGrath <roland@redhat.com>
8837
8838 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8839 * sysdeps/x86_64/multiarch/varshift.c: New file.
8840 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8841 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8842 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8843 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8844
e73015f2
L
88452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8846
8847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8848 strlen-sse2 strlen-sse2-bsf.
8849 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8850 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8851 (__strlen_sse2): Removed.
8852 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8855 bit_Slow_BSF for Atom.
8856 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8857 (index_Slow_BSF): Define.
8858 (HAS_SLOW_BSF): Define.
8859
df24a73e
UD
88602010-08-25 Ulrich Drepper <drepper@redhat.com>
8861
8862 [BZ #10851]
8863 * resolv/res_init.c (__res_vinit): When no server address at all
8864 is given default to loopback.
8865
f2ac4868
RM
88662010-08-24 Roland McGrath <roland@redhat.com>
8867
09055553
RM
8868 * configure.in: Remove config-name.h generation.
8869 * configure: Regenerated.
8870 * config-name.in: File removed.
8871 * scripts/config-uname.sh: New file.
8872 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8873 ($(objdir)config-name.h): New target.
8874
f2ac4868
RM
8875 * sunrpc/rpc_parse.h: Avoid nested comment.
8876
73f27d5e
RH
88772010-08-24 Richard Henderson <rth@redhat.com>
8878 Ulrich Drepper <drepper@redhat.com>
8879 H.J. Lu <hongjiu.lu@intel.com>
8880
8881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8883 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8884 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8885 _mm_alignr_epi8 with _mm_loadu_si128.
8886 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8887 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8888 (__m128i_shift_right): Removed.
8889 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8890 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8891 * sysdeps/x86_64/multiarch/varshift.h: New file.
8892 * sysdeps/x86_64/multiarch/varshift.S: New file.
8893
84b9230c
MF
88942010-08-21 Mike Frysinger <vapier@gentoo.org>
8895
8896 * configure.in: Move assembler checks to before sysdep dir checking.
8897
9bbd0ddc
PB
88982010-08-20 Petr Baudis <pasky@suse.cz>
8899
8900 * LICENSES: Sync the sunrpc license.
8901
9da4bb31
UD
89022010-08-19 Ulrich Drepper <drepper@redhat.com>
8903
a7ab6ec8
UD
8904 * sunrpc/auth_des.c: Update copyright notice once again.
8905 * sunrpc/auth_none.c: Likewise.
8906 * sunrpc/auth_unix.c: Likewise.
8907 * sunrpc/authdes_prot.c: Likewise.
8908 * sunrpc/authuxprot.c: Likewise.
8909 * sunrpc/bindrsvprt.c: Likewise.
8910 * sunrpc/clnt_gen.c: Likewise.
8911 * sunrpc/clnt_perr.c: Likewise.
8912 * sunrpc/clnt_raw.c: Likewise.
8913 * sunrpc/clnt_simp.c: Likewise.
8914 * sunrpc/clnt_tcp.c: Likewise.
8915 * sunrpc/clnt_udp.c: Likewise.
8916 * sunrpc/clnt_unix.c: Likewise.
8917 * sunrpc/des_crypt.c: Likewise.
8918 * sunrpc/des_soft.c: Likewise.
8919 * sunrpc/get_myaddr.c: Likewise.
8920 * sunrpc/getrpcport.c: Likewise.
8921 * sunrpc/key_call.c: Likewise.
8922 * sunrpc/key_prot.c: Likewise.
8923 * sunrpc/openchild.c: Likewise.
8924 * sunrpc/pm_getmaps.c: Likewise.
8925 * sunrpc/pm_getport.c: Likewise.
8926 * sunrpc/pmap_clnt.c: Likewise.
8927 * sunrpc/pmap_prot.c: Likewise.
8928 * sunrpc/pmap_prot2.c: Likewise.
8929 * sunrpc/pmap_rmt.c: Likewise.
8930 * sunrpc/rpc/auth.h: Likewise.
8931 * sunrpc/rpc/auth_unix.h: Likewise.
8932 * sunrpc/rpc/clnt.h: Likewise.
8933 * sunrpc/rpc/des_crypt.h: Likewise.
8934 * sunrpc/rpc/key_prot.h: Likewise.
8935 * sunrpc/rpc/netdb.h: Likewise.
8936 * sunrpc/rpc/pmap_clnt.h: Likewise.
8937 * sunrpc/rpc/pmap_prot.h: Likewise.
8938 * sunrpc/rpc/pmap_rmt.h: Likewise.
8939 * sunrpc/rpc/rpc.h: Likewise.
8940 * sunrpc/rpc/rpc_des.h: Likewise.
8941 * sunrpc/rpc/rpc_msg.h: Likewise.
8942 * sunrpc/rpc/svc.h: Likewise.
8943 * sunrpc/rpc/svc_auth.h: Likewise.
8944 * sunrpc/rpc/types.h: Likewise.
8945 * sunrpc/rpc/xdr.h: Likewise.
8946 * sunrpc/rpc_clntout.c: Likewise.
8947 * sunrpc/rpc_cmsg.c: Likewise.
8948 * sunrpc/rpc_common.c: Likewise.
8949 * sunrpc/rpc_cout.c: Likewise.
8950 * sunrpc/rpc_dtable.c: Likewise.
8951 * sunrpc/rpc_hout.c: Likewise.
8952 * sunrpc/rpc_main.c: Likewise.
8953 * sunrpc/rpc_parse.c: Likewise.
8954 * sunrpc/rpc_parse.h: Likewise.
8955 * sunrpc/rpc_prot.c: Likewise.
8956 * sunrpc/rpc_sample.c: Likewise.
8957 * sunrpc/rpc_scan.c: Likewise.
8958 * sunrpc/rpc_scan.h: Likewise.
8959 * sunrpc/rpc_svcout.c: Likewise.
8960 * sunrpc/rpc_tblout.c: Likewise.
8961 * sunrpc/rpc_util.c: Likewise.
8962 * sunrpc/rpc_util.h: Likewise.
8963 * sunrpc/rpcinfo.c: Likewise.
8964 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8965 * sunrpc/rpcsvc/key_prot.x: Likewise.
8966 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8967 * sunrpc/rpcsvc/mount.x: Likewise.
8968 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8969 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8970 * sunrpc/rpcsvc/rex.x: Likewise.
8971 * sunrpc/rpcsvc/rstat.x: Likewise.
8972 * sunrpc/rpcsvc/rusers.x: Likewise.
8973 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8974 * sunrpc/rpcsvc/spray.x: Likewise.
8975 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8976 * sunrpc/rtime.c: Likewise.
8977 * sunrpc/svc.c: Likewise.
8978 * sunrpc/svc_auth.c: Likewise.
8979 * sunrpc/svc_authux.c: Likewise.
8980 * sunrpc/svc_raw.c: Likewise.
8981 * sunrpc/svc_run.c: Likewise.
8982 * sunrpc/svc_simple.c: Likewise.
8983 * sunrpc/svc_tcp.c: Likewise.
8984 * sunrpc/svc_udp.c: Likewise.
8985 * sunrpc/svc_unix.c: Likewise.
8986 * sunrpc/svcauth_des.c: Likewise.
8987 * sunrpc/xcrypt.c: Likewise.
8988 * sunrpc/xdr.c: Likewise.
8989 * sunrpc/xdr_array.c: Likewise.
8990 * sunrpc/xdr_float.c: Likewise.
8991 * sunrpc/xdr_mem.c: Likewise.
8992 * sunrpc/xdr_rec.c: Likewise.
8993 * sunrpc/xdr_ref.c: Likewise.
8994 * sunrpc/xdr_sizeof.c: Likewise.
8995 * sunrpc/xdr_stdio.c: Likewise.
8996
9da4bb31
UD
8997 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8998 handling.
8999
bdaa77bc
AS
90002010-08-19 Andreas Schwab <schwab@redhat.com>
9001
9002 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9003
fe2f79db
LM
90042010-08-19 Luis Machado <luisgpm@br.ibm.com>
9005
9006 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9007 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9008 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9009 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9010 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9011 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9012 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9013 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9014 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9015 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9016 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9017 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9018 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9019 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9020
b9b42ee0
AB
90212010-07-26 Anton Blanchard <anton@samba.org>
9022
9023 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9024 * malloc/arena.c (heap_trim): Likewise.
9025
1c06ba31
UD
90262010-08-16 Ulrich Drepper <drepper@redhat.com>
9027
9028 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9029 here. Not...
9030 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9031 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9032
f8392f40
L
90332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9034
9035 * sysdeps/i386/elf/Makefile: New file.
9036
3162f12e
AS
90372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9038
9039 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9040 from fanotify_init.
9041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9042 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9043
28c90b2c
UD
90442010-08-15 Ulrich Drepper <drepper@redhat.com>
9045
9046 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9047 of strncasecmp_l.
1feccb6c 9048 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9049
ca6bb004
UD
90502010-08-14 Ulrich Drepper <drepper@redhat.com>
9051
e9f82e0d
UD
9052 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9053 strncase_l-nonascii.
9054 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9055 Add strncase_l-ssse3.
9056 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9057 * sysdeps/x86_64/strcmp.S: Likewise.
9058 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9059 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9060 * sysdeps/x86_64/strncase.S: New file.
9061 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9062 * sysdeps/x86_64/strncase_l.S: New file.
9063 * string/Makefile (strop-tests): Add strncasecmp.
9064 * string/test-strncasecmp.c: New file.
9065
9066 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9067 warning.
9068
ca6bb004
UD
9069 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9070 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9071
052fa7b3
AS
90722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9073
9074 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9075
962dba78
UD
90762010-08-12 Ulrich Drepper <drepper@redhat.com>
9077
9078 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9080 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9081
bebff237
AM
90822010-05-01 Alan Modra <amodra@gmail.com>
9083
9084 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9085 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9086 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9087 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9088 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9089 tidying. Don't tail-call __sigjmp_save for static lib.
9090 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9091 save location.
9092 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9093 (CALL_MCOUNT): Add eh info, and nop after bl.
9094 (TAIL_CALL_SYSCALL_ERROR): New macro.
9095 (PSEUDO_RET): Use it.
9096 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9097 Correct save location of integer regs and cr.
9098 (_dl_profile_resolve): Correct cr save location. Delete nops
9099 after bl when SHARED. Reduce cfi size a little by better
9100 placement of cfi directives.
9101 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9102 make a stack frame. Instead use parm save area as a temp.
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9104 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9106 Don't make a stack frame for parent, use parm save area.
9107 Increase child stack frame to 112 bytes. Don't save unused reg,
9108 and adjust reg usage. Set up cfi on error recovery and
9109 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9111 (__makecontext): Add dummy nop after jump to exit.
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9113 Use correct parm save area and cr save, reduce stack frame.
9114 Correct cfi for possible PSEUDO_RET frame setup.
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9116 Branch to local label emitted by PSEUDO_RET rather than
9117 __syscall_error.
9118
02637374
AS
91192010-08-12 Andreas Schwab <schwab@redhat.com>
9120
9121 [BZ #11904]
9122 * locale/programs/locale.c (print_assignment): New function.
9123 (show_locale_vars): Use it.
9124
c3e2f19b
UD
91252010-08-11 Ulrich Drepper <drepper@redhat.com>
9126
3cdaa6ad
UD
9127 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9128 field.
9129 (struct statfs64): Likewise.
9130 (_STATFS_F_FLAGS): Define.
9131 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9132 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9133 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9134 (ST_VALID): Define locally.
9135 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9136 __statvfs_getflags, use the provided value.
9137 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9138 __ASSUME_STATFS_F_FLAGS.
9139
754f7da3
UD
9140 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9141
10b3bedc
UD
9142 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9143 Add sys/fanotify.h.
9144 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9145 fanotify_mask for GLIBC_2.13.
9146 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9147 fanotify_init and fanotify_mark.
9148 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9149 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9150
c08fb0d7
UD
9151 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9152 Add prlimit.
9153 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9154 prlimit64 for GLIBC_2.13.
9155 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9156 prlimit64.
9157 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9158 syscall.
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9160 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9161 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9162 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9164 add prlimit alias.
9165 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9166
15bac72b
UD
9167 [BZ #11903]
9168 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9169 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9170
c3e2f19b
UD
9171 * nss/Makefile: Add rules to build and run tst-nss-test1.
9172 * shlib-versions: Add entry for libnss_test1.
9173 * nss/nss_test1.c: New file.
9174 * nss/tst-nss-test1.c: New file.
9175
9176 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9177 (__nss_configure_lookup): Set appropriate entry in
9178 __nss_configure_lookup to true.
9179 * nss/nsswitch.h: Define enum with indeces of databases in
9180 databases and __nss_database_custom arrays. Declare
9181 __nss_database_custom.
9182 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9183 to avoid using nscd when custom rules are installed.
9184 * nss/getXXbyYY_r.c: Likewise.
9185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9186
9187 * nss/nss_files/files-parse.c: Whitespace fixes.
9188
f15ce4d8
UD
91892010-08-09 Ulrich Drepper <drepper@redhat.com>
9190
9191 [BZ #11883]
9192 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9193 * posix/fnmatch_loop.c: Likewise.
9194
d22e4cc9
AK
91952010-07-17 Andi Kleen <ak@linux.intel.com>
9196
9197 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9198 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9199 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9200 * Versions.def [GLIBC_2.13]: Add.
9201
805bc17d
UD
92022010-08-06 Ulrich Drepper <drepper@redhat.com>
9203
9204 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9205 Also fail if tpwd after pwuid call is NULL.
9206
5a42321d
ST
92072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9208
9209 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9210 when converting to ms.
9211
fd3ebeda
ST
92122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9213
9214 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9215 EOPNOTSUPP errors with ENOTTY.
9216 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9217 EOPNOTSUPP errors with ENOTTY.
9218
73507d3a
UD
92192010-07-31 Ulrich Drepper <drepper@redhat.com>
9220
9221 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9222 Add strcasecmp_l-ssse3.
9223 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9224 strcasecmp.
9225 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9226 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9227 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9228
fe36dd02
UD
92292010-07-30 Ulrich Drepper <drepper@redhat.com>
9230
66f6765a
UD
9231 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9232
42e08a54
UD
9233 * string/Makefile (strop-tests): Add strcasecmp.
9234 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9235 strcasecmp_l-nonascii.
9236 (gen-as-const-headers): Add locale-defines.sym.
9237 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9238 * sysdeps/x86_64/strcasecmp.S: New file.
9239 * sysdeps/x86_64/strcasecmp_l.S: New file.
9240 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9241 * sysdeps/x86_64/locale-defines.sym: New file.
9242 * string/test-strcasecmp.c: New file.
9243
fe36dd02
UD
9244 * string/test-strcasestr.c: Test both ends of the range of characters.
9245 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9246
48cbc0d6
RM
92472010-07-29 Roland McGrath <roland@redhat.com>
9248
76e6d6bc 9249 [BZ #11856]
48cbc0d6
RM
9250 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9251
880113d9
UD
92522010-07-27 Ulrich Drepper <drepper@redhat.com>
9253
9254 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9255 for ld.so.
9256
deb9cabb
AS
92572010-07-27 Andreas Schwab <schwab@redhat.com>
9258
9259 * manual/memory.texi (Malloc Tunable Parameters): Document
9260 M_PERTURB.
9261
1c7570ff
RM
92622010-07-26 Roland McGrath <roland@redhat.com>
9263
9264 [BZ #11840]
9265 * configure.in (-fgnu89-inline check): Set and substitute
9266 gnu89_inline, not libc_cv_gnu89_inline.
9267 * configure: Regenerated.
9268 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9269
24fb0f88
UD
92702010-07-26 Ulrich Drepper <drepper@redhat.com>
9271
9272 * string/test-strnlen.c: New file.
9273 * string/Makefile (strop-tests): Add strnlen.
9274 * string/tester.c (test_strnlen): Add a few more test cases.
9275 * string/tst-strlen.c: Better error reporting.
9276
9277 * sysdeps/x86_64/strnlen.S: New file.
9278
8e96b93a
UD
92792010-07-24 Ulrich Drepper <drepper@redhat.com>
9280
9281 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9282 lower-latency instructions.
9283
dbc676d4
UD
92842010-07-23 Ulrich Drepper <drepper@redhat.com>
9285
9286 * string/test-strcasestr.c: New file.
9287 * string/test-strstr.c: New file.
9288 * string/Makefile (strop-tests): Add strstr and strcasestr.
9289 * string/str-two-way.h: Don't undefine MAX.
9290 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9291
f6a31e0e
AS
92922010-07-21 Andreas Schwab <schwab@redhat.com>
9293
9294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9295 strcasestr-nonascii.
9296 (CFLAGS-strcasestr-nonascii.c): Define.
9297 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9298 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9299 Remove unused attribute.
9300
5dbc3b6c
RM
93012010-07-20 Roland McGrath <roland@redhat.com>
9302
9303 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9304 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9305 ld.so.cache was broken. With it, there is no way to disable dsocaps
9306 like LD_HWCAP_MASK can disable hwcaps.
9307
23d101d8
EPM
93082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9309
9310 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9311
cc9f2e47
UD
93122010-07-16 Ulrich Drepper <drepper@redhat.com>
9313
9314 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9315 call in strcasestr.
9316 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9317 __strcasestr_sse42_nonascii.
9318 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9319 strcasestr-nonascii.c.
9320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9321
77c1b069
LM
93222010-06-15 Luis Machado <luisgpm@br.ibm.com>
9323
9324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9325 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9326 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9327 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9328
440566c3
UD
93292010-07-09 Ulrich Drepper <drepper@redhat.com>
9330
9331 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9332 fcntl.
9333
5be9d05d
AS
93342010-07-06 Andreas Schwab <schwab@redhat.com>
9335
c30b7ee2 9336 [BZ #11577]
5be9d05d
AS
9337 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9338 dl_signal_cerror.
9339
8a492a67
UD
93402010-07-06 Ulrich Drepper <drepper@redhat.com>
9341
9342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9343 _PC_PIPE_BUF using F_GETPIPE_SZ.
9344
713df3d5
RM
93452010-07-05 Roland McGrath <roland@redhat.com>
9346
9347 * manual/arith.texi (Rounding Functions): Fix rint description
9348 implicit in round description.
9349
702e8f14
UD
93502010-07-02 Ulrich Drepper <drepper@redhat.com>
9351
9352 * elf/Makefile: Fix linking for a few tests to make recent linker
9353 happy.
9354
52ed8be9
AS
93552010-06-30 Andreas Schwab <schwab@redhat.com>
9356
9357 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9358 $(common-objpfx)libc_nonshared.a.
9359
f47c9a11
LM
93602010-06-21 Luis Machado <luisgpm@br.ibm.com>
9361
9362 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9363 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9364 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9365 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9366 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9367 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9368 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9369 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9384 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9385 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9386 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9387 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9388 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9389 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9390 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9391 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9392 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9393 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9394 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9395 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9410
6fb8cbcb
L
94112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9412
9413 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9414 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9415 * string/memmove.c (memmove): Renamed to ...
9416 (MEMMOVE): ...this. Default to memmove.
9417 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9418 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9419 (END_CHK): Define.
9420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9421 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9422 mempcpy-ssse3-back memmove-ssse3-back.
9423 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9424 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9425 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9426 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9427 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9428 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9429 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9430 * sysdeps/x86_64/multiarch/memmove.c: New file.
9431 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9432 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9433 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9434 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9435 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9436 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9437 Define.
9438 (index_Fast_Copy_Backward): Define.
9439 (HAS_ARCH_FEATURE): Define.
9440 (HAS_FAST_REP_STRING): Define.
9441 (HAS_FAST_COPY_BACKWARD): Define.
9442
4e733bac 94432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
9444
9445 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9446 Restore proper fallback handling.
9447
63c4ed22
UD
94482010-06-19 Ulrich Drepper <drepper@redhat.com>
9449
ac2b484c
UD
9450 [BZ #11701]
9451 * posix/group_member.c (__group_member): Correct checking loop.
9452
63c4ed22
UD
9453 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9454 OOM in getpwuid_r correctly. Return error number when the caller
9455 should return, otherwise -1.
9456 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9457 call returning > 0 value.
9458 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9459
765ade4b
AS
94602010-06-07 Andreas Schwab <schwab@redhat.com>
9461
9462 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9463 libc_nonshared.a from targets in modules-names.
9464
80da2e09
KS
94652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9466
9467 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9468 requires it.
9469
158db122
LM
94702010-06-10 Luis Machado <luisgpm@br.ibm.com>
9471
9472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9473 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9476
caa78cf8
AS
94772010-06-02 Andreas Schwab <schwab@redhat.com>
9478
9479 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9480
b2ef2c01
UD
94812010-06-14 Ulrich Drepper <drepper@redhat.com>
9482
9483 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9484 and F_GETPIPE_SZ.
9485 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9486 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9489 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9491
fbd643b6
RM
94922010-06-14 Roland McGrath <roland@redhat.com>
9493
9494 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9495
f32f2869
JJ
94962010-06-07 Jakub Jelinek <jakub@redhat.com>
9497
9498 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9499 __REDIRECT followed by __THROW.
9500 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9501 * posix/getopt.h (getopt): Likewise.
9502
2a50c078
EPM
95032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9504
9505 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9506 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9507 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9508 in AT_FLAGS.
9509 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9510 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9511
eb5ad2eb
LM
95122010-05-28 Luis Machado <luisgpm@br.ibm.com>
9513
9514 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9515
3c88fe1e
L
95162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9517
9518 [BZ #11640]
9519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9520 Properly check family and model.
9521
d2f73151
TY
95222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9523
9524 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9525
ebd2e13d
LM
95262010-05-24 Luis Machado <luisgpm@br.ibm.com>
9527
9528 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9529
b32b8b45
UD
95302010-05-21 Ulrich Drepper <drepper@redhat.com>
9531
9532 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9533 symbol reference.
9534
9acbe24d
AS
95352010-05-19 Andreas Schwab <schwab@redhat.com>
9536
9537 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9538 symbol reference.
9539
f0ccf6ea
AS
95402010-05-21 Andreas Schwab <schwab@redhat.com>
9541
3d04ff3a
AS
9542 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9543 and internal_recvmmsg.
9544 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9545 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9546 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9547 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9548
f0ccf6ea
AS
9549 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9550 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9551 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9552
5b08ac57
AS
95532010-05-20 Andreas Schwab <schwab@redhat.com>
9554
9555 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9556
4828935d
LM
95572010-05-17 Luis Machado <luisgpm@br.ibm.com>
9558
9559 POWER7 optimizations.
9560 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9561 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9562
373d545e
UD
95632010-05-19 Ulrich Drepper <drepper@redhat.com>
9564
9565 * version.h: Update for 2.13 development version.
9566
21a2b1ae
AS
95672010-05-12 Andrew Stubbs <ams@codesourcery.com>
9568
9569 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9570 exceptions. Return 0.
9571
3f7dcb2b
RM
95722010-05-07 Roland McGrath <roland@redhat.com>
9573
9574 * elf/ldconfig.c (main): Add a const.
9575
5f24d53a 95762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9577
a160f8d8
UD
9578 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9579 (args_options): Add no-idn option.
9580 (ahosts_keys_int): Add idn_flags to ai_flags.
9581 (parse_option): Handle 'i' option to clear idn_flags.
9582
5f24d53a
UD
9583 * malloc/malloc.c (_int_free): Possible race in the most recently
9584 added check. Only act on the data if no current modification
9585 happened.
265bb1ce
UD
9586
9587See ChangeLog.17 for earlier changes.