]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Convert TEST_f_i tests from code to data.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
87aa21df
JM
12013-05-14 Joseph Myers <joseph@codesourcery.com>
2
acbd839a
JM
3 * math/libm-test.inc (struct test_f_i_data): New type.
4 (RUN_TEST_LOOP_f_i): New macro.
5 (RUN_TEST_LOOP_f_i_tg): Likewise.
6 (fpclassify_test_data): New variable.
7 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8 (ilogb_test_data): New variable.
9 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10
e414d745
JM
11 * math/libm-test.inc (scalbln_test): Correct function name in END
12 call.
13
d9c2a0fd
JM
14 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15 (RUN_TEST_LOOP_fI_f1): New macro.
16 (frexp_test_data): New variable.
17 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18
9dc9095d
JM
19 * math/libm-test.inc (struct test_fF_f1_data): New type.
20 (RUN_TEST_LOOP_fF_f1): New macro.
21 (modf_test_data): New variable.
22 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23
87aa21df
JM
24 * math/libm-test.inc (struct test_f_f1_data): New type.
25 (RUN_TEST_LOOP_f_f1): New macro.
26 (gamma_test_data): New variable.
27 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28 (lgamma_test_data): New variable.
29 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30
141af660
CD
312013-05-13 Carlos O'Donell <carlos@redhat.com>
32
33 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35 (main): Comment "tls" pseudo-hwcap.
36
6d33265c
JM
372013-05-13 Joseph Myers <joseph@codesourcery.com>
38
68fc074c
JM
39 * math/libm-test.inc (struct test_fl_f_data): New type.
40 (RUN_TEST_LOOP_fl_f): New variable.
41 (scalbln_test_data): New variable.
42 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43
243216e1
JM
44 * math/libm-test.inc (struct test_fi_f_data): New type.
45 (RUN_TEST_LOOP_fi_f): New macro.
46 (ldexp_test_data): New variable.
47 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48 (scalbn_test_data): New variable.
49 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50
6a1992e2
JM
51 * math/libm-test.inc (struct test_c_f_data): New type.
52 (RUN_TEST_LOOP_c_f): New macro.
53 (cabs_test_data): New variable.
54 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
55 (carg_test_data): New variable.
56 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
57 (cimag_test_data): New variable.
58 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
59 (creal_test_data): New variable.
60 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61
0e400df5
JM
62 * math/libm-test.inc (struct test_if_f_data): New type.
63 (RUN_TEST_LOOP_if_f): New macro.
64 (jn_test_data): New variable.
65 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
66 (yn_test_data): New variable.
67 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
68
6d33265c
JM
69 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
70
f98ece5f
AZ
712013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72
73 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
74 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
75
0f7d347b
SP
762013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
77
43fe811b
SP
78 * benchtests/Makefile (CPPFLAGS-nonlib): Add
79 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
80 (bench-deps): Add bench-timing.h.
81 * benchtests-bench-skeleton.c: Include bench-timing.h.
82 (main): Use TIMING_* macros instead of clock_gettime.
83 * benchtests/bench-timing.h: New file.
84
0f7d347b
SP
85 [BZ #14582]
86 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
87 Renamed from _LIB_VERSION.
88 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
89
601a3a5f
JM
902013-05-12 Joseph Myers <joseph@codesourcery.com>
91
4f184d30
JM
92 * math/libm-test.inc (struct test_fff_f_data): New type.
93 (RUN_TEST_LOOP_fff_f): New macro.
94 (fma_test_data): New variable.
95 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
96 (fma_towardzero_test_data): New variable.
97 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
98 (fma_downward_test_data): New variable.
99 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
100 (fma_upward_test_data): New variable.
101 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
102
08198877
JM
103 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
104 (struct test_c_c_data): New type.
105 (RUN_TEST_LOOP_c_c): New macro.
106 (cacos_test_data): New variable.
107 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
108 (cacosh_test_data): New variable.
109 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
110 (casin_test_data): New variable.
111 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
112 (casinh_test_data): New variable.
113 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
114 (catan_test_data): New variable.
115 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
116 (catanh_test_data): New variable.
117 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
118 (ccos_test_data): New variable.
119 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
120 (ccosh_test_data): New variable.
121 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
122 (cexp_test_data): New variable.
123 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
124 (clog_test_data): New variable.
125 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
126 (clog10_test_data): New variable.
127 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
128 (conj_test_data): New variable.
129 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
130 (cproj_test_data): New variable.
131 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
132 (csin_test_data): New variable.
133 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
134 (csinh_test_data): New variable.
135 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
136 (csqrt_test_data): New variable.
137 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
138 (ctan_test_data): New variable.
139 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
140 (ctan_tonearest_test_data): New variable.
141 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
142 (ctan_towardzero_test_data): New variable.
143 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
144 (ctan_downward_test_data): New variable.
145 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
146 (ctan_upward_test_data): New variable.
147 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
148 (ctanh_test_data): New variable.
149 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
150 (ctanh_tonearest_test_data): New variable.
151 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
152 (ctanh_towardzero_test_data): New variable.
153 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
154 (ctanh_downward_test_data): New variable.
155 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
156 (ctanh_upward_test_data): New variable.
157 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
158 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
159 of BUILD_COMPLEX.
160
601a3a5f
JM
161 * math/libm-test.inc (struct test_ff_f_data): New type.
162 (struct test_ff_f_data_nexttoward): Likewise.
163 (RUN_TEST_LOOP_2_f): New macro.
164 (RUN_TEST_LOOP_ff_f): Likewise.
165 (atan2_test_data): New variable.
166 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
167 (copysign_test_data): New variable.
168 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
169 (fdim_test_data): New variable.
170 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
171 (fmax_test_data): New variable.
172 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
173 (fmin_test_data): New variable.
174 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
175 (fmod_test_data): New variable.
176 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
177 (hypot_test_data): New variable.
178 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
179 (nextafter_test_data): New variable.
180 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
181 (nexttoward_test_data): New variable.
182 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
183 (pow_test_data): New variable.
184 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
185 (pow_tonearest_test_data): New variable.
186 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
187 (pow_towardzero_test_data): New variable.
188 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
189 (pow_downward_test_data): New variable.
190 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
191 (pow_upward_test_data): New variable.
192 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
193 (remainder_test_data): New variable.
194 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
195 (scalb_test_data): New variable.
196 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
197 * sysdeps/i386/fpu/libm-test-ulps: Update.
198
74c57478
JM
1992013-05-11 Joseph Myers <joseph@codesourcery.com>
200
8329e4da
JM
201 * math/libm-test.inc (fma_test): Use max_value instead of local
202 variable fltmax.
203 (nextafter_test): Likewise.
204
74c57478
JM
205 * math/libm-test.inc (acos_towardzero_test_data): New variable.
206 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
207 (acos_downward_test_data): New variable.
208 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
209 (acos_upward_test_data): New variable.
210 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
211 (acosh_test_data): New variable.
212 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
213 (asin_test_data): New variable.
214 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
215 (asin_tonearest_test_data): New variable.
216 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
217 (asin_towardzero_test_data): New variable.
218 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
219 (asin_downward_test_data): New variable.
220 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
221 (asin_upward_test_data): New variable.
222 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
223 (asinh_test_data): New variable.
224 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
225 (atan_test_data): New variable.
226 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
227 (atanh_test_data): New variable.
228 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
229 (cbrt_test_data): New variable.
230 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
231 (ceil_test_data): New variable.
232 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
233 (cos_test_data): New variable.
234 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
235 (cos_tonearest_test_data): New variable.
236 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
237 (cos_towardzero_test_data): New variable.
238 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
239 (cos_downward_test_data): New variable.
240 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
241 (cos_upward_test_data): New variable.
242 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
243 (cosh_test_data): New variable.
244 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
245 (cosh_tonearest_test_data): New variable.
246 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
247 (cosh_towardzero_test_data): New variable.
248 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
249 (cosh_downward_test_data): New variable.
250 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
251 (cosh_upward_test_data): New variable.
252 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
253 (erf_test_data): New variable.
254 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
255 (erfc_test_data): New variable.
256 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
257 (exp_test_data): New variable.
258 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
259 (exp_tonearest_test_data): New variable.
260 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
261 (exp_towardzero_test_data): New variable.
262 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
263 (exp_downward_test_data): New variable.
264 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
265 (exp_upward_test_data): New variable.
266 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
267 (exp10_test_data): New variable.
268 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
269 (exp2_test_data): New variable.
270 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
271 (expm1_test_data): New variable.
272 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
273 (fabs_test_data): New variable.
274 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
275 (floor_test_data): New variable.
276 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
277 (j0_test_data): New variable.
278 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
279 (j1_test_data): New variable.
280 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
281 (log_test_data): New variable.
282 (log_test): Run tests with RUN_TEST_LOOP_f_f.
283 (log10_test_data): New variable.
284 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
285 (log1p_test_data): New variable.
286 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
287 (log2_test_data): New variable.
288 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
289 (logb_test_data): New variable.
290 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
291 (logb_downward_test_data): New variable.
292 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
293 (nearbyint_test_data): New variable.
294 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
295 (rint_test_data): New variable.
296 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
297 (rint_tonearest_test_data): New variable.
298 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
299 (rint_towardzero_test_data): New variable.
300 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
301 (rint_downward_test_data): New variable.
302 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
303 (rint_upward_test_data): New variable.
304 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
305 (round_test_data): New variable.
306 (round_test): Run tests with RUN_TEST_LOOP_f_f.
307 (sin_test_data): New variable.
308 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
309 (sin_tonearest_test_data): New variable.
310 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
311 (sin_towardzero_test_data): New variable.
312 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
313 (sin_downward_test_data): New variable.
314 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
315 (sin_upward_test_data): New variable.
316 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
317 (sinh_test_data): New variable.
318 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
319 (sinh_tonearest_test_data): New variable.
320 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
321 (sinh_towardzero_test_data): New variable.
322 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
323 (sinh_downward_test_data): New variable.
324 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
325 (sinh_upward_test_data): New variable.
326 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
327 (sqrt_test_data): New variable.
328 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
329 (tan_test_data): New variable.
330 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
331 (tan_tonearest_test_data): New variable.
332 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
333 (tan_towardzero_test_data): New variable.
334 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
335 (tan_downward_test_data): New variable.
336 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
337 (tan_upward_test_data): New variable.
338 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
339 (tanh_test_data): New variable.
340 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
341 (tgamma_test_data): New variable.
342 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
343 (trunc_test_data): New variable.
344 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
345 (y0_test_data): New variable.
346 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
347 (y1_test_data): New variable.
348 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
349 (significand_test_data): New variable.
350 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
351
7187d844
CG
3522013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
353
354 [BZ #12387]
355 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
356
f63fae73
PT
3572013-05-10 Pino Toscano <toscano.pino@tiscali.it>
358
359 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
360
8a67a4b3
AJ
3612013-05-10 Andreas Jaeger <aj@suse.de>
362
363 [BZ #15448]
364 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
365 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
366
51df539d
JM
3672013-05-10 Joseph Myers <joseph@codesourcery.com>
368
369 * math/gen-libm-test.pl (adjust_arg): New function.
370 (special_functions): Handle generating output in both functions
371 and arrays.
372 (parse_args): Likewise.
373 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
374 $in_func argument to parse_args.
375 * math/libm-test.inc (struct test_f_f_data): New type.
376 (IF_ROUND_INIT_): New macro.
377 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
378 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
379 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
380 (IF_ROUND_INIT_FE_UPWARD): Likewise.
381 (ROUND_RESTORE_): Likewise.
382 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
383 (ROUND_RESTORE_FE_TONEAREST): Likewise.
384 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
385 (ROUND_RESTORE_FE_UPWARD): Likewise.
386 (RUN_TEST_LOOP_f_f): New macro.
387 (acos_test_data): New variable.
388 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
389 (acos_tonearest_test_data): New variable.
390 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
391
5c637fe5
SP
3922013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
393
394 * benchtests/bench-skeleton.c (startup): Fix coding style.
395
ab2b9461
JM
3962013-05-10 Joseph Myers <joseph@codesourcery.com>
397
398 [BZ #6809]
399 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
400 negative infinity argument.
401 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
402 negative infinity argument.
403 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
404 negative infinity argument.
405 * math/libm-test.inc (tgamma_test): Expect errno to be set for
406 domain errors.
407
4c0fe6fe
FW
4082013-05-10 Florian Weimer <fweimer@redhat.com>
409
410 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
411 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
412 * iconv/iconv_prog.c (main): Likewise.
413 * locale/programs/charmap-dir.c (charmap_readdir)
414 (fopen_uncompressed): Likewise.
415 * locale/programs/locfile.c (siblings_uncached)
416 (write_locale_data): Use lstat64 instead of lstat.
417 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
418 stat.
419
a3375d29
AJ
4202013-05-10 Andreas Jaeger <aj@suse.de>
421
422 [BZ #15395]
423 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
424 localization.
425 Include <locale.h>.
426
36129722
CD
4272013-05-09 Carlos O'Donell <carlos@redhat.com>
428
429 * elf/dl-close.c (_dl_close_worker): Add comments.
430
faa7f811
JM
4312013-05-09 Joseph Myers <joseph@codesourcery.com>
432
ed41ffef
JM
433 [BZ #15359]
434 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
435 high part of pi/2.
436 (__ieee754_rem_pio2l): Update comments.
437
d0213cd0
JM
438 [BZ #15429]
439 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
440 high part of pi/2.
441 (__ieee754_rem_pio2l): Update comments.
442
0d3e777a
JM
443 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
444 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
445
24f56066
JM
446 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
447 M_PI_4l.
448
faa7f811
JM
449 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
450 (M_PI_34_LOG10El): Likewise.
451 (M_PI2_LOG10El): Likewise.
452 (M_PI4_LOG10El): Likewise.
453 (M_PI_LOG10El): Likewise.
454
e9a5e0fd
AZ
4552013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456
457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
458
d8cd06db
JM
4592013-05-08 Joseph Myers <joseph@codesourcery.com>
460
a0d9f9d7
JM
461 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
462 (MINUS_ZERO_INIT): Likewise.
463 (PLUS_INFTY_INIT): Likewise.
464 (MINUS_INFTY_INIT): Likewise.
465 (QNAN_VALUE_INIT): Likewise.
466 (MAX_VALUE_INIT): Likewise.
467 (MIN_VALUE_INIT): Likewise.
468 (MIN_SUBNORM_VALUE_INIT): Likewise.
469 (plus_zero): Initialize with PLUS_ZERO_INIT.
470 (minus_zero): Initialize with MINUS_ZERO_INIT.
471 (plus_infty): Initialize with PLUS_INFTY_INIT.
472 (minus_infty): Initialize with MINUS_INFTY_INIT.
473 (qnan_value): Initialize with QNAN_VALUE_INIT.
474 (max_value): Initialize with MAX_VALUE_INIT.
475 (min_value): Initialize with MIN_VALUE_INIT.
476 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
477
ae08db3b
JM
478 * math/libm-test.inc (RUN_TEST_if_f): New macro.
479 (jn_test): Use TEST_if_f instead of TEST_ff_f.
480 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
481 (yn_test): Use TEST_if_f instead of TEST_ff_f.
482
f44bf14a
JM
483 * math/libm-test.inc (RUN_TEST_f_f): New macro.
484 (RUN_TEST_2_f): Likewise.
485 (RUN_TEST_ff_f): Likewise.
486 (RUN_TEST_fi_f): Likewise.
487 (RUN_TEST_fl_f): Likewise.
488 (RUN_TEST_fff_f): Likewise.
489 (RUN_TEST_c_f): Likewise.
490 (RUN_TEST_f_f1): Likewise.
491 (RUN_TEST_fF_f1): Likewise.
492 (RUN_TEST_fI_f1): Likewise.
493 (RUN_TEST_ffI_f1): Likewise.
494 (RUN_TEST_c_c): Likewise.
495 (RUN_TEST_cc_c): Likewise.
496 (RUN_TEST_f_i): Likewise.
497 (RUN_TEST_f_i_tg): Likewise.
498 (RUN_TEST_ff_i_tg): Likewise.
499 (RUN_TEST_f_b): Likewise.
500 (RUN_TEST_f_b_tg): Likewise.
501 (RUN_TEST_f_l): Likewise.
502 (RUN_TEST_f_L): Likewise.
503 (RUN_TEST_sincos): Likewise.
504 * math/gen-libm-test.pl (new_test): Take new argument to indicate
505 whether to show exceptions. Do not include ");\n" in return
506 value.
507 (special_functions): Output call to RUN_TEST_sincos instead of
508 check_float calls. Update calls to new_test.
509 (parse_args): Output call to single RUN_TEST_* macro instead of
510 check_* calls and other assignments. Update calls to new_test.
511
d8cd06db
JM
512 [BZ #2546]
513 [BZ #2560]
514 [BZ #5159]
515 [BZ #15426]
516 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
517 input to result for tgamma overflow.
518 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
519 (gamma_coeff): New variable.
520 (NCOEFF): New macro.
521 (gamma_positive): New function.
522 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
523 underflow here. Use gamma_positive instead of exp (lgamma) for
524 other arguments.
525 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
526 (gamma_coeff): New variable.
527 (NCOEFF): New macro.
528 (gammaf_positive): New function.
529 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
530 underflow here. Use gamma_positive instead of exp (lgamma) for
531 other arguments.
532 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
533 (gamma_coeff): New variable.
534 (NCOEFF): New macro.
535 (gammal_positive): New function.
536 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
537 underflow here. Use gamma_positive instead of exp (lgamma) for
538 other arguments.
539 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
540 (gamma_coeff): New variable.
541 (NCOEFF): New macro.
542 (gammal_positive): New function.
543 (__ieee754_gammal_r): Handle positive infinity, overflow and
544 underflow here. Handle NaN the same as positive infinity. Remove
545 check x < 0xffffffff for negative integers. Use gamma_positive
546 instead of exp (lgamma) for other arguments.
547 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
548 (gamma_coeff): New variable.
549 (NCOEFF): New macro.
550 (gammal_positive): New function.
551 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
552 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
553 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
554 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
555 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
556 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
557 * sysdeps/generic/math_private.h (__gamma_productf): New
558 prototype.
559 (__gamma_product): Likewise.
560 (__gamma_productl): Likewise.
561 * math/Makefile (libm-calls): Add gamma_product.
562 * math/libm-test.inc (tgamma_test): Add more tests.
563 * sysdeps/i386/fpu/libm-test-ulps: Update.
564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
565
bb7cf681
OB
5662013-05-08 Ondřej Bílka <neleai@seznam.cz>
567
568 * benchtests/bench-skeleton.c (main): Preheat CPU.
569
ba853947
AJ
5702013-05-07 Aurelien Jarno <aurelien@aurel32.net>
571
572 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
573
8347c74c
RM
5742013-05-07 Roland McGrath <roland@hack.frob.com>
575
576 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
577 and _dl_skip_args_internal.
578
e8dd4791
CD
5792013-05-07 Carlos O'Donell <carlos@redhat.com>
580
581 * manual/message.texi (Message Translation): Talk about users.
582 Message to key mapping impacts design.
583
c7405830
RM
5842013-05-06 Roland McGrath <roland@hack.frob.com>
585
a9173057
RM
586 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
587
976e2f03
RM
588 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
589
9723ffc5
RM
590 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
591 * sysdeps/wordsize-64/glob64.c: ... here.
592
962e6658
RM
593 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
594 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
595 New macros.
596
ee586a6d
RM
597 * debug/getlogin_r_chk.c: Moved to ...
598 * login/getlogin_r_chk.c: ... here.
599 * debug/Makefile (routines): Move getlogin_r_chk to ...
600 * login/Makefile (routines): ... here.
601 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
602 * login/Versions (libc: GLIBC_2.4): ... here.
603
355f9165
RM
604 * io/poll.c (__poll): Renamed from poll.
605 Add libc_hidden_def.
606 (poll): Define as weak alias.
607
bd9ffde6
RM
608 * debug/ptsname_r_chk.c: Moved to ...
609 * login/ptsname_r_chk.c: ... here.
610 * debug/Makefile (routines): Move ptsname_r_chk to ...
611 * login/Makefile (routines): ... here.
612 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
613 * login/Versions (libc: GLIBC_2.4): ... here.
614
8fb16a04
RM
615 * posix/getlogin.c: Moved to ...
616 * login/getlogin.c: ... here.
617 * posix/getlogin_r.c: Moved to ...
618 * login/getlogin_r.c: ... here.
619 * posix/getlogin_r.c: Moved to ...
620 * login/getlogin_r.c: ... here.
621 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
622 * login/Makefile (routines): ... here.
623 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
624 * login/Versions (libc: GLIBC_2.0): ... here.
625
b99b892f
RM
626 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
627 (setrlimit): Define as weak alias.
628
c7405830
RM
629 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
630 Call __ names for open, ftruncate, and close.
631 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
632 (truncate): Define as weak alias.
633
5bf96de5
JM
6342013-05-06 Joseph Myers <joseph@codesourcery.com>
635
9ea3513c
JM
636 * math/gen-libm-test.pl (parse_args): Initialize x before each
637 test of frexp, modf and remquo.
638
5bf96de5
JM
639 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
640 test signgam value.
641
16e616a7
AZ
6422013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
643
644 [BZ #15418]
645 [BZ #15419]
646 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
647 internal tests.
648 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
649
d5e82754
RM
6502013-05-06 Roland McGrath <roland@hack.frob.com>
651
652 * elf/dl-writev.h: New file.
653 * elf/dl-misc.c: Include it.
654 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
655 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
656
a7548d41
JM
6572013-05-04 Joseph Myers <joseph@codesourcery.com>
658
b7dab1e4
JM
659 * math/libm-test.inc (noXFails): Remove variable.
660 (noXPasses): Likewise.
661 (BUILD_COMPLEX_INT): Remove macro.
662 (print_screen): Remove xfail argument.
663 (print_screen_max_error): Likewise.
664 (update_stats): Likewise.
665 (print_max_error): Likewise. Update calls to other affected
666 functions.
667 (print_complex_max_error): Likewise.
668 (test_single_exception): Update calls to print_screen.
669 (test_single_errno): Likewise.
670 (check_float_internal): Remove xfail argument. Update calls to
671 other affected functions.
672 (check_float): Likewise.
673 (check_complex): Likewise.
674 (check_int): Likewise.
675 (check_long): Likewise.
676 (check_bool): Likewise.
677 (check_longlong): Likewise.
678 (main): Don't print noXFails and noXPasses.
679 * math/gen-libm-test.pl (top level): Don't mention expected
680 failure handling in comment.
681 (new_test): Don't handle expected failures.
682 (parse_args): Don't mention expected failure handling in comment.
683 (generate_testfile): Don't handle expected failures.
684 (parse_ulps): Likewise.
685 (print_ulps_file): Likewise.
686 (get_failure): Remove function.
687 (output_test): Don't handle expected failures.
688 * make/README.libm-test: Don't mention expected failure handling.
689
a7548d41
JM
690 * math/libm-test.inc (plus_zero): Make const. Add initializer.
691 (minus_zero): Likewise.
692 (plus_infty): Likewise.
693 (minus_infty): Likewise.
694 (qnan_value): Likewise.
695 (max_value): Likewise.
696 (min_value): Likewise.
697 (min_subnorm_value): Likewise.
698 (initialize): Do not initialize those variables dynamically.
699
60bfd54c
RM
7002013-05-03 Roland McGrath <roland@hack.frob.com>
701
cc0e6ed8
RM
702 * io/open.c (__open_2): Moved to ...
703 * io/open_2.c: ... this new file.
704 * io/open64.c (__open64_2): Moved to ...
705 * io/open64_2.c: ... this new file.
706 * io/openat.c (__openat_2): Moved to ...
707 * io/openat_2.c: ... this new file.
708 * io/openat64.c (__openat64_2): Moved to ...
709 * io/openat64_2.c: ... this new file.
710 * io/Makefile (routines): Add them.
711 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
712 * sysdeps/unix/sysv/linux/open_2.c: File removed.
713 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
714 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
715 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
716 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
717 (__openat64): Add hidden_ver.
718 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
719 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
720
60bfd54c
RM
721 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
722 Separately conditionalize setting of GLRO(dl_sysinfo) so
723 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
724 as well, but the actual setting is only under [NEED_DL_SYSINFO].
725
83e7640f
AZ
7262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
727
728 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
729 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
730 definition.
731 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
732 * sysdeps/unix/sysv/linux/powerpc/init-first.c
733 (_libc_vdso_platform_setup): Add __vdso_time initialization.
734 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
735 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
736
d5dc2af3
JM
7372013-05-03 Joseph Myers <joseph@codesourcery.com>
738
c31a5b1e
JM
739 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
740 test signgam value.
741
d5dc2af3
JM
742 * math/libm-test.inc (hypot_test): Do not use
743 IGNORE_ZERO_INF_SIGN.
744
164fd39d
AJ
7452013-05-03 Andreas Jaeger <aj@suse.de>
746
747 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
748 Linux 3.9.
749 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
750 (PF_MAX): Adjust for VSOCK change.
751
8237f48c
AZ
7522013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753
754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
755
9df02941
CD
7562013-05-02 Carlos O'Donell <carlos@redhat.com>
757
758 [BZ #15264]
759 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
760 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
761 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
762
d422395e
DM
7632013-05-02 David S. Miller <davem@davemloft.net>
764
765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
766
a07c5731
OB
7672013-05-01 Ondřej Bílka <neleai@seznam.cz>
768
769 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
770
1324e37f
RM
7712013-05-01 Roland McGrath <roland@hack.frob.com>
772
773 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
774
0695940b
RS
7752013-05-01 Richard Smith <richard@metafoo.co.uk>
776
bb5f27ad 777 [BZ #14952]
0695940b
RS
778 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
779 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
780 Use __attribute__ ((__gnu_inline__)).
781 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
782 Don't use __attribute__ ((__gnu_inline__)).
783
10de07f5
JM
7842013-05-01 Joseph Myers <joseph@codesourcery.com>
785
786 [BZ #15423]
787 * math/s_catan.c (__catan): Handle small real or imaginary part of
788 input specially to avoid spurious underflow.
789 * math/s_catanf.c (__catanf): Likewise.
790 * math/s_catanh.c (__catanh): Likewise.
791 * math/s_catanhf.c (__catanhf): Likewise.
792 * math/s_catanhl.c (__catanhl): Likewise.
793 * math/s_catanl.c (__catanl): Likewise.
794 * math/libm-test.inc (catan_test): Add more tests.
795 (catanh_test): Likewise.
796 * sysdeps/i386/fpu/libm-test-ulps: Update.
797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
798
cb4d5414
AZ
7992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
800
801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
802
caf84319
JM
8032013-04-30 Joseph Myers <joseph@codesourcery.com>
804
805 [BZ #15416]
806 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
807 accurately for denominator in atan2.
808 * math/s_catanf.c (__catanf): Likewise.
809 * math/s_catanh.c (__catanh): Likewise.
810 * math/s_catanhf.c (__catanhf): Likewise.
811 * math/s_catanhl.c (__catanhl): Likewise.
812 * math/s_catanl.c (__catanl): Likewise.
813 * math/libm-test.inc (catan_test): Add more tests.
814 (catanh_test): Likewise.
815 * sysdeps/i386/fpu/libm-test-ulps: Update.
816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
817
d569c6ee
SP
8182013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
819
6dbe713d
SP
820 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
821
f0ee064b
SP
822 * benchtests/Makefile (bench): Remove slow benchmarks.
823 * benchtests/atan-inputs: Add slow benchmark inputs.
824 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
825 (BENCH_FUNC): Accept variant offset.
826 (VARIANT): Define.
827 * benchtests/bench-skeleton.c (main): Run benchmark for each
828 variant.
829 * benchtests/cos-inputs: Add slow benchmark inputs.
830 * benchtests/exp-inputs: Likewise.
831 * benchtests/pow-inputs: Likewise.
832 * benchtests/sin-inputs: Likewise.
833 * benchtests/slowatan-inputs: Remove.
834 * benchtests/slowatan.c: Remove.
835 * benchtests/slowcos-inputs: Remove.
836 * benchtests/slowcos.c: Remove.
837 * benchtests/slowexp-inputs: Remove.
838 * benchtests/slowexp.c: Remove.
839 * benchtests/slowpow-inputs: Remove.
840 * benchtests/slowpow.c: Remove.
841 * benchtests/slowsin-inputs: Remove.
842 * benchtests/slowsin.c: Remove.
843 * benchtests/slowtan-inputs: Remove.
844 * benchtests/slowtan.c: Remove.
845 * benchtests/tan-inputs: Add slow benchmark inputs.
846 * scripts/bench.pl: Parse comments and directives.
847
d569c6ee
SP
848 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
849 in CPPFLAGS.
850 ($(objpfx)bench-%.c): Remove *-ITER.
851 * benchtests/bench-modf.c: Remove definition of ITER.
852 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
853 (main): Loop for DURATION seconds instead of fixed number of
854 iterations.
855 * scripts/bench.pl: Don't expect iterations in parameters.
856
a6a242fe
RM
8572013-04-29 Roland McGrath <roland@hack.frob.com>
858
859 * io/fchdir.c (__fchdir): Renamed from fchdir.
860 (fchdir): Define as weak alias.
861
f2da7793
JM
8622013-04-29 Joseph Myers <joseph@codesourcery.com>
863
864 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
865 (ERRNO_EDOM): Likewise.
866 (ERRNO_ERANGE): Likewise.
867 (noErrnoTests): New variable.
868 (init_max_error): Set errno to 0.
869 (test_single_errno): New function.
870 (test_errno): Likewise.
871 (check_float_internal): Call test_errno. Set errno to 0.
872 (check_complex): Refer to errno tests in comment.
873 (check_int): Call test_errno. Set errno to 0.
874 (check_long): Likewise.
875 (check_bool): Likewise.
876 (check_longlong): Likewise.
877 (cos_test): Use ERRNO_* flags for errno tests instead of
878 check_int.
879 (expm1_test): Likewise.
880 (fmod_test): Likewise.
881 (ilogb_test): Likewise.
882 (lgamma_test): Likewise.
883 (pow_test): Likewise.
884 (remainder_test): Likewise.
885 (sin_test): Likewise.
886 (tan_test): Likewise.
887 (yn_test): Likewise.
888 (initialize): Set errno to 0.
889 (main): Print number of errno tests.
890 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
891
b1a36ceb
AJ
8922013-04-29 Andreas Jaeger <aj@suse.de>
893
c3ed8088
AJ
894 [BZ #15084]
895 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
896 and RES_USEVC.
897
f1a24198
AJ
898 [BZ #15085]
899 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
900 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
901 unimplemented.
902
9ce3b2cb
AJ
903 [BZ #15380]
904 * stdlib/random.c (__initstate): Return NULL if
905 __initstate fails.
906
f1a24198 907 [BZ #15086]
b1a36ceb
AJ
908 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
909 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
910 RES_SNGLKUPREOP.
911
7e7b6f36
AZ
9122013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
913
914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
915
4d14f449
JM
9162013-04-29 Joseph Myers <joseph@codesourcery.com>
917
918 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
919 of individual tests.
920 (casin_test): Likewise.
921 (casinh_test): Likewise.
922
5b4217d7
JM
9232013-04-27 Joseph Myers <joseph@codesourcery.com>
924
925 [BZ #15409]
926 * math/s_catan.c (__catan): Handle arguments with large real or
927 imaginary part separately without squaring.
928 * math/s_catanf.c (__catanf): Likewise.
929 * math/s_catanh.c (__catanh): Likewise.
930 * math/s_catanhf.c (__catanhf): Likewise.
931 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
932 and redefine.
933 (__catanhl): Handle arguments with large real or imaginary part
934 separately without squaring.
935 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
936 and redefine.
937 (__catanl): Handle arguments with large real or imaginary part
938 separately without squaring.
939 * math/libm-test.inc (catan_test): Add more tests.
940 (catanh_test): Likewise.
941 * sysdeps/i386/fpu/libm-test-ulps: Update.
942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
943
4220c3ef
AJ
9442013-04-27 Andreas Jaeger <aj@suse.de>
945
946 [BZ #15007]
947 * stdlib/stdlib.h: Update guards for qecvt.
948 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
949 <stdlib.h>.
950
4721b2d1
AM
9512013-04-27 Allan McRae <allan@archlinux.org>
952
953 * sysdeps/i386/fpu/libm-test-ulps: Update.
954
f0302940
JM
9552013-04-26 Joseph Myers <joseph@codesourcery.com>
956
9457fd95
JM
957 [BZ #15406]
958 * math/s_catan.c: Include <float.h>.
959 (__catan): Ensure underflow exception occurs for underflowed
960 result.
961 * math/s_catanf.c: Include <float.h>.
962 (__catanf): Ensure underflow exception occurs for underflowed
963 result.
964 * math/s_catanh.c: Include <float.h>.
965 (__catanh): Ensure underflow exception occurs for underflowed
966 result.
967 * math/s_catanhf.c: Include <float.h>.
968 (__catanhf): Ensure underflow exception occurs for underflowed
969 result.
970 * math/s_catanhl.c: Include <float.h>.
971 (__catanhl): Ensure underflow exception occurs for underflowed
972 result.
973 * math/s_catanl.c: Include <float.h>.
974 (__catanl): Ensure underflow exception occurs for underflowed
975 result.
976 * math/libm-test.inc (catan_test): Add more tests.
977 (catanh_test): Likewise.
978
f0302940
JM
979 [BZ #15405]
980 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
981 underflowed result.
982 * math/s_ccoshf.c (__ccoshf): Likewise.
983 * math/s_ccoshl.c (__ccoshl): Likewise.
984 * math/s_csin.c (__csin): Likewise.
985 * math/s_csinf.c (__csinf): Likewise.
986 * math/s_csinh.c (__csinh): Likewise.
987 * math/s_csinhf.c (__csinhf): Likewise.
988 * math/s_csinhl.c (__csinhl): Likewise.
989 * math/s_csinl.c (__csinl): Likewise.
990 * math/libm-test.inc (ccos_test): Add more tests.
991 (ccosh_test): Likewise.
992 (csin_test): Likewise.
993 (csinh_test): Likewise.
994
aa630f59
AZ
9952013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996
997 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
998 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
999 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1000 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1001 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1002 powerpc/power5+/fpu folders.
1003 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1004
1005
1b835983
MT
10062013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1007
1008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1009
73709b26
JM
10102013-04-25 Joseph Myers <joseph@codesourcery.com>
1011
1012 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1013 additions to variable.
1014 [$(config-machine) = x86_64] (modules-names): Likewise.
1015 ($(objpfx)tst-audit3): Remove dependency.
1016 ($(objpfx)tst-audit3.out): Likewise.
1017 ($(objpfx)tst-audit4): Likewise.
1018 ($(objpfx)tst-audit4.out): Likewise.
1019 ($(objpfx)tst-audit5): Likewise.
1020 ($(objpfx)tst-audit5.out): Likewise.
1021 ($(objpfx)tst-audit6): Likewise.
1022 ($(objpfx)tst-audit6.out): Likewise.
1023 ($(objpfx)tst-audit7): Likewise.
1024 ($(objpfx)tst-audit7.out): Likewise.
1025 (tst-audit3-ENV): Remove variable.
1026 (tst-audit4-ENV): Likewise.
1027 (tst-audit5-ENV): Likewise.
1028 (tst-audit6-ENV): Likewise.
1029 (tst-audit7-ENV): Likewise.
1030 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1031 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1032 addition to variable.
1033 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1034 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1035 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1036 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1037 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1038 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1039 tst-audit3, tst-audit4 and tst-audit5.
1040 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1041 tst-audit6 and tst-audit7.
1042 [$(subdir) = elf] (modules-names): Add audit modules for those
1043 tests.
1044 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1045 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1046 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1047 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1048 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1049 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1050 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1051 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1052 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1053 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1054 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1055 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1056 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1057 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1058 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1059 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1060 Likewise.
1061 [$(subdir) = elf && $(config-cflags-avx) = yes]
1062 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1063 [$(subdir) = elf && $(config-cflags-avx) = yes]
1064 (CFLAGS-tst-auditmod4a.c): Likewise.
1065 [$(subdir) = elf && $(config-cflags-avx) = yes]
1066 (CFLAGS-tst-auditmod4b.c): Likewise.
1067 [$(subdir) = elf && $(config-cflags-avx) = yes]
1068 (CFLAGS-tst-auditmod6b.c): Likewise.
1069 [$(subdir) = elf && $(config-cflags-avx) = yes]
1070 (CFLAGS-tst-auditmod6c.c): Likewise.
1071 [$(subdir) = elf && $(config-cflags-avx) = yes]
1072 (CFLAGS-tst-auditmod7b.c): Likewise.
1073 * elf/tst-audit3.c: Move to ...
1074 * sysdeps/x86_64/tst-audit3.c: ... here.
1075 * elf/tst-audit4.c: Move to ...
1076 * sysdeps/x86_64/tst-audit4.c: ... here.
1077 * elf/tst-audit5.c: Move to ...
1078 * sysdeps/x86_64/tst-audit5.c: ... here.
1079 * elf/tst-audit6.c: Move to ...
1080 * sysdeps/x86_64/tst-audit6.c: ... here.
1081 * elf/tst-audit7.c: Move to ...
1082 * sysdeps/x86_64/tst-audit7.c: ... here.
1083 * elf/tst-auditmod3a.c: Move to ...
1084 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1085 * elf/tst-auditmod3b.c: Move to ...
1086 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1087 * elf/tst-auditmod4a.c: Move to ...
1088 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1089 * elf/tst-auditmod4b.c: Move to ...
1090 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1091 * elf/tst-auditmod5a.c: Move to ...
1092 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1093 * elf/tst-auditmod5b.c: Move to ...
1094 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1095 * elf/tst-auditmod6a.c: Move to ...
1096 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1097 * elf/tst-auditmod6b.c: Move to ...
1098 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1099 * elf/tst-auditmod6c.c: Move to ...
1100 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1101 * elf/tst-auditmod7a.c: Move to ...
1102 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1103 * elf/tst-auditmod7b.c: Move to ...
1104 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1105
1ef74943
PP
11062013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1107
1108 [BZ #15366]
1109 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1110 define unconditionally.
1111 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1112 define unconditionally.
1113 (INT8_C, INT16_C, etc.): Likewise.
1114
93fd48c5
MR
11152013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1116
ae9552cf
MR
1117 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1118 __ehdr_start with hidden visibility.
1119
93fd48c5
MR
1120 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1121
418601aa
CD
11222013-04-24 Carlos O'Donell <carlos@redhat.com>
1123
1124 * math/libm-test.inc (cos_test): Use accurate hex constants.
1125 (sincost_test): Likewise.
1126
2f38fbfe
JM
11272013-04-24 Joseph Myers <joseph@codesourcery.com>
1128
5e221800
JM
1129 * math/libm-test.inc (catan_test): Add more tests.
1130 (catanh_test): Likewise.
1131
77f143fd
JM
1132 * math/s_catanf.c (__catanf): Use suffixed floating-point
1133 constants.
1134 * math/s_catanhf.c (__catanhf): Likewise.
1135 * math/s_catanhl.c (__catanhl): Likewise.
1136 * math/s_catanl.c (__catanl): Likewise.
1137
2f38fbfe
JM
1138 [BZ #15394]
1139 * math/s_catan.c (__catan): Calculate imaginary part of result
1140 with log1p not log unless computing log of number close to 0.
1141 * math/s_catanf.c (__catanf): Likewise.
1142 * math/s_catanl.c (__catanl): Likewise.
1143 * math/s_catanh.c (__catanh): Calculate real part of result with
1144 log1p not log unless computing log of number close to 0.
1145 * math/s_catanhf.c (__catanhf): Likewise.
1146 * math/s_catanhl.c (__catanhl): Likewise.
1147 * math/libm-test.inc (catan_test): Add more tests.
1148 (catanh_test): Likewise.
1149 * sysdeps/i386/fpu/libm-test-ulps: Update.
1150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1151
45d69176
SP
11522013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1153
1154 * benchtests/Makefile: Mention files in which fast and slow
1155 paths of math functions are implemented.
1156
87f51853
RM
11572013-04-23 Roland McGrath <roland@hack.frob.com>
1158
1159 * sysdeps/posix/timespec_get.c: New file.
1160
3c026539
AZ
11612013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1162
1163 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1164 POWER.
1165 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1166 for POWER.
1167 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1168 powerpc/power5/fpu folders.
1169 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1170 * benchtests/Makefile: Add modf testcase.
1171 * benchtests/bench-modf.c: New file: Benchmark test for mo
1172
ff491d14
SP
11732013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1174
1175 [BZ #14888]
1176 * time/Makefile (tests): Add tst-strptime-whitespace.
1177 * time/strptime_l.c (get_number): Use ISSPACE.
1178 (__strptime_internal): Likewise.
1179 * time/tst-strptime-whitespace.c: New test case.
1180
7ed3f4e8
AS
11812013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1182
1183 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1184 member.
1185 (_nss_files_init): Set it here.
1186
5c95f7b6
HC
11872013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1188
1189 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1190 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1191 unsigned.
1192
d34c9158
JBG
11932013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1194
1195 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1196
2169712d
SP
11972013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1198
1199 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1200 size just once.
1201
29c5de99
DM
12022013-04-21 David S. Miller <davem@davemloft.net>
1203
1204 * po/ru.po: Update Russion translation from translation project.
1205
ccdad15d
AC
12062013-04-17 Adam Conrad <adconrad@0c3.net>
1207
1208 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1209 and setfsgid.
1210
0f122b8d
CD
12112013-04-17 Carlos O'Donell <carlos@redhat.com>
1212
5c5b07da 1213 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 1214 * configure: Regenerate.
5c5b07da 1215 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
1216 Add example to error message.
1217 * sysdeps/i386/configure: Regenerate.
1218
037714dd
SP
12192013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1220
1221 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1222 slowtan.
1223 * benchtests/cos-inputs: New file.
1224 * benchtests/slowcos-inputs: New file.
1225 * benchtests/slowcos.c: New file.
1226 * benchtests/slowtan-inputs: New file.
1227 * benchtests/slowtan.c: New file.
1228 * benchtests/tan-inputs: New file.
1229
e913141d
RM
12302013-04-16 Roland McGrath <roland@hack.frob.com>
1231
1232 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1233 considered kosher.
1234
a2964074
SP
12352013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1236
4856bcd2
SP
1237 * benchtests/Makefile: Include cppflags-iterator.mk to add
1238 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1239
a2964074
SP
1240 * Makefile.in (bench-clean): New target.
1241 * benchtests/Makefile (bench-clean): Likewise.
1242
9fbf9aca
DH
12432013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1244
1245 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1246
207d1e2a
TS
12472013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1248
1249 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1250
306dfba9
AS
12512013-04-15 Andreas Schwab <schwab@suse.de>
1252
1253 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1254 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1255 * nscd/pwdcache.c (cache_addpw): Likewise.
1256 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1257 more than recsize.
1258
206a6699
SP
12592013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1260
1261 * benchtests/Makefile (bench): Write all output to
1262 bench-out.tmp together.
1263
0582f6b3
AS
12642013-04-15 Andreas Schwab <schwab@suse.de>
1265
1266 * nscd/nscd.c (main): Don't fork again after closing files.
1267
acb4325f
SP
12682013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1269
5cb26d0a
SP
1270 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1271
acb4325f
SP
1272 * benchtests/Rules (bench-deps): Collect dependencies into a
1273 single variable. Add Makefile to dependencies.
1274 ($(objpfx)bench-%.c): Depend on bench-deps.
1275
47792506
RM
12762013-04-12 Roland McGrath <roland@hack.frob.com>
1277 Xavier Roche <roche+kml2@exalead.com>
1278
1279 [BZ #15361]
1280 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1281 just that it's a file descriptor.
1282 * manual/llio.texi (Synchronizing AIO Operations): Update description
1283 for EBADF error from aio_fsync.
1284
8fc1bee5
SP
12852013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1286
1287 * Rules (bench): Move target definition...
1288 * benchtests/Makefile: ... here.
1289
aba5e333
CD
12902013-04-11 Carlos O'Donell <carlos@redhat.com>
1291
1292 * math/libm-test.inc (cos_test): Fix PI/2 test.
1293 (sincos_test): Likewise.
1294 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1295 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1296
273cdee8
AS
12972013-04-11 Andreas Schwab <schwab@suse.de>
1298
6ecec3b6
AS
1299 [BZ #13988]
1300 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1301 accept exponent character only when digits were seen.
1302 * stdio-common/Makefile (tests): Add bug26.
1303 * stdio-common/bug26.c: New file.
1304
273cdee8
AS
1305 [BZ #14293]
1306 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1307 non-freeable.
1308
8da491f5
SP
13092013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1310
01dc6df9
SP
1311 * Makeconfig (rtld-prefix): Define built linker prefix.
1312 * Rules (run-bench): Use it.
1313 * math/Makefile (run-regen-ulps): Likewise.
1314
8da491f5
SP
1315 * Rules (bench): Remove eval.
1316
abe7f530
SP
13172013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1318 Roland McGrath <roland@hack.frob.com>
1319 Ondrej Bilka <neleai@seznam.cz>
1320
1321 [BZ #15346]
1322 * time/getdate.c: Include ctype.h and alloca.h.
1323 (__getdate_r): Trim leading and trailing spaces of input.
1324 * time/tst-getdate.c (tests): Add tests with leading and
1325 trailing spaces.
1326
61c23e62
RM
13272013-04-08 Roland McGrath <roland@hack.frob.com>
1328
1329 [BZ #14280]
1330 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1331 when computing value.
1332
7208a313
CD
13332013-04-06 Carlos O'Donell <carlos@redhat.com>
1334
085b2d41
CD
1335 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1336 Use testrun.sh to run libm tests.
1337
7208a313
CD
1338 [BZ #15309]
1339 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1340
872c0acd
MM
13412013-04-06 Marko Myllynen <myllynen@redhat.com>
1342
1343 [BZ #15264]
1344 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1345
26510bdd
CD
13462013-04-06 Carlos O'Donell <carlos@redhat.com>
1347
1348 * Makefile.in (regen-ulps): New target.
1349 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1350 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1351 [ifneq (no,$(PERL)] (regen-ulps): New target.
1352 [ifeq (no,$(PERL)] (regen-ulps): New target.
1353 * math/libm-test.inc (ulps_file_name): Define.
1354 (output_dir): New variable.
1355 (options): Add "output-dir" option.
1356 (parse_opt): Handle 'o' case.
1357 (main): If output_dir is non-NULL use it as a prefix
1358 otherwise use "".
1359 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1360
a01f19c8
CD
13612013-04-06 Carlos O'Donell <carlos@redhat.com>
1362
1363 [BZ #10060, #10062]
1364 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1365 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1366 fail configure if __sync_val_compare_and_swap is not inlined.
1367 * sysdeps/i386/configure: Regenerate.
1368 * configure.in: Build for i686 when configured for i386.
1369 * configure: Regenerate.
1370 * README: Remove i386 reference.
1371
b7a329a5
CD
13722013-04-06 Carlos O'Donell <carlos@redhat.com>
1373
1374 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1375 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1376
bf0f50df
TS
13772013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1378
ee091edf
TS
1379 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1380 (lmsnanval): New variables.
1381 (F): Add conversion tests.
1382 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1383 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1384
a8b792d6
TS
1385 * stdio-common/tstdiomisc.c (F): Properly collect individual
1386 tests' results.
1387
a1cbf437
TS
1388 [BZ #14686, #15336]
1389 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1390 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1391 Instead, use input NaN values or generate a qNaN by arithmetic
1392 operation. Also fix bugs to comply with the standard.
1393 * math/libm-test.inc (remainder_test): Add more tests.
1394
8b43a0c9
TS
1395 [BZ #15335, #15342]
1396 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1398 input NaN values or generate a qNaN by arithmetic operation.
1399
d91da4ce
TS
1400 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1401 unreachable code.
1402
bf0f50df
TS
1403 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1404 definitions.
1405
05e166c8
JM
14062013-04-03 Joseph Myers <joseph@codesourcery.com>
1407
1408 [BZ #14478]
1409 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1410 underflowed result.
1411 * math/s_cexpf.c (__cexpf): Likewise.
1412 * math/s_cexpl.c (__cexpl): Likewise.
1413 * math/libm-test.inc (cexp_test): Add more tests.
1414
1cef1b19
AS
14152013-04-03 Andreas Schwab <schwab@suse.de>
1416
1417 [BZ #15330]
1418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1419 order arrays from heap if bigger than alloca cutoff.
1420
74d87055
TS
14212013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1422
1423 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1424 (SNAN_TESTS_double): Refer to GCC PR56831.
1425 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1426 GCC PR56828.
1427
d755bba4
SP
14282013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1429
90d5d5bb
SP
1430 * Rules (bench): Move bench.out after the run is complete.
1431
73e0cd5d
SP
1432 * Rules (bench): Echo currently running benchmark.
1433
64aabd4b
SP
1434 * benchtests/Makefile (bench): Add atan and slowatan.
1435 * benchtests/atan-inputs: New file.
1436 * benchtests/slowatan-inputs: New file.
1437 * benchtests/slowatan.c: New file.
1438
c871eccd
SP
1439 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1440 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1441 its value.
1442
d755bba4
SP
1443 [BZ #15305]
1444 * sysdeps/unix/sysv/linux/kernel-features.h
1445 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1446 __ASSUME_XFS_RESTRICTED_CHOWN.
1447 * sysdeps/unix/sysv/linux/pathconf.c
1448 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1449 Save and restore errno.
1450
52ce4860
JM
14512013-04-02 Joseph Myers <joseph@codesourcery.com>
1452
1453 [BZ #15327]
1454 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1455 arguments using __kernel_casinh.
1456 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1457 arguments using __kernel_casinhf.
1458 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1459 arguments using __kernel_casinhl.
1460 * math/libm-test.inc (cacosh_test): Add more tests.
1461 * sysdeps/i386/fpu/libm-test-ulps: Update.
1462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1463
81f311c2
SP
14642013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1465
e7906a47
SP
1466 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1468
92e3664b
SP
1469 * bench/Makefile (bench): Add sin and slowsin.
1470 * benchtests/sin-inputs: New file.
1471 * benchtests/slowsin-inputs: New file.
1472 * benchtests/slowsin.c: New file.
1473
81f311c2
SP
1474 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1475 (bench): Add slowexp and slowpow.
1476 (exp-ITER): Increase iterations.
1477 (pow-ITER): Likewise.
1478 * benchtests/exp-inputs: Change input.
1479 * benchtests/pow-inputs: Likewise.
1480 * benchtests/slowexp-inputs: New file.
1481 * benchtests/slowexp.c: New file.
1482 * benchtests/slowpow-inputs: New file.
1483 * benchtests/slowpow.c: New file.
1484
ab0f1aa9
AZ
14852013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1486
1487 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1488 instructions.
1489 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1490 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1491 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1492 * benchtests/Makefile: Add rint benchtest.
1493 * benchtests/rint-inputs: Input for rint benchtest.
1494
57267616
TS
14952013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1496
1497 * Versions.def (libm): Add GLIBC_2.18.
1498 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1499 hidden libm prototypes.
1500 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1501 * math/Makefile (libm-calls): Add s_issignaling.
1502 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1503 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1504 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1505 declaration.
1506 * math/math.h [__USE_GNU] (issignaling): New macro.
1507 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1508 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1510 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1512 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1513 * manual/arith.texi (issignaling): New section.
1514 * manual/libm-err-tab.pl (@all_functions): Update comment.
1515 * math/gen-libm-test.pl (parse_args): Apply special handling for
1516 issignaling.
1517 * math/libm-test.inc (print_float, issignaling_test): New
1518 functions.
1519 (check_float_internal): Add issignaling checks.
1520 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1521 default definition.
1522 * sysdeps/powerpc/math-tests.h: New file.
1523 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1524 tests.
1525 * math/test-snan.c (TEST_FUNC): Likewise.
1526
6142896d
DM
15272013-03-30 David S. Miller <davem@davemloft.net>
1528
1529 * po/de.po: Update from translation team.
1530
ccc8cadf
JM
15312013-03-30 Joseph Myers <joseph@codesourcery.com>
1532
1533 [BZ #10357]
1534 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1535 imaginary part less than 1.0 and real part less than 0.5
1536 specially.
1537 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1538 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1539 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1540 (cacos_test): Add more tests.
1541 (casin_test): Likewise.
1542 (casinh_test): Likewise.
1543 * sysdeps/i386/fpu/libm-test-ulps: Update.
1544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1545
0f6a8d4b
SP
15462013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1547
0d1029de
SP
1548 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1549 ONE with its value.
1550
c2d94018
SP
1551 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1552 (__pow_mp): Replace ONE and MONE with their values.
1553 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1554 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1555 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1556 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1557 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1558 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1559
27ec37f1
SP
1560 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1561
a64d7e0e
SP
1562 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1563 (__pow_mp): Replace ZERO and MZERO with their values.
1564 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1565 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1566 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1568 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1569 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1570 (__sqr): Likewise.
1571
d26dd3eb
SP
1572 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1573
0f6a8d4b
SP
1574 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1575
e57b0c61
RM
15762013-03-28 Roland McGrath <roland@hack.frob.com>
1577
1578 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1579 Declare with __attribute__ ((weak)).
1580 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1581 Call __call_tls_dtors only if it's not NULL.
1582
356b3480
RM
15832013-03-28 Roland McGrath <roland@hack.frob.com>
1584
288f7d79
RM
1585 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1586 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1587 magic __ehdr_start linker symbol if it's defined.
1588 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1589 them up here if it was already done.
1590
dc0a0263
RM
1591 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1592 (_dl_aux_init): Use const in cast when setting it.
1593 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1594 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1595 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1596
3d3436ae
RM
1597 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1598 Declare them here.
1599 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1600 * csu/libc-tls.c: Nor here.
1601 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1602
356b3480
RM
1603 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1604 (__libc_message): Never call vsyslog.
1605
b0f1246a
AM
16062013-03-28 Alan Modra <amodra@gmail.com>
1607
1608 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1609 Define as empty.
1610 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1611 Likewise.
1612
fbbe2b9a
AZ
16132013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1614
1615 [BZ #15214]
1616 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1617 underflow.
1618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1619
1728ab37
SP
16202013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1621
7a86be6e
SP
1622 [BZ #15304]
1623 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1624 Don't add gid passed as argument.
1625
1728ab37
SP
1626 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1627
3a7182a1
JM
16282013-03-27 Joseph Myers <joseph@codesourcery.com>
1629
1630 [BZ #15307]
1631 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1632 imaginary part between 1.0 and 1.5 and real part less than 0.5
1633 specially.
1634 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1635 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1636 * math/libm-test.inc (cacos_test): Add more tests.
1637 (casin_test): Likewise.
1638 (casinh_test): Likewise.
1639 * sysdeps/i386/fpu/libm-test-ulps: Update.
1640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1641
6f2e90e7
SP
16422013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1643
5739f705
SP
1644 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1645 constants.
1646 (norm): Likewise.
1647 (denorm): Likewise.
1648 (__dbl_mp): Likewise.
1649 (add_magnitudes): Likewise.
1650 (sub_magnitudes): Likewise.
1651 (__add): Likewise.
1652 (__sub): Likewise.
1653 (__mul): Likewise.
1654 (__sqr): Likewise.
1655 (__inv): Likewise.
1656 (__dvd): Likewise.
1657
e375e83d
SP
1658 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1659 commented code.
1660 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1661 (__dubcos): Likewise.
1662 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1663 (__ieee754_acos): Likewise.
1664 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1665 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1666 (__exp1): Likewise.
1667 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1668 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1669 (log1): Likewise.
1670 (my_log2): Likewise.
1671 (checkint): Likewise.
1672 * sysdeps/ieee754/dbl-64/e_remainder.c
1673 (__ieee754_remainder): Likewise.
1674 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1676 (bsloww): Likewise.
1677 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1678
6f2e90e7
SP
1679 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1680 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1681 MANTISSA_STORE_T to store computations on mantissa. Use
1682 macros for rounding and division.
1683 (denorm): Likewise.
1684 (__dbl_mp): Likewise.
1685 (add_magnitudes): Likewise.
1686 (sub_magnitudes): Likewise.
1687 (__mul): Likewise.
1688 (__sqr): Likewise.
1689 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1690 powers of two in terms of TWOPOW macro.
1691 (mp_no): Make type of mantissa as MANTISSA_T.
1692 [!RADIXI]: Define RADIXI.
1693 [!TWO52]: Define TWO52.
1694 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1695
fce14d4e
AZ
16962013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1697
1698 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1699 llroundl symbol when building for PPC32.
1700
9ad027fb
MW
17012013-03-24 Mark H Weaver <mhw@netris.org>
1702
1703 * manual/arith.texi (Normalization Functions): Fix prototypes for
1704 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1705
e42a38dd
AZ
17062013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1707
1708 [BZ #13889]
1709 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1710 high value to check if expl overflow.
1711 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1712 to check for underflow and overflow.
1713 * math/libm-test.inc: Add exp test.
1714
2e0fb521
DL
17152013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1716
1717 [BZ #11120]
1718 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1719 with NOT_IN_libc.
1720
b5784d95
AZ
17212013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722
1723 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1724 symbol.
1725
5aa4a1a1
TS
17262013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1727
bdef0be7
TS
1728 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1729 wrap blocks consisting of several statements.
1730
5aa4a1a1
TS
1731 * sysdeps/generic/math-tests.h: New file.
1732 * sysdeps/i386/fpu/math-tests.h: Likewise.
1733 * math/test-snan.c: Include it.
1734 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1735
98c48fe5
JM
17362013-03-21 Joseph Myers <joseph@codesourcery.com>
1737
1738 [BZ #15285]
1739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1740 (__ieee754_j0l): Do not improve calculations using cos of twice
1741 input for inputs above LDBL_MAX / 2.0L.
1742 (__ieee754_y0l): Likewise.
1743 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1744 (__ieee754_j1l): Do not improve calculations using cos of twice
1745 input for inputs above LDBL_MAX / 2.0L.
1746 (__ieee754_y1l): Likewise.
1747 * math/libm-test.inc (j0_test): Add another test.
1748 (j1_test): Likewise.
1749 (y0_test): Likewise.
1750 (y1_test): Likewise.
1751 * sysdeps/i386/fpu/libm-test-ulps: Update.
1752
3775a8bc
SP
17532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1754
1755 * Rules ($(objpfx)bench-%.c): Include code from a C source
1756 file.
1757
0a1b2ae6
JM
17582013-03-21 Joseph Myers <joseph@codesourcery.com>
1759
1760 [BZ #15287]
1761 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1762 imaginary part 1.0 and real part less than 0.5 specially.
1763 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1764 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1765 * math/libm-test.inc (cacos_test): Add more tests.
1766 (casin_test): Likewise.
1767 (casinh_test): Likewise.
1768 * sysdeps/i386/fpu/libm-test-ulps: Update.
1769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1770
b33d4ce4
SP
17712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
1773 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1774 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1775
bef0b507
JM
17762013-03-20 Joseph Myers <joseph@codesourcery.com>
1777
1778 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1779 * config.make.in (config-cflags-sse4): Remove variable.
1780 (config-cflags-avx): Likewise.
1781 (config-cflags-sse2avx): Likewise.
1782 (config-cflags-novzeroupper): Likewise.
1783 (config-asflags-i686): Likewise.
1784 (have-mfma4): Likewise.
1785 (have-as-vis3): Likewise.
1786 (MIG): Likewise.
1787 * configure.in (MIG): Do not AC_SUBST.
1788 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1789 (libc_cv_cc_sse4): Do not AC_SUBST.
1790 (libc_cv_cc_avx): Likewise.
1791 (libc_cv_cc_sse2avx): Likewise.
1792 (libc_cv_cc_novzeroupper): Likewise.
1793 (libc_cv_cc_fma4): Likewise.
1794 (libc_cv_as_i686): Likewise.
1795 (libc_cv_sparc_as_vis3): Likewise.
1796 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1797 LIBC_CONFIG_VAR.
1798 (config-asflags-i686): Likewise.
1799 (config-cflags-avx): Likewise.
1800 (config-cflags-sse2avx): Likewise.
1801 (have-mfma4): Likewise.
1802 (config-cflags-novzeroupper): Likewise.
1803 * sysdeps/mach/configure.in (MIG): Likewise.
1804 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1805 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1806 LIBC_CONFIG_VAR.
1807 (config-cflags-avx): Likewise.
1808 (config-cflags-sse2avx): Likewise.
1809 (have-mfma4): Likewise.
1810 (config-cflags-novzeroupper): Likewise.
1811 * configure: Regenerated.
1812 * sysdeps/i386/configure: Likewise.
1813 * sysdeps/mach/configure: Likewise.
1814 * sysdeps/sparc/configure: Likewise.
1815 * sysdeps/x86_64/configure: Likewise.
1816
912cc4b3
RM
18172013-03-20 Roland McGrath <roland@hack.frob.com>
1818
1819 [BZ #14812]
1820 * locale/programs/localedef.c (options): Put N_ translation marker
1821 on argument names, not just descriptions.
1822
04eed2b0
MS
18232013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1824
1825 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1826
a065ceff
OB
18272013-03-20 Ondřej Bílka <neleai@seznam.cz>
1828
9bb2a810 1829 [BZ #14176]
a065ceff
OB
1830 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1831
a600e5ce
RM
18322013-03-19 Roland McGrath <roland@hack.frob.com>
1833
1834 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1835 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1836 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1837 [!BEFORE_ABORT] (before_abort): New function.
1838 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1839 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1840 (writev_for_fatal): New function.
1841 (WRITEV_FOR_FATAL): New macro; call that.
1842 (backtrace_and_maps): New function.
1843 (BEFORE_ABORT): New macro; call that.
1844 (struct str_list): Type removed.
1845 (__libc_message, __libc_fatal): Functions removed.
1846 Include <sysdeps/posix/libc_fatal.c> instead.
1847
6b18bea6
JM
18482013-03-19 Joseph Myers <joseph@codesourcery.com>
1849
1850 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1851 constants.
1852 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1853 double constants.
1854
aaa8cb4b
AS
18552013-03-19 Andreas Schwab <schwab@suse.de>
1856
44673770
AS
1857 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1858 * sysdeps/gnu/configure: Regenerate.
1859
aaa8cb4b
AS
1860 * configure.in: Substitute libc_cv_rtlddir.
1861 * configure: Regenerate.
1862 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1863 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1864 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1865 * elf/Makefile (install-others, CFLAGS-interp.c)
1866 (ldso_install, common-ldd-rewrite): Likewise.
1867 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1868 $(inst_slibdir)/$(rtld-installed-name).
1869 * scripts/rellns-sh: Add -p option.
1870 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1871 for source.
1872
d3cfc668
SP
18732013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1874
1875 * manual/nptl.texi: Renamed to ...
1876 * manual/threads.texi: ... this.
1877 * manual/Makefile (chapters): Update.
1878
0e2b9cdd
RM
18792013-03-18 Roland McGrath <roland@hack.frob.com>
1880
1881 [BZ #14812]
1882 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1883 on argument names, not just descriptions.
0e2b9cdd
RM
1884 * malloc/memusagestat.c (options): Likewise.
1885 * nss/getent.c (options): Likewise.
63270c24
RM
1886
18872013-03-18 Benno Schulenberg <bensberg@justemail.net>
1888
1889 [BZ #14812]
1890 * iconv/iconv_prog.c (options): Put N_ translation marker
1891 on argument names, not just descriptions.
1892 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1893
b2e1393c
OB
18942013-03-18 Ondrej Bilka <neleai@seznam.cz>
1895
1896 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1897 implementation which is faster on all x86_64 architectures.
1898 Tested on AMD, Intel Nehalem, SNB, IVB.
1899 * sysdeps/x86_64/strnlen.S: Likewise.
1900
1901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1902 Remove all multiarch strlen and strnlen versions.
1903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1904 Remove strlen and strnlen related parts.
1905
1906 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1907 Inline strlen part.
1908 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1909
1910 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1911 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1912 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1913 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1914 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1915 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1916
ec4ff04d
CD
19172013-03-17 Carlos O'Donell <carlos@redhat.com>
1918
1919 * manual/memory.texi (Malloc Tunable Parameters):
1920 Sort parameters alphabetically. Add comments for missing entries.
1921
cd18e90a
DM
19222013-03-17 David S. Miller <davem@davemloft.net>
1923
1924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1925
2a185d32
JM
19262013-03-16 Joseph Myers <joseph@codesourcery.com>
1927
d2f9799e
JM
1928 [BZ #15283]
1929 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1930 for arguments at most half maximum finite value.
1931 * math/libm-test.inc (j0_test): Add more tests.
1932 (j1_test): Likewise.
1933 (y0_test): Likewise.
1934 (y1_test): Likewise.
1935 * sysdeps/i386/fpu/libm-test-ulps: Update.
1936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1937
2a185d32
JM
1938 [BZ #14155]
1939 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1940 1 / x and functions P and Q for arguments above 0x1p256L.
1941 (__ieee754_y0l): Likewise.
1942 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1943 (__ieee754_y1l): Likewise.
1944 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1945 (j1_test): Likewise.
1946 (y0_test): Likewise.
1947 (y1_test): Likewise.
1948
6cbec759
TS
19492013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1950
1951 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1952 variable.
1953
bc16e260
RM
19542013-03-15 Roland McGrath <roland@hack.frob.com>
1955
aefc9b8c
RM
1956 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1957 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1958 zero since it's initialized to EXEC_PAGESIZE.
1959
bc16e260
RM
1960 * sysdeps/unix/sysv/linux/ldsodefs.h
1961 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1962 * sysdeps/generic/ldsodefs.h: ... here.
1963
a57da955
TS
19642013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1965
af00a34d
TS
1966 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1967
495ded2c
TS
1968 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1969 math/test-snan.c.
1970 * math/test-snan.c: Renamed from
1971 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1972 * math/Makefile (tests): Add test-snan.
1973 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1974 test-powerpc-snan.
1975
777b0332
TS
1976 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1977 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1978 functions.
1979 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1980 __builtin_nan family of functions.
1981 * math/libm-test.inc (initialize): Initialize qnan_value with
1982 __builtin_nan family of functions.
1983 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1984 Remove variables.
1985 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1986 Remove functions.
1987 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1988 storage class. Initialize qNaN_var and sNaN_var with
1989 __builtin_nan and __builtin_nans families of functions,
1990 respectively.
1991
64d063b8
TS
1992 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1993 (sqrt_test): Remove duplicate test with qNaN input.
1994 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1995 (round_test, signbit_test, significand_test): Note missing +/-Inf
1996 as well as qNaN tests.
1997
67e971f1
TS
1998 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1999 qNaN_var. Fix a few strings, too.
2000 * math/libm-test.inc (nan_value): Rename to qnan_value.
2001 * math/gen-libm-test.pl (%beautify): Adjust to that.
2002 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2003 * math/test-misc.c (main): Likewise.
2004 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2005 to __qnan_bytes, and __qnan_union, respectively.
2006 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2007 Likewise.
2008 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2009 and lqnanval, respectively.
2010 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2011 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2012 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2013 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2014
64487e12
TS
2015 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2016 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2017 doubles.
2018
e015e27b
TS
2019 * math/test-misc.c (main): Fix copy'n'pastos.
2020 * misc/tst-efgcvt.c (special): Likewise.
2021
a57da955
TS
2022 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2023 Remove declarations.
2024
1e380345
SP
20252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2026
2027 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2028 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2029 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2030 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2031
ef26eece
AZ
20322013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2033
2034 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2035 macro to return vdso values correctly in IFUNC implementations.
2036 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2037 Optimization by using IFUNC.
2038
8cfdb7e0
SP
20392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2040 Richard Henderson <rth@redhat.com>
2041 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2042
2043 * Makefile.in (bench): New target.
2044 * NEWS: Mention the benchmark framework.
2045 * Rules (bench): Likewise.
2046 (binaries-bench): Generate binaries for functions to
2047 benchmark.
2048 * benchtests/Makefile: New makefile for benchmark tests.
2049 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2050 programs.
2051 * benchtests/exp-inputs: New input file for EXP function.
2052 * benchtests/pow-inputs: New input file for POW function.
2053 * scripts/bench.pl: New script to generate source files for
2054 benchmark programs.
2055
bcda9880
SP
20562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2057
d22ca8cd
SP
2058 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2059 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2060 computations on mantissa. Use macros for rounding and
2061 division.
2062 (denorm): Likewise.
2063 (__dbl_mp): Likewise.
2064 (add_magnitudes): Likewise.
2065 (sub_magnitudes): Likewise.
2066 (__mul): Likewise.
2067 (__sqr): Likewise.
2068 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2069 powers of two in terms of TWOPOW macro.
2070 (mp_no): Make type of mantissa as MANTISSA_T.
2071 [!RADIXI]: Define RADIXI.
2072 [!TWO52]: Define TWO52.
2073 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2074
bcda9880
SP
2075 * manual/nptl.texi (cindex): Modify threads to pthreads.
2076
06d5adfb
JM
20772013-03-15 Joseph Myers <joseph@codesourcery.com>
2078
2079 * sysdeps/x86_64/preconfigure: Regenerated.
2080
41c7328e
JM
20812013-03-14 Joseph Myers <joseph@codesourcery.com>
2082
2083 [BZ #14155]
2084 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2085 0x1p28 and above.
2086 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2087 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2088 0x1p28 and above.
2089 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2090 * math/libm-test.inc (j0_test): Do not allow one spurious
2091 underflow exception.
2092 (y1_test): Likewise.
2093
e25cfa60
SP
20942013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2095
0409959c
SP
2096 * manual/Makefile (chapters): Add nptl.
2097 * manual/debug.texi (Debugging Support): Add link to Threads
2098 chapter.
2099 * manual/nptl.texi: New file.
2100
e25cfa60
SP
2101 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2102
58a1335e
PB
21032013-03-14 Petr Baudis <pasky@ucw.cz>
2104
2105 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2106 for non-NULL pointer before the memory validity test. Pointed
2107 out by Holger Brunck <holger.brunck@keymile.com>.
2108
9dc7c64f
AS
21092013-03-13 Andreas Schwab <schwab@suse.de>
2110
2111 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2112 instead of .os.
2113
54206aa6
JM
21142013-03-13 Joseph Myers <joseph@codesourcery.com>
2115
2116 * timezone/zic.c: Update from tzcode 2013b.
2117
e98cdb38
CD
21182013-03-12 Carlos O'Donell <carlos@redhat.com>
2119
2120 * manual/install.texi (Configuring and compiling):
2121 Mention i686 and i586.
2122 * INSTALL: Regenerate.
2123
9967e003
RM
21242013-03-12 Roland McGrath <roland@hack.frob.com>
2125
2126 * sysdeps/init_array/elf-init.c: New file.
2127 * csu/elf-init.c
2128 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2129 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2130
2131 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2132 __gmon_start__ as global, but as static with a .preinit_array pointer.
2133 * sysdeps/init_array/gmon-start.c: New file. Use that.
2134 * sysdeps/init_array/crti.S: New file, empty except for comments.
2135 * sysdeps/init_array/crtn.S: Likewise.
2136
e6b5a293 21372013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2138
2139 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2140 definining bcopy.
80f844c9
OB
2141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2142 Remove Prefer_SSE_for_memop.
2143 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2144 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2145 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2147 memset-x86-64.
80f844c9 2148 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2149 Remove bzero, memset ifunc support.
80f844c9
OB
2150 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2151 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2152 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2153 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2154
fb6b0fcb
AS
21552013-03-11 Andreas Schwab <schwab@suse.de>
2156
2157 [BZ #15234]
2158 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2159 by SHLIB_COMPAT.
2160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2161 (GLIBC_2.16): Remove pthread_atfork.
2162
3e6bd4b1
PP
21632013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2164
2165 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2166 (ptestcases.h): Likewise.
2167
222d7f00
RM
21682013-03-08 Roland McGrath <roland@hack.frob.com>
2169
2170 * Makeconfig ($(common-objpfx)config.status): Depend on
2171 sysdeps/*/preconfigure{,.in} too.
2172
1ba4f030
JM
21732013-03-08 Joseph Myers <joseph@codesourcery.com>
2174
a222d91a
JM
2175 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2176 (__free_hook): Use void * instead of __malloc_ptr_t.
2177 (__malloc_hook): Likewise.
2178 (__realloc_hook): Likewise.
2179 (__memalign_hook): Likewise.
2180 (__after_morecore_hook): Likewise.
2181 * malloc/arena.c (save_malloc_hook): Likewise.
2182 (save_free_hook): Likewise.
2183 * malloc/hooks.c (malloc_hook_ini): Likewise.
2184 (realloc_hook_ini): Likewise.
2185 (memalign_hook_ini): Likewise.
2186 * malloc/malloc.c (malloc_hook_ini): Likewise.
2187 (realloc_hook_ini): Likewise.
2188 (memalign_hook_ini): Likewise.
2189 (__free_hook): Likewise.
2190 (__malloc_hook): Likewise.
2191 (__realloc_hook): Likewise.
2192 (__memalign_hook): Likewise.
2193 (__libc_malloc): Likewise.
2194 (__libc_free): Likewise.
2195 (__libc_realloc): Likewise.
2196 (__libc_memalign): Likewise.
2197 (__libc_valloc): Likewise.
2198 (__libc_pvalloc): Likewise.
2199 (__libc_calloc): Likewise.
2200 (__posix_memalign): Likewise.
2201 * malloc/morecore.c (__sbrk): Likewise.
2202 (__default_morecore): Likewise.
2203
5cc45e10
JM
2204 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2205
dd54b864
JM
2206 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2207 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2208 __malloc_ptrdiff_t.
2209
1ba4f030
JM
2210 * malloc/malloc.h (__malloc_size_t): Remove macro.
2211 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2212 __malloc_size_t.
2213 (old_memalign_hook): Likewise.
2214 (old_realloc_hook): Likewise.
2215 (struct hdr): Likewise.
2216 (flood): Likewise.
2217 (mallochook): Likewise.
2218 (memalignhook): Likewise.
2219 (reallochook): Likewise.
2220 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2221 (tr_old_realloc_hook): Likewise.
2222 (tr_old_memalign_hook): Likewise.
2223 (tr_mallochook): Likewise.
2224 (tr_reallochook): Likewise.
2225 (tr_memalignhook): Likewise.
2226
edf66e57
AZ
22272013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2228
2229 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2230 default_ldbl_pack and using as default implementation.
2231 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2232 implementation.
2233 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2234 redundant definition.
2235 (ldbl_insert_mantissa): Likewise.
2236 (ldbl_canonicalize): Likewise.
2237 (ldbl_nearbyint): Likewise.
2238 (ldbl_pack): Rename to ldbl_pack_ppc.
2239 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2240 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2241 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2242
6d9145d8
SP
22432013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2244
2245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2246 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2247 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2248 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2250 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2251 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2252 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2253
4dd4e157
AJ
22542013-03-07 Andreas Jaeger <aj@suse.de>
2255
2256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2257 bits/mman-linux.h.
2258
adbb8027
SP
22592013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2260
ce544b5b
SP
2261 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2262 Include mpa.h and declare __MPEXP.
2263 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2264 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2265 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2266 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2267 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2268 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2269 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2270
4cc149fd
SP
2271 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2272 (__slowpow): Use long double EXPL and LOGL functions to
2273 compute POW.
2274 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2275 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2276 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2277 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2278 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2279 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2280
e6ebd4a7
SP
2281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2282 intermediate variable to calculate exponent.
2283 (__sqr): Likewise.
2284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2285 Likewise.
2286 (__sqr): Likewise.
2287
82a9811d
SP
2288 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2289 [!NO__SQR]: Define __sqr.
2290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2291 and NO__SQR. Remove all code except __mul and __sqr. Include
2292 sysdeps/ieee754/dbl-64/mpa.c.
2293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2294
adbb8027
SP
2295 [BZ #12723]
2296 * posix/Makefile (tests): Add tst-pathconf.
2297 * posix/tst-pathconf.c: New test case.
2298 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2299 _PC_PIPE_BUF.
2300 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2301
39120df9
PF
23022013-03-06 Patsy Franklin <pfrankli@redhat.com>
2303
2304 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2305
67525cb8
AJ
23062013-03-06 Andreas Jaeger <aj@suse.de>
2307
664a9ce4
AJ
2308 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2309 definition via __MAP_ANONYMOUS.
2310
8e39047d
AJ
2311 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2312 it's not part of Linux headers.
2313
67525cb8
AJ
2314 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2315 (MAP_HUGE_MASK): Define.
2316
2317 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2318 Define.
2319 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2320 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2321 Define.
2322 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2323 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2324 Define.
2325 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2326 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2327 Define.
2328 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2329
2330 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2331 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2332 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2333 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2334 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2335 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2336
2337 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2338 Handle f2fs.
2339
2340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2341 Handle f2fs and efivarfs.
2342
2343 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2344 f2fs.
2345
2346 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2347 (EFIVARFS_MAGIC): Add.
2348 (F2FS_LINK_MAX): Add.
2349
e1b42695
PP
23502013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2351
2352 * stdio-common/vfprintf.c: Replace __builtin_expect with
2353 __glibc_unlikely.
2354
2d67d91a
JM
23552013-03-06 Joseph Myers <joseph@codesourcery.com>
2356
2357 [BZ #13550]
2358 * sysdeps/generic/bp-sym.h: Remove file.
2359 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2360 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2361 <bp-sym.h> and <bp-asm.h>.
2362 (__longjmp): Don't use BP_SYM.
2363 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2364 and <bp-asm.h>.
2365 (memcpy): Don't use BP_SYM.
2366 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2367 <bp-sym.h> and <bp-asm.h>.
2368 (memcpy): Don't use BP_SYM.
2369 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2370 <bp-asm.h>.
2371 (memcpy): Don't use BP_SYM.
2372 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2373 <bp-asm.h>.
2374 (memset): Don't use BP_SYM.
2375 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2376 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2377 (__bzero): Don't use BP_SYM.
2378 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2379 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2380 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2381 <bp-sym.h> and <bp-asm.h>.
2382 (memcmp): Don't use BP_SYM. Remove comment about bounded
2383 pointers.
2384 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2385 <bp-sym.h> and <bp-asm.h>.
2386 (memcpy): Don't use BP_SYM.
2387 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2388 <bp-sym.h> and <bp-asm.h>.
2389 (memset): Don't use BP_SYM.
2390 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2391 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2392 (__bzero): Don't use BP_SYM.
2393 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2394 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2395 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2396 <bp-sym.h> and <bp-asm.h>.
2397 (strncmp): Don't use BP_SYM. Remove comment about bounded
2398 pointers.
2399 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2400 <bp-sym.h> and <bp-asm.h>.
2401 (memcpy): Don't use BP_SYM.
2402 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2403 <bp-sym.h> and <bp-asm.h>.
2404 (memset): Don't use BP_SYM.
2405 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2406 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2407 (__bzero): Don't use BP_SYM.
2408 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2409 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2410 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2411 <bp-sym.h> and <bp-asm.h>.
2412 (__memchr): Don't use BP_SYM.
2413 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2414 <bp-sym.h> and <bp-asm.h>.
2415 (memcmp): Don't use BP_SYM. Remove comment about bounded
2416 pointers.
2417 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2418 <bp-sym.h> and <bp-asm.h>.
2419 (memcpy): Don't use BP_SYM.
2420 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2421 <bp-sym.h> and <bp-asm.h>.
2422 (__mempcpy): Don't use BP_SYM.
2423 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2424 <bp-sym.h> and <bp-asm.h>.
2425 (__memrchr): Don't use BP_SYM.
2426 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2427 <bp-sym.h> and <bp-asm.h>.
2428 (memset): Don't use BP_SYM.
2429 (__bzero): Likewise.
2430 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2431 <bp-sym.h> and <bp-asm.h>.
2432 (__rawmemchr): Don't use BP_SYM.
2433 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2434 <bp-sym.h> and <bp-asm.h>.
2435 (__STRCMP): Don't use BP_SYM.
2436 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2437 <bp-sym.h> and <bp-asm.h>.
2438 (strchr): Don't use BP_SYM.
2439 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2440 <bp-sym.h> and <bp-asm.h>.
2441 (__strchrnul): Don't use BP_SYM.
2442 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2443 <bp-sym.h> and <bp-asm.h>.
2444 (strlen): Don't use BP_SYM.
2445 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2446 <bp-sym.h> and <bp-asm.h>.
2447 (strncmp): Don't use BP_SYM. Remove comment about bounded
2448 pointers.
2449 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2450 <bp-sym.h> and <bp-asm.h>.
2451 (__strnlen): Don't use BP_SYM.
2452 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2453 <bp-sym.h> and <bp-asm.h>.
2454 (__GI__setjmp): Don't use BP_SYM.
2455 (_setjmp): Likewise.
2456 (__sigsetjmp): Likewise.
2457 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2458 (L(start_addresses)): Don't use BP_SYM.
2459 (_start): Likewise.
2460 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2461 <bp-asm.h>.
2462 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2463 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2464 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2465 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2466 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2467 <bp-asm.h>.
2468 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2469 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2470 about bounded pointers.
2471 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2472 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2473 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2474 <bp-asm.h>.
2475 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2476 about bounded pointers. Remove GKM FIXME comments.
2477 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2478 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2479 <bp-asm.h>.
2480 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2481 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2482 Remove GKM FIXME comments.
2483 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2484 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2485 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2486 <bp-asm.h>.
2487 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2488 about bounded pointers. Remove GKM FIXME comment.
2489 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2490 and <bp-asm.h>.
2491 (strncmp): Don't use BP_SYM. Remove comment about bounded
2492 pointers.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2494 <bp-sym.h> and <bp-asm.h>.
2495 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2497 <bp-sym.h> and <bp-asm.h>.
2498 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2499 comment.
2500
cdcf361f
PP
25012013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2502
2503 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2504 call free(NULL).
2505
3c4a2b15
DM
25062013-03-05 David S. Miller <davem@davemloft.net>
2507
2508 * po/es.po: Update from translation team.
2509
cdcf361f 25102013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2511
2512 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2513 <bits/mman-linux.h>.
2514 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2515 is fine.
2516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2517 <bits/mman-linux.h> to end of file.
2518 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2519 is fine.
2520 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2521 <bits/mman-linux.h> to end of file.
2522 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2523 is fine.
2524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2525 <bits/mman-linux.h> to end of file.
2526
2527 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2528 (MCL_CURRENT, MCL_FUTURE): Define here.
2529
5f67c04f
AK
25302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2531
8a4473cc 2532 [BZ #15232]
5f67c04f
AK
2533 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2534 attribute_hidden.
2535 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2536
c3e94a95
AK
25372013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2538
2539 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2540 fourth parameter needed for rt_sigprocmask syscall.
2541 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2542 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2543 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2544 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2545 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2546 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2547
cfb6382a
JM
25482013-03-04 Joseph Myers <joseph@codesourcery.com>
2549
2550 [BZ #13550]
2551 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2552 comment about bounded pointers.
2553 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2554 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2555
539d8e01
AJ
25562013-03-04 Andreas Jaeger <aj@suse.de>
2557
2558 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2559 common definitions.
2560
2561 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2562 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2563 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2564 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2565 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2566 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2567
2e167a70 25682013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2569
2570 [BZ #15055]
2571 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2572 __ieee754_sqrl instead of __sqrl.
2573
68508633
JM
25742013-03-01 Joseph Myers <joseph@codesourcery.com>
2575
2576 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2577 * sysdeps/powerpc/fpu_control.h: ... here.
2578 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2579 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2580 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2581 * sysdeps/powerpc/bits/mathinline.h: ... here.
2582
7775448e
RM
25832013-03-01 Roland McGrath <roland@hack.frob.com>
2584
2585 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2586 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2587 to just [NEED_DL_SYSINFO_DSO].
2588 * elf/dl-support.c: Likewise.
2589 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2590 * elf/rtld.c (dl_main): Likewise.
2591 * elf/setup-vdso.h (setup_vdso): Likewise.
2592 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2593 * sysdeps/unix/sysv/linux/dl-sysdep.c
2594 (_dl_discover_osversion): Likewise.
2595
4e9b5995
CD
25962013-03-01 Carlos O'Donell <carlos@redhat.com>
2597
2598 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2599 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2600
e23872c8
SP
26012013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2602
e5c74c63
SP
2603 * NEWS: Mention libm performance improvements and non-x86 PI
2604 futex support.
2605
e23872c8
SP
2606 * csu/libc-start.c (__pthread_initialize_minimal): Change
2607 function arguments.
2608 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2609
b5510883
JM
26102013-02-28 Joseph Myers <joseph@codesourcery.com>
2611
2612 [BZ #13550]
2613 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2614 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2615 <bp-sym.h> and <bp-asm.h>.
2616 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2617 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2618 and <bp-asm.h>.
2619 (memcpy): Don't use BP_SYM.
2620 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2621 <bp-asm.h>.
2622 (__mpn_add_n): Don't use BP_SYM.
2623 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2624 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2625 and <bp-asm.h>.
2626 (__mpn_addmul_1): Don't use BP_SYM.
2627 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2628 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2629 <bp-sym.h>.
2630 (_setjmp): Don't use BP_SYM.
2631 (__novmx_setjmp): Likewise.
2632 (__GI__setjmp): Likewise.
2633 (__vmx_setjmp): Likewise.
2634 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2635 <bp-sym.h>.
2636 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2637 (__bzero): Don't use BP_SYM.
2638 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2639 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2640 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2641 <bp-sym.h> and <bp-asm.h>.
2642 (memcpy): Don't use BP_SYM.
2643 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2644 <bp-sym.h> and <bp-asm.h>.
2645 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2646 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2647 <bp-sym.h> and <bp-asm.h>.
2648 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2649 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2650 <bp-asm.h>.
2651 (__mpn_lshift): Don't use BP_SYM.
2652 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2653 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2654 <bp-asm.h>.
2655 (memset): Don't use BP_SYM.
2656 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2657 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2658 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2659 <bp-asm.h>.
2660 (__mpn_mul_1): Don't use BP_SYM.
2661 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2662 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2663 <bp-sym.h> and <bp-asm.h>.
2664 (memcmp): Don't use BP_SYM.
2665 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2666 <bp-sym.h> and <bp-asm.h>.
2667 (memcpy): Don't use BP_SYM.
2668 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2669 <bp-sym.h> and <bp-asm.h>.
2670 (memset): Don't use BP_SYM.
2671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2672 <bp-sym.h> and <bp-asm.h>.
2673 (strncmp): Don't use BP_SYM.
2674 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2675 <bp-sym.h> and <bp-asm.h>.
2676 (memcpy): Don't use BP_SYM.
2677 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2678 <bp-sym.h> and <bp-asm.h>.
2679 (memset): Don't use BP_SYM.
2680 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2681 <bp-sym.h> and <bp-asm.h>.
2682 (__memchr): Don't use BP_SYM.
2683 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2684 <bp-sym.h> and <bp-asm.h>.
2685 (memcmp): Don't use BP_SYM.
2686 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2687 <bp-sym.h> and <bp-asm.h>.
2688 (memcpy): Don't use BP_SYM.
2689 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2690 <bp-sym.h> and <bp-asm.h>.
2691 (__mempcpy): Don't use BP_SYM.
2692 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2693 <bp-sym.h> and <bp-asm.h>.
2694 (__memrchr): Don't use BP_SYM.
2695 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2696 <bp-sym.h> and <bp-asm.h>.
2697 (memset): Don't use BP_SYM.
2698 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2699 <bp-sym.h> and <bp-asm.h>.
2700 (__rawmemchr): Don't use BP_SYM.
2701 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2702 <bp-sym.h> and <bp-asm.h>.
2703 (__STRCMP): Don't use BP_SYM.
2704 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2705 <bp-sym.h> and <bp-asm.h>.
2706 (strchr): Don't use BP_SYM.
2707 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2708 <bp-sym.h> and <bp-asm.h>.
2709 (__strchrnul): Don't use BP_SYM.
2710 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2711 <bp-sym.h> and <bp-asm.h>.
2712 (strlen): Don't use BP_SYM.
2713 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2714 <bp-sym.h> and <bp-asm.h>.
2715 (strncmp): Don't use BP_SYM.
2716 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2717 <bp-sym.h> and <bp-asm.h>.
2718 (__strnlen): Don't use BP_SYM.
2719 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2720 <bp-asm.h>.
2721 (__mpn_rshift): Don't use BP_SYM.
2722 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2723 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2724 <bp-sym.h> and <bp-asm.h>.
2725 (__sigsetjmp): Don't use BP_SYM.
2726 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2727 (L(start_addresses)): Don't use BP_SYM.
2728 (_start): Likewise.
2729 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2730 <bp-asm.h>.
2731 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2732 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2733 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2734 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2735 <bp-asm.h>.
2736 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2737 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2738 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2739 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2740 <bp-asm.h>.
2741 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2742 comments.
2743 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2744 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2745 <bp-asm.h>.
2746 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2747 FIXME comments.
2748 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2749 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2750 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2751 <bp-asm.h>.
2752 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2753 comment.
2754 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2755 and <bp-asm.h>.
2756 (strncmp): Don't use BP_SYM,
2757 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2758 <bp-asm.h>.
2759 (__mpn_sub_n): Don't use BP_SYM.
2760 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2761 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2762 and <bp-asm.h>.
2763 (__mpn_submul_1): Don't use BP_SYM.
2764 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2766 <bp-sym.h> and <bp-asm.h>.
2767 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2769 <bp-sym.h> and <bp-asm.h>.
2770 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2771 comment.
2772
8d19fe64
SP
27732013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2774
2775 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2776 Use ZK to minimize writes to Z.
2777 (sub_magnitudes): Simplify code a bit.
2778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2779 Use ZK to minimize writes to Z.
2780 (sub_magnitudes): Simplify code a bit.
2781
85bd816a
RM
27822013-02-27 Roland McGrath <roland@hack.frob.com>
2783
2784 * csu/gmon-start.c: Add special exception to license text.
2785
b5977bf2
RH
27862013-02-27 Richard Henderson <rth@redhat.com>
2787
2788 * scripts/config.guess: Update from config.git.
2789 * scripts/config.sub: Likewise.
2790
11d6e2f2
SP
27912013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2792
09c14ed2
SP
2793 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2794
a688864e
SP
2795 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2796
6295157a
SP
2797 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2798
b8de2202
SP
2799 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2800
11d6e2f2
SP
2801 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2802
7e80ddb8
RM
28032013-02-26 Roland McGrath <roland@hack.frob.com>
2804
2805 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2806 [$(build-shared = yes].
7e80ddb8 2807
7da6d9ed
SP
28082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2809
45f05884
SP
2810 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2811 (__mul): Reduce iterations for calculating mantissa.
2812
2236d359
SP
2813 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2814 MPTWO.
2815 (__mpranred): Likewise.
2816
7da6d9ed
SP
2817 [BZ #15160]
2818 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2819 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2820
b7688c42
PE
28212013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2822
2823 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2824 Define __attribute__.
2825
53a5c423
SP
28262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2827
2828 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2829 unused.
2830 * posix/regex_internal.h (__attribute): Remove.
2831 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2832 (re_string_context_at): Likewise.
2833 (bitset_not): Use __attribute__ and mark function as possibly
2834 unused.
2835 (bitset_merge): Likewise.
2836 (bitset_mask): Likewise.
2837 (re_string_char_size_at): Likewise.
2838 (re_string_wchar_at): Likewise.
2839 (re_string_elem_size_at): Likewise.
2840
60f5a8b5
SP
28412013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2842
2a983a2e
SP
2843 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2844 code.
2845 (cc32): Likewise.
2846
e69804d1
SP
2847 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2848 (__acr): Likewise.
2849 (__cpy): Likewise.
2850 (norm): Likewise.
2851 (denorm): Likewise.
2852 (__dbl_mp): Likewise.
2853 (add_magnitudes): Likewise.
2854 (sub_magnitudes): Likewise.
2855 (__mul): Likewise.
2856 (__inv): Likewise.
2857
2f22a1e8
SP
2858 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2859 style.
2860
8930ddc7
SP
2861 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2862 style.
2863
dc60cb11
SP
2864 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2865 code.
2866
60f5a8b5
SP
2867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2868 up changes with default code.
2869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2870 Likewise.
2871
b4d1fd33
AM
28722013-02-24 Allan McRae <allan@archlinux.org>
2873
faf6f8bc
AM
2874 * manual/socket.texi (The Internet Namespace): Order menu items
2875 to match that in the file.
2876
b4d1fd33
AM
2877 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2878 node listing of the info page menu.
2879
2366713d
JM
28802013-02-21 Joseph Myers <joseph@codesourcery.com>
2881
2882 [BZ #13550]
2883 * sysdeps/i386/bp-asm.h: Remove file.
2884 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2885 (PARMS): Do not use macros from bp-asm.h.
2886 (S1): Likewise.
2887 (S2): Likewise.
2888 (SIZE): Likewise.
2889 (__mpn_add_n): Do not use BP_SYM
2890 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2891 "bp-asm.h".
2892 (PARMS): Do not use macros from bp-asm.h.
2893 (S1): Likewise.
2894 (SIZE): Likewise.
2895 (__mpn_addmul_1): Do not use BP_SYM
2896 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2897 "bp-asm.h".
2898 (PARMS): Do not use macros from bp-asm.h.
2899 (SIGMSK): Likewise.
2900 (_setjmp): Likewise. Do not use BP_SYM.
2901 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2902 "bp-asm.h".
2903 (PARMS): Do not use macros from bp-asm.h.
2904 (SIGMSK): Likewise.
2905 (setjmp): Likewise. Do not use BP_SYM.
2906 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2907 "bp-asm.h".
2908 (PARMS): Do not use macros from bp-asm.h.
2909 (__frexp): Do not use BP_SYM.
2910 (frexp): Likewise.
2911 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2912 "bp-asm.h".
2913 (PARMS): Do not use macros from bp-asm.h.
2914 (__frexpf): Do not use BP_SYM.
2915 (frexpf): Likewise.
2916 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2917 "bp-asm.h".
2918 (PARMS): Do not use macros from bp-asm.h.
2919 (__frexpl): Do not use BP_SYM.
2920 (frexpl): Likewise.
2921 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2922 "bp-asm.h".
2923 (PARMS): Do not use macros from bp-asm.h.
2924 (__remquo): Do not use BP_SYM.
2925 (remquo): Likewise.
2926 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2927 "bp-asm.h".
2928 (PARMS): Do not use macros from bp-asm.h.
2929 (__remquof): Do not use BP_SYM.
2930 (remquof): Likewise.
2931 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2932 "bp-asm.h".
2933 (PARMS): Do not use macros from bp-asm.h.
2934 (__remquol): Do not use BP_SYM.
2935 (remquol): Likewise.
2936 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2937 "bp-asm.h".
2938 (PARMS): Do not use macros from bp-asm.h.
2939 (DEST): Likewise.
2940 (SRC): Likewise.
2941 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2942 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2943 "bp-asm.h".
2944 (PARMS): Do not use macros from bp-asm.h.
2945 (strlen): Do not use BP_SYM.
2946 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2947 "bp-asm.h".
2948 (PARMS): Do not use macros from bp-asm.h.
2949 (S1): Likewise.
2950 (S2): Likewise.
2951 (SIZE): Likewise.
2952 (__mpn_add_n): Do not use BP_SYM.
2953 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2954 "bp-asm.h".
2955 (PARMS): Do not use macros from bp-asm.h.
2956 (S1): Likewise.
2957 (SIZE): Likewise.
2958 (__mpn_addmul_1): Do not use BP_SYM.
2959 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2960 weak_alias.
2961 (bzero): Likewise.
2962 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2963 "bp-asm.h".
2964 (PARMS): Do not use macros from bp-asm.h.
2965 (S): Likewise.
2966 (SIZE): Likewise.
2967 (__mpn_lshift): Do not use BP_SYM.
2968 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2969 "bp-asm.h".
2970 (PARMS): Do not use macros from bp-asm.h.
2971 (DEST): Likewise.
2972 (SRC): Likewise.
2973 (LEN): Likewise.
2974 (memcpy): Likewise. Do not use BP_SYM.
2975 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2976 libc_hidden_def and weak_alias.
2977 (mempcpy): Do not use BP_SYM in weak_alias.
2978 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2979 "bp-asm.h".
2980 (PARMS): Do not use macros from bp-asm.h.
2981 (DEST): Likewise.
2982 (LEN): Likewise.
2983 [!BZERO_P] (CHR): Likewise.
2984 (memset): Likewise. Do not use BP_SYM.
2985 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2986 "bp-asm.h".
2987 (PARMS): Do not use macros from bp-asm.h.
2988 (S1): Likewise.
2989 (SIZE): Likewise.
2990 (__mpn_mul_1): Do not use BP_SYM.
2991 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2992 "bp-asm.h".
2993 (PARMS): Do not use macros from bp-asm.h.
2994 (S): Likewise.
2995 (SIZE): Likewise.
2996 (__mpn_rshift): Do not use BP_SYM.
2997 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2998 "bp-asm.h".
2999 (PARMS): Do not use macros from bp-asm.h.
3000 (STR): Likewise.
3001 (CHR): Likewise.
3002 (strchr): Likewise. Do not use BP_SYM.
3003 (index): Do not use BP_SYM in weak_alias.
3004 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3005 "bp-asm.h".
3006 (PARMS): Do not use macros from bp-asm.h.
3007 (DEST): Likewise.
3008 (SRC): Likewise.
3009 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3010 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3011 "bp-asm.h".
3012 (PARMS): Do not use macros from bp-asm.h.
3013 (strlen): Do not use BP_SYM.
3014 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3015 "bp-asm.h".
3016 (PARMS): Do not use macros from bp-asm.h.
3017 (S1): Likewise.
3018 (S2): Likewise.
3019 (SIZE): Likewise.
3020 (__mpn_sub_n): Do not use BP_SYM.
3021 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3022 "bp-asm.h".
3023 (PARMS): Do not use macros from bp-asm.h.
3024 (S1): Likewise.
3025 (SIZE): Likewise.
3026 (__mpn_submul_1): Do not use BP_SYM.
3027 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3028 "bp-asm.h".
3029 (PARMS): Do not use macros from bp-asm.h.
3030 (S1): Likewise.
3031 (S2): Likewise.
3032 (SIZE): Likewise.
3033 (__mpn_add_n): Do not use BP_SYM.
3034 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3035 weak_alias.
3036 (bzero): Likewise.
3037 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3038 "bp-asm.h".
3039 (PARMS): Do not use macros from bp-asm.h.
3040 (BLK2): Likewise.
3041 (LEN): Likewise.
3042 (memcmp): Do not use BP_SYM.
3043 (bcmp): Do not use BP_SYM in weak_alias.
3044 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3045 "bp-asm.h".
3046 (PARMS): Do not use macros from bp-asm.h.
3047 (DEST): Likewise.
3048 (SRC): Likewise.
3049 (LEN): Likewise.
3050 (memcpy): Likewise. Do not use BP_SYM.
3051 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3052 "bp-asm.h".
3053 (PARMS): Do not use macros from bp-asm.h.
3054 (DEST): Likewise.
3055 (SRC): Likewise.
3056 (LEN): Likewise.
3057 (memmove): Likewise. Do not use BP_SYM.
3058 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3059 "bp-asm.h".
3060 (PARMS): Do not use macros from bp-asm.h.
3061 (DEST): Likewise.
3062 (SRC): Likewise.
3063 (LEN): Likewise.
3064 (__mempcpy): Likewise. Do not use BP_SYM.
3065 (mempcpy): Do not use BP_SYM in weak_alias.
3066 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3067 "bp-asm.h".
3068 (PARMS): Do not use macros from bp-asm.h.
3069 (DEST): Likewise.
3070 (LEN): Likewise.
3071 [!BZERO_P] (CHR): Likewise.
3072 (memset): Likewise. Do not use BP_SYM.
3073 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3074 "bp-asm.h".
3075 (PARMS): Do not use macros from bp-asm.h.
3076 (STR2): Likewise.
3077 (strcmp): Do not use BP_SYM.
3078 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3079 "bp-asm.h".
3080 (PARMS): Do not use macros from bp-asm.h.
3081 (STR): Likewise.
3082 (DELIM): Likewise.
3083 [USE_AS_STRTOK_R] (SAVE): Likewise.
3084 (FUNCTION): Likewise. Do not use BP_SYM.
3085 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3086 aliases.
3087 (strtok_r): Likewise.
3088 (__GI___strtok_r): Likewise.
3089 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3090 (PARMS): Do not use macros from bp-asm.h.
3091 (S): Likewise.
3092 (SIZE): Likewise.
3093 (__mpn_lshift): Do not use BP_SYM.
3094 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3095 (PARMS): Do not use macros from bp-asm.h.
3096 (STR): Likewise.
3097 (CHR): Likewise.
3098 (__memchr): Do not use BP_SYM.
3099 (memchr): Do not use BP_SYM in weak_alias.
3100 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3101 (PARMS): Do not use macros from bp-asm.h.
3102 (BLK2): Likewise.
3103 (LEN): Likewise.
3104 (memcmp): Do not use BP_SYM.
3105 (bcmp): Do not use BP_SYM in weak_alias.
3106 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3107 (PARMS): Do not use macros from bp-asm.h.
3108 (S1): Likewise.
3109 (SIZE): Likewise.
3110 (__mpn_mul_1): Do not use BP_SYM.
3111 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3112 "bp-asm.h".
3113 (PARMS): Do not use macros from bp-asm.h.
3114 (STR): Likewise.
3115 (CHR): Likewise.
3116 (__rawmemchr): Do not use BP_SYM.
3117 (rawmemchr): Do not use BP_SYM in weak_alias.
3118 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3119 (PARMS): Do not use macros from bp-asm.h.
3120 (S): Likewise.
3121 (SIZE): Likewise.
3122 (__mpn_rshift): Do not use BP_SYM.
3123 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3124 (PARMS): Do not use macros from bp-asm.h.
3125 (SIGMSK): Likewise.
3126 (__sigsetjmp): Likewise. Do not use BP_SYM.
3127 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3128 (_start): Do not use BP_SYM.
3129 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3130 (PARMS): Do not use macros from bp-asm.h.
3131 (DEST): Likewise.
3132 (SRC): Likewise.
3133 (__stpcpy): Likewise. Do not use BP_SYM.
3134 (stpcpy): Do not use BP_SYM in weak_alias.
3135 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3136 "bp-asm.h".
3137 (PARMS): Do not use macros from bp-asm.h.
3138 (DEST): Likewise.
3139 (SRC): Likewise.
3140 (LEN): Likewise.
3141 (__stpncpy): Likewise. Do not use BP_SYM.
3142 (stpncpy): Do not use BP_SYM in weak_alias.
3143 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3144 (PARMS): Do not use macros from bp-asm.h.
3145 (STR): Likewise.
3146 (CHR): Likewise.
3147 (strchr): Likewise. Do not use BP_SYM.
3148 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3149 "bp-asm.h".
3150 (PARMS): Do not use macros from bp-asm.h.
3151 (STR): Likewise.
3152 (CHR): Likewise.
3153 (__strchrnul): Likewise. Do not use BP_SYM.
3154 (strchrnul): Do not use BP_SYM in weak_alias.
3155 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3156 "bp-asm.h".
3157 (PARMS): Do not use macros from bp-asm.h.
3158 (STOP): Likewise.
3159 (strcspn): Do not use BP_SYM.
3160 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3161 "bp-asm.h".
3162 (PARMS): Do not use macros from bp-asm.h.
3163 (STR): Likewise.
3164 (STOP): Likewise.
3165 (strpbrk): Likewise. Do not use BP_SYM.
3166 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3167 "bp-asm.h".
3168 (PARMS): Do not use macros from bp-asm.h.
3169 (STR): Likewise.
3170 (CHR): Likewise.
3171 (strrchr): Likewise. Do not use BP_SYM.
3172 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3173 (PARMS): Do not use macros from bp-asm.h.
3174 (SKIP): Likewise.
3175 (strspn): Do not use BP_SYM.
3176 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3177 (PARMS): Do not use macros from bp-asm.h.
3178 (STR): Likewise.
3179 (DELIM): Likewise.
3180 (SAVE): Likewise.
3181 (FUNCTION): Likewise. Do not use BP_SYM.
3182 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3183 aliases.
3184 (strtok_r): Likewise.
3185 (__GI___strtok_r): Likewise.
3186 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3187 (PARMS): Do not use macros from bp-asm.h.
3188 (S1): Likewise.
3189 (S2): Likewise.
3190 (SIZE): Likewise.
3191 (__mpn_sub_n): Do not use BP_SYM.
3192 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3193 "bp-asm.h".
3194 (PARMS): Do not use macros from bp-asm.h.
3195 (S1): Likewise.
3196 (SIZE): Likewise.
3197 (__mpn_submul_1): Do not use BP_SYM.
3198 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3199 <bp-sym.h>.
3200 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3201 and <bp-asm.h>.
3202 (PARMS): Do not use macros from bp-asm.h.
3203 (FLAGS): Likewise.
3204 (PTID): Likewise.
3205 (TLS): Likewise.
3206 (CTID): Likewise.
3207 (__clone): Do not use BP_SYM.
3208 (clone): Do not use BP_SYM in weak_alias.
3209 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3210 and <bp-asm.h>.
3211 (PARMS): Do not use macros from bp-asm.h.
3212 (LEN): Likewise.
3213 (__mmap64): Do not use BP_SYM.
3214 (mmap64): Do not use BP_SYM in weak_alias.
3215 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3216 <bp-sym.h> and <bp-asm.h>.
3217 (PARMS): Do not use macros from bp-asm.h.
3218 (__posix_fadvise64_l64): Do not use BP_SYM.
3219 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3220 (PARMS): Do not use macros from bp-asm.h.
3221 (NSOPS): Likewise.
3222 (semtimedop): Do not use BP_SYM.
3223 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3224 and <bp-asm.h>.
3225
582a3cff
AM
32262013-02-21 Allan McRae <allan@archlinux.org>
3227
3228 * manual/message.texi (Charset conversion in gettext):
3229 Move @end statement to beginning of line.
3230
bab8a695
SP
32312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3232
80945231
SP
3233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3234 static.
3235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3236 Likewise.
3237
bab8a695
SP
3238 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3239 (denorm): Likewise.
3240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3242
e21d7aa7
AK
32432013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3244
3245 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3246 tail-call to the resolved function if pltexit isn't needed.
3247
4c7a4263
SP
32482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3249
3250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3251 or Y being zero as being unlikely.
3252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3253 Likewise.
3254
41f49342
CD
32552013-02-20 Carlos O'Donell <carlos@redhat.com>
3256
3257 * manual/nss.texi (System Databases and Name Service Switch):
3258 Remove frobnicate @pxref.
3259
50022a93
TS
32602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3261
3262 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3263 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3264
08cbd996
PM
32652013-02-20 Petr Machata <pmachata@redhat.com>
3266
3267 * elf/elf.h (R_ARM_TARGET1): New macro.
3268 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3269 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3270 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3271 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3272 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3273 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3274 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3275 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3276 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3277 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3278 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3279 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3280 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3281 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3282 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3283 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3284 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3285 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3286 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3287 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3288 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3289 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3290 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3291 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3292 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3293 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3294 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3295 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3296 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3297 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3298 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3299 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3300 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3301 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3302 (R_ARM_THM_GOT_BREL12): Likewise.
3303 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3304 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3305 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3306 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3307 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3308 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3309 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3310 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3311 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3312
c7b275d6
TS
33132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3314
3315 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3316 __attribute_used__ to __attribute__ ((unused)).
3317
20cd7fb3
SP
33182013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3319
3320 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3321 powerpc mpa.c.
3322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3323 comment formatting.
3324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3325
92945b52
JM
33262013-02-19 Joseph Myers <joseph@codesourcery.com>
3327
3328 [BZ #13550]
3329 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3330 Remove macro.
3331 (ENTER): Remove both macro definitions.
3332 (LEAVE): Likewise.
3333 (CHECK_BOUNDS_LOW): Likewise.
3334 (CHECK_BOUNDS_HIGH): Likewise.
3335 (CHECK_BOUNDS_BOTH): Likewise.
3336 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3337 (RETURN_BOUNDED_POINTER): Likewise.
3338 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3339 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3340 (POP_ERRNO_LOCATION_RETURN): Likewise.
3341 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3342 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3343 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3344 macros.
3345 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3346 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3347 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3348 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3349 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3350 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3351 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3352 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3353 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3354 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3355 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3356 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3357 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3358 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3359 removed macros.
3360 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3361 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3362 macros.
3363 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3364 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3365 * sysdeps/i386/i586/memset.S (memset): Likewise.
3366 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3367 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3368 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3369 macros.
3370 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3371 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3372 Change uses of L(2) to L(out).
3373 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3374 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3375 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3376 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3377 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3378 removed macros.
3379 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3380 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3381 macros.
3382 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3383 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3384 (RETURN): Do not use macro LEAVE.
3385 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3386 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3387 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3388 * sysdeps/i386/i686/memset.S (memset): Likewise.
3389 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3390 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3391 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3392 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3393 Likewise.
3394 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3395 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3396 L(1_2) and L(1_3) into L(1).
3397 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3398 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3399 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3400 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3401 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3402 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3403 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3404 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3405 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3406 macros.
3407 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3408 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3409 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3410 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3411 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3412 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3413 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3414 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3415 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3416 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3417 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3418 * sysdeps/i386/strspn.S (strspn): Likewise.
3419 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3420 conditional code.
3421 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3422 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3423 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3424 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3425 L(1_3) into L(1_1).
3426 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3427 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3428 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3429 macros.
3430 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3431
2389741a
JJ
34322013-02-19 Jakub Jelinek <jakub@redhat.com>
3433
3434 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3435 macro.
3436
2016b3cd
SP
34372013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3438
e4f22324
SP
3439 * math/atest-exp.c (exp_mpn): Remove ROUND.
3440 * math/atest-exp2.c (exp_mpn): Likewise.
3441 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3442
2016b3cd
SP
3443 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3444 * stdlib/tst-tls-atexit-lib.c: Likewise.
3445 * stdlib/tst-tls-atexit.c: Likewise.
3446
4be9b544
MF
34472013-02-18 Mike Frysinger <vapier@gentoo.org>
3448
3449 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3450 and __attribute_alloc_size__.
3451
2f62b9ee
MF
34522013-02-18 Mike Frysinger <vapier@gentoo.org>
3453
3454 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3455 __attribute_alloc_size__.
3456 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3457 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3458
6ff444c4
MF
34592013-02-18 Mike Frysinger <vapier@gentoo.org>
3460
3461 * include/programs/xmalloc.h: New file.
3462 * catgets/gencat.c: Include it.
3463 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3464 * elf/pldd.c: Likewise.
3465 * iconv/iconv_charmap.c: Likewise.
3466 * iconv/iconvconfig.c: Likewise.
3467 * iconv/strtab.c: Likewise.
3468 * locale/programs/locale.c: Likewise.
3469 * locale/programs/localedef.h: Likewise.
3470 * locale/programs/simple-hash.c: Likewise.
3471 * nscd/nscd.h: Likewise.
3472 * nss/makedb.c: Likewise.
3473 * sysdeps/generic/ldconfig.h: Likewise.
3474
be179c8a
SP
34752013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3476
ba384f6e
SP
3477 * Versions.def: Add GLIBC_2.18.
3478 * include/link.h (struct link_map): New member l_tls_dtor_count.
3479 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3480 (__call_tls_dtors): Likewise.
3481 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3482 __cxa_thread_atexit_impl.
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3484 Likewise.
3485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3486 Likewise.
3487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3488 Likewise.
3489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3490 Likewise.
3491 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3493 Likewise.
3494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3495 Likewise.
3496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3498 Likewise.
3499 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3500 (tests): Add test case tst-tls-atexit.
3501 (modules-names): Add shared library for tst-tls-atexit.
3502 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3503 (GLIBC_PRIVATE): Add __call_tls_dtors.
3504 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3505 for libstdc++.
3506 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3507 * stdlib/tst-tls-atexit.c: New test case.
3508 * stdlib/tst-tls-atexit-lib.c: New test case.
3509
ffaa74cf 3510 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3511
be179c8a
SP
3512 * elf/Versions (ld): Add _dl_find_dso_for_object.
3513 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3514 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3515 (dl_open_worker): Use _dl_find_dso_for_object.
3516 * elf/dl-sym.c (do_sym): Likewise.
3517 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3518
f78b5caa
AK
35192013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3520
3521 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3522 Syntactic changes only.
3523 (_dl_runtime_profile): Do a tail-call to the resolved function.
3524
29691210
JM
35252013-02-17 Joseph Myers <joseph@codesourcery.com>
3526
3527 [BZ #13550]
3528 * sysdeps/x86_64/bp-asm.h: Remove file.
3529 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3530 <bp-sym.h> and <bp-asm.h>.
3531 (__clone): Do not use BP_SYM.
3532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3533 <bp-sym.h> and <bp-asm.h>.
3534 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3535 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3536 "bp-asm.h".
3537 (_setjmp): Do not use BP_SYM.
3538 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3539 "bp-asm.h".
3540 (setjmp): Do not use BP_SYM.
3541 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3542 libc_hidden_def.
3543 (mempcpy): Do not use BP_SYM in weak_alias.
3544 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3545 "bp-asm.h".
3546 (strchr): Do not use BP_SYM.
3547 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3548 "bp-asm.h".
3549 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3550 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3551 (_start): Do not use BP_SYM.
3552 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3553 "bp-asm.h".
3554 (strcat): Do not use BP_SYM.
3555 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3556 "bp-asm.h".
3557 (STRCMP): Do not use BP_SYM.
3558 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3559 "bp-asm.h".
3560 (STRCPY): Do not use BP_SYM.
3561 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3562 "bp-asm.h".
3563 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3564 "bp-asm.h".
3565 (FUNCTION): Do not use BP_SYM.
3566 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3567 weak_alias.
3568 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3569
f238fd19
AJ
35702013-02-17 Andreas Jaeger <aj@suse.de>
3571
3572 * time/Versions: Sort entries.
3573 * string/Versions: Likewise.
3574 * resolv/Versions: Likewise.
3575 * posix/Versions: Likewise.
3576 * iconv/Versions: Likewise.
3577 * elf/Versions: Likewise.
3578 * wcsmbs/Versions: Likewise.
3579
bd07f23c 35802013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3581
22af19f9
SP
3582 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3583 loop termination condition.
3584
4709fe76
SP
3585 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3586 variable to calculate EZ.
3587 (__sqr): Likewise.
2d0e0f29
SP
3588
3589 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3590 the lower precision input.
3591
daaa7713
JM
35922013-02-15 Joseph Myers <joseph@codesourcery.com>
3593
3594 [BZ #13550]
3595 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3596 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3597 (run-via-rtld-prefix): Do not handle %-bp tests.
3598 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3599 (all-object-suffixes): Remove .ob.
3600 (bppfx): Remove variable.
3601 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3602 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3603 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3604 [$(build-bounded) = yes] (libtype.ob): Likewise.
3605 * Makerules (elide-routines.ob): Remove variable.
3606 (do-tests-clean): Do not handle *-bp.out.
3607 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3608 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3609 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3610 (tests): Do not include $(tests-bp.out).
3611 (xtests): Do not include $(xtests-bp.out).
3612 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3613 [$(build-bounded) = yes] ($(addprefix
3614 $(objpfx),$(binaries-bounded))): Remove rule.
3615 ($(objpfx)%-bp.out): Remove rule.
3616 * config.make.in (build-bounded): Remove variable.
3617 * crypt/Makefile [$(build-bounded) = yes]
3618 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3619 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3620 append to variable.
3621 [$(build-bounded) = yes] (install-lib): Likewise.
3622 [$(build-bounded) = yes] (generated): Likewise.
3623 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3624 Remove rule.
3625 * intl/Makefile [$(build-bounded) = yes]
3626 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3627 * math/Makefile [$(build-bounded) = yes]
3628 ($(tests:%=$(objpfx)%-bp): Likewise.
3629 * misc/Makefile [$(build-bounded) = yes]
3630 ($(objpfx)tst-tsearch-bp): Likewise.
3631 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3632 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3633 Remove dependency.
3634 * string/Makefile (o-objects.ob): Remove variable.
3635 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3636 (CFLAGS-.ob): Remove variable.
3637 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3638 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3639 both definitions of variable.
3640 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3641 (ASFLAGS-.ob): Remove variable.
3642
e97ed6dd
JM
36432013-02-14 Joseph Myers <joseph@codesourcery.com>
3644
2bdd4ca6
JM
3645 [BZ #13550]
3646 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3647 Remove __BOUNDED_POINTERS__ from condition.
3648 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3649 * string/bits/string2.h [!__NO_STRING_INLINES &&
3650 !__BOUNDED_POINTERS__]: Likewise.
3651 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3652 Likewise.
3653 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3654 Remove conditional code.
3655 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3656 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3657 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3658 condition.
3659
e97ed6dd
JM
3660 [BZ #13550]
3661 * csu/libc-start.c: Do not include <bp-sym.h>.
3662 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3663 * elf/dl-open.c: Do not include <bp-sym.h>.
3664 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3665 * math/fegetenv.c: Do not include <bp-sym.h>.
3666 (fegetenv): Do not use BP_SYM in versioned symbols.
3667 * nptl/sysdeps/pthread/bits/libc-lockP.h
3668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3669 <bp-sym.h>.
3670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3671 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3673 (__pthread_mutex_destroy): Likewise.
3674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3675 (__pthread_mutex_lock): Likewise.
3676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3677 (__pthread_mutex_trylock): Likewise.
3678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3679 (__pthread_mutex_unlock): Likewise.
3680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3681 (__pthread_mutexattr_init): Likewise.
3682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3683 (__pthread_mutexattr_destroy): Likewise.
3684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3685 (__pthread_mutexattr_settype): Likewise.
3686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3687 (__pthread_rwlock_init): Likewise.
3688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3689 (__pthread_rwlock_destroy): Likewise.
3690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3691 (__pthread_rwlock_rdlock): Likewise.
3692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3693 (__pthread_rwlock_tryrdlock): Likewise.
3694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3695 (__pthread_rwlock_wrlock): Likewise.
3696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3697 (__pthread_rwlock_trywrlock): Likewise.
3698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3699 (__pthread_rwlock_unlock): Likewise.
3700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3701 (__pthread_key_create): Likewise.
3702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3703 (__pthread_setspecific): Likewise.
3704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3705 (__pthread_getspecific): Likewise.
3706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3707 Likewise.
3708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3709 (_pthread_cleanup_push_defer): Likewise.
3710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3711 (_pthread_cleanup_pop_restore): Likewise.
3712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3713 (pthread_setcancelstate): Likewise.
3714 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3715 <bp-sym.h>.
3716 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3717 (memchr): Do not use BP_SYM in weak_alias.
3718 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3719 (fegetenv): Do not use BP_SYM in versioned symbols.
3720 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3721 (fesetenv): Do not use BP_SYM in versioned symbols.
3722 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3723 (feupdateenv): Do not use BP_SYM in versioned symbols.
3724 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3725 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3726 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3727 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3728 (open64): Do not use BP_SYM in weak_alias.
3729 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3730 (fegetenv): Do not use BP_SYM in versioned symbols.
3731 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3732 (fesetenv): Do not use BP_SYM in versioned symbols.
3733 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3734 (feupdateenv): Do not use BP_SYM in versioned symbols.
3735 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3736 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3737 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3738 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3739 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3740 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3741 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3742 <bp-sym.h>.
3743 (__libc_start_main): Do not use BP_SYM.
3744
d6752ccd
SP
37452013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3746
cb57ce60
SP
3747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3748 redundant return line.
3749 (norm): Likewise.
3750 (denorm): Likewise.
3751 (dbl_mp): Likewise.
3752 (sub_magnitudes): Likewise.
3753 (__add): Likewise.
3754 (__sub): Likewise.
3755 (__mul): Likewise.
3756 (__inv): Likewise.
3757 (__dvd): Likewise.
3758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3759 (norm): Likewise.
3760 (denorm): Likewise.
3761 (dbl_mp): Likewise.
3762 (sub_magnitudes): Likewise.
3763 (__add): Likewise.
3764 (__sub): Likewise.
3765 (__mul): Likewise.
3766 (__inv): Likewise.
3767 (__dvd): Likewise.
3768
f414520d
SP
3769 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3770 instead of __mul.
3771 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3772 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3773 (cc32): Likewise.
3774
d6752ccd
SP
3775 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3776 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3778 of __mul for squares.
3779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3780 function
3781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3782 Likewise.
3783 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3784 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3785
70d9946a
JM
37862013-02-13 Joseph Myers <joseph@codesourcery.com>
3787
3788 [BZ #13550]
3789 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3790 code.
3791 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3792 prototype or function definition. Rename ubp_* variables and
3793 parameters. Remove argv definitions conditional on
3794 [__BOUNDED_POINTERS__].
3795 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3796 * elf/dl-runtime.c (_dl_fixup): Likewise.
3797 * include/set-hooks.h (RUN_HOOK): Likewise.
3798 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3799 definition.
3800 * string/strcpy.c (strcpy): Do not use __unbounded.
3801 * sysdeps/generic/frame.h (struct layout): Likewise.
3802 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3803 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3804 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3805 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3806 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3807 (__backtrace): Likewise.
3808 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3809 use __ptrvalue.
3810 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3811 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3812 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3813 Likewise.
3814 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3815 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3816 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3817 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3818 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3819 Do not use __unbounded.
3820 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3821 Rename __unboundedrlimits parameter to rlimits in prototype.
3822 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3823 Do not use __unbounded.
3824 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3825 not use __ptrvalue.
3826 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3827 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3828 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3829 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3830 __ptrvalue or __unbounded.
3831 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3832 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3833 use __unbounded.
3834 (__new_msgctl): Do not use __ptrvalue.
3835 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3836 __unbounded.
3837 (__libc_msgrcv): Do not use __ptrvalue.
3838 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3839 startup_info): Do not use __unbounded.
3840 (__libc_start_main): Likewise. Rename ubp_* variables and
3841 parameters. Remove argv definitions conditional on
3842 [__BOUNDED_POINTERS__].
3843 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3844 __ptrvalue.
3845 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3846 use __unbounded.
3847 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3848 or __ptrvalue.
3849 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3850 use __unbounded.
3851 (__new_shmctl): Do not use __ptrvalue.
3852 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3853 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3854 Likewise.
3855 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3856 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3857 (__libc_sigaction): Likewise.
3858 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3859 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3860 Likewise.
3861 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3862
cc7834d6
OB
38632013-02-13 Ondřej Bílka <neleai@seznam.cz>
3864
ffb1ec7b 3865 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3866
3867 * string/mempcpy.c: Implement by calling memcpy.
3868
bdf02814
SP
38692013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3870
c2af38aa
SP
3871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3872
4e92d59e
SP
3873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3874 evaluation.
3875
909279a5
SP
3876 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3877 values in the mantissa.
3878
bdf02814
SP
3879 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3880 minimize writes to Z.
3881 (sub_magnitudes): Simplify code a bit.
3882
cd525923
RM
38832013-02-12 Roland McGrath <roland@hack.frob.com>
3884
3885 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3886 from the message. The linker prefixes all warnings with that already.
3887
7e2f0d2d
AS
38882013-02-12 Andreas Schwab <schwab@suse.de>
3889
a445af0b
AS
3890 [BZ #15078]
3891 * posix/regexec.c (extend_buffers): Add parameter min_len.
3892 (check_matching): Pass minimum needed length.
3893 (clean_state_log_if_needed): Likewise.
3894 (get_subexp): Likewise.
3895 * posix/Makefile (tests): Add bug-regex34.
3896 (bug-regex34-ENV): Define.
3897 * posix/bug-regex34.c: New file.
3898
7e2f0d2d
AS
3899 [BZ #11561]
3900 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3901 elements compare against the byte sequence of it, not its name.
3902 * posix/Makefile (tests): Add bug-regex35.
3903 (bug-regex35-ENV): Define.
3904 * posix/bug-regex35.c: New file.
3905
a175b684
TV
39062013-02-11 Tom de Vries <tom@codesourcery.com>
3907
3908 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3909 comment.
3910 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3911 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3912 (CHECK_EOL): Add undef.
3913
310998fe 39142013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3915
3916 * bits/stdlib-bsearch.h: New file.
3917 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3918 * stdlib/stdlib.h: Likewise.
41eda41d 3919
8ded91fb
RM
39202013-02-11 Roland McGrath <roland@hack.frob.com>
3921
3922 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3923 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3924 declaration.
3925 * manual/search.texi (Array Search Function): Add missing const in
3926 lfind prototype.
3927 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3928 declaration to use rlim_t.
3929 (Basic Scheduling Functions): Remove erroneous const from
3930 sched_getparam prototype. Remove erroneous * from
3931 sched_get_priority_max and sched_get_priority_min prototypes.
3932 (Resource Usage): Fix summary @comment on vtimes to refer to
3933 sys/vtimes.h rather than vtimes.h.
3934 Add missing *s in vtimes prototype.
3935 (Limits on Resources): Fix ulimit prototype to return long int.
3936 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3937 prototypes to use long int rather than double.
3938 (BSD Random): Fix initstate and setstate to use char *, not void *.
3939 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3940 prototype to make second argument 'struct aiocb64 *const[]'.
3941 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3942 (Status of AIO Operations): Remove erroneous const in aio_return and
3943 aio_return64 prototypes.
3944 (Synchronizing I/O): Fix sync prototype to return void.
3945 * manual/startup.texi (Suboptions): Remove an erroneous const in
3946 getsubopt prototype.
3947 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3948 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3949 use size_t rather than int.
3950 (Scanning All Users): Likewise for getpwent_r.
3951 (Setting Groups): Add missing const to setgroups prototype.
3952 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3953 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3954 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3955 'const void *' rather than 'const char *'.
3956 (Host Address Functions): Likewise for inet_ntop.
3957 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3958 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3959 ssize_t for return value.
3960 (Sending Data): Likewise for send, sendto, sendmsg.
3961 (Socket Option Functions): Add a missing const in setsockopt prototype.
3962 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3963 use wchar_t for the argument.
3964 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3965 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3966 take no arguments.
3967 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3968 double/float/long double for second argument.
3969 Fix return types of significand, significandf, significandl.
3970 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3971 argument in fchmod prototype.
3972 (File Owner): Use uid_t and gid_t in fchown prototype.
3973 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3974 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3975 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3976 use 'const struct dirent **' as argument types to CMP function pointer
3977 argument.
3978 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3979 (File Times): Fix summary magic @comment for struct utimbuf and utime
3980 to refer to utime.h, not time.h.
3981 * manual/string.texi (Argz Functions): Add missing const in
3982 argz_extract and argz_next prototypes.
3983 (Finding Tokens in a String): Likewise for basename.
3984 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3985 (Copying and Concatenation): Fix typo in wmemmove prototype.
3986 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3987 (Signal Stack): Remove erroneous const in sigstack prototype.
3988 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3989 prototype.
3990 (Simple Calendar Time): Likewise for stime.
3991 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3992 prototype.
3993 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3994 say sys/sysctl.h instead.
3995 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3996 and vsyslog prototypes.
3997
fe77fe6d
TV
39982013-02-11 Tom de Vries <tom@codesourcery.com>
3999
4000 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4001 Remove.
4002
3a09b620
RM
40032013-02-11 Roland McGrath <roland@hack.frob.com>
4004
4005 * misc/sys/mman.h: Fix typo in mremap comment.
4006
550a0b89
RM
40072013-02-08 Roland McGrath <roland@hack.frob.com>
4008
4009 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4010 the '\0' terminator.
4011
a2da1673
JM
40122013-02-08 Joseph Myers <joseph@codesourcery.com>
4013
4014 [BZ #13550]
4015 * debug/segfault.c: Don't include <bp-checks.h>.
4016 * sysdeps/generic/bp-checks.h: Remove file.
4017 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4018 (__GETDENTS): Don't use CHECK_N.
4019 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4020 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4021 (__getgroups): Don't use CHECK_N.
4022 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4023 (setgroups): Don't use CHECK_N.
4024 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4025 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4026 (__libc_msgrcv): Don't use CHECK_N.
4027 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4028 (__libc_msgsnd): Don't use CHECK_N.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4030 <bp-checks.h>.
4031 (__libc_pread): Don't use CHECK_N.
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4033 include <bp-checks.h>.
4034 (__libc_pread64): Don't use CHECK_N.
4035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4036 include <bp-checks.h>.
4037 (__libc_pwrite): Don't use CHECK_N.
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4039 include <bp-checks.h>.
4040 (__libc_pwrite64): Don't use CHECK_N.
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4042 <bp-checks.h>.
4043 (__libc_pread): Don't use CHECK_N.
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4045 include <bp-checks.h>.
4046 (__libc_pread64): Don't use CHECK_N.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4048 include <bp-checks.h>.
4049 (__libc_pwrite): Don't use CHECK_N.
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4051 include <bp-checks.h>.
4052 (__libc_pwrite64): Don't use CHECK_N.
4053 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4054 (do_pread): Don't use CHECK_N.
4055 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4056 (do_pread64): Don't use CHECK_N.
4057 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4058 (do_pwrite): Don't use CHECK_N.
4059 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4060 (do_pwrite64): Don't use CHECK_N.
4061 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4062 (__libc_readv): Don't use CHECK_N.
4063 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4064 (semop): Don't use CHECK_N.
4065 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4066 <bp-checks.h>.
4067 (semtimedop): Don't use CHECK_N.
4068 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4069 (__libc_pread): Don't use CHECK_N.
4070 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4071 <bp-checks.h>.
4072 (__libc_pread64): Don't use CHECK_N.
4073 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4074 <bp-checks.h>.
4075 (__libc_pwrite): Don't use CHECK_N.
4076 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4077 <bp-checks.h>.
4078 (__libc_pwrite64): Don't use CHECK_N.
4079 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4080 <bp-checks.h>.
4081 (__libc_msgrcv): Don't use CHECK_N.
4082 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4083 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4084 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4085 (__libc_writev): Don't use CHECK_N.
4086
b84660a8
RM
40872013-02-08 Roland McGrath <roland@hack.frob.com>
4088
7f3e75f8
RM
4089 * string/strcpy.c: Removed unused variable.
4090
b84660a8
RM
4091 * Makeconfig (+sysdep-includes): Define with := rather than =.
4092 Use an existing include/ subdir of each sysdeps dir before it.
4093
471514d3
CD
40942013-02-08 Carlos O'Donell <carlos@redhat.com>
4095
4096 * nscd/connection.c (register_traced_file): Comment function.
4097 [HAVE_INOTIFY] (union __inev): Define.
4098 [HAVE_INOTIFY] (inotify_check_files): New function.
4099 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4100 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4101 clear_db_cache.
4102 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4103
b2d3c3be
CD
41042013-02-08 Carlos O'Donell <carlos@redhat.com>
4105
4106 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4107 loaded if not already and that a failure is permanent.
4108
b39949d2
CD
41092013-02-08 Carlos O'Donell <carlos@redhat.com>
4110
ddacd1db 4111 [BZ #15006]
b39949d2
CD
4112 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4113 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4114
b2c9eff4
JM
41152013-02-08 Joseph Myers <joseph@codesourcery.com>
4116
f3aae3f3
JM
4117 [BZ #13550]
4118 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4119 (CHECK_1_NULL_OK): Likewise.
4120 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4121 (__fxstat): Do not use CHECK_1.
4122 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4123 <bp-checks.h>.
4124 (___fxstat64): Do not use CHECK_1.
4125 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4126 <bp-checks.h>.
4127 (__fxstatat): Do not use CHECK_1.
4128 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4129 <bp-checks.h>.
4130 (__fxstatat64): Do not use CHECK_1.
4131 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4132 <bp-checks.h>.
4133 (__fxstat): Do not use CHECK_1.
4134 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4135 <bp-checks.h>.
4136 (__fxstatat): Do not use CHECK_1.
4137 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4138 <bp-checks.h>.
4139 (__getresgid): Do not use CHECK_1.
4140 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4141 <bp-checks.h>.
4142 (__getresuid): Do not use CHECK_1.
4143 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4144 <bp-checks.h>.
4145 (__lxstat): Do not use CHECK_1.
4146 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4147 <bp-checks.h>.
4148 (__old_msgctl): Do not use CHECK_1.
4149 (__new_msgctl): Likewise.
4150 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4151 <bp-checks.h>.
4152 (__new_setrlimit): Do not use CHECK_1.
4153 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4154 <bp-checks.h>.
4155 (__old_shmctl): Do not use CHECK_1.
4156 (__new_shmctl): Likewise.
4157 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4158 <bp-checks.h>.
4159 (__xstat): Do not use CHECK_1.
4160 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4161 (__lxstat): Do not use CHECK_1.
4162 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4163 <bp-checks.h>.
4164 (___lxstat64): Do not use CHECK_1.
4165 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4166 (__old_msgctl): Do not use CHECK_1.
4167 (__new_msgctl): Likewise.
4168 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4169 <bp-checks.h>.
4170 (__gettimeofday): Do not use CHECK_1.
4171 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4172 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4173 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4174 <bp-checks.h>.
4175 (__gettimeofday): Do not use CHECK_1.
4176 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4177 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4178 (__new_shmctl): Do not use CHECK_1.
4179 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4180 <bp-checks.h>.
4181 (do_sigtimedwait): Do not use CHECK_1.
4182 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4183 <bp-checks.h>.
4184 (do_sigwaitinfo): Do not use CHECK_1.
4185 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4186 <bp-checks.h>.
4187 (msgctl): Do not use CHECK_1.
4188 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4189 <bp-checks.h>.
4190 (shmctl): Do not use CHECK_1.
4191 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4192 (ustat): Do not use CHECK_1.
4193 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4194 <bp-checks.h>.
4195 (__fxstat): Do not use CHECK_1.
4196 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4197 <bp-checks.h>.
4198 (__fxstatat): Do not use CHECK_1.
4199 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4200 <bp-checks.h>.
4201 (__lxstat): Do not use CHECK_1.
4202 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4203 <bp-checks.h>.
4204 (__xstat): Do not use CHECK_1.
4205 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4206 (__xstat): Do not use CHECK_1.
4207 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4208 (___xstat64): Do not use CHECK_1.
4209
b2c9eff4
JM
4210 [BZ #13550]
4211 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4212 definitions.
4213 (CHECK_BOUNDS_HIGH): Likewise.
4214 * string/strcpy.c: Do not include <bp-checks.h>.
4215 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4216
f1d70dad
RM
42172013-02-07 Roland McGrath <roland@hack.frob.com>
4218
4219 * nscd/nscd-client.h (__nscd_drop_map_ref):
4220 Add __attribute__ ((unused)).
4221 * nis/nss-nisplus.h (niserr2nss): Likewise.
4222
4223 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4224 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4225
4226 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4227 Remove inline keyword.
4228 * include/rounding-mode.h (round_away): Likewise.
4229 * libio/wfileops.c (adjust_wide_data): Likewise.
4230 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4231 (__m128i_strloadu_tolower): Likewise.
4232 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4233 (__m128i_strloadu_tolower): Likewise.
4234 * time/mktime.c (ydhms_diff): Likewise.
4235 * locale/elem-hash.h (elem_hash): Likewise.
4236 * locale/setlocale.c (setdata): Likewise.
4237 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4238 (re_string_wchar_at): Likewise.
4239 (bitset_not, bitset_merge, bitset_mask): Likewise.
4240 [!(__GNUC__ > 3)] (inline): Remove macro.
4241 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4242 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4243 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4244 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4245 * string/memcmp.c (memcmp_bytes): Likewise.
4246 * locale/programs/locarchive.c (compute_hashval): Likewise.
4247 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4248 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4249 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4250 * nss/getent.c (print_rpc, print_protocols): Likewise.
4251 (print_passwd, print_group, print_aliases): Likewise.
4252 * nis/nss-nisplus.h (niserr2nss): Likewise.
4253 * nscd/connections.c (restart_p): Likewise.
4254 Change return type to bool.
4255
eab55bfb
RM
42562013-02-05 Roland McGrath <roland@hack.frob.com>
4257
7bd642f5
RM
4258 * Makeconfig (all-Depend-files): Add existing
4259 $(sorted-subdirs:=/Depend) files.
4260 (all-subdirs): Remove nss.
4261 * sysdeps/unix/inet/Subdirs: Add it here instead.
4262 * hesiod/Depend: New file.
4263
573c29b2
RM
4264 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4265 instead of calling alloca.
4266
b2e25af0
RM
4267 * io/lseek.c (__lseek): Rename to __libc_lseek.
4268 Define __lseek as an alias.
4269
eab55bfb
RM
4270 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4271
9a0d1941
CD
42722013-02-04 Carlos O'Donell <carlos@redhat.com>
4273
4274 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4275 else clause and remove check for non-standard endianness.
4276
b83bbec4
DM
42772013-02-04 David S. Miller <davem@davemloft.net>
4278
4279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4280
6277fdab
JM
42812013-02-04 Joseph Myers <joseph@codesourcery.com>
4282
4283 [BZ #13550]
4284 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4285 (__ubp_memchr): Remove prototype.
4286 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4287 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4288 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4289 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4290 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4291 Remove alias.
4292 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4293 (__ubp_memchr): Likewise.
4294 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4295 (__ubp_memchr): Likewise.
4296 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4297 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4298 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4299 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4300 CHECK_STRING.
4301 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4302 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4303 (__getcwd): Do not use CHECK_STRING.
4304 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4305 <bp-checks.h>.
4306 (__real_chown): Do not use CHECK_STRING.
4307 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4308 <bp-checks.h>.
4309 (fchownat): Do not use CHECK_STRING.
4310 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4311 CHECK_STRING.
4312 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4313 <bp-checks.h>.
4314 (__lchown): Do not use CHECK_STRING.
4315 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4316 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4317 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4318 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4320 include <bp-checks.h>.
4321 (truncate64): Do not use CHECK_STRING.
4322 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4323 <bp-checks.h>.
4324 (__real_chown): Do not use CHECK_STRING.
4325 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4326 <bp-checks.h>.
4327 (__lchown): Do not use CHECK_STRING.
4328 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4329 <bp-checks.h>.
4330 (__chown): Do not use CHECK_STRING.
4331 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4332 <bp-checks.h>.
4333 (truncate64): Do not use CHECK_STRING.
4334 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4335 Likewise.
4336 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4337 (__xmknod): Do not use CHECK_STRING.
4338 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4339 <bp-checks.h>.
4340 (__xmknodat): Do not use CHECK_STRING.
4341 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4342 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4343
903ae060
AS
43442013-02-04 Andreas Schwab <schwab@suse.de>
4345
4346 [BZ #14142]
4347 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4348 * include/netdb.h: Likewise for h_errno.
4349 * elf/tst-stackguard1.c: Include <tls.h>.
4350
542f9466
JK
43512013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4352
4353 * elf/link.h (struct link_map): Extend the l_addr comment.
4354 * include/link.h (struct link_map): Likewise.
4355
e782a927
JM
43562013-02-01 Joseph Myers <joseph@codesourcery.com>
4357
4358 [BZ #13550]
4359 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4360 (BOUNDED_1): Remove macro.
4361 * debug/backtrace.c: Don't include <bp-checks.h>.
4362 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4363 (__backtrace): Likewise.
4364 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4365 <bp-checks.h>.
4366 (__backtrace): Don't use BOUNDED_1.
4367 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4368 <bp-checks.h>.
4369 (__backtrace): Don't use BOUNDED_1.
4370 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4371 (__backtrace): Don't use BOUNDED_1.
4372 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4373 (shmat): Don't use BOUNDED_N.
4374
8cf28c5e
JM
43752013-01-31 Joseph Myers <joseph@codesourcery.com>
4376
3a7ac8a0
JM
4377 [BZ #13550]
4378 * sysdeps/generic/bp-start.h: Remove file.
4379 * csu/libc-start.c: Don't include <bp-start.h>.
4380 (LIBC_START_MAIN): Set up __environ directly instead of using
4381 INIT_ARGV_and_ENVIRON.
4382 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4383 <bp-start.h>.
4384
f3499f95
JM
4385 [BZ #13550]
4386 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4387 definitions.
4388 (CHECK_FCNTL): Likewise.
4389 (CHECK_N_PAGES): Likewise.
4390
32a45bea
JM
4391 [BZ #13550]
4392 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4393 definitions.
4394 (CHECK_SIGSET_NULL_OK): Likewise.
4395 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4396 <bp-checks.h>.
4397 (sigpending): Don't use CHECK_SIGSET.
4398 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4399 <bp-checks.h>.
4400 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4401 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4402 <bp-checks.h>.
4403 (do_sigsuspend): Don't use CHECK_SIGSET.
4404 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4405 use CHECK_SIGSET.
4406 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4407 (do_sigwait): Don't use CHECK_SIGSET.
4408 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4409 use CHECK_SIGSET.
4410 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4411 include <bp-checks.h>.
4412 (sigpending): Don't use CHECK_SIGSET.
4413 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4414 include <bp-checks.h>.
4415 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4416 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4417 <bp-checks.h>.
4418 (sigpending): Don't use CHECK_SIGSET.
4419 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4420 <bp-checks.h>.
4421 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4422
2e8a5c8c
JM
4423 [BZ #13550]
4424 * sysdeps/generic/bp-semctl.h: Remove file.
4425 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4426 <bp-checks.h> and <bp-semctl.h>.
4427 (__old_semctl): Don't use CHECK_SEMCTL.
4428 (__new_semctl): Likewise.
4429 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4430 and <bp-semctl.h>.
4431 (__old_semctl): Don't use CHECK_SEMCTL.
4432 (__new_semctl): Likewise.
4433 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4434 <bp-checks.h> and <bp-semctl.h>.
4435 (__old_semctl): Don't use CHECK_SEMCTL.
4436 (__new_semctl): Likewise.
4437 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4438 <bp-checks.h> and <bp-semctl.h>.
4439 (semctl): Don't use CHECK_SEMCTL.
4440
c2d54929
JM
4441 [BZ #13550]
4442 * Makerules (elide-bp-thunks): Remove variable.
4443 (elide-routines.oS): Don't use $(elide-bp-thunks).
4444 (elide-routines.os): Likewise.
4445 (elide-routines.o): Likewise.
4446 (elide-routines.op): Likewise.
4447 (elide-routines.og): Likewise.
4448 (objects): Don't use $(bp-thunks).
4449 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4450 include.
4451 (common-generated): Do not add s-proto-bp.d.
4452 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4453 (int): Likewise.
4454 (typ): Likewise.
4455 Do not generate makefile rules for bounded-pointer thunks.
4456 * sysdeps/generic/bp-thunks.h: Remove file.
4457 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4458 * sysdeps/unix/s-proto-bp.S: Likewise.
4459
8cf28c5e
JM
4460 [BZ #15062]
4461 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4462 parts of result separately when argument is not close to line from
4463 -i to i and one part of argument is small.
4464 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4465 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4466 * math/libm-test.inc (cacos_test): Add more tests.
4467 (casin_test): Likewise.
4468 (casinh_test): Likewise.
4469 * sysdeps/i386/fpu/libm-test-ulps: Update.
4470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4471
c4e33b8d
DM
44722013-01-31 David S. Miller <davem@davemloft.net>
4473
4474 * po/de.po: Update from translation team.
4475
3b60b421
MK
44762013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4477
4478 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4479
bb931195
TS
44802013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4481
b5a5da23
TS
4482 * configure.in (_AC_PROG_CC_C89): New definition.
4483 * configure: Regenerate.
4484
bb931195
TS
4485 * configure.in (AC_PROG_CPP): New definition.
4486 * configure: Regenerate.
4487
8c53a12c
JM
44882013-01-23 Joseph Myers <joseph@codesourcery.com>
4489
4490 * debug/tst-backtrace.h: New file.
4491 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4492 (ret): Remove variable.
4493 (x): Likewise.
4494 (FAIL): Remove macro.
4495 (NO_INLINE): Likewise.
4496 (fn1): Use match function instead of strstr.
4497 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4498 (ret): Remove variable.
4499 (x): Likewise.
4500 (FAIL): Remove macro.
4501 (NO_INLINE): Likewise.
4502 (fn): Use match function instead of strstr.
4503 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4504 (ret): Remove variable.
4505 (x): Likewise.
4506 (FAIL): Remove macro.
4507 (NO_INLINE): Likewise.
4508 (handle_signal): Use match function instead of strstr.
4509 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4510 (ret): Remove variable.
4511 (x): Likewise.
4512 (FAIL): Remove macro.
4513 (NO_INLINE): Likewise.
4514 (handle_signal): Use match function instead of strstr.
4515
4858fa2a
RM
45162013-01-23 Roland McGrath <roland@hack.frob.com>
4517
4518 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4519
bae8e7f5
DM
45202013-01-23 David S. Miller <davem@davemloft.net>
4521
4522 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4523 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4524 argument of CAS if possible.
4525 * sysdeps/sparc/sparc64/bits/atomic.h
4526 (__arch_compare_and_exchange_val_32_acq): Likewise.
4527 (__arch_compare_and_exchange_val_64_acq): Likewise.
4528
9cbbc4ae
PT
45292013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4530
4531 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4532 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4533 Include <limits.h>.
67b3f58c 4534 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4535
5655a0b5
AC
45362013-01-23 Adam Conrad <adconrad@0c3.net>
4537
4538 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4539 (LDFLAGS-tst-array5): Likewise.
4540
052aff95
JM
45412013-01-23 Joseph Myers <joseph@codesourcery.com>
4542
4543 [BZ #15036]
4544 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4545 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4546 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4547 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4548
7c1e01aa
DM
45492013-01-21 David S. Miller <davem@davemloft.net>
4550
4551 * sysdeps/sparc/backtrace.c: New file.
4552 * sysdeps/sparc/sparc32/backtrace.h: New file.
4553 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4554 * sysdeps/sparc/sparc64/backtrace.h: New file.
4555 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4556 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4557 -funwind-tables.
4558
ab087e0a
AS
45592013-01-21 Andreas Schwab <schwab@suse.de>
4560
4561 [BZ #15020]
4562 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4563 closed its stdout.
4564
ed689c2f
AS
45652013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4566
4567 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4568 "mpa2.h".
4569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4570
31d470ac
JM
45712013-01-18 Joseph Myers <joseph@codesourcery.com>
4572 Mark Mitchell <mark@codesourcery.com>
4573 Tom de Vries <tom@codesourcery.com>
4574 Paul Pluzhnikov <ppluzhnikov@google.com>
4575
4576 * debug/tst-backtrace2.c: New file.
4577 * debug/tst-backtrace3.c: Likewise.
4578 * debug/tst-backtrace4.c: Likewise.
4579 * debug/tst-backtrace5.c: Likewise.
4580 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4581 (CFLAGS-tst-backtrace3.c): Likewise.
4582 (CFLAGS-tst-backtrace4.c): Likewise.
4583 (CFLAGS-tst-backtrace5.c): Likewise.
4584 (LDFLAGS-tst-backtrace2): Likewise.
4585 (LDFLAGS-tst-backtrace3): Likewise.
4586 (LDFLAGS-tst-backtrace4): Likewise.
4587 (LDFLAGS-tst-backtrace5): Likewise.
4588 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4589 tst-backtrace4 and tst-backtrace5.
4590
90567f30 45912013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4592 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4593
4594 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4595 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4596 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4597 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4599 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4600 "+r" and remove output regs list as redundant. Add explicit inline
4601 asm to specify register of return val to work around compiler codegen
4602 bug. Remove (int) cast on return value. Add return type parameter to
4603 use in macro so that this macro does not truncate return value for
4604 64-bit values.
4605 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4606 pass to INTERNAL_VSYSCALL_NCS.
4607 (INLINE_VSYSCALL): Add 'long int' as return type to
4608 INTERNAL_VSYSCALL_NCS macro invocation.
4609 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4610 INTERNAL_VSYSCALL_NCS macro invocation.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4612
d3b9ea61
SP
46132013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4614
0b57daeb
SP
4615 [BZ #14496]
4616 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4617 Fix application of SIMD FP exception mask.
4618
caa99d06
SP
4619 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4620 mp_no from a power of two.
4621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4622 __mpexp_twomm1. Use __pow_mp.
4623
d3b9ea61
SP
4624 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4625 multiplication.
4626
1dbaee3c
DM
46272013-01-17 David S. Miller <davem@davemloft.net>
4628
4629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4630
728d7b43
JM
46312013-01-17 Joseph Myers <joseph@codesourcery.com>
4632
4633 [BZ #15023]
4634 * include/complex.h: Condition contents on [!_COMPLEX_H].
4635 (__kernel_casinhf): New prototype.
4636 (__kernel_casinh): Likewise.
4637 (__kernel_casinhl): Likewise.
4638 * math/Makefile (libm_calls): Add k_casinh.
4639 * math/k_casinh.c: New file.
4640 * math/k_casinhf.c: Likewise.
4641 * math/k_casinhl.c: Likewise.
4642 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4643 finite nonzero arguments.
4644 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4645 finite nonzero arguments.
4646 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4647 finite nonzero arguments.
4648 * math/s_casinh.c: Do not include <float.h>.
4649 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4650 * math/s_casinhf.c: Do not include <float.h>.
4651 (__casinhf): Move code for finite nonzero arguments to
4652 k_casinhf.c.
4653 * math/s_casinhl.c: Do not include <float.h>.
4654 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4655 redefine.
4656 (__casinhl): Move code for finite nonzero arguments to
4657 k_casinhl.c.
4658 * math/libm-test.inc (cacos_test): Add more tests.
4659 * sysdeps/i386/fpu/libm-test-ulps: Update.
4660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4661
2a26ef3a
PT
46622013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4663
4664 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4665 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4666 [!HAVE_MREMAP]: Remove [defined linux] case.
4667 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4668
a897655d
SP
46692013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4670
4671 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4672
881ebe89 46732013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4674
4675 * elf/elf.h (R_386_SIZE32): New relocation.
4676 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4677 R_386_SIZE32.
4678 (elf_machine_rela): Likewise.
4679 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4680 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4681
59981e9b
JM
46822013-01-17 Joseph Myers <joseph@codesourcery.com>
4683
4684 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4685 (FP_FAST_FMA): Do not define.
4686 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4687 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4688 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4689 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4690 !_SOFT_FLOAT]: Likewise.
4691 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4692 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4693 value.
4694 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4695 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4696 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4697 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4698 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4699 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4700 file.
4701
cfa8054f
AS
47022013-01-16 Andreas Schwab <schwab@suse.de>
4703
4704 [BZ #14327]
4705 * include/stdlib.h (__mktemp): Add declaration.
4706 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4707 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4708
dd930cc5
SP
47092013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4710
881ebe89
SP
4711 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4712 definitions.
4713 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4714 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4715 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4716 definitions here.
4717 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4718 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4719 definitions.
4720 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4721 and ONE.
4722 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4723 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4724 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4725 definitions.
4726 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4727 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4728 definitions.
4729 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4730
dd930cc5
SP
4731 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4732
c19a9f89
DM
47332013-01-15 David S. Miller <davem@davemloft.net>
4734
1aa61767
DM
4735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4736 trunc{,f} to libm-sysdep_routes.
4737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4739 file.
4740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4742 file.
4743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4744 file.
4745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4747 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4748 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4749 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4750 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4751 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4752 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4753
c42d5e98
DM
4754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4755 nearbyint{,f} to libm-sysdep_routes.
4756 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4758 New file.
4759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4760 file.
4761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4762 New file.
4763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4764 file.
4765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4767 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4768 file.
4769 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4770 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4771 file.
4772 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4773 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4774 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4775
c19a9f89
DM
4776 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4777 libc_feholdexcept and libc_fesetenv.
4778
357679d2
MF
47792013-01-15 Mike Frysinger <vapier@gentoo.org>
4780
4781 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4782
65a82e3d
DM
47832013-01-14 David S. Miller <davem@davemloft.net>
4784
8b954ab9
DM
4785 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4786 (SPARC_ASM_VIS2_IFUNC): Likewise.
4787 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4789 use of 'siam' instruction.
4790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4791 Likewise.
4792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4793 Likewise.
4794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4795 Likewise.
4796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4801 file.
4802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4803 file.
4804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4805 file.
4806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4807 file.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4813 new VIS2 routines.
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4817 Likewise.
4818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4823 routines to libm-sysdep_routines.
4824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4825
65a82e3d
DM
4826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4827 fdim/fdimf to libm-sysdep_routines.
4828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4829 file.
4830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4832 file.
4833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4836 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4837 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4838 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4839 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4840
e34ab705
SP
48412013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4842
2a91b573
SP
4843 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4844 to optimize copies.
4845
1066a534
SP
4846 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4849
e34ab705
SP
4850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4851 local variable MPTWO.
4852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4853 Likewise.
4854
aba5e596
MF
48552013-01-13 Mike Frysinger <vapier@gentoo.org>
4856
4857 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4858 GLOB_NOESCAPE.
4859
e557e9e5
MF
48602013-01-13 Mike Frysinger <vapier@gentoo.org>
4861
4862 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4863
0428cec9
MF
48642013-01-13 Mike Frysinger <vapier@gentoo.org>
4865
4866 * manual/pattern.texi (glob_t): Document gl_flags.
4867 (glob64_t): Likewise.
4868
8794a964
DM
48692013-01-11 David S. Miller <davem@davemloft.net>
4870
66438c3f
RM
4871 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4872 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4873 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4874 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4875 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4876 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4877 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4878 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4879 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4880 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4881 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4882 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4883 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4884
4ae4244d
DM
4885 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4886 sparc V9 rather than using V8 code.
4887 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4888 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4889
8794a964
DM
4890 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4891 Move to...
4892 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4893 Here.
4894
6270516e
RM
48952013-01-11 Roland McGrath <roland@hack.frob.com>
4896
4897 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4898 not in the main loop.
4899 * configure: Regenerated.
4900
6a57d931
JM
49012013-01-11 Joseph Myers <joseph@codesourcery.com>
4902
4903 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4904 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4905 to just #else.
4906 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4907 [!__GLIBC_HAVE_LONG_LONG] case.
4908 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4909 condition to just #else.
4910 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4911 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4912 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4913 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4914 unconditional.
4915 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4916 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4917 #elif condition to just #else.
4918 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4919 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4920 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4921 #elif condition to just #else.
4922
0e8529e9
SE
49232013-01-11 Steve Ellcey <sellcey@mips.com>
4924
4925 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4926 (EF_MIPS_ARCH_64): Fix value.
4927 (EF_MIPS_ARCH_32R2): New.
4928 (EF_MIPS_ARCH_64R2): New.
4929
740b3dbe
L
49302013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4931
4932 * Makeconfig (+link-pie-before-libc): New.
4933 (+link-pie-after-libc): Likewise.
4934 (+link-pie-tests): Likewise.
4935 (+link-pie): Rewritten.
4936 (link-before-libc): Remove $(config-LDFLAGS).
4937 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4938 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4939 (config-LDFLAGS): Renamed to ...
4940 (rtld-LDFLAGS): This.
4941 (rtld-tests-LDFLAGS): New macro.
4942 (link-libc-rpath-link): Likewise.
4943 (link-libc-tests-rpath-link): Likewise.
4944 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4945 (link-libc): Prepand $(link-libc-rpath-link).
4946 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4947 (test-program-prefix): New macro.
4948 (test-via-rtld-prefix): Likewise.
4949 (test-program-cmd): Likewise.
4950 (host-test-program-cmd): Likewise.
4951 * Makefile ($(common-objpfx)testrun.sh): Replace
4952 $(run-program-prefix) with $(test-program-prefix).
4953 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4954 $(rtld-LDFLAGS).
4955 ($(common-objpfx)shlib.lds): Likewise.
4956 (build-module-helper): Likewise.
4957 ($(common-objpfx)format.lds): Likewise.
4958 * Rules (binaries-pie-tests): New.
4959 (binaries-pie-notests): Likewise.
4960 (binaries-pie): Rewritten.
4961 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4962 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4963 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4964 (make-test-out): Replace $(host-built-program-cmd) with
4965 $(host-test-program-cmd).
4966 * config.make.in (build-hardcoded-path-in-tests): New variable.
4967 * configure.in (--enable-hardcoded-path-in-tests): New configure
4968 option.
4969 (hardcoded_path_in_tests): New AC_SUBST.
4970 * configure: Regenerated.
4971 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4972 $(built-program-cmd) with $(test-program-cmd).
4973 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4974 (test_program_cmd): This.
4975 * elf/Makefile ($(objpfx)order.out): Run test with
4976 $(test-program-prefix).
4977 ($(objpfx)order2.out): Likewise.
4978 ($(objpfx)tst-initorder.out): Likewise.
4979 ($(objpfx)tst-initorder2.out): Likewise.
4980 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4981 $(test-program-cmd).
4982 ($(objpfx)tst-array1-static.out): Likewise.
4983 ($(objpfx)tst-array2.out): Likewise.
4984 ($(objpfx)tst-array3.out): Likewise.
4985 ($(objpfx)tst-array4.out): Likewise.
4986 ($(objpfx)tst-array5.out): Likewise.
4987 ($(objpfx)tst-array5-static.out): Likewise.
4988 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4989 $(test-program-cmd).
4990 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4991 $(run-program-prefix) with $(test-program-prefix).
4992 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4993 (test_program_prefix): This.
4994 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4995 $(run-program-prefix) with $(test-program-prefix).
4996 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4997 (test_program_prefix): This.
4998 * iconvdata/tst-tables.sh: Likewise.
4999 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5000 $(run-program-prefix) with $(test-program-prefix).
5001 ($(objpfx)tst-translit.out): Likewise.
5002 ($(objpfx)tst-gettext2.out): Likewise.
5003 ($(objpfx)tst-gettext4.out): Likewise.
5004 ($(objpfx)tst-gettext6.out): Likewise.
5005 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5006 (test_program_prefix): This.
5007 * intl/tst-gettext2.sh: Likewise.
5008 * intl/tst-gettext4.sh Likewise.
5009 * intl/tst-gettext6.sh: Likewise.
5010 * intl/tst-translit.sh: Likewise.
5011 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5012 with $(test-program-cmd).
5013 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5014 $(run-program-prefix) with $(test-program-prefix).
5015 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5016 (test_program_prefix): This.
5017 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5018 $(run-program-prefix) with $(test-program-prefix).
5019 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5020 (test_program_prefix): This.
5021 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5022 * posix/Makefile ($(objpfx)globtest.out): Replace
5023 $(run-via-rtld-prefix) and $(test-wrapper) with
5024 $(test-program-prefix) and $(test-via-rtld-prefix).
5025 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5026 $(test-program-prefix).
5027 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5028 $(host-test-program-cmd).
5029 (tst-spawn-ARGS): Likewise.
5030 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5031 $(test-program-prefix).
5032 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5033 (test_via_rtld_prefix): This.
5034 (test_wrapper): Renamed to ...
5035 (test_program_prefix): This.
5036 (run_program_prefix): Replaced by test_program_prefix.
5037 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5038 (test_program_prefix): This.
5039 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5040 with $(host-test-program-cmd).
5041 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5042 $(run-program-prefix) with $(test-program-prefix).
5043 ($(objpfx)tst-printf.out): Likewise.
5044 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5045 $(test-program-cmd).
5046 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5047 (test_program_prefix): This.
5048 * stdio-common/tst-unbputc.sh: Likewise.
5049 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5050 $(run-program-prefix) with $(test-program-prefix).
5051 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5052 (test_program_prefix): This.
5053 * string/Makefile ($(objpfx)tst-svc.out): Replace
5054 $(built-program-cmd) with $(test-program-cmd).
5055
c6fe55cf
AJ
50562013-01-11 Andreas Jaeger <aj@suse.de>
5057
5058 [BZ #15003]
5059 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5060 value. Sync with Linux 3.7.
5061
9e6919c8
DM
50622013-01-10 David S. Miller <davem@davemloft.net>
5063
5064 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5065 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5066 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5067
1c9f1a02
RM
50682013-01-10 Roland McGrath <roland@hack.frob.com>
5069
5070 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5071 never set.
5072 * configure: Regenerated.
5073
b9de2dde
DM
50742013-01-10 David S. Miller <davem@davemloft.net>
5075
5076 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5077 sparc V9 rather than using V8 code.
5078 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5079 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5080
e7f68ef4
RM
50812013-01-10 Roland McGrath <roland@hack.frob.com>
5082
5083 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5084 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5085 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5086 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5087 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5088 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5089 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5090 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5091 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5092 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5093 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5094 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5095 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5096 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5097 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5098 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5099 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5100 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5101 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5102 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5103 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5104 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5105 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5106 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5107 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5108 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5109 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5110
5a47cc9c
DM
51112013-01-10 David S. Miller <davem@davemloft.net>
5112
5113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5114
4cf8f209
L
51152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5116
5117 * posix/Makefile (tests-static): New variable.
5118 (tests): Add $(tests-static).
5119 (tst-exec-static-ARGS): New variable.
5120 (tst-spawn-static-ARGS): Likewise.
5121 * posix/tst-exec-static.c: New file.
5122 * posix/tst-spawn-static.c: Likewise.
5123 * posix/tst-exec.c: Support run directly.
5124 * posix/tst-spawn.c: Likewise.
5125
fed0faa1
JM
51262013-01-10 Joseph Myers <joseph@codesourcery.com>
5127
828beb13
JM
5128 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5129 long.
5130 * math/bits/mathcalls.h (llrint): Likewise.
5131 (llround): Likewise.
5132 * stdlib/stdlib.h (struct drand48_data): Likewise.
5133 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5134 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5135 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5136 Likewise.
5137 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5138 Likewise.
5139 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5140 (elf_greg_t): Likewise.
5141 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5142 (__jmp_buf): Likewise.
5143 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5144 definitions.
5145 (llrint): Likewise, for all definitions.
5146 (llrintl): Likewise.
5147
fed0faa1
JM
5148 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5149 Remove [__GNUC__] condition.
5150 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5151 condition to just [__USE_ISOC99].
5152 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5153
1a20cb20
L
51542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5155
5156 [BZ #14200]
5157 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5158 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5159 defined.
5160 (_POSIX_V6_ILP32_OFF32): Likewise.
5161 (_XBS5_ILP32_OFF32): Likewise.
5162 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5163 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5164
751b85f7
SP
51652013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5166
7490eb81
SP
5167 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5168
751b85f7
SP
5169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5170 doubles __mpexp_twomm1. Adjust usage.
5171 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5172 Remove.
5173
988197f0
AS
51742013-01-10 Andreas Schwab <schwab@suse.de>
5175
5176 [BZ #14964]
5177 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5178 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5179
e83d7298
DM
51802013-01-09 David S. Miller <davem@davemloft.net>
5181
034ed64b 5182 [BZ #15003]
e83d7298
DM
5183 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5184 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5185 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5186 TCP_FASTOPEN): Define.
5187 (tcp_repair_opt): New structure.
5188 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5189 enum values.
5190 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5191 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5192 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5193 (tcp_cookie_transactions): New structure.
5194
d5e0b9bd
AB
51952013-01-09 Anton Blanchard <anton@samba.org>
5196
5197 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5198 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5199 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5200 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5201
0c07e3ea
JM
52022013-01-09 Joseph Myers <joseph@codesourcery.com>
5203
5204 * include/features.h (__USE_ANSI): Remove.
5205
232f7002
RM
52062013-01-09 Roland McGrath <roland@hack.frob.com>
5207
ad98e30c
RM
5208 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5209
232f7002
RM
5210 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5211
950c99ca
SP
52122013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5213
b5792741
SP
5214 * sysdeps/s390/fpu/libm-test-ulps: Update.
5215
47cf2278
SP
5216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5217
950c99ca
SP
5218 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5219 (__acr): Likewise.
5220 (__cpy): Likewise.
5221 (norm): Likewise.
5222 (denorm): Likewise.
5223 (__mp_dbl): Likewise.
5224 (__dbl_mp): Likewise.
5225 (add_magnitudes): Likewise.
5226 (sub_magnitudes): Likewise.
5227 (__add): Likewise.
5228 (__sub): Likewise.
5229 (__mul): Likewise.
5230 (__inv): Likewise.
5231 (__dvd): Likewise.
5232 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5233 (__acr): Likewise.
5234 (__cpy): Likewise.
5235 (norm): Likewise.
5236 (denorm): Likewise.
5237 (__mp_dbl): Likewise.
5238 (__dbl_mp): Likewise.
5239 (add_magnitudes): Likewise.
5240 (sub_magnitudes): Likewise.
5241 (__add): Likewise.
5242 (__sub): Likewise.
5243 (__mul): Likewise.
5244 (__inv): Likewise.
5245 (__dvd): Likewise.
5246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5247 (__acr): Likewise.
5248 (__cpy): Likewise.
5249 (norm): Likewise.
5250 (denorm): Likewise.
5251 (__mp_dbl): Likewise.
5252 (__dbl_mp): Likewise.
5253 (add_magnitudes): Likewise.
5254 (sub_magnitudes): Likewise.
5255 (__add): Likewise.
5256 (__sub): Likewise.
5257 (__mul): Likewise.
5258 (__inv): Likewise.
5259 (__dvd): Likewise.
5260
eede9df9
JM
52612013-01-08 Joseph Myers <joseph@codesourcery.com>
5262
5263 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5264 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5265 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5266 2 && __USE_EXTERN_INLINES]: Likewise.
5267
c40ea3d9
AJ
52682013-01-08 Andreas Jaeger <aj@suse.de>
5269
5270 [BZ# 14985]
5271 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5272 Remove.
5273 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5274 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5275
2ccdea26
AB
52762013-01-07 Anton Blanchard <anton@samba.org>
5277
5278 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5279 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5280 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5281 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5282 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5283 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5284 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5285 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5287 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5288 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5289 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5290 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5291 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5292 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5293 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5294 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5295 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5296 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5297 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5298 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5299 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5301 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5302 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5303 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5304 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5305 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5306 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5307 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5308 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5310 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5311 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5312 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5313 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5314 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5315 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5316 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5317 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5318 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5319 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5320 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5321
a9708fed
JM
53222013-01-07 Joseph Myers <joseph@codesourcery.com>
5323
375607b9
JM
5324 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5325 (__MALLOC_PMT): Likewise.
5326 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5327 [__GNUC__], only on [_LIBC].
5328 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5329 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5330 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5331 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5332 forward declaration.
5333 (realloc_hook_ini): Likewise.
5334 (memalign_hook_ini): Likewise.
5335 (__libc_memalign): Do not use __MALLOC_PMT in variable
5336 declaration.
5337 (__libc_valloc): Likewise.
5338 (__libc_pvalloc): Likewise.
5339 (__libc_calloc): Likewise.
5340 (__posix_memalign): Likewise.
5341
a9708fed
JM
5342 [BZ #14996]
5343 * math/s_casinh.c: Include <float.h>.
5344 (__casinh): Do not do computation with squaring and square root
5345 for large arguments.
5346 * math/s_casinhf.c: Include <float.h>.
5347 (__casinhf): Do not do computation with squaring and square root
5348 for large arguments.
5349 * math/s_casinhl.c: Include <float.h>.
5350 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5351 (__casinhl): Do not do computation with squaring and square root
5352 for large arguments.
5353 * math/libm-test.inc (casin_test): Add more tests.
5354 (casinh_test): Likewise.
5355 * sysdeps/i386/fpu/libm-test-ulps: Update.
5356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5357
afec409a
L
53582013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5359
5360 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5361 (__x86_64_raw_data_cache_size): Likewise.
5362 (__x86_64_data_cache_size_half): Likewise.
5363 (__x86_64_raw_data_cache_size_half): Likewise.
5364 (__x86_64_shared_cache_size): Likewise.
5365 (__x86_64_raw_shared_cache_size): Likewise.
5366 (__x86_64_shared_cache_size_half): Likewise.
5367 (__x86_64_raw_shared_cache_size_half): Likewise.
5368 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5369 to ...
5370 (__x86_data_cache_size): This.
5371 (__x86_64_raw_data_cache_size): Renamed to ...
5372 (__x86_raw_data_cache_size): This.
5373 (__x86_64_data_cache_size_half): Renamed to ...
5374 (__x86_data_cache_size_half): This.
5375 (__x86_64_raw_data_cache_size_half): Renamed to ...
5376 (__x86_raw_data_cache_size_half): This.
5377 (__x86_64_shared_cache_size): Renamed to ...
5378 (__x86_shared_cache_size): This.
5379 (__x86_64_raw_shared_cache_size): Renamed to ...
5380 (__x86_raw_shared_cache_size): This.
5381 (__x86_64_shared_cache_size_half): Renamed to ...
5382 (__x86_shared_cache_size_half): This.
5383 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5384 (__x86_raw_shared_cache_size_half): This.
5385 * sysdeps/x86_64/memcpy.S: Updated.
5386 * sysdeps/x86_64/memset.S: Likewise.
5387 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5388 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5389 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5390
0b3986d0
DM
53912013-01-04 David S. Miller <davem@davemloft.net>
5392
5393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5394
e47686e9
AS
53952013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5396
d643bac1
AS
5397 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5398 1 to avoid redefinition warning.
5399 (__USE_GNU): Don't define.
5400 (init_signaling_nan): Protoize.
5401
e47686e9
AS
5402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5403
b18decba
SP
54042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5405
fffb407f
SP
5406 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5408 (__cpymn): Likewise.
5409 (norm): Remove commented code.
5410 (denorm): Likewise.
5411 (__mp_dbl): Likewise.
5412 (__inv): Likewise.
5413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5414 (__cpymn): Likewise.
5415 (norm): Remove commented code.
5416 (denorm): Likewise.
5417 (__mp_dbl): Likewise.
5418 (__inv): Likewise.
5419
b18decba
SP
5420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5421 mp_no value for 1.0 and 2.0.
5422 (norm): Use RADIXI instead of radixi.d.
5423 (denorm): Likewise.
5424 (__mul): Use 0.0 instead of zero.d.
5425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5426 mp_no value for 1.0 and 2.0.
5427 (norm): Use RADIXI instead of radixi.d.
5428 (denorm): Likewise.
5429 (__mul): Use 0.0 instead of zero.d.
5430
cdc1c96f
JM
54312013-01-04 Joseph Myers <joseph@codesourcery.com>
5432
5433 [BZ #14994]
5434 * math/s_casinh.c (__casinh): Reduce finite argument to first
5435 quadrant then set signs of results at the end.
5436 * math/s_casinhf.c (__casinhf): Likewise.
5437 * math/s_casinhl.c (__casinhl): Likewise.
5438 * math/libm-test.inc (casin_test): Add more tests.
5439 (casinh_test): Likewise.
5440 * sysdeps/i386/fpu/libm-test-ulps: Update.
5441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5442
302913e1
SP
54432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5444
6420d207
SP
5445 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5446
a9e48ab4
SP
5447 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5448
b7837264
SP
5449 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5450 declarations.
5451 (denorm): Likewise.
5452 (__mp_dbl): Likewise.
5453 (__inv): Likewise.
5454
f8af25d2
SP
5455 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5456 and adjust the header comment.
5457
302913e1
SP
5458 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5459 variable name from declaration.
5460
5d7dd1ca
L
54612013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5462
5463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5464 Initialize COMMON_CPUID_INDEX_7 element.
5465 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5466 (CPUID_RTM): Likewise.
5467 (HAS_RTM): Likewise.
5468 (COMMON_CPUID_INDEX_7): New enum.
5469
2f5f40f4
AS
54702013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5471
5472 [BZ #14981]
5473 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5474 size is zero, record memory as freed.
5475
4056f4a0
AJ
54762013-01-03 Andreas Jaeger <aj@suse.de>
5477
5478 * po/ia.po: Add new Interlingua translation.
5479
ab15736f 54802012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5481
5482 * locale/programs/localedef.c: Fix description of '--posix' flag.
5483
568035b7
JM
54842013-01-02 Joseph Myers <joseph@codesourcery.com>
5485
e6898b8d
JM
5486 * NEWS: Update dates in second copyright notice.
5487 * README: Update copyright dates in example.
5488 * manual/libc.texinfo: Update copyright dates.
5489 * scripts/test-installation.pl: Update copyright date in --version
5490 output.
5491
0e2f9562
JM
5492 * hurd/ctty-input.c: Fix copyright notice formatting.
5493 * hurd/ctty-output.c: Likewise.
5494 * hurd/dtable.c: Likewise.
5495 * hurd/hurd-raise.c: Likewise.
5496 * hurd/hurdprio.c: Likewise.
5497 * hurd/msgportdemux.c: Likewise.
5498 * misc/sys/file.h: Likewise.
5499 * misc/sys/ioctl.h: Likewise.
5500 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5501 * sysdeps/mach/hurd/chdir.c: Likewise.
5502 * sysdeps/mach/hurd/fchdir.c: Likewise.
5503 * sysdeps/mach/hurd/rename.c: Likewise.
5504 * sysdeps/mach/hurd/rmdir.c: Likewise.
5505 * sysdeps/mach/hurd/seekdir.c: Likewise.
5506 * sysdeps/mach/hurd/setsid.c: Likewise.
5507 * sysdeps/posix/wait3.c: Likewise.
5508
568035b7
JM
5509 * All files with FSF copyright notices: Update copyright dates
5510 using scripts/update-copyrights.
5511 * intl/plural.c: Regenerated.
5512 * locale/programs/charmap-kw.h: Likewise.
5513 * locale/programs/locfile-kw.h: Likewise.
5514
da08f647
SP
55152013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5516
0f5477af
SP
5517 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5518 four values.
5519
44e0d4c2
SP
5520 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5521 calculation loop and add branch prediction.
5522
4d55b4e5
SP
5523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5524 check access beyond bounds of m1np.
5525
da08f647
SP
5526 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5527 MPTWO.
5528 (__inv): Remove local variable MPTWO to use the global
5529 constant.
5530 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5531 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5532 variable MPTWO.
5533 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5534 MP3HALFS static const.
5535
8e051029
DM
55362013-01-01 David S. Miller <davem@davemloft.net>
5537
5538 * po/ca.po: Update from translation team.
5539
f4cf5f2d
JM
55402013-01-01 Joseph Myers <joseph@codesourcery.com>
5541
5542 * scripts/update-copyrights: New file.
5543 * Makeconfig: Reformat copyright notice.
5544 * ctype/ctype.h: Likewise.
5545 * debug/swprintf_chk.c: Likewise.
5546 * elf/dl-cache.c: Likewise.
5547 * elf/dl-debug.c: Likewise.
5548 * elf/dl-object.c: Likewise.
5549 * grp/initgroups.c: Likewise.
5550 * hurd/Makefile: Likewise.
5551 * hurd/hurd/signal.h: Likewise.
5552 * hurd/hurdfault.c: Likewise.
5553 * hurd/hurdioctl.c: Likewise.
5554 * hurd/hurdlookup.c: Likewise.
5555 * hurd/intr-msg.c: Likewise.
5556 * iconv/gconv_open.c: Likewise.
5557 * libio/swprintf.c: Likewise.
5558 * locale/lc-ctype.c: Likewise.
5559 * locale/nl_langinfo.c: Likewise.
5560 * mach/Machrules: Likewise.
5561 * mach/Makefile: Likewise.
5562 * malloc/obstack.h: Likewise.
5563 * manual/Makefile: Likewise.
5564 * manual/tsort.awk: Likewise.
5565 * misc/bits/stab.def: Likewise.
5566 * nis/nis_print_group_entry.c: Likewise.
5567 * nis/nis_table.c: Likewise.
5568 * nis/nss_compat/compat-pwd.c: Likewise.
5569 * nis/nss_compat/compat-spwd.c: Likewise.
5570 * po/Makefile: Likewise.
5571 * posix/fnmatch.c: Likewise.
5572 * posix/regex.h: Likewise.
5573 * resolv/Makefile: Likewise.
5574 * resolv/nss_dns/dns-network.c: Likewise.
5575 * resolv/res_hconf.c: Likewise.
5576 * scripts/gen-sorted.awk: Likewise.
5577 * soft-fp/soft-fp.h: Likewise.
5578 * stdio-common/printf.h: Likewise.
5579 * stdlib/monetary.h: Likewise.
5580 * stdlib/random.c: Likewise.
5581 * stdlib/random_r.c: Likewise.
5582 * sysdeps/generic/Makefile: Likewise.
5583 * sysdeps/gnu/Makefile: Likewise.
5584 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5586 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5591 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5592 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5594 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5595 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5596 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5597 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5598 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5600 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5602 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5607 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5612 * sysdeps/mach/hurd/errnos.awk: Likewise.
5613 * sysdeps/mach/hurd/fork.c: Likewise.
5614 * sysdeps/mach/hurd/getcwd.c: Likewise.
5615 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5616 * sysdeps/mach/hurd/mmap.c: Likewise.
5617 * sysdeps/mach/hurd/utimes.c: Likewise.
5618 * sysdeps/mach/hurd/xmknod.c: Likewise.
5619 * sysdeps/posix/profil.c: Likewise.
5620 * sysdeps/posix/readdir_r.c: Likewise.
5621 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5622 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5623 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5624 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5626 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5627 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5628 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5630 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5631 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5632 * sysdeps/pthread/lio_listio.c: Likewise.
5633 * sysdeps/sparc/dl-procinfo.h: Likewise.
5634 * sysdeps/unix/i386/sysdep.S: Likewise.
5635 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5636 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5637 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5638 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5640 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5641 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5642 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5643 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5644 * sysdeps/wordsize-32/divdi3.c: Likewise.
5645 * time/sys/time.h: Likewise.
5646 * wcsmbs/Makefile: Likewise.
5647
0549fbba
DM
56482013-01-01 David S. Miller <davem@davemloft.net>
5649
a141f1a7
DM
5650 * po/fr.po: Update from translation team.
5651
0549fbba
DM
5652 * catgets/gencat.c: Update copyright year.
5653 * csu/version.c: Likewise.
5654 * debug/catchsegv.sh: Likewise.
5655 * debug/pcprofiledump.c: Likewise.
5656 * debug/xtrace.sh: Likewise.
5657 * elf/ldconfig.c: Likewise.
5658 * elf/ldd.bash.in: Likewise.
5659 * elf/pldd.c: Likewise.
5660 * elf/sotruss.ksh: Likewise.
5661 * elf/sprof.c: Likewise.
5662 * iconv/iconv_prog.c: Likewise.
5663 * iconv/iconvconfig.c: Likewise.
5664 * locale/programs/locale.c: Likewise.
5665 * locale/programs/localedef.c: Likewise.
5666 * login/programs/pt_chown.c: Likewise.
5667 * malloc/memusage.sh: Likewise.
5668 * malloc/memusagestat.c: Likewise.
5669 * malloc/mtrace.pl: Likewise.
5670 * nscd/nscd.c: Likewise.
5671 * nss/getent.c: Likewise.
5672 * nss/makedb.c: Likewise.
5673 * posix/getconf.c: Likewise.
5674
18ea052c
SP
56752012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5676
5677 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5678 numbers.
5679
9c89fca6
MF
56802012-12-30 Mike Frysinger <vapier@gentoo.org>
5681
5682 * math/bits/mathcalls.h (modf): Use __nonnull.
5683
085ec079
SP
56842012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5685
5686 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5687 (split): Use macro CN instead of the bare value.
5688 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5689 could be used.
5690 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5691 instead of the bare value.
5692 (power1): Likewise.
5693
6d9f97e1
SP
56942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5695
d63f73be
SP
5696 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5697 __ATAN_TWOM.
5698 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5699
6d9f97e1
SP
5700 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5701 their values.
5702 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5703 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5704 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5705 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5706
4c4febf5
AJ
57072012-12-28 Andreas Jaeger <aj@suse.de>
5708
af5843ef
AJ
5709 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5710 values are from Linux 3.7.
5711
4c4febf5
AJ
5712 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5713 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5714
99136f82
SP
57152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5716
2f216c3c 5717 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5718 TRUE case.
5719
99136f82
SP
5720 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5721 (norm): Likewise.
5722 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5723 variables with preprocessor constants.
5724 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5725 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5726 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5727
7fffbdff
BH
57282012-12-27 Bruno Haible <bruno@clisp.org>
5729
5730 [BZ #14317]
5731 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5732 only if needed.
5733
b76eb5f0
SP
57342012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5735
31a7fe5c
SP
5736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5737 and use variable directly.
5738 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5739
b76eb5f0
SP
5740 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5741 MPONE.
5742 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5743 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5744 variable MPONE.
5745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5747 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5748 include directive. Remove local variable MPONE.
5749 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5750 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5751 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5752
2c8bfe7d
DM
57532012-12-25 David S. Miller <davem@davemloft.net>
5754
5755 * version.h (RELEASE): Set to "development".
5756 (VERSION): Set to "2.17.90".
5757 * NEWS: Add 2.18 section.
5758
147d03b0
DM
57592012-12-21 David S. Miller <davem@davemloft.net>
5760
5761 * po/hr.po: Update from translation team.
5762
a8ebb2b9
AK
57632012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5764
5765 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5766
95b4f1b6
SE
57672012-12-19 Steve Ellcey <sellcey@mips.com>
5768
b2d94007 5769 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5770
cedb2a90
MS
57712012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5772
5773 * manual/contrib.texi (Contributors): Spelling correction.
5774
bbf527d6
DM
57752012-12-15 David S. Miller <davem@davemloft.net>
5776
5777 * po/ru.po: Update from translation team.
5778
bc38c906
DM
57792012-12-13 David S. Miller <davem@davemloft.net>
5780
85429b1a
DM
5781 * NEWS: Mention IFUNC testsuite enhancements.
5782
d283e353
DM
5783 * po/pl.po: Update from translation team.
5784 * po/bg.po: Likewise.
5785
bc38c906
DM
5786 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5787 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5788
a181b0d7
DM
57892012-12-11 David S. Miller <davem@davemloft.net>
5790
4641d57e
DM
5791 * po/sv.po: Update from translation team.
5792
f7bc6495
DM
5793 * po/vi.po: Update from translation team.
5794
6fc9048f
DM
5795 * po/cs.po: Update from translation team.
5796
a181b0d7
DM
5797 * po/de.po: Update from translation team.
5798 * po/eo.po: Likewise.
5799 * po/nl.po: Likewise.
5800
f70bfe80
SP
58012012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5802
3c8b4190
SP
5803 [BZ #14246]
5804 * manual/argp.texi (Argp Helper Functions): Move node to follow
5805 Argp Parsing State.
5806
f70bfe80
SP
5807 [BZ #14872]
5808 * manual/conf.texi (Limits on File System Capacity): Mention if
5809 terminating null is included in the max size.
5810
188f0adf
AJ
58112012-12-10 Andreas Jaeger <aj@suse.de>
5812
5813 * po/cs.po: Update from translation team.
5814
56e7d3ad
SP
58152012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5816
5817 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5818 void pointer and cast to uintptr_t.
5819 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5820 path.
5821 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5822 * sysdeps/s390/s390-64/memset.S: Likewise.
5823
76f2d2ea 58242012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5825
5826 [BZ #14833]
5827 * menual/message.texi (Message Translation): Fix typos.
5828 (Helper programs for gettext): Likewise.
5829
67cbf9a2
AS
58302012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5831
5832 [BZ #14898]
5833 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5834 Change to -1.
5835
682d0e9a
DM
58362012-12-07 David S. Miller <davem@davemloft.net>
5837
5838 * po/libc.pot: Update.
5839
573cd484
RH
58402012-12-07 Richard Henderson <rth@redhat.com>
5841
7e9da188 5842 [BZ #10114]
573cd484
RH
5843 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5844 normal/normal case to before the switch.
5845 (_FP_DIV): Likewise.
5846
e933a943
MF
58472012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5848 Mike Frysinger <vapier@gentoo.org>
5849
5850 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5851 check for __NR_fadvise64_64.
5852
82123268
CM
58532012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5854
5855 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5856 0, not just to plain "0" as a statement.
5857 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5858 with cw.
5859
d9814526
JM
58602012-12-06 Joseph Myers <joseph@codesourcery.com>
5861
5862 * NEWS: Use sourceware.org in Bugzilla URL.
5863
7728c574
SP
58642012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5865
f16946dd
SP
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5867 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5868
5704bbcb
SP
5869 * stdio-common/tst-put-error.c (do_test): Add newline to the
5870 padded test to ensure flush.
5871
17aa0516
JL
58722012-12-05 Jeff Law <law@redhat.com>
5873
5874 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5875
363313b5
JM
58762012-12-05 Joseph Myers <joseph@codesourcery.com>
5877
effbd42a
JM
5878 * README: Don't refer to ports add-on as distributed separately.
5879 Mention AArch64 in list of systems supported in the ports add-on.
5880
87600365
JM
5881 * LICENSES: Add more non-FSF copyright and license notices.
5882
a0d7066a
JM
5883 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5884 ((unused)).
5885
66ca5a5b
JM
5886 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5887
363313b5
JM
5888 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5889 10000 as width of padded output.
5890
b37984ad
JM
58912012-12-04 Joseph Myers <joseph@codesourcery.com>
5892
9003570a
JM
5893 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5894
b37984ad
JM
5895 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5896 variable LX with __attribute__ ((unused)).
5897 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5898 Likewise.
5899 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5900 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5902 with __attribute__ ((unused)).
5903
c8df52ec
DM
59042012-12-04 David S. Miller <davem@abraco.davemloft.net>
5905
5906 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5907
b3b099af
JM
59082012-12-04 Joseph Myers <joseph@codesourcery.com>
5909
c33aa6e3
JM
5910 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5911 (CFLAGS-nldbl-acos.c): New variable.
5912 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5913 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5914 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5915 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5916 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5917 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5918 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5919 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5920 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5921 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5922 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5923 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5924 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5925 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5926 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5927 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5928 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5929 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5930 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5931 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5932 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5933 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5934 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5935 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5936 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5937 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5938 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5939 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5940 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5941 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5942 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5943 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5944 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5945 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5946 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5947 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5948 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5949 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5950 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5951 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5952 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5953 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5954 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5955 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5956 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5961 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5962 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5963 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5964 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5965 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5966 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5967 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5968 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5969 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5970 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5971 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5972 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5973 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5974 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5975 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5976 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5977 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5978 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5979 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5980 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5981 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5982 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5983 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5984 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5985 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5986 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5987 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5988 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5989 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5990 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5991 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5992 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5993 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5994 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5995 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5996 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5997 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5998 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5999 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6000 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6001 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6002 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6003 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6004 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6005 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6006 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6007 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6008 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6009
20f0018d
JM
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6011 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6012
b3b099af
JM
6013 [BZ #14914]
6014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6015 whole low double instead of just low 47 bits when splitting values
6016 into two parts.
6017
029264d1
AM
60182012-12-03 Allan McRae <allan@archlinux.org>
6019
6020 * manual/stdio.texi (Predefined Printf Handlers): Remove
6021 @hsep and @vsep usage.
6022
c9d6789e
MF
60232012-12-03 Mike Frysinger <vapier@gentoo.org>
6024
6025 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6026 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6027
4b7634a5
JL
60282012-12-03 Jeff Law <law@redhat.com>
6029
6030 * time/sys/time.h (settimeofday): Do not mark TV argument
6031 as __nonnull.
6032
eb6cbd24
MF
60332012-12-01 Mike Frysinger <vapier@gentoo.org>
6034
6035 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6036 when currently writing and seek to current position when not.
6037 * libio/Makefile (tests): Remove bug-fclose1.
6038 * libio/bug-fclose1.c: Delete.
6039
f638872a
JM
60402012-12-01 Joseph Myers <joseph@codesourcery.com>
6041
6042 * manual/arith.texi (feenableexcept): Fix typo.
6043 (fedisableexcept): Likewise.
6044
48085d14
RM
60452012-11-30 Roland McGrath <roland@hack.frob.com>
6046
6047 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6048 second, differently-typed declaration, rather than a cast.
6049
1a538b9f
SP
60502012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6051
6052 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6053 * include/rpc/svc.h: ... here.
6054
d07f2ff1 60552012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6056
6057 [BZ #13013]
6058 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6059 depending n and resplen2 to catch cases where answer
6060 equals answerp2.
6061
c93ec1f0
CD
60622012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6063
6064 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6065 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6066
37db69de
MF
60672012-11-29 Mike Frysinger <vapier@gentoo.org>
6068
6069 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6070
e10c4e4f
RM
60712012-11-29 Roland McGrath <roland@hack.frob.com>
6072
6073 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6074
2af1b328
JL
60752012-11-28 Jeff Law <law@redhat.com>
6076
6077 [BZ #13761]
6078 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6079 dataset_temporary. Track alloca usage into alloca_used.
6080 If dataset is large allocate and release it via malloc/free.
6081
111db5b1
FW
60822012-06-04 Florian Weimer <fweimer@redhat.com>
6083
f06cc227 6084 [BZ #14197]
111db5b1
FW
6085 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6086
dd694abd
DM
60872012-11-28 David S. Miller <davem@davemloft.net>
6088
6089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6090
9984dd01
JM
60912012-11-28 Joseph Myers <joseph@codesourcery.com>
6092
6093 [BZ #14803]
6094 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6095 of pi/2 rounded to nearest to 64 bits.
6096 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6097 nearest to 64 bits.
6098 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6099 bits.
6100
14bc93a9
JL
61012012-11-28 Jeff Law <law@redhat.com>
6102 Martin Osvald <mosvald@redhat.com>
6103
6104 [BZ #14889]
6105 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6106 * sunrpc/svc.c: Include time.h.
6107 (__svc_accept_failed): New function.
6108 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6109 any reason other than EINTR, call __svc_accept_failed.
6110 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6111 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6112
e3c6aa3a
AS
61132012-11-28 Andreas Schwab <schwab@suse.de>
6114
6115 * scripts/abilist.awk: Also handle indirect functions in .opd
6116 section.
6117
1bead169
JM
61182012-11-28 Joseph Myers <joseph@codesourcery.com>
6119
6120 [BZ #13881]
6121 * sysdeps/x86/fpu/powl_helper.c: New file.
6122 * sysdeps/x86/fpu/Makefile: Likewise.
6123 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6124 (p3): New object.
6125 (__ieee754_powl): Use __powl_helper for finite arguments except
6126 integer exponents below 8.
6127 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6128 (p3): New object.
6129 (__ieee754_powl): Use __powl_helper for finite arguments except
6130 integer exponents below 8.
6131 * math/libm-test.inc (pow_test): Add more tests and enable some
6132 previously disabled tests.
6133 * sysdeps/i386/fpu/libm-test-ulps: Update.
6134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6135
0817d63d
SP
61362012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6137 Carlos O'Donell <carlos_odonell@mentor.com>
6138
6139 * nss/makedb.c (is_prime): Assert that input is odd and greater
6140 than 4. Note that fact in a comment too.
6141 (next_prime): Add 4 to input.
6142
de2fd463
SP
61432012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6144
6145 [BZ #11741]
6146 * libio/Makefile (tests): Add test case tst-fwrite-error.
6147 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6148 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6149 * libio/tst-fwrite-error.c: New test case.
6150
c515fb51
L
61512012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6152
6153 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6154 before casting to void *.
6155 * include/libc-internal.h (__pointer_type): New macro.
6156 (__integer_if_pointer_type_sub): Likewise.
6157 (__integer_if_pointer_type): Likewise.
6158 (cast_to_integer): Likewise.
6159 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6160 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6161 before casting to atomic64_t.
6162 (atomic_exchange_acq): Likewise.
6163 (__arch_exchange_and_add_body): Likewise.
6164 (__arch_add_body): Likewise.
6165 (atomic_add_negative): Likewise.
6166 (atomic_add_zero): Likewise.
6167
4cf77aa9
JM
61682012-11-26 Joseph Myers <joseph@codesourcery.com>
6169
6170 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6171 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6172 (add_fdes): Likewise.
6173 (linear_search_fdes): Likewise.
6174 (binary_search_unencoded_fdes): Likewise.
6175
d260b3b4
AS
61762012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6177
6178 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6179
67060746
AC
61802012-11-24 Adam Conrad <adconrad@0c3.net>
6181
6182 * configure.in: Autodetect C++ header directories.
6183 * configure: Regenerated.
6184
800938a1
MF
61852012-11-23 Mike Frysinger <vapier@gentoo.org>
6186
6187 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6188
4e6e34e6
AS
61892012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6190
6191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6192
7c7feb47
JM
61932012-11-22 Joseph Myers <joseph@codesourcery.com>
6194
7184dcdf
JM
6195 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6196 LDBL_MANT_DIG == 106]: Disable some tests.
6197 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6198 Likewise.
6199 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6200 Likewise.
6201
0a42601f
JM
6202 [BZ #14871]
6203 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6204 input for small inputs. Return +/- pi/2 for large inputs.
6205 * math/libm-test.inc (atan_test): Add more tests.
6206
79c9b9fe
JM
6207 * sysdeps/generic/unwind-dw2-fde-glibc.c
6208 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6209 __attribute__ ((unused)).
6210
c60d3bf2
JM
6211 [BZ #14645]
6212 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6213 x * y if x and y are nonzero and z is zero.
6214
ef1e0867
JM
6215 [BZ #14811]
6216 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6217 nonzero exponents with absolute value below 0x1p-117 to +/-
6218 0x1p-117.
6219
1468ded3
JM
6220 [BZ #14869]
6221 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6222 up arguments below 2**-450, not just those below 2**-500.
6223 * math/libm-test.inc (hypot_test): Add another test.
6224
8e27e3cc
JM
6225 [BZ #14868]
6226 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6227 Return a+b for ratio over 2**120, not 2**60.
6228 * math/libm-test.inc (hypot_test): Add another test.
6229
c9c0279b
JM
6230 * math/libm-test.inc (clog_test): Use
6231 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6232 (clog10_test): Likewise.
6233
7c7feb47
JM
6234 [BZ #6778]
6235 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6236
fff1530e
AS
62372012-11-22 Andreas Schwab <schwab@suse.de>
6238
6239 * sysdeps/i386/fpu/libm-test-ulps: Update.
6240
94558d30
PT
62412012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6242
6243 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6244 printf output with newline.
6245
7e1be741
L
62462012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6247
6bfea974
L
6248 [BZ #14865]
6249 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6250 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6251 -z nodlopen, -z initfirst and -z execstack support.
6252 * configure: Regenerated.
6253
7e1be741
L
6254 * elf/elf.h (DF_1_NODIRECT): New macro.
6255 (DF_1_IGNMULDEF): Likewise.
6256 (DF_1_NOKSYMS): Likewise.
6257 (DF_1_NOHDR): Likewise.
6258 (DF_1_EDITED): Likewise.
6259 (DF_1_NORELOC): Likewise.
6260 (DF_1_SYMINTPOSE): Likewise.
6261 (DF_1_GLOBAUDIT): Likewise.
6262 (DF_1_SINGLETON): Likewise.
6263 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6264 DT_1_SUPPORTED_MASK bits.
6265 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6266
105ce2ce
CD
62672012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6268
6269 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6270
123be9de
TS
62712012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6272
d072f3f7
TS
6273 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6274 macro.
6275
123be9de
TS
6276 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6277 (sendmmsg): Move declarations...
6278 * socket/sys/socket.h: ... here.
6279 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6280 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6281 include it from...
6282 * socket/recvmmsg.c: ... this new file.
6283 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6284 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6285 definition of __sendmmsg hidden.
6286 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6287 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6288 Move ENOSYS stub into and include it from...
6289 * socket/sendmmsg.c: ... this new file.
6290 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6291 (sysdep_routines): Move recvmmsg and sendmmsg...
6292 * socket/Makefile (routines): ... here.
6293 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6294 (GLIBC_PRIVATE): Add __sendmmsg.
6295 * include/sys/socket.h (__sendmmsg): Add declarations.
6296 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6297 sendmmsg.
6298
cf9a5d18
JM
62992012-11-20 Joseph Myers <joseph@codesourcery.com>
6300
6301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6302 variable I1 with __attribute__ ((unused)).
6303 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6304
ecd4caf9
JM
63052012-11-19 Joseph Myers <joseph@codesourcery.com>
6306
be14d48f
JM
6307 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6308 DUMMY variables with __attribute__ ((unused)).
6309
ecd4caf9
JM
6310 * bits/byteswap.h: Include <bits/types.h>.
6311 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6312
986cab95
PT
63132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6314
6315 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6316 string_t. Do not manually set errno.
6317 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6318 length with __strnlen. Make sure to both set errno and return it on
6319 failure.
6320
6d33cc9d
DM
63212012-11-19 David S. Miller <davem@davemloft.net>
6322
6323 With help from Joseph Myers.
6324 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6325 very large arguments properly.
6326 * math/libm-test.inc (atan_test): New tests.
6327 (atan2_test): New tests.
6328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6330
ee663277
JM
63312012-11-19 Joseph Myers <joseph@codesourcery.com>
6332
877f2d8e
JM
6333 [BZ #14856]
6334 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6335 Define to 3.
6336
116fc08a
JM
6337 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6338 [POSIX] (EADDRNOTAVAIL): Likewise.
6339 [POSIX] (EAFNOSUPPORT): Likewise.
6340 [POSIX] (EALREADY): Likewise.
6341 [POSIX] (ECONNABORTED): Likewise.
6342 [POSIX] (ECONNREFUSED): Likewise.
6343 [POSIX] (ECONNRESET): Likewise.
6344 [POSIX] (EDESTADDRREQ): Likewise.
6345 [POSIX] (EDQUOT): Likewise.
6346 [POSIX] (EHOSTUNREACH): Likewise.
6347 [POSIX] (EIDRM): Likewise.
6348 [POSIX] (EISCONN): Likewise.
6349 [POSIX] (ELOOP): Likewise.
6350 [POSIX] (EMULTIHOP): Likewise.
6351 [POSIX] (ENETDOWN): Likewise.
6352 [POSIX] (ENETUNREACH): Likewise.
6353 [POSIX] (ENOBUFS): Likewise.
6354 [POSIX] (ENODATA): Likewise.
6355 [POSIX] (ENOLINK): Likewise.
6356 [POSIX] (ENOMSG): Likewise.
6357 [POSIX] (ENOPROTOOPT): Likewise.
6358 [POSIX] (ENOSR): Likewise.
6359 [POSIX] (ENOSTR): Likewise.
6360 [POSIX] (ENOTCONN): Likewise.
6361 [POSIX] (ENOTSOCK): Likewise.
6362 [POSIX] (EOPNOTSUPP): Likewise.
6363 [POSIX] (EOVERFLOW): Likewise.
6364 [POSIX] (EPROTO): Likewise.
6365 [POSIX] (EPROTONOSUPPORT): Likewise.
6366 [POSIX] (EPROTOTYPE): Likewise.
6367 [POSIX] (ESTALE): Likewise.
6368 [POSIX] (ETIME): Likewise.
6369 [POSIX] (ETXTBSY): Likewise.
6370 [POSIX] (EWOULDBLOCK): Likewise.
6371 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6372 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6373 [POSIX] (SEEK_CUR): Likewise.
6374 [POSIX] (SEEK_END): Likewise.
6375 [POSIX || UNIX98] (mode_t): Do not require.
6376 [POSIX] (off_t): Likewise.
6377 [POSIX] (pid_t): Likewise.
6378 [POSIX] (sys/stat.h): Do not allow header.
6379 [POSIX] (unistd.h): Likewise.
6380 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6381 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6382 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6383 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6384 require.
6385 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6386 sigevent): Specify elements.
6387 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6388 entry.
6389 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6390 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6391
a483863f
JM
6392 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6393 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6394 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6395 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6396 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6397 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6398 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6399 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6400 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6401 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6402 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6403 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6404 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6405 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6406 Likewise.
6407 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6408 Likewise.
6409 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6410 Likewise.
6411 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6412 Likewise.
6413 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6414 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6415 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6416 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6417 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6418 Specify lower bound on value.
6419 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6420 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6421 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6422 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6423 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6424 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6425 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6426 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6427 value.
6428 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6429 as optional.
6430 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6431 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6432 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6433 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6434 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6435 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6436 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6439 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6440 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6446 entry.
6447 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6448 optional.
6449 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6455 Likewise.
6456 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6461 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6462 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6463 as optional.
6464 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6465 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6466 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6468 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6469 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6470 specify as optional.
6471 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6472 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6474 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6475 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6476 [XPG3] (NL_LANGMAX): Likewise.
6477 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6478 [POSIX || XPG3] (NL_NMAX): Likewise.
6479 [POSIX || XPG3] (NL_SETMAX): Likewise.
6480 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6481 [XPG3] (NZERO): Likewise.
6482 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6483 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6484 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6485 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6486 (REG_ERANGE): Expect.
6487 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6488 optional-constant.
6489 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6490 Use (void) in prototype.
6491 [POSIX] (*_t): Allow.
6492 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6493 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6494 (WRDE_BADVAL): Expect.
6495
5ba924e3
JM
6496 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6497 expect.
6498 [XPG3 || XPG4] (O_RSYNC): Likewise.
6499 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6500 Likewise.
6501 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6502 [XPG3 || XPG4] (sigqueue): Likewise.
6503 [XPG3 || XPG4] (sigtimedwait): Likewise.
6504 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6505 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6506 [XPG3 || XPG4] (vsnprintf): Likewise.
6507 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6508 Likewise.
6509 [XPG3 || XPG4] (blksize_t): Likewise.
6510 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6511 Likewise.
6512 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6513 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6514 [XPG3 || XPG4] (struct itimerspec): Likewise.
6515 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6516 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6517 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6518 [XPG3 || XPG4] (clockid_t): Likewise.
6519 [XPG3 || XPG4] (timer_t): Likewise.
6520 [XPG3 || XPG4] (clock_getres): Likewise.
6521 [XPG3 || XPG4] (clock_gettime): Likewise.
6522 [XPG3 || XPG4] (clock_settime): Likewise.
6523 [XPG3 || XPG4] (nanosleep): Likewise.
6524 [XPG3 || XPG4] (timer_create): Likewise.
6525 [XPG3 || XPG4] (timer_delete): Likewise.
6526 [XPG3 || XPG4] (timer_gettime): Likewise.
6527 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6528 [XPG3 || XPG4] (timer_settime): Likewise.
6529 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6530 [XPG3 || XPG4] (getlogin_r): Likewise.
6531 [XPG3 || XPG4] (pread): Likewise.
6532 [XPG3 || XPG4] (pthread_atfork): Likewise.
6533 [XPG3 || XPG4] (pwrite): Likewise.
6534
ee663277
JM
6535 [BZ #14835]
6536 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6537 <bits/siginfo.h>.
6538
942caa16
PT
65392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6540
e19af380
PT
6541 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6542 finalizing MALLSTREAM.
6543
942caa16
PT
6544 * sysdeps/mach/hurd/syncfs.c: New file.
6545
cfde9b46
SP
65462012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6547
6548 [BZ #14719]
6549 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6550 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6551 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6552 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6553 (_nss_dns_gethostbyname4_r): Likewise.
6554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6555 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6556
f6da27e5
PH
65572012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6558
6559 [BZ #13763]
6560 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6561
6665d4a2
SM
65622012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6563
1f51ee92
SM
6564 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6565 * elf/cache.c (print_entry): Print ",AArch64" for
6566 FLAG_AARCH64_LIB64
6567
6665d4a2
SM
6568 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6569 * elf/cache.c (print_entry): Print ",hard-float" for
6570 FLAG_ARM_LIBHF.
6571
05b227bd
DM
65722012-11-18 David S. Miller <davem@davemloft.net>
6573
6574 With help from Joseph Myers.
6575 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6576 cutoff to 2**-13.
6577 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6578 cutoff to 2**-25.
6579 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6580 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6581 small.
6582 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6583 * math/libm-test.inc (y0_test): New tests.
6584 (y1_test): New tests.
6585 * sysdeps/i386/fpu/libm-test-ulps: Update.
6586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6588
786b0b67
AS
65892012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6590
6591 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6592 64-bit targets.
6593 * configure: Regenerated.
6594
8e18b86d
DM
65952012-11-17 David S. Miller <davem@davemloft.net>
6596
6597 [BZ #14811]
6598 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6599 nonzero exponents with absolute value below 0x1p-128 to +/-
6600 0x1p-128.
6601
531f1ae0
JM
66022012-11-17 Joseph Myers <joseph@codesourcery.com>
6603
12df29e2
JM
6604 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6605
150dc1a0
JM
6606 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6607
531f1ae0
JM
6608 * posix/getconf-speclist.c: New file.
6609 * posix/posix-envs.def: Likewise.
6610 * posix/confstr.c (START_ENV_GROUP): New macro.
6611 (END_ENV_GROUP): Likewise.
6612 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6613 (KNOWN_PRESENT_ENV_STRING): Likewise.
6614 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6615 (UNKNOWN_ENVIRONMENT): Likewise.
6616 (confstr): Include posix-envs.def instead of handling
6617 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6618 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6619 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6620 (END_ENV_GROUP): Likewise.
6621 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6622 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6623 (UNKNOWN_ENVIRONMENT): Likewise.
6624 (__sysconf): Include posix-envs.def instead of handling associated
6625 cases directly here.
6626 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6627 preprocessing getconf-speclist.c rather than running getconf or
6628 generating empty file.
6629
a93f9cbc
PT
66302012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6631
6632 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6633
d64d9f87
AL
66342012-11-16 Andrej Lajovic <natrij@gmail.com>
6635
6636 [BZ #14672]
6637 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6638
447885eb
DM
66392012-11-16 David S. Miller <davem@davemloft.net>
6640
6641 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6642 smaller than LDBL_EPSILON/2.0L, just return xm1.
6643
bcbf9830
L
66442012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6645
6646 * elf/tst-array1.c (init): Set constructor priority to 1000.
6647 (fini): Set destructor priority to 1000.
6648 * elf/tst-array2dep.c: Likewise.
6649
2b766585
SP
66502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6651
6652 [BZ #11741]
6653 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6654 (_IO_new_file_xsputn): Also return EOF if none of the input
6655 data was written when overflow failed.
6656 * libio/iopadn.c (_IO_padn): Likewise.
6657 * libio/iowpadn.c (_IO_wpadn): Likewise.
6658 * stdio-common/tst-put-error.c: Add copyright notice.
6659 (do_test): Add case for printing padded string.
6660 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6661 _IO_padn returned error.
6662 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6663 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6664 return EOF.
6665
b1848fde
SP
66662012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6667
6668 * libio/libioP.h: Add comment note that the references to C++
6669 bits are now obsolete.
6670
2fd89785
MS
66712012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6672
6673 * math/libm-test.inc (check_complex): Use asprintf.
6674
e3ea5409
JM
66752012-11-14 Joseph Myers <joseph@codesourcery.com>
6676
6677 * debug/pcprofiledump.c (print_version): Update copyright year.
6678 * malloc/memusagestat.c (print_version): Likewise.
6679
2e64d265
L
66802012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6681
6682 [BZ #14831]
6683 * elf/Makefile (tests): Add tst-audit8.
6684 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6685 ($(objpfx)tst-audit8.out): New target.
6686 (tst-audit8-ENV): New variable.
6687 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6688 audit if l_reloc_result is NULL.
6689 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6690 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6691 * elf/tst-audit8.c: New file.
6692
c485e4d2
MS
66932012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6694
6695 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6696 * misc/Makefile (CFLAGS-select.c): Define.
6697 * posix/Makefile (CFLAGS-pause.c): Define.
6698
3a0d900a
DM
66992012-11-13 David S. Miller <davem@davemloft.net>
6700
6701 * crypt/Makefile: Move test targets after toplevel Rules
6702 inclusion. Grab any necessary sysdep routines when linking.
6703 * crypt/md5.c (md5_process_block): Remove define, we will always
6704 name it __md5_process_block.
6705 (md5_finish_ctx): Update md5_process_block call.
6706 (md5_stream): Likewise.
6707 (md5_process_bytes): Likewise.
6708 (md5_process_block): Rename to __md5_process_block and move to ...
6709 * crypt/md5-block.c: ... here.
6710 * crypt/sha256.c (sha256_process_block): Move to ...
6711 * crypt/sha256-block.c: ... here.
6712 * crypt/sha512.c (sha512_process_block): Move to ...
6713 * crypt/sha512-block.c: ... here.
6714 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6715 path.
6716 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6717 * sysdeps/sparc/sparc64/multiarch/Makefile
6718 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6719 crypt subdir.
6720 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6721 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6722 multiarch changes.
6723 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6724 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6725 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6726 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6727 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6728 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6729 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6730 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6731 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6732 file.
6733 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6734 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6735 file.
6736 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6737
8ca89318
JM
67382012-11-13 Joseph Myers <joseph@codesourcery.com>
6739
e27d476a
JM
6740 * timezone/tzselect.ksh: Update from tzcode git revision
6741 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6742 * timezone/zdump.c: Likewise.
6743 * timezone/zic.c: Likewise.
6744 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6745 in TZVERSION setting, not $(PKGVERSION).
6746 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6747 REPORT_BUGS_TO settings.
6748
8ca89318
JM
6749 [BZ #14838]
6750 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6751 macro.
6752
47594329
MS
67532012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6754
6755 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6756 detection to immediately after _FP_ROUND().
6757 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6758 bits are 0.
6759
640ac3f1
DM
67602012-11-11 David S. Miller <davem@davemloft.net>
6761
6762 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6763 inttypes.h
6764 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6765 __close rather than their public counterparts.
6766
3d2577bb
JM
67672012-11-10 Joseph Myers <joseph@codesourcery.com>
6768
6769 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6770 file.
6771 [UNIX98] (sem_timedwait): Do not expect.
6772 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6773 [XPG4 || UNIX98] (sockatmark): Do not expect.
6774 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6775 (clock_getcpuclockid): Do not expect.
6776 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6777 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6778 Do not expect.
6779 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6780 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6781 [UNIX98] (vwscanf): Likewise.
6782 [UNIX98] (vswscanf): Likewise.
6783
fb1ae1ee
JM
67842012-11-09 Joseph Myers <joseph@codesourcery.com>
6785
9ec6f8bd
JM
6786 * timezone/version.h: Remove file.
6787 * timezone/README: Do not refer to version.h.
6788 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6789 $(objpfx)version.h.
6790 ($(objpfx)zdump.o): Likewise.
c3f81911 6791 ($(objpfx)version.h): New target.
9ec6f8bd 6792
0aa8f8a1
JM
6793 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6794 2012i.
6795 * timezone/README: Don't mention modification to tzselect.ksh.
6796 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6797 work on unmodified tzselect.ksh. Substitute version numbers in
6798 tzselect.ksh.
6799
4e87147f
JM
6800 * Makefile (format-me): Remove.
6801 (INSTALL): Adjust indentation. Use commands directly instead of
6802 using $(format-me).
6803
8b748aed
JM
6804 * aclocal.m4 (ACX_PKGVERSION): New macro.
6805 (ACX_BUGURL): Likewise.
6806 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6807 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6808 (REPORT_BUGS_TO): Likewise.
6809 * configure: Regenerated.
6810 * config.h.in (PKGVERSION): New macro.
6811 (REPORT_BUGS_TO): Likewise.
6812 * config.make.in (PKGVERSION): New variable.
6813 (PKGVERSION_TEXI): Likewise.
6814 (REPORT_BUGS_TO): Likewise.
6815 (REPORT_BUGS_TEXI): Likewise.
6816 * Makefile (format-me): Use -I$(common-objpfx)manual.
6817 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6818 ($(common-objpfx)manual/%): New target.
6819 (manual/%): Remove target.
6820 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6821 (print_version): Use PKGVERSION.
6822 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6823 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6824 and REPORT_BUGS_TO.
6825 ($(objpfx)xtrace): Likewise.
6826 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6827 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6828 (print_version): Use PKGVERSION.
6829 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6830 (do_version): Use PKGVERSION.
6831 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6832 REPORT_BUGS_TO.
6833 (common-ldd-rewrite): Likewise.
6834 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6835 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6836 (print_version): Use PKGVERSION.
6837 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6838 * elf/pldd.c (argp_program_bug_address): Remove variable.
6839 (more_help): New function.
6840 (argp): Use more_help.
6841 (print_version): Use PKGVERSION.
6842 * elf/sln.c (main): Use PKGVERSION.
6843 (usage): Use REPORT_BUGS_TO.
6844 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6845 (top level): Use PKGVERSION.
6846 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6847 (print_version): Use PKGVERSION.
6848 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6849 (print_version): Use PKGVERSION.
6850 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6851 (print_version): Use PKGVERSION.
6852 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6853 (print_version): Use PKGVERSION.
6854 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6855 (print_version): Use PKGVERSION.
6856 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6857 (print_version): Use PKGVERSION.
6858 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6859 and BUGURL.
6860 ($(objpfx)memusage): Likewise.
6861 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6862 (do_version): Use PKGVERSION.
6863 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6864 (print_version): Use PKGVERSION.
6865 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6866 ($PKGVERSION): New variable.
6867 ($REPORT_BUGS_TO): Likewise.
6868 (usage): Use $REPORT_BUGS_TO.
6869 (top level): Use $PKGVERSION.
6870 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6871 ($(objpfx)pkgvers.texi): New rule.
6872 ($(objpfx)stamp-pkgvers): Likewise.
6873 * manual/install.texi: Include pkgvers.texi.
6874 (--with-pkgversion): Document new configure option.
6875 (--with-bugurl): Likewise.
6876 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6877 than necessarily for this particular distribution. Use
6878 REPORT_BUGS_TO for where to report bugs.
6879 * INSTALL: Regenerated.
6880 * manual/libc.texinfo: Include pkgvers.texi.
6881 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6882 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6883 (print_version): Use PKGVERSION.
6884 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6885 (print_version): Use PKGVERSION.
6886 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6887 (print_version): Use PKGVERSION.
6888 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6889 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6890 macro.
6891 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6892 (print_version): Use PKGVERSION.
6893 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6894 (print_version): Use PKGVERSION.
6895 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6896 and PKGVERSION.
6897
92e4b6a9
JM
6898 * timezone/checktab.awk: Update from tzcode 2012i.
6899 * timezone/ialloc.c: Likewise.
6900 * timezone/private.h: Likewise.
6901 * timezone/scheck.c: Likewise.
6902 * timezone/tzfile.h: Likewise.
6903 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6904 (TZVERSION): Hardcode tzcode version number.
6905 * timezone/zdump.c: Update from tzcode 2012i.
6906 * timezone/zic.c: Likewise.
6907 * timezone/version.h: New file.
6908 * timezone/README: Describe version.h. Update upstream location.
6909
9bde902c
JM
6910 [BZ #14824]
6911 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6912 (mktemp): Enable declaration.
6913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6914 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6915 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6917 Likewise.
6918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6919 Likewise.
6920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6921 Likewise.
6922 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6923 Likewise.
6924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6925 Likewise.
6926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6927 Likewise.
6928
fb1ae1ee
JM
6929 [BZ #14821]
6930 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6931 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6932 for copies of such integer values.
6933 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6934 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6935
2c1adbcb
AJ
69362012-11-09 Andreas Jaeger <aj@suse.de>
6937
6938 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6939 definitions and declarations that are provided by
6940 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6941
d0f8457e
AK
69422012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6943
3a235abb 6944 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6945 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6946 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6947 definition.
6948
57241e26
MS
69492012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6950
6951 * elf/elf.h: Update comment before AArch64 relocations.
6952
60e8270d
DM
69532012-11-07 David S. Miller <davem@davemloft.net>
6954
6955 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6956 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6957 (__start_context): Declare.
6958 (__makecontext_ret): Delete.
6959 (__makecontext): Hook up __start_context instead of
6960 __makecontext_ret.
6961 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6962 (sysdep_routines): Add __start_context when in stdlib.
6963
0fbb0fbc
JM
69642012-11-07 Joseph Myers <joseph@codesourcery.com>
6965
6966 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6967 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6968 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6969 hardcoded "nm".
6970 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6971 (READELF): New variable. Use it instead of hardcoded "readelf".
6972
eb48db7e
L
69732012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6974
6975 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6976 * sysdeps/x86/Makefile: Here.
6977 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6978 * sysdeps/x86/tst-xmmymm.sh: This.
6979
05bcf62a
JM
69802012-11-07 Joseph Myers <joseph@codesourcery.com>
6981
c4b6cf53
JM
6982 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6983 expectations.
6984 [UNIX98] (pthread_barrier_t): Do not expect.
6985 [UNIX98] (pthread_barrierattr_t): Likewise.
6986 [UNIX98] (pthread_spinlock_t): Likewise.
6987 [UNIX98] (pthread_barrier_destroy): Likewise.
6988 [UNIX98] (pthread_barrier_init): Likewise.
6989 [UNIX98] (pthread_barrier_wait): Likewise.
6990 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6991 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6992 [UNIX98] (pthread_barrierattr_init): Likewise.
6993 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6994 [UNIX98] (pthread_getcpuclockid): Likewise.
6995 [UNIX98] (pthread_mutex_timedlock): Likewise.
6996 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6997 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6998 [UNIX98] (pthread_sigmask): Likewise.
6999 [UNIX98] (pthread_spin_destroy): Likewise.
7000 [UNIX98] (pthread_spin_init): Likewise.
7001 [UNIX98] (pthread_spin_lock): Likewise.
7002 [UNIX98] (pthread_spin_trylock): Likewise.
7003 [UNIX98] (pthread_spin_unlock): Likewise.
7004 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7005 Do not expect.
7006 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7007 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7008 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7009 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7010 [XPG3 || XPG4] (pthread_key_t): Likewise.
7011 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7012 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7013 [XPG3 || XPG4] (pthread_once_t): Likewise.
7014 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7015 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7016 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7017 [XPG3 || XPG4] (pthread_t): Likewise.
7018
cbe6e120
JM
7019 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7020 not expect.
7021 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7022
1b126443
JM
7023 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7024 Change function return type to int.
7025
b961a573
JM
7026 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7027 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7028 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7029 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7030 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7031 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7032 [!POSIX] (posix_madvise): Likewise.
7033 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7034 && !UNIX98].
7035 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7036 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7037 (mode_t): Likewise.
7038 (posix_mem_offset): Likewise.
7039 (posix_typed_mem_get_info): Likewise.
7040 (posix_typed_mem_open): Likewise.
7041
9e188909
JM
7042 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7043 Change condition to [XOPEN2K8].
7044
05bcf62a
JM
7045 * conform/conformtest.pl: Preprocess allow-header data with -x c
7046 instead of from stdin.
7047 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7048 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7049 [C99-based standards] (cerfc): Likewise.
7050 [C99-based standards] (cexp2): Likewise.
7051 [C99-based standards] (cexpm1): Likewise.
7052 [C99-based standards] (clog10): Likewise.
7053 [C99-based standards] (clog1p): Likewise.
7054 [C99-based standards] (clog2): Likewise.
7055 [C99-based standards] (clgamma): Likewise.
7056 [C99-based standards] (ctgamma): Likewise.
7057 [C99-based standards] (cerff): Likewise.
7058 [C99-based standards] (cerfcf): Likewise.
7059 [C99-based standards] (cexp2f): Likewise.
7060 [C99-based standards] (cexpm1f): Likewise.
7061 [C99-based standards] (clog10f): Likewise.
7062 [C99-based standards] (clog1pf): Likewise.
7063 [C99-based standards] (clog2f): Likewise.
7064 [C99-based standards] (clgammaf): Likewise.
7065 [C99-based standards] (ctgammaf): Likewise.
7066 [C99-based standards] (cerfl): Likewise.
7067 [C99-based standards] (cerfcl): Likewise.
7068 [C99-based standards] (cexp2l): Likewise.
7069 [C99-based standards] (cexpm1l): Likewise.
7070 [C99-based standards] (clog10l): Likewise.
7071 [C99-based standards] (clog1pl): Likewise.
7072 [C99-based standards] (clog2l): Likewise.
7073 [C99-based standards] (clgammal): Likewise.
7074 [C99-based standards] (ctgammal): Likewise.
7075 * conform/data/inttypes.h-data [C99-based standards]: Include
7076 stdint.h-data. Remove all expectations for stdint.h contents.
7077 [C99-based standards] (PRI*): Do not allow.
7078 [C99-based standards] (SCN*): Likewise.
7079 [C99-based standards] (*_t): Likewise.
7080 [C99-based-standards] (PRId8): Expect macro.
7081 [C99-based-standards] (PRIi8): Likewise.
7082 [C99-based-standards] (PRIo8): Likewise.
7083 [C99-based-standards] (PRIu8): Likewise.
7084 [C99-based-standards] (PRIx8): Likewise.
7085 [C99-based-standards] (PRIX8): Likewise.
7086 [C99-based-standards] (SCNd8): Likewise.
7087 [C99-based-standards] (SCNi8): Likewise.
7088 [C99-based-standards] (SCNo8): Likewise.
7089 [C99-based-standards] (SCNu8): Likewise.
7090 [C99-based-standards] (SCNx8): Likewise.
7091 [C99-based-standards] (PRIdLEAST8): Likewise.
7092 [C99-based-standards] (PRIiLEAST8): Likewise.
7093 [C99-based-standards] (PRIoLEAST8): Likewise.
7094 [C99-based-standards] (PRIuLEAST8): Likewise.
7095 [C99-based-standards] (PRIxLEAST8): Likewise.
7096 [C99-based-standards] (PRIXLEAST8): Likewise.
7097 [C99-based-standards] (SCNdLEAST8): Likewise.
7098 [C99-based-standards] (SCNiLEAST8): Likewise.
7099 [C99-based-standards] (SCNoLEAST8): Likewise.
7100 [C99-based-standards] (SCNuLEAST8): Likewise.
7101 [C99-based-standards] (SCNxLEAST8): Likewise.
7102 [C99-based-standards] (PRIdFAST8): Likewise.
7103 [C99-based-standards] (PRIiFAST8): Likewise.
7104 [C99-based-standards] (PRIoFAST8): Likewise.
7105 [C99-based-standards] (PRIuFAST8): Likewise.
7106 [C99-based-standards] (PRIxFAST8): Likewise.
7107 [C99-based-standards] (PRIXFAST8): Likewise.
7108 [C99-based-standards] (SCNdFAST8): Likewise.
7109 [C99-based-standards] (SCNiFAST8): Likewise.
7110 [C99-based-standards] (SCNoFAST8): Likewise.
7111 [C99-based-standards] (SCNuFAST8): Likewise.
7112 [C99-based-standards] (SCNxFAST8): Likewise.
7113 [C99-based-standards] (PRId16): Likewise.
7114 [C99-based-standards] (PRIi16): Likewise.
7115 [C99-based-standards] (PRIo16): Likewise.
7116 [C99-based-standards] (PRIu16): Likewise.
7117 [C99-based-standards] (PRIx16): Likewise.
7118 [C99-based-standards] (PRIX16): Likewise.
7119 [C99-based-standards] (SCNd16): Likewise.
7120 [C99-based-standards] (SCNi16): Likewise.
7121 [C99-based-standards] (SCNo16): Likewise.
7122 [C99-based-standards] (SCNu16): Likewise.
7123 [C99-based-standards] (SCNx16): Likewise.
7124 [C99-based-standards] (PRIdLEAST16): Likewise.
7125 [C99-based-standards] (PRIiLEAST16): Likewise.
7126 [C99-based-standards] (PRIoLEAST16): Likewise.
7127 [C99-based-standards] (PRIuLEAST16): Likewise.
7128 [C99-based-standards] (PRIxLEAST16): Likewise.
7129 [C99-based-standards] (PRIXLEAST16): Likewise.
7130 [C99-based-standards] (SCNdLEAST16): Likewise.
7131 [C99-based-standards] (SCNiLEAST16): Likewise.
7132 [C99-based-standards] (SCNoLEAST16): Likewise.
7133 [C99-based-standards] (SCNuLEAST16): Likewise.
7134 [C99-based-standards] (SCNxLEAST16): Likewise.
7135 [C99-based-standards] (PRIdFAST16): Likewise.
7136 [C99-based-standards] (PRIiFAST16): Likewise.
7137 [C99-based-standards] (PRIoFAST16): Likewise.
7138 [C99-based-standards] (PRIuFAST16): Likewise.
7139 [C99-based-standards] (PRIxFAST16): Likewise.
7140 [C99-based-standards] (PRIXFAST16): Likewise.
7141 [C99-based-standards] (SCNdFAST16): Likewise.
7142 [C99-based-standards] (SCNiFAST16): Likewise.
7143 [C99-based-standards] (SCNoFAST16): Likewise.
7144 [C99-based-standards] (SCNuFAST16): Likewise.
7145 [C99-based-standards] (SCNxFAST16): Likewise.
7146 [C99-based-standards] (PRId32): Likewise.
7147 [C99-based-standards] (PRIi32): Likewise.
7148 [C99-based-standards] (PRIo32): Likewise.
7149 [C99-based-standards] (PRIu32): Likewise.
7150 [C99-based-standards] (PRIx32): Likewise.
7151 [C99-based-standards] (PRIX32): Likewise.
7152 [C99-based-standards] (SCNd32): Likewise.
7153 [C99-based-standards] (SCNi32): Likewise.
7154 [C99-based-standards] (SCNo32): Likewise.
7155 [C99-based-standards] (SCNu32): Likewise.
7156 [C99-based-standards] (SCNx32): Likewise.
7157 [C99-based-standards] (PRIdLEAST32): Likewise.
7158 [C99-based-standards] (PRIiLEAST32): Likewise.
7159 [C99-based-standards] (PRIoLEAST32): Likewise.
7160 [C99-based-standards] (PRIuLEAST32): Likewise.
7161 [C99-based-standards] (PRIxLEAST32): Likewise.
7162 [C99-based-standards] (PRIXLEAST32): Likewise.
7163 [C99-based-standards] (SCNdLEAST32): Likewise.
7164 [C99-based-standards] (SCNiLEAST32): Likewise.
7165 [C99-based-standards] (SCNoLEAST32): Likewise.
7166 [C99-based-standards] (SCNuLEAST32): Likewise.
7167 [C99-based-standards] (SCNxLEAST32): Likewise.
7168 [C99-based-standards] (PRIdFAST32): Likewise.
7169 [C99-based-standards] (PRIiFAST32): Likewise.
7170 [C99-based-standards] (PRIoFAST32): Likewise.
7171 [C99-based-standards] (PRIuFAST32): Likewise.
7172 [C99-based-standards] (PRIxFAST32): Likewise.
7173 [C99-based-standards] (PRIXFAST32): Likewise.
7174 [C99-based-standards] (SCNdFAST32): Likewise.
7175 [C99-based-standards] (SCNiFAST32): Likewise.
7176 [C99-based-standards] (SCNoFAST32): Likewise.
7177 [C99-based-standards] (SCNuFAST32): Likewise.
7178 [C99-based-standards] (SCNxFAST32): Likewise.
7179 [C99-based-standards] (PRId64): Likewise.
7180 [C99-based-standards] (PRIi64): Likewise.
7181 [C99-based-standards] (PRIo64): Likewise.
7182 [C99-based-standards] (PRIu64): Likewise.
7183 [C99-based-standards] (PRIx64): Likewise.
7184 [C99-based-standards] (PRIX64): Likewise.
7185 [C99-based-standards] (SCNd64): Likewise.
7186 [C99-based-standards] (SCNi64): Likewise.
7187 [C99-based-standards] (SCNo64): Likewise.
7188 [C99-based-standards] (SCNu64): Likewise.
7189 [C99-based-standards] (SCNx64): Likewise.
7190 [C99-based-standards] (PRIdLEAST64): Likewise.
7191 [C99-based-standards] (PRIiLEAST64): Likewise.
7192 [C99-based-standards] (PRIoLEAST64): Likewise.
7193 [C99-based-standards] (PRIuLEAST64): Likewise.
7194 [C99-based-standards] (PRIxLEAST64): Likewise.
7195 [C99-based-standards] (PRIXLEAST64): Likewise.
7196 [C99-based-standards] (SCNdLEAST64): Likewise.
7197 [C99-based-standards] (SCNiLEAST64): Likewise.
7198 [C99-based-standards] (SCNoLEAST64): Likewise.
7199 [C99-based-standards] (SCNuLEAST64): Likewise.
7200 [C99-based-standards] (SCNxLEAST64): Likewise.
7201 [C99-based-standards] (PRIdFAST64): Likewise.
7202 [C99-based-standards] (PRIiFAST64): Likewise.
7203 [C99-based-standards] (PRIoFAST64): Likewise.
7204 [C99-based-standards] (PRIuFAST64): Likewise.
7205 [C99-based-standards] (PRIxFAST64): Likewise.
7206 [C99-based-standards] (PRIXFAST64): Likewise.
7207 [C99-based-standards] (SCNdFAST64): Likewise.
7208 [C99-based-standards] (SCNiFAST64): Likewise.
7209 [C99-based-standards] (SCNoFAST64): Likewise.
7210 [C99-based-standards] (SCNuFAST64): Likewise.
7211 [C99-based-standards] (SCNxFAST64): Likewise.
7212 [C99-based-standards] (PRIdMAX): Likewise.
7213 [C99-based-standards] (PRIiMAX): Likewise.
7214 [C99-based-standards] (PRIoMAX): Likewise.
7215 [C99-based-standards] (PRIuMAX): Likewise.
7216 [C99-based-standards] (PRIxMAX): Likewise.
7217 [C99-based-standards] (PRIXMAX): Likewise.
7218 [C99-based-standards] (SCNdMAX): Likewise.
7219 [C99-based-standards] (SCNiMAX): Likewise.
7220 [C99-based-standards] (SCNoMAX): Likewise.
7221 [C99-based-standards] (SCNuMAX): Likewise.
7222 [C99-based-standards] (SCNxMAX): Likewise.
7223 [C99-based-standards] (PRIdPTR): Likewise.
7224 [C99-based-standards] (PRIiPTR): Likewise.
7225 [C99-based-standards] (PRIoPTR): Likewise.
7226 [C99-based-standards] (PRIuPTR): Likewise.
7227 [C99-based-standards] (PRIxPTR): Likewise.
7228 [C99-based-standards] (PRIXPTR): Likewise.
7229 [C99-based-standards] (SCNdPTR): Likewise.
7230 [C99-based-standards] (SCNiPTR): Likewise.
7231 [C99-based-standards] (SCNoPTR): Likewise.
7232 [C99-based-standards] (SCNuPTR): Likewise.
7233 [C99-based-standards] (SCNxPTR): Likewise.
7234 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7235 allow.
7236 * conform/data/stdint.h-data: Update comments to clarify
7237 requirements.
7238 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7239 type.
7240 [C99-based standards] (INT8_MAX): Likewise.
7241 [C99-based standards] (INT16_MIN): Likewise.
7242 [C99-based standards] (INT16_MAX): Likewise.
7243 [C99-based standards] (INT32_MIN): Likewise.
7244 [C99-based standards] (INT32_MAX): Likewise.
7245 [C99-based standards] (INT64_MIN): Likewise.
7246 [C99-based standards] (INT64_MAX): Likewise.
7247 [C99-based standards] (UINT8_MAX): Likewise.
7248 [C99-based standards] (UINT16_MAX): Likewise.
7249 [C99-based standards] (UINT32_MAX): Likewise.
7250 [C99-based standards] (UINT64_MAX): Likewise.
7251 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7252 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7253 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7254 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7255 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7256 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7257 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7258 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7259 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7260 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7261 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7262 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7263 [C99-based standards] (INT_FAST8_MIN): Likewise.
7264 [C99-based standards] (INT_FAST8_MAX): Likewise.
7265 [C99-based standards] (INT_FAST16_MIN): Likewise.
7266 [C99-based standards] (INT_FAST16_MAX): Likewise.
7267 [C99-based standards] (INT_FAST32_MIN): Likewise.
7268 [C99-based standards] (INT_FAST32_MAX): Likewise.
7269 [C99-based standards] (INT_FAST64_MIN): Likewise.
7270 [C99-based standards] (INT_FAST64_MAX): Likewise.
7271 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7272 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7273 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7274 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7275 [C99-based standards] (INTPTR_MIN): Likewise.
7276 [C99-based standards] (INTPTR_MAX): Likewise.
7277 [C99-based standards] (UINTPTR_MAX): Likewise.
7278 [C99-based standards] (INTMAX_MIN): Likewise.
7279 [C99-based standards] (INTMAX_MAX): Likewise.
7280 [C99-based standards] (UINTMAX_MAX): Likewise.
7281 [C99-based standards] (PTRDIFF_MIN): Likewise.
7282 [C99-based standards] (PTRDIFF_MAX): Likewise.
7283 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7284 [C99-based standards] (SIZE_MAX): Likewise.
7285 [C99-based standards] (WCHAR_MAX): Likewise.
7286 [C99-based standards] (WINT_MAX): Likewise.
7287 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7288 constraint on value.
7289 [C99-based standards] (WCHAR_MIN): Likewise.
7290 [C99-based standards] (WINT_MIN): Likewise.
7291 [C99-based standards] (*_t): Allow.
7292 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7293 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7294 Include math.h-data and complex.h-data. Remove all expectations
7295 of math.h and complex.h contents.
7296 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7297 at end of line.
7298 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7299 (struct tm): Expect tag.
7300 [C99-based-standards] (wcstof): Expect function.
7301 [C99-based-standards] (wcstold): Likewise.
7302 [C99-based-standards] (wcstoll): Likewise.
7303 [C99-based-standards] (wcstoull): Likewise.
7304 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7305 macro-int-constant. Specify type.
7306 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7307 constraint on value.
7308 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7309 Specify type.
7310 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7311 Specify value.
7312 [ISO C standards]: Do not allow headers.
7313 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7314 wcs[abcdefghijklmnopqrstuvwxyz]*.
7315 [ISO C standards] (*_t): Do not allow.
7316 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7317 Expect function.
7318 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7319 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7320 Specify type.
7321 [ISO C standards]: Do not allow headers.
7322 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7323 is[abcdefghijklmnopqrstuvwxyz]*.
7324 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7325 to[abcdefghijklmnopqrstuvwxyz]*.
7326 [ISO C standards] (*_t): Do not allow.
7327 * conform/data/stdalign.h-data: New file.
7328 * conform/data/stdbool.h-data: Likewise.
7329 * conform/data/stdnoreturn.h-data: Likewise.
7330
7514feb8
RM
73312012-11-07 Roland McGrath <roland@hack.frob.com>
7332
7333 [BZ #14815]
7334 * manual/filesys.texi (Directory Entries): Typo fix.
7335 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7336
19b2ecfc
MS
73372012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7338
7339 * elf/elf.h (EM_AARCH64): New macro.
7340 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7341 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7342 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7343 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7344 (R_AARCH64_TLSDESC): Likewise.
7345 (NT_ARM_TLS): Likewise.
7346 (NT_ARM_HW_BREAK): Likewise.
7347 (NT_ARM_HW_WATCH): Likewise.
7348
60e235ee
JM
73492012-11-07 Joseph Myers <joseph@codesourcery.com>
7350
7351 [BZ #14811]
7352 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7353 (__ieee754_powl): Saturate nonzero exponents with absolute value
7354 below 0x1p-79 to +/- 0x1p-79.
7355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7356 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7357 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7358 nonzero exponents with absolute value below 0x1p-32 to +/-
7359 0x1p-32.
7360 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7361 (__ieee754_powl): Saturate nonzero exponents with absolute value
7362 below 0x1p-79 to +/- 0x1p-79.
7363 * math/libm-test.inc (pow_test): Add more tests.
7364
0ab234b7
AK
73652012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7366
7367 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7368 _dl_s390_cap_flags with kernel. Increase string length.
7369 (_dl_s390_platforms): Add z196 and zEC12.
7370
45832f74
JM
73712012-11-07 Joseph Myers <joseph@codesourcery.com>
7372
7373 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7374 Change XOPEN21K to XOPEN2K.
7375
19218757
MK
73762012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7377
7378 * string/memmove.c: Use memcpy when possible.
7379
c5f45721
AJ
73802012-11-06 Andreas Jaeger <aj@suse.de>
7381
7382 * po/eo.po: Update from translation team.
7383
82477c28
JM
73842012-11-06 Joseph Myers <joseph@codesourcery.com>
7385
7386 [BZ #14793]
7387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7388 exponent and small x and y exponents, scale x or y up. Increase
7389 by 2 the exponent used in scaling up.
7390 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7391 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7392 * math/libm-test.inc (fma_test): Add more tests.
7393 (fma_test_towardzero): Likewise.
7394 (fma_test_downward): Likewise.
7395 (fma_test_upward): Likewise.
7396
99252c8c
JM
73972012-11-05 Joseph Myers <joseph@codesourcery.com>
7398
acfa885f
JM
7399 [BZ #14805]
7400 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7401 fenv_t *.
7402
99252c8c
JM
7403 [BZ #14801]
7404 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7405 namespace for names of struct fields.
7406 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7407 fenv_t fields.
7408 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7409 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7410
d6d98dea
ST
74112012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7412
7413 [BZ #3665]
7414 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7415
e10bb107
TS
74162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7417
7418 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7419 PTR_DEMANGLE.
7420
7421 [BZ #5246]
7422 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7423 PTR_DEMANGLE.
7424
a0c2940d
JM
74252012-11-04 Joseph Myers <joseph@codesourcery.com>
7426
7427 [BZ #14797]
7428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7429 definitely overflow as x * y not x * y + z.
7430 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7432 * math/libm-test.inc (fma_test): Add more tests.
7433 (fma_test_towardzero): Likewise.
7434 (fma_test_downward): Likewise.
7435 (fma_test_upward): Likewise.
7436
b830319d
TS
74372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7438
7439 [BZ #157]
7440
7441 * include/stub-tag.h: Remove file.
7442 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7443 '#include' of it.
7444 * manual/maint.texi (Porting): Don't reference it.
7445 * Makerules ($(objpfx)stubs): Likewise.
7446 * dirent/closedir.c: Don't include <stub-tag.h>.
7447 * dirent/dirfd.c: Likewise.
7448 * dirent/fdopendir.c: Likewise.
7449 * dirent/getdents.c: Likewise.
7450 * dirent/getdents64.c: Likewise.
7451 * dirent/opendir.c: Likewise.
7452 * dirent/readdir.c: Likewise.
7453 * dirent/readdir64.c: Likewise.
7454 * dirent/readdir64_r.c: Likewise.
7455 * dirent/readdir_r.c: Likewise.
7456 * dirent/rewinddir.c: Likewise.
7457 * dirent/seekdir.c: Likewise.
7458 * dirent/telldir.c: Likewise.
7459 * gmon/profil.c: Likewise.
7460 * grp/setgroups.c: Likewise.
7461 * inet/if_index.c: Likewise.
7462 * io/access.c: Likewise.
7463 * io/chdir.c: Likewise.
7464 * io/chmod.c: Likewise.
7465 * io/chown.c: Likewise.
7466 * io/close.c: Likewise.
7467 * io/dup.c: Likewise.
7468 * io/dup2.c: Likewise.
7469 * io/dup3.c: Likewise.
7470 * io/euidaccess.c: Likewise.
7471 * io/faccessat.c: Likewise.
7472 * io/fchdir.c: Likewise.
7473 * io/fchmod.c: Likewise.
7474 * io/fchmodat.c: Likewise.
7475 * io/fchown.c: Likewise.
7476 * io/fchownat.c: Likewise.
7477 * io/fcntl.c: Likewise.
7478 * io/flock.c: Likewise.
7479 * io/fstatfs.c: Likewise.
7480 * io/fstatfs64.c: Likewise.
7481 * io/fstatvfs.c: Likewise.
7482 * io/fstatvfs64.c: Likewise.
7483 * io/futimens.c: Likewise.
7484 * io/fxstat.c: Likewise.
7485 * io/fxstat64.c: Likewise.
7486 * io/fxstatat.c: Likewise.
7487 * io/fxstatat64.c: Likewise.
7488 * io/getcwd.c: Likewise.
7489 * io/isatty.c: Likewise.
7490 * io/lchmod.c: Likewise.
7491 * io/lchown.c: Likewise.
7492 * io/link.c: Likewise.
7493 * io/linkat.c: Likewise.
7494 * io/lseek.c: Likewise.
7495 * io/lseek64.c: Likewise.
7496 * io/lxstat64.c: Likewise.
7497 * io/mkdir.c: Likewise.
7498 * io/mkdirat.c: Likewise.
7499 * io/mkfifo.c: Likewise.
7500 * io/mkfifoat.c: Likewise.
7501 * io/open.c: Likewise.
7502 * io/open64.c: Likewise.
7503 * io/openat.c: Likewise.
7504 * io/openat64.c: Likewise.
7505 * io/pipe.c: Likewise.
7506 * io/pipe2.c: Likewise.
7507 * io/poll.c: Likewise.
7508 * io/posix_fadvise.c: Likewise.
7509 * io/posix_fadvise64.c: Likewise.
7510 * io/posix_fallocate.c: Likewise.
7511 * io/posix_fallocate64.c: Likewise.
7512 * io/read.c: Likewise.
7513 * io/readlink.c: Likewise.
7514 * io/readlinkat.c: Likewise.
7515 * io/rmdir.c: Likewise.
7516 * io/sendfile.c: Likewise.
7517 * io/sendfile64.c: Likewise.
7518 * io/statfs.c: Likewise.
7519 * io/statfs64.c: Likewise.
7520 * io/statvfs.c: Likewise.
7521 * io/statvfs64.c: Likewise.
7522 * io/symlink.c: Likewise.
7523 * io/symlinkat.c: Likewise.
7524 * io/ttyname.c: Likewise.
7525 * io/ttyname_r.c: Likewise.
7526 * io/umask.c: Likewise.
7527 * io/unlink.c: Likewise.
7528 * io/unlinkat.c: Likewise.
7529 * io/utime.c: Likewise.
7530 * io/utimensat.c: Likewise.
7531 * io/write.c: Likewise.
7532 * io/xmknod.c: Likewise.
7533 * io/xmknodat.c: Likewise.
7534 * io/xstat.c: Likewise.
7535 * io/xstat64.c: Likewise.
7536 * login/getpt.c: Likewise.
7537 * login/grantpt.c: Likewise.
7538 * login/unlockpt.c: Likewise.
7539 * math/e_acoshl.c: Likewise.
7540 * math/e_acosl.c: Likewise.
7541 * math/e_asinl.c: Likewise.
7542 * math/e_atan2l.c: Likewise.
7543 * math/e_atanhl.c: Likewise.
7544 * math/e_coshl.c: Likewise.
7545 * math/e_expl.c: Likewise.
7546 * math/e_fmodl.c: Likewise.
7547 * math/e_gammal_r.c: Likewise.
7548 * math/e_hypotl.c: Likewise.
7549 * math/e_j0l.c: Likewise.
7550 * math/e_j1l.c: Likewise.
7551 * math/e_jnl.c: Likewise.
7552 * math/e_lgammal_r.c: Likewise.
7553 * math/e_log10l.c: Likewise.
7554 * math/e_log2l.c: Likewise.
7555 * math/e_logl.c: Likewise.
7556 * math/e_powl.c: Likewise.
7557 * math/e_rem_pio2l.c: Likewise.
7558 * math/e_sinhl.c: Likewise.
7559 * math/e_sqrtl.c: Likewise.
7560 * math/fclrexcpt.c: Likewise.
7561 * math/fedisblxcpt.c: Likewise.
7562 * math/feenablxcpt.c: Likewise.
7563 * math/fegetenv.c: Likewise.
7564 * math/fegetexcept.c: Likewise.
7565 * math/fegetround.c: Likewise.
7566 * math/feholdexcpt.c: Likewise.
7567 * math/fesetenv.c: Likewise.
7568 * math/fesetround.c: Likewise.
7569 * math/feupdateenv.c: Likewise.
7570 * math/fgetexcptflg.c: Likewise.
7571 * math/fraiseexcpt.c: Likewise.
7572 * math/fsetexcptflg.c: Likewise.
7573 * math/ftestexcept.c: Likewise.
7574 * math/k_cosl.c: Likewise.
7575 * math/k_rem_pio2l.c: Likewise.
7576 * math/k_sinl.c: Likewise.
7577 * math/k_tanl.c: Likewise.
7578 * math/s_asinhl.c: Likewise.
7579 * math/s_atanl.c: Likewise.
7580 * math/s_cbrtl.c: Likewise.
7581 * math/s_erfl.c: Likewise.
7582 * math/s_expm1l.c: Likewise.
7583 * math/s_log1pl.c: Likewise.
7584 * math/s_tanhl.c: Likewise.
7585 * misc/acct.c: Likewise.
7586 * misc/brk.c: Likewise.
7587 * misc/chflags.c: Likewise.
7588 * misc/chroot.c: Likewise.
7589 * misc/fchflags.c: Likewise.
7590 * misc/fgetxattr.c: Likewise.
7591 * misc/flistxattr.c: Likewise.
7592 * misc/fremovexattr.c: Likewise.
7593 * misc/fsetxattr.c: Likewise.
7594 * misc/fsync.c: Likewise.
7595 * misc/ftruncate.c: Likewise.
7596 * misc/futimes.c: Likewise.
7597 * misc/futimesat.c: Likewise.
7598 * misc/getdomain.c: Likewise.
7599 * misc/getdtsz.c: Likewise.
7600 * misc/gethostid.c: Likewise.
7601 * misc/gethostname.c: Likewise.
7602 * misc/getloadavg.c: Likewise.
7603 * misc/getpagesize.c: Likewise.
7604 * misc/getsysstats.c: Likewise.
7605 * misc/getxattr.c: Likewise.
7606 * misc/gtty.c: Likewise.
7607 * misc/ioctl.c: Likewise.
7608 * misc/lgetxattr.c: Likewise.
7609 * misc/listxattr.c: Likewise.
7610 * misc/llistxattr.c: Likewise.
7611 * misc/lremovexattr.c: Likewise.
7612 * misc/lsetxattr.c: Likewise.
7613 * misc/lutimes.c: Likewise.
7614 * misc/madvise.c: Likewise.
7615 * misc/mincore.c: Likewise.
7616 * misc/mlock.c: Likewise.
7617 * misc/mlockall.c: Likewise.
7618 * misc/mmap.c: Likewise.
7619 * misc/mprotect.c: Likewise.
7620 * misc/msync.c: Likewise.
7621 * misc/munlock.c: Likewise.
7622 * misc/munlockall.c: Likewise.
7623 * misc/munmap.c: Likewise.
7624 * misc/preadv.c: Likewise.
7625 * misc/preadv64.c: Likewise.
7626 * misc/ptrace.c: Likewise.
7627 * misc/pwritev.c: Likewise.
7628 * misc/pwritev64.c: Likewise.
7629 * misc/readv.c: Likewise.
7630 * misc/reboot.c: Likewise.
7631 * misc/remap_file_pages.c: Likewise.
7632 * misc/removexattr.c: Likewise.
7633 * misc/revoke.c: Likewise.
7634 * misc/select.c: Likewise.
7635 * misc/setdomain.c: Likewise.
7636 * misc/setegid.c: Likewise.
7637 * misc/seteuid.c: Likewise.
7638 * misc/sethostid.c: Likewise.
7639 * misc/sethostname.c: Likewise.
7640 * misc/setregid.c: Likewise.
7641 * misc/setreuid.c: Likewise.
7642 * misc/setxattr.c: Likewise.
7643 * misc/sstk.c: Likewise.
7644 * misc/stty.c: Likewise.
7645 * misc/swapoff.c: Likewise.
7646 * misc/swapon.c: Likewise.
7647 * misc/sync.c: Likewise.
7648 * misc/syncfs.c: Likewise.
7649 * misc/syscall.c: Likewise.
7650 * misc/truncate.c: Likewise.
7651 * misc/ualarm.c: Likewise.
7652 * misc/usleep.c: Likewise.
7653 * misc/ustat.c: Likewise.
7654 * misc/utimes.c: Likewise.
7655 * misc/vhangup.c: Likewise.
7656 * misc/writev.c: Likewise.
7657 * posix/_exit.c: Likewise.
7658 * posix/alarm.c: Likewise.
7659 * posix/execve.c: Likewise.
7660 * posix/fexecve.c: Likewise.
7661 * posix/fork.c: Likewise.
7662 * posix/fpathconf.c: Likewise.
7663 * posix/getaddrinfo.c: Likewise.
7664 * posix/getegid.c: Likewise.
7665 * posix/geteuid.c: Likewise.
7666 * posix/getgid.c: Likewise.
7667 * posix/getgroups.c: Likewise.
7668 * posix/getlogin.c: Likewise.
7669 * posix/getlogin_r.c: Likewise.
7670 * posix/getpgid.c: Likewise.
7671 * posix/getpid.c: Likewise.
7672 * posix/getppid.c: Likewise.
7673 * posix/getresgid.c: Likewise.
7674 * posix/getresuid.c: Likewise.
7675 * posix/getsid.c: Likewise.
7676 * posix/getuid.c: Likewise.
7677 * posix/glob64.c: Likewise.
7678 * posix/nanosleep.c: Likewise.
7679 * posix/pathconf.c: Likewise.
7680 * posix/pause.c: Likewise.
7681 * posix/posix_madvise.c: Likewise.
7682 * posix/pread.c: Likewise.
7683 * posix/pread64.c: Likewise.
7684 * posix/pwrite.c: Likewise.
7685 * posix/pwrite64.c: Likewise.
7686 * posix/sched_getaffinity.c: Likewise.
7687 * posix/sched_getp.c: Likewise.
7688 * posix/sched_gets.c: Likewise.
7689 * posix/sched_primax.c: Likewise.
7690 * posix/sched_primin.c: Likewise.
7691 * posix/sched_rr_gi.c: Likewise.
7692 * posix/sched_setaffinity.c: Likewise.
7693 * posix/sched_setp.c: Likewise.
7694 * posix/sched_sets.c: Likewise.
7695 * posix/sched_yield.c: Likewise.
7696 * posix/setgid.c: Likewise.
7697 * posix/setlogin.c: Likewise.
7698 * posix/setpgid.c: Likewise.
7699 * posix/setresgid.c: Likewise.
7700 * posix/setresuid.c: Likewise.
7701 * posix/setsid.c: Likewise.
7702 * posix/setuid.c: Likewise.
7703 * posix/sleep.c: Likewise.
7704 * posix/spawni.c: Likewise.
7705 * posix/sysconf.c: Likewise.
7706 * posix/times.c: Likewise.
7707 * posix/wait.c: Likewise.
7708 * posix/wait3.c: Likewise.
7709 * posix/wait4.c: Likewise.
7710 * posix/waitpid.c: Likewise.
7711 * resolv/gai_sigqueue.c: Likewise.
7712 * resource/getpriority.c: Likewise.
7713 * resource/getrlimit.c: Likewise.
7714 * resource/getrusage.c: Likewise.
7715 * resource/nice.c: Likewise.
7716 * resource/setpriority.c: Likewise.
7717 * resource/setrlimit.c: Likewise.
7718 * resource/ulimit.c: Likewise.
7719 * rt/aio_cancel.c: Likewise.
7720 * rt/aio_fsync.c: Likewise.
7721 * rt/aio_read.c: Likewise.
7722 * rt/aio_sigqueue.c: Likewise.
7723 * rt/aio_suspend.c: Likewise.
7724 * rt/aio_write.c: Likewise.
7725 * rt/clock_getres.c: Likewise.
7726 * rt/clock_gettime.c: Likewise.
7727 * rt/clock_nanosleep.c: Likewise.
7728 * rt/clock_settime.c: Likewise.
7729 * rt/lio_listio.c: Likewise.
7730 * rt/mq_close.c: Likewise.
7731 * rt/mq_getattr.c: Likewise.
7732 * rt/mq_notify.c: Likewise.
7733 * rt/mq_open.c: Likewise.
7734 * rt/mq_receive.c: Likewise.
7735 * rt/mq_send.c: Likewise.
7736 * rt/mq_setattr.c: Likewise.
7737 * rt/mq_timedreceive.c: Likewise.
7738 * rt/mq_timedsend.c: Likewise.
7739 * rt/mq_unlink.c: Likewise.
7740 * rt/shm_open.c: Likewise.
7741 * rt/shm_unlink.c: Likewise.
7742 * rt/timer_create.c: Likewise.
7743 * rt/timer_delete.c: Likewise.
7744 * rt/timer_getoverr.c: Likewise.
7745 * rt/timer_gettime.c: Likewise.
7746 * rt/timer_settime.c: Likewise.
7747 * setjmp/__longjmp.c: Likewise.
7748 * setjmp/setjmp.c: Likewise.
7749 * signal/kill.c: Likewise.
7750 * signal/killpg.c: Likewise.
7751 * signal/raise.c: Likewise.
7752 * signal/sigaction.c: Likewise.
7753 * signal/sigaltstack.c: Likewise.
7754 * signal/sigblock.c: Likewise.
7755 * signal/sigignore.c: Likewise.
7756 * signal/sigintr.c: Likewise.
7757 * signal/signal.c: Likewise.
7758 * signal/sigpause.c: Likewise.
7759 * signal/sigpending.c: Likewise.
7760 * signal/sigqueue.c: Likewise.
7761 * signal/sigreturn.c: Likewise.
7762 * signal/sigset.c: Likewise.
7763 * signal/sigsetmask.c: Likewise.
7764 * signal/sigstack.c: Likewise.
7765 * signal/sigsuspend.c: Likewise.
7766 * signal/sigtimedwait.c: Likewise.
7767 * signal/sigvec.c: Likewise.
7768 * signal/sigwait.c: Likewise.
7769 * signal/sigwaitinfo.c: Likewise.
7770 * signal/sysv_signal.c: Likewise.
7771 * socket/accept.c: Likewise.
7772 * socket/accept4.c: Likewise.
7773 * socket/bind.c: Likewise.
7774 * socket/connect.c: Likewise.
7775 * socket/getpeername.c: Likewise.
7776 * socket/getsockname.c: Likewise.
7777 * socket/getsockopt.c: Likewise.
7778 * socket/isfdtype.c: Likewise.
7779 * socket/listen.c: Likewise.
7780 * socket/recv.c: Likewise.
7781 * socket/recvfrom.c: Likewise.
7782 * socket/recvmsg.c: Likewise.
7783 * socket/send.c: Likewise.
7784 * socket/sendmsg.c: Likewise.
7785 * socket/sendto.c: Likewise.
7786 * socket/setsockopt.c: Likewise.
7787 * socket/shutdown.c: Likewise.
7788 * socket/sockatmark.c: Likewise.
7789 * socket/socket.c: Likewise.
7790 * socket/socketpair.c: Likewise.
7791 * stdio-common/ctermid.c: Likewise.
7792 * stdio-common/cuserid.c: Likewise.
7793 * stdio-common/remove.c: Likewise.
7794 * stdio-common/rename.c: Likewise.
7795 * stdio-common/renameat.c: Likewise.
7796 * stdio-common/tempname.c: Likewise.
7797 * stdlib/getcontext.c: Likewise.
7798 * stdlib/makecontext.c: Likewise.
7799 * stdlib/setcontext.c: Likewise.
7800 * stdlib/swapcontext.c: Likewise.
7801 * stdlib/system.c: Likewise.
7802 * streams/fattach.c: Likewise.
7803 * streams/fdetach.c: Likewise.
7804 * streams/getmsg.c: Likewise.
7805 * streams/getpmsg.c: Likewise.
7806 * streams/putmsg.c: Likewise.
7807 * streams/putpmsg.c: Likewise.
7808 * sysdeps/unix/bsd/getpt.c: Likewise.
7809 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7810 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7811 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7813 Likewise.
7814 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7815 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7816 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7817 * sysvipc/msgctl.c: Likewise.
7818 * sysvipc/msgget.c: Likewise.
7819 * sysvipc/msgrcv.c: Likewise.
7820 * sysvipc/msgsnd.c: Likewise.
7821 * sysvipc/semctl.c: Likewise.
7822 * sysvipc/semget.c: Likewise.
7823 * sysvipc/semop.c: Likewise.
7824 * sysvipc/semtimedop.c: Likewise.
7825 * sysvipc/shmat.c: Likewise.
7826 * sysvipc/shmctl.c: Likewise.
7827 * sysvipc/shmdt.c: Likewise.
7828 * sysvipc/shmget.c: Likewise.
7829 * termios/tcdrain.c: Likewise.
7830 * termios/tcflow.c: Likewise.
7831 * termios/tcflush.c: Likewise.
7832 * termios/tcgetattr.c: Likewise.
7833 * termios/tcgetpgrp.c: Likewise.
7834 * termios/tcsendbrk.c: Likewise.
7835 * termios/tcsetattr.c: Likewise.
7836 * termios/tcsetpgrp.c: Likewise.
7837 * time/adjtime.c: Likewise.
7838 * time/clock.c: Likewise.
7839 * time/getitimer.c: Likewise.
7840 * time/gettimeofday.c: Likewise.
7841 * time/setitimer.c: Likewise.
7842 * time/settimeofday.c: Likewise.
7843 * time/stime.c: Likewise.
7844 * time/time.c: Likewise.
7845
78462012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7847
a20492cf
PT
7848 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7849 /usr/old/bin.
7850
72e182e3
PT
7851 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7852 instead of spaces.
7853 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7854
fbeafede
JM
78552012-11-03 Joseph Myers <joseph@codesourcery.com>
7856
5b5b04d6
JM
7857 [BZ #14796]
7858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7859 FE_TONEAREST before applying Dekker multiplication and Knuth
7860 addition. Clear inexact exceptions and check for exact zero
7861 results afterwards.
7862 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7863 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7864 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7865 * math/libm-test.inc (fma_test): Add more tests.
7866 (fma_test_towardzero): Likewise.
7867 (fma_test_downward): Likewise.
7868 (fma_test_upward): Likewise.
7869 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7870 function.
7871 (libc_fesetround): New macro.
7872 (libc_fesetroundf): Likewise.
7873 (libc_fesetroundl): Likewise.
7874 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7875 function.
7876 (libc_fesetround_387): Likewise.
7877 (libc_fesetroundf): New macro.
7878 (libc_fesetround): Likewise.
7879 (libc_fesetroundl): Likewise.
7880 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7881 function.
7882 (libc_fesetroundf): New macro.
7883 (libc_fesetround): Likewise.
7884 (libc_fesetroundl): Likewise.
7885 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7886 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7887 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7888 libm_hidden_ver.
7889 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7890 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7891 libm_hidden_def.
7892 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7893 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7894 libm_hidden_ver.
7895 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7896 libm_hidden_def.
7897
fbeafede
JM
7898 [BZ #3439]
7899 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7900 integer constant usable in #if and use that to give value to enum
7901 constant.
7902 (FE_DIVBYZERO): Likewise.
7903 (FE_UNDERFLOW): Likewise.
7904 (FE_OVERFLOW): Likewise.
7905 (FE_INVALID): Likewise.
7906 (FE_INVALID_SNAN): Likewise.
7907 (FE_INVALID_ISI): Likewise.
7908 (FE_INVALID_IDI): Likewise.
7909 (FE_INVALID_ZDZ): Likewise.
7910 (FE_INVALID_IMZ): Likewise.
7911 (FE_INVALID_COMPARE): Likewise.
7912 (FE_INVALID_SOFTWARE): Likewise.
7913 (FE_INVALID_SQRT): Likewise.
7914 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7915 (FE_TONEAREST): Likewise.
7916 (FE_TOWARDZERO): Likewise.
7917 (FE_UPWARD): Likewise.
7918 (FE_DOWNWARD): Likewise.
7919 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7920 (FE_DIVBYZERO): Likewise.
7921 (FE_OVERFLOW): Likewise.
7922 (FE_UNDERFLOW): Likewise.
7923 (FE_INEXACT): Likewise.
7924 (FE_TONEAREST): Likewise.
7925 (FE_DOWNWARD): Likewise.
7926 (FE_UPWARD): Likewise.
7927 (FE_TOWARDZERO): Likewise.
7928 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7929 (FE_UNDERFLOW): Likewise.
7930 (FE_OVERFLOW): Likewise.
7931 (FE_DIVBYZERO): Likewise.
7932 (FE_INVALID): Likewise.
7933 (FE_TONEAREST): Likewise.
7934 (FE_TOWARDZERO): Likewise.
7935 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7936 (FE_OVERFLOW): Likewise.
7937 (FE_UNDERFLOW): Likewise.
7938 (FE_DIVBYZERO): Likewise.
7939 (FE_INEXACT): Likewise.
7940 (FE_TONEAREST): Likewise.
7941 (FE_TOWARDZERO): Likewise.
7942 (FE_UPWARD): Likewise.
7943 (FE_DOWNWARD): Likewise.
7944 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7945 (FE_DIVBYZERO): Likewise.
7946 (FE_OVERFLOW): Likewise.
7947 (FE_UNDERFLOW): Likewise.
7948 (FE_INEXACT): Likewise.
7949 (FE_TONEAREST): Likewise.
7950 (FE_DOWNWARD): Likewise.
7951 (FE_UPWARD): Likewise.
7952 (FE_TOWARDZERO): Likewise.
7953
105ca950
CM
79542012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7955
7956 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7957
a542b389
AS
79582012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7959
7960 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7961 commands. Quote $PWD.
7962 (blacklist_exports): Don't use remove_newlines. Replace "declare
7963 -x" by "export".
7964 (remove_newlines): Remove.
7965
f62c8abc
L
79662012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7967
7968 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7969 * stdlib/stdlib.h (atof): Moved to ...
7970 * include/bits/stdlib-float.h: Here. New file.
7971 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7972 * stdlib/bits/stdlib-float.h: New file.
7973 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7974 -mno-sse -mno-mmx.
7975 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7976 <xmmintrin.h>.
7977
0155d5b2
JM
79782012-11-02 Joseph Myers <joseph@codesourcery.com>
7979
a68d0680
JM
7980 * conform/conformtest.pl (@headers): Add fenv.h.
7981 * conform/data/fenv.h-data: New file.
7982 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7983 include of <math/fenv.h>.
7984
caf7f573
JM
7985 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7986 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7987 && !UNIX98]. Enables tests for XOPEN2K8.
7988 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7989 POSIX2008]: Likewise.
7990
6c073ad6
JM
7991 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7992 (struct rusage): Do not expect type or its members.
7993
0155d5b2
JM
7994 [BZ #3439]
7995 * math/math.h (FP_NAN): Define macro to integer constant usable in
7996 #if and use that to give value to enum constant.
7997 (FP_INFINITE): Likewise.
7998 (FP_ZERO): Likewise.
7999 (FP_SUBNORMAL): Likewise.
8000 (FP_NORMAL): Likewise.
8001
b5dcacb4
AS
80022012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8003
8004 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8005 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8006 arguments.
8007
f7934be8
RM
80082012-11-02 Roland McGrath <roland@hack.frob.com>
8009
8010 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8011 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8012 autoconf-time if not.
8013 * configure.in: Remove AC_PREREQ.
8014
d7d08bde
TMQMF
80152012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8016
8017 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8018 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8019 of the internal implementation.
8020
dcdae19a
JM
80212012-11-02 Joseph Myers <joseph@codesourcery.com>
8022
8023 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8024 except include of <misc/sys/syslog.h>.
8025
d6cffd3e
AS
80262012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8027
8028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8029 function returns with a NULL context exit with zero.
8030
b3563932
TMQMF
80312012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8032
8033 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8034
b288a93d
L
80352012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8036
8037 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8038 (run_program_cmd): This.
8039 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8040 (tst_langinfo): New variable. Use it.
8041
a2421a68
SAS
80422012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8043
8044 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8045 floating point opcodes.
8046
6f796e1b
TS
80472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8048
7402596b
TS
8049 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8050 variable.
8051
d0d4f868
TS
8052 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8053
6f796e1b
TS
8054 * sysdeps/mach/hurd/powerpc: Remove directory.
8055 * sysdeps/mach/powerpc: Likewise.
8056
4da224a2
AS
80572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8058
8059 * scripts/check-local-headers.sh: Ignore c++ headers.
8060
341dd673
TS
80612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8062
8063 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8064 __libc_cleanup_region_start argument.
8065
473611b2
JM
80662012-11-01 Joseph Myers <joseph@codesourcery.com>
8067
8068 [BZ #14784]
8069 [BZ #14785]
8070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8071 x * y using scaling, not as x * y + z.
8072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8073 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8074 * math/libm-test.inc (fma_test): Add more tests.
8075 (fma_test_towardzero): Likewise.
8076 (fma_test_downward): Likewise.
8077 (fma_test_upward): Likewise.
8078
4078da3d
TS
80792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8080
8081 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8082
903252aa
JM
80832012-10-31 Joseph Myers <joseph@codesourcery.com>
8084
8085 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8086 New variable.
8087
cbc818d0
TS
80882012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8089
8090 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8091
5a03cb1e
AS
80922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8093
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8095 Fix sort order.
8096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8097 Likewise.
8098
90aff2ff
TMQMF
80992012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8100
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8102 Fix the order of the list for glibc 2.17.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8104 Likewise.
8105
1818fcb7
AS
81062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8107
8108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8109
ef82f4da
JM
81102012-10-31 Joseph Myers <joseph@codesourcery.com>
8111
16a0e2ec
JM
8112 [BZ #14610]
8113 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8114 for low part of x being zero before using __atanl (y).
8115 * math/libm-test.inc (atan2_test): Add another test.
8116
0eb69512
JM
8117 * manual/install.texi (Configuring and compiling): Document
8118 general use of test-wrapper and test-wrapper-env.
8119 * INSTALL: Regenerated.
8120
ef82f4da
JM
8121 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8122 (__fma): Do not extract and scale down low bits on after-rounding
8123 systems when result rounded to normal precision would have normal
8124 exponent.
8125 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8126 (__fmal): Do not extract and scale down low bits on after-rounding
8127 systems when result rounded to normal precision would have normal
8128 exponent.
8129 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8130 (__fmal): Do not extract and scale down low bits on after-rounding
8131 systems when result rounded to normal precision would have normal
8132 exponent.
8133 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8134 macro.
8135 (fma_test): Add more tests.
8136 (fma_test_towardzero): Likewise.
8137 (fma_test_downward): Likewise.
8138 (fma_test_upward): Likewise.
8139
954ef0d9
L
81402012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8141
8142 * sysdeps/i386/tininess.h: Renamed to ...
8143 * sysdeps/x86/tininess.h: This.
8144 * sysdeps/x86_64/tininess.h: Removed.
8145
df61ffb2
JM
81462012-10-30 Joseph Myers <joseph@codesourcery.com>
8147
8148 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8149 input. Use $(build-program-cmd).
8150 ($(objpfx)tst-array1-static.out): Likewise.
8151 ($(objpfx)tst-array2.out): Likewise.
8152 ($(objpfx)tst-array3.out): Likewise.
8153 ($(objpfx)tst-array4.out): Likewise.
8154 ($(objpfx)tst-array5.out): Likewise.
8155 ($(objpfx)tst-array5-static.out): Likewise.
8156
01767843
CM
81572012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8158
47cc1490
CM
8159 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8160 if defined.
8161
01767843
CM
8162 * nss/nsswitch.h (nss_interface_function): Provide new
8163 macro for use with NSS functions.
8164 * grp/initgroups.c: Use new macro.
8165 * nss/getXXbyYY.c: Likewise.
8166 * nss/getXXbyYY_r.c: Likewise.
8167 * nss/getXXent.c: Likewise.
8168 * nss/getXXent_r.c: Likewise.
8169 * sysdeps/posix/getaddrinfo.c: Likewise.
8170
8321aa97
AJ
81712012-10-30 Andreas Jaeger <aj@suse.de>
8172
8173 * po/ru.po: Update Russion translation from translation project.
8174
2a27fd6d
JM
81752012-10-30 Joseph Myers <joseph@codesourcery.com>
8176
8627a232
JM
8177 [BZ #14152]
8178 [BZ #14783]
8179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8180 result and shift together with sticky bit instead of replicating
8181 round-to-nearest rounding.
8182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8184 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8185 missing underflow exceptions.
8186 (fma_test_towardzero): Add more tests.
8187 (fma_test_downward): Likewise.
8188 (fma_test_upward): Likewise.
8189
2a27fd6d
JM
8190 [BZ #14047]
8191 * sysdeps/generic/tininess.h: New file.
8192 * sysdeps/i386/tininess.h: Likewise.
8193 * sysdeps/sh/tininess.h: Likewise.
8194 * sysdeps/x86_64/tininess.h: Likewise.
8195 * stdlib/tst-strtod-underflow.c: Likewise.
8196 * stdlib/tst-tininess.c: Likewise.
8197 * stdlib/strtod_l.c: Include <tininess.h>.
8198 (round_and_return): Do not set errno for exact underflow cases.
8199 Force an underflow exception when setting errno for underflow.
8200 Determine underflow based on rounding to normal precision if
8201 TININESS_AFTER_ROUNDING.
8202 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8203 ERANGE for exact underflow cases.
8204 * stdlib/Makefile (tests): Add tst-tininess and
8205 tst-strtod-underflow.
8206 ($(objpfx)tst-tininess): Use $(link-libm).
8207 ($(objpfx)tst-strtod-underflow): Likewise.
8208
e7170363
AJ
82092012-10-30 Andreas Jaeger <aj@suse.de>
8210
e5088dc6
AJ
8211 [BZ#14767]
8212 * elf/Makefile (tests): Remove conditional for have-initfini-array
8213 since this is now always required and the variable does not exist
8214 anymore.
8215 (tests-static): Likewise.
8216 (modules-names): Likewise.
8217
e7170363 8218 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
8219
8220 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8221 merged with constructor/destructor.
8222 (init_array): Likewise.
8223 * elf/tst-array2dep.c (fini_array): Likewise.
8224 (init_array): Likewise.
8225
60457d8a
MF
82262012-10-29 Mike Frysinger <vapier@gentoo.org>
8227
8228 * manual/message.texi: Delete @cartouche tags.
8229
8bece752
PT
82302012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8231
94ce799f
PT
8232 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8233 EOPNOTSUPP.
8234 * sysdeps/mach/hurd/fsync.c: Likewise.
8235
8bece752
PT
8236 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8237 [_POSIX_REALTIME_SIGNALS]: Change condition to
8238 [_POSIX_REALTIME_SIGNALS > 0].
8239
86ebe6b1
AJ
82402012-10-27 Andreas Jaeger <aj@suse.de>
8241
8242 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8243 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8245 [__WORDSIZE != 64]: Likewise.
8246
54399c08
L
82472012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8248
8249 * iconvdata/tst-table.sh: Remove ${SHELL}.
8250 * iconvdata/tst-tables.sh: Likewise.
8251
e2211bed
DM
82522012-10-25 David S. Miller <davem@davemloft.net>
8253
8254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8255 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8256 of strtoull.
8257
f303f97c
DM
8258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8259 ifunc-impl-list.c
8260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8261 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8262 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8263 file.
8264
1e9d84cd
RM
82652012-10-25 Roland McGrath <roland@hack.frob.com>
8266
8267 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8268 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8269 __getdirentries.
8270
df381762
JM
82712012-10-25 Joseph Myers <joseph@codesourcery.com>
8272 Jim Blandy <jimb@codesourcery.com>
8273
8274 * scripts/cross-test-ssh.sh: New file.
8275 * manual/install.texi (Configuring and compiling): Document use of
8276 cross-test-ssh.sh.
8277 * INSTALL: Regenerated.
8278
bff64913
PT
82792012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8280
8281 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8282 EOPNOTSUPP.
8283
25fe8932
JM
82842012-10-25 Joseph Myers <joseph@codesourcery.com>
8285
8286 * Makeconfig (run-program-prefix): Fix comment.
8287
cc1290d0
JM
82882012-10-24 Joseph Myers <joseph@codesourcery.com>
8289 Jim Blandy <jimb@codesourcery.com>
8290
8291 * Makeconfig (test-wrapper): New variable,
8292 (test-wrapper-env): Likewise.
8293 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8294 (run-built-tests): Define to yes.
8295 (run-program-prefix): Use $(test-wrapper).
8296 (built-program-cmd): Likewise.
8297 * Rules (make-test-out): Use $(test-wrapper-env) and
8298 $(host-built-program-cmd).
8299 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8300 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8301 tst-pathopt.sh.
8302 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8303 $(test-wrapper-env) to tst-rtld-load-self.sh.
8304 ($(objpfx)order2.out): Use $(test-wrapper).
8305 ($(objpfx)tst-initorder.out): Likewise.
8306 ($(objpfx)tst-initorder2.out): Likewise.
8307 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8308 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8309 (test_wrapper_env): New variable. Use it to run ld.so.
8310 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8311 Use it to run ld.so.
8312 (test_wrapper_env): Likewise.
8313 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8314 $(test-wrapper) to run-iconv-test.sh.
8315 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8316 (ICONV): Use $test_wrapper.
8317 * posix/Makefile ($(objpfx)globtest.out): Pass
8318 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8319 globtest.sh, not $(run-program-prefix).
8320 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8321 (test_wrapper): Likewise.
8322 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8323 set together with run_via_rtld_prefix.
8324 (run_program_prefix): Define in terms of test_wrapper and
8325 run_via_rtld_prefix.
8326
6e6249d0
RM
83272012-10-24 Roland McGrath <roland@hack.frob.com>
8328
8329 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8330 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8331 Targets removed.
8332
8333 [BZ #14743]
8334 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8335 Declare __clock_getres, __clock_gettime, __clock_settime,
8336 __clock_nanosleep, and __clock_getcpuclockid.
8337 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8338 Remove librt_hidden_def (clock_gettime).
8339 * sysdeps/unix/clock_gettime.c: Likewise.
8340 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8341 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8342 * rt/clock_getres.c: Define __clock_getres as an alias.
8343 * sysdeps/posix/clock_getres.c: Likewise.
8344 * rt/clock_settime.c: Define __clock_settime as an alias.
8345 * sysdeps/unix/clock_settime.c: Likewise.
8346 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8347 * sysdeps/unix/clock_nanosleep.c: Likewise.
8348 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8349 * rt/clock-compat.c: New file.
8350 * rt/Makefile (librt-routines): Add clock-compat and move
8351 $(clock-routines) to ...
8352 (routines): ... here, new variable.
8353 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8354 Don't add get_clockfreq here.
8355 * rt/Versions (libc: GLIBC_2.17): New version set.
8356 Add clock_* symbols here.
8357 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8358 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8359 (GLIBC_2.17): Add clock_* symbols.
8360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8362 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8364 Likewise.
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8366 Likewise.
8367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8371 * NEWS: Mention the move.
8372
8373 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8374 Use __open, __read, __close rather than their public counterparts.
8375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8376 (__get_clockfreq_via_cpuinfo): Likewise.
8377 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8378 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8379
8380 * config.h.in (HAVE_IFUNC): New #undef.
8381 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8382 was successful.
8383 * configure: Regenerated.
8384
0cae3f4b
MF
83852012-10-24 Mike Frysinger <vapier@gentoo.org>
8386
8387 * configure.in: Move READELF check to start of file.
8388 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8389 libc_cv_asm_gnu_indirect_function in the process.
8390 * configure: Regenerated.
8391
8175a253
MF
83922012-10-24 Mike Frysinger <vapier@gentoo.org>
8393
8394 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8395 send the output to /dev/null.
8396 (libc_cv_cc_with_libunwind): Likewise.
8397 (libc_cv_as_noexecstack): Likewise.
8398 * configure: Regenerate.
8399
0708a7d1
JM
84002012-10-24 Joseph Myers <joseph@codesourcery.com>
8401
10b40d85
JM
8402 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8403
0708a7d1
JM
8404 * posix/globtest.sh (TMPDIR): Do not set.
8405 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8406 (testout): Likewise.
8407
9fddec1a
AJ
84082012-10-24 Andreas Jaeger <aj@suse.de>
8409
3a8db22f
AJ
8410 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8411 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8412 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8413 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8414 posix_fadvise64, posix_fallocate64.
8415
9fddec1a
AJ
8416 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8417 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8418 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8419 Likewise.
8420 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8421 Likewise.
8422 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8423
8424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8425 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8426 <bits/fcntl-linux.h>.
8427 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8428
8429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8430 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8431 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8432 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8433 [__WORDSIZE != 64]: Likewise.
8434
ebfd1bbd
JM
84352012-10-23 Joseph Myers <joseph@codesourcery.com>
8436
03ac099f
JM
8437 * Makeconfig (run-built-tests): New variable.
8438 * Rules [$(cross-compiling) = yes]: Change condition to
8439 [$(run-built-tests) = no].
8440 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8441 to [$(run-built-tests) = yes].
8442 * elf/Makefile [$(cross-compiling) = no]: Likewise
8443 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8444 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8445 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8446 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8447 * io/Makefile [$(cross-compiling) = no]: Likewise.
8448 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8449 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8450 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8451 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8452 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8453 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8454 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8455 * string/Makefile [$(cross-compiling) = no]: Likewise.
8456
ebfd1bbd
JM
8457 * posix/Makefile ($(objpfx)globtest.out): Pass
8458 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8459 $(rtld-installed-name).
8460 * posix/globtest.sh (elf_objpfx): Remove variable.
8461 (rtld_installed_name): Likewise.
8462 (library_path): Likewise.
8463 (run_program_prefix): New variable. Use for running globtest
8464 binary.
8465
166bca24
JB
84662012-10-23 Jim Blandy <jimb@codesourcery.com>
8467 Joseph Myers <joseph@codesourcery.com>
8468
8469 * Makeconfig (host-built-program-cmd): New variable.
8470 * elf/Makefile (tst-stackguard1-ARGS): Use
8471 $(host-built-program-cmd).
8472 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8473 (tst-spawn-ARGS): Likewise.
8474 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8475
88866099
JM
84762012-10-23 Joseph Myers <joseph@codesourcery.com>
8477 Jim Blandy <jimb@codesourcery.com>
8478
8479 * Makeconfig (run-via-rtld-prefix): New variable.
8480 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8481 (built-program-cmd): Likewise.
8482
b4b4c296
AJ
84832012-10-22 Andreas Jaeger <aj@suse.de>
8484
8485 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8486 __O_RSYNC if it exists, otherwise to O_SYNC.
8487
6fb54a22
JB
84882012-10-22 Jim Blandy <jimb@codesourcery.com>
8489 Joseph Myers <joseph@codesourcery.com>
8490
8491 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8492 /dev/null.
8493 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8494 from /dev/null
8495 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8496 /dev/null.
8497
481b90b9
AJ
84982012-10-22 Andreas Jaeger <aj@suse.de>
8499
2a0e2669
AJ
8500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8501 Define always.
8502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8503
76e38f9a
AJ
8504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8505 bits/fcntl-linux.h.
8506
7cd37b43
AJ
8507 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8508 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8509
481b90b9
AJ
8510 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8511 to __O_LARGEFILE.
8512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8513 to __O_LARGEFILE.
8514
aba75984
JB
85152012-10-21 Jim Blandy <jimb@codesourcery.com>
8516 Joseph Myers <joseph@codesourcery.com>
8517
8518 * config.make.in (NM): New variable.
8519
88d4247f
AJ
85202012-10-21 Andreas Jaeger <aj@suse.de>
8521
8522 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8523 definitions and declarations that are provided by
8524 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8525
f2eed205
L
85262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8527
8528 [BZ #14683]
8529 * elf/Makefile (tests-static): Add tst-leaks1-static.
8530 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8531 ($(objpfx)tst-leaks1-static): New rule.
8532 ($(objpfx)tst-leaks1-static-mem): Likewise.
8533 (tst-leaks1-static-ENV): New macro.
8534 * elf/dl-open.c (dl_open_worker): Check the main application
8535 only if SHARED is defined.
8536 * elf/tst-leaks1-static.c: New file.
8537
335e6931
AJ
85382012-10-20 Andreas Jaeger <aj@suse.de>
8539
8540 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8541 generic values for Linux.
8542 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8543 and declarations that are provided by <bits/fcntl-linux.h> and
8544 include <bits/fcntl-linux.h>.
8545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8546 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8547
ac5c94d3
RM
85482012-10-20 Roland McGrath <roland@hack.frob.com>
8549
8550 * io/fcntl.h: Move include of <bits/types.h> to the top and
8551 include it unconditionally.
8552
de54b33a
L
85532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8554
228cfb01
L
8555 * wcsmbs/Makefile (tests-ifunc): New variable.
8556 (tests): Add $(tests-ifunc).
8557 * wcsmbs/test-wcschr-ifunc.c: New file.
8558 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8559 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8560 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8561 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8562 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8563
69f07e5f
L
8564 * string/Makefile (tests-ifunc): New variable.
8565 (tests): Add $(tests-ifunc).
8566 * string/test-memccpy.c (TEST_NAME): New macro.
8567 * string/test-memchr.c (TEST_NAME): Likewise.
8568 * string/test-memcmp.c (TEST_NAME): Likewise.
8569 * string/test-memcpy.c (TEST_NAME): Likewise.
8570 * string/test-memmem.c (TEST_NAME): Likewise.
8571 * string/test-memmove.c (TEST_NAME): Likewise.
8572 * string/test-memset.c (TEST_NAME): Likewise.
8573 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8574 * string/test-stpcpy.c (TEST_NAME): Likewise.
8575 * string/test-stpncpy.c (TEST_NAME): Likewise.
8576 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8577 * string/test-strcasestr.c (TEST_NAME): Likewise.
8578 * string/test-strcat.c (TEST_NAME): Likewise.
8579 * string/test-strchr.c (TEST_NAME): Likewise.
8580 * string/test-strcmp.c(TEST_NAME): Likewise.
8581 * string/test-strcpy.c (TEST_NAME): Likewise.
8582 * string/test-strcspn.c (TEST_NAME): Likewise.
8583 * string/test-strlen.c (TEST_NAME): Likewise.
8584 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8585 * string/test-strncmp.c (TEST_NAME): Likewise.
8586 * string/test-strncpy.c (TEST_NAME): Likewise.
8587 * string/test-strnlen.c (TEST_NAME): Likewise.
8588 * string/test-strpbrk.c (TEST_NAME): Likewise.
8589 * string/test-strrchr.c (TEST_NAME): Likewise.
8590 * string/test-strspn.c (TEST_NAME): Likewise.
8591 * string/test-strstr.c (TEST_NAME): Likewise.
8592 * string/test-bcopy-ifunc.c: New file.
8593 * string/test-bzero-ifunc.c: Likewise.
8594 * string/test-memccpy-ifunc.c: Likewise.
8595 * string/test-memchr-ifunc.c: Likewise.
8596 * string/test-memcmp-ifunc.c: Likewise.
8597 * string/test-memcpy-ifunc.c: Likewise.
8598 * string/test-memmem-ifunc.c: Likewise.
8599 * string/test-memmove-ifunc.c: Likewise.
8600 * string/test-mempcpy-ifunc.c: Likewise.
8601 * string/test-memset-ifunc.c: Likewise.
8602 * string/test-rawmemchr-ifunc.c: Likewise.
8603 * string/test-stpcpy-ifunc.c: Likewise.
8604 * string/test-stpncpy-ifunc.c: Likewise.
8605 * string/test-strcasecmp-ifunc.c: Likewise.
8606 * string/test-strcasestr-ifunc.c: Likewise.
8607 * string/test-strcat-ifunc.c: Likewise.
8608 * string/test-strchr-ifunc.c: Likewise.
8609 * string/test-strchrnul-ifunc.c: Likewise.
8610 * string/test-strcmp-ifunc.c: Likewise.
8611 * string/test-strcpy-ifunc.c: Likewise.
8612 * string/test-strcspn-ifunc.c: Likewise.
8613 * string/test-strlen-ifunc.c: Likewise.
8614 * string/test-strncasecmp-ifunc.c: Likewise.
8615 * string/test-strncat-ifunc.c: Likewise.
8616 * string/test-strncmp-ifunc.c: Likewise.
8617 * string/test-strncpy-ifunc.c: Likewise.
8618 * string/test-strnlen-ifunc.c: Likewise.
8619 * string/test-strpbrk-ifunc.c: Likewise.
8620 * string/test-strrchr-ifunc.c: Likewise.
8621 * string/test-strspn-ifunc.c: Likewise.
8622 * string/test-strstr-ifunc.c: Likewise.
8623
de54b33a
L
8624 * debug/Makefile (tests-ifunc): New variable.
8625 (tests): Add $(tests-ifunc).
8626 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8627 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8628 * debug/test-stpcpy_chk-ifunc.c: New file.
8629 * debug/test-strcpy_chk-ifunc.c: Likewise.
8630
88481c16
SP
86312012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8632
8633 [BZ #13601]
8634 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8635 header is not read in.
8636
135948bd
JM
86372012-10-19 Joseph Myers <joseph@codesourcery.com>
8638
89f1c388
JM
8639 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8640 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8641 directly. Pass built executable to script as
8642 $(built-program-cmd).
8643 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8644 $testprogram without using LD_LIBRARY_PATH and $ldso.
8645
e40a0d21
JM
8646 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8647 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8648 $(rtld-installed-name).
8649 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8650 (rtld_installed_name): Likewise.
8651 (library_path): Likewise.
8652 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8653 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8654 $(run-program-prefix) to tst-tables.sh.
8655 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8656 it to run tst-table-from and tst-table-to.
8657 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8658 Pass it to tst-table.sh.
8659 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8660 $(run-program-prefix) to tst-gettext.sh.
8661 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8662 tst-translit.sh.
8663 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8664 tst-gettext2.sh.
8665 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8666 to run tst-gettext.
8667 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8668 to run tst-gettext2.
8669 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8670 to run tst-translit.
8671 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8672 $(run-program-prefix) to tst-mtrace.sh.
8673 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8674 to run tst-mtrace.
8675 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8676 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8677 $(rtld-installed-name).
8678 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8679 (rtld_installed_name): Likewise.
8680 (run_program_prefix): New variable. Use it to run wordexp-test.
8681
728e272a
JM
8682 * Makeconfig (ARCH): Remove all definitions.
8683 (machine): Likewise.
8684 [ARCH]: Remove conditional code.
8685 [!objdir]: Give error.
8686 [!objdir] (objpfx): Remove.
8687 [!objdir] (common-objpfx): Likewise.
8688 [!objdir] (common-objdir): Likewise.
8689 * configure.in (config_makefile): Remove. Hardcode Makefile in
8690 AC_CONFIG_FILES call.
8691 * configure: Regenerated.
8692
d528cdcf
JM
8693 [BZ #13888]
8694 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8695 or TMPDIR.
8696 (testout): Likewise.
8697
135948bd
JM
8698 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8699 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8700 $(rtld-installed-name).
8701 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8702 (rtld_installed_name): Likwise.
8703 (runit): Remove function.
8704 (run_getconf): New variable, Use it for running getconf binary.
8705
38c78296
L
87062012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8707
8708 [BZ #14716]
8709 * string/test-memmem.c (check_result): New function.
8710 (do_one_test): Use it.
8711 (check1): New function.
8712 (test_main): Use it.
8713
d077f65f
MT
87142012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8715
8716 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8717
ced52c71
JM
87182012-10-18 Joseph Myers <joseph@codesourcery.com>
8719
8720 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8721 (_G_LSEEK64): Likewise.
8722 (_G_MMAP64): Likewise.
8723 (_G_FSTAT64): Likewise.
8724 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8725 (_G_LSEEK64): Likewise.
8726 (_G_MMAP64): Likewise.
8727 (_G_FSTAT64): Likewise.
8728 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8729 unconditional. Call __mmap64 directly.
8730 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8731 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8732 __lseek64 directly.
8733 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8734 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8735 __mmap64 directly.
8736 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8737 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8738 __lseek64 directly.
8739 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8740 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8741 __lseek64 directly.
8742 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8743 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8744 __lseek64 directly.
8745 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8746 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8747 __fxstat64 directly.
8748 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8749 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8750 unconditional.
8751 (freopen64) [!_G_OPEN64]: Remove conditional code.
8752 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8753 unconditional.
8754 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8755 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8756 unconditional.
8757 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8758 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8759 unconditional.
8760 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8761 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8762 unconditional.
8763 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8764 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8765 unconditional.
8766 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8767 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8768 unconditional.
8769 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8770 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8771 unconditional.
8772 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8773
b741de23
SP
87742012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8775
8776 [BZ #12140]
8777 * manual/memory.texi (Malloc Tunable Parameters): Add note
8778 about free list pointers overwriting some perturb bytes.
8779 Wording suggested by Roland McGrath.
8780
f9b9d9c9
JM
87812012-10-17 Joseph Myers <joseph@codesourcery.com>
8782
8783 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8784 (lgamma_test): Likewise.
8785 (tgamma_test): Likewise.
8786
172a631a
FW
87872012-10-16 Florian Weimer <fweimer@redhat.com>
8788
8789 [BZ #14700]
8790 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8791 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8792
e9f37252
MK
87932012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8794
8795 * NEWS: Mention BZ #14716.
8796 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8797 when removing AVAILABLE1_USES_J macro.
8798
d394eb74
L
87992012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8800
8801 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8802 (__bswap_64): __uint64_t for unsigned 64-bit int.
8803
ca38dc17
AS
88042012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8805
8806 * include/string.h (memmem): Declare libc hidden alias.
8807 * string/memmem.c (memmem): Define libc hidden alias.
8808 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8809 __read, __close instead of open, read, close.
8810
9a387d1f
L
88112012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8812
ac49ecaf
L
8813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8814 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8815 global and hidden.
8816 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8817 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8818 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8819 Likewise.
8820 (__rawmemchr_sse2): Likewise.
8821 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8822 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8823 (__strchr_sse2): Likewise.
8824 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8825 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8826 (__strcasecmp_sse2): Likewise.
8827 (__strncasecmp_sse2): Likewise.
8828 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8829 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8830 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8831 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8832 (__strrchr_sse2): Likewise.
8833 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8834 ifunc-impl-list.c.
8835 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8836 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8837 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8838 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8839 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8840 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8841 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8842 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8843 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8844 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8845 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8846 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8847 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8848 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8849 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8850 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8851 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8852 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8853 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8854 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8855 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8856 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8857 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8858 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8859 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8860 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8861 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8862 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8863 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8864 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8865
b090e8ea
L
8866 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8867 global and hidden.
8868 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8869 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8870 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8871 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8872 Likewise.
8873 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8874 Likewise.
8875 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8876 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8877 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8878 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8879 ifunc-impl-list.c.
8880 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8881 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8882 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8883 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8884 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8885 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8886 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8887 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8888 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8889 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8890 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8891 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8892 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8893 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8894 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8895 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8896 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8897 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8898 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8899 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8900 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8901 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8902 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8903 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8904 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8905 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8906 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8907 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8908 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8909 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8910 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8911 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8912 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8913 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8914 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8915 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8916 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8917 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8918 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8919 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8920 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8921
11dd4af6
L
8922 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8923 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8924 * include/ifunc-impl-list.h: New file.
8925 * misc/ifunc-impl-list.c: Likewise.
8926 * misc/Makefile (routines): Add ifunc-impl-list.
8927 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8928 * string/test-string.h: Include <ifunc-impl-list.h>.
8929 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8930 impl_array): New variables.
8931 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8932 are defined.
8933 (test_init): Call __libc_ifunc_impl_list to initialize
8934 func_list if TEST_IFUNC and TEST_NAME are defined.
8935
9a387d1f
L
8936 * string/Makefile (strop-tests): Add bcopy and bzero.
8937 * string/test-bcopy.c: New file.
8938 * string/test-bzero.c: Likewise.
8939 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8940 defined.
8941 * string/test-memset.c: Support bzero test if TEST_BZERO is
8942 defined.
8943 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8944 __libc_memmove.
8945 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8946 __libc_memset.
8947 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8948 of memset.
8949
472371b9
JM
89502012-10-10 Joseph Myers <joseph@codesourcery.com>
8951
1e4a9536
JM
8952 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8953 * configure: Regenerated.
8954
d173d12e
JM
8955 * Makeconfig (+link-static-before-libc): Don't include
8956 $(link-static-libc).
8957
472371b9
JM
8958 * libio/libio.h (_IO_pos_t): Remove.
8959
89a3ad0b
AO
89602012-10-10 Alexandre Oliva <aoliva@redhat.com>
8961
8962 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8963 McGrath.
8964
e7451425
AO
89652012-10-10 Alexandre Oliva <aoliva@redhat.com>
8966
8967 * crypt/crypt-entry.c: Include fips-private.h.
8968 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8969 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8970 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8971 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8972
4ba74a35
AO
89732012-10-10 Alexandre Oliva <aoliva@redhat.com>
8974
8975 * crypt/crypt-private.h: Include stdbool.h.
8976 (_ufc_setup_salt_r): Return bool.
8977 * crypt/crypt-entry.c: Include errno.h.
8978 (__crypt_r): Return NULL with EINVAL for bad salt.
8979 * crypt/crypt_util.c (bad_for_salt): New.
8980 (_ufc_setup_salt_r): Check that salt is long enough and within
8981 the specified alphabet.
8982 * crypt/badsalttest.c: New file.
8983 * crypt/Makefile (tests): Add it.
8984 ($(objpfx)badsalttest): New.
8985
f96f1242
MK
89862012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8987
8988 * NEWS: Add entry for BZ #14602.
8989
0e8e0c1c
JM
89902012-10-09 Joseph Myers <joseph@codesourcery.com>
8991
8992 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8993 type-generic.
8994 * math/libm-test.inc: Update comment listing what functions and
8995 macros are tested.
8996 (isgreater_test): New function.
8997 (isgreaterequal_test): Likewise.
8998 (isless_test): Likewise.
8999 (islessequal_test): Likewise.
9000 (islessgreater_test): Likewise.
9001 (isunordered_test): Likewise.
9002 (main): Call the new functions.
9003
273edc5e
RM
90042012-10-09 Roland McGrath <roland@hack.frob.com>
9005
b8493de0
RM
9006 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9007 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9008 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9009 * sysdeps/i386/configure: Regenerated.
9010 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9011 * sysdeps/mach/configure: Regenerated.
9012 * sysdeps/mach/hurd/configure: Regenerated.
9013 * sysdeps/powerpc/configure: Regenerated.
9014 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9015 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9016 * sysdeps/s390/s390-32/configure: Regenerated.
9017 * sysdeps/s390/s390-64/configure: Regenerated.
9018 * sysdeps/sh/configure: Regenerated.
9019 * sysdeps/sparc/configure: Regenerated.
9020 * sysdeps/unix/sysv/linux/configure: Regenerated.
9021 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9022 * sysdeps/x86_64/configure: Regenerated.
9023
273edc5e
RM
9024 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9025 defined. Don't check if MAP is NULL.
9026
c8450f70
JM
90272012-10-09 Joseph Myers <joseph@codesourcery.com>
9028
9029 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9030 (_G_stat64): Likewise.
9031 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9032 (_G_stat64): Likewise.
9033 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9034 instead of struct _G_stat64.
9035 * libio/fileops.c (mmap_remap_check): Likewise.
9036 (decide_maybe_mmap): Likewise.
9037 (_IO_new_file_seekoff): Likewise.
9038 (_IO_file_stat): Likewise.
9039 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9040 _G_off64_t.
9041 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9042 instead of struct _G_stat64.
9043 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9044
57e605ba
MK
90452012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9046
9047 [BZ #14602]
9048 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9049 Replace with ...
9050 (CHECK_EOL): New macro.
9051 (two_way_short_needle): Check beginning of haystack for EOL. Use
9052 CHECK_EOL.
9053 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9054 Replace with CHECK_EOL.
9055 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9056 Replace with CHECK_EOL.
9057
ef1bb361
JM
90582012-10-08 Joseph Myers <joseph@codesourcery.com>
9059
9060 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9061 type-generic.
9062 * math/libm-test.inc: Update comment listing what functions and
9063 macros are tested.
9064 (finite_test): New function.
9065 (isinf_test): Likewise.
9066 (isnan_test): Likewise.
9067 (fpclassify_test): Test subnormal input.
9068 (isfinite_test): Likewise.
9069 (isnormal_test): Likewise.
9070 (main): Call the new functions.
9071
55f11534
JN
90722012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9073
9074 [BZ #14660]
9075 * Makerules (%.dynsym): Force C locale when running
9076 $(OBJDUMP) --dynamic-syms.
9077
1ab29350
AS
90782012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9079
9080 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9081 <stdint.h>.
9082
f1ecb7ef
DM
90832012-10-06 David S. Miller <davem@davemloft.net>
9084
9085 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9086 upper 32-bits of the length value in %o2 since we use branch-on-register
9087 tests which consider the entire 64-bit register.
9088
5d41d91a
L
90892012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9090
9091 * string/test-strstr.c (check2): Add a test for page boundary.
9092
3baddb72
DM
90932012-10-05 David S. Miller <davem@davemloft.net>
9094
9095 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9096 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9097 file.
9098 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9099 sysdep_routines.
9100 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9101 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9102 and bzero when HWCAP_SPARC_CRYPTO is present.
9103
9cee5585
L
91042012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9105
d7e0dab9
L
9106 [BZ #14602]
9107 * string/test-strstr.c (check2): New function.
9108 (test_main): Call check2.
9109
03759f47
L
9110 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9111 and bug-strchr1.
9112 * string/bug-strcasestr1.c (do_test): Moved to ...
9113 * string/test-strcasestr.c (check1): Here. New function.
9114 (do_one_test): Break out result checking code into ...
9115 (check_result): This. New function.
9116 (do_one_test): Call check_result.
9117 (test_main): Call check1.
9118 * string/bug-strchr1.c (do_test): Moved to ...
9119 * string/test-strchr.c (check1): Here. New function.
9120 (do_one_test): Break out result checking code into ...
9121 (check_result): This. New function.
9122 (do_one_test): Call check_result.
9123 (test_main): Call check1.
9124 * string/bug-strstr1.c (main): Moved to ...
046f153e 9125 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9126 (do_one_test): Break out result checking code into ...
9127 (check_result): This. New function.
9128 (do_one_test): Call check_result.
9129 (test_main): Call check1.
9130 * string/bug-strcasestr1.c: Removed.
9131 * string/bug-strchr1.c: Likewise.
9132 * string/bug-strstr1.c: Likewise.
9133
53cea63e
L
9134 * elf/Makefile (dl-routines): Add hwcaps.
9135 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9136 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9137 (_dl_important_hwcaps): Moved to ...
9138 * elf/dl-hwcaps.c: Here. New file.
9139 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9140
9cee5585 9141 [BZ #14557]
bb859b06
L
9142 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9143 if IS_IN_rtld isn't defined.
9144
9cee5585
L
9145 * elf/dl-support.c (_dl_sysinfo_map): New.
9146 Include "get-dynamic-info.h" and "setup-vdso.h".
9147 (_dl_non_dynamic_init): Call setup_vdso.
9148 * elf/dynamic-link.h: Don't include <assert.h>.
9149 (elf_get_dynamic_info): Moved to ...
9150 * elf/get-dynamic-info.h: Here. New file.
9151 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9152 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9153 * elf/setup-vdso.h: Here. New file.
9154 * elf/rtld.c: Include "setup-vdso.h".
9155 (dl_main): Call setup_vdso.
9156
23c31b76
JM
91572012-10-05 Joseph Myers <joseph@codesourcery.com>
9158
28234b07
JM
9159 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9160 creal in comment listing functions tested. List finite, isinf,
9161 isnan, isless, islessequal, isgreater, isgreaterequal,
9162 islessgreater, isunordered, lgamma_r and pow10 as functions and
9163 macros not tested. Mention which functions not tested are aliases
9164 for other functions. Fix typo. Note that signs of NaNs are not
9165 tested.
9166
23c31b76
JM
9167 * scripts/config.guess: Update from config.git.
9168 * scripts/config.sub: Likewise.
9169
9043e228
RM
91702012-10-04 Roland McGrath <roland@hack.frob.com>
9171
9172 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9173 * misc/madvise.c (madvise): Renamed to __madvise.
9174 Make madvise a weak alias.
9175 * include/sys/mman.h: Declare __madvise.
9176 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9177 * sysdeps/unix/syscalls.list
9178 (madvise): Make __madvise the strong name, and madvise a weak alias.
9179 * sysdeps/unix/sysv/linux/syscalls.list
9180 (madvise, mmap): Remove redundant entries.
9181 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9182 * malloc/malloc.c (mtrim): Likewise.
9183 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9184
f57f8055
RM
91852012-10-03 Roland McGrath <roland@hack.frob.com>
9186
9187 * sysdeps/mach/hurd/dl-cache.c: File removed.
9188 * config.h.in (USE_LDCONFIG): New #undef.
9189 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9190 * configure: Regenerated.
9191 * elf/Makefile (dl-routines): Add dl-cache only under
9192 [$(use-ldconfig) = yes].
9193 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9194 cache on [USE_LDCONFIG].
9195 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9196 [USE_LDCONFIG].
9197 * elf/rtld.c (dl_main): Likewise.
9198
5bb0c10a
PT
91992012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9200
9201 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9202 _SC_LEVEL4_CACHE_LINESIZE.
9203
010188c6
RM
92042012-10-03 Roland McGrath <roland@hack.frob.com>
9205
9206 * sysdeps/unix/bsd/confstr.h: File removed.
9207
b6c5ec07
AO
92082012-10-02 Alexandre Oliva <aoliva@redhat.com>
9209
9210 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9211 sys/sdt-config.h.
9212
408223d4
RM
92132012-10-02 Roland McGrath <roland@hack.frob.com>
9214
9215 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9216 Make 'mapoff' field ElfW(Off) rather than off_t.
9217
bb9510dc
DL
92182012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9219
fc997c6e
DL
9220 * nscd/Makefile: Remove nscd-cflags and all its users.
9221 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9222 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9223
bb9510dc
DL
9224 [BZ #10631]
9225 * malloc.c (malloc_printerr): Clarify error message.
9226
05699367
L
92272012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9228
9229 [BZ #14648]
9230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9231 Set bit_FMA_Usable if FMA is supported.
9232 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9233 macro.
9234 (bit_FMA4_Usable): Updated.
9235 (index_FMA_Usable): New macro.
9236 (CPUID_FMA): Likewise
9237 (HAS_FMA): Defined with bit_FMA_Usable.
9238
51367701
RM
92392012-10-01 Roland McGrath <roland@hack.frob.com>
9240
9241 * bits/types.h (__swblk_t): Type removed.
9242 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9243 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9245 (__SWBLK_T_TYPE): Likewise.
9246 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9247 (__SWBLK_T_TYPE): Likewise.
9248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9249 (__SWBLK_T_TYPE): Likewise.
9250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9251 (__SWBLK_T_TYPE): Likewise.
9252
4d57bf63 92532012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 9254 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
9255
9256 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9257 (xdr_mapname): Use YPMAXMAP as maxsize.
9258 (xdr_peername): Use YPMAXPEER as maxsize.
9259 (xdr_keydat): Use YPAXRECORD as maxsize.
9260 (xdr_valdat): Use YPMAXRECORD as maxsize.
9261
93c65d43
RM
92622012-10-01 Roland McGrath <roland@hack.frob.com>
9263
497a03d6
RM
9264 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9265
93c65d43
RM
9266 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9267 * csu/init-first.c: ... here.
9268 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9269 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9270 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9271 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9272 * sysdeps/i386/init-first.c: File removed.
9273 * sysdeps/sh/init-first.c: File removed.
9274
bec749fd
JM
92752012-10-01 Joseph Myers <joseph@codesourcery.com>
9276
9277 [BZ #14645]
9278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9279 if x * y might underflow to zero and z is zero.
9280 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9281 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9282 * math/libm-test.inc (min_subnorm_value): New variable.
9283 (fma_test): Add more tests.
9284 (fma_test_towardzero): Likewise.
9285 (fma_test_downward): Likewise
9286 (fma_test_upward): Likewise.
9287 (initialize): Set min_subnorm_value.
9288
8ec5b013
JM
92892012-09-29 Joseph Myers <joseph@codesourcery.com>
9290
9291 [BZ #14638]
9292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9293 0 + 0.
9294 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9295 mode for addition resulting in exact zero.
9296 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9297 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9298 exact 0 + 0.
9299 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9301 * math/libm-test.inc (fma_test): Add more tests.
9302 (fma_test_towardzero): New function.
9303 (fma_test_downward): Likewise.
9304 (fma_test_upward): Likewise.
9305 (main): Call the new functions.
9306
b1fa802e
DM
93072012-09-28 David S. Miller <davem@davemloft.net>
9308
9309 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9310
d3b9fd9e
RM
93112012-09-28 Roland McGrath <roland@hack.frob.com>
9312
ea4d37b3
RM
9313 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9314 instead of SIGALRM.
9315
ac51c949
RM
9316 * sysdeps/gnu/_G_config.h: Moved to ...
9317 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9318 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9319 * sysdeps/generic/_G_config.h: ... here.
9320
28c195f7
RM
9321 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9322
848917f9
RM
9323 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9324
6bacf05b
RM
9325 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9326 Conditionalize target on [libnss_test1.so-version].
9327
91363dbb
RM
9328 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9329
cc87f7d8
RM
9330 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9331 (elfobjdir): Move out of conditionals.
9332
b1c608fe
RM
9333 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9334 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9335 (__nss_lookup_function): Conditionalize label remove_from_tree on
9336 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 9337
1d9a6d96
DM
93382012-09-28 David S. Miller <davem@davemloft.net>
9339
9340 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9341 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9342 file.
9343 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9344 sysdep_routines.
9345 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9347 when HWCAP_SPARC_CRYPTO is present.
9348
72581615
PT
93492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9350
9351 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9352
715a900c
JL
93532012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9354
9355 [BZ #6530]
9356 * stdio-common/vfprintf.c (process_string_arg): Revert
9357 2000-07-22 change.
9358
93592011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9360
9361 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9362 for testcase.
9363 * stdio-common/tst-sprintf.c: Include <locale.h>
9364 (main): Test sprintf's handling of incomplete multibyte
9365 characters.
9366
9bac1d86
L
93672012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9368
9369 * elf/dl-runtime.c (VERSYMIDX): Removed.
9370 * elf/dl-version.c (VERSYMIDX): Likewise.
9371 * elf/do-rel.h (VERSYMIDX): Likewise.
9372 (VALIDX): Likewise.
9373 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9374 * elf/rtld.c (VALIDX): Likewise.
9375 (ADDRIDX): Likewise.
9bac1d86
L
9376 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9377 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9378 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9379 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9380 (VALIDX): Likewise.
9381 (ADDRIDX): Likewise.
9bac1d86 9382
b31606c0
PT
93832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9384
9385 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9386
11541177
JL
93872012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9388
9389 [BZ #11438]
9390 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9391 to global scope.
9392 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9393 addresses are in the same scope as 192.0.2/24.
9394 * posix/gai.conf: Document new scope table defaults.
9395
adb26fae
SP
93962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9397
9398 [BZ #5298]
9399 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9400 for ftell. Compute offsets from write pointers instead.
9401 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9402
4573c6b0
SP
94032012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9404
9405 [BZ #14543]
9406 * libio/Makefile (tests): New test case tst-fseek.
9407 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9408 combination works in wide mode.
9409 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9410 state when the external buffer state changes.
9411
aa9bbfe6
DM
94122012-09-27 David S. Miller <davem@davemloft.net>
9413
9414 [BZ #14376]
9415 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9416 pass reloc->r_addend in as the 'high' argument to
9417 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9418
784421e7
DM
9419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9420
c39bc8b8
PT
94212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9422
9423 * rt/tst-aio2.c: Include <pthread.h>.
9424 * rt/tst-aio3.c: Likewise.
9425
1ccc2399
SE
94262012-09-27 Steve Ellcey <sellcey@mips.com>
9427
9428 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9429
31ed4153
L
94302012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9431
25f5f885
L
9432 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9433 contents on [SHARED].
31ed4153 9434
b7bfe116
MP
94352012-09-26 Marek Polacek <polacek@redhat.com>
9436
9437 [BZ #14530]
9438 [BZ #13741]
9439 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9440 for C++ and GCC <4.3 as well as for non GCC compilers.
9441
43c4edba
MT
94422012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9443
9444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9445
6a1bf82f
RM
94462012-09-25 Roland McGrath <roland@hack.frob.com>
9447
9448 * Makefile.in (all, install): Declare with .PHONY.
9449 Reported by Michael Hope <michael.hope@linaro.org>.
9450
8ad11b9a
TMQMF
94512012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9452
9453 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9454 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9455 system header.
9456 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9457 Likewise.
9458 (sydep_routines): Add the new and the internal functions.
9459 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9460 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9462 (GLIBC_2.17): Add the new function.
9463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9464 (GLIBC_2.17): Likewise.
9465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9466 (GLIBC_2.17): Likewise.
9467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9468 (GLIBC_2.17): Likewise.
9469 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9470
7e2fca8d
AM
94712012-09-25 Alan Modra <amodra@gmail.com>
9472
9473 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9474 Add release barrier before setting once_control to say
9475 initialisation is done. Add hints on lwarx. Use macro in
9476 place of isync.
9477 (clear_once_control): Add release barrier.
9478
b87c4b24
JM
94792012-09-25 Joseph Myers <joseph@codesourcery.com>
9480
d032e0d2
JM
9481 [BZ #13629]
9482 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9483 specially.
9484 * math/s_clog10.c (__clog10): Likewise.
9485 * math/s_clog10f.c (__clog10f): Likewise.
9486 * math/s_clog10l.c (__clog10l): Likewise.
9487 * math/s_clogf.c (__clogf): Likewise.
9488 * math/s_clogl.c (__clogl): Likewise.
9489 * math/Makefile (libm-calls): Add x2y2m1.
9490 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9491 (__x2y2m1): Likewise.
9492 (__x2y2m1l): Likewise.
9493 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9494 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9497 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9498 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9499 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9500 * sysdeps/i386/fpu/libm-test-ulps: Update.
9501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9502
b87c4b24
JM
9503 [BZ #14621]
9504 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9505 int as type of variable DEPTH.
9506 (glob): Use size_t instead of int as type of variables NEWCOUNT
9507 and OLD_PATHC.
9508
6d3bf199
LD
95092012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9510
22bf5c17
LD
9511 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9512 Add s_sincosf-sse2.
9513 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9514 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9515 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9516 macros for using routine as __sincosf_ia32.
9517 Use macro for function declaration and weak_alias.
9518 * sysdeps/i386/fpu/libm-test-ulps: Update.
9519
9520 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9522
9523 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9524 subnormal argument.
9525 * math/s_cexpf.c (__cexpf): Likewise.
9526 * math/s_csinf.c (__csinf): Likewise.
9527 * math/s_csinhf.c (__csinhf): Likewise.
9528 * math/s_ctanf.c (__ctanf): Likewise.
9529 * math/s_ctanhf.c (__ctanhf): Likewise.
9530 * math/s_ccosh.c (__ccoshf): Likewise.
9531 * math/s_cexp.c (__cexpl): Likewise.
9532 * math/s_csin.c (__csin): Likewise.
9533 * math/s_csinh.c (__csinh): Likewise.
9534 * math/s_ctan.c (__ctan): Likewise.
9535 * math/s_ctanh.c (ctanh): Likewise.
9536 * math/s_ccoshl.c (__ccoshl): Likewise.
9537 * math/s_cexpl.c (__cexpl): Likewise.
9538 * math/s_csinl.c (__csinl): Likewise.
9539 * math/s_csinhl.c (__csinhl): Likewise.
9540 * math/s_ctanl.c (__ctanl): Likewise.
9541 * math/s_ctanhl.c (__ctanhl): Likewise.
9542
203e5603
JM
95432012-09-25 Joseph Myers <joseph@codesourcery.com>
9544
9545 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9546 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9547 (_IO_off_t): Define to __off_t, not _G_off_t.
9548 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9549 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9550 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9551 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9552 type of __dummy and __dummy2 fields.
9553 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9554 (_G_ssize_t): Likewise.
9555 (_G_off_t): Likewise.
9556 (_G_pid_t): Likewise.
9557 (_G_uid_t): Likewise.
9558 (_G_wchar_t): Likewise.
9559 (_G_wint_t): Likewise.
9560 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9561 (_G_ssize_t): Likewise.
9562 (_G_off_t): Likewise.
9563 (_G_pid_t): Likewise.
9564 (_G_uid_t): Likewise.
9565 (_G_wchar_t): Likewise.
9566 (_G_wint_t): Likewise.
9567 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9568 (_G_ssize_t): Likewise.
9569 (_G_off_t): Likewise.
9570 (_G_pid_t): Likewise.
9571 (_G_uid_t): Likewise.
9572 (_G_wchar_t): Likewise.
9573 (_G_wint_t): Likewise.
9574
9fab36eb
SP
95752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9576
9577 * malloc/arena.c: Include malloc-sysdep.h.
9578 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9579 is sufficient to shrink the heap or an unmap is needed.
9580 * sysdeps/generic/malloc-sysdep.h: New file. Define
9581 new function check_may_shrink_heap.
9582 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9583 new function check_may_shrink_heap.
9584
2b4f00d1
SP
95852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9586
9587 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9588 comments.
9589
9a9028b1
DL
95902012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9591
57c69bef
DL
9592 * catgets/test-gencat.sh: Add "set -e".
9593 * elf/tst-pathopt.sh: Likewise.
9594 * grp/tst_fgetgrent.sh: Likewise.
9595 * iconvdata/run-iconv-test.sh: Likewise.
9596 * intl/tst-gettext.sh: Likewise.
9597 * intl/tst-gettext2.sh: Likewise.
9598 * intl/tst-gettext4.sh: Likewise.
9599 * intl/tst-gettext6.sh: Likewise.
9600 * intl/tst-translit.sh: Likewise.
9601 * io/ftwtest-sh: Likewise.
9602 * libio/test-freopen.sh: Likewise.
9603 * malloc/tst-mtrace.sh: Likewise.
9604 * posix/globtest.sh: Likewise.
9605 * posix/tst-getconf.sh: Likewise.
9606 * posix/wordexp-tst.sh: Likewise.
9607 * stdio-common/tst-printf.sh: Likewise.
9608 * stdio-common/tst-unbputc.sh: Likewise.
9609 * stdlib/tst-fmtmsg.sh: Likewise.
9610 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9611 * catgets/Makefile: Do not specify -e option when running
9612 testsuite shell scripts.
9613 * elf/Makefile: Likewise.
9614 * grp/Makefile: Likewise.
9615 * iconvdata/Makefile: Likewise.
9616 * intl/Makefile: Likewise.
9617 * io/Makefile: Likewise.
9618 * libio/Makefile: Likewise.
9619 * malloc/Makefile: Likewise.
9620 * posix/Makefile: Likewise.
9621 * stdio-common/Makefile: Likewise.
9622 * stdlib/Makefile: Likewise.
9623 * sysdeps/x86_64/Makefile: Likewise.
9624
9a9028b1
DL
9625 * io/ftwtest-sh: Add copyright header.
9626 * posix/globtest.sh: Likewise.
9627 * posix/tst-getconf.sh: Likewise.
9628 * posix/wordexp-tst.sh: Likewise.
9629 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9630
ced6f16e
L
96312012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9632
94b32c39
L
9633 [BZ #13679]
9634 * Makeconfig (+link): Defined as $(+link-static) if
9635 $(build-shared) isn't yes.
9636 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9637 isn't yes.
9638 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9639
189e935b
L
9640 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9641
ced6f16e
L
9642 [BZ #14562]
9643 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9644 new chunk size with MALLOC_ALIGN_MASK.
9645
a9f8e53a
JM
96462012-09-24 Joseph Myers <joseph@codesourcery.com>
9647
9648 [BZ #5044]
9649 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9650 <rounding-mode.h>.
9651 (__printf_fphex): Determine rounding using get_rounding_mode and
9652 round_away.
9653 * stdio-common/tst-printf-round.c (struct hex_test): New
9654 structure.
9655 (hex_tests): New variable.
9656 (test_hex_in_one_mode): New function.
9657 (do_test): Also run tests for hex float output.
9658
43153109
JM
96592012-09-21 Joseph Myers <joseph@codesourcery.com>
9660
9661 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9662 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9663 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9664 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9665 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9666 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9667 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9668 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9669
8a26625d
JM
96702012-09-20 Joseph Myers <joseph@codesourcery.com>
9671
9672 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9673 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9674 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9675 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9676
f3fd569c
DL
96772012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9678
9679 [BZ #14579]
9680 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9681 mode only.
9682 * elf/tst-rtld-load-self.sh: New test.
9683 * elf/Makefile: Run it.
9684
63bbedd4
JM
96852012-09-18 Joseph Myers <joseph@codesourcery.com>
9686
9687 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9688 (tst-writev-ENV): Remove.
9689 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9690
626f8b6a
CM
96912012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9692
9693 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9694
b7aaa4d6
JM
96952012-09-17 Joseph Myers <joseph@codesourcery.com>
9696
9697 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9698 unconditional.
9699 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9700 Likewise.
9701 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9702 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9703 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9704 Likewise.
9705
65513990
L
97062012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9707
9708 [BZ #14587]
9709 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9710 * config.make.in (have-cpp-asm-debuginfo): Removed.
9711 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9712 * configure: Regenerated.
9713
784761be
JM
97142012-09-14 Joseph Myers <joseph@codesourcery.com>
9715
9716 [BZ #5044]
9717 * stdio-common/printf_fp.c: Include <stdbool.h> and
9718 <rounding-mode.h>.
9719 (___printf_fp): Determine rounding using get_rounding_mode and
9720 round_away.
9721 * stdio-common/tst-printf-round.c: New file.
9722 * stdio-common/Makefile (tests): Add tst-printf-round.
9723 (link-libm): New variable.
9724 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9725
9503345f
L
97262012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9727
9728 [BZ #14576]
9729 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9730 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9731 Likewise.
9732 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9733 Likewise.
9734
ad35fc00
JM
97352012-09-13 Joseph Myers <joseph@codesourcery.com>
9736
9737 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9738 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9739 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9740 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9741
6c9b0f68
JM
97422012-09-12 Joseph Myers <joseph@codesourcery.com>
9743
9744 [BZ #14518]
9745 * include/rounding-mode.h: New file.
9746 * sysdeps/generic/get-rounding-mode.h: Likewise.
9747 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9748 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9749 (MAX_VALUE): New macro.
9750 (MIN_VALUE): Likewise.
9751 (overflow_value): New function.
9752 (underflow_value): Likewise.
9753 (round_and_return): Use overflow_value and underflow_value to
9754 determine return values in overflow and underflow cases. Use
9755 round_away to determine rounding depending on rounding mode.
9756 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9757 determine return values in overflow and underflow cases.
9758 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9759 (struct test_results): New structure.
9760 (struct test): Use struct test_results to store expected results
9761 for all rounding modes.
9762 (TEST): Include expected results for all rounding modes.
9763 (test_in_one_mode): New function.
9764 (do_test): Use test_in_one_mode to compute and check results.
9765 Check results for all rounding modes.
9766 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9767 $(link-libm).
9768
19fcedd5
AM
97692012-12-09 Allan McRae <allan@archlinux.org>
9770
1e9d84cd 9771 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9772
8bbfd2f1
JM
97732012-09-11 Joseph Myers <joseph@codesourcery.com>
9774
9775 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9776 (_G_int32_t): Likewise.
9777 (_G_uint16_t): Likewise.
9778 (_G_uint32_t): Likewise.
9779 (_G_HAVE_BOOL): Likewise.
9780 (_G_HAVE_ATEXIT): Likewise.
9781 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9782 (_G_HAVE_IO_FILE_OPEN): Likewise.
9783 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9784 (_G_int32_t): Likewise.
9785 (_G_uint16_t): Likewise.
9786 (_G_uint32_t): Likewise.
9787 (_G_HAVE_BOOL): Likewise.
9788 (_G_HAVE_ATEXIT): Likewise.
9789 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9790 (_G_HAVE_IO_FILE_OPEN): Likewise.
9791 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9792 (_G_int32_t): Likewise.
9793 (_G_uint16_t): Likewise.
9794 (_G_uint32_t): Likewise.
9795 (_G_HAVE_BOOL): Likewise.
9796 (_G_HAVE_ATEXIT): Likewise.
9797 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9798 (_G_HAVE_IO_FILE_OPEN): Likewise.
9799
b1dc5912
L
98002012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9801
9802 * csu/libc-tls.c: Update copyright years.
9803
0e886ef9
JM
98042012-09-10 Joseph Myers <joseph@codesourcery.com>
9805
28361c5e
JM
9806 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9807 [!_G_USING_THUNKS]: Remove conditional code.
9808 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9809 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9810
0e886ef9
JM
9811 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9812 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9813 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9814 (_G_VTABLE_LABEL_PREFIX): Likewise.
9815 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9816 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9817 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9818 (_G_VTABLE_LABEL_PREFIX): Likewise.
9819 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9820 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9821 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9822 (_G_VTABLE_LABEL_PREFIX): Likewise.
9823 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9824
bcba7aa2
L
98252012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9826
9827 * libio/Makefile: Include ../Makeconfig before tests.
9828 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9829 only if $(build-shared) is yes.
9830
06585ee8
L
9831 * iconv/gconv_db.c: Update copyright years.
9832
80ccd52c
LD
98332012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9834
9835 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9836 unwind info if defined PIC. Fix special cases description.
9837 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9838
9839 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9840 DP_HI_MASK entry.
9841 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9842
691bc9c1
L
98432012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9844
3d9b46b3
L
9845 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9846
de2139a9
L
9847 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9848 is NULL.
9849
5ca78dd0
L
9850 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9851 (LDLIBS-tst-chk4): This.
9852 (LDFLAGS-tst-chk5): Renamed to ...
9853 (LDLIBS-tst-chk5): This.
9854 (LDFLAGS-tst-chk6): Renamed to ...
9855 (LDLIBS-tst-chk6): This.
9856 (LDFLAGS-tst-lfschk4): Renamed to ...
9857 (LDLIBS-tst-lfschk4): This.
9858 (LDFLAGS-tst-lfschk5): Renamed to ...
9859 (LDLIBS-tst-lfschk5): This.
9860 (LDFLAGS-tst-lfschk6): Renamed to ...
9861 (LDLIBS-tst-lfschk6): This.
9862
691bc9c1
L
9863 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9864 on $(common-objpfx)soversions.mk.
9865
65cafb1c
JM
98662012-09-07 Joseph Myers <joseph@codesourcery.com>
9867
9868 [BZ #10014]
9869 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9870 example host name.
9871
c78ab094
SP
98722012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9873
9874 * malloc/arena.c (arena_get_retry): New function that gets
9875 another arena for the caller to try its request on.
9876 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9877 current arena cannot fulfill the request.
9878 (__libc_memalign): Likewise.
9879 (__libc_memalign): Likewise.
9880 (__libc_pvalloc): Likewise.
9881 (__libc_calloc): Likewise.
9882
01f49f59
JT
98832012-09-05 John Tobey <john.tobey@gmail.com>
9884
9885 [BZ #13542]
9886 * manual/arith.texi (Operations on Complex): Fix description
9887 of carg branch cut.
9888
4c23fed5
JM
98892012-09-06 Joseph Myers <joseph@codesourcery.com>
9890
1d3c8572
JM
9891 [BZ #10014]
9892 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9893 host name.
9894
4c23fed5
JM
9895 [BZ #10038]
9896 * manual/memory.texi (Memory): Make order of menu items match
9897 order of sections.
9898
04570aaa
L
98992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9900
9901 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9902 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9903 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9904
b80af2f4
L
99052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9906
9907 * csu/libc-tls.c (static_dtv): Renamed to ...
9908 (_dl_static_dtv): This. Make it global.
9909 (_dl_initial_dtv): Removed.
9910 (__libc_setup_tls): Updated.
9911 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9912 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9913 DL_INITIAL_DTV.
9914
2abe9f15
PM
99152012-09-06 Petr Machata <pmachata@redhat.com>
9916
9917 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9918 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9919 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9920 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9921
0948c3af
L
99222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9923
9924 [BZ #14545]
9925 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9926 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9927 freeing dtv[-1].
9928
a5055ad1
L
99292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9930
9931 [BZ #14544]
9932 * Makeconfig (link-static-before-libc): Replace $(+prector)
9933 with $(+prectorT).
9934 (link-static-after-libc): Replace $(+postctor) with
9935 $(+postctorT).
9936 (link-bounded): Replace $(+prector)/$(+postctor) with
9937 $(+prectorT)/$(+postctorT).
9938 (+prectorT): New macro.
9939 (+postctorT): Likewise.
9940
ed8c2ecd
JM
99412012-09-06 Joseph Myers <joseph@codesourcery.com>
9942
9943 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9944 (round_str): Handle values above the maximum for IBM long double
9945 as inexact.
9946 * stdlib/tst-strtod-round.c (tests): Regenerated.
9947
14c996c8
AK
99482012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9949
9950 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9951 assembler flag.
9952 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9953 zarch_nohighgprs around the zarch optimized routines.
9954 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9955 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9956 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9957 for zarch.
9958
430d6ce6
DM
99592012-09-05 David S. Miller <davem@davemloft.net>
9960
9961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9962
ff04dda4
DM
9963 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9964 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9965 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9966 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9967 entries.
9968
24d4e01b
AO
99692012-09-05 Alexandre Oliva <aoliva@redhat.com>
9970
9971 * malloc/arena.c: Fold copyright years.
9972 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9973
61d58174
AO
99742012-09-05 Alexandre Oliva <aoliva@redhat.com>
9975
9976 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9977
20196a5e
AO
99782012-09-05 Alexandre Oliva <aoliva@redhat.com>
9979
9980 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9981
5c447383
AO
99822012-09-05 Alexandre Oliva <aoliva@redhat.com>
9983
9984 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9985 change internal state upon failure.
9986
fad64255
AO
99872012-09-05 Alexandre Oliva <aoliva@redhat.com>
9988
9989 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9990 * malloc/memusage.c (mmap): Likewise.
9991 (mmap64, mremap): Likewise. Adjust name in comment.
9992
1ffb8c90
SP
99932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9994
9995 * libio/fileops.c: Fix typos in comments.
9996 * libio/oldfileops.c: Likewise.
9997 * libio/wfileops.c: Likewise.
9998
6ef9cc37
SP
99992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10000
10001 [BZ #1349]
10002 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10003 (tst-malloc-usable-ENV): Set environment for test case.
10004 * malloc/hooks.c (malloc_check_get_size): New function to get
10005 requested size.
10006 * malloc/malloc.c (musable): Use malloc_check_get_size.
10007 * malloc/tst-malloc-usable.c: New test case.
10008
4d038ae3
AS
100092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10010
10011 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10012
c4e85184
AM
100132012-09-05 Allan McRae <allan@archlinux.org>
10014
b9dafc56 10015 [BZ #13966]
c4e85184
AM
10016 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10017 determine header location.
10018 * configure: Regenerated.
10019
e1343020
AS
100202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10021
10022 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10023 float format.
10024 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10025 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10026 format.
e1343020
AS
10027 (test): Regenerate.
10028
0a9f1987
DM
100292012-09-04 David S. Miller <davem@davemloft.net>
10030
10031 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10032 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10033 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10034
29237804
FW
100352012-09-04 Florian Weimer <fweimer@redhat.com>
10036
10037 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10038 failures.
10039
edb3cb88
FW
10040 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10041
60160d83
JM
100422012-09-04 Joseph Myers <joseph@codesourcery.com>
10043
10044 [BZ #9914]
10045 * libio/iogetdelim.c: Include <limits.h>.
10046 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10047 + len + 1 would overflow.
10048
bcd6c8dc
AJ
100492012-09-03 Andreas Jaeger <aj@suse.de>
10050
10051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10052 * sysdeps/i386/fpu/libm-test-ulps: Update.
10053
4ffffbd2
LD
100542012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10055
10056 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10057 Add s_sinf-sse2, s_conf-sse2.
10058
10059 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10060 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10061 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10062 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10063
10064 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10065 for using routine as __sinf_ia32.
10066 Use macro for function declaration and weak_alias.
10067 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10068 for using routine as __cosf_ia32.
10069 Use macro for function declaration and weak_alias.
10070
10071 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10072 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10073
10074 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10075 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10077
10078 * math/libm-test.inc (cos_test): Add more test cases.
10079 (sin_test): Likewise.
10080 (sincos_test): Likewise.
10081
511fa286
AK
100822012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10083
10084 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10085 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10086 hidden.
10087 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10088
5f30cfec
L
100892012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10090
10091 [BZ #14538]
10092 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10093 first element of the GOT.
10094 (elf_machine_load_address): Return the difference between
10095 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10096
0786794f
AM
100972012-09-01 Allan McRae <allan@archlinux.org>
10098
5f30cfec
L
10099 [BZ #13412]
10100 * configure.in (AWK): Require gawk version 3.0 or later.
10101 * configure: Regenerated.
0786794f 10102
26889eac
JM
101032012-09-01 Joseph Myers <joseph@codesourcery.com>
10104
10105 * sysdeps/unix/sysv/linux/kernel-features.h
10106 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10107 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10108 [__NR_clock_getres]: Make code unconditional.
10109 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10110 (clock_getcpuclockid): Remove code left unreachable by removal of
10111 conditionals.
10112 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10113 code unconditional.
10114 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10115 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10116 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10117 Make code unconditional.
10118 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10119 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10120 * sysdeps/unix/sysv/linux/clock_settime.c
10121 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10122 conditional code.
10123 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10124 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10125
d22e28b0
L
101262012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10127
10128 [BZ #14476]
10129 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10130 scripts/test-installation.pl.
10131
10132 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10133 and $ld_so_version if it is set.
10134
050af9c4
SP
101352012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10136
10137 [BZ #14516]
10138 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10139 failure if reading from procfs failed.
10140 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10141
ad845c0b
JM
101422012-08-27 Joseph Myers <joseph@codesourcery.com>
10143
10144 * sysdeps/unix/sysv/linux/kernel-features.h
10145 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10146 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10147 Remove conditional code.
10148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10149 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10150 Remove conditional code.
10151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10152 * sysdeps/unix/sysv/linux/i386/fxstat.c
10153 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10155 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10156 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10158 * sysdeps/unix/sysv/linux/i386/lxstat.c
10159 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10161 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10162 Remove conditional code.
10163 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10164 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10165 Remove conditional code.
10166 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10167 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10168 <kernel-features.h>.
10169 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10170 Remove.
10171 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10172 Remove conditional code.
10173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10174 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10175 Remove conditional.
10176
5dbf56af
MF
101772012-08-27 Mike Frysinger <vapier@gentoo.org>
10178
10179 [BZ #5400]
10180 * NEWS: Add fixed bug number.
10181
d6e70f43
JM
101822012-08-27 Joseph Myers <joseph@codesourcery.com>
10183
7efb4737
JM
10184 [BZ #14519]
10185 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10186 underflowing exponent in case of negative sign.
10187 * stdlib/tst-strtod-round-data: Add more tests.
10188 * stdlib/tst-strtod-round.c (tests): Regenerated.
10189
af92131a
JM
10190 [BZ #3479]
10191 * stdlib/strtod_l.c (NDIG): Remove.
10192 (HEXNDIG): Likewise.
10193 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10194 smallest representable value.
10195 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10196 lie within an exact representation of 1/2 ulp of the result.
10197 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10198 unconditionally.
10199 (TENS_P9_IDX): Define unconditionally.
10200 (TENS_P9_SIZE): Likewise.
10201 (TENS_P10_IDX): Likewise.
10202 (TENS_P10_SIZE): Likewise.
10203 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10204 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10205 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10206 entries for 10^2^13 and 10^2^14.
10207 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10208 (TENS_P13_IDX): Define.
10209 (TENS_P13_SIZE): Likewise.
10210 (TENS_P14_IDX): Likewise.
10211 (TENS_P14_SIZE): Likewise.
10212 (_fpioconst_pow10): Change array size to
10213 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10214 unconditional.
10215 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10216 1024]: Add entries for 10^2^13 and 10^2^14.
10217 [LAST_POW10 > _LAST_POW10]: Remove #error.
10218 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10219 (_fpioconst_pow10): Change array size to
10220 FPIOCONST_POW10_ARRAY_SIZE.
10221 * stdlib/gen-fpioconst.c: New file.
10222 * stdlib/gen-tst-strtod-round.c: Likewise.
10223 * stdlib/tst-strtod-round-data: Likewise.
10224 * stdlib/tst-strtod-round.c: Likewise.
10225 * stdlib/Makefile (tests): Add tst-strtod-round.
10226
d6e70f43
JM
10227 [BZ #14459]
10228 * stdlib/strtod_l.c: Include <stdint.h>.
10229 (NDEBUG): Do not define.
10230 (round_and_return): Change EXPONENT parameter to type intmax_t.
10231 Rearrange calculations to avoid internal overflow possibilities.
10232 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10233 Rearrange calculations to avoid internal overflow possibilities.
10234 Assert that number fits inside MPNSIZE limbs.
10235 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10236 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10237 calculations and add assertions to avoid internal overflow
10238 possibilities. Add casts to avoid signed/unsigned operations.
10239 * stdlib/tst-strtod-overflow.c: New file.
10240 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10241
1f529f7d
MP
102422012-08-25 Marek Polacek <polacek@redhat.com>
10243
10244 * time/time.h: Fix some typos in comments.
10245
59a629f1
RM
102462012-08-23 Roland McGrath <roland@hack.frob.com>
10247
10248 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10249 * posix/tst-rfc3484-2.c: Likewise.
10250 * posix/tst-rfc3484-3.c: Likewise.
10251
d3bafbc9
SM
102522012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10253
10254 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10255 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10256
4efcc022
JM
102572012-08-23 Joseph Myers <joseph@codesourcery.com>
10258
10259 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10260 #include of fxstatat64.c.
10261
3cc3ef96
RM
102622012-08-22 Roland McGrath <roland@hack.frob.com>
10263
f04e2132
RM
10264 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10265 * shadow/getspent_r.c: Likewise.
10266 * shadow/getspnam.c: Likewise.
10267 * shadow/getspnam_r.c: Likewise.
10268 * gshadow/getsgent.c: Likewise.
10269 * gshadow/getsgent_r.c: Likewise.
10270 * gshadow/getsgnam.c: Likewise.
10271 * gshadow/getsgnam_r.c: Likewise.
10272 * inet/getnetbyad.c: Likewise.
10273 * inet/getnetbyad_r.c: Likewise.
10274 * inet/getnetbynm.c: Likewise.
10275 * inet/getnetbynm_r.c: Likewise.
10276 * inet/getnetent.c: Likewise.
10277 * inet/getnetent_r.c: Likewise.
10278 * inet/getproto.c: Likewise.
10279 * inet/getproto_r.c: Likewise.
10280 * inet/getprtent.c: Likewise.
10281 * inet/getprtent_r.c: Likewise.
10282 * inet/getprtname.c: Likewise.
10283 * inet/getprtname_r.c: Likewise.
10284 * inet/getrpcbyname.c: Likewise.
10285 * inet/getrpcbyname_r.c: Likewise.
10286 * inet/getrpcbynumber.c: Likewise.
10287 * inet/getrpcbynumber_r.c: Likewise.
10288 * inet/getrpcent.c: Likewise.
10289 * inet/getrpcent_r.c: Likewise.
10290 * inet/getaliasent.c: Likewise.
10291 * inet/getaliasent_r.c: Likewise.
10292 * inet/getaliasname.c: Likewise.
10293 * inet/getaliasname_r.c: Likewise.
10294 * nscd/getgrgid_r.c: Likewise.
10295 * nscd/getgrnam_r.c: Likewise.
10296 * nscd/gethstbyad_r.c: Likewise.
10297 * nscd/gethstbynm3_r.c: Likewise.
10298 * nscd/getpwnam_r.c: Likewise.
10299 * nscd/getpwuid_r.c: Likewise.
10300 * nscd/getsrvbynm_r.c: Likewise.
10301 * nscd/getsrvbypt_r.c: Likewise.
10302 * nscd/gai.c: Likewise.
10303
c53d909c
RM
10304 * configure.in (build_nscd): New substituted variable, set
10305 by --disable-build-nscd and defaults to $use_nscd.
10306 * configure: Regenerated.
10307 * config.make.in (build-nscd): New substituted variable.
10308 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10309 Change conditional to require [$(build-nscd) = yes] as well.
10310 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10311
3cc3ef96
RM
10312 [BZ# 13696]
10313 * configure.in (use_nscd): New substituted variable, set by
10314 --disable-nscd. If enabled, define USE_NSCD.
10315 * configure: Regenerated.
10316 * config.h.in: Add USE_NSCD.
10317 * config.make.in (use-nscd): New substituted variable.
10318 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10319 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10320 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10321 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10322 (CFLAGS-getgrnam_r.c): Likewise.
10323 (CFLAGS-initgroups.c): Likewise.
10324 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10325 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10326 Variables removed.
10327 * inet/getnetgrent_r.c
10328 (nscd_setnetgrent): New function, broken out of ...
10329 (setnetgrent): ... here. Call it.
10330 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10331 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10332 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10333 * nscd/Makefile (routines, aux): Move definitions after include of
10334 Makeconfig. Conditionalize on [$(use-nscd) != no].
10335 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10336 Conditionalize on [USE_NSCD].
10337 (is_nscd, nscd_init_cb): Likewise.
10338 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10339 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10340 * nss/nss_db/db-init.c: Likewise.
10341 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10342 [USE_NSCD].
10343 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10344 (make_request): Use it.
10345 (cache_valid_p): New function.
10346 (__check_pf): Use it.
10347 * NEWS: Add item for --disable-nscd.
10348
07e51550
DL
103492012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10350
10351 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10352 to support sed >= 4.2.1-20-ga9bf076.
10353 * configure: Regenerated.
10354
35a5b08b
RM
103552012-08-22 Roland McGrath <roland@hack.frob.com>
10356
10357 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10358 Conditionalize whole body on [IREL].
10359
8479f23a
JL
103602012-08-22 Jeff Law <law@redhat.com>
10361
10362 [BZ #14505]
10363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10364 if the family is PF_UNSPEC.
10365
48da0b21
MF
103662012-08-22 Mike Frysinger <vapier@gentoo.org>
10367
10368 * Makerules (lib-version): Rename from V.
10369 (install-lib-nosubdir): Change V to lib-version.
10370
15d0da8c
WS
103712012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10372
10373 [BZ #14252]
10374 * powerpc32/power6/wcschr.c: New file.
10375 * powerpc32/power6/wcscpy.c: New file.
10376 * powerpc32/power6/wcsrchr.c: New file.
10377 * powerpc64/power6/wcschr.c: New file.
10378 * powerpc64/power6/wcscpy.c: New file.
10379 * powerpc64/power6/wcsrchr.c: New file.
10380
bcca0895
MK
103812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10382
10383 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10384 (two_way_short_needle): Use it.
5a4aaa33
RM
10385 * string/strstr.c (AVAILABLE1_USES_J): Define.
10386 * string/strcasestr.c: Likewise.
99677e57
MK
10387
10388 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10389 array references.
10390 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10391
400726de
MK
10392 [BZ #11607]
10393 * NEWS: Add an entry.
10394 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10395 define their defaults.
10396 (two_way_short_needle): Detect end-of-string on-the-fly.
10397 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10398 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10399 * string/bug-strcasestr1.c: New test.
10400 * string/Makefile: Run it.
10401
20a71f2c
MK
104022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10403
10404 [BZ #11607]
10405 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10406 the first character.
10407
21ad0558
RM
104082012-08-21 Roland McGrath <roland@hack.frob.com>
10409
10410 * csu/elf-init.c (__libc_csu_irel): Function removed.
10411 * csu/libc-start.c (apply_irel): New function.
10412 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10413
0e1d9911
JM
104142012-08-21 Joseph Myers <joseph@codesourcery.com>
10415
10416 * sysdeps/unix/sysv/linux/kernel-features.h
10417 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10418 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10419 <kernel-features.h>.
10420 [__NR_fadvise64_64]: Make code unconditional.
10421 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10422 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10423 !__NR_fadvise64_64)]: Likewise.
10424 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10425 !__NR_fadvise64_64))]: Likewise.
10426 [__NR_fadvise64]: Make code unconditional.
10427 [!__NR_fadvise64]: Remove conditional code.
10428 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10429 <kernel-features.h>.
10430 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10431 unconditional.
10432 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10433 conditional code.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10435 not include <kernel-features.h>.
10436 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10437 unconditional.
10438 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10439 conditional code.
10440 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10441 include <kernel-features.h>.
10442 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10443 unconditional.
10444 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10445 conditional code.
10446
14a50c9d
WS
104472012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10448
10449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10450 slight instruction rearrangements per scrollpipe analysis.
10451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10452
c0f4faf0
RM
104532012-08-20 Roland McGrath <roland@hack.frob.com>
10454
696da859
RM
10455 * manual/syslog.texi (syslog; vsyslog, closelog):
10456 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10457 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10458
c0f4faf0
RM
10459 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10460 DSOCAPS to match condition on defining it.
10461
348363b2
JM
104622012-08-20 Joseph Myers <joseph@codesourcery.com>
10463
a35cbf28
JM
10464 * sysdeps/unix/sysv/linux/kernel-features.h
10465 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10467 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10468 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10470 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10471 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10473 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10474 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10475
445f7ecd
JM
10476 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10477 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10478
348363b2
JM
10479 * sysdeps/unix/sysv/linux/kernel-features.h
10480 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10481 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10482 unconditional.
10483 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10484 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10485 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10486 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10487 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10488 Make code unconditional.
10489 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10490 (__mmap64) [!__NR_mmap2]: Likewise.
10491 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10492 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10493 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10494 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10495 [__NR_mmap2]: Make code unconditional.
10496 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10497 (__mmap64) [!__NR_mmap2]: Likewise.
10498
bc5bc0e5
AK
104992012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10500
10501 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10502
88d506de
AJ
105032012-08-18 Andreas Jaeger <aj@suse.de>
10504
10505 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10506
493387d2
MF
105072012-08-18 Mike Frysinger <vapier@gentoo.org>
10508
10509 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10510 * include/unistd.h (__have_sock_cloexec): Likewise.
10511 (__have_pipe2): Likewise.
10512 (__have_dup3): Likewise.
10513
a277af22
MF
105142012-08-18 Mike Frysinger <vapier@gentoo.org>
10515
10516 [BZ #9685]
10517 * include/unistd.h (__have_pipe2): Change define into an extern int.
10518 (__have_dup3): Likewise.
10519 * socket/have_sock_cloexec.c: Include fcntl.h.
10520 (__have_pipe2): New variable.
10521 (__have_dup3): Likewise.
10522
fdab8fd3
MF
105232012-08-17 Mike Frysinger <vapier@gentoo.org>
10524
10525 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10526
31035e80
MP
105272012-08-17 Marek Polacek <polacek@redhat.com>
10528
10529 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10530 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10531
3bd9e993
RM
105322012-08-17 Roland McGrath <roland@hack.frob.com>
10533
c91c505f
RM
10534 * configure.in: Add AC_SUBST for sysheaders.
10535 * configure: Regenerated.
10536 * config.make.in (sysheaders): New substituted variable.
10537
7c6f9d53
RM
10538 * sysdeps/unix/mkfifo.c: Moved ...
10539 * sysdeps/posix/mkfifo.c: ... here.
10540 * sysdeps/unix/mkfifoat.c: Moved ...
10541 * sysdeps/posix/mkfifoat.c: ... here.
10542
10543 * sysdeps/unix/utime.c: Moved ...
10544 * sysdeps/posix/utime.c: ... here.
10545
10546 * sysdeps/unix/time.c: Moved ...
10547 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10548 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10549 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10550
10551 * sysdeps/unix/nice.c: Moved ...
10552 * sysdeps/posix/nice.c: ... here.
10553
10554 * sysdeps/unix/alarm.c: Moved ...
10555 * sysdeps/posix/alarm.c: ... here.
10556
3bd9e993
RM
10557 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10558
d1f09384
JL
105592012-08-17 Jeff Law <law@redhat.com>
10560
10561 * intl/Makefile (codeset_mo): New variable.
10562 ($(codeset_mo)): New target.
10563 (tst-codeset.out): Depend on that. Remove explicit rule.
10564 (tst-gettext3.out, tst-gettext5.out): Likewise.
10565 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10566 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10567 * intl/tst-codeset.sh: Remove.
10568 * intl/tst-gettext3.sh: Likewise.
10569 * intl/tst-gettext5.sh: Likewise.
10570
2ae1ae5c
RM
105712012-08-17 Roland McGrath <roland@hack.frob.com>
10572
c31fdb83
RM
10573 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10574 * sysdeps/unix/syscalls.list: ... here.
10575
a0844057
RM
10576 * sysdeps/posix/getaddrinfo.c
10577 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10578 (gaiconf_init, gaiconf_reload): Use them.
10579 [!_STATBUF_ST_NSEC]
10580 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10581 Define using time_t rather than struct timespec.
10582
750c1f2a
RM
10583 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10584 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10585 Macros removed.
10586 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10587 [!NO_THREADS].
10588 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10589 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10590 Likewise.
10591
2ae1ae5c
RM
10592 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10593 __libc_cleanup_push argument.
10594
e66a42f5
RM
10595 * bits/param.h: New file.
10596 * misc/sys/param.h: New file.
10597 * include/sys/param.h: New file.
10598 * misc/Makefile (headers): Add bits/param.h.
10599 * sysdeps/generic/sys/param.h: File removed.
10600 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10601 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10602 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10603 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10604
b7c08a66
RM
10605 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10606 last change.
10607
b2e1c562
RM
10608 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10609 [_IO_MTSAFE_IO].
10610 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10611 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10612 New macros.
10613
c75ccd4c
RM
10614 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10615 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10616 rather than -D_IO_MTSAFE_IO conditionally.
10617 * stdio-common/Makefile (CPPFLAGS): Likewise.
10618 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10619 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10620 Use $(libio-mtsafe).
10621 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10622 of -D_IO_MTSAFE_IO.
10623 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10624 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10625 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10626 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10627 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10628 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10629 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10630 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10631 (CFLAGS-fread_u_chk.c): Likewise.
10632 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10633 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10634 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10635 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10636 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10637 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10638 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10639 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10640 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10641
10642 * libio/Makefile: Test [$(libc-reentrant) = yes]
10643 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10644
10645 * Makeconfig
10646 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10647 * sysdeps/pthread/configure: File removed.
10648 * sysdeps/pthread/Makeconfig: New file.
10649 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10650 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10651
d9195db8
GB
106522012-08-16 Gary Benson <gbenson@redhat.com>
10653
10654 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10655 unmapping the first object in a namespace.
10656
86466cd9
RM
106572012-08-16 Roland McGrath <roland@hack.frob.com>
10658
10659 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10660 (__internal_setnetgrent): ... this. Add internal_function to
10661 definition. Add libc_hidden_def.
10662 (setnetgrent): Update caller.
10663 (internal_endnetgrent): Renamed to ...
10664 (__internal_endnetgrent): ... this. Add internal_function to
10665 definition. Add libc_hidden_def.
10666 (endnetgrent): Update caller.
10667 (internal_getnetgrent_r): Renamed to ...
10668 (__internal_getnetgrent_r): ... this. Add internal_function to
10669 definition. Add libc_hidden_def.
10670 (__getnetgrent_r): Update caller.
10671 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10672
c3c8283c
JM
106732012-08-16 Joseph Myers <joseph@codesourcery.com>
10674
10675 * stdlib/longlong.h: Update from GCC.
10676
db1ee0a8
RM
106772012-08-16 Roland McGrath <roland@hack.frob.com>
10678
10679 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10680 on _QL, which is set by umul_ppmm but never used.
10681 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10682 variables, which are set by GMP macros but never used.
10683 * stdio-common/_itowa.c (_itowa): Likewise.
10684 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10685 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10686
30f69637
CD
106872012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10688
10689 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10690 struct La_sh_regs is not constant.
10691 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10692 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10693 and struct La_sparc64_regs are not constant.
10694
93a78ac4
JM
106952012-08-16 Joseph Myers <joseph@codesourcery.com>
10696
10697 * sysdeps/unix/sysv/linux/kernel-features.h
10698 (__ASSUME_POSIX_TIMERS): Remove.
10699 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10700 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10701 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10702 Make code unconditional.
10703 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10704 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10705 Make code unconditional.
10706 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10707 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10708 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10709 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10710 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10711 Make code unconditional.
10712 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10713 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10714 (__libc_missing_posix_timers): Remove.
10715
dd924cd7
RM
107162012-08-15 Roland McGrath <roland@hack.frob.com>
10717
4b4f2771
RM
10718 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10719 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10720
601c888b
RM
10721 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10722
176790a7
RM
10723 * elf/dl-sym.c: Include <stdlib.h>.
10724
329bc018
RM
10725 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10726 constants, which avoids warnings in 32-bit builds.
10727
e04e272d
RM
10728 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10729 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10730
952bf94a
RM
10731 * misc/lseek.c: File moved to ...
10732 * io/lseek.c: ... here.
10733
7c99b50a
RM
10734 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10735
dd924cd7
RM
10736 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10737 shifting LEN more than 31 bits at once.
10738
b3f479a8
LD
107392012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10740
10741 [BZ #14195]
8c4ae0d4
RM
10742 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10743 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10744 * string/test-strncasecmp.c (check1): Renamed to...
10745 (bz12205): ...this.
10746 (bz14195): Add new testcase for two empty input strings and N > 0.
10747 (test_main): Call new testcase, adapt for renamed function.
10748
9c55864e
AJ
107492012-08-15 Andreas Jaeger <aj@suse.de>
10750
10751 [BZ #14090]
10752 * crypt/md5test2.c: New test, based on test supplied by Serge
10753 Belyshev <belyshev@depni.sinp.msu.ru>.
10754 * crypt/Makefile (xtests): Add md5test-giant..
10755 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10756
02dcb6c5
PE
107572012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10758
10759 [BZ #14090]
10760 * crypt/md5.c (md5_process_block): Don't assume the buffer
10761 length is less than 2**32.
10762 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10763 length is less than 2**64.
10764
a3f95dcc
RM
107652012-08-15 Roland McGrath <roland@hack.frob.com>
10766
be75d758
RM
10767 * string/str-two-way.h: Include <sys/param.h>.
10768 (MAX): Macro removed.
10769
7312ca90
RM
10770 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10771 Move #define and #undef of memmove to just before and after
10772 including <string.h>.
10773
9a0a5486
RM
10774 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10775 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10776 and after including <string.h>. Move declarations of
10777 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10778 to before #include "string/memmove.c".
10779
67cc348d
RM
10780 * include/dirent.h: Declare __getdirentries.
10781
a3f95dcc
RM
10782 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10783 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10784
ca98e171
MF
107852012-08-14 Mike Frysinger <vapier@gentoo.org>
10786
10787 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10788 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10789 * sysdeps/i386/configure: Regenerated.
10790 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10791 STABS_CURRENT_FILE, and STABS_FUN.
10792 (END): Remove call to STABS_FUN_END.
10793 (STABS_CURRENT_FILE1): Delete.
10794 (STABS_CURRENT_FILE): Likewise.
10795 (STABS_FUN): Likewise.
10796 (STABS_FUN_END): Likewise.
10797 (STABS_FUN2): Likewise.
10798 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10799 * sysdeps/x86_64/configure: Regenerated.
10800
5908bf46
RM
108012012-08-14 Roland McGrath <roland@hack.frob.com>
10802
10803 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10804 * elf/dl-lookup.c: Likewise.
5908bf46 10805
f2c05b9e
JM
108062012-08-14 Joseph Myers <joseph@codesourcery.com>
10807
10808 * sysdeps/unix/sysv/linux/kernel-features.h
10809 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10810 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10811 unconditionally.
10812 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10813 unconditionally.
10814 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10815 condition on __ASSUME_CLONE_THREAD_FLAGS.
10816
e11f5155
AJ
108172012-08-14 Andreas Jaeger <aj@suse.de>
10818
10819 * sysdeps/i386/fpu/libm-test-ulps: Update.
10820
51a9ba86
MK
108212012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10822
2fdd4f78
AJ
10823 * include/atomic.h (atomic_exchange_and_add): Split into ...
10824 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10825 New atomic macros.
51a9ba86 10826
ba6cba9e
MT
108272012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10828
10829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10830
42443a47
JL
108312012-08-13 Jeff Law <law@redhat.com>
10832
10833 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10834 null byte in the output string.
10835
121dce05
JM
108362012-08-10 Joseph Myers <joseph@codesourcery.com>
10837
10838 * sysdeps/unix/sysv/linux/kernel-features.h
10839 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10840 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10841 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10842 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10843 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10844 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10845 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10846
bf51f568
JL
108472012-08-09 Jeff Law <law@redhat.com>
10848
10849 [BZ #13939]
10850 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10851 When avoid_arena is set, don't retry in the that arena. Pick the
10852 next one, whatever it might be.
10853 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10854 (arena_lock): Pass in new parameter to arena_get2.
10855 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10856 arena_get2.
10857 (__libc_malloc): Unify retrying after main arena failure with
10858 __libc_memalign version.
10859 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10860
f85fa270
L
108612012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10862
10863 [BZ #14166]
10864 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10865 to __redirect_strstr.
10866 (__strstr_sse42): Use typeof __redirect_strstr.
10867 (__strstr_ia32): Likewise.
10868 (__libc_strstr): New prototype.
10869 (strstr): Renamed to ...
10870 (__libc_strstr): This.
10871 (strstr): New strong alias of __libc_strstr.
10872 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10873 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10874 __redirect_time.
10875 Include <time.h>.
10876 (__libc_time): New prototype.
10877 (time_ifunc): Replace time with __libc_time.
10878 (time): New strong alias and hidden definition of __libc_time.
10879 (__GI_time): Remove strong alias.
10880 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10881 Include <stddef.h>.
10882 (memmove): Redefined to __redirect_memmove.
10883 (__memmove_sse2): Use typeof __redirect_memmove.
10884 (__memmove_ssse3): Likewise.
10885 (__memmove_ssse3_back): Likewise.
10886 (__libc_memmove): New prototype.
10887 (memmove): Renamed to ...
10888 (__libc_memmove): This.
10889 (memmove): New strong alias of __libc_memmove.
10890
33b4a91e
MS
108912012-08-08 Mark Salter <msalter@redhat.com>
10892
10893 * elf/elf.h
10894 (R_MN10300_TLS_GD): Define.
10895 (R_MN10300_TLS_LD): Likewise.
10896 (R_MN10300_TLS_LDO): Likewise.
10897 (R_MN10300_TLS_GOTIE): Likewise.
10898 (R_MN10300_TLS_IE): Likewise.
10899 (R_MN10300_TLS_LE): Likewise.
10900 (R_MN10300_TLS_DTPMOD): Likewise.
10901 (R_MN10300_TLS_DTPOFF): Likewise.
10902 (R_MN10300_TLS_TPOFF): Likewise.
10903 (R_MN10300_SYM_DIFF): Likewise.
10904 (R_MN10300_ALIGN): Likewise.
10905 (R_MN10300_NUM): Update.
10906
b36137f1
JM
109072012-08-08 Joseph Myers <joseph@codesourcery.com>
10908
10909 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10910 Remove.
10911
cdd915fd
RM
109122012-08-08 Roland McGrath <roland@hack.frob.com>
10913
a2433aac
RM
10914 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10915
cdd915fd
RM
10916 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10917 sysdeps/unix -> sysdeps/posix move.
10918 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10919
bf9b740a
AM
109202012-08-07 Allan McRae <allan@archlinux.org>
10921
10922 [BZ #14303]
10923 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10924 (SUNOS_CPP): Likewise.
10925 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10926 not found.
10927 (open_input): Call CPP using execvp.
10928
93df14ee
JM
109292012-08-07 Joseph Myers <joseph@codesourcery.com>
10930
10931 * sysdeps/unix/sysv/linux/kernel-features.h
10932 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10933 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10934 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10935 (__ASSUME_WAITID_SYSCALL): Likewise.
10936 * sysdeps/unix/sysv/linux/dl-execstack.c
10937 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10938 code unconditional.
10939 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10940 conditional code.
10941 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10942 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10943 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10944 code.
10945 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10946 unconditional.
10947 [__ASSUME_WAITID_SYSCALL]: Likewise.
10948 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10949
d34689de
RM
109502012-08-07 Roland McGrath <roland@hack.frob.com>
10951
a281decc
RM
10952 * sysdeps/unix/closedir.c: Renamed to ...
10953 * sysdeps/posix/closedir.c: ... here.
10954 * sysdeps/unix/dirfd.c: Renamed to ...
10955 * sysdeps/posix/dirfd.c: ... here.
10956 * sysdeps/unix/dirstream.h: Renamed to ...
10957 * sysdeps/posix/dirstream.h: ... here.
10958 * sysdeps/unix/fdopendir.c: Renamed to ...
10959 * sysdeps/posix/fdopendir.c: ... here.
10960 * sysdeps/unix/opendir.c: Renamed to ...
10961 * sysdeps/posix/opendir.c: ... here.
10962 * sysdeps/unix/readdir.c: Renamed to ...
10963 * sysdeps/posix/readdir.c: ... here.
10964 * sysdeps/unix/readdir_r.c: Renamed to ...
10965 * sysdeps/posix/readdir_r.c: ... here.
10966 * sysdeps/unix/rewinddir.c: Renamed to ...
10967 * sysdeps/posix/rewinddir.c: ... here.
10968 * sysdeps/unix/seekdir.c: Renamed to ...
10969 * sysdeps/posix/seekdir.c: ... here.
10970 * sysdeps/unix/telldir.c: Renamed to ...
10971 * sysdeps/posix/telldir.c: ... here.
10972 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10973 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10974 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10975 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10976
22895b47
RM
10977 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10978 * bits/fcntl.h: ... here.
10979
707a53b6
RM
10980 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10981 not 0.
10982 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10983 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10984 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10985 (struct flock): Move l_start, l_len to the beginning.
10986 Use __pid_t for l_pid.
10987 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10988 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10989 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10990 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10991 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10992 [__USE_LARGEFILE64] (struct flock64): New type.
10993 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10994
f0bd3e25
RM
10995 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10996 * bits/dirent.h: ... here.
10997
d34689de
RM
10998 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10999 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11000
6dad2c06
JM
110012012-08-07 Joseph Myers <joseph@codesourcery.com>
11002
11003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11004 Change from 2.6.0 to 2.6.16.
11005 * sysdeps/unix/sysv/linux/configure: Regenerated.
11006 * sysdeps/unix/sysv/linux/kernel-features.h
11007 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11008 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11009 version.
11010 (__ASSUME_UTIMES): Likewise.
11011 (__ASSUME_CLONE_STOPPED): Remove.
11012 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11013 architectures, not kernel version.
11014 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11015 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11016 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11017 (__ASSUME_WAITID_SYSCALL): Likewise.
11018 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11019 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11020 * README: State 2.6.16 as minimum Linux kernel version. Do not
11021 refer to older versions.
11022
03af9520
RM
110232012-08-06 Roland McGrath <roland@hack.frob.com>
11024
8e49df1d
RM
11025 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11026 Define alphasort64 as an alias.
11027 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11028 Define versionsort64 as an alias.
11029 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11030 Define scandir64 as an alias.
11031 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11032 Define scandirat64 as an alias.
11033 * dirent/alphasort64.c (alphasort64):
11034 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11035 * dirent/versionsort64.c: Likewise.
11036 * dirent/scandir64.c: Likewise.
11037 * dirent/scandirat64.c: Likewise.
11038 * sysdeps/wordsize-64/alphasort.c: File removed.
11039 * sysdeps/wordsize-64/alphasort64.c: File removed.
11040 * sysdeps/wordsize-64/scandir.c: File removed.
11041 * sysdeps/wordsize-64/scandir64.c: File removed.
11042 * sysdeps/wordsize-64/scandirat.c: File removed.
11043 * sysdeps/wordsize-64/scandirat64.c: File removed.
11044 * sysdeps/wordsize-64/versionsort.c: File removed.
11045 * sysdeps/wordsize-64/versionsort64.c: File removed.
11046 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11054
11055 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11056 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11057 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11058 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11059 [defined __arch64__ || defined __sparcv9]
11060 (__INO_T_MATCHES_INO64_T): New macro.
11061 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11062 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11063 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11064 * sysdeps/unix/sysv/linux/bits/dirent.h
11065 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11066 (_DIRENT_MATCHES_DIRENT64): New macro.
11067
03af9520
RM
11068 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11069 Define lockf64 as an alias.
11070 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11071 Define fseeko64 as an alias.
11072 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11073 Define ftello64 as an alias.
11074 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11075 Define _IO_fgetpos64 and fgetpos64 as aliases.
11076 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11077 Define _IO_fsetpos64 and fsetpos64 as aliases.
11078 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11079 Conditionalize body on this.
11080 * libio/fseeko64.c: Likewise.
11081 * libio/ftello64.c: Likewise.
11082 * libio/iofgetpos64.c: Likewise.
11083 * libio/iofsetpos64.c: Likewise.
11084 * sysdeps/wordsize-64/lockf.c: File removed.
11085 * sysdeps/wordsize-64/lockf64.c: File removed.
11086 * sysdeps/wordsize-64/fseeko.c: File removed.
11087 * sysdeps/wordsize-64/fseeko64.c: File removed.
11088 * sysdeps/wordsize-64/ftello.c: File removed.
11089 * sysdeps/wordsize-64/ftello64.c: File removed.
11090 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11091 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11092 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11093 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11095 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11096 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11097 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11098 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11099 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11100 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11101 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11102 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11103 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11104
11105 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11107 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11109 [defined __arch64__ || defined __sparcv9]
11110 (__OFF_T_MATCHES_OFF64_T): New macro.
11111 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11112 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11113 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11114 (__OFF_T_MATCHES_OFF64_T): New macro.
11115
c5757acd
L
111162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11117
11118 * stdlib/secure-getenv.c (__secure_getenv): Replace
11119 GLIBC_2_16 with GLIBC_2_17.
11120
3a31811e
L
111212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11122
11123 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11124 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11125
faa2bccb
DM
111262012-08-03 David S. Miller <davem@davemloft.net>
11127
11128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11129
85fe1997
JM
111302012-08-03 Joseph Myers <joseph@codesourcery.com>
11131
11132 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11133 Remove.
11134 (__ASSUME_CORRECT_SI_PID): Likewise.
11135 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11136 (__ASSUME_TMPFS_NAME): Likewise.
11137 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11138 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11139 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11140 (HAVE_AUX_SECURE): Make definition unconditional.
11141 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11142 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11143
4f75b7a0
RM
111442012-08-03 Roland McGrath <roland@hack.frob.com>
11145
11146 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11147 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11148 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11149 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11150 __eloop_threshold instead of SYMLOOP_MAX.
11151
11152 * sysdeps/generic/eloop-threshold.h: New file.
11153 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11154 of MAXSYMLINKS.
11155 * elf/chroot_canon.c (chroot_canon): Likewise.
11156
7aab07e4
JM
111572012-08-03 Joseph Myers <joseph@codesourcery.com>
11158
11159 [BZ #13717]
11160 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11161 Change to 2.6.0 everywhere.
11162 * sysdeps/unix/sysv/linux/configure: Regenerated.
11163 * sysdeps/unix/sysv/linux/kernel-features.h
11164 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11165 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11166 kernel versions.
11167 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11168 (__ASSUME_FUTEX_REQUEUE): Remove.
11169 (__ASSUME_STATFS64): Define unconditionally.
11170 (__ASSUME_AT_SECURE): Likewise.
11171 (__ASSUME_CORRECT_SI_PID): Likewise.
11172 (__ASSUME_TGKILL): Define without depending on kernel version for
11173 i386.
11174 (__ASSUME_UTIMES): Likewise.
11175 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11176 kernel version.
11177 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11178 (__ASSUME_TMPFS_NAME): Likewise.
11179 * README: Update reference to Linux kernel versions.
11180
b67e9372
MP
111812012-08-02 Marek Polacek <polacek@redhat.com>
11182
1f529f7d 11183 [BZ# 14150]
b67e9372
MP
11184 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11185 libc_cv_asm_type_prefix with %.
11186 * configure: Regenerated.
d2441631
RM
11187 * include/libc-symbols.h: Remove comment about
11188 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
11189 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11190 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11191 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11192 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11193 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11194 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11195 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11196 * elf/tst-unique2mod1.c: Likewise.
11197 * elf/tst-unique1mod2.c: Likewise.
11198 * elf/tst-unique1mod1.c: Likewise.
11199 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11200 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11201 Replace ASM_TYPE_DIRECTIVE with .type.
11202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11203 * sysdeps/i386/sysdep.h: Likewise.
11204 * sysdeps/x86_64/sysdep.h: Likewise.
11205 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11207 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 11208 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
11209 * sysdeps/powerpc/powerpc32/sysdep.h:
11210 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
11211 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11212 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11213 * sysdeps/i386/fpu/e_powf.S: Likewise.
11214 * sysdeps/i386/fpu/e_expl.S: Likewise.
11215 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11216 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11217 * sysdeps/i386/fpu/e_pow.S: Likewise.
11218 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11219 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11220 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11221 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11222 * sysdeps/i386/fpu/e_log2.S: Likewise.
11223 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11224 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11225 * sysdeps/i386/fpu/e_powl.S: Likewise.
11226 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11227 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11228 * sysdeps/i386/fpu/e_logl.S: Likewise.
11229 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11230 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11231 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11232 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11233 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11234 * sysdeps/i386/fpu/e_log.S: Likewise.
11235 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11236 * sysdeps/i386/fpu/e_logf.S: Likewise.
11237 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11238 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11239 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11240 * sysdeps/i386/fpu/e_log10.S: Likewise.
11241 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11242 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11243 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11244 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11245 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11246 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11247 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11248 * sysdeps/i386/i686/strtok.S: Likewise.
11249 * sysdeps/i386/i386-mcount.S: Likewise.
11250 * sysdeps/i386/strtok.S: Likewise.
11251 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11252 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11253 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11254 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11255 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11256 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11257 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11258 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11259 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11260 * sysdeps/x86_64/_mcount.S: Likewise.
11261 * sysdeps/x86_64/strtok.S: Likewise.
11262 * sysdeps/sh/_mcount.S: Likewise.
11263
2747bf9a
RM
112642012-08-01 Roland McGrath <roland@hack.frob.com>
11265
11266 * libio/iofopen.c: Include <fcntl.h>.
11267 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11268 (_IO_fopen64, fopen64): Define as aliases.
11269 * libio/iofopen64.c: Include <fcntl.h>.
11270 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11271 Conditionalize body on this.
11272 * sysdeps/wordsize-64/iofopen.c: File removed.
11273 * sysdeps/wordsize-64/iofopen64.c: File removed.
11274
3fb791b8
MP
112752012-08-01 Marek Polacek <polacek@redhat.com>
11276
11277 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11278 Use dlfcn directly instead of a variable.
11279 (binfmt-subdir): Do not define.
11280 (dlfcn): Likewise.
11281
a9f1039f
JM
112822012-08-01 Joseph Myers <joseph@codesourcery.com>
11283
23bddc06
JM
11284 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11285 Remove all definitions.
11286 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11287 <kernel-features.h>.
11288 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11289 (miss_F_GETOWN_EX): Remove all definitions.
11290 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11291 macro definition.
11292 [!__ASSUME_FCNTL64]: Remove conditional code.
11293 [__ASSUME_FCNTL64]: Make code unconditional.
11294 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11295 <kernel-features.h>.
11296 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11297 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11298 (lockf64) [__NR_fcntl64]: Make code unconditional.
11299 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11300
a9f1039f
JM
11301 * sysdeps/unix/sysv/linux/kernel-features.h
11302 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11303 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11304 Make code unconditional.
11305 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11306 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11308 [__NR_vfork]: Make code unconditional.
11309 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11310 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11312 [__NR_vfork]: Make code unconditional.
11313 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11314 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11315
09c0ee5f
RM
113162012-08-01 Roland McGrath <roland@hack.frob.com>
11317
48aec5b9
RM
11318 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11319 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11320
cd97c966
RM
11321 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11322 Define mkstemp64 as an alias.
3f55550c
RM
11323 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11324 Define mkstemps64 as an alias.
cd97c966
RM
11325 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11326 Define mkostemp64 as an alias.
b8625cfc
RM
11327 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11328 Define mkostemps64 as an alias.
cd97c966
RM
11329 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11330 Conditionalize body on this.
11331 * misc/mkostemp64.c: Likewise.
b8625cfc 11332 * misc/mkostemps64.c: Likewise.
3f55550c 11333 * misc/mkstemps64.c: Likewise.
cd97c966
RM
11334 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11335 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11336 * sysdeps/wordsize-64/mkostemp.c: File removed.
11337 * sysdeps/wordsize-64/mkstemp.c: File removed.
11338 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11339 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11340 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11341 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11342
09c0ee5f
RM
11343 [BZ #14138]
11344 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11345 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11346 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11347 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11348
11349 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11350 compat_symbol macros from <shlib-compat.h> rather than the underlying
11351 default_symbol_version and symbol_version macros, so that DEFAULT
11352 lines in shlib-versions are respected.
11353 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11354
7e66ee51
FW
113552012-08-01 Florian Weimer <fweimer@redhat.com>
11356
11357 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11358 Declare with warn_unused_result.
11359 (setgid, setregid, setegid, setresgid): Likewise.
11360 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11361 Likewise.
11362 * WUR-REPORT: Remove set*id functions.
11363
d2a54255
PT
113642012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11365
11366 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11367
7ecdb005
RM
113682012-07-31 Roland McGrath <roland@hack.frob.com>
11369
b4180a5e 11370 [BZ #10191]
789bd351
RM
11371 * include/sys/socket.h (__libc_accept, __libc_accept4):
11372 Add attribute_hidden.
11373 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11374
40ce302d
RM
11375 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11376 use of PTR_MANGLE.
11377 * inet/getnetgrent_r.c (setup): Likewise.
11378
7ecdb005
RM
11379 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11380
e2eabb2c
DM
113812012-07-31 David S. Miller <davem@davemloft.net>
11382
11383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11384
d0419dbf
JM
113852012-07-31 Joseph Myers <joseph@codesourcery.com>
11386
11387 [BZ #13629]
11388 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11389 value between 1.0 and 2.0 and smaller part has absolute value less
11390 than 1.0.
11391 * math/s_clog10.c (__clog10): Likewise.
11392 * math/s_clog10f.c (__clog10f): Likewise.
11393 * math/s_clog10l.c (__clog10l): Likewise.
11394 * math/s_clogf.c (__clogf): Likewise.
11395 * math/s_clogl.c (__clogl): Likewise.
11396 * math/libm-test.inc (clog_test): Add more tests.
11397 (clog10_test): Likewise.
11398 * sysdeps/i386/fpu/libm-test-ulps: Update.
11399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11400
2bc13872
FW
114012012-07-31 Florian Weimer <fweimer@redhat.com>
11402
11403 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11404 Exit with zero in case no suitable GID is found, and write a
11405 message to standard error.
11406
bea9b193
RM
114072012-07-30 Roland McGrath <roland@hack.frob.com>
11408
11409 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11410 rather than to 1.
11411 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11412 (MAXPATHLEN): Removed.
11413 (NOGROUP, NODEV): New macros.
11414 (setbit, clrbit, isset, isclr): New macros.
11415 (howmany, roundup, powerof2): New macros.
11416 (DEV_BSIZE): New macro.
11417
11418 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11419 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11420
11421 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11422 definition on [!__NO_LONG_DOUBLE_MATH].
11423
11424 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11425 PTR_MANGLE and PTR_DEMANGLE.
11426
11427 * socket/accept4.c (accept4): Rename to __libc_accept4.
11428 Define accept4 as a weak alias.
11429
11430 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11431 on [_DIRENT_HAVE_D_TYPE].
11432 * io/ftw.c (ftw_dir): Likewise.
11433
11434 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11435
11436 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11437
11438 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11439 Use the BSD numbers rather than the arbitrary ones we had.
11440 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11441 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11442 (SIGXCPU, SIGXFSZ): New macros.
11443 (_NSIG): Now 32.
11444
11445 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11446 initializer on [_LIBC_REENTRANT].
11447
11448 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11449 definitions inside [_POSIX_MAPPED_FILES].
11450
11451 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11452
11453 * dirent/opendir.c: Include <fcntl.h>.
11454
11455 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11456 (__libc_getspecific): Likewise.
11457 (__libc_key_create): Likewise.
11458
11459 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11460 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11461 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11462 (tmpfile64): Define as alias.
11463 * sysdeps/wordsize-64/tmpfile.c: File removed.
11464 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11465 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11466 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11467
11468 * stdio-common/vfscanf.c: Include <stdbool.h>.
11469 * nss/makedb.c: Likewise.
11470 * stdio-common/_i18n_number.h: Likewise.
11471 * argp/argp-help.c: Likewise.
11472 * posix/wordexp.c: Likewise.
11473 * sysdeps/posix/spawni.c: Likewise.
11474 * nss/nss_files/files-initgroups.c: Likewise.
11475 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11476 * nss/nss_files/files-initgroups.c: Likewise.
11477 * nss/nss_db/db-netgrp.c: Likewise.
11478 * nss/nss_db/db-initgroups.c: Likewise.
11479 * io/fchmodat.c: Include <sys/stat.h>.
11480
11481 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11482 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11483
11484 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11485 [HAVE_MMAP].
11486
11487 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11488 Add multiple inclusion protection.
11489
e5abc686
DM
114902012-07-27 David S. Miller <davem@davemloft.net>
11491
11492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11493
815e6fa3
GB
114942012-07-27 Gary Benson <gbenson@redhat.com>
11495
11496 [BZ #14298]
11497 * elf/rtld.c: Include <stap-probe.h>.
11498 (dl_main): Added static probes "init_start" and "init_complete".
11499 * elf/dl-load.c: Include <stap-probe.h>.
11500 (lose): Take new parameter "nsid".
11501 Added static probe "map_failed".
11502 (_dl_map_object_from_fd): Pass namespace id to lose.
11503 Added static probe "map_start".
11504 (open_verify): Pass namespace id to lose.
11505 * elf/dl-open.c: Include <stap-probe.h>.
11506 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11507 and "reloc_complete".
11508 * elf/dl-close.c: Include <stap-probe.h>.
11509 (_dl_close_worker): Added static probes "unmap_start" and
11510 "unmap_complete".
11511 * elf/rtld-debugger-interface.txt: New file documenting the above.
11512
9f98c16c
RM
115132012-07-26 Roland McGrath <roland@hack.frob.com>
11514
11515 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11516 rather than a string variable.
11517 * sunrpc/rpc_main.c (h_output): Likewise.
11518 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11519
f3c22df3
PT
115202012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11521
11522 * inet/check_native.c: New file.
11523
3129cfc6
JM
115242012-07-26 Joseph Myers <joseph@codesourcery.com>
11525
da865e95
JM
11526 [BZ #13629]
11527 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11528 if larger part has absolute value 1.0.
11529 * math/s_clog10.c (__clog10): Likewise.
11530 * math/s_clog10f.c (__clog10f): Likewise.
11531 * math/s_clog10l.c (__clog10l): Likewise.
11532 * math/s_clogf.c (__clogf): Likewise.
11533 * math/s_clogl.c (__clogl): Likewise.
11534 * math/libm-test.inc (clog_test): Add more tests.
11535 (clog10_test): Likewise.
11536 * sysdeps/i386/fpu/libm-test-ulps: Update.
11537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11538
3129cfc6
JM
11539 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11540 (pltexit): Likewise.
11541 (La_regs): Likewise.
11542 (La_retval): Likewise.
11543 (int_retval): Likewise.
11544 Update #error for removed macros to refer only to definitions in
11545 tst-audit.h.
11546 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11547 macro.
11548 (pltexit): Likewise.
11549 (La_regs): Likewise.
11550 (La_retval): Likewise.
11551 (int_retval): Likewise.
11552 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11553 macro.
11554 (pltexit): Likewise.
11555 (La_regs): Likewise.
11556 (La_retval): Likewise.
11557 (int_retval): Likewise.
11558 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11559 macro.
11560 (pltexit): Likewise.
11561 (La_regs): Likewise.
11562 (La_retval): Likewise.
11563 (int_retval): Likewise.
11564 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11565 macro.
11566 (pltexit): Likewise.
11567 (La_regs): Likewise.
11568 (La_retval): Likewise.
11569 (int_retval): Likewise.
11570 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11571 macro.
11572 (pltexit): Likewise.
11573 (La_regs): Likewise.
11574 (La_retval): Likewise.
11575 (int_retval): Likewise.
11576 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11577 macro.
11578 (pltexit): Likewise.
11579 (La_regs): Likewise.
11580 (La_retval): Likewise.
11581 (int_retval): Likewise.
11582 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11583 macro definitions in tst-audit.h.
11584 * sysdeps/i386/tst-audit.h: New file.
11585 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11586 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11587 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11588 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11589 * sysdeps/sh/tst-audit.h: Likewise.
11590 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11591 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11592 * sysdeps/x86_64/tst-audit.h: Likewise.
11593
bfc07087
AJ
115942012-07-26 Andreas Jaeger <aj@suse.de>
11595
b1b2aaf8
AJ
11596 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11597 ptrace.
11598
11599 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11600 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11601 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11602 PTRACE_O_MASK.
11603 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11604 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11605 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11606
bfc07087
AJ
11607 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11608 value.
11609
11610 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11611 _sigsys.
11612 (si_call_addr, si_syscall, si_arch): Define new macro.
11613 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11614 _sigsys.
11615 (si_call_addr, si_syscall, si_arch): Define new marcro.
11616 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11617 _sigsys.
11618 (si_call_addr, si_syscall, si_arch): Define new macro.
11619 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11620 _sigsys.
11621 (si_call_addr, si_syscall, si_arch): Define new macro.
11622
89b4b02f
JM
116232012-07-25 Joseph Myers <joseph@codesourcery.com>
11624
11625 [BZ #13717]
11626 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11627 Change to 2.4.21 where previously 2.4.1.
11628 * sysdeps/unix/sysv/linux/configure: Regenerated.
11629 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11630 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11631 Linux kernel version.
11632 (__ASSUME_STD_AUXV): Remove.
11633 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11634 kernel version.
11635 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11636 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11637 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11638 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11639 (__ASSUME_NETLINK_SUPPORT): Likewise.
11640 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11641 (__no_netlink_support): Remove conditional definition.
11642 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11643 Remove.
11644 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11645 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11646 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11647 (if_nameindex_ioctl): Remove.
11648 (if_nameindex_netlink): Do not handle __no_netlink_support.
11649 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11650 code.
11651 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11652 Remove conditional code.
11653 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11654 code.
11655 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11656 unconditional.
11657 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11658 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11659 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11660 Remove.
11661 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11662 [!__ASSUME_STD_AUXV]: Remove conditional code.
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11664 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11665 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11667 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11668 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11669 code.
11670 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11672 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11673 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11674 conditional code.
11675 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11677 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11678 code.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11680 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11681 conditional code.
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11683 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11684 code unconditional.
11685 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11686 conditional code.
11687 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11688 unconditional.
11689 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11690 conditional code.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11692 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11693 unconditional.
11694 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11695 conditional code.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11697 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11698 code unconditional.
11699 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11700 conditional code.
11701 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11702 unconditional.
11703 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11704 conditional code.
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11706 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11707 code unconditional.
11708 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11709 conditional code.
11710 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11711 unconditional.
11712 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11713 conditional code.
11714
842a39cd
AS
117152012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11716
11717 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11718 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11719 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11720 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11721 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11722 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11723 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11724 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11725 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11726 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11727 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11728 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11729 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11730 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11731 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11732 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11733 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11734 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11735 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11737 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11738 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11739 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11740
84b3fd84
FW
117412012-07-25 Florian Weimer <fweimer@redhat.com>
11742
11743 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11744 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11745 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11746 Introduce __libc_secure_getenv.
0c7936d5
FW
11747 * stdlib/Versions (2.17): Add secure_getenv
11748 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11749 * stdlib/secure-getenv.c: Rename __secure_getenv to
11750 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11751 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11752 * stdlib/tst-secure-getenv.c: New.
11753 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11754 * manual/startup.texi (Environment Access): Document
11755 secure_getenv.
84b3fd84
FW
11756 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11757 __libc_secure_getenv.
11758 * inet/ruserpass.c (ruserpass): Likewise.
11759 * malloc/mtrace.c (mtrace): Likewise.
11760 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11761 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11762 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11763 * sysdeps/posix/tempname.c: Likewise. Evaluate
11764 HAVE_SECURE_GETENV.
11765 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11766 __secure_getenv to __libc_secure_getenv.
84b3fd84 11767 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11769 Likewise.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11771 Likewise.
11772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11779
56e49b71
JM
117802012-07-25 Joseph Myers <joseph@codesourcery.com>
11781
11782 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11783 (struct La_i86_retval): Likewise.
11784 (struct La_x86_64_regs): Likewise.
11785 (struct La_x86_64_retval): Likewise.
11786 (struct La_x32_regs): Likewise.
11787 (struct La_x32_retval): Likewise.
11788 (struct La_ppc32_regs): Likewise.
11789 (struct La_ppc32_retval): Likewise.
11790 (struct La_ppc64_regs): Likewise.
11791 (struct La_ppc64_retval): Likewise.
11792 (struct La_sh_regs): Likewise.
11793 (struct La_sh_retval): Likewise.
11794 (struct La_s390_32_regs): Likewise.
11795 (struct La_s390_32_retval): Likewise.
11796 (struct La_s390_64_regs): Likewise.
11797 (struct La_s390_64_retval): Likewise.
11798 (struct La_sparc32_regs): Likewise.
11799 (struct La_sparc32_retval): Likewise.
11800 (struct La_sparc64_regs): Likewise.
11801 (struct La_sparc64_retval): Likewise.
11802 (struct audit_ifaces): Remove architecture-specific pltenter and
11803 pltexit members.
11804 * sysdeps/i386/ldsodefs.h: New file.
11805 * sysdeps/powerpc/ldsodefs.h: Likewise.
11806 * sysdeps/s390/ldsodefs.h: Likewise.
11807 * sysdeps/sh/ldsodefs.h: Likewise.
11808 * sysdeps/sparc/ldsodefs.h: Likewise.
11809 * sysdeps/x86_64/ldsodefs.h: Likewise.
11810
354691b7
MP
118112012-07-25 Marek Polacek <polacek@redhat.com>
11812
11813 [BZ #6808]
11814 * math/libm-test.inc (yn_test): Add another test.
11815 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11816 to ERANGE when the result is +-Inf.
11817 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11818 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11819 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11820 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11821
bf9e2071
JM
118222012-07-24 Joseph Myers <joseph@codesourcery.com>
11823
11824 * conform/data/time.h-data (NULL): Use macro-constant. Require
11825 equal to 0.
11826 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11827 clock_t.
11828 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11829
57633811
TS
118302012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11831
11832 * configure.in <sysdeps resolving>: Correct printing
11833 Implies_before.
11834 * configure: Regenerate.
11835
c23c33b0
TS
118362012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11837
11838 * math/w_ilogb.c: Include <limits.h>.
11839 * math/w_ilogbl.c: Likewise.
11840
b5982523
JM
118412012-07-20 Joseph Myers <joseph@codesourcery.com>
11842
11843 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11844 va_copy. Document allowing for unavailable va_copy only as
11845 pre-C99 compatibility.
11846 * manual/string.texi (Copying and Concatenation): Use va_copy
11847 instead of __va_copy in concat example.
11848
ac4ea442
PT
118492012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11850
11851 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11852 (__sendto): Use create_address_port. Initialize APORT and deallocate
11853 it if not null.
11854
f98eafbd
PT
11855 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11856 with O_NOLINK passed to __file_name_lookup.
11857
898c7aab
PT
11858 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11859 with O_NOLINK passed to __file_name_lookup.
11860
0ced335a
PT
11861 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11862 negative N or less than NGIDS.
11863
b3404dbd
PT
11864 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11865 type to string_t. Set ERANGE as errno and return it if NAME is not big
11866 enough. Use memcpy instead of strncpy.
11867
0f48659e
JM
118682012-07-20 Joseph Myers <joseph@codesourcery.com>
11869
11870 * elf/Makefile (check-data): Remove.
11871 (localplt.data): New vpath directive.
11872 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11873 instead of $(check-data).
11874 * scripts/data/localplt-generic.data: Move to ...
11875 * sysdeps/generic/localplt.data: ... here.
11876 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11877 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11878 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11880 ... here.
11881 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11883 ... here.
11884 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11886 ... here.
11887 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11889 ... here.
11890 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11892 ... here.
11893 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11895 ... here.
11896
d37cbdaa
AZ
118972012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11898
11899 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11900 PPC32 and PPC64 files.
11901 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11902 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11903
46f85fc2
AK
119042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11905
11906 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11907 __makecontext_ret to ...
11908 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11909 ... here and call exit if uc_link is NULL. New file.
11910 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11911 __makecontext_ret.S.
11912 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11913 __makecontext_ret to ...
11914 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11915 ... here and call exit if uc_link is NULL. New file.
11916 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11917 __makecontext_ret.S.
11918
08f43f9b
AK
119192012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11920
11921 * elf/elf.h (R_390_IRELATIVE): New definition.
11922 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11923 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11924 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11925 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11926 (elf_machine_lazy_rel): Likewise.
11927 * sysdeps/s390/dl-irel.h: New file.
11928 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11929 * sysdeps/s390/s390-64/memset.S: New asm code.
11930 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11931 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11932 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11933 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11934 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11935 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11936 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11937 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11938 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11939 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11940 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11941 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11942 * sysdeps/s390/s390-32/memset.S: New asm code.
11943 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11944
3b05db33
MP
119452012-07-17 Marek Polacek <polacek@redhat.com>
11946
11947 [BZ #14349]
11948 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11949 * sysdeps/s390/s390-64/configure.in: Likewise.
11950 * sysdeps/sparc/configure.in: Likewise.
11951 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11952 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11953 * sysdeps/i386/configure.in: Likewise.
11954 * sysdeps/x86_64/configure.in: Likewise.
11955 * sysdeps/sh/configure.in: Likewise.
11956 * sysdeps/s390/s390-32/configure: Regenerated.
11957 * sysdeps/s390/s390-64/configure: Likewise.
11958 * sysdeps/x86_64/configure: Likewise.
11959 * sysdeps/sh/configure: Likewise.
11960 * sysdeps/powerpc/powerpc64/configure: Likewise.
11961 * sysdeps/powerpc/powerpc32/configure: Likewise.
11962 * sysdeps/sparc/configure: Likwise.
11963 * sysdeps/i386/configure: Likewise.
11964
a66877c6
MP
11965 * elf/dl-open.c: Comment fixes.
11966
cfc82fd8
JM
119672012-07-17 Joseph Myers <joseph@codesourcery.com>
11968
bd29910a
JM
11969 * Makefile [CXX] (check-data): Remove.
11970 [CXX] (c++-types.data): New vpath directive.
11971 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11972 vpath. Do not allow for C++ type data being missing.
11973 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11974 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11975 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11976 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11977 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11978 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11979 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11981 ... here.
11982 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11984 ... here.
11985 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11987 ... here.
11988 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11990 ... here.
11991 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11993 ... here.
11994 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11996 ... here.
11997 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11999 ... here.
12000 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12002
cfc82fd8
JM
12003 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12004 definitions to architecture-specific files.
12005 (TLS_IE): Likewise.
12006 (TLS_LD): Likewise.
12007 (TLS_GD): Likewise.
12008 * sysdeps/i386/tls-macros.h: New file.
12009 * sysdeps/powerpc/tls-macros.h: Likewise.
12010 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12011 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12012 * sysdeps/sh/tls-macros.h: Likewise.
12013 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12014 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12015 * sysdeps/x86_64/tls-macros.h: Likewise.
12016
f7db3170
TS
120172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12018
07cbfc23
TS
12019 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12020 zero value for regular exit case.
12021
f7db3170
TS
12022 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12023 (__start_context): Preserve zero value for regular exit case.
12024
dc97c227
TS
120252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12026 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12027
12028 * manual/setjmp.texi (setcontext): Clarify normal process
12029 termination when uc_link is the null pointer.
12030 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12031 exit call.
12032
d0cd7d02
AS
120332012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12034
12035 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12036 preprocessor. Test for each exception mask separately.
12037
dd318934
AJ
120382012-07-16 Andreas Jaeger <aj@suse.de>
12039
12040 * po/ru.po: Update from translation team.
12041
8048311a
JM
120422012-07-15 Joseph Myers <joseph@codesourcery.com>
12043
12044 * conform/data/string.h-data (NULL): Use macro-constant. Require
12045 equal to 0.
12046 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12047 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12048 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12049 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12050 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12051
b637d46e
AJ
120522012-07-13 Andreas Jaeger <aj@suse.de>
12053
12054 * po/fr.po: Update from translation team.
12055
541428fe
MP
120562012-07-12 Marek Polacek <polacek@redhat.com>
12057
12058 [BZ #14173]
12059 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12060 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12061 loop condition.
12062
ec332e94
JM
120632012-07-12 Joseph Myers <joseph@codesourcery.com>
12064
12065 [BZ #13717]
12066 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12067 Change to 2.4.1 where previously 2.4.0.
12068 * sysdeps/unix/sysv/linux/configure: Regenerated.
12069 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12070 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12071 version.
12072 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12073 (__ASSUME_AT_CLKTCK): Remove.
12074 (__ASSUME_AT_PAGESIZE): Likewise.
12075 (__ASSUME_AT_XID): Likewise.
12076 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12077 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12078 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12079 unconditionally.
12080 (HAVE_AUX_PAGESIZE): Likewise.
12081 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12082 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12083 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12084
7b6e99be
JB
120852012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12086
12087 [BZ #14307]
12088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12089 the temporary buffer used to invoke __gethostbyname2_r,
12090 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12091 host_data / struct gaih_addrtuple.
12092 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12093 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12094 header file nss/nsswitch.h.
12095 * nss/nsswitch.h (global scope): Add definition of implementation
12096 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12097 resolv/nss_dns/dns-host.c).
12098
608404eb
AJ
120992012-07-11 Andreas Jaeger <aj@suse.de>
12100
12101 * po/fr.po: Update from translation team.
12102
71220aca
AJ
12103 * po/sv.po: Update from translation team
12104 * po/fr.po: Another update from translation team.
12105
28cfe843
AZ
121062012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12107
12108 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12109 for subnormals or multiply small sinh result by itself.
12110 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12112
6b90f981
DM
121132012-07-11 David S. Miller <davem@davemloft.net>
12114
12115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12116
c6825772
AS
121172012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12118
12119 [BZ #14347]
12120 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12121 (INTERNAL_MARK): Shift it here.
12122
7b8e0d49
MP
121232012-07-10 Marek Polacek <polacek@redhat.com>
12124
12125 [BZ #14151]
12126 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12127 libc_cv_asm_global_directive with .globl.
12128 * configure: Regenerated.
12129 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12130 with .globl.
12131 * sysdeps/i386/configure: Regenerated.
12132 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12133 with .globl.
12134 * sysdeps/x86_64/configure: Regenerated.
12135 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12136 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12137 * elf/tst-unique2mod2.c: Likewise.
12138 * elf/tst-unique2mod1.c: Likewise.
12139 * elf/tst-unique1mod2.c: Likewise.
12140 * elf/tst-unique1mod1.c: Likewise.
12141 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12142 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12143 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12144 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12145 * sysdeps/mach/sysdep.h: Likewise.
12146 * sysdeps/i386/sysdep.h: Likewise.
12147 * sysdeps/i386/i386-mcount.S: Likewise.
12148 * sysdeps/x86_64/_mcount.S: Likewise.
12149 * sysdeps/x86_64/sysdep.h: Likewise.
12150 * sysdeps/sh/_mcount.S: Likewise.
12151 * sysdeps/sh/sysdep.h: Likewise.
12152 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12153 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12154 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12155 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12156 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12157 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12158 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12159 * locale/localeinfo.h: Likewise.
12160 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12161 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12162
6c55cda3
RM
121632012-07-09 Roland McGrath <roland@hack.frob.com>
12164
12165 [BZ #14336]
12166 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12167 system".
12168 * manual/message.texi (The Uniforum approach): Likewise.
12169 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12170 (glibc iconv Implementation): Likewise.
12171
638a572e
JM
121722012-07-09 Joseph Myers <joseph@codesourcery.com>
12173
12174 [BZ #14337]
12175 * math/s_clog.c (__clog): Avoid scaling a value down where that
12176 could result in underflow.
12177 * math/s_clog10.c (__clog10): Likewise.
12178 * math/s_clog10f.c (__clog10f): Likewise.
12179 * math/s_clog10l.c (__clog10l): Likewise.
12180 * math/s_clogf.c (__clogf): Likewise.
12181 * math/s_clogl.c (__clogl): Likewise.
12182 * math/libm-test.inc (clog_test): Add more tests.
12183 (clog10_test): Likewise.
12184 * sysdeps/i386/fpu/libm-test-ulps: Update.
12185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12186
261f4859
AS
121872012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12188
0abaf3e4
AS
12189 [BZ #14283]
12190 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12191 by 7 not 8 to examine high bit of fractional part.
12192
261f4859
AS
12193 [BZ #14042]
12194 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12195 for call to __mcount_internal.
12196 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12197 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12198 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12199
f17ac40d
JM
122002012-07-06 Joseph Myers <joseph@codesourcery.com>
12201
9ad63c23
JM
12202 [BZ #14154]
12203 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12204 approximation for values within 0x1p-13f of an odd multiple of
12205 pi/4.
12206 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12207 exception. Add more tests.
12208 * sysdeps/i386/fpu/libm-test-ulps: Update.
12209
f17ac40d
JM
12210 [BZ #6778]
12211 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12212 inputs and return -1 for them. Do not check for +Inf in case not
12213 reachable for +Inf.
12214 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12215 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12216 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12217 and return -1 for them. Do not check for +Inf in case not
12218 reachable for +Inf.
12219 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12220 define.
12221 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12222 and return -1 for them. Do not check for +Inf in case not
12223 reachable for +Inf.
12224 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12225 spurious underflow.
12226 * sysdeps/i386/fpu/libm-test-ulps: Update.
12227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12228
fb21f89b
MF
122292012-07-06 Mike Frysinger <vapier@gentoo.org>
12230
12231 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12232
cdfe2c5e
JM
122332012-07-05 Joseph Myers <joseph@codesourcery.com>
12234
12235 [BZ #14157]
12236 [BZ #14331]
12237 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12238 could result in spurious underflow. Scale down values above
12239 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12240 * math/s_csqrtf.c (__csqrtf): Likewise.
12241 * math/s_csqrtl.c (__csqrtl): Likewise.
12242 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12243 spurious underflow.
12244 * sysdeps/i386/fpu/libm-test-ulps: Update.
12245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12246
70d35b67
AS
122472012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12248
704bc459
AS
12249 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12250 xopen-msg.sed.
12251 * catgets/xopen-msg.awk: New file.
12252 * catgets/xopen-msg.sed: Removed.
12253
70d35b67
AS
12254 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12255 po2text.sed.
12256 * intl/po2test.awk: New file.
12257 * intl/po2test.sed: Removed.
12258
ca61cf32
JM
122592012-07-04 Joseph Myers <joseph@codesourcery.com>
12260
12261 [BZ #14328]
12262 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12263 or multiply small sinh result by itself.
12264 * math/s_ctanf.c (__ctanf): Likewise.
12265 * math/s_ctanh.c (__ctanh): Likewise.
12266 * math/s_ctanhf.c (__ctanhf): Likewise.
12267 * math/s_ctanhl.c (__ctanhl): Likewise.
12268 * math/s_ctanl.c (__ctanl): Likewise.
12269 * math/libm-test.inc (ctan_test_tonearest): New function.
12270 (ctan_test_towardzero): Likewise.
12271 (ctan_test_downward): Likewise.
12272 (ctan_test_upward): Likewise.
12273 (ctanh_test_tonearest): Likewise.
12274 (ctanh_test_towardzero): Likewise.
12275 (ctanh_test_downward): Likewise.
12276 (ctanh_test_upward): Likewise.
12277 (main): Call these new functions.
12278 * sysdeps/i386/fpu/libm-test-ulps: Update.
12279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12280
ca48a46a
MF
122812012-07-03 Mike Frysinger <vapier@gentoo.org>
12282
12283 * .gitignore: Delete /ports entry.
12284
9d63d37d
AJ
122852012-07-03 Andreas Jaeger <aj@suse.de>
12286
12287 * po/bg.po: Update from translation team.
12288 * po/cs.po: Likewise.
12289 * po/de.po: Likewise.
12290 * po/hr.po: Likewise.
12291 * po/nl.pl: Likewise.
12292 * po/pl.po: Likewise.
12293 * po/vi.po: Likewise.
12294
370ca3d2
JM
122952012-07-03 Joseph Myers <joseph@codesourcery.com>
12296
95f5a9a8
JM
12297 * Makeconfig [!+link] (+link-before-libc): New variable.
12298 [!+link] (+link-after-libc): Likewise.
12299 [!+link] (+link-tests): Likewise.
12300 [!+link] (+link): Define in terms of $(+link-before-libc) and
12301 $(+link-after-libc).
12302 [!+link-static] (+link-static-before-libc): New variable.
12303 [!+link-static] (+link-static-after-libc): Likewise.
12304 [!+link-static] (+link-static-tests): Likewise.
12305 [!+link-static] (+link-static): Define in terms of
12306 $(+link-static-before-libc) and $(+link-static-after-libc).
12307 [build-shared] (link-libc-before-gnulib): New variable.
12308 [build-shared] (link-libc-tests): Likewise.
12309 [build-shared] (link-libc): Define in terms of
12310 $(link-libc-before-gnulib).
12311 [!build-shared] (link-libc-tests): New variable.
12312 (link-libc-static-tests): New variable.
12313 [!gnulib] (gnulib-arch): New variable.
12314 [!gnulib] (gnulib-tests): Likewise.
12315 [!gnulib] (static-gnulib-arch): Likewise.
12316 [!gnulib] (static-gnulib-tests): Likewise.
12317 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12318 Define with "=" instead of ":=".
12319 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12320 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12321 * Rules (binaries-all-notests): New variable.
12322 (binaries-all-tests): Likewise.
12323 (binaries-static-notests): Likewise.
12324 (binaries-static-tests): Likewise.
12325 (binaries-all): Define using $(binaries-all-notests) and
12326 $(binaries-all-tests).
12327 (binaries-static): Define using $(binaries-static-notests) and
12328 $(binaries-static-tests).
12329 (binaries-shared-tests): New variable.
12330 (binaries-shared-notests): Likewise.
12331 (binaries-shared): Remove variable.
12332 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12333 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12334 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12335 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12336 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12337 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12338 * elf/Makefile (sln-modules): New variable.
12339 (extra-objs): Add $(sln-modules:=.o).
12340 (ldconfig-modules): Add static-stubs.
12341 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12342 * elf/static-stubs.c: New file.
12343
7a845b2c
JM
12344 [BZ #14283]
12345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12346 by 7 not 8 to examine high bit of fractional part. Use volatile
12347 variables when splitting into final array of floats if
12348 __FLT_EVAL_METHOD__ != 0.
12349 * math/libm-test.inc (cos_test): Add another test.
12350 (sin_test): Likewise.
12351 * sysdeps/i386/fpu/libm-test-ulps: Update.
12352
e2283f38
JM
12353 [BZ #14273]
12354 * math/libm-test.inc (cosh_test): Add more tests.
12355
370ca3d2
JM
12356 * version.h (RELEASE): Set to "development".
12357 (VERSION): Set to "2.16.90".
12358
ee9247c3
CD
123592012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12360
12361 * NEWS: Update copyright. Remove last-updated date.
12362 Mention math library bug fixes and timezone data changes.
12363 * README: Mention GNU/Hurd, x32, and HPPA support status.
12364
4648c381
TS
123652012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12366
12367 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12368
aac78a43
AJ
123692012-06-27 Andreas Jaeger <aj@suse.de>
12370
12371 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12372
ed3dbfad
AJ
123732012-06-25 Andreas Jaeger <aj@suse.de>
12374
12375 * sysdeps/s390/fpu/libm-test-ulps: Update.
12376
4d0ee855
AS
123772012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12378 Thomas Schwinge <thomas@codesourcery.com>
12379
12380 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12381 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12383 fanotify_mark.
12384
af1bce34
TS
123852012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12386
a9fa33ba
TS
12387 * sysdeps/mach/start.c: Remove file.
12388 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12389 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12390 * sysdeps/sh/init-first.c: Likewise.
12391
58f902b8
TS
12392 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12393 registers for frame unwinding purposes, add CFI directives.
12394 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12395 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12396 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12397 Likewise.
12398
1518f58b
TS
12399 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12400 __fortify_fail returning.
12401 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12402
db9b5059
TS
12403 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12404 sysdeps/sh/____longjmp_chk.S.
12405 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12406 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12407 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12408 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12409
967705fe
TS
12410 * sysdeps/sh/abort-instr.h: New file.
12411 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12412 process in case exit returns.
12413
a9def8c4
TS
12414 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12415 initialize the GOT register before use.
12416
2a649725
TS
12417 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12418 calculation of ARGC > 4.
12419
af1bce34
TS
12420 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12421 meaningful names to some local labels.
12422
d230f50a
KK
124232012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12424 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12425
12426 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12427 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12428 (__arch_compare_and_exchange_val_16_acq): Likewise.
12429 (__arch_compare_and_exchange_val_32_acq): Likewise.
12430 (atomic_exchange_and_add): Fix gUSA sequence.
12431 (atomic_add): Likewise.
12432 (atomic_add_negative): Likewise.
12433 (atomic_add_zero): Likewise.
12434 (atomic_bit_test_set): Likewise.
12435
0479b305
AS
124362012-06-22 Andreas Schwab <schwab@redhat.com>
12437
12438 [BZ #13579]
12439 * include/link.h (struct link_map): Add l_free_initfini.
12440 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12441 l_initfini.
12442 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12443 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12444 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12445 set.
12446
0e3933b9
CD
124472012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12448
12449 * configure.in: Use AC_LANG_SOURCE.
12450 * configure: Regenerate.
12451
4248b1b1
RM
124522012-06-22 Roland McGrath <roland@hack.frob.com>
12453
12454 * configure.in (libc_cv_localstatedir): New substituted variable.
12455 * configure: Regenerated.
12456 * config.make.in (localstatedir): New variable, substituted from
12457 libc_cv_localstatedir.
12458 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12459 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12460 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12461 * sysdeps/gnu/configure: Regenerated.
12462
006dd861
JL
124632012-06-21 Jeff Law <law@redhat.com>
12464
12465 [BZ #14277]
12466 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12467 free. Simplify list management for _LIBC case.
12468
79662d42
JM
124692012-06-21 Joseph Myers <joseph@codesourcery.com>
12470
b7abb4bf
JM
12471 [BZ #14273]
12472 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12473 Clear sign bit of 64-bit integer value before comparing against
12474 overflow value.
12475
79662d42
JM
12476 * sysdeps/mach/configure: Regenerated.
12477
1f150908
L
124782012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12479
12480 [BZ #14278]
12481 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12482
28363bbf
JL
124832012-06-21 Jeff Law <law@redhat.com>
12484
12485 [BZ #13882]
12486 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12487 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12488 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12489 * elf/dl-open.c (dl_open_worker): Likewise.
12490
09615db4
CD
124912012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12492
12493 * scripts/list-sources.sh: Scan PORTS for translations.
12494 * po/libc.pot: Regenerated.
12495
2174c6dd
AJ
124962012-06-21 Andreas Jaeger <aj@suse.de>
12497
12498 [BZ #12194]
12499 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12500 warning.
12501 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12502 * bits/byteswap-16.h (__bswap_16): Likewise.
12503 * bits/byteswap.h (__bswap_constant_16): Likewise.
12504
3ee947b1
L
125052012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12506
12507 [BZ #14117]
a2f34833
L
12508 * sysdeps/i386/fpu_control.h: Removed.
12509 * sysdeps/x86_64/fpu_control.h: Moved to ...
12510 * sysdeps/x86/fpu_control.h: Here.
12511
3ee947b1
L
12512 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12513 (_FPU_SETCW): Likewise.
12514
ed1825f8
L
125152012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12516
25f1282a
L
12517 [BZ #14117]
12518 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12519 * sysdeps/x86/fpu/bits/mathinline.h: This.
12520 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12521
ed1825f8
L
12522 [BZ #14050]
12523 [BZ #14117]
12524 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12525 functions if __x86_64__ is defined.
12526
36d54b74
CLT
125272012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12528
12529 * string/endian.h: Add !__ASSEMBLER__ condition for including
12530 conversion interfaces.
12531
10285c21
JM
125322012-06-15 Joseph Myers <joseph@codesourcery.com>
12533
12534 [BZ #14241]
12535 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12536 of ABS(x) in calculating zero to negative powers other than odd
12537 integers.
12538 * math/libm-test.inc (pow_test): Add more tests.
12539
06c5abbd
AJ
125402012-06-15 Andreas Jaeger <aj@suse.de>
12541
12542 * manual/contrib.texi (Contributors): Update entry of Liubov
12543 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12544 Machado Filho.
12545
a3aeac40
CH
125462012-06-15 Cyril Hrubis <metan@ucw.cz>
12547
12548 * string/string.h: Add __wur to GNU version of strerror_r.
12549
49bdf4c1
L
125502012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12551
12552 [BZ #14229]
12553 * string/Makefile (tests): Add tst-strtok_r.
12554 * string/tst-strtok_r.c: New file.
12555 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12556 RAX_LP/RDX_LP on SAVE_PTR.
12557
834f9b8d
RM
125582012-06-14 Roland McGrath <roland@hack.frob.com>
12559
12560 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12561
75fa1921
JM
125622012-06-14 Joseph Myers <joseph@codesourcery.com>
12563
12564 * libm_test.inc (csqrt_test): Allow more spurious underflow
12565 exceptions.
12566 (j0_test): Likewise.
12567 (j1_test): Likewise.
12568 (y0_test): Likewise.
12569 (y1_test): Likewise.
12570
771766df
CD
125712012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12572
12573 * po/Makefile (libc.pot): Use UTF-8 charset.
12574
ceb9e56b
PP
125752012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12576
12577 [BZ #14210]
12578 Suppress sign-conversion warning from FD_SET.
12579 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12580 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12581 not unsigned long int.
12582 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12583
ddb28975
L
125842012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12585
12586 [BZ #14050]
12587 [BZ #14117]
12588 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12589 __extern_always_inline instead of __extern_inline.
12590 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12591 (__signbit): Likewise.
12592 (__signbitl): Support C++ namespace.
12593 (lrintf): New inline function.
12594 (lrint): Likewise.
12595 (llrintf): Likewise.
12596 (llrint): Likewise.
12597 (fmaxf): Likewise.
12598 (fmax): Likewise.
12599 (fminf): Likewise.
12600 (fmin): Likewise.
12601 (rint): Likewise.
12602 (rintf): Likewise.
12603 (ceil): Likewise.
12604 (ceilf): Likewise.
12605 (floor): Likewise.
12606 (floorf): Likewise.
12607 (nearbyint): Likewise.
12608 (nearbyintf): Likewise.
12609
d7b4fb26
TS
126102012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12611
12612 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12613 non-default versions.
12614
eb55f5c2
RM
126152012-06-11 Roland McGrath <roland@hack.frob.com>
12616
12617 [BZ #14218]
12618 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12619
366af02c
TS
126202012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12621
99ff6e5c
TS
12622 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12623 (FE_UPWARD, FE_DOWNWARD): Don't define.
12624 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12625 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12626
366af02c
TS
12627 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12628 reading it.
12629 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12630 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12631
793ea851
KK
126322012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12633
12634 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12636 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12637 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12638
a728a38f
L
126392012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12640
12641 [BZ #14117]
c08010c7
L
12642 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12643 * sysdeps/i386/fpu/Implies: New file.
12644 * sysdeps/x86_64/fpu/Implies: Likewise.
12645 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12646 * sysdeps/x86/fpu/bits/fenv.h: This.
12647
a728a38f
L
12648 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12649 __SSE_MATH__.
12650
6e230d11
SP
126512012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12652
12653 [BZ #14134]
12654 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12655 character 0xffff that matches the last element of the
12656 conversion table.
12657
1b671feb
AZ
126582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12659
12660 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12661 fmodl commit.
12662
6043738b
AZ
126632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12664
12665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12666 values higher than 25.6283.
12667
34ae0b32
AZ
126682012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12669
12670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12671 subnormal exponent extraction and add some __builtin_expect.
12672 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12673 Fix for subnormal mantissa calculation.
12674
1214ec8f
MF
126752012-06-04 Mike Frysinger <vapier@gentoo.org>
12676
12677 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12678 cpu2 is -1 and errno is not ENOSYS.
12679
f3d1f93c
L
126802012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12681
12682 [BZ #14117]
0e4a3cd7
L
12683 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12684 * sysdeps/x86/bits/string.h: This.
12685 * sysdeps/x86_64/bits/string.h: Removed.
12686
6704c645
L
12687 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12688 if not compiling for x86-64, but compiling for >= i486.
12689
48495318
L
12690 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12691 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12692
14adcbfc
L
12693 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12694 New macro from Linux kernel 3.4.0.
12695 (FP_XSTATE_MAGIC2): Likewise.
12696 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12697 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12698 (struct _fpx_sw_bytes): New struct.
12699 (struct _xsave_hdr): Likewise.
12700 (struct _ymmh_state): Likewise.
12701 (struct _xstate): Likewise.
12702
68e408ab
L
12703 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12704 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12705 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12706 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12707 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12708 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12709
f3d1f93c
L
12710 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12711 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12712 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12713 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12714 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12715 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12716
d9dc34cd
TMQMF
127172012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12718
12719 [BZ #13743]
12720 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12721 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12722 (sysdep_headers): Include sys/platform/ppc.h.
12723 * sysdeps/powerpc/test-gettimebase.c: Test for
12724 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12725 * manual/Makefile (appendices): Include platform.texi.
12726 * manual/contrib.texi (Contributors): Update @node pointers.
12727 * manual/maint.texi (Maintenance): Likewise.
12728 (Platform): New node.
12729 * manual/platform.texi: New file. Document the new features.
12730
4af3879c
SP
127312012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12732 Jakub Jelinek <jakub@redhat.com>
12733
12734 [BZ #14188]
12735 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12736 where __builtin_expect is unavailable.
12737
2fd6ff13
DM
127382012-06-03 David S. Miller <davem@davemloft.net>
12739
12740 * stdlib/longlong.h: Updated from GCC.
12741
173f7220
AS
127422012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12743
12744 [BZ #14042]
12745 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12746 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12747 __mcount_internal.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12749 (GLIBC_2.16): Likewise.
12750
f34a1c6f
L
127512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12752
12753 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12754
88a4576f
JM
127552012-06-01 Joseph Myers <joseph@codesourcery.com>
12756
ea32bcdd
JM
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12758 (default-abi): New variable.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12760 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12761 variable.
12762 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12763 Likewise.
12764 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12765 Likewise.
12766 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12767 Likewise.
12768
88a4576f
JM
12769 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12770 definition. Document in comment.
12771
402fe938
DM
127722012-06-01 David S. Miller <davem@davemloft.net>
12773
12774 * stdlib/longlong.h: Updated from GCC.
12775
3553723f
L
127762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12777
12778 [BZ #14117]
3bd872c4
L
12779 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12780 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12781 sys/debugreg.h sys/io.h here.
12782 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12783 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12784 sys/io.h.
12785 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12786 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12787 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12788 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12789 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12790 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12791
3553723f
L
12792 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12793 Define only if __x86_64__ is defined.
12794
4842e4fe
JM
127952012-06-01 Joseph Myers <joseph@codesourcery.com>
12796
c5bfe3d5
JM
12797 [BZ #14048]
12798 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12799 Use int64_t for variable i.
12800 * math/libm-test.inc (fmod_test): Add more tests.
12801
4842e4fe
JM
12802 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12803 z computation is not scheduled after fetestexcept.
12804 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12805 Use math_force_eval instead of asm to ensure calculation scheduled
12806 before exception test.
12807 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12808 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12809
efb73488
AJ
128102012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12811
12812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12813 computation is not scheduled after fetestexcept.
12814
29bcce7c
L
128152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12816
12817 [BZ #14117]
12818 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12819 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12820
73a68f94
AZ
128212012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12822
12823 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12824 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12825
67b6df78
L
128262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12827
edf2933a 12828 [BZ #14117]
ebc64a18
L
12829 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12830 <bits/wordsize.h>.
12831 (__WCHAR_MIN): Support __WORDSIZE == 64.
12832 (__WCHAR_MAX): Likewise.
12833
edf2933a
L
12834 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12835 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12836
57c6cf40
L
12837 [BZ #14183]
12838 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12839 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12840
67b6df78 12841 [BZ #14117]
8eb6281e
L
12842 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12843 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12844
aac639f4
L
12845 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12846 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12847
67b6df78
L
12848 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12849 Defined to 1 if __x86_64__ isn't defined.
12850 (_STAT_VER_LINUX_OLD): New.
12851 (st_atime): Remove duplicate.
12852 (st_mtime): Likewise.
12853 (st_ctime): Likewise.
12854
1c2cfe81
DM
128552012-05-31 David S. Miller <davem@davemloft.net>
12856
12857 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12858 entries.
12859
5be8418c
AS
128602012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12861
e7725326
AS
12862 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12863 gen-libm-test.pl.
12864
5be8418c
AS
12865 [BZ #14132]
12866 * elf/dl-reloc.c: Include <_itoa.h>.
12867 (_dl_reloc_bad_type): Remove use of INTUSE.
12868 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12869 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12870 * stdio-common/psiginfo.c (psiginfo): Likewise.
12871 * stdio-common/psignal.c (psignal): Likewise.
12872 * string/strsignal.c (strsignal): Likewise.
12873 * include/signal.h (_sys_siglist): Declare hidden proto.
12874 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12875 INTVARDEF with libc_hidden_data_def.
12876 * stdio-common/itoa-udigits.c: Likewise.
12877 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12878 (_itoa_lower_digits_internal): Remove declaration.
12879 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12880 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12881 (_sys_sigabbrev_internal): Remove aliases.
12882 (_sys_siglist): Define hidden alias.
12883
507352f1
MT
128842012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12885
12886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12887 bits/sysctl.h.
12888
42bbb1c3
L
128892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12890
12891 [BZ #14117]
6bd784b6
L
12892 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12893 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12894
8bca20f0
L
12895 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12896 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12897 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12898 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12899 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12900 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12901
f9e890a9
L
12902 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12903 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12904 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12905
471101a1
L
12906 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12907 with __addr.
12908 (insw): Likewise.
12909 (insl): Likewise.
12910 (outsb): Likewise.
12911 (outsw): Likewise.
12912 (outsl): Likewise.
12913
6451c862
L
12914 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12915 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12916 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12917
a254b8c9
L
12918 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12919 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12920 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12921 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12922 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12923 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12924
b8dfdd92
L
12925 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12926 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12927
578cd270
L
12928 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12929 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12930
de662f5f
L
12931 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12932 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12933 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12934
25653439
L
12935 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12936 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12937 to ...
12938 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12939
6bad24a0
L
12940 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12941 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12942 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12943
42bbb1c3
L
12944 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12945 for x86-64.
12946 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12947
2d10d547
JM
129482012-05-31 Joseph Myers <joseph@codesourcery.com>
12949
12950 * math/math.h (M_El): Use two more decimal places.
12951 (M_LOG2El): Likewise.
12952 (M_LOG10El): Likewise.
12953 (M_LN2l): Likewise.
12954 (M_LN10l): Likewise.
12955 (M_PIl): Likewise.
12956 (M_PI_2l): Likewise.
12957 (M_PI_4l): Likewise.
12958 (M_1_PIl): Likewise.
12959 (M_2_PIl): Likewise.
12960 (M_2_SQRTPIl): Likewise.
12961 (M_SQRT2l): Likewise.
12962 (M_SQRT1_2l): Likewise.
12963
f230c29b
DM
129642012-05-31 David S. Miller <davem@davemloft.net>
12965
12966 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12967 values between float registers.
12968 * sysdeps/sparc/sparc64/memset.S: Likewise.
12969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12970
fed806c3
MF
129712012-05-31 Mike Frysinger <vapier@gentoo.org>
12972
12973 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12974 -D_FORTIFY_SOURCE=1.
12975 (CPPFLAGS-tst-longjmp_chk.c): Define.
12976 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12977 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12978 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12979 CFLAGS-tst-wchar-h.c.
12980
30917259
MP
129812012-05-31 Marek Polacek <polacek@redhat.com>
12982
12983 [BZ #14132]
12984 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12985 __endmntent_internal): Remove declaration.
12986 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12987 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12988 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12989
1c58d5dc
DM
129902012-05-30 David S. Miller <davem@davemloft.net>
12991
12992 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12993 (___Q_simulate_exceptions): Use real FP ops rather than writing
12994 into the %fsr.
12995 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12996 Likewise.
12997
7dc00e0d
L
129982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12999
13000 [BZ #14117]
0bd53985
L
13001 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13002 * sysdeps/x86/bits/xtitypes.h: This.
13003
3a257e66
L
13004 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13005 * sysdeps/x86/bits/wordsize.h: This.
13006
62f62904
L
13007 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13008 * sysdeps/x86/bits/huge_vall.h: This.
13009
404fe9d9
L
13010 * sysdeps/i386/bits/select.h: Removed.
13011 * sysdeps/x86_64/bits/select.h: Renamed to ...
13012 * sysdeps/x86/bits/select.h: This.
13013
d48d0446
L
13014 * sysdeps/i386/bits/setjmp.h: Removed.
13015 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13016 * sysdeps/x86/bits/setjmp.h: This.
13017
7dc00e0d
L
13018 * sysdeps/i386/bits/mathdef.h: Removed.
13019 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13020 * sysdeps/x86/bits/mathdef.h: This.
13021
03277f8f
AS
130222012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13023
13024 [BZ #14132]
13025 * include/sys/socket.h (__connect_internal)
13026 (__libc_sa_len_internal): Remove declaration.
13027 (__connect, __libc_sa_len): Declare hidden_proto.
13028 (SA_LEN): Remove use of INTUSE.
13029 * socket/connect.c: Add libc_hidden_def.
13030 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13031 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13032 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13033 alias.
13034 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13035 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13036 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13037 of adding _internal alias.
13038
13764867
L
130392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13040
13041 [BZ #14117]
6bd97696
L
13042 * sysdeps/i386/bits/link.h: Removed.
13043 * sysdeps/i386/bits/linkmap.h: Likewise.
13044 * sysdeps/x86_64/bits/link.h: Renamed to ...
13045 * sysdeps/x86/bits/link.h: This.
13046 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13047 * sysdeps/x86/bits/linkmap.h: This.
13048
f726f0bb
L
13049 * sysdeps/i386/bits/endian.h: Removed.
13050 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13051 * sysdeps/x86/bits/endian.h: This.
13052
13764867
L
13053 * sysdeps/i386/bits/byteswap.h: Removed.
13054 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13055 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13056 * sysdeps/x86/bits/byteswap.h: This.
13057 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13058 * sysdeps/x86/bits/byteswap-16.h: This.
13059 * sysdeps/i386/Implies: Add x86.
13060 * sysdeps/x86_64/Implies: Likewise.
13061
ae251b0b
DM
130622012-05-30 David S. Miller <davem@davemloft.net>
13063
13064 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13065 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13066 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13067 (FP_TRAPPING_EXCEPTIONS): Define.
13068 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13069 (FP_TRAPPING_EXCEPTIONS): Define.
13070 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13071 subnormals only when inexact has been signalled or underflow
13072 exceptions are enabled.
13073 (_FP_PACK_CANONICAL): Likewise.
13074
d5c90867
L
130752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13076
13077 [BZ #14183]
13078 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13079 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13080
63f1549e
RH
130812012-05-30 Richard Henderson <rth@twiddle.net>
13082
8d8f2279
RH
13083 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13084 with #ifndef NOT_IN_libc.
13085
63f1549e
RH
13086 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13087 marked to avoid plt entry.
13088
0ab0291b
L
130892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13090
13091 [BZ #14112]
13092 * Makeconfig (default-abi): New macro.
13093 (abi-includes): Likewise.
13094 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13095 $(abi-$(default-abi)-lib-soname) for soname if defined.
13096 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13097 abi-variants.
13098 * Makefile (installed-stubs): Likewise.
13099 * include/stubs-biarch.h: Removed.
13100 * scripts/lib-names.awk: Only handle one library at a time.
13101 * scripts/soversions.awk: Remove WORDSIZE support.
13102 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13103 entries.
13104 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13105 Removed.
13106 (syscall-list-default-condition): Likewise.
13107 (syscall-list-default-condition): Likewise.
13108 (syscall-list-includes): Likewise.
13109 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13110 syscall-list-* with abi-*. Handle undefined abi-variants.
13111 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13112 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13113 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13114 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13115 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13116 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13117 Removed.
13118 (syscall-list-32-options): Likewise.
13119 (syscall-list-32-condition): Likewise.
13120 (syscall-list-64-options): Likewise.
13121 (syscall-list-64-condition): Likewise.
13122 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13123 macro.
13124 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13125 Renamed to ...
13126 (abi-*): This.
13127 (abi-64-ld-soname): New macro.
13128 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13129 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13130 Renamed to ...
13131 (abi-*): This.
13132 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13133 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13134
4da0431d
JM
131352012-05-30 Joseph Myers <joseph@codesourcery.com>
13136
3a85279c
JM
13137 * sysdeps/unix/sysv/linux/kernel-features.h
13138 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13139 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13140 include <kernel-features.h>.
13141 [!__NR_ftruncate64]: Remove conditional code.
13142 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13143 [__NR_ftruncate64]: Make code unconditional.
13144 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13145 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13146 include <kernel-features.h>.
13147 [!__NR_ftruncate64]: Remove conditional code.
13148 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13149 [__NR_ftruncate64]: Make code unconditional.
13150 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13152 include <kernel-features.h>.
13153 [!__NR_ftruncate64]: Remove conditional code.
13154 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13155 [__NR_ftruncate64]: Make code unconditional.
13156 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13158 include <kernel-features.h>.
13159 [!__NR_ftruncate64]: Remove conditional code.
13160 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13161 [__NR_ftruncate64]: Make code unconditional.
13162 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13163
4da0431d
JM
13164 * configure.in (libc_cv_fpie): Weaken to a compile test using
13165 LIBC_TRY_CC_OPTION.
13166 * configure: Regenerated.
13167
11ef492c
AK
131682012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13169
13170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13174 Refreshed.
13175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13181 Refreshed.
13182
d66ef399
DM
131832012-05-27 David S. Miller <davem@davemloft.net>
13184
13185 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13186 (___Q_zero): New.
13187 (__Q_simulate_exceptions): Return void. Change to simulate
13188 exceptions by writing into the %fsr.
13189 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13190 (__Qp_handle_exceptions): Likewise.
13191 (numbers): Delete.
13192 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13193 __Qp_handle_exceptions.
13194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13195 __Qp_handle_exceptions.
13196 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13197 as unused and give dummy FP_RND_NEAREST initializer.
13198 (FP_INHIBIT_RESULTS): Define.
13199 (___Q_simulate_exceptions): Update declaration.
13200 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13201 formatting.
13202 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13203 as unused and give dummy FP_RND_NEAREST initializer.
13204 (__Qp_handle_exceptions): Update declaration.
13205 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13206 formatting.
13207
04fb54b5
TS
132082012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13209
13210 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13211 the temporary FPU control word.
13212 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13213 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13214 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13215 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13216 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13217 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13218 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13219 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13220 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13221 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13222 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13223
3f99608f
KK
132242012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13225
13226 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13227 fields.
13228
65a4de4e
CLT
132292012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13230
13231 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13232 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13233 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13234 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13235 Likewise.
13236 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13237 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13238 Likewise.
13239
15749d40
UD
132402012-05-27 Ulrich Drepper <drepper@gmail.com>
13241
13242 * po/h.po: Update from translation team.
13243
25dbcb27
AS
132442012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13245
3d3f8e55
AS
13246 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13247
25dbcb27
AS
13248 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13249 handling of denormals.
13250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13251 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13252 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13253 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13256 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13257 Likewise.
13258
7ad47a80 132592012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
13260
13261 [BZ #14152]
13262 * math/libm-test.inc (fma_test): Don't always expect underflow
13263 exception.
13264
9c6ea9fa
SP
132652012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13266
13267 [BZ #12416]
13268 * elf/tst-execstack.c: Include stackinfo.h.
13269 (do_test): Adjust test case to ensure that pthread_getattr_np
13270 behaviour remains the same after marking stack executable.
13271
a8239222
JM
132722012-05-25 Joseph Myers <joseph@codesourcery.com>
13273
13274 * sysdeps/unix/sysv/linux/kernel-features.h
13275 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13276 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13277 kernel-features.h.
13278 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13279 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13280 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13281 kernel-features.h.
13282 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13283 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13284
918b5606
L
132852012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13286
13287 * configure.in: Define the default includes to being none.
13288 * configure: Regenerated.
13289
3a097cc7
RM
132902012-05-25 Roland McGrath <roland@hack.frob.com>
13291
8422c9a5
RM
13292 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13293 * sysdeps/x86_64/setjmp.S: Likewise.
13294 * sysdeps/i386/bsd-setjmp.S: Likewise.
13295 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13296 * sysdeps/i386/setjmp.S: Likewise.
13297 * sysdeps/i386/__longjmp.S: Likewise.
13298 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13299 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13300
3a097cc7
RM
13301 * include/stap-probe.h: New file.
13302 * configure.in: Handle --enable-systemtap.
13303 * configure: Regenerated.
13304 * config.h.in (USE_STAP_PROBE): New #undef.
13305 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13306 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13307 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13308
21708942
JM
133092012-05-25 Joseph Myers <joseph@codesourcery.com>
13310
13311 [BZ #13717]
13312 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13313 to 2.4.0 where earlier.
13314 * sysdeps/unix/sysv/linux/configure: Regenerated.
13315 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13316 <kernel-features.h>.
13317 [__ASSUME_32BITUIDS]: Make code unconditional.
13318 [!__ASSUME_32BITUIDS]: Remove conditional code.
13319 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13320 <kernel-features.h>.
13321 [__ASSUME_32BITUIDS]: Make code unconditional.
13322 [!__ASSUME_32BITUIDS]: Remove conditional code.
13323 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13324 [__ASSUME_32BITUIDS]: Make code unconditional.
13325 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13326 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13327 <kernel-features.h>.
13328 [__ASSUME_32BITUIDS]: Make code unconditional.
13329 [!__ASSUME_32BITUIDS]: Remove conditional code.
13330 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13331 <kernel-features.h>.
13332 [__ASSUME_32BITUIDS]: Make code unconditional.
13333 [!__ASSUME_32BITUIDS]: Remove conditional code.
13334 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13335 <kernel-features.h>.
13336 [__ASSUME_32BITUIDS]: Make code unconditional.
13337 [!__ASSUME_32BITUIDS]: Remove conditional code.
13338 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13339 <kernel-features.h>.
13340 [__ASSUME_32BITUIDS]: Make code unconditional.
13341 [!__ASSUME_32BITUIDS]: Remove conditional code.
13342 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13343 <kernel-features.h>.
13344 [__ASSUME_32BITUIDS]: Make code unconditional.
13345 [!__ASSUME_32BITUIDS]: Remove conditional code.
13346 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13347 <kernel-features.h>.
13348 [__ASSUME_32BITUIDS]: Make code unconditional.
13349 [!__ASSUME_32BITUIDS]: Remove conditional code.
13350 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13351 <kernel-features.h>.
13352 [__ASSUME_32BITUIDS]: Make code unconditional.
13353 [!__ASSUME_32BITUIDS]: Remove conditional code.
13354 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13355 <kernel-features.h>.
13356 [__ASSUME_32BITUIDS]: Make code unconditional.
13357 [!__ASSUME_32BITUIDS]: Remove conditional code.
13358 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13359 <kernel-features.h>.
13360 [__ASSUME_32BITUIDS]: Make code unconditional.
13361 [!__ASSUME_32BITUIDS]: Remove conditional code.
13362 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13363 <kernel-features.h>.
13364 [__ASSUME_32BITUIDS]: Make code unconditional.
13365 [!__ASSUME_32BITUIDS]: Remove conditional code.
13366 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13367 <kernel-features.h>.
13368 [__NR_setresgid] (__setresgid): Do not declare.
13369 [__ASSUME_32BITUIDS]: Make code unconditional.
13370 [!__ASSUME_32BITUIDS]: Remove conditional code.
13371 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13372 <kernel-features.h>.
13373 [__NR_setresuid] (__setresuid): Do not declare.
13374 [__ASSUME_32BITUIDS]: Make code unconditional.
13375 [!__ASSUME_32BITUIDS]: Remove conditional code.
13376 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13377 <kernel-features.h>.
13378 [__ASSUME_32BITUIDS]: Make code unconditional.
13379 [!__ASSUME_32BITUIDS]: Remove conditional code.
13380 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13381 <kernel-features.h>.
13382 [__ASSUME_32BITUIDS]: Make code unconditional.
13383 [!__ASSUME_32BITUIDS]: Remove conditional code.
13384 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13385 <kernel-features.h>.
13386 [__ASSUME_32BITUIDS]: Make code unconditional.
13387 [!__ASSUME_32BITUIDS]: Remove conditional code.
13388 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13389 <kernel-features.h>.
13390 [__ASSUME_32BITUIDS]: Make code unconditional.
13391 [!__ASSUME_32BITUIDS]: Remove conditional code.
13392 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13393 <kernel-features.h>.
13394 [__ASSUME_32BITUIDS]: Make code unconditional.
13395 [!__ASSUME_32BITUIDS]: Remove conditional code.
13396 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13397 <kernel-features.h>.
13398 [__ASSUME_32BITUIDS]: Make code unconditional.
13399 [!__ASSUME_32BITUIDS]: Remove conditional code.
13400 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13401 <kernel-features.h>.
13402 [__ASSUME_32BITUIDS]: Make code unconditional.
13403 [!__ASSUME_32BITUIDS]: Remove conditional code.
13404 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13405 <kernel-features.h>.
13406 [__ASSUME_32BITUIDS]: Make code unconditional.
13407 [!__ASSUME_32BITUIDS]: Remove conditional code.
13408 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13409 <kernel-features.h>.
13410 [__ASSUME_32BITUIDS]: Make code unconditional.
13411 [!__ASSUME_32BITUIDS]: Remove conditional code.
13412 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13413 <kernel-features.h>.
13414 [__ASSUME_32BITUIDS]: Make code unconditional.
13415 [!__ASSUME_32BITUIDS]: Remove conditional code.
13416 * sysdeps/unix/sysv/linux/kernel-features.h
13417 (__ASSUME_SETRESUID_SYSCALL): Remove.
13418 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13419 (__ASSUME_32BITUIDS): Likewise.
13420 (__ASSUME_LDT_WORKS): Likewise.
13421 (__ASSUME_O_DIRECTORY): Likewise.
13422 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13423 architecture but not kernel version.
13424 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13425 (__ASSUME_MMAP2_SYSCALL): Likewise.
13426 (__ASSUME_STAT64_SYSCALL): Likewise.
13427 (__ASSUME_IPC64): Likewise.
13428 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13429 <kernel-features.h>.
13430 [__ASSUME_32BITUIDS]: Make code unconditional.
13431 [!__ASSUME_32BITUIDS]: Remove conditional code.
13432 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13433 <kernel-features.h>.
13434 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13435 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13436 132096]: Remove conditional code.
13437 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13438 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13439 <kernel-features.h>.
13440 [__ASSUME_32BITUIDS]: Make code unconditional.
13441 [!__ASSUME_32BITUIDS]: Remove conditional code.
13442 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13443 <kernel-features.h>.
13444 [__ASSUME_32BITUIDS]: Make code unconditional.
13445 [!__ASSUME_32BITUIDS]: Remove conditional code.
13446 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13447 <kernel-features.h>.
13448 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13449 unconditional.
13450 (__setresgid): Do not declare.
13451 [__ASSUME_32BITUIDS]: Make code unconditional.
13452 [!__ASSUME_32BITUIDS]: Remove conditional code.
13453 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13454 <kernel-features.h>.
13455 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13456 unconditional.
13457 (__setresuid): Do not declare.
13458 [__ASSUME_32BITUIDS]: Make code unconditional.
13459 [!__ASSUME_32BITUIDS]: Remove conditional code.
13460 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13461 <kernel-features.h>.
13462 [__ASSUME_32BITUIDS]: Make code unconditional.
13463 [!__ASSUME_32BITUIDS]: Remove conditional code.
13464 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13465 <kernel-features.h>.
13466 [__ASSUME_32BITUIDS]: Make code unconditional.
13467 [!__ASSUME_32BITUIDS]: Remove conditional code.
13468
a386f1cc
RH
134692012-05-25 Richard Henderson <rth@twiddle.net>
13470
13471 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13472 dl_hwcap to ifunc resolver.
13473 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13474 elf_ifunc_invoke.
13475 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13476 dl_hwcap to ifunc resolver.
13477 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13478
b6550497
JM
134792012-05-24 Joseph Myers <joseph@codesourcery.com>
13480
13481 [BZ #14153]
13482 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13483 for |x| <= 2**-26, not 2**-57.
13484 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13485 exception.
13486
b0bc23a1
JL
134872012-05-24 Jeff Law <law@redhat.com>
13488
13489 * stdio-common/Makefile (tests): Add bug25.
13490 * stdio-common/bug25.c: New test.
13491
347c92e9
L
134922012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13493
13494 [BZ #13576]
13495 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13496 multiple of MALLOC_ALIGNMENT in size.
13497 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13498
6bcc8b3f
JM
134992012-05-24 Joseph Myers <joseph@codesourcery.com>
13500
13501 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13502 Require >= 256.
13503 (FILENAME_MAX): Use macro-int-constant.
13504 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13505 (_IOFBF): Use macro-int-constant.
13506 (_IOLBF): Likewise.
13507 (_IONBF): Likewise.
13508 (SEEK_CUR): Likewise.
13509 (SEEK_END): Likewise.
13510 (SEEK_SET): Likewise.
13511 (TMP_MAX): Likewise.
13512 (EOF): Use macro-int-constant. Require < 0.
13513 (NULL): Use macro-constant. Require == 0.
13514 (stdin): Require type to be FILE *.
13515 (stdout): Likewise.
13516 (stderr): Likewise.
13517 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13518 macro-int-constant.
13519 (EXIT_SUCCESS): Likewise.
13520 (NULL): Use macro-constant. Require == 0.
13521 (RAND_MAX): Use macro-int-constant.
13522 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13523 [C99-based standards] (strtof): Require function.
13524 [C99-based standards] (strtold): Likewise.
13525 [C99-based standards] (strtoll): Likewise.
13526 [C99-based standards] (strtoull): Likewise.
13527 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13528 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13529 [ISO || ISO99 || ISO11] (math.h): Likewise.
13530 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13531 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13532 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13533
d18ea0c5
AS
135342012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13535
13536 [BZ #14132]
56d25bb8
AS
13537 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13538 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13539 * intl/dgettext.c (DCGETTEXT): Likewise.
13540 * intl/gettext.c (DCGETTEXT): Likewise.
13541 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13542 * posix/regex_internal.h (gettext): Likewise.
13543 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13544 Remove declaration.
13545 * include/argz.h (__argz_count_internal)
13546 (__argz_stringify_internal): Remove declaration.
13547 (__argz_count, __argz_stringify): Declare hidden proto.
13548 * intl/dcgettext.c: Remove use of INTDEF.
13549 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13550 * string/argz-stringify.c: Likewise.
13551 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13552 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13553 Declare hidden proto.
d18ea0c5
AS
13554 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13555 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13556 Declare hidden proto.
13557 * include/stdio.h (__asprintf_internal): Don't declare.
13558 (__asprintf): Don't define as macro. Declare hidden proto.
13559 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13560 (__fsetlocking): Declare hidden proto.
13561 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13562 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13563 hidden proto.
13564 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13565 (_IO_setlinebuf): Remove use of INTUSE.
13566 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13567 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13568 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13569 Remove declaration.
13570 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13571 (_IO_do_flush): Remove use of INTUSE.
13572 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13573 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13574 (_IO_adjust_column, _IO_least_wmarker)
13575 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13576 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13577 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13578 (_IO_default_doallocate, _IO_wdefault_doallocate)
13579 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13580 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13581 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13582 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13583 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13584 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13585 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13586 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13587 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13588 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13589 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13590 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13591 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13592 proto.
13593 (_IO_flush_all_internal, _IO_adjust_column_internal)
13594 (_IO_default_uflow_internal, _IO_default_finish_internal)
13595 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13596 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13597 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13598 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13599 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13600 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13601 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13602 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13603 (_IO_file_close_internal, _IO_file_close_it_internal)
13604 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13605 (_IO_file_init_internal, _IO_file_attach_internal)
13606 (_IO_file_fopen_internal, _IO_file_read_internal)
13607 (_IO_file_sync_internal, _IO_file_seek_internal)
13608 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13609 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13610 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13611 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13612 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13613 (_IO_list_all_internal, _IO_link_in_internal)
13614 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13615 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13616 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13617 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13618 (_IO_do_write_internal, _IO_padn_internal)
13619 (_IO_getline_info_internal, _IO_getline_internal)
13620 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13621 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13622 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13623 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13624 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13625 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13626 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13627 with libc_hidden_ver, remove use of INTUSE.
13628 * libio/genops.c: Likewise.
13629 * libio/freopen.c: Likewise.
13630 * libio/freopen64.c: Likewise.
13631 * libio/iofclose.c: Likewise.
13632 * libio/iofdopen.c: Likewise.
13633 * libio/iofflush.c: Likewise.
13634 * libio/iofflush_u.c: Likewise.
13635 * libio/iofgets.c: Likewise.
13636 * libio/iofgets_u.c: Likewise.
13637 * libio/iofopen.c: Likewise.
13638 * libio/iofopncook.c: Likewise.
13639 * libio/iofread.c: Likewise.
13640 * libio/iofread_u.c: Likewise.
13641 * libio/ioftell.c: Likewise.
13642 * libio/iofwrite.c: Likewise.
13643 * libio/iogetline.c: Likewise.
13644 * libio/iogets.c: Likewise.
13645 * libio/iogetwline.c: Likewise.
13646 * libio/iopadn.c: Likewise.
13647 * libio/iopopen.c: Likewise.
13648 * libio/ioseekoff.c: Likewise.
13649 * libio/ioseekpos.c: Likewise.
13650 * libio/iosetbuffer.c: Likewise.
13651 * libio/iosetvbuf.c: Likewise.
13652 * libio/ioungetc.c: Likewise.
13653 * libio/ioungetwc.c: Likewise.
13654 * libio/iovdprintf.c: Likewise.
13655 * libio/iovsprintf.c: Likewise.
13656 * libio/iovsscanf.c: Likewise.
13657 * libio/memstream.c: Likewise.
13658 * libio/obprintf.c: Likewise.
13659 * libio/oldfileops.c: Likewise.
13660 * libio/oldiofclose.c: Likewise.
13661 * libio/oldiofdopen.c: Likewise.
13662 * libio/oldiofopen.c: Likewise.
13663 * libio/oldiopopen.c: Likewise.
13664 * libio/oldstdfiles.c: Likewise.
13665 * libio/putc.c: Likewise.
13666 * libio/setbuf.c: Likewise.
13667 * libio/setlinebuf.c: Likewise.
13668 * libio/stdfiles.c: Likewise.
13669 * libio/strops.c: Likewise.
13670 * libio/vasprintf.c: Likewise.
13671 * libio/vscanf.c: Likewise.
13672 * libio/vsnprintf.c: Likewise.
13673 * libio/vswprintf.c: Likewise.
13674 * libio/wfiledoalloc.c: Likewise.
13675 * libio/wfileops.c: Likewise.
13676 * libio/wgenops.c: Likewise.
13677 * libio/wmemstream.c: Likewise.
13678 * libio/wstrops.c: Likewise.
13679 * libio/__fpurge.c: Likewise.
13680 * libio/__fsetlocking.c: Likewise.
13681 * assert/assert.c: Likewise.
13682 * debug/fgets_chk.c: Likewise.
13683 * debug/fgets_u_chk.c: Likewise.
13684 * debug/fread_chk.c: Likewise.
13685 * debug/fread_u_chk.c: Likewise.
13686 * debug/gets_chk.c: Likewise.
13687 * debug/obprintf_chk.c: Likewise.
13688 * debug/vasprintf_chk.c: Likewise.
13689 * debug/vdprintf_chk.c: Likewise.
13690 * debug/vsnprintf_chk.c: Likewise.
13691 * debug/vsprintf_chk.c: Likewise.
13692 * malloc/mtrace.c: Likewise.
13693 * misc/error.c: Likewise.
13694 * misc/syslog.c: Likewise.
13695 * stdio-common/asprintf.c: Likewise.
13696 * stdio-common/fxprintf.c: Likewise.
13697 * stdio-common/getw.c: Likewise.
13698 * stdio-common/isoc99_fscanf.c: Likewise.
13699 * stdio-common/isoc99_scanf.c: Likewise.
13700 * stdio-common/isoc99_vfscanf.c: Likewise.
13701 * stdio-common/isoc99_vscanf.c: Likewise.
13702 * stdio-common/isoc99_vsscanf.c: Likewise.
13703 * stdio-common/printf-prs.c: Likewise.
13704 * stdio-common/printf_fp.c: Likewise.
13705 * stdio-common/printf_fphex.c: Likewise.
13706 * stdio-common/printf_size.c: Likewise.
13707 * stdio-common/putw.c: Likewise.
13708 * stdio-common/scanf.c: Likewise.
13709 * stdio-common/sprintf.c: Likewise.
13710 * stdio-common/tmpfile.c: Likewise.
13711 * stdio-common/vfprintf.c: Likewise.
13712 * stdio-common/vfscanf.c: Likewise.
13713 * stdlib/strfmon_l.c: Likewise.
13714 * sunrpc/openchild.c: Likewise.
13715 * sunrpc/xdr_stdio.c: Likewise.
13716 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13717 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13718
d6c33fda
RM
137192012-05-24 Roland McGrath <roland@hack.frob.com>
13720
c1487492
RM
13721 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13722
13723 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13724 in the third column, to generate for the shared library an IFUNC
13725 that uses _dl_vdso_vsym.
13726 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13727 * Makeconfig (object-suffixes-noshared): New variable.
13728
13729 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13730 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13731 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13732 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13733
d6c33fda
RM
13734 [BZ #14132]
13735 * include/sys/time.h (__gettimeofday): Remove macro.
13736 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13737 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13738 Remove INTDEF.
13739 (__gettimeofday): Add libc_hidden_def.
13740 (gettimeofday): Add libc_hidden_weak.
13741 * sysdeps/mach/gettimeofday.c: Likewise.
13742 * sysdeps/posix/gettimeofday.c: Likewise.
13743 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13744 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13745 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13746 (__gettimeofday_internal): Remove strong_alias.
13747 (__gettimeofday): Add libc_hidden_def.
13748 (gettimeofday): Add libc_hidden_weak.
13749 * sysdeps/unix/syscalls.list (gettimeofday):
13750 Remove __gettimeofday_internal alias.
13751
b5a2bbe6
L
137522012-05-24 Daniel Jacobowitz <drow@false.org>
13753 H.J. Lu <hongjiu.lu@intel.com>
13754
13755 [BZ #12495]
13756 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13757 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13758 (largebin_index_32_big): New.
13759 (largebin_index): Use it for 16-byte alignment.
13760 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13761 correction with front_misalign.
13762
cfba4fda
L
137632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13764
7f907421
L
13765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13767 Likewise.
13768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13769 Likewise.
13770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13771 Likewise.
13772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13773 Likewise.
13774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13775 Likewise.
13776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13777 Likewise.
13778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13779 Likewise.
13780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13781 Likewise.
13782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13783 Likewise.
13784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13785 Likewise.
13786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13787 Likewise.
13788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13789 Likewise.
13790
cfba4fda
L
13791 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13792 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13793
80bad0cc
JM
137942012-05-24 Joseph Myers <joseph@codesourcery.com>
13795
7a25eb06
JM
13796 [BZ #10846]
13797 [BZ #14036]
13798 * math/libm-test.inc (exp_test): Add test from bug 14036.
13799 (pow_test): Add test from bug 10846.
13800
795405f9
JM
13801 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13802 and other flags.
13803 (special_function): Do not include flags in test name.
13804 (parse_args): Likewise.
13805 * sysdeps/i386/fpu/libm-test-ulps: Update.
13806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13807 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13808 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13810
80bad0cc
JM
13811 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13812 exceptions.
13813 * math/libm-test.inc ("Philosophy"): Update comment about
13814 exception testing.
13815 (UNDERFLOW_EXCEPTION): New macro.
13816 (UNDERFLOW_EXCEPTION_OK): Likewise.
13817 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13818 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13819 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13820 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13821 (INVALID_EXCEPTION_OK): Update value.
13822 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13823 (OVERFLOW_EXCEPTION_OK): Likewise.
13824 (IGNORE_ZERO_INF_SIGN): Likewise.
13825 (test_exceptions): Handle underflow exceptions.
13826 (acos_test): Update for underflow exception expectations.
13827 (cexp_test): Likewise.
13828 (clog_test): Likewise.
13829 (clog10_test): Likewise.
13830 (csqrt_test): Likewise.
13831 (ctan_test): Likewise.
13832 (ctanh_test): Likewise.
13833 (exp_test): Likewise.
13834 (exp10_test): Likewise.
13835 (exp2_test): Likewise.
13836 (expm1_test): Likewise.
13837 (fma_test): Likewise.
13838 (j0_test): Likewise.
13839 (jn_test): Likewise.
13840 (nexttoward_test): Likewise.
13841 (pow_test): Likewise.
13842 (scalbn_test): Likewise.
13843 (scalbln_test): Likewise.
13844 (tan_test): Likewise.
13845 (y1_test): Likewise.
13846 * sysdeps/i386/fpu/libm-test-ulps: Update.
13847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13848
9e0e3d0b
DM
138492012-05-23 David S. Miller <davem@davemloft.net>
13850
13851 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13852 (__libc_sigaction): Remove unused local variables.
13853
ccd0a08f
L
138542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13855
13856 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13857
62bdf9a6
PE
138582012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13859
f8591f80
PE
13860 mktime: avoid signed integer overflow
13861 * time/mktime.c (__mktime_internal): Do not mishandle the case
13862 where diff == INT_MIN.
13863
94c7d826
PE
13864 mktime: simplify computation of average
13865 * time/mktime.c (ranged_convert): Use new time_t_avg function
13866 instead of rolling our own (probably-slower) code.
13867
ce73d683
PE
13868 mktime: do not assume signed right shift propagates sign bit
13869 * time/mktime.c (isdst_differ): New static function.
13870 (__mktime_internal): No need to normalize tm_isdst now.
13871 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13872 tm_isdst values.
13873
72a22e59
PE
13874 mktime: merge another wrapv change from gnulib
13875 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13876 from some compilers.
13877
68605433
PE
13878 mktime: remove incorrect attempt at unusual arithmetics
13879 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13880 The code didn't really work on such machines anyway.
13881 (TYPE_MINIMUM): Assume two's complement.
13882 (twos_complement_arithmetic): Verify that long_int and time_t
13883 are two's complement (or unsigned, in the latter case).
13884
03cf7fe3
PE
13885 mktime: check signed shifts on long_int and time_t, too
13886 * time/mktime.c (SHR): Check that shifts work as desired
13887 on the types long_int and time_t too, as SHR is used on
13888 such types.
13889
f04dfbc2
PE
13890 mktime: do not assume 'long' is wide enough
13891 * time/mktime.c (verify): Move decl up.
13892 (long_int): New type.
13893 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13894 to remove assumption in the code that 'long' is wide enough to
13895 store year values. This assumption is not true on x32 and on
13896 some non-glibc platforms.
13897
62bdf9a6
PE
13898 mktime: merge wrapv change from gnulib
13899 * time/mktime.c (WRAPV): New macro.
13900 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13901 (guess_time_tm, __mktime_internal): Do not assume that signed
13902 integer overflow wraps around; modern compilers generate code
13903 where this assumption is no longer valid.
13904
5e292e4f
L
139052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13906
13907 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13908 Replace "jmp L(pseudo_end)" with "ret".
13909 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13910 Likewise.
13911
8caf8c87
AJ
139122012-05-23 Andreas Jaeger <aj@suse.de>
13913
13914 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13915 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13916
1a09dc56
AJ
139172012-05-23 Andreas Jaeger <aj@suse.de>
13918 Maximilian Attems <max@stro.at>
13919
13920 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13921 New macros.
13922
1c87aba0
L
139232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13924
13925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13926 code so that pseudo_end is just ret and the stack pointer is
13927 correct also for static library in error case.
13928
40e45bd5
JM
139292012-05-23 Joseph Myers <joseph@codesourcery.com>
13930
c2670533
JM
13931 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13932 move to syscalls.list.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13937
40e45bd5
JM
13938 * manual/install.texi (Running make install): Do not mention Linux
13939 kernel version for which pt_chown is not needed.
13940 (Linux): Do not mention problems with nscd with 2.0 kernels.
13941 * INSTALL: Regenerated.
13942
be08eda5
AJ
139432012-05-23 Andreas Jaeger <aj@suse.de>
13944
13945 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13946 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13947 macro.
13948 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13950 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13951 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13952 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13953 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13954 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13955 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13956 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13957 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13958 * sysdeps/unix/sysv/linux/bits/in.h
13959 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13960
a6a056bb
RM
139612012-05-22 Roland McGrath <roland@hack.frob.com>
13962
13963 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13964 (PREPARE_VERSION): Just use assert instead, it will be elided
13965 under [NDEBUG] anyway.
13966
c9009328
L
139672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 * sysdeps/unix/sysv/linux/Makefile: Include
13970 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13971 (sysdep_routines): Remove sysctl.
c9009328
L
13972 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13973 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13974 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13975 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13976 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13977
73338355
AJ
139782012-05-22 Andreas Jaeger <aj@suse.de>
13979
13980 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13981 that pseudo_end is just ret and the stack pointer is correct also
13982 for static library in error case.
13983
d44638b0
PP
139842012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13985
13986 [BZ #14122]
13987 * nss/nsswitch.c (defconfig_entries): New variable.
13988 (__nss_database_lookup): Don't leak defconfig entries.
13989 (nss_parse_service_list): Don't leak on error paths.
13990 (free_database_entries): New function.
13991 (free_defconfig): New function.
13992 (free_mem): Move common code to free_database_entries.
13993
31a39bd8
L
139942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13995
da0331a8
L
13996 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13997 Add arch_prctl.
13998 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13999
31a39bd8
L
14000 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14001 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14003 New macro.
14004 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14005 (INTERNAL_SYSCALL_TYPES): Likewise.
14006 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14007 (LOAD_REGS_TYPES_[1-6]): Likewise.
14008 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14009 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14010
45470df3
AZ
140112012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14012
14013 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14014 copysignl for GLIBC_2_0.
14015 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14016 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14018 logbl for GLIBC_2_0.
14019 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14020 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14021
98a61bcb
L
140222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14023
a4f6e481
L
14024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14025 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14026
f63d5db6
L
14027 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14028 Use "neg %eax".
14029
98a61bcb
L
14030 * time/mktime.c: Update copyright years.
14031
95770f14
PE
140322012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14033
6226efbd
PE
14034 mktime: merge comment-quoting-style change from gnulib
14035 * time/mktime.c: Quote 'like this' in comments.
14036 The GNU coding standards suggest that we no longer quote `like this',
14037 as "`" and "'" are typically rendered asymmetrically nowadays.
14038 The typical gnulib style is to quote 'like this' when quoting
14039 code, and "like this" when quoting English.
14040
b99e4f78
PE
14041 * time/mktime.c (compile-command): Add "-I.".
14042
643e01e6
PE
14043 mktime: merge mktime-internal.h change from gnulib
14044 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14045
2554247d
PE
14046 mktime: merge time_r change from gnulib
14047 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14048
826dd0ab
PE
14049 mktime: merge DEBUG change from gnulib
14050 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14051 case system <time.h> has a #define.
14052
bd83aabe
PE
14053 mktime: merge <sys/types.h> change from gnulib
14054 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14055 since <time.t> is now guaranteed to define time_t.
14056
95770f14
PE
14057 mktime: merge HAVE_CONFIG_H change from gnulib
14058 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14059
5e1a27a9
L
140602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14061
0e44a77e
L
14062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14063 Use "neg %eax".
14064
5e1a27a9
L
14065 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14066 __rlim_t cast.
14067 (struct rusage): Use anonymous union to pad each field to
14068 __syscall_slong_t.
14069
46259bec
DM
140702012-05-21 David S. Miller <davem@davemloft.net>
14071
14072 * Makefules (o-iterator): Remove .s cases.
14073 (compile-command.s): Delete.
14074 (COMPILE.s): Delete.
14075 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14076
59f0c22e
JM
140772012-05-21 Joseph Myers <joseph@codesourcery.com>
14078
14079 * configure.in (libc_cv_predef_stack_protector): Only consider
14080 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14081 * configure: Regenerated.
14082
20c07380
L
140832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14084
bbb3154b
L
14085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14086 New macro. Use R*LP on int and pointer.
14087 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14088 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14089 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14090 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14091
20c07380
L
14092 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14093 [__WORDSIZE_TIME64_COMPAT32] instead of
14094 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14095 (struct utmp): Likewise.
14096 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14097 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14098 Renamed to ...
14099 (__WORDSIZE_TIME64_COMPAT32): This.
14100 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14101 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14102 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14103 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14104 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14105 (__WORDSIZE_TIME64_COMPAT32): New macro.
14106
d8d1017e
AJ
141072012-05-21 Andreas Jaeger <aj@suse.de>
14108
14109 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14110 only if [SHARED]. Add prototype for __wcschr_ia32.
14111
6c7fb145
RM
141122012-05-21 Roland McGrath <roland@hack.frob.com>
14113
14114 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14115 of %rbp unmolested in the jmp_buf while mangling the low bits.
14116 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14117 unmolested high bits of %rbp while demangling the low bits.
14118 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14119
66274218
AJ
141202012-05-21 Andreas Jaeger <aj@suse.de>
14121
07c58f8f
AJ
14122 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14123 * sunrpc/svc_simple.c: Use it for registerrpc.
14124 * sunrpc/xcrypt.c: Use it for passwd2des.
14125
66274218
AJ
14126 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14127
61f65140
L
141282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14129
14130 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14131 Don't define if [__SYSCALL_WORDSIZE != 32].
14132 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14133 New macro.
14134
5fefb436
AJ
141352012-05-21 Bruno Haible <bruno@clisp.org>
14136 Andreas Jaeger <aj@suse.de>
14137
14138 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14139 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14140 inptr and inend for must_buffer_ch.
14141 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14142 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14143 * stdio-common/Makefile (tests): Remove bug15.
14144 (bug15-ENV): Remove macro.
14145 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14146 anymore.
14147
d8e272ab
AJ
141482012-05-19 Andreas Jaeger <aj@suse.de>
14149 Roland McGrath <roland@hack.frob.com>
14150
14151 * manual/contrib.texi: Completely rewritten. It contains now an
14152 alphabetical list of contributors and their contributions.
14153
4a56a162
RH
141542012-05-21 Richard Henderson <rth@twiddle.net>
14155
14156 * misc/getauxval.c (__getauxval): Use unsigned long int.
14157 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14158 (getauxval): Use unsigned long int.
14159
d024d23c
L
141602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14161
14162 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14163
cbc00a03
RM
141642012-05-21 Roland McGrath <roland@hack.frob.com>
14165
14166 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14167 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14168 __alignof__ (long double).
14169
478143fa
AZ
141702012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14171
14172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14173
c7683a6d
RH
141742012-05-20 Richard Henderson <rth@twiddle.net>
14175
14176 * misc/getauxval.c: New file.
14177 * misc/sys/auxv.h: New file.
14178 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14179 (routines): Add getauxval.
14180 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14181 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14182 * elf/dl-sysdep.c (_dl_auxv): Remove.
14183 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14184 * elf/dl-support.c (_dl_auxv): New variable.
14185 (_dl_aux_init): Initialize it.
14186 * manual/startup.texi (Auxiliary Vector): New node.
14187 * sysdeps/generic/bits/hwcap.h: New file.
14188 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14189 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14190 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14191 * sysdeps/sparc/sysdep.h: ... here. Include it.
14192 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14193 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14195 Update.
c7683a6d
RH
14196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14199 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14204
a6f1845d
AZ
142052012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14206
14207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14208
cbcbe830
DM
142092012-05-19 David S. Miller <davem@davemloft.net>
14210
14211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14212
e0b16cc2
JM
142132012-05-19 Joseph Myers <joseph@codesourcery.com>
14214
14215 [BZ #14123]
14216 * math/s_ccosh.c: Include <float.h>
14217 (__ccosh): Avoid internal overflow calculating sinh and cosh
14218 values before multiplying by sin and cos values.
14219 * math/s_ccoshf.c: Likewise.
14220 * math/s_ccoshl.c: Likewise.
14221 * math/s_csin.c: Likewise.
14222 * math/s_csinf.c: Likewise.
14223 * math/s_csinl.c: Likewise.
14224 * math/s_csinh.c: Likewise.
14225 * math/s_csinhf.c: Likewise.
14226 * math/s_csinhl.c: Likewise.
14227 * math/libm-test.inc (ccos_test): Add more tests.
14228 (ccosh_test): Likewise.
14229 (csin_test): Likewise.
14230 (csinh_test): Likewise.
14231 * sysdeps/i386/fpu/libm-test-ulps: Update.
14232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14233
6ad13e08
L
142342012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14235
f66f0ce8
L
14236 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14237 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14238
6ad13e08
L
14239 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14240
b1d072a7
JM
142412012-05-19 Joseph Myers <joseph@codesourcery.com>
14242
14243 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14244 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14245 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14246 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14247 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14248 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14249 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14250 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14251 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14252 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14253 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14254 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14255 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14256 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14257 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14258 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14259 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14260 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14261 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14262 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14263 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14264 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14265 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14266 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14267 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14268 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14269 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14270 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14271 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14272 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14273 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14274
9eae47cb
AJ
142752012-05-18 Andreas Jaeger <aj@suse.de>
14276
14277 * csu/.gitignore: Delete.
14278
bb07f69f
L
142792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14280
14281 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14282 (timex): Use __syscall_slong_t.
14283
e6bdb741
AJ
142842012-05-18 Andreas Jaeger <aj@suse.de>
14285 Carlos O'Donell <carlos_odonell@mentor.com>
14286
14287 * manual/install.texi (Configuring and compiling): Update
14288 description about files modified in the source directory.
d6c33fda 14289 * INSTALL: Regenerated.
e6bdb741 14290
1b74487e
L
142912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14292
14293 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14294 value. Use "or" to set return value to -1.
14295 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14296 negate return value.
14297
a88b64b9
TMQMF
142982012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14299
14300 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14301 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14302 failure if the compiler has Graphite support disabled.
14303 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14304 Likewise.
14305 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14306 CFLAGS-memmove.c): Likewise.
14307 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14308 Likewise.
14309
3707636e
L
143102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14311
610b8622
L
14312 * sysdeps/x86_64/x32/_itoa.h: New file.
14313
7cd195df
L
14314 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14315 getdents system call only if kernel and user dirents have the
14316 same d_ino and d_off.
14317
94b07d20
L
14318 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14319 LLONG_MAX != LONG_MAX.
14320 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14321 (_fitoa_word): Likewise.
14322
18298070
L
14323 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14324 years.
14325 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14326 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14327 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14328
553c7ea4
L
14329 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14330 include <bits/wordsize.h>. Check __x86_64__ instead of
14331 __WORDSIZE.
14332 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14333 if __x86_64__ is defined. Use anonymous union on fpstate.
14334
3707636e
L
14335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14336 anonymous union.
14337
b53ef01a
AS
143382012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14339
37fb1dc0
AS
14340 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14341 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14342 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14343 Refer to _rtld_local_ro instead of _rtld_global_ro.
14344 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14345 Likewise.
14346 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14347 Likewise.
14348 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14349 Likewise.
14350 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14351 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14352 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14353
b53ef01a
AS
14354 * sysdeps/powerpc/powerpc32/dl-machine.c
14355 (__elf_machine_runtime_setup) [PROF]: Don't reference
14356 _dl_prof_resolve.
14357
7a185db2
AJ
143582012-05-18 Andreas Jaeger <aj@suse.de>
14359
14360 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14361 function only available for GCCs before 3.4 since GCC 3.4
14362 introduced a builtin.
14363 (lrint): Likewise.
14364 (llrintf): Likewise.
14365 (llrint): Likewise.
14366 (fmaxf): Likewise.
14367 (fmax): Likewise.
14368 (fminf): Likewise.
14369 (fmin): Likewise.
14370 (rint): Likewise.
14371 (rintf): Likewise.
14372 (nearbyint): Likewise.
14373 (nearbyintf): Likewise.
14374 (ceil): Likewise.
14375 (ceilf): Likewise.
14376 (floor): Likewise.
14377 (floorf): Likewise.
14378
3e5aef87
L
143792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14380
428bd707
L
14381 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14382 on both fields and cast pointer to __syscall_ulong_t.
14383
3e5aef87
L
14384 * bits/types.h (__fsword_t): New type.
14385 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14386 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14387 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14388 (__FSWORD_T_TYPE): Likewise.
14389 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14390 (__FSWORD_T_TYPE): Likewise.
14391 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14392 (__FSWORD_T_TYPE): Likewise.
14393 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14394 (__FSWORD_T_TYPE): Likewise.
14395 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14396 __SWORD_TYPE with __fsword_t.
14397 (statfs64): Likewise.
14398
1ba7c3dc
DM
143992012-05-17 David S. Miller <davem@davemloft.net>
14400
14401 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14402
59910343
AJ
144032012-05-17 Andreas Jaeger <aj@suse.de>
14404
14405 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14406 warning.
14407
2e4c1e9e
L
144082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14409
14410 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14411
de7f5ce7
AJ
144122012-05-17 Andreas Jaeger <aj@suse.de>
14413
14414 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14415 when it is used.
14416
286abc3d
CM
144172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14418
14419 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14420
477cc68e
L
144212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14422
14423 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14424 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14425
1a0994f5
CD
144262012-05-17 Andreas Jaeger <aj@suse.de>
14427 Carlos O'Donell <carlos_odonell@mentor.com>
14428
14429 [BZ #14059]
14430 * sysdeps/x86_64/multiarch/init-arch.h
14431 (bit_YMM_Usable): Rename to...
14432 (bit_AVX_Usable): ... this.
14433 (bit_FMA4_Usable): New macro.
14434 (bit_XMM_state): New macro.
14435 (bit_YMM_state): New macro.
14436 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14437 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14438 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14439 (CPUID_OSXSAVE): New macro.
14440 (CPUID_AVX): New macro.
14441 (CPUID_FMA4): New macro.
14442 (index_YMM_Usable): Rename to...
14443 (index_AVX_Usable): ... this.
14444 (HAS_AVX): Use HAS_ARCH_FEATURE.
14445 (HAS_FMA4): Likewise.
14446 (HAS_YMM_USABLE): Remove.
14447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14448 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14449 are present.
14450 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14451 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14452 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14453 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14454 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14455
0af797de
CM
144562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14457
14458 * math/libm-test.c: Support platforms without multiple rounding modes.
14459 * math/bug-nextafter.c: Support platforms without FP exceptions.
14460 * math/bug-nexttoward.c: Likewise.
14461 * math/test-fenv.c: Likewise.
14462 * math/test-misc.c: Likewise.
14463 * stdlib/bug-getcontext.c: Likewise.
14464
e39745ff
AJ
144652012-05-17 Andreas Jaeger <aj@suse.de>
14466
14467 * manual/examples/search.c (critter_cmp): Change signature to
14468 avoid warnings.
14469 * manual/string.texi (Collation Functions): Likewise.
14470
48970aba
L
144712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14472
14473 * bits/types.h: Fold copyright years.
14474 * bits/typesizes.h: Likewise.
14475 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14476 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14477 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14479 * time/time.h: Likewise.
14480
bedee953
PP
144812012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14482
14483 [BZ #208]
14484 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14485 in instead of returning them. Return void.
14486 (__libc_mallinfo): Accumulate over all arenas.
14487 (__malloc_stats): Adjust for change in int_mallinfo interface.
14488
61653dfb
RM
144892012-05-16 Roland McGrath <roland@hack.frob.com>
14490
30b99d79
RM
14491 [BZ #10375]
14492 * configure.in (NM): Add AC_CHECK_TOOL for it.
14493 (libc_extra_cflags): New substituted variable.
14494 Check for -fstack-protector being used implicitly.
14495 * configure: Regenerated.
14496 * config.make.in (config-extra-cflags): New variable,
14497 gets @libc_extra_cflags@.
14498 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14499
61653dfb
RM
14500 [BZ #10375]
14501 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14502 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14503 * configure: Regenerated.
14504 * config.make.in (CPPUNDEFS): New substituted variable.
14505 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14506 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14507 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14508
661768bb
L
145092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14510
14511 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14512 (mq_attr): Use __syscall_slong_t.
14513
d4261567
L
145142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14515
14516 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14517 Check __x86_64__ instead of __WORDSIZE.
14518 (_STAT_VER_LINUX): Likewise.
14519 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14520 __syscall_ulong_t and __syscall_slong_t.
14521 (stat64): Likewise.
14522
cf3ff365
L
145232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14524
14525 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14526
76cf3e4d
L
145272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14528
14529 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14530
a637753a
L
145312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14532
14533 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14534 __syscall_ulong_t.
14535
d5e05119
L
14536 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14537 include <bits/wordsize.h>. Check __x86_64__ instead of
14538 __WORDSIZE.
14539 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14540 defined.
14541 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14542
f62ee380
L
14543 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14544 include <bits/wordsize.h>. Check __x86_64__ instead of
14545 __WORDSIZE.
14546 (user_regs_struct): Use "__extension__ unsigned long long"
14547 instead of "unsigned long" if __x86_64__ is defined.
14548 (user): Likewise. Pad after pointer field if __ILP32__ is
14549 defined.
14550
4e124ced
JM
145512012-05-16 Joseph Myers <joseph@codesourcery.com>
14552
6a3951a0
JM
14553 * configure.in (makeinfo): Require version 4.5 or later. Allow
14554 versions 5 to 9.
14555 * configure: Regenerated.
14556 * manual/install.texi (texinfo): Increase version requirement to
14557 4.5 or later.
14558 * INSTALL: Regenerated.
14559
4e124ced
JM
14560 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14561
953ca31a
L
145622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14563
14564 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14565
617aca05
L
14566 * sysdeps/x86_64/x32/ffs.c: New file.
14567
5762f7ae
L
14568 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14569 __syscall_ulong_t.
14570 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14571 defined. Use __syscall_ulong_t.
14572 (shminfo): Use __syscall_ulong_t.
14573 (shm_info): Likewise.
14574
a26b6856
L
14575 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14576 __syscall_ulong_t.
14577
cb2b9ef7
L
14578 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14579 <bits/wordsize.h>.
14580 (msgqnum_t): Use __syscall_ulong_t.
14581 (msglen_t): Likewise.
14582 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14583 __syscall_ulong_t.
14584
34683bb0
L
14585 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14586 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14587
84a68786
L
14588 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14589
48baa5f1
L
14590 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14591 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14592
180be88b
L
14593 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14594 __syscall_slong_t.
14595
5e90c8ad
L
14596 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14597 include <bits/wordsize.h>. Check __x86_64__ instead of
14598 __WORDSIZE.
14599
23dfb58b
L
14600 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14601 "unsigned long long int" if __x86_64__ is defined.
14602 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14603
ce5d54b0
L
14604 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14605 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14606 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14607
13dc9eac
L
14608 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14609 <stdint.h>.
14610 (GET_PC): Cast to uintptr_t first.
14611 (GET_FRAME): Likewise.
14612 (GET_STACK): Likewise.
14613
a7895d15
L
14614 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14615 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14616 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14617 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14618 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14619 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14620 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14621 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14622 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14623 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14624 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14625 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14626 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14627 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14629 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14630 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14639 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14641 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14642 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14643
656416c9
AS
146442012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14645
5bd66283
AS
14646 * Makerules (+depfiles): Also collect depfiles from .oS in
14647 $(extra-objs).
14648 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14649 .oS, $(libnldbl-routines)).
14650
656416c9
AS
14651 * Makerules (native-compile-mkdep-flags): Define.
14652 * sunrpc/Makefile (extra-objs): Add $(addprefix
14653 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14654 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14655 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14656 calling $(make-target-directory).
14657
a46f2169
L
146582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14659
14660 * bits/types.h (__snseconds_t): Removed.
14661 * time/time.h (struct timespec): Replace __snseconds_t with
14662 __syscall_slong_t.
14663 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14664 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14665 Likewise.
14666 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14667 (__SNSECONDS_T_TYPE): Likewise.
14668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14669 (__SNSECONDS_T_TYPE): Likewise.
14670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14671 (__SNSECONDS_T_TYPE): Likewise.
14672
6af6528b
L
146732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14674
14675 * sysdeps/mach/hurd/bits/typesizes.h
14676 (__SYSCALL_SLONG_TYPE): New macro.
14677 (__SYSCALL_ULONG_TYPE): Likewise.
14678
de986b56
L
146792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14680
14681 * bits/types.h (__syscall_slong_t): New type.
14682 (__syscall_ulong_t): Likewise.
14683
14684 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14685 (__SYSCALL_ULONG_TYPE): Likewise.
14686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14687 (__SYSCALL_SLONG_TYPE): Likewise.
14688 (__SYSCALL_ULONG_TYPE): Likewise.
14689 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14690 (__SYSCALL_SLONG_TYPE): Likewise.
14691 (__SYSCALL_ULONG_TYPE): Likewise.
14692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14693 (__SYSCALL_SLONG_TYPE): Likewise.
14694 (__SYSCALL_ULONG_TYPE): Likewise.
14695
85736dc7
L
146962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14697
14698 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14699 Add sigaltstack-offsets.sym.
14700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14701 <sigaltstack-offsets.h>.
14702 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14703 longjmp_msg pointer.
14704 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14705 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14706 signal stack.
14707 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14708
cc03b296
JM
147092012-05-15 Joseph Myers <joseph@codesourcery.com>
14710
a9538892
JM
14711 * elf/stackguard-macros.h: Remove file.
14712 * sysdeps/generic/stackguard-macros.h: New file.
14713 * sysdeps/i386/stackguard-macros.h: Likewise.
14714 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14715 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14716 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14717 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14718 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14719 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14720 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14721 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14722 <elf/stackguard-macros.h>.
14723
cc03b296
JM
14724 [BZ #14109]
14725 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14726 __aligned__ in attribute.
14727 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14728 (gregset_t): Likewise.
14729
93171016
L
147302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14731
14732 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14733 * sysdeps/x86_64/64/Implies-after: Here. New file.
14734 * sysdeps/x86_64/x32/Implies-after: New file.
14735
d86813a0
L
147362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14737
14738 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14739 and access return value for _dl_profile_fixup. Use R10_LP to
14740 load frame size.
14741
2953ec75
L
147422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14743
14744 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14745
3b550e9e
L
147462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14747
14748 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14749 * sysdeps/x86_64/x32/sysdep.h: New file.
14750
eda41706
L
147512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14752
14753 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14754 * sysdeps/x86_64/setjmp.S: Likewise.
14755
9ea01d93
AZ
147562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14757
14758 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14759 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14760 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14761 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14762 remove unused global constant.
14763
02a91938
CM
147642012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14765
14766 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14767 include of <not-cancel.h>.
14768
6540185f
RM
147692012-05-15 Roland McGrath <roland@hack.frob.com>
14770
14771 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14772
509072a0
AJ
147732012-05-15 Jeff Law <law@redhat.com>
14774 Andreas Jaeger <aj@suse.de>
14775
14776 [BZ #13594]
14777 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14778 out from...
14779 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14780 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14781 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14782 code changing __hst_map_handle.map.
14783
ba75122d
RM
147842012-05-15 Roland McGrath <roland@hack.frob.com>
14785
14786 * configure.in (sysnames): Look for Implies-before and Implies-after
14787 files.
14788 * configure: Regenerated.
14789
890d8bd8
L
147902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14791
14792 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14793 8-byte data alignment with LP_SIZE alignment.
14794
f6ee6623
L
147952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14796
14797 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14798 into R10_LP.
14799
ea2626f6
L
148002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14801
14802 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14803
085f715e
L
148042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14805
14806 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14807 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14808 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14809 Likewise.
14810 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14811
be8498fc
L
148122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14813
14814 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14815 (stackinfo_sub_sp): Likewise.
14816
70bc83b9
L
148172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14818
14819 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14820 RAX_LP.
14821
9bc0b730
L
148222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14823
14824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14825 into R*_LP.
14826
6d2850e7
L
148272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14828
14829 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14830 sizes into R*_LP.
14831
3cb84561
L
148322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14833
14834 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14835
54e2ed81
L
148362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14837
14838 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14839 into R11_LP and load __x86_64_shared_cache_size_half into
14840 R8_LP.
14841
8a17f349
L
148422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14843
14844 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14845 R8_LP.
14846
777b1eea
AZ
148472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14848
14849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14850 logb for POWER7.
14851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14852 logbf for POWER7.
14853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14854 logbl for POWER7.
14855 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14856 powerpc32/power7/fpu/s_logb.c via #include.
14857 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14858 powerpc32/power7/fpu/s_logbf.c via #include.
14859 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14860 powerpc32/power7/fpu/s_logbl.c via #include.
14861
d20d4ac2
JM
148622012-05-15 Joseph Myers <joseph@codesourcery.com>
14863
14864 * README.libm: Remove file.
14865
6cdef1ab
L
148662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14867
14868 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14869 count for x32. Use R*_LP and omit operand-size suffix.
14870
0b254d8f
L
148712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14872
14873 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14874 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14875 * sysdeps/x86_64/x32/shlib-versions: New file.
14876
ceb809dc
RM
148772012-05-14 Roland McGrath <roland@hack.frob.com>
14878
14879 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14880 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14881 Use _dl_fatal_printf instead.
14882
37f1abd4
JM
148832012-05-14 Joseph Myers <joseph@codesourcery.com>
14884
14885 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14886 set if not set by the user. Do not allow for being unset.
14887 * sysdeps/unix/sysv/linux/configure: Regenerated.
14888
11de3a33
L
148892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14890
14891 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14892 the `q' suffix from lea and replace .quad with ASM_ADDR.
14893
e02f153a
L
148942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14895
14896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14897 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14898 instead of $17.
14899 (PTR_DEMANGLE): Likewise.
14900
520ae0fd
L
149012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14902
14903 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14904 (LP_OP): Likewise.
14905 (ASM_ADDR): Likewise.
14906 (RAX_LP): Likewise.
14907 (RBP_LP): Likewise.
14908 (RBX_LP): Likewise.
14909 (RCX_LP): Likewise.
14910 (RDI_LP): Likewise.
14911 (RSI_LP): Likewise.
14912 (RSP_LP): Likewise.
14913 (R8_LP): Likewise.
14914 (R9_LP): Likewise.
14915 (R10_LP): Likewise.
14916 (R10_LP): Likewise.
14917 (R11_LP): Likewise.
14918 (R12_LP): Likewise.
14919 (R13_LP): Likewise.
14920 (R14_LP): Likewise.
14921 (R15_LP): Likewise.
14922
b985be81
L
149232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14924
14925 * sysdeps/x86_64/x32/dl-machine.h: New file.
14926
6a4888ff
AJ
149272012-05-14 Andreas Jaeger <aj@suse.de>
14928
14929 * manual/Makefile (subdir): Remove export of subdir.
14930 (all): Remove target.
14931 (.PHONY): Remove all from list.
14932 (mkinstalldirs): Remove.
14933 (.PHONY): Remove installdirs from list.
14934 ($(inst_infodir)/libc.info): Use make-target-directory.
14935 (installdirs): Remove.
14936 (subdir_%): Remove.
14937 (glibc-targets): Remove.
14938 (lib): Remove.
14939 (stubs): Remove.
14940 ($(objpfx)stubs ../po/manual.pot): Remove.
14941 ($(objpfx)stamp%): Remove.
14942 (make-target-directory): Remove.
14943 (subdir_install): Remove.
14944 (routines): Remove.
14945 (aux): Remove.
14946 (sources): Remove.
14947 (objects): Remove.
14948 (headers): Remove.
14949
14950 [BZ #13750]
14951 * manual/.gitignore: Remove, it's not needed anymore.
14952 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14953 all files in it.
14954 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14955 directory.
14956 (texis): Renamed to $(objpfx)texis.
14957 (texis-path): New, contains path to generated files.
14958 (chapters.%): Use texis-path for complete path, add extra argument
14959 libc-texinfo.sh.
14960 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14961 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14962 (summary,texi, stamp-summary): Use complete path of
14963 files. Generate files in build dir.
14964 (dir-add.texi): Build in build dir.
14965 (libm-err.texi,stamp-libm-err): Likewise.
14966 (version.texi, stamp-version): Likewise.
14967 (.%c.texi): Likewise.
14968 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14969 (mostlyclean): Remove target.
14970 (realclean): Remove target.
14971 (generated): Add new variable with contents from mostlyclean and
14972 realclean, remove entries duplicated in common-mostlyclean, add
14973 stamp-libm-err and stamp-version.
14974 (generated-dirs): Add libc directory.
14975 ($(inst_infodir)/libc.info): Install files from build dir.
14976
14977 * manual/install.texi (Configuring and compiling): Adjust since
14978 the info files are not part of the tar ball anymore.
14979
7ac77294
AJ
149802012-05-14 Andreas Jaeger <aj@suse.de>
14981
14982 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14983 variable.
14984
ffb7875d
JM
149852012-05-14 Joseph Myers <joseph@codesourcery.com>
14986
14987 [BZ #13717]
14988 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14989 to 2.2.0 where earlier.
14990 * sysdeps/unix/sysv/linux/configure: Regenerated.
14991 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14992 Remove conditional code.
14993 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14994 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14995 Remove conditional code.
14996 [!__NR_lchown]: Likewise.
14997 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14998 [__NR_lchown]: Likewise.
14999 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15000 comment referencing __ASSUME_LCHOWN_SYSCALL.
15001 * sysdeps/unix/sysv/linux/i386/sigaction.c
15002 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15003 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15004 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15005 Remove conditional code.
15006 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15007 (__protocol_available): Remove #if 0 code.
15008 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15009 conditional code.
15010 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15011 * sysdeps/unix/sysv/linux/kernel-features.h
15012 (__ASSUME_GETCWD_SYSCALL): Don't define.
15013 (__ASSUME_REALTIME_SIGNALS): Likewise.
15014 (__ASSUME_PREAD_SYSCALL): Likewise.
15015 (__ASSUME_PWRITE_SYSCALL): Likewise.
15016 (__ASSUME_POLL_SYSCALL): Likewise.
15017 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15018 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15019 non-SPARC.
15020 (__ASSUME_SIOCGIFNAME): Don't define.
15021 (__ASSUME_MSG_NOSIGNAL): Likewise.
15022 (__ASSUME_SENDFILE): Define unconditionally.
15023 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15024 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15025 conditional code.
15026 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15027 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15028 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15029 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15030 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15031 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15032 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15034 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15037 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15040 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15043 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15046 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15049 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15052 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15055 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15056 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15057 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15058 Remove conditional code.
15059 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15060 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15061 Remove conditional code.
15062 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15063 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15064 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15065 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15066 Remove conditional code.
15067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15068 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15069 Remove conditional code.
15070 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15071 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15072 Remove conditional code.
15073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15074 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15075 Remove conditional code.
15076 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15077 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15078 Remove conditional code.
15079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15080 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15081 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15082 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15083 * sysdeps/unix/sysv/linux/sigaction.c
15084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15086 * sysdeps/unix/sysv/linux/sigpending.c
15087 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15088 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15089 * sysdeps/unix/sysv/linux/sigprocmask.c
15090 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15091 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15092 * sysdeps/unix/sysv/linux/sigsuspend.c
15093 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15094 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15095 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15096 (__libc_missing_rt_sigs): Remove.
15097 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15098 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15099 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15100 Remove conditional code.
15101 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15102 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15103 return 1.
15104 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15105 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15106 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15107 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15108
1bfb7291
AJ
151092012-05-14 Andreas Jaeger <aj@suse.de>
15110
caae5a81
AJ
15111 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15112 it's not used in glibc.
15113 (__coshm1): Likewise.
15114 (__acosh1p): Likewise.
15115 (__sgn): Likewise.
15116
1bfb7291
AJ
15117 * manual/string.texi (Copying and Concatenation): Add missing
15118 variable in concat example.
15119 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15120
c044d724
L
151212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15122
144c5467 15123 [BZ #14103]
c044d724
L
15124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15125 __builtin_clzl with __builtin_clzll.
15126
2523c62b
L
151272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15128
15129 [BZ #14104]
15130 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15131 libc_freeres_ptr.
15132
d7bb4c42
LD
151332012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15134
15135 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15136 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15137 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15138 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15139
9dc4e1fb
MF
151402012-05-14 Mike Frysinger <vapier@gentoo.org>
15141
15142 * NEWS: Update ia64 info.
15143
c7df0112
AS
151442012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15145
15146 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15147 used as bcopy.
15148
dc70356c
TS
151492012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15150
15151 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15152 * sysdeps/unix/syscalls.list (dup3): Likewise.
15153 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15154 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15155
9fb1a21f
L
151562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15157
15158 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15159 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15160
4822a2a5
L
151612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15162
15163 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15164 thread pointer.
15165 (TLS_IE): Use mov/add instead of movq/addq to load thread
15166 pointer.
15167 (TLS_GD_PREFIX): New.
15168 (TLS_GD): Use it.
15169
842b81d6
DM
151702012-05-11 David S. Miller <davem@davemloft.net>
15171
15172 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15173 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15174 (_FPU_SETCW): Likewise.
15175
1cf463cd
L
151762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15177
15178 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15179 is 32-byte aligned.
15180
60cc4a18
AS
151812012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15182
15183 [BZ #11837]
15184 * iconvdata/gb18030.c: Update tables.
15185 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15186 characters specially.
15187 (BODY for TO_LOOP): Add encoding of missing ranges.
15188
febb44a4
TS
151892012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15190
15191 [BZ #13673]
15192 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15193 * sysdeps/mach/hurd/dup3.c: Likewise.
15194 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15195 * sysdeps/powerpc/memmove.c:: Likewise.
15196
0a10fb9e
L
151972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15198
15199 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15200 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15201
df8a552f
L
152022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15203
15204 * elf/elf.h (R_X86_64_RELATIVE64): New.
15205 (R_X86_64_NUM): Updated.
15206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15207 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15208 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15209 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15210 tst-quad1pie tst-quad2pie
15211 (modules-names): Add tst-quadmod1 tst-quadmod2.
15212 ($(objpfx)tst-quad1): New dependency.
15213 ($(objpfx)tst-quad2): Likewise.
15214 ($(objpfx)tst-quad1pie): Likewise.
15215 ($(objpfx)tst-quad2pie): Likewise.
15216 * sysdeps/x86_64/tst-quad1.c: New file.
15217 * sysdeps/x86_64/tst-quad1pie.c: New file.
15218 * sysdeps/x86_64/tst-quad2.c: Likewise.
15219 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15220 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15221 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15222 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15223 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15224
f34d6f84
ST
152252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15226
f42d41d1
ST
15227 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15228 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15229 * streams/stropts.h (t_scalar_t): Define type.
15230
3c3571fc
ST
15231 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15232 (_PATH_PRESERVE): Set to "/var/lib".
15233 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15234
61f06bd3
ST
15235 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15236 instead of int.
15237
918d4d71
ST
15238 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15239 if __dir_mkfile succeeded.
15240
f34d6f84
ST
15241 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15242 checking for _hurd_dtablesize. Unlock it right after having
15243 finished _hurd_dtable allocation.
15244
10589b4a
TS
152452012-05-10 Thomas Schwinge <thomas@schwinge.name>
15246
674cdbc7
TS
15247 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15248 * sysdeps/mach/hurd/configure: Regenerated.
15249 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15250 special-casing to...
15251 * sysdeps/gnu/configure.in: ... this new file.
15252 * sysdeps/unix/sysv/linux/configure: Regenerated.
15253 * sysdeps/gnu/configure: New generated file.
15254
8e41b99f
TS
15255 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15256 for Linux: use nsec instead of usec, as well as:
15257 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15258 members of type struct timespec.
15259 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15260 New macros.
15261 (struct stat64): Likewise.
15262 (_STATBUF_ST_NSEC): New macro.
15263 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15264
10589b4a
TS
15265 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15266 __strtoul_internal rather than strtoul.
15267
63643c85
PT
152682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15269
15270 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15271 and reject them.
15272
3faebe6a
ST
152732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15274
15275 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15276 which preserves existing values.
15277 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15278
c6474b07
PT
152792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15280
15281 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15282 TIMEOUT values. Return EINVAL for NFDS values either negative or
15283 greater than FD_SETSIZE.
15284
1043890b
ST
152852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15286
15287 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15288 allocated, call __vm_protect to finish enabling the existing space, and
15289 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15290 allocate the remainder.
15291
37ed8b9b
PT
152922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15293
15294 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15295 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15296
db653660
ST
152972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15298
37ed8b9b
PT
15299 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15300 sysdeps/mach/hurd/readlink.c.
b29d4053 15301
db653660
ST
15302 * posix/tst-sysconf.c (posix_options): Only use
15303 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15304 _POSIX_SYNCHRONIZED_IO when they are defined
15305 * sysdeps/mach/hurd/bits/posix_opt.h:
15306 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15307 (_XOPEN_REALTIME): Undefine macro.
15308 (_XOPEN_REALTIME_THREADS): Undefine macro.
15309 (_XOPEN_SHM): Undefine macro.
15310 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15311 macro to -1.
15312 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15313 macro to -1.
15314 (_POSIX_ASYNC_IO): Undefine macro.
15315 (_POSIX_PRIORITIZED_IO): Undefine macro.
15316 (_POSIX_SPIN_LOCKS): Define macro to -1.
15317
ee16e894
ST
15318 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15319 SA_NODEFER, SA_RESETHAND.
15320 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15321 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15322 F_DUPFD_CLOEXEC.
15323
6103ae3b
TS
153242012-05-10 Thomas Schwinge <thomas@schwinge.name>
15325
15326 * elf/Makefile (pldd-modules): Define unconditionally.
15327
80b4e5f3
TS
153282012-05-10 Thomas Schwinge <thomas@schwinge.name>
15329
15330 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15331
edadcbd6
ST
153322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15333
15334 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15335 Return ENOENT when name is empty.
15336 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15337
80694780
TS
153382012-05-10 Thomas Schwinge <thomas@schwinge.name>
15339
1792c087
TS
15340 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15341
80694780
TS
15342 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15343
6b645f0d
ST
153442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15345
80694780
TS
15346 Fix mlock in all cases except non-readable pages.
15347 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15348 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 15349
6b645f0d
ST
15350 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15351 (__mkdir): When path is `/', just fail with EEXIST.
15352 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15353
e468f8a3
TS
153542012-05-10 Thomas Schwinge <thomas@schwinge.name>
15355
15356 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15357 <sys/uio.h> (for writev).
15358 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15359 and <sys/param.h> (for MIN).
15360
a4186cff
PT
153612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15362
15363 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15364 REQUESTED_TIME. Properly set the remaining time and return EINTR
15365 if interrupted.
15366
510bbf14
TS
153672012-05-10 Thomas Schwinge <thomas@schwinge.name>
15368
15369 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15370 Depend on against $(link-rpcuserlibs).
15371
5d5722e8
ST
153722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15373
a4186cff
PT
15374 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15375 (__libc_stack_end): Do not use attribute_relro.
15376 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15377 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15378 to libthread-provided value.
a4186cff
PT
15379 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15380 attribute_relro.
5d5722e8 15381
37233df9
TS
153822012-05-10 Thomas Schwinge <thomas@schwinge.name>
15383
be971a2b
TS
15384 [BZ #3748]
15385 * bits/libc-lock.h (__libc_once_get): New macro.
15386 * sysdeps/mach/bits/libc-lock.h: Likewise.
15387 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15388 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15389 instead of using implementation details.
15390
37233df9
TS
15391 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15392 * libio/freopen.c: Likewise.
15393 * libio/freopen64.c: Likewise.
15394 * misc/syslog.c: Likewise.
15395 * nscd/connections.c: Likewise.
15396 * nscd/netgroupcache.c: Likewise.
15397 * sysdeps/posix/getcwd.c: Likewise.
15398
38de94a5
RM
153992012-05-10 Roland McGrath <roland@hack.frob.com>
15400
15401 * math/w_ilogbf.c: Add #include <limits.h>.
15402
67530489
ST
154032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15404
a4186cff 15405 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15406 path instead of returning without unlocking.
15407
67530489
ST
15408 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15409 immediate-write ioctls.
15410 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15411
5aa3a74a
TS
154122012-05-10 Thomas Schwinge <thomas@schwinge.name>
15413
18bad2ae
TS
15414 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15415 __builtin_frame_address instead of making assumptions about the
15416 location of the return address relative to DATA. Force early load of
15417 the return address.
15418 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15419 __builtin_frame_address.
15420
5aa3a74a
TS
15421 dup3 for GNU Hurd.
15422 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15423 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15424 implement dup3 and do some further code clean-ups.
15425 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15426 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15427
ecd0de9a
ST
154282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15429
cd9fa985
ST
15430 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15431
a4186cff
PT
15432 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15433 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15434 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15435 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15436 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15437 d->port.lock.
802ca5a5 15438
a4186cff
PT
15439 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15440 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15441 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15442
bcf55240
TS
154432012-05-10 Thomas Schwinge <thomas@schwinge.name>
15444
6960eb42
TS
15445 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15446 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15447 definitions.
15448
eb43375f
TS
15449 accept4 for GNU Hurd.
15450 * include/sys/socket.h (__libc_accept4): New prototype.
15451 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15452 to implement __libc_accept4.
15453 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15454 __libc_accept4.
15455 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15456
bcf55240
TS
15457 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15458 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15459 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15460 signal-defines.sym.
15461
6178c55b
ST
154622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15463
a4186cff 15464 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15465
6f080c2f
TS
154662012-05-10 Thomas Schwinge <thomas@schwinge.name>
15467
15468 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15469 assertion on O_CLOEXEC flag.
15470 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15471 * hurd/intern-fd.c: Likewise.
15472 * hurd/port2fd.c: Likewise.
15473
bcfe3a54
ST
154742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15475
15476 [BZ #3906]
15477 * bits/in.h (IPV6_PKTINFO): Define new macro.
15478 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15479
89c9aa49
AZ
154802012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15481
15482 [BZ #13954]
15483 [BZ #13955]
15484 [BZ #13956]
15485 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15486 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15487 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15488 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15489 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15490 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15491 * math/libm-test.inc (logb_test) : Additional logb tests.
15492
021db4be
AJ
154932012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15494 Andreas Jaeger <aj@suse.de>
15495
15496 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15497 * configure: Regenerated.
15498 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15499 * config.make.in (link-obsolete-rpc): New substituted variable.
15500 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15501 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15502 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15503 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15504 so that libc.a contains the symbols.
15505 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15506 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15507 * sunrpc/auth_none.c: Likewise.
15508 * sunrpc/auth_unix.c: Likewise.
15509 * sunrpc/authdes_prot.c: Likewise.
15510 * sunrpc/authuxprot.c: Likewise.
15511 * sunrpc/clnt_gen.c: Likewise.
15512 * sunrpc/clnt_perr.c: Likewise.
15513 * sunrpc/clnt_raw.c: Likewise.
15514 * sunrpc/clnt_simp.c: Likewise.
15515 * sunrpc/clnt_tcp.c: Likewise.
15516 * sunrpc/clnt_udp.c: Likewise.
15517 * sunrpc/clnt_unix.c: Likewise.
15518 * sunrpc/des_crypt.c: Likewise.
15519 * sunrpc/des_soft.c: Likewise.
15520 * sunrpc/get_myaddr.c: Likewise.
15521 * sunrpc/key_call.c: Likewise.
15522 * sunrpc/key_prot.c: Likewise.
15523 * sunrpc/netname.c: Likewise.
15524 * sunrpc/pm_getmaps.c: Likewise.
15525 * sunrpc/pm_getport.c: Likewise.
15526 * sunrpc/pmap_clnt.c: Likewise.
15527 * sunrpc/pmap_prot.c: Likewise.
15528 * sunrpc/pmap_prot2.c: Likewise.
15529 * sunrpc/pmap_rmt.c: Likewise.
15530 * sunrpc/publickey.c: Likewise.
15531 * sunrpc/rpc_cmsg.c: Likewise.
15532 * sunrpc/rpc_common.c: Likewise.
15533 * sunrpc/rpc_dtable.c: Likewise.
15534 * sunrpc/rpc_prot.c: Likewise.
15535 * sunrpc/rpc_thread.c: Likewise.
15536 * sunrpc/rtime.c: Likewise.
15537 * sunrpc/svc.c: Likewise.
15538 * sunrpc/svc_auth.c: Likewise.
15539 * sunrpc/svc_raw.c: Likewise.
15540 * sunrpc/svc_run.c: Likewise.
15541 * sunrpc/svc_tcp.c: Likewise.
15542 * sunrpc/svc_udp.c: Likewise.
15543 * sunrpc/svc_unix.c: Likewise.
15544 * sunrpc/svcauth_des.c: Likewise.
15545 * sunrpc/xcrypt.c: Likewise.
15546 * sunrpc/xdr.c: Likewise.
15547 * sunrpc/xdr_array.c: Likewise.
15548 * sunrpc/xdr_float.c: Likewise.
15549 * sunrpc/xdr_intXX_t.c: Likewise.
15550 * sunrpc/xdr_mem.c: Likewise.
15551 * sunrpc/xdr_rec.c: Likewise.
15552 * sunrpc/xdr_ref.c: Likewise.
15553 * sunrpc/xdr_sizeof.c: Likewise.
15554 * sunrpc/xdr_stdio.c: Likewise.
15555
b5c086a2
RM
155562012-05-10 Roland McGrath <roland@hack.frob.com>
15557
15558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15559 change. Update copyright years.
15560
6d74dd09
JM
155612012-05-10 Joseph Myers <joseph@codesourcery.com>
15562
15563 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15564
28e72501
MK
155652012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15566 Joseph Myers <joseph@codesourcery.com>
15567 Paul Pluzhnikov <ppluzhnikov@google.com>
15568
15569 [BZ #14012]
15570 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15571 requiring rpcgen.
15572 [cross-compiling] (extra-libs): Likewise.
15573 [cross-compiling] (extra-libs-others): Likewise.
15574 [cross-compiling] (librpcsvc-routines): Likewise.
15575 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15576 [cross-compiling] (omit-deps): Likewise.
15577 (sunrpc-CPPFLAGS): New variable.
15578 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15579 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15580 (cross-rpcgen-objs): New variable.
15581 (extra-objs): Append $(cross-rpcgen-objs).
15582 ($(cross-rpcgen-objs)): New rule.
15583 ($(objpfx)cross-rpcgen): Likewise.
15584 (rpcgen-cmd): Define to use $(built-program-file). Expand
15585 comment.
15586 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15587 ($(objpfx)x%.stmp): Likewise.
15588 * sunrpc/proto.h [IS_IN_build] (_): Define.
15589 [IS_IN_build] (_libc_intl_domainname): Likewise.
15590
c8c59454
L
155912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15592
15593 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15594 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15595 and R_X86_64_TPOFF64.
15596
6f27cd16
JM
155972012-05-10 Joseph Myers <joseph@codesourcery.com>
15598
15599 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15600 sysdeps/unix/sysv/syscalls.list.
15601 (stime): Likewise.
15602 (utime): Likewise.
15603 * sysdeps/unix/sysv/syscalls.list: Remove file.
15604
02467e1c
PE
156052012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15606
15607 [BZ #3440]
15608 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15609 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15610 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15611 (__LC_IDENTIFICATION): Make these macros useful in #if
15612 expressions, as required by C99.
15613
da392631
AS
156142012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15615
15616 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15617 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15618 after this.
15619
8115f29b
L
156202012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15621
15622 * stdlib/longlong.h: Updated from GCC.
15623
bdd74070
AJ
156242012-05-09 Andreas Jaeger <aj@suse.de>
15625
edfe0dbe
AJ
15626 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15627 default is first entry.
15628 (run_mode): Set type.
15629 (main): Remove informal message about syslog.
15630 (options): Fix typo.
15631
bcfe3a54
ST
15632 [BZ #14053]
15633 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15634 to asm.
bcfe3a54
ST
15635 (lrint): Likewise.
15636 (llrintf): Likewise.
15637 (llrint): Likewise.
15638 (rint): Likewise.
15639 (rintf): Likewise.
15640 (nearbyint): Likewise.
15641 (nearbyintf): Likewise.
bdd74070 15642
91d8d69e
AJ
156432012-05-09 Andreas Jaeger <aj@suse.de>
15644 Pedro Alves <palves@redhat.com>
15645
15646 * nscd/nscd.c (run_mode): Use enum.
15647 (main): Cleanup coding style issue.
15648
bb90b80b
AJ
156492012-05-09 Alexandre Oliva <aoliva@redhat.com>
15650 Andreas Jaeger <aj@suse.de>
15651
bcfe3a54
ST
15652 * nscd/nscd.c (go_background): Replaced with...
15653 (run_mode): ... this.
bb90b80b 15654 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15655 (options): Add -F --foreground.
15656 (main): Implement it.
15657 (parse_opt): Parse it.
bb90b80b 15658
1a4b75a1
AJ
156592012-05-09 Andreas Jaeger <aj@suse.de>
15660
15661 [BZ #14083]
15662 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15663 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15664 -Wconversion warning.
15665 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15666 Likewise.
15667
b1cc2472
JM
156682012-05-09 Joseph Myers <joseph@codesourcery.com>
15669
15670 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15671 == 0.
15672 (LC_ALL): Use macro-int-constant.
15673 (LC_COLLATE): Likewise.
15674 (LC_CTYPE): Likewise.
15675 (LC_MESSAGES): Likewise.
15676 (LC_MONETARY): Likewise.
15677 (LC_NUMERIC): Likewise.
15678 (LC_TIME): Likewise.
15679 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15680 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15681 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15682 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15683 Specify type.
15684 [C99-based standards] (float_t): Expect type.
15685 [C99-based standards] (double_t): Expect type.
15686 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15687 type.
15688 [C99-based standards] (HUGE_VALL): Likewise.
15689 [C99-based standards] (INFINITY): Likewise.
15690 [C99-based standards] (NAN): Likewise.
15691 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15692 [C99-based standards] (FP_NAN): Likewise.
15693 [C99-based standards] (FP_NORMAL): Likewise.
15694 [C99-based standards] (FP_SUBNORMAL): Likewise.
15695 [C99-based standards] (FP_ZERO): Likewise.
15696 [C99-based standards] (FP_FAST_FMA): Use
15697 optional-macro-int-constant. Specify type. Require == 1.
15698 [C99-based standards] (FP_FAST_FMAF): Likewise.
15699 [C99-based standards] (FP_FAST_FMAL): Likewise.
15700 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15701 [C99-based standards] (FP_ILOGBNAN): Likewise.
15702 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15703 Specify type.
15704 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15705 [C99-based standards] (math_errhandling): Specify type.
15706 [ISO99 || ISO11] (signgam): Do not allow.
15707 [non-C99-based standards] (copysignf): Do not allow.
15708 [non-C99-based standards] (exp2f): Likewise.
15709 [non-C99-based standards] (log2f): Likewise.
15710 [non-C99-based standards] (modff): Allow.
15711 [non-C99-based standards] (erff): Do not allow.
15712 [non-C99-based standards] (erfcf): Likewise.
15713 [non-C99-based standards] (gammaf): Likewise.
15714 [non-C99-based standards] (hypotf): Likewise.
15715 [non-C99-based standards] (j0f): Likewise.
15716 [non-C99-based standards] (j1f): Likewise.
15717 [non-C99-based standards] (jnf): Likewise.
15718 [non-C99-based standards] (lgammaf): Likewise.
15719 [non-C99-based standards] (tgammaf): Likewise.
15720 [non-C99-based standards] (y0f): Likewise.
15721 [non-C99-based standards] (y1f): Likewise.
15722 [non-C99-based standards] (ynf): Likewise.
15723 [non-C99-based standards] (isnanf): Likewise.
15724 [non-C99-based standards] (acoshf): Likewise.
15725 [non-C99-based standards] (asinhf): Likewise.
15726 [non-C99-based standards] (atanhf): Likewise.
15727 [non-C99-based standards] (cbrtf): Likewise.
15728 [non-C99-based standards] (expm1f): Likewise.
15729 [non-C99-based standards] (ilogbf): Likewise.
15730 [non-C99-based standards] (log1pf): Likewise.
15731 [non-C99-based standards] (logbf): Likewise.
15732 [non-C99-based standards] (nextafterf): Likewise.
15733 [non-C99-based standards] (remainderf): Likewise.
15734 [non-C99-based standards] (rintf): Likewise.
15735 [non-C99-based standards] (scalbf): Likewise.
15736 [non-C99-based standards] (copysignl): Likewise.
15737 [non-C99-based standards] (exp2l): Likewise.
15738 [non-C99-based standards] (log2l): Likewise.
15739 [non-C99-based standards] (modfl): Allow.
15740 [non-C99-based standards] (erfl): Do not allow.
15741 [non-C99-based standards] (erfcl): Likewise.
15742 [non-C99-based standards] (gammal): Likewise.
15743 [non-C99-based standards] (hypotl): Likewise.
15744 [non-C99-based standards] (j0l): Likewise.
15745 [non-C99-based standards] (j1l): Likewise.
15746 [non-C99-based standards] (jnl): Likewise.
15747 [non-C99-based standards] (lgammal): Likewise.
15748 [non-C99-based standards] (tgammal): Likewise.
15749 [non-C99-based standards] (y0l): Likewise.
15750 [non-C99-based standards] (y1l): Likewise.
15751 [non-C99-based standards] (ynl): Likewise.
15752 [non-C99-based standards] (isnanl): Likewise.
15753 [non-C99-based standards] (acoshl): Likewise.
15754 [non-C99-based standards] (asinhl): Likewise.
15755 [non-C99-based standards] (atanhl): Likewise.
15756 [non-C99-based standards] (cbrtl): Likewise.
15757 [non-C99-based standards] (expm1l): Likewise.
15758 [non-C99-based standards] (ilogbl): Likewise.
15759 [non-C99-based standards] (log1pl): Likewise.
15760 [non-C99-based standards] (logbl): Likewise.
15761 [non-C99-based standards] (nextafterl): Likewise.
15762 [non-C99-based standards] (remainderl): Likewise.
15763 [non-C99-based standards] (rintl): Likewise.
15764 [non-C99-based standards] (scalbl): Likewise.
15765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15766 [non-C99-based standards] (FP_*): Do not allow.
15767 [C99-based standards] (FP_*): Change to
15768 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15769 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15770 allow.
15771 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15772 (SIG_ERR): Likewise.
15773 [X/Open-based standards] (SIG_HOLD): Likewise.
15774 (SIG_IGN): Likewise.
15775 (SIGABRT): Use macro-int-constant. Specify type. Require
15776 positive value.
15777 (SIGFPE): Likewise.
15778 (SIGILL): Likewise.
15779 (SIGINT): Likewise.
15780 (SIGSEGV): Likewise.
15781 (SIGTER): Likewise.
15782 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15783 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15784 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15785 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15786 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15787 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15789 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15790 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15791 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15793 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15794 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15796 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15800 [X/Open-based standards] (SIGTRAP): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15805 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15806 allow.
15807
b9f1922d
IW
158082012-05-08 Ian Wienand <ianw@vmware.com>
15809
15810 [BZ #14080]
15811 * time/tzset.c (__tzset_parse_tz): Update default rules for
15812 daylight time changes in the Energy Policy Act of 2005.
15813
1db86e88
AJ
158142012-05-09 Andreas Jaeger <aj@suse.de>
15815
15816 [BZ #13983]
15817 * elf/ldconfig.c (parse_conf): Change string to make clear that
15818 ldconfig only issued a warning if ld.so.conf does not exist.
15819
dee4a4e3
DM
158202012-05-08 David S. Miller <davem@davemloft.net>
15821
ee0db190
DM
15822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15823 movxtod instead of popping the value on the stack.
15824
dee4a4e3
DM
15825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15826
6a43ec98
CD
158272012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15828
15829 * config.h.in: Add HAVE_ARM_PCS_VFP.
15830
05c2c961
RMG
158312012-05-08 Roland Mc Grath <roland@hack.frob.com>
15832
bcfe3a54
ST
15833 [BZ #13979]
15834 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15835 checking but the checks are disabled for any reason.
05c2c961 15836
4b30f61a
L
158372012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15838
15839 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15840 and ELF64_R_TYPE with ELFW(R_TYPE).
15841
eee2bc67
JM
158422012-05-08 Joseph Myers <joseph@codesourcery.com>
15843
7ea5391a
JM
15844 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15845 (ulimit): Likewise.
15846
eee2bc67
JM
15847 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15848 (settimeofday): Likewise.
15849
abb66a67
MF
158502012-05-08 Mike Frysinger <vapier@gentoo.org>
15851
15852 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15853 a struct th_u2 inside the union, and move tu_block/tu_code into
15854 a new th_u3 union of tu_block/tu_code inside of that. Move
15855 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15856 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15857 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15858 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15859 (th_stuff): Change to th_u1.tu_stuff.
15860 (th_data): Define.
15861 (th_msg): Change to th_u1.th_u2.tu_data.
15862
7f18b530
DM
158632012-05-07 David S. Miller <davem@davemloft.net>
15864
05760585
DM
15865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15866
7f18b530
DM
15867 [BZ #14074]
15868 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15869 (SETUP_PIC_REG): Use it.
15870 (SETUP_PIC_REG_LEAF): Use it.
15871
495fd99f
JM
158722012-05-07 Joseph Myers <joseph@codesourcery.com>
15873
15874 [BZ #13885]
15875 [BZ #13923]
15876 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15877 USE_AS_EXPM1L.
15878 (EXPL_FINITE): Likewise.
15879 (FLDLOG): Likewise.
15880 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15881 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15882 e_expl.S.
15883 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15884 USE_AS_EXPM1L.
15885 (EXPL_FINITE): Likewise.
15886 (FLDLOG): Likewise.
15887 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15888 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15889 e_expl.S.
15890 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15891 test of -max_value argument for long double.
15892 * sysdeps/i386/fpu/libm-test-ulps: Update.
15893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15894
6693d694
DM
158952012-05-06 David S. Miller <davem@davemloft.net>
15896
15897 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15898 quad soft-float symbols whose references which are compiler
15899 generated.
15900 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15901
6c23e11c
JM
159022012-05-06 Joseph Myers <joseph@codesourcery.com>
15903
d8b82cad
JM
15904 [BZ #13884]
15905 [BZ #13914]
15906 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15907 USE_AS_EXP10L.
15908 (EXPL_FINITE): Likewise.
15909 (FLDLOG): Likewise.
15910 (c0): Likewise.
15911 (c1): Likewise.
15912 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15913 Adjust comments for base varying.
15914 (__expl_finite): Change alias to EXPL_FINITE.
15915 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15916 e_expl.S.
15917 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15918 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15919 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15920 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15921 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15922 USE_AS_EXP10L.
15923 (EXPL_FINITE): Likewise.
15924 (FLDLOG): Likewise.
15925 (c0): Likewise.
15926 (c1): Likewise.
15927 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15928 Adjust comments for base varying.
15929 (__expl_finite): Change alias to EXPL_FINITE.
15930 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15931 tests for bugs.
15932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15933
6c23e11c
JM
15934 [BZ #14064]
15935 * math/libm-test.inc (check_float_internal): Correct ulp
15936 calculation for subnormal expected results.
15937
29ba805c
AJ
159382012-05-06 Andreas Jaeger <aj@suse.de>
15939
15940 * Makeconfig (+math-flags): New, set to -frounding-math.
15941 (+cflags): Add +math-flags so that all of glibc gets compiled with
15942 it.
15943
15944 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15945
7b17aeda
JM
159462012-05-05 Joseph Myers <joseph@codesourcery.com>
15947
5779f134
JM
15948 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15949 Disable one test.
15950
41498f4d
JM
15951 [BZ #13787]
15952 [BZ #13922]
15953 [BZ #14036]
15954 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15955 (__ieee754_expl): Allow for and saturate large arguments.
15956 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15957 (u_threshold): Likewise.
15958 (__exp): Call __ieee754_exp before checking for overflow and
15959 underflow.
15960 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15961 (u_threshold): Likewise.
15962 (__expf): Call __ieee754_expf before checking for overflow and
15963 underflow.
15964 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15965 (u_threshold): Likewise.
15966 (__expl): Call __ieee754_expl before checking for overflow and
15967 underflow.
15968 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15969 (__ieee754_expl): Allow for and saturate large arguments.
15970 * math/libm-test.inc (exp_test): Add another test. Do not allow
15971 missing overflow exception on overflow.
15972 (expm1_test): Do not allow missing overflow exception on overflow.
15973
6698b8bf
JM
15974 * sysdeps/i386/fpu/e_expl.c: Move to ...
15975 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15976 rather than using inline asm.
15977 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15978 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15979 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15980
7b17aeda
JM
15981 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15982 (nice): Likewise.
15983 (poll): Likewise.
15984 (signal): Likewise.
15985 (time): Likewise.
15986 (times): Likewise.
15987
f7c85819
JM
159882012-05-04 Joseph Myers <joseph@codesourcery.com>
15989
15990 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15991 sysdeps/unix/common/syscalls.list.
15992 (fchmod): Likewise.
15993 (fchown): Likewise.
15994 (ftruncate): Likewise.
15995 (getrusage): Likewise.
15996 (gettimeofday): Likewise.
15997 (setpgid): Likewise.
15998 (setregid): Likewise.
15999 (setreuid): Likewise.
16000 (sigaction): Likewise.
16001 (truncate): Likewise.
16002 (vhangup): Likewise.
16003 * sysdeps/unix/common/syscalls.list: Remove file.
16004 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16005 * sysdeps/unix/sysv/linux/Implies: Likewise.
16006
336270d0
L
160072012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16008
16009 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16011 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16012 Moved to ...
16013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16014 Here.
16015 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16016 to ...
16017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16018 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16019 to ...
16020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16021 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16022 to ...
16023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16024 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16025 to ...
16026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16027 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16028 to ...
16029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16030 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16031 to ...
16032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16033 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16034 to ...
16035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16036 Here.
16037 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16038 to ...
16039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16040 Here.
16041 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16042 to ...
16043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16044 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16045 Moved to ...
16046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16047 Here.
16048 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16049 to ...
16050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16051
d128e450
JM
160522012-05-04 Joseph Myers <joseph@codesourcery.com>
16053
fa8ee516
JM
16054 * sysdeps/unix/common/bits/dirent.h: Remove file.
16055 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16056
d128e450
JM
16057 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16058 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16059 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16060 * sysdeps/unix/bsd/isatty.c: Likewise.
16061 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16062 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16063 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16064
ff8faaf0 160652012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16066
62881be4 16067 [BZ #13563]
31dc8730
AZ
16068 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16069 long double comparison inaccuracies.
16070 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16072
6fef930c
AS
160732012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16074
16075 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16076 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16077
8f203e6c
JM
160782012-05-04 Joseph Myers <joseph@codesourcery.com>
16079
16080 [BZ #14049]
16081 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16082 nonzero digits before rounding a hex value.
16083 * stdlib/tst-strtod.c (tests): Add another test.
16084
5197d9c2
AK
160852012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16086
16087 * sysdeps/s390/fpu/libm-test-ulps: Update.
16088
f0c1dedf
AJ
160892012-05-03 Andreas Jaeger <aj@suse.de>
16090
16091 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16092 does not get optimized out.
16093 (malloc_opt_barrier): New.
16094
a65ef2ae 160952012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16096 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16097
2b942cb7 16098 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16099 intermediate file deletion.
2b942cb7 16100 (generated): Add .symlist files.
a65ef2ae 16101
54b71e02
JM
161022012-05-03 Joseph Myers <joseph@codesourcery.com>
16103
16104 [BZ #13775]
16105 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16106 Redirect under this condition.
16107 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16108 [__USE_GNU] (__dprintf_chk): Not under this condition.
16109 [__USE_GNU] (__vdprintf_chk): Likewise.
16110 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16111 under this condition.
16112 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16113 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16114 [__USE_XOPEN2K8] (vdprintf): Likewise.
16115 [__USE_GNU] (__dprintf_chk): Not under this condition.
16116 [__USE_GNU] (__vdprintf_chk): Likewise.
16117 [__USE_GNU] (dprintf): Likewise.
16118 [__USE_GNU] (vdprintf): Likewise.
16119
d3dfcc41
RM
161202012-05-03 Roland McGrath <roland@hack.frob.com>
16121
16122 * elf/Makefile (common-generated): Set this instead of generated for
16123 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16124 $(all-built-dso)-derived lists.
16125
7ac30cc5
AJ
161262012-05-03 Andreas Jaeger <aj@suse.de>
16127
0c51e550
AJ
16128 * sysdeps/i386/fpu/libm-test-ulps: Update.
16129
7ac30cc5
AJ
16130 * FAQ: Removed.
16131 * FAQ.in: Likewise.
16132 * scripts/gen-FAQ.pl: Likewise.
16133 * manual/install.texi (Installation): Point to online location of
16134 FAQ.
16135 * Makefile (files-for-dist): Remove FAQ.
16136 (FAQ): Remove.
16137
d4c2917f
AM
161382012-05-02 Allan McRae <allan@archlinux.org>
16139
16140 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16141 (LDFLAGS-reldepmod5.so): Likewise.
16142 (LDFLAGS-reldep6mod1.so): Likewise.
16143 (LDFLAGS-reldep6mod4.so): Likewise.
16144 (LDFLAGS-reldep8mod3.so): Likewise.
16145 (LDFLAGS-unload4mod1.so): Likewise.
16146 (LDFLAGS-unload4mod2.so): Likewise.
16147 (LDFLAGS-tst-initorder): Likewise.
16148 (LDFLAGS-tst-initordera2.so): Likewise.
16149 (LDFLAGS-tst-initordera3.so): Likewise.
16150 (LDFLAGS-tst-initordera4.so): Likewise.
16151 (LDFLAGS-tst-initorderb2.so): Likewise.
16152 (LDFLAGS-noload): Likewise.
16153 (LDFLAGS-next): Likewise.
16154 (LDFLAGS-order2mod1.so): Likewise.
16155 (LDFLAGS-order2mod2.so): Likewise.
16156 (LDFLAGS-tst-initorder2): Likewise.
16157 (LDFLAGS-tst-initorder2a.so): Likewise.
16158 (LDFLAGS-tst-initorder2b.so): Likewise.
16159 (LDFLAGS-tst-initorder2c.so): Likewise.
16160 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16161
d77f993f
DM
161622012-05-02 David S. Miller <davem@davemloft.net>
16163
16164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16165
171a70b4
PP
161662012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16167
16168 [BZ #14055]
16169 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16170
0be196ad
AJ
161712012-05-02 Andreas Jaeger <aj@suse.de>
16172
16173 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16174 since we manipulate rounding mode.
16175 (CPPFLAGS-test-idouble.c): Likewise.
16176 (CPPFLAGS-test-ifloat.c): Likewise.
16177 (CFLAGS-test-ldouble.c): Likewise.
16178 (CFLAGS-test-double.c): Likewise.
16179 (CFLAGS-test-float.c): Likewise.
16180 (CFLAGS-test-misc.c): Likewise.
16181 (CFLAGS-test-test-fenv.c): Likewise.
16182
4f9d04aa
AZ
161832012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16184
2b942cb7
RM
16185 [BZ #2550]
16186 [BZ #2570]
16187 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16188 comparisons to determine direction to adjust input.
4f9d04aa 16189
82a79e7d
RM
161902012-05-01 Roland McGrath <roland@hack.frob.com>
16191
f5a01ca9
RM
16192 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16193 output to the target.
16194
90fe4186
RM
16195 * scripts/localplt.awk: New file.
16196 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16197 (check-localplt-CFLAGS): Variable removed.
16198 ($(all-built-dso:=.jmprel)): New static pattern rule.
16199 (generated): Add those targets.
16200 (localplt-built-dso): New variable.
16201 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16202
16203 * elf/check-localplt.c: File removed.
16204
82397ed6
RM
16205 * scripts/check-execstack.awk: New file.
16206 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16207 (check-execstack-CFLAGS): Variable removed.
16208 ($(objpfx)check-execstack.h): Target removed.
16209 ($(objpfx)execstack-default): New target.
16210 (generated): Add that instead of check-execstack.h.
16211 ($(all-built-dso:=.phdr)): New static pattern rule.
16212 (generated): Add those targets.
16213 * elf/check-execstack.c: File removed.
16214
82a79e7d
RM
16215 * scripts/check-textrel.awk: New file.
16216 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16217 (check-textrel-CFLAGS): Variable removed.
16218 (all-built-dso): Use := to define.o
16219 ($(all-built-dso:=.dyn)): New static pattern rule.
16220 (generated): Add those targets.
16221 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16222 * config.make.in (READELF): New substituted variable.
16223 * elf/check-textrel.c: File removed.
16224
62fde54f 162252012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 16226
615605c9
JM
16227 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16228 allow.
16229 * conform/data/ctype.h-data [C99-based standards] (isblank):
16230 Expect function.
16231 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16232 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16234 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16235 Specify type. Require positive value.
16236 (EILSEQ): Likewise.
16237 (ERANGE): Likewise.
16238 [ISO || POSIX] (EILSEQ): Do not expect.
16239 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16240 Specify type. Require positive value.
16241 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16242 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16243 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16244 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16245 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16246 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16247 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16248 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16249 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16250 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16251 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16252 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16253 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16255 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16256 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16257 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16259 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16260 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16266 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16267 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16268 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16269 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16270 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16271 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16274 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16275 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16276 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16277 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16278 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16287 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16288 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16289 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16290 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16291 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16292 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16294 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16296 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16297 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16298 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16299 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16300 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16301 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16302 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16303 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16304 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16305 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16306 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16307 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16308 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16309 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16310 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16311 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16312 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16313 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16314 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16315 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16316 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16317 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16318 Require >= 2.
16319 (FLT_ROUNDS): Expect as macro, not constant.
16320 (FLT_MANT_DIG): Use macro-int-constant.
16321 (DBL_MANT_DIG): Likewise.
16322 (LDBL_MANT_DIG): Likewise.
16323 (FLT_DIG): Likewise.
16324 (DBL_DIG): Likewise.
16325 (LDBL_DIG): Likewise.
16326 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16327 (DBL_MIN_EXP): Likewise.
16328 (LDBL_MIN_EXP): Likewise.
16329 (FLT_MAX_EXP): Use macro-int-constant.
16330 (DBL_MAX_EXP): Likewise.
16331 (LDBL_MAX_EXP): Likewise.
16332 (FLT_MAX_10_EXP): Likewise.
16333 (DBL_MAX_10_EXP): Likewise.
16334 (LDBL_MAX_10_EXP): Likewise.
16335 (FLT_MAX): Use macro-constant.
16336 (DBL_MAX): Likewise.
16337 (LDBL_MAX): Likewise.
16338 (FLT_EPSILON): Use macro-constant. Give upper bound.
16339 (DBL_EPSILON): Likewise.
16340 (LDBL_EPSILON): Likewise.
16341 (FLT_MIN): Likewise.
16342 (DBL_MIN): Likewise.
16343 (LDBL_MIN): Likewise.
16344 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16345 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16346 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16347 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16348 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16349 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16350 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16351 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16352 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16353 [ISO11] (FLT_TRUE_MIN): Likewise.
16354 [ISO11] (LDBL_TRUE_MIN): Likewise.
16355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16356 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16357 (SCHAR_MIN): Use macro-int-constant. Specify type.
16358 (SCHAR_MAX): Likewise.
16359 (UCHAR_MAX): Likewise.
16360 (CHAR_MIN): Likewise.
16361 (CHAR_MAX): Likewise.
16362 (MB_LEN_MAX): Use macro-int-constant.
16363 (SHRT_MIN): Use macro-int-constant. Specify type.
16364 (SHRT_MAX): Likewise.
16365 (USHRT_MAX): Likewise.
16366 (INT_MAX): Likewise.
16367 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16368 bound negative.
16369 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16370 bound with "U".
16371 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16372 bound with "L".
16373 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16374 bound negative. Suffix upper bound with "L".
16375 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16376 bound with "UL".
16377 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16378 Specify type.
16379 [C99-based standards] (LLONG_MAX): Likewise.
16380 [C99-based standards] (ULLONG_MAX): Likewise.
16381 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16382 == 0.
16383 [ISO11] (max_align_t): Require type.
16384 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16385
c9140a62
JM
16386 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16387 from $CFLAGS, without defining away __attribute__ calls.
16388 (checknamespace): Use $CFLAGS_namespace.
16389
9af0bf29
JM
16390 * conform/conformtest.pl (@keywords): Only include C99 keywords
16391 for standards based on C99 or C11.
16392
343222a2
JM
16393 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16394 Disable tests.
16395 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16396 UNIX98]: Likewise.
16397
661f8cf0
JM
16398 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16399 usability of symbols in #if.
16400
ee74b9cb
JM
16401 * conform/conformtest.pl: If macro or constant types start
16402 "promoted:", expect the symbol to be of the following type
16403 promoted by the integer promotions.
62fde54f 16404
aafc49b3
JM
16405 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16406 in one place. Also handle "macro-constant".
16407
fefdf574
JM
16408 * conform/conformtest.pl: Only accept expected macro values with
16409 "==". Parse all "macro" lines in one place.
16410 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16411
f2d922fe
JM
16412 * conform/conformtest.pl: Handle braced types on "constant" lines
16413 instead of handling "typed-constant".
16414 * conform/data/signal.h-data: Use "constant" instead of
16415 "typed-constant".
16416
d22956c9
JM
16417 * conform/conformtest.pl: Handle "optional-" at start of lines in
16418 one place rather than duplicating several cases. Handle each
16419 format of "macro" line with initial "optional-".
16420
028e2e38
JM
16421 * conform/conformtest.pl: Only accept expected constant or
16422 optional-constant values with "==". Parse all "constant" lines in
16423 one place. Parse all "optional-constant" lines in one place.
16424 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16425 * conform/data/fmtmsg.h-data: Likewise.
16426 * conform/data/netinet/in.h-data: Likewise.
16427 * conform/data/tar.h-data: Likewise.
16428 * conform/data/limits.h-data: Use "==" form on "constant" and
16429 "optional-constant" lines.
16430
1b8f2850
JM
16431 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16432 Use -std=c99 for XOPEN2K.
16433 (@knownproblems): Remove.
16434 (newtoken): Don't check %isknown.
16435
a05a144b
JM
16436 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16437 Do not expect macro.
16438 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16439 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16440 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16441 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16442 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16443 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16444 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16445 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16446 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16447 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16448 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16449 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16450 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16451 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16452 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16453 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16454 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16455 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16456 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16457 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16458 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16459 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16460 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16461 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16462 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16463 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16464 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16465 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16466 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16467 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16468 [XPG3] (acosh): Likewise.
16469 [XPG3] (asinh): Likewise.
16470 [XPG3] (atanh): Likewise.
16471 [XPG3] (cbrt): Likewise.
16472 [XPG3] (expm1): Likewise.
16473 [XPG3] (ilogb): Likewise.
16474 [XPG3] (log1p): Likewise.
16475 [XPG3] (logb): Likewise.
16476 [XPG3] (nextafter): Likewise.
16477 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16478 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16479 [XPG3] (remainder): Likewise.
16480 [XPG3] (rint): Likewise.
16481 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16482 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16483 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16484 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16485 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16486 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16487 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16488 [UNIX98 || XOPEN2K] (scalb): Expect.
16489 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16490 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16493 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16494 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16495 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16498 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16499 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16500 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16506 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16507 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16508 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16509 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16510 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16511 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16544 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16545 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16547 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16548 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16549 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16552 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16553 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16561 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16562 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16563 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16578 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16579 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16580 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16581 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16582 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16583 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16584 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16585 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16586 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16587 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16588 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16589 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16590 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16591 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16592 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16593 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16594 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16595 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16596 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16597 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16598 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16599 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16600 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16601 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16602 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16603 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16604 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16605 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16606 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16607 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16608 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16609 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16610 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16611 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16612 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16613 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16614 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16615 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16616 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16617 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16618 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16619 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16620 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16621 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16622 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16623 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16624 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16625 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16626
73c5ebe3
JM
16627 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16628 _XOPEN_SOURCE_EXTENDED for XPG4.
16629
39c33b6c
JM
16630 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16631
62fde54f
JM
16632 * Makeconfig (localtime): Remove variable.
16633 (inst_localtime-file): Likewise.
16634
0741d64c
AS
166352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16636
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16638 Update.
16639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16640 Update.
16641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16642 Update.
16643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16644 Update.
16645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16646 Update.
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16648 Update.
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16650 Update.
16651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16652 Update.
16653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16654 Update.
16655
7cb029ee
JM
166562012-05-01 Joseph Myers <joseph@codesourcery.com>
16657
16658 [BZ #2550]
16659 [BZ #2570]
16660 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16661 comparisons to determine direction to adjust input.
16662 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16663 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16664 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16665 Likewise.
16666 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16667 Likewise.
16668 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16669 Likewise.
16670 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16671 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16672 Likewise.
16673 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16674 Likewise.
16675 * math/libm-test.inc (nexttoward_test): Add more tests.
16676
412bd966
AS
166772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16678
16679 [BZ #14040]
16680 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16681 in version GLIBC_2.1, not GLIBC_2.0.
16682 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16683 Likewise.
16684
9568c0c2
JM
166852012-04-30 Joseph Myers <joseph@codesourcery.com>
16686
adfbc8ac
JM
16687 [BZ #13942]
16688 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16689 (1 - x) * (1 + x).
16690 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16691 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16692 * math/libm-test.inc (acos_test): Add more tests.
16693 (asin_test): Likewise.
16694 * sysdeps/i386/fpu/libm-test-ulps: Update.
16695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16696
5ba3cc69
JM
16697 [BZ #14034]
16698 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16699 of square root.
16700 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16701 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16702 * math/libm-test.inc (acos_test_tonearest): New function.
16703 (acos_test_towardzero): Likewise.
16704 (acos_test_downward): Likewise.
16705 (acos_test_upward): Likewise.
16706 (asin_test_tonearest): Likewise.
16707 (asin_test_towardzero): Likewise.
16708 (asin_test_downward): Likewise.
16709 (asin_test_upward): Likewise.
16710 (main): Call the new functions.
16711 * sysdeps/i386/fpu/libm-test-ulps: Update.
16712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16713
9568c0c2
JM
16714 [BZ #13884]
16715 [BZ #13924]
16716 * math/e_exp10.c: Include <float.h>.
16717 (__ieee754_exp10): Handle underflow here rather than multiplying
16718 large negative argument by M_LN10.
16719 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16720 of __ieee754_expf.
16721 * math/e_exp10l.c: Include <float.h>.
16722 (__ieee754_exp10l): Handle underflow here rather than multiplying
16723 large negative argument by M_LN10l.
16724 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16725 spurious overflow exception on underflow.
16726
5ac3ea17
MP
167272012-04-29 Marek Polacek <polacek@redhat.com>
16728
16729 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16730 (__fortify_function): New macro.
16731 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16732 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16733 __extern_always_inline.
16734 * libio/bits/stdio2.h: Likewise.
16735 * libio/bits/stdio.h: Likewise.
16736 * string/string.h: Likewise.
16737 * string/bits/string3.h: Likewise.
16738 * include/stdio.h: Likewise.
16739 * stdlib/bits/stdlib.h: Likewise.
16740 * stdlib/stdlib.h: Likewise.
16741 * rt/bits/mqueue2.h: Likewise.
16742 * rt/mqueue.h: Likewise.
16743 * posix/bits/unistd.h: Likewise.
16744 * posix/unistd.h: Likewise.
16745 * io/bits/poll2.h: Likewise.
16746 * io/bits/fcntl2.h: Likewise.
16747 * io/fcntl.h: Likewise.
16748 * io/sys/poll.h: Likewise.
16749 * misc/bits/syslog.h: Likewise.
16750 * misc/bits/syslog-ldbl.h: Likewise.
16751 * misc/sys/syslog.h: Likewise.
16752 * socket/bits/socket2.h: Likewise.
16753 * socket/sys/socket.h: Likewise.
16754 * debug/tst-chk1.c: Likewise.
16755 * wcsmbs/bits/wchar2.h: Likewise.
16756 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16757 * wcsmbs/wchar.h: Likewise.
16758
ecf0ebfb
AJ
167592012-04-29 Andreas Jaeger <aj@suse.de>
16760
16761 * Makerules (tests): Remove enable-check-abi protection.
16762 (check-abi-warn): Remove.
16763 (check-abi-%): Remove check-abi-warn usage.
16764
16765 * configure.in: Remove check-abi configure option.
16766 * configure: Regenerated.
16767 * config.make.in (enable-check-abi): Remove.
16768
6d5c57fa
AS
167692012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16770
24c5d07e 16771 [BZ #14033]
ded5180a
AS
16772 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16773 double functions to double *_finite functions.
16774
7e0d315d
AS
16775 [BZ #13941]
16776 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16777 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16778 LDBL_MIN_EXP.
16779 * stdio-common/Makefile (tests): Add tst-sprintf3.
16780 * stdio-common/tst-sprintf3.c: New file.
16781
6d5c57fa
AS
16782 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16783 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16784
0749ff8b
JM
167852012-04-28 Joseph Myers <joseph@codesourcery.com>
16786
16787 * conform/conformtest.pl: Remove duplicate typed-constant
16788 handling.
16789
8dbd5d7b
DM
167902012-04-28 David S. Miller <davem@davemloft.net>
16791
16792 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16793 (check-abi-%): Remove AWK script prerequisite and explicit
16794 abilist directory.
16795 (check-abi): Rewrite to just diff the symlist with the abilist.
16796 (config-tls, config-abi-config): Delete, no longer used.
16797 (update-abi-%): Remove AWK script and explicit abilist directory.
16798 (update-abi): Rewrite to simply compare and conditionally copy the
16799 symlist and the sysdep abilist file. Remove update-abi-config
16800 checks.
16801 * abilist/ld.abilist: Remove.
16802 * abilist/libBrokenLocale.abilist: Remove.
16803 * abilist/libanl.abilist: Remove.
16804 * abilist/libcrypt.abilist: Remove.
16805 * abilist/libdl.abilist: Remove.
16806 * abilist/librt.abilist: Remove.
16807 * abilist/libthread_db.abilist: Remove.
16808 * abilist/libutil.abilist: Remove.
16809 * scripts/extract-abilist.awk: Remove.
16810 * scripts/merge-abilist.awk: Remove.
16811 * sysdeps/generic/libcidn.abilist: New file.
16812 * sysdeps/generic/libnss_compat.abilist: New file.
16813 * sysdeps/generic/libnss_db.abilist: New file.
16814 * sysdeps/generic/libnss_dns.abilist: New file.
16815 * sysdeps/generic/libnss_files.abilist: New file.
16816 * sysdeps/generic/libnss_hesiod.abilist: New file.
16817 * sysdeps/generic/libnss_nis.abilist: New file.
16818 * sysdeps/generic/libnss_nisplus.abilist: New file.
16819 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16820 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16821 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16822 file.
16823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16824 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16825 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16826 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16827 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16828 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16829 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16830 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16831 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16832 file.
16833 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16834 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16835 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16836 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16837 file.
16838 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16839 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16840 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16841 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16842 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16843 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16844 file.
16845 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16846 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16847 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16848 file.
16849 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16851 New file.
16852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16853 New file.
16854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16855 New file.
16856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16857 New file.
16858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16859 New file.
16860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16861 New file.
16862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16863 New file.
16864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16865 New file.
16866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16867 New file.
16868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16869 New file.
16870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16871 New file.
16872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16873 New file.
16874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16875 New file.
16876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16877 file.
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16879 New file.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16881 New file.
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16883 file.
16884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16885 New file.
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16887 New file.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16889 file.
16890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16891 New file.
16892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16893 New file.
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16895 New file.
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16897 New file.
16898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16899 New file.
16900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16901 New file.
16902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16904 file.
16905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16906 New file.
16907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16908 file.
16909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16910 file.
16911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16912 file.
16913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16914 file.
16915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16916 file.
16917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16918 New file.
16919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16920 file.
16921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16922 file.
16923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16924 New file.
16925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16926 file.
16927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16929 file.
16930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16931 New file.
16932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16933 file.
16934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16935 file.
16936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16937 file.
16938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16939 file.
16940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16941 file.
16942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16943 New file.
16944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16945 file.
16946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16947 file.
16948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16949 New file.
16950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16951 file.
16952 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16953 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16954 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16955 file.
16956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16957 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16958 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16959 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16960 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16961 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16962 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16963 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16964 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16965 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16968 file.
16969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16970 New file.
16971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16972 file.
16973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16974 file.
16975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16976 file.
16977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16978 file.
16979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16980 file.
16981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16982 New file.
16983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16984 New file.
16985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16986 file.
16987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16988 New file.
16989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16990 file.
16991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16993 file.
16994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16995 New file.
16996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16997 file.
16998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16999 file.
17000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17001 file.
17002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17003 file.
17004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17005 file.
17006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17007 New file.
17008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17009 New file.
17010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17011 file.
17012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17013 New file.
17014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17015 file.
17016
41d73a1b
JM
170172012-04-28 Joseph Myers <joseph@codesourcery.com>
17018
17019 * conform/conformtest.pl: Fix typo in handling typed-constant from
17020 allow-header.
17021
28aeeda4
JM
170222012-04-27 Joseph Myers <joseph@codesourcery.com>
17023
adae8f5e
JM
17024 * README: Cut down references to pre-2.6 Linux kernels and
17025 Linuxthreads. Update lists of configurations in libc and ports
17026 and sort alphabetically. Say "or newer" with Linux kernel version
17027 requirements.
17028
28aeeda4
JM
17029 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17030
a462cb63
RA
170312012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17032
17033 [BZ #887]
17034 * math/libm-test.inc (logb_test_downward): New test to expose
17035 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17036 rounding mode.
17037
6ad3493e
JM
170382012-04-27 Joseph Myers <joseph@codesourcery.com>
17039
17040 [BZ #14027]
17041 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17042 to be done.
17043 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17044 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17045
2ce4f015
JM
170462012-04-26 Joseph Myers <joseph@codesourcery.com>
17047
5aeb141a
JM
17048 * sysdeps/unix/i386/brk.S: Remove file.
17049 * sysdeps/unix/i386/dl-brk.S: Likewise.
17050 * sysdeps/unix/i386/pipe.S: Likewise.
17051 * sysdeps/unix/i386/sigreturn.S: Likewise.
17052 * sysdeps/unix/i386/syscall.S: Likewise.
17053 * sysdeps/unix/i386/vfork.S: Likewise.
17054 * sysdeps/unix/i386/wait.S: Likewise.
17055
7143acae
JM
17056 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17057 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17058
2ce4f015
JM
17059 * configure.in (arm*-none*): Do not allow without
17060 --enable-hacker-mode.
17061 (netbsd*): Remove case setting base_os.
17062 (386bsd*): Likewise.
17063 (freebsd*): Likewise.
17064 (bsdi*): Likewise.
17065 (osf*): Likewise.
17066 (sunos*): Likewise.
17067 (ultrix*): Likewise.
17068 (newsos*): Likewise.
17069 (dynix*): Likewise.
17070 (*bsd*): Likewise.
17071 (sysv*): Likewise.
17072 (isc*): Likewise.
17073 (esix*): Likewise.
17074 (sco*): Likewise.
17075 (minix*): Likewise.
17076 (irix4*): Likewise.
17077 (irix6*): Likewise.
17078 (solaris[2-9]*): Likewise.
17079 (none): Likewise.
17080 * configure: Regenerated.
17081
0ac229c8
AZ
170822012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17083
17084 [BZ #11521]
17085 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17086 overflow or cancellation in calculating denominator.
17087 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17089 down expression to avoid unexpected rounding in newer GCCs.
17090 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17091
33f244f4
DM
170922012-04-26 David S. Miller <davem@davemloft.net>
17093
17094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17095 long-double compat symbols.
17096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17109
cfa1f3e8
DM
171102012-04-25 David S. Miller <davem@davemloft.net>
17111
17112 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17113 HWCAP_* values only after the memory barriers have been defined.
17114 (atomic_full_barrier): Define.
17115 (atomic_read_barrier): Define.
17116 (atomic_write_barrier): Define.
17117
6e236b92
SP
171182012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17119
17120 * shlib-versions: Add libgcc_s version information.
17121 * sysdeps/generic/libgcc_s.h: Remove.
17122 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17123 libgcc_s.h.
17124 * sysdeps/gnu/unwind-resume.c: Likewise.
17125 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17126
aab39a09
DM
171272012-04-25 David S. Miller <davem@davemloft.net>
17128
17129 * sysdeps/unix/sparc/brk.S: Delete.
17130 * sysdeps/unix/sparc/dl-brk.S: Delete.
17131 * sysdeps/unix/sparc/pipe.S: Delete.
17132 * sysdeps/unix/sparc/sysdep.S: Delete.
17133 * sysdeps/unix/sparc/sysdep.h: Delete.
17134 * sysdeps/unix/sparc/vfork.S: Delete.
17135 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17136 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17137 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17138 ret_ERRVAL, r0, r1, MOVE): Define.
17139 (JUMPTARGET): Remove.
17140 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17141 sysdeps/unix/sparc/sysdep.h
17142 (ENTRY, END): Remove.
17143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17144
a3cc4f48
JM
171452012-04-25 Joseph Myers <joseph@codesourcery.com>
17146
2ed8cda2
JM
17147 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17148 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17149 -DIS_IN_build.
17150
35d76d59
JM
17151 * timezone/README: Update upstream location and email address for
17152 tzcode and tzdata.
17153 * timezone/zdump.c: Update from tzcode 2012b.
17154 * timezone/zic.c: Likewise.
17155
a3cc4f48
JM
17156 * configure.in (libc_cv_as_needed): Remove test.
17157 * configure: Regenerated.
17158 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17159 conditional definition.
17160 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17161 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17162 * config.make.in (have-as-needed): Remove variable.
17163
ceab42c3
SP
171642012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17165 Paul Pluzhnikov <ppluzhnikov@google.com>
17166
17167 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17168 strings correctly.
17169
3ce2865f
CLT
171702012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17171
17172 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17173 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17174 * sysdeps/sh/strlen.S: Likewise.
17175
f37e0d68
JM
171762012-04-24 Joseph Myers <joseph@codesourcery.com>
17177
ae186e9a
JM
17178 * sysdeps/unix/fork.S: Remove file.
17179 * sysdeps/unix/i386/fork.S: Likewise.
17180 * sysdeps/unix/sparc/fork.S: Likewise.
17181
b96914af
JM
17182 * sysdeps/unix/system.c: Remove file.
17183 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17184
f37e0d68
JM
17185 * sysdeps/unix/getegid.S: Remove file.
17186 * sysdeps/unix/geteuid.S: Likewise.
17187
87ef29ca
RM
171882012-04-24 Roland McGrath <roland@hack.frob.com>
17189
83bcd236
RM
17190 * scripts/check-localplt.awk: New file.
17191 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17192 of diff.
17193 * scripts/data/localplt-generic.data: Add a comment.
17194
87ef29ca
RM
17195 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17196 NODE when __dir_mkfile failed.
17197 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17198 Reported by Ludovic Courtès <ludo@gnu.org>.
17199
e5a6e567
AJ
172002012-04-24 Andreas Jaeger <aj@suse.de>
17201
17202 * Makerules (common-clean): Also remove gen-as-const-headers
17203 files.
17204
c1820385
JM
172052012-04-24 Joseph Myers <joseph@codesourcery.com>
17206
17207 * Makerules (native-compile): Do not change working directory for
17208 build. Use $(OUTPUT_OPTION) in command.
17209 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17210
94e02fc4
AZ
172112012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17212
17213 [BZ #13886]
17214 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17215 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17216 * math/libm-test.inc (floor_test): Add more tests.
17217 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17218
3a533ca3
JM
172192012-04-24 Joseph Myers <joseph@codesourcery.com>
17220
940ab4b3
JM
17221 * sysdeps/unix/getdents.c: Remove file.
17222 * sysdeps/unix/sysv/getdents.c: Likewise.
17223 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17224
90e037bd
JM
17225 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17226 sysdeps/unix/mman/syscalls.list.
17227 (mmap): Likewise.
17228 (mprotect): Likewise.
17229 (msync): Likewise.
17230 (munmap): Likewise.
17231 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17232 * sysdeps/unix/mman/syscalls.list: Remove.
17233 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17234
3a533ca3
JM
17235 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17236 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17237 * configure: Regenerated.
17238 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17239 $(libgcc_s_suffix).
17240 * config.make.in (libgcc_s_suffix): Remove variable.
17241
1ad743de
JM
172422012-04-23 Joseph Myers <joseph@codesourcery.com>
17243
4ad451e2
JM
17244 * sysdeps/unix/sysv/gethostname.c: Move to ...
17245 * sysdeps/posix/gethostname.c: ... here.
17246
5e37ce39
JM
17247 * sysdeps/unix/execve.S: Remove file.
17248
1ad743de
JM
17249 * sysdeps/unix/_exit.S: Remove file.
17250
4e681b5b
AJ
172512012-04-23 Andreas Jaeger <aj@suse.de>
17252
17253 [BZ #13739]
17254 * manual/Makefile: Remove make dist support, there's no
17255 need for a stand-alone documentation tar ball.
17256 (TEXI2DVI): Define always, it's not in Makeconfig.
17257 (dist): Removed.
17258 (tar-it): Removed.
17259 (edition): Removed.
17260 (glibc-doc-$(edition).tar): Removed
17261 (%.Z): Removed.
17262 (%.gz): Removed.
17263 (%.uu): Removed.
17264 (ETAGS): Remove, it's in Makeconfig.
17265 (move-if-change): Remove, it's in Makeconfig.
17266
38686a03 172672012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
17268
17269 [BZ #13970]
17270 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17271 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17272 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17273 (strtod_l, strtof_l, strtold_l): Remove __wur.
17274 It is not necessarily an error to ignore strtol's return value.
17275 One can reliably look at the stored endptr to decide whether
17276 the number had valid syntax.
17277
7c0616fa
AJ
172782012-04-21 Andreas Jaeger <aj@suse.de>
17279
803cb6b7 17280 [BZ #13739]
7c0616fa
AJ
17281 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17282
b0fe253f
JM
172832012-04-21 Joseph Myers <joseph@codesourcery.com>
17284
17285 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17286 * sysdeps/unix/sysv/Versions: Remove file.
17287
8280f22d
MT
172882012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17289
17290 [BZ #13927]
17291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17292
75ce411f 172932012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
17294
17295 [BZ #7064]
17296 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17297 version from __vm86.
17298
097d59fa
JM
172992012-04-20 Joseph Myers <joseph@codesourcery.com>
17300
a90f3bcb
JM
17301 * sysdeps/unix/common/lxstat.c: Remove file.
17302 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17303
edc7ea78
JM
17304 * sysdeps/unix/sysv/Makefile: Remove file.
17305
cb78c221
JM
17306 * sysdeps/unix/sysv/direct.h: Remove file.
17307
efa6a45f
JM
17308 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17309 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17310 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17311 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17312 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17313 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17314 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17315
9c9f2d0c
JM
17316 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17317
4541c83b
JM
17318 * sysdeps/unix/xmknod.c: Remove file.
17319 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17320
f5d153a0
JM
17321 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17322
aa746595
JM
17323 * sysdeps/unix/sysv/i386/time.S: Remove file.
17324
cce5905e
JM
17325 * sysdeps/unix/fxstat.c: Remove file.
17326 * sysdeps/unix/xstat.c: Likewise.
17327 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17328
37fa3841
JM
17329 * sysdeps/unix/sysv/sigaction.c: Remove file.
17330
ff1962a3
JM
17331 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17332 (sysdep_headers): Remove variable.
17333 [termio.h not in sysdep_headers] (generated): Likewise.
17334 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17335 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17336 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17337 * sysdeps/unix/sysv/tcflow.c: Likewise.
17338 * sysdeps/unix/sysv/tcflush.c: Likewise.
17339 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17340 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17341 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17342 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17343 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17344
e7740d31
JM
17345 * sysdeps/unix/siglist.c: Remove file.
17346
ee06f18b
JM
17347 * sysdeps/unix/getppid.S: Remove file.
17348
097d59fa
JM
17349 * sysdeps/unix/mkdir.c: Remove file.
17350 * sysdeps/unix/rmdir.c: Likewise.
17351
ff3d51ec
AS
173522012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17353
17354 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17355 ERR_MAX value.
17356 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17357 errlist-compat value.
17358
50f81fd7
DM
173592012-04-18 David S. Miller <davem@davemloft.net>
17360
17361 * sysdeps/generic/memcopy.h (reg_char): Delete.
17362 * debug/strcat_chk.c: Use char, not reg_char.
17363 * debug/strcpy_chk.c: Likewise.
17364 * debug/strncat_chk.c: Likewise.
17365 * debug/strncpy_chk.c: Likewise.
17366 * string/memchr.c: Likewise.
17367 * string/memrchr.c: Likewise.
17368 * string/rawmemchr.c: Likewise.
17369 * string/strcat.c: Likewise.
17370 * string/strchr.c: Likewise.
17371 * string/strchrnul.c: Likewise.
17372 * string/strcmp.c: Likewise.
17373 * string/strcpy.c: Likewise.
17374 * string/strncat.c: Likewise.
17375 * string/strncmp.c: Likewise.
17376 * string/strncpy.c: Likewise.
17377
8ff41c46
WS
173782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17379
17380 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17381 __builtin_memcopy is called when src and dest ranges are known to not
17382 overlap.
17383
6b652f46
WS
173842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17385
17386 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17387 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17388 fwd_align_merge macro call.
17389 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17390 bwd_align_merge macro call.
17391 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17392
b282631e
WS
173932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17394
17395 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17396 bwd_align_merge macros.
17397 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17398 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17399 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17400
95aa737c
DM
174012012-04-18 David S. Miller <davem@davemloft.net>
17402
17403 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17404
7a99a614
AJ
174052012-04-18 Andreas Jaeger <aj@suse.de>
17406
17407 [BZ# 6794]
17408 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17409 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17410 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17411
17412 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17413 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17414 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17415
17416 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17417 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17418 Adjust for changed ldbl-128 files.
17419
17420 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17421 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17422 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17423
e5270c23
DM
174242012-04-17 David S. Miller <davem@davemloft.net>
17425
17426 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17427
fb5e92c9
AS
174282012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17429
17430 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17431 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17432 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17433 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17434 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17435 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17436
76da7265
AZ
174372012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17438
17439 [BZ #6794]
17440 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17441 * math/libm-test.inc: Add ilogb errno and exception tests.
17442 * math/w_ilogb.c: New file: ilogb wrapper.
17443 * math/w_ilogbf.c: New file: ilogbf wrapper.
17444 * math/w_ilogbl.c: New file: ilogbl wrapper.
17445 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17446 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17447 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17448 exception being thrown with 0.0 as argument.
17449 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17450 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17451 exception being thrown with 0.0 as argument.
17452 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17453 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17454 exception being thrown with 0.0 as argument.
17455 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17456 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17457 exception being thrown with 0.0 as argument.
17458 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17459 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17460 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17461 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17462 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17463 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17464 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17465 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17466 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17467
0396e69d
PB
174682012-04-17 Petr Baudis <pasky@ucw.cz>
17469
17470 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17471 with altivec.
17472
750b5926
MP
174732012-04-16 Marek Polacek <polacek@redhat.com>
17474
17475 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17476
751728a1
MP
174772012-04-16 Marek Polacek <polacek@redhat.com>
17478
17479 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17480 operands of fdivp instruction.
17481
34a27407
L
174822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17483
17484 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17485 * elf/tst-auditmod3b.c: Likewise.
17486 * elf/tst-auditmod4b.c: Likewise.
17487 * elf/tst-auditmod5b.c: Likewise.
17488 * elf/tst-auditmod6b.c: Likewise.
17489 * elf/tst-auditmod6c.c: Likewise.
17490 * elf/tst-auditmod7b.c: Likewise.
17491 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17492 * sysdeps/x86_64/preconfigure.in: Likewise.
17493 * sysdeps/x86_64/preconfigure: Regenerated.
17494
7e73e17d
L
174952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17496
17497 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17498 __ILP32__.
17499
c7a6ab72
AB
175002012-04-13 Antoine Balestrat <merkil33@gmail.com>
17501
17502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17503 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17504
a9e8e0e0
CL
175052012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17506
17507 [BZ #13973]
17508 * locale/iso-639.def: Fix gl language name. Spotted by
17509 Yaron Shahrabani.
17510
ec98af7d
RM
175112012-04-12 Roland McGrath <roland@hack.frob.com>
17512
17513 [BZ #2074]
17514 * libio/libio.h (__io_write_fn): Update comment.
17515
247c3ede
PB
175162012-04-12 Petr Baudis <pasky@ucw.cz>
17517
17518 [BZ #2074]
17519 * stdio.texi (Hook Functions): The user provided writer function
17520 is not allowed to return -1.
17521
55939d6d
DM
175222012-04-11 David S. Miller <davem@davemloft.net>
17523
17524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17525
90020f5a
MF
175262012-04-11 Mike Frysinger <vapier@gentoo.org>
17527
17528 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17529 Add a leading slash to rtkaio.
17530
288f9098
JM
175312012-04-11 Jim Meyering <meyering@redhat.com>
17532
90020f5a
MF
17533 [BZ #11959]
17534 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17535 It is not necessarily an error to ignore fwrite's return
17536 value. One can reliably use ferror to test for errors after
17537 the fact.
288f9098 17538
4be2b570
L
175392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17540
17541 * bits/types.h (__snseconds_t): New type.
17542 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17543
17544 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17545 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17546 (__SNSECONDS_T_TYPE): Likewise.
17547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17548 (__SNSECONDS_T_TYPE): Likewise.
17549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17550 (__SNSECONDS_T_TYPE): Likewise.
17551
288f9098 175522012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17553
17554 [BZ #2636]
17555 * manual/time.texi (Processor Time): Return type of times is
17556 elapsed real time since an arbitrary point in the past.
17557 (CPU Time): Move CLK_TCK from here...
17558 (Processor Time): ...to here. Correct description.
17559 * manual/conf.texi (Constants for Sysconf): Correct description of
17560 _SC_CLK_TCK.
17561
d7dd4413
DM
175622012-04-10 David S. Miller <davem@davemloft.net>
17563
17564 [BZ #13967]
17565 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17566 where the is a gap between DT_REL(A) and DT_JMPREL.
17567
b46068fc
L
175682012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17569
17570 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17571 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17572 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17573
73d65cc3
SP
175742012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17575
17576 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17577 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17578 (dl_main): Handle --inhibit-cache.
17579 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17580 _dl_inhibit_cache.
17581 * elf/dl-load.c (_dl_map_object): Use it.
17582 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17583
bcc8d661
JM
175842012-04-09 Joseph Myers <joseph@codesourcery.com>
17585
8f9a2fae
JM
17586 [BZ #13872]
17587 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17588 (__ieee754_powl): Saturate large exponents rather than testing for
17589 overflow of y*log2(x).
17590 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17591 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17592 exceptions.
17593
bcc8d661
JM
17594 [BZ #11521]
17595 * math/s_ctan.c: Include <float.h>.
17596 (__ctan): Avoid internal overflow or cancellation in calculating
17597 denominator.
17598 * math/s_ctanf.c: Likewise.
17599 * math/s_ctanl.c: Likewise.
17600 * math/s_ctanh.c: Likewise.
17601 * math/s_ctanhf.c: Likewise.
17602 * math/s_ctanhl.c: Likewise.
17603 * math/libm-test.inc (ctan_test): Add more tests.
17604 (ctanh_test): Likewise.
17605 * sysdeps/i386/fpu/libm-test-ulps: Update.
17606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17607
823fbbb4
AJ
176082012-04-09 Andreas Jaeger <aj@suse.de>
17609
03879793
AJ
17610 [BZ #6894]
17611 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17612 is an optional BSD extension.
17613
823fbbb4
AJ
17614 [BZ #10254]
17615 * manual/stdio.texi (Opening Streams): Document additional fopen
17616 parameters.
17617
8de131cb
RM
176182012-04-09 Roland McGrath <roland@hack.frob.com>
17619
17620 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17621 %eax without telling the compiler.
17622
c0ed9d7d
CD
176232012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17624
17625 [BZ # 13963]
17626 * manual/install.texi: Use sourceware.org.
17627
c483f6b4
JM
176282012-04-09 Joseph Myers <joseph@codesourcery.com>
17629
d7dd9453
JM
17630 [BZ #13873]
17631 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17632 (__ieee754_pow): Generate overflow and underflow using huge*huge
17633 and tiny*tiny rather than just returning constant infinity or zero
17634 for large exponents.
17635 * math/libm-test.inc (pow_test): Require overflow exceptions for
17636 applicable cases of large exponents.
17637
c483f6b4
JM
17638 [BZ #706]
17639 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17640 (__ieee754_pow): Use iterative multiplication algorithm only for
17641 integer exponents with absolute value below 1024. Check for odd
17642 integer exponents when using algorithm for real exponents.
17643 * math/libm-test.inc (pow_test): Add more tests.
17644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17645
d2de7579
JM
176462012-04-08 Joseph Myers <joseph@codesourcery.com>
17647
17648 [BZ #13705]
17649 * math/libm-test.inc (exp_test): Do not allow overflow exception
17650 on underflow test.
17651
f77f1232
AJ
176522012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17653
17654 [BZ #13705]
17655 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17656 instead of __kernel_standard_f.
17657
3884932b
MF
176582012-04-08 Mike Frysinger <vapier@gentoo.org>
17659
17660 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17661 * sysdeps/x86_64/memset_chk.S: Likewise.
17662
54472e9c
AJ
176632012-04-08 Andreas Jaeger <aj@suse.de>
17664
6ab0fbfc
AJ
17665 [BZ #10153]
17666 * manual/startup.texi (Environment Access): Describe return value
17667 for putenv and setenv.
17668
61efba8c
AJ
17669 [BZ #6895]
17670 * manual/filesys.texi (Directory Entries): Add description for
17671 DT_LNK.
17672
95c3f29a
AJ
17673 [BZ #6890]
17674 * manual/filesys.texi (Directory Entries): Clarify that it's file
17675 system not operating system in the description of DT_UNKNOWN.
17676
54472e9c
AJ
17677 [BZ #6578]
17678 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17679
624254b1
SC
176802012-04-08 Stephen Compall <s11@member.fsf.org>
17681
17682 [BZ #6649]
17683 * manual/llio.texi (Opening and Closing Files): Add cross
17684 reference to explain mode argument.
17685
1e4920e0
MF
176862012-04-07 Mike Frysinger <vapier@gentoo.org>
17687
17688 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17689 * sysdeps/x86_64/memset_chk.S: Likewise.
17690
5ed848f3
DM
176912012-04-07 David S. Miller <davem@davemloft.net>
17692
17693 * elf/elf.h (R_SPARC_WDISP10): Define.
17694 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17695 R_SPARC_SIZE32.
17696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17697 R_SPARC_SIZE64 and R_SPARC_H34.
17698
96154cd8
CD
176992012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17700
17701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17702 conditions and remove no longer applicable assertion.
17703
9904dc47
L
177042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17705
17706 * bits/byteswap.h: Include <features.h>.
17707 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17708 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17709
f8887d0a
L
177102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17711
17712 * bits/byteswap.h (__bswap_16): Removed.
17713 Include <bits/byteswap-16.h> to get __bswap_16.
17714 * sysdeps/i386/bits/byteswap.h: Likewise.
17715 * sysdeps/s390/bits/byteswap.h: Likewise.
17716 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17717 * bits/byteswap-16.h: New file.
17718 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17719 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17720 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17721 * string/Makefile (headers): Add bits/byteswap-16.h.
17722
62470f60
PP
177232012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17724
17725 [BZ #13895]
17726 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17727 extra indirection.
17728 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17729 * nss/tst-nss-static.c: New.
17730
4dad7bab
RM
177312012-04-06 Robert Millan <rmh@gnu.org>
17732
17733 [BZ #6486]
17734 * manual/llio.texi (File Position Primitive): lseek
17735 refers to WHENCE when it really means OFFSET.
17736
e9142a17
AJ
177372012-04-06 Andreas Jaeger <aj@suse.de>
17738
2c040eff
AJ
17739 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17740 strncmp declarations.
17741
e9142a17
AJ
17742 * abilist/libc.abilist: Add __poll and __ppoll.
17743
ff9f1c5f
DM
177442012-04-05 David S. Miller <davem@davemloft.net>
17745
dcd2ae90
DM
17746 * scripts/check-local-headers.sh: Accept a host triplet in the
17747 path matched by the exclude regexp.
17748
993eb054
DM
17749 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17750 definition.
17751 * sysdeps/powerpc/powerpc32/dl-machine.h
17752 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17753 * sysdeps/s390/s390-32/dl-machine.h
17754 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17755 * sysdeps/sparc/sparc32/dl-machine.h
17756 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17757 * sysdeps/sparc/sparc64/dl-machine.h
17758 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17759
ff9f1c5f
DM
17760 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17761 lazy binding.
48e2e132 17762 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17763 undefined symbol errors.
17764
48e2e132 17765 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17766 DT_NEEDED entries.
17767
e80d6f94
MM
177682012-04-05 Michael Matz <matz@suse.de>
17769
17770 [BZ #13592]
17771 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17772
349fa79f
AJ
177732012-04-05 Andreas Jaeger <aj@suse.de>
17774
17775 [BZ #13908]
17776 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17777 comment.
17778
f402708f
KK
177792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17780
17781 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17782 which ROUND is no valid rounding mode.
17783
2ecccfc9
KK
177842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17785
17786 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17787 read again.
17788 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17789
8a53f50f
KK
177902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17791
17792 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17793 an exception using FPU order intentionally.
17794
177952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17796
17797 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17798 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17799 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17800 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17801
d653abb7
SJ
178022012-04-05 Simon Josefsson <simon@josefsson.org>
17803
17804 [BZ #12340]
17805 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17806 EINVAL when BUFLEN is too smal.
17807
c3b1bf7d
TS
178082012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17809
17810 [BZ #13553]
17811 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17812 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17813
b1aa60f3
AJ
178142012-04-03 Andreas Jaeger <aj@suse.de>
17815
c3b1bf7d 17816 [BZ #13938]
67f60a26
AJ
17817 * manual/setjmp.texi (System V contexts): Fix sentence.
17818
b1aa60f3
AJ
17819 [BZ #13926]
17820 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17821 New macro for this case.
17822 [!__GNUC__] (__bswap_64): New inline function for this case.
17823 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17824 * bits/byteswap.h: Likewise.
17825 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17826 ull, guard with __GLIBC_HAVE_LONG_LONG.
17827
17828 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17829 __GLIBC_HAVE_LONG_LONG.
17830
17831 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17832 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17833
39c59c35
TMQMF
178342012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17835
17836 [BZ #13691]
17837 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17838 inptr and inend, rather than using last_ch.
17839
135ffda8
DM
178402012-04-02 David S. Miller <davem@davemloft.net>
17841
17842 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17843 * stdio-common/printf-parse.h (read_int): Change return type to
17844 'int', return -1 on INT_MAX overflow.
17845 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17846 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17847 overflows INT_MAX. Check for overflow of in-format-string precision
17848 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17849 SIZE_MAX not INT_MAX for integer overflow test.
17850 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17851 skip the construct in the format string but do not record anything.
17852 * stdio-common/bug22.c: Adjust to test both width/prevision
17853 INT_MAX overflow as well as total length INT_MAX overflow. Check
17854 explicitly for proper errno values.
17855
228c019e
TS
178562012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17857
302cadd3
TS
17858 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17859 CHAR_MAX.
17860 * string/test-strcmp.c [! WIDE]: Likewise.
17861 * time/tst-mktime2.c: Likewise for INT_MAX.
17862 * string/test-string.h: #include <sys/param.h> for MIN.
17863
228c019e
TS
17864 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17865 * sysdeps/i386/init-first.c (init): Likewise.
17866 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17867 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17868 * sysdeps/sh/init-first.c (init): Likewise.
17869
cfa633f5
UD
178702012-04-01 Ulrich Drepper <drepper@gmail.com>
17871
17872 * po/ru.po: Update from translation team.
d1635ef8 17873 * po/vi.po: Likewise.
cfa633f5 17874
6cd0a5ea
SP
178752012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17876
17877 * resolv/nss_dns/dns-host.c: Merge copyright years.
17878
4b43400f
LD
178792012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17880
17881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17882 Optimize memcpy with prefetch if
17883 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17884 src, dst pointers have unequal 16 byte alignments.
17885
48c41d04
SP
178862012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17887
17888 [BZ #13928]
17889 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17890 from a CNAME entry and return the minimum ttl for the query.
17891 (gaih_getanswer_slice): Likewise.
17892
b8dc394d
JL
178932012-03-30 Jeff Law <law@redhat.com>
17894
17895 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17896 due to long keys.
17897 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17898 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17899
2f5a5ed0
JL
17900 * resolv/nss_dns/dns-host.c: Update copyright year.
17901
1d39e359
UD
179022012-03-30 Ulrich Drepper <drepper@gmail.com>
17903
c030f70c 17904 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17905 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17906
1d39e359
UD
17907 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17908 comments for sendmmsg.
17909
179102012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17911
17912 [BZ #13691]
17913 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17914 with only 1 character between 0x0041 and 0x01b0.
17915 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17916 * wcsmbs/tst-mbsnrtowcs.c: New file.
17917
20fde227
DM
179182012-03-29 David S. Miller <davem@davemloft.net>
17919
17920 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17921 small copies by hand.
17922
984a4237
JL
179232012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17924
17925 [BZ #13761]
17926 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17927 _nss_compat_initgroups_dyn): Fall back to malloc/free
17928 for large group memberships.
17929
18c9d62b
DM
179302012-03-28 David S. Miller <davem@davemloft.net>
17931
88d85d4f
DM
17932 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17933 that branches into memcpy.
17934 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17935 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17936 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17937 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17939 bits.
17940 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17941 implementation too.
17942 * sysdeps/sparc/mempcpy.S: New file.
17943
e5aa83e1
DM
17944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17945 the IFUNC routine in the libc case.
17946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17947
88570753
DM
17948 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17949 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17950 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17951 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17952 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17953 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17954 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17955 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17956
249d7567
DM
17957 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17958 loop to 256 bytes instead of 64 bytes and fix test signedness.
17959
18c9d62b
DM
17960 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17961 * sysdeps/sparc/sparc32/Makefile: rather than here...
17962 * sysdeps/sparc/sparc64/Makefile: and here.
17963
05f3d1f6
UD
179642012-03-28 Ulrich Drepper <drepper@gmail.com>
17965
17966 * malloc/mallocbug.c: Avoid warnings about unused variables.
17967
86ae07a8
JL
179682012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17969
17970 [BZ #13760]
17971 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17972 in the right place. Discard and retry query if response is
17973 larger than input buffer size.
17974
41bf21a1
JM
179752012-03-28 Joseph Myers <joseph@codesourcery.com>
17976
d6270972
JM
17977 [BZ #369]
17978 [BZ #2678]
17979 [BZ #3866]
17980 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17981 x for large integer exponent.
17982 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17983 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17984 sign of result as needed afterwards.
17985 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17986 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17987 result for underflowing pow the same as for overflow.
17988 (__kernel_standard_l): Handle powl overflow and underflow here
17989 rather than calling __kernel_standard.
17990 * math/libm-test.inc (pow_test): Add more tests.
17991
414fca03 17992 [BZ #3868]
41bf21a1
JM
17993 [BZ #13879]
17994 [BZ #13910]
17995 [BZ #13911]
17996 [BZ #13912]
17997 [BZ #13913]
17998 [BZ #13915]
17999 [BZ #13916]
18000 [BZ #13917]
18001 [BZ #13918]
18002 [BZ #13919]
18003 [BZ #13920]
18004 [BZ #13921]
18005 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18006 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18007 (__kernel_standard_l): New function.
18008 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18009 __kernel_standard.
18010 * math/w_acosl.c (__acosl): Likewise.
18011 * math/w_asinl.c (__asinl): Likewise.
18012 * math/w_atan2l.c (__atan2l): Likewise.
18013 * math/w_atanhl.c (__atanhl): Likewise.
18014 * math/w_coshl.c (__coshl): Likewise.
18015 * math/w_exp10l.c (__exp10l): Likewise.
18016 * math/w_exp2l.c (__exp2l): Likewise.
18017 * math/w_fmodl.c (__fmodl): Likewise.
18018 * math/w_hypotl.c (__hypotl): Likewise.
18019 * math/w_j0l.c (__j0l, __y0l): Likewise.
18020 * math/w_j1l.c (__j1l, __y1l): Likewise.
18021 * math/w_jnl.c (__jnl, __ynl): Likewise.
18022 * math/w_lgammal.c (__lgammal): Likewise.
18023 * math/w_log10l.c (__log10l): Likewise.
18024 * math/w_log2l.c (__log2l): Likewise.
18025 * math/w_logl.c (__logl): Likewise.
18026 * math/w_powl.c (__powl): Likewise.
18027 * math/w_remainderl.c (__remainderl): Likewise.
18028 * math/w_scalbl.c (sysv_scalbl): Likewise.
18029 * math/w_sinhl.c (__sinhl): Likewise.
18030 * math/w_sqrtl.c (__sqrtl): Likewise.
18031 * math/w_tgammal.c (__tgammal): Likewise.
18032 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18033 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18034 * math/libm-test.inc (acos_test): Add more tests.
18035 (acosh_test): Likewise.
18036 (asin_test): Likewise.
18037 (atanh_test): Likewise.
18038 (exp_test): Likewise.
18039 (exp10_test): Likewise.
18040 (exp2_test): Likewise.
18041 (expm1_test): Likewise.
18042 (lgamma_test): Likewise.
18043 (log_test): Likewise.
18044 (log10_test): Likewise.
18045 (log1p_test): Likewise.
18046 (log2_test): Likewise.
18047 (pow_test): Do not allow some spurious overflow exceptions.
18048 (sqrt_test): Add more tests.
18049 (tgamma_test): Likewise.
18050 (y0_test): Likewise.
18051 (y1_test): Likewise.
18052 (yn_test): Likewise.
18053
dd62fda6
AB
180542012-03-27 Anton Blanchard <anton@samba.org>
18055
18056 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18057 MAP_HUGETLB.
18058 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18059 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18060 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18061
1e3cdfda
AJ
180622012-03-27 David S. Miller <davem@davemloft.net>
18063
b855ab85
DM
18064 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18065
1e3cdfda
AJ
18066 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18067 have-as-vis3 check.
18068
180692012-03-27 Andreas Jaeger <aj@suse.de>
18070
18071 * sysdeps/x86_64/elf/configure.in: Moved to ...
18072 * sysdeps/x86_64/configure.in: ... here.
18073 * sysdeps/x86_64/elf/start.S: Moved to ...
18074 * sysdeps/x86_64/start.S: ... here.
18075 * sysdeps/x86_64/elf/configure: Delete.
18076
18077 * sysdeps/x86_64/configure.in: Merge contents from
18078 sysdeps/i386/configure.in (without i686 check).
18079
18080 * sysdeps/i386/elf/Versions: Merge into ...
18081 * sysdeps/i386/Versions: ... this.
18082 * sysdeps/i386/elf/Versions: Delete file.
18083 * sysdeps/i386/elf/start.S: Moved to ...
18084 * sysdeps/i386/start.S: ...here.
18085 * sysdeps/i386/elf/configure.in: Merge into...
18086 * sysdeps/i386/configure.in: ...here.
18087 * sysdeps/i386/elf/configure.in: Delete file.
18088 * sysdeps/i386/elf/configure: Delete file.
18089
18090 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18091 * debug/backtracesyms.c: ... here.
18092 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18093 * debug/backtracesymsfd.c: ... here.
18094 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18095 * sysdeps/generic/ifunc-sel.h: ... here.
18096
18097 * sysdeps/unix/i386/start.c: Delete file.
18098 * sysdeps/unix/sparc/start.c: Delete file.
18099 * sysdeps/unix/start.c: Delete file.
18100
18101 * sysdeps/sh/elf/configure.in: Moved to ...
18102 * sysdeps/sh/configure.in: ... here.
18103 * sysdeps/sh/elf/start.S: Moved to ...
18104 * sysdeps/sh/start.S: ... here.
18105 * sysdeps/sh/elf/configure: Delete file.
18106
18107 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18108 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18109 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18110 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18111 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18112 * sysdeps/powerpc/powerpc64/start.S: here.
18113 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18114 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18115 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18116 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18117 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18118
18119 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18120 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18121 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18122 * sysdeps/powerpc/powerpc32/start.S: ... here.
18123 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18124 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18125 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18126
18127 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18128 * sysdeps/powerpc/ifunc-sel.h: ... here.
18129 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18130 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18131
18132 * sysdeps/sparc/elf/configure.in: Moved to ...
18133 * sysdeps/sparc/configure.in: ... here.
18134 * sysdeps/sparc/elf/configure: Delete file.
18135 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18136 * sysdeps/sparc/sparc32/start.S: ... here.
18137 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18138 * sysdeps/sparc/sparc64/start.S: ... here.
18139 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18140 * sysdeps/sparc/sparc32/Makefile: ... this.
18141 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18142 * sysdeps/sparc/sparc64/Makefile: ... this.
18143
18144 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18145 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18146 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18147 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18148 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18149 * sysdeps/s390/s390-32/setjmp.S: ... here.
18150 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18151 * sysdeps/s390/s390-32/configure.in: ... here.
18152 * sysdeps/s390/s390-32/elf/configure: Delete file.
18153 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18154 * sysdeps/s390/s390-32/start.S: ... here.
18155
18156 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18157 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18158 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18159 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18160 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18161 * sysdeps/s390/s390-64/setjmp.S: ... here.
18162 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18163 * sysdeps/s390/s390-64/configure.in: ... here
18164 * sysdeps/s390/s390-64/elf/configure: Delete file.
18165 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18166 * sysdeps/s390/s390-64/start.S: ... here.
18167 * sysdeps/s390/s390-64/elf/configure: Delete.
18168
18169 * configure.in: Remove support for elf directories in sysdeps.
18170
18171 * configure: Regenerated.
18172 * sysdeps/i386/configure: Regenerated.
18173 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18174 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18175 * sysdeps/s390/s390-32/configure: Regenerated.
18176 * sysdeps/s390/s390-64/configure: Regenerated.
18177 * sysdeps/sh/configure: Regenerated.
18178 * sysdeps/sparc/configure: Regenerated.
18179 * sysdeps/x86_64/configure: Regenerated.
18180
a3f61311
AS
181812012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18182
c876e002
AS
18183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18184
a3f61311
AS
18185 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18186 denormal result into account.
18187
ac4c54f0
RM
181882012-03-25 Roland McGrath <roland@hack.frob.com>
18189
18190 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18191 Reported by Allan McRae <allan@archlinux.org>.
18192
6a9b9c02
JL
181932012-03-23 Jeff Law <law@redhat.com>
18194
18195 * nss/getnssent.c (__nss_getent): Fix typo.
18196
4c42a0c1
DM
181972012-03-23 David S. Miller <davem@davemloft.net>
18198
18199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18200
1532c7ac
L
182012012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18202
18203 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18204 to pad to uint64_t for each field.
18205 (dl_tls_index): Replace unsigned long with uint64_t.
18206
3ff42526
PP
182072012-03-23 Daniel Jacobowitz <dmj@google.com>
18208 Paul Pluzhnikov <ppluzhnikov@google.com>
18209
18210 [BZ #6528]
18211 * grp/Makefile (otherlibs): Don't set it.
18212 * inet/Makefile (otherlibs): Likewise.
18213 * login/Makefile (otherlibs): Likewise.
18214 * nscd/Makefile (otherlibs): Likewise.
18215 * posix/Makefile (otherlibs): Likewise.
18216 * pwd/Makefile (otherlibs): Likewise.
18217 * rt/Makefile (otherlibs): Likewise.
18218 * sunrpc/Makefile (otherlibs): Likewise.
18219 * nss/Makefile (otherlibs): Likewise.
18220 Add libnss_files to routines and static-only-routines.
18221 ($(objpfx)getent): Remove rule.
18222 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18223 static-only-routines.
18224
7c69cd14
JM
182252012-03-22 Joseph Myers <joseph@codesourcery.com>
18226
18227 [BZ #13892]
18228 * math/s_cexp.c: Include <float.h>.
18229 (__cexp): Handle exp result overflowing not necessarily
18230 overflowing both real and imaginary parts of result.
18231 * math/s_cexpf.c: Likewise.
18232 * math/s_cexpl.c: Likewise.
18233 * math/libm-test.inc (cexp_test): Add more tests.
18234 * sysdeps/i386/fpu/libm-test-ulps: Update.
18235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18236
81b035fe
L
182372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18238
18239 * include/link.h (ELFW): New macro.
18240 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18241 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18242
1da7940c
L
182432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18244
18245 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18246 with uint64_t.
18247
b749dbb9
L
182482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18249
18250 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18251 declaration.
18252 (struct La_x32_retval): Likewise.
18253
2ff87f3f
L
182542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18255
18256 * sysdeps/x86_64/preconfigure.in: New file.
18257 * sysdeps/x86_64/preconfigure: New generated file.
18258
c0df8e69
JM
182592012-03-22 Joseph Myers <joseph@codesourcery.com>
18260
48e44791
JM
18261 [BZ #13824]
18262 * math/e_exp2l.c: Include <float.h>.
18263 (__ieee754_exp2l): Handle overflow and underflow cases
18264 separately. Only pass fractional part of argument to
18265 __ieee754_expl.
18266 * math/libm-test.inc (exp2_test): Add more tests.
18267
c0df8e69
JM
18268 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18269 negating x to take absolute value.
18270 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18271 Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18274 Likewise.
18275 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18276 computing low part if x was negated.
18277 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18278
c8e43ba7
L
182792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18280
18281 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18282 la_x32_gnu_pltexit.
18283 (pltexit): Cast int_retval to ptrdiff_t.
18284 * elf/tst-auditmod3b.c: Likewise.
18285 * elf/tst-auditmod4b.c: Likewise.
18286 * elf/tst-auditmod5b.c: Likewise.
18287 * elf/tst-auditmod6b.c: Likewise.
18288 * elf/tst-auditmod6c.c: Likewise.
18289 * elf/tst-auditmod7b.c: Likewise.
18290
18291 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18292 and x32_gnu_pltexit.
18293
18294 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18295 __ELF_NATIVE_CLASS.
18296 (La_x32_regs): New macro.
18297 (La_x32_retval): Likewise.
18298 (la_x32_gnu_pltenter): New function prototype.
18299 (la_x32_gnu_pltexit): Likewise.
18300
7998fa78
AS
183012012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18302
dcb33988
AS
18303 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18304 exponent.
18305
233fc563
AS
18306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18307
7998fa78
AS
18308 * configure.in (libc_cv_cc_nofma): Check for option to disable
18309 generation of FMA instructions.
18310 * configure: Regenerate.
18311 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18312 * sysdeps/ieee754/dbl-64/Makefile: New file.
18313 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18314 Remove brandred-fma4.
18315 (CFLAGS-brandred-fma4.c): Remove.
18316 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18317 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18318 define.
18319 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18320 define.
18321
8e95c99a
L
183222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18323
18324 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18325 LLONG_MAX != LONG_MAX.
18326 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18327 (_fitoa_word): Likewise.
18328 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18329 LLONG_MAX != LONG_MAX.
18330 * stdio-common/_itowa.h: Include <_itoa.h>.
18331 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18332 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18333 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18334 only if not defined.
18335 (_ITOA_WORD_TYPE): Likewise.
18336 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18337 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18338
6f4db457
DM
183392012-03-21 David S. Miller <davem@davemloft.net>
18340
18341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18342
7785fe5a
L
183432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18344
18345 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18346 of x86_64 when setting libc_cv_slibdir, libdir and
18347 libc_cv_localedir.
18348 * sysdeps/unix/sysv/linux/configure: Regenerated.
18349
4535cd55
JM
183502012-03-21 Joseph Myers <joseph@codesourcery.com>
18351
18352 * manual/lang.texi (Old Varargs): Remove section.
18353 (How Variadic): Update menu.
18354 (va_start): Do not mention varargs.h.
18355
17228132
TS
183562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18357 Joseph Myers <joseph@codesourcery.com>
18358
18359 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18360 link test.
18361 * configure: Regenerated.
18362
8149f976
TS
183632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18364
05f3d1f6
UD
18365 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18366 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18367 conformtest.pl
8149f976 18368
1a4ac776
JM
183692012-03-21 Joseph Myers <joseph@codesourcery.com>
18370
be22ce65
JM
18371 * NOTES: Remove.
18372 * Makefile (files-for-dist): Remove NOTES.
18373 (NOTES): Remove rule.
18374 * README: Don't refer to NOTES.
18375 * manual/creature.texi: Don't include macros.texi.
18376 * manual/intro.texi (creature.texi): Remove comment referring to
18377 NOTES.
18378
40b601fb
JM
18379 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18380 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18381 * configure: Regenerated.
18382 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18383 LIBC_TRY_CC_OPTION.
18384 (libc_cv_as_i686): Likewise.
18385 (libc_cv_cc_avx): Likewise.
18386 (libc_cv_cc_sse2avx): Likewise.
18387 (libc_cv_cc_fma4): Likewise.
18388 (libc_cv_cc_novzeroupper): Likewise.
18389 * sysdeps/i386/configure: Regenerated.
18390
1a4ac776
JM
18391 [BZ #13883]
18392 * sysdeps/i386/fpu/s_cexp.S: Remove.
18393 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18394 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18395 * math/libm-test.inc (cexp_test): Add more tests.
18396 * sysdeps/i386/fpu/libm-test-ulps: Update.
18397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18398
a458e7fe
AM
183992012-03-21 Allan McRae <allan@archlinux.org>
18400
18401 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18402
0cb7efc5
JM
184032012-03-21 Joseph Myers <joseph@codesourcery.com>
18404
18405 [BZ #13871]
18406 * math/w_exp2.c: Do not include <float.h>.
18407 (o_threshold, u_threshold): Remove.
18408 (__exp2): Calculate result before checking finiteness and calling
18409 __kernel_standard.
18410 * math/w_exp2f.c: Likewise.
18411 * math/w_exp2l.c: Likewise.
18412 * math/libm-test.inc (exp2_test): Require overflow exception for
18413 1e6 input.
2460d3aa
JM
18414
18415 [BZ #3866]
18416 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18417 range of signed 64-bit integers before using fistpll. Remove
18418 checks for whether integers fit in mantissa bits.
18419 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18420 the range of signed 32-bit integers before using fistpl. Remove
18421 checks for whether integers fit in mantissa bits.
18422 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18423 (__ieee754_powl): Test for y outside the range of signed 64-bit
18424 integers before using fistpll. Reduce 64-bit values to 63-bit
18425 ones as needed.
18426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18427 divide-by-zero is raised for zero to large negative powers.
18428 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18429 (__ieee754_powl): Test for y outside the range of signed 64-bit
18430 integers before using fistpll. Reduce 64-bit values to 63-bit
18431 ones as needed.
18432 * math/libm-test.inc (pow_test): Add more tests.
18433
eb96ffb0
L
184342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18435
18436 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18437 <stdio-common/_itoa.h>.
18438 * debug/segfault.c: Likewise.
18439 * elf/dl-cache.c: Likewise.
18440 * elf/dl-minimal.c: Likewise.
18441 * elf/dl-misc.c: Likewise.
18442 * elf/dl-sysdep.c: Likewise.
18443 * elf/dl-version.c: Likewise.
18444 * elf/rtld.c: Likewise.
18445 * hurd/hurdsock.c: Likewise.
18446 * hurd/lookup-retry.c: Likewise.
18447 * malloc/malloc.c: Likewise.
18448 * malloc/mtrace.c: Likewise.
18449 * nscd/nscd_getgr_r.c: Likewise.
18450 * nscd/nscd_getpw_r.c: Likewise.
18451 * nscd/nscd_getserv_r.c: Likewise.
18452 * posix/getopt_init.c: Likewise.
18453 * posix/wordexp.c: Likewise.
18454 * stdio-common/_itoa.c: Likewise.
18455 * stdio-common/printf_fphex.c: Likewise.
18456 * stdio-common/vfprintf.c: Likewise.
18457 * string/_strerror.c: Likewise.
18458 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18459 * sysdeps/i386/i686/hp-timing.h: Likewise.
18460 * sysdeps/mach/_strerror.c: Likewise.
18461 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18462 * sysdeps/mach/hurd/sethostid.c: Likewise.
18463 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18464 * sysdeps/mach/xpg-strerror.c: Likewise.
18465 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18466 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18467 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18468 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18469 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18470 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18471 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18472 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18473 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18474 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18475 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18476 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18477 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18478 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18479 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18480 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18481 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18482 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18483 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18484 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18485 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18486
18487 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18488
18489 * stdio-common/_itoa.h: Moved to ...
18490 * sysdeps/generic/_itoa.h: Here.
18491
18492 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18493
18494 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18495 instead of "_itoa.h" and "_itowa.h".
18496 * stdio-common/vfprintf.: Likewise.
18497
d1af992d
L
184982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18499
18500 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18501 <bits/wordsize.h>.
18502 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18503 (__signbit): Likwise.
18504 (llrintf): Likwise.
18505 (llrint): Likwise.
18506
114883e0
L
185072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18508
18509 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18510 __WORDSIZE != 64.
18511
c135cc1b
JM
185122012-03-20 Joseph Myers <joseph@codesourcery.com>
18513
18514 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18515 OVERFLOW_EXCEPTION_OK.
18516 * math/libm-test.inc ("Philosophy"): Update comment about
18517 exception testing.
18518 (OVERFLOW_EXCEPTION): Define.
18519 (OVERFLOW_EXCEPTION_OK): Likewise.
18520 (INVALID_EXCEPTION_OK): Renumber.
18521 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18522 (IGNORE_ZERO_INF_SIGN): Likewise.
18523 (test_exceptions): Handle FE_OVERFLOW.
18524 (exp10_test): Expect overflow exceptions.
18525 (exp2_test): Likewise.
18526 (expm1_test): Likewise.
18527 (nextafter_test): Likewise.
18528 (pow_test): Likewise.
18529 (scalbn_test): Likewise.
18530 (scalbln_test): Likewise.
18531
95443d88
L
185322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18533
18534 * sysdeps/x86_64/bits/atomic.h
18535 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18536 64bit integer.
18537 (atomic_exchange_acq): Likewise.
18538 (__arch_exchange_and_add_body): Likewise.
18539 (__arch_add_body): Likewise.
18540 (atomic_add_negative): Likewise.
18541 (atomic_add_zero): Likewise.
18542
490df6c4
L
185432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18544
c2722551 18545 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18546 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18547
5e52b189
L
185482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18549
18550 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18551 Check __x86_64__ instead of __WORDSIZE.
18552
a9879d4c
L
185532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18554
18555 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18556
5df98260
DM
185572012-03-19 David S. Miller <davem@davemloft.net>
18558
e1497744
DM
18559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18560
5df98260
DM
18561 * sysdeps/sparc/fpu/fenv_private.h: New file.
18562 * sysdeps/sparc/fpu/math_private.h: Use it.
18563 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18564 Remove.
18565 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18566 (libc_feholdexcept_setroundl): Remove.
18567 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18568 Remove.
18569 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18570 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18571
b4c35121
L
185722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18573
18574 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18575 int64_t instead of long int.
18576 (INSERT_WORDS64): Likwise.
18577
56965fd7
L
185782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18579
18580 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18581 _Unwind_GetCFA return to _Unwind_Ptr first.
18582
83d1aec8
JM
185832012-03-19 Joseph Myers <joseph@codesourcery.com>
18584
1897ad44
JM
18585 [BZ #13629]
18586 * math/s_clog.c: Include <float.h>.
18587 (__clog): Scale large or subnormal inputs.
18588 * math/s_clogf.c: Likewise.
18589 * math/s_clogl.c: Likewise.
18590 * math/s_clog10.c: Include <float.h>.
18591 (M_LOG10_2): Define.
18592 (__clog10): Scale large or subnormal inputs.
18593 * math/s_clog10f.c: Likewise.
18594 * math/s_clog10l.c: Likewise.
18595 * math/libm-test.inc (clog_test): Add more tests.
18596 (clog10_test): Likewise.
18597 * sysdeps/i386/fpu/libm-test-ulps: Update.
18598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18599
7726d6a9
JM
18600 [BZ #11451]
18601 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18602 x and y.
18603 * math/libm-test.inc (atan2_test): Add another test.
18604
83d1aec8
JM
18605 * Makerules (common-objdir-compile): Remove.
18606 * sysdeps/unix/Makefile (config-generated): Do not add
18607 $(unix-generated) to variable.
18608 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18609 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18610 Remove rule.
18611 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18612 Likewise.
18613 [generic bits/local_lim.h] (before-compile): Do not append to
18614 variable.
18615 [generic bits/local_lim.h] (common-generated): Likewise.
18616 [generic sys/param.h] (before-compile): Do not append to variable.
18617 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18618 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18619 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18620 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18621 include.
18622 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18623 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18624 [generic sys/param.h] ($(addprefix
18625 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18626 [generic sys/param.h] (common-generated): Do not append to
18627 variable.
18628 [generic sys/param.h] (sysdep_headers): Likewise.
18629 [generic bits/errno.h] (before-compile): Do not append to
18630 variable.
18631 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18632 rule.
18633 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18634 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18635 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18636 [generic bits/errno.h] (common-generated): Do not append to
18637 variable.
18638 [generic bits/ioctls.h] (before-compile): Do not append to
18639 variable.
18640 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18641 rule.
18642 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18643 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18644 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18645 rule.
18646 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18647 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18648 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18649 [generic bits/ioctls.h] (common-generated): Do not append to
18650 variable.
18651 [generic sys/syscall.h] (syscall.h): Remove variable.
18652 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18653 rule.
18654 [generic sys/syscall.h] (before-compile): Do not append to
18655 variable.
18656 [generic sys/syscall.h] (common-generated): Likewise.
18657 * sysdeps/unix/errnos-tmpl.c: Remove file.
18658 * sysdeps/unix/errnos.awk: Likewise.
18659 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18660 * sysdeps/unix/ioctls.awk: Likewise.
18661 * sysdeps/unix/mk-local_lim.c: Likewise.
18662 * sysdeps/unix/snarf-ioctls: Likewise.
18663
4851a949
RH
186642012-03-19 Richard Henderson <rth@twiddle.net>
18665
bd37f2ee
RH
18666 * sysdeps/i386/fpu/fenv_private.h: New file.
18667 * sysdeps/i386/fpu/math_private.h: Use it.
18668 (math_opt_barrier, math_force_eval): Remove.
18669 (libc_feholdexcept_setround_53bit): Remove.
18670 (libc_feupdateenv_53bit): Remove.
18671 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18672 (math_opt_barrier, math_force_eval): Remove.
18673 (libc_feholdexcept): Remove.
18674 (libc_feholdexcept_setround): Remove.
18675 (libc_fetestexcept, libc_fesetenv): Remove.
18676 (libc_feupdateenv_test): Remove.
18677 (libc_feupdateenv, libc_feholdsetround): Remove.
18678 (libc_feresetround): Remove.
18679
d0adc922
RH
18680 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18681 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18682
0fe0f1f8
RH
18683 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18684 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18685 (libc_feupdateenv_testl): New.
18686 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18687 (libc_feupdateenv_testf): New.
18688 (libc_feupdateenv): Use libc_feupdateenv_test.
18689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18690 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18691
eb92c487
RH
18692 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18693 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18694 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18695 (libc_feresetround_noex): New.
18696 (libc_feresetround_noexf): New.
18697 (libc_feresetround_noexl): New.
18698 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18699 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18700 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18701 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18702 SET_RESTORE_ROUND.
18703 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18704 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18705 (__cos): Likewise.
18706 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18707 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18708 SET_RESTORE_ROUND_NOEX.
18709 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18710 SET_RESTORE_ROUND_NOEXF.
18711 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18712 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18713 (libc_feholdsetroundf): New.
18714 (libc_feresetround, libc_feresetroundf): New.
18715
7d2e8012
RH
18716 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18717 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18718 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18719
b4dabbb4
RH
18720 * sysdeps/generic/math_private.h: Include <fenv.h>.
18721 (default_libc_feholdexcept): New.
18722 (default_libc_feholdexcept_setround): New.
18723 (default_libc_fesetenv, default_libc_feupdateenv): New.
18724 (libc_feholdexcept): Only define if undefined.
18725 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18726 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18727 (libc_feholdexcept_setroundl): Likewise.
18728 (libc_feholdexcept_setround_53bit): Likewise.
18729 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18730 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18731 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18732 (libc_feupdateenv_53bit): Likewise.
18733 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18734 (libc_feholdexcept): Convert from macro to inline function.
18735 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18736 (libc_fesetenv, libc_feupdateenv): Likewise.
18737
4851a949
RH
18738 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18739 not previously defined.
18740 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18741 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18742 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18743 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18744 * sysdeps/ieee754/flt-32/math_private.h: New file.
18745 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18746 math_private.h below SET_FLOAT_WORD.
18747 (__isnan, __isinf_ns, __finite): Remove.
18748 (__isnanf, __isinf_nsf, __finitef): Remove.
18749
e79d442e
AS
187502012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18751
18752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18753
90b80344
DM
187542012-03-17 David S. Miller <davem@davemloft.net>
18755
18756 [BZ #6471]
18757 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18758 for 2.16.
18759
edc21804
DM
187602012-03-16 David S. Miller <davem@davemloft.net>
18761
77e927af
DM
18762 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18763 warnings.
18764
374976dd
DM
18765 [BZ #6471]
18766 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18767 properly.
18768 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18769 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18770 sysdep_routines when subdir is sysvipc.
18771 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18772 __getshmlba helper.
18773
edc21804
DM
18774 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18775
473c3ef3
L
187762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18777
18778 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18779 [__LP64__].
18780
eb0f39b6
L
187812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18782
18783 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18784 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18785 (__lround): Renamed to ...
18786 (__llround): This. Replace long int with long long int.
18787 Define lround functions as aliases of llround functions.
18788 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18789
6b6cd74b
L
187902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18791
18792 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18793 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18794 adresses to uintptr_t. Replace "long int" and "unsigned long
18795 int" with "greg_t" on va_arg.
18796
f1a77b01
L
187972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18798
18799 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18800 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18801
18802 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18803 Move e_machine check before EI_CLASS check. Handle x32
18804 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18805 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18806 SKIP_EM_IA_64 and include
18807 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18808
18809 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18810 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18811 (add_system_dir): New macro.
18812
18813 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18814 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18815
11b90b9f
JM
188162012-03-16 Joseph Myers <joseph@codesourcery.com>
18817
c36e1d23
JM
18818 [BZ #2551]
18819 [BZ #2552]
18820 [BZ #2553]
18821 [BZ #2554]
18822 [BZ #2562]
18823 [BZ #2563]
18824 [BZ #2565]
18825 [BZ #2566]
18826 [BZ #2576]
18827 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18828 (y0): Likewise.
18829 * math/w_j0f.c (j0f): Likewise.
18830 (y0f): Likewise.
18831 * math/w_j0l.c (__j0l): Likewise.
18832 (__y0l): Likewise.
18833 * math/w_j1.c (j1): Likewise.
18834 (y1): Likewise.
18835 * math/w_j1f.c (j1f): Likewise.
18836 (y1f): Likewise.
18837 * math/w_j1l.c (__j1l): Likewise.
18838 (__y1l): Likewise.
18839 * math/w_jn.c (jn): Likewise.
18840 (yn): Likewise.
18841 * math/w_jnf.c (jnf): Likewise.
18842 (ynf): Likewise.
18843 * math/w_jnl.c (__jnl): Likewise.
18844 (__ynl): Likewise.
18845 * math/libm-test.inc (j0_test): Add more tests.
18846 (j1_test): Likewise.
18847 (jn_test): Likewise. Add trailing semicolon to existing test.
18848 (y0_test): Likewise.
18849 (y1_test): Likewise.
18850 * sysdeps/i386/fpu/libm-test-ulps: Update.
18851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18852
11b90b9f
JM
18853 [BZ #13851]
18854 [BZ #13854]
18855 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18856 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18857 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18858 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18859 (__tanl): Set errno for infinite argument.
18860 * sysdeps/i386/fpu/mptan.c: Remove.
18861 * sysdeps/i386/fpu/s_tan.S: Likewise.
18862 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18863 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18864 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18865 * math/libm-test.inc (tan_test): Add more tests and enable more
18866 tests for double and long double.
18867 * sysdeps/i386/fpu/libm-test-ulps: Update.
18868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18869
6a1bd2a1
JK
188702012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18871
18872 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18873 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18874
10a803e0
RM
188752012-03-16 Roland McGrath <roland@hack.frob.com>
18876
18877 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18878 * configure.in: Use it for both main tree and add-ons.
18879 * configure: Regenerated.
18880
f196c7f7
L
188812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18882
18883 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18884
8848d99d
JM
188852012-03-16 Joseph Myers <joseph@codesourcery.com>
18886
96cbe7f4
JM
18887 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18888 in comment.
18889
8848d99d
JM
18890 [BZ #13851]
18891 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18892 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18893 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18894 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18895 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18896 infinite argument.
18897 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18898 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18899 != 0 for prec == 2.
18900 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18901 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18902 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18903 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18904 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18905 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18906 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18907 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18908 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18909 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18910 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18911 * math/libm-test.inc (cos_test): Add more tests and enable more
18912 tests for long double.
18913 (sin_test): Likewise.
18914 (sincos_test): Likewise.
18915 * sysdeps/i386/fpu/libm-test-ulps: Update.
18916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18917
dd7f4703
DM
189182012-03-16 David S. Miller <davem@davemloft.net>
18919
18920 * sysdeps/sparc/fpu/math_private.h: New file.
18921
006f1daa
DM
189222012-03-15 David S. Miller <davem@davemloft.net>
18923
c0c83bc8
DM
18924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18925 file.
e6a62e18 18926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18928 file.
e6a62e18
DM
18929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18935 sysdep routines.
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18937
88cb87d9
DM
18938 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18939 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18940
006f1daa 18941 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18943 sparc-ifunc.h
006f1daa 18944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18946 Likewise.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18948 Likewise.
006f1daa
DM
18949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18953 Likewise.
006f1daa
DM
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18959 Likewise.
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18961 Likewise.
006f1daa
DM
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18968 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18969 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18971 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18981 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18984 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18986
11e0098e
AS
189872012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18988
18989 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18990 scaling.
18991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18992
e85b09d0
AJ
189932012-03-15 Andreas Jaeger <aj@suse.de>
18994
18995 [BZ #13852]
18996 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18997 ieee754/flt-32 implementation for sin, cos and sincos.
18998 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18999 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19000 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19001 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19002 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19003 ieee754/flt-32 implementation for tan.
19004
19005 * math/libm-test.inc (cos_test): Enable some large input tests for
19006 float as well
19007 (sin_test): Likewise.
19008 (sincos_test): Likewise.
19009 (tan_test): Add tests for large input.
19010
19011 * sysdeps/i386/fpu/libm-test-ulps: Update.
19012
81c64153
AJ
190132012-03-15 Andreas Jaeger <aj@suse.de>
19014
19015 [BZ #13658]
19016 * math/libm-test.inc (cos_test): Add more test cases.
19017 (sin_test): Likewise.
19018 (sincos_test): Likewise.
19019
7bbfa5c6
AJ
190202012-03-15 Andreas Jaeger <aj@suse.de>
19021
19022 [BZ #13837]
19023 * math/libm-test.inc (cos_test): Add a test case for large input
19024 value.
19025 (sin_test): Likewise.
19026 (sincos_test): Likewise.
19027
190282012-03-15 Andreas Jaeger <aj@suse.de>,
19029 Joseph Myers <joseph@codesourcery.com>
19030
19031 [BZ #13658]
0671f479 19032 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19033 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19034 * sysdeps/i386/fpu/branred.c: Likewise.
19035 * sysdeps/i386/fpu/dosincos.c: Likewise.
19036 * sysdeps/i386/fpu/mpa.c: Likewise.
19037 * sysdeps/i386/fpu/s_cos.S: Likewise.
19038 * sysdeps/i386/fpu/s_sin.S: Likewise.
19039 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19040 * sysdeps/i386/fpu/sincos32.c: Likewise.
19041
19042 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19043 Define.
19044 (libc_feupdateenv_53bit): Define.
19045 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19046 Define.
19047 (libc_feupdateenv_53bit): Define.
19048
19049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19050 53 bit (without extend i386 double precision).
19051
19052 * math/libm-test.inc (sincos_test): Add tests for large input.
19053 (sin): Likewise.
19054 (cos): Likewise.
19055
19056 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19057
9cad04ea
AS
190582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19059
19060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19061
f7062b9a
DM
190622012-03-15 David S. Miller <davem@davemloft.net>
19063
19064 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19066 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19067 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19080 file.
f7062b9a 19081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19083 file.
f7062b9a 19084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19086 file.
f7062b9a 19087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19089 file.
f7062b9a
DM
19090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19091 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19092 fmin/fmax sysdep routines.
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19094
7bd951ff
DM
190952012-03-14 David S. Miller <davem@davemloft.net>
19096
559398ab
DM
19097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19101 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19102 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19103 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19119 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19126 routines.
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19128 file.
559398ab 19129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19131 file.
559398ab 19132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19134 file.
559398ab 19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19137 file.
559398ab 19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19140 file.
559398ab 19141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19143 file.
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19145 file.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19147 file.
19148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19149 file.
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19151 New file.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19153 file.
19154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19155 file.
559398ab 19156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19158 file.
559398ab 19159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19161 file.
559398ab 19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19164 file.
559398ab 19165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19167 VIS3 routines.
559398ab
DM
19168
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19170 New file.
19171
5a1c1e32
DM
19172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19173
eae47a36
DM
19174 * sysdeps/sparc/configure.in: New file.
19175 * sysdeps/sparc/configure: Generate.
19176 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19177 * configure: Regenerate.
19178 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19179 * config.make.in (have-as-vis3): New.
19180 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19181 available use -Av9d instead of -Av9a.
19182 * sysdeps/sparc/sparc64/Makefile: Likewise.
19183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
19184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19185 New file.
19186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19187 file.
19188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19189 New file.
19190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19191 file.
eae47a36
DM
19192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19195 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19196 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19197
c0c83bc8
DM
19198 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19199 fzeros/fnegs to load 0x80000000 into a float register instead of
19200 using the stack.
7bd951ff
DM
19201 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19202
bd951ccb
JM
192032012-03-14 Joseph Myers <joseph@codesourcery.com>
19204
19205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19206 bits/syscall.h.
19207 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19208 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19209 ($(inst_includedir)/bits/syscall.h): Remove rule.
19210 ($(objpfx)bits/syscall.d): Include instead of
19211 $(objpfx)syscall-list.d.
19212 (generated): Change syscall-list.h and syscall-list.d to
19213 bits/syscall.h and bits/syscall.d.
19214
bb4e6db2
RM
192152012-03-14 Roland McGrath <roland@hack.frob.com>
19216
19217 [BZ #13846]
19218 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19219
aa4a2ae1
JM
192202012-03-14 Joseph Myers <joseph@codesourcery.com>
19221
e456826d
JM
19222 [BZ #13841]
19223 * math/s_csqrt.c: Include <float.h>.
19224 (__csqrt): Scale large or subnormal inputs.
19225 * math/s_csqrtf.c: Likewise.
19226 * math/s_csqrtl.c: Likewise.
19227 * math/libm-test.inc (csqrt_test): Add more tests.
19228 * sysdeps/i386/fpu/libm-test-ulps: Update.
19229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19230
aa4a2ae1
JM
19231 [BZ #13840]
19232 * math/libm-test.inc (hypot_test): Add more tests.
19233
7c10fd35
DM
192342012-03-13 David S. Miller <davem@davemloft.net>
19235
19236 [BZ #13840]
19237 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19238 double-precision for the calculation instead of scaling.
19239
f453b98b
JM
192402012-03-13 Joseph Myers <joseph@codesourcery.com>
19241
19242 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19243 manipulate bits before adding and subtracting TWO52[sx].
19244 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19245 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19246 Likewise.
19247 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19248
09a3453f
DM
192492012-03-13 David S. Miller <davem@davemloft.net>
19250
8e59da90
DM
19251 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19252 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19254 rtld-global-offsets.h
19255 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19256
2a8ab7f2
DM
19257 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19258 large parameters.
19259
10f62770
DM
19260 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19261
5f0bdb18
DM
19262 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19263 'err' in the ifdef scope in which it is actually used.
19264
09a3453f
DM
19265 * nss/nss_db/db-init.c: Include string.h
19266
b4b2eb5e
DM
192672012-03-12 David S. Miller <davem@davemloft.net>
19268
98bb2f1c
DM
19269 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19270 masking out of the most significant byte of random value used.
19271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19272 Fix coding style in previous change.
19273
b4b2eb5e
DM
19274 * sysdeps/unix/sysv/linux/kernel-features.h
19275 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19276 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19277 expression.
19278 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19279 later.
19280
6e226b09
DM
192812012-03-11 David S. Miller <davem@davemloft.net>
19282
a1bcbd40
DM
19283 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19284 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19285 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19286 for 'resultvar' otherwise things get truncated on 64-bit.
19287
cb9d6174
DM
19288 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19289 Fix masking out of the most significant byte of random value used.
19290
6e226b09
DM
19291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19292
058c132d
AS
192932012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19294
19295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19296
2d2cd515
DM
192972012-03-09 David S. Miller <davem@davemloft.net>
19298
19299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19300 variables with appropriate CPP guards.
19301 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19302 frame pointer, not the stack pointer. Correct layout comments. Fix test
19303 on resulting framesize and the management of the outregs buffer for pltexit.
19304 Preserve floating point return values across _dl_call_pltexit call.
19305 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19306 framesize and the management of the outregs buffer for pltexit.
19307 Preserve floating point return values across _dl_call_pltexit
19308 call.
19309 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19310 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19311 (print_exit): Fix format string for return register value.
19312
9a07f9d0
JM
193132012-03-10 Joseph Myers <joseph@codesourcery.com>
19314
19315 * sunrpc/Makefile (others): Add rpcgen.
19316 ($(objpfx)rpcgen): Remove special build rule and dependency on
19317 libc.
19318 * sunrpc/rpcgen.c: New file.
19319
547b5e30
PE
193202012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19321
c524201a
PE
19322 [BZ #13673]
19323 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19324 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19325 * sysdeps/i386/crti.S: Likewise.
19326 * sysdeps/i386/crtn.S: Likewise.
19327 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19328 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19329 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19330 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19331 * sysdeps/sh/crti.S: Likewise.
19332 * sysdeps/sh/crtn.S: Likewise.
19333 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19334
7b6235f2
PE
19335 [BZ #13673]
19336 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19337 with URL.
19338 * locale/programs/locfile-kw.gperf: Likewise.
19339 * locale/programs/charmap-kw.h: Regenerated.
19340 * locale/programs/locfile-kw.h: Likewise.
19341
547b5e30
PE
19342 [BZ #13673]
19343 * intl/plural.y: Replace FSF snail mail address with URL.
19344 * intl/plural.c: Regenerated.
19345
5f0a5dae
RH
193462012-03-09 Richard Henderson <rth@twiddle.net>
19347
19348 * include/math_private.h: Remove file.
19349 * math/math_private.h: Move file ...
19350 * sysdeps/generic/math_private.h: ... here.
19351
b8c03620
RH
19352 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19353 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19354 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19355
4e234f5d 19356 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
19357 and <math_private.h>.
19358 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19359 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19360 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19361 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19362 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19363 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19364 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19365 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19366 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19367 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19368 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19369 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19370 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19371 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19435 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19438 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19446 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19447 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19448 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19449 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19450 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19451 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19453 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19454 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19455 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19456 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19458 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19459 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19460 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19461 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19462 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19463 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19464 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19465 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19466 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19467 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19468 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19469 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19470 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19471 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19472 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19473 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19474 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19475 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19476 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19477 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19478 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19479 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19480 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19481 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19482 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19483 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19484 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19485 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19486 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19487 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19488 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19489 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19490 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19491 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19492 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19493 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19494 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19495 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19496 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19497 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19498 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19499 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19500 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19501 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19502 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19503 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19504 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19505 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19506 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19507 * sysdeps/ieee754/k_standard.c: Likewise.
19508 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19512 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19611 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19612 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19613 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19621 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19622 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19623 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19627 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19628 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19629 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19630 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19631 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19632 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19633 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19635 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19636 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19637 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19638 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19640 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19645 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19646 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19647 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19650 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19654 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19655 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19656 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19657 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19658 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19659 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19660 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19661 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19662 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19663 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19665 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19666 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19667 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19668 * sysdeps/ieee754/s_lib_version.c: Likewise.
19669 * sysdeps/ieee754/s_matherr.c: Likewise.
19670 * sysdeps/ieee754/s_signgam.c: Likewise.
19671 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19672 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19673 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19674 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19675 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19676 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19677 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19678 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19679 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19680 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19681 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19682 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19683 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19684 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19685 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19686 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19687 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19688 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19689 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19690 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19691 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19692
1991fa03
JM
196932012-03-09 Joseph Myers <joseph@codesourcery.com>
19694
19695 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19696 * sunrpc/rpc_main.c: Likewise.
19697 * sunrpc/rpc_svcout.c: Likewise.
19698
60d6f5a6
DM
196992012-03-09 David S. Miller <davem@davemloft.net>
19700
19701 * include/math_private.h: New file.
19702
4962050e
JM
197032012-03-09 Joseph Myers <joseph@codesourcery.com>
19704
02a6f887
JM
19705 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19706 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19707 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19708 from <bits/socket_type.h>.
19709 (enum __socket_type): Don't define here.
19710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19712 bits/socket_type.h.
19713
c6e013c1
JM
19714 [BZ #13566]
19715 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19716 checking __USE_GNU.
19717
4962050e
JM
19718 * Makerules ($(inst_includedir)/%.h): New rule.
19719 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19720 (install-others): Remove variable setting.
19721 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19722
38842f45
RH
197232012-03-08 Richard Henderson <rth@twiddle.net>
19724
67bb6da6
RH
19725 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19726 from macro to inline function; merge with the
19727 !__LIBC_INTERNAL_MATH_INLINES version.
19728 (__ieee754_sqrtf): Likewise.
19729
15194b4b
RH
19730 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19731 to inline function.
19732 (__rintf, __floor, __floorf): Likewise.
19733
64e21ede
RH
19734 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19735 macro to inline function.
19736 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19737
38842f45
RH
19738 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19739 not <math/math_private.h>.
19740
c64bf5fe
DM
197412012-03-08 David S. Miller <davem@davemloft.net>
19742
19743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19744 copyright year.
19745 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19746
82d86f28
TS
197472012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19748
19749 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19750 normalization.
19751 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19752 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19753
aea5d727
UD
197542012-03-08 Ulrich Drepper <drepper@gmail.com>
19755
19756 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19757 be defined individually, they must be defined as a block. Define
19758 S for printing a string instead of hidint the different by using a
19759 macro for adding the 'l'.
19760 * stdio-common/tst-fphex-wide.c: Adjust.
19761
70bca0a3
MP
197622012-03-07 Marek Polacek <polacek@redhat.com>
19763
19764 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19765
65b81130
MP
197662012-03-08 Marek Polacek <polacek@redhat.com>
19767
19768 [BZ #13806]
19769 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19770 * stdio-common/tst-fphex.c: Define a few macros to make the
19771 test reusable. Use them.
19772 * stdio-common/tst-fphex-wide.c: New file.
19773
07037eeb
JM
197742012-03-08 Joseph Myers <joseph@codesourcery.com>
19775
a7a93d50
JM
19776 [BZ #6911]
19777 * manual/macros.texi (gnusystems): New macro.
19778 (nongnusystems): Likewise.
19779 (gnulinuxhurdsystems): Likewise.
19780 (gnuhurdsystems): Likewise..
19781 (gnulinuxsystems): Likewise.
19782 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19783 variants of the GNU system, not "GNU system".
19784 * manual/conf.texi: Likewise.
19785 * manual/errno.texi: Likewise. Update example of errno macro
19786 expansion.
19787 * manual/filesys.texi: Likewise.
19788 (getumask): Document as specific to GNU/Hurd.
19789 * manual/install.texi: Likewise. Reword some references to
19790 GNU/Linux.
19791 * manual/intro.texi: Likewise.
19792 * manual/io.texi: Likewise.
19793 (File Name Portability): Detail which constraints are inapplicable
19794 to all GNU systems and which are only inapplicable to GNU/Hurd.
19795 * manual/job.texi: Likewise.
19796 * manual/llio.texi: Likewise.
19797 (O_NOCTTY): Document as present on GNU/Linux.
19798 * manual/maint.texi: Likewise.
19799 * manual/memory.texi: Likewise.
19800 * manual/pattern.texi: Likewise.
19801 * manual/pipe.texi: Likewise.
19802 * manual/process.texi: Likewise.
19803 * manual/resource.texi: Likewise.
19804 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19805 child on GNU/Hurd.
19806 * manual/setjmp.texi: Likewise.
19807 * manual/signal.texi: Likewise.
19808 * manual/startup.texi: Likewise.
19809 * manual/stdio.texi: Likewise.
19810 * manual/terminal.texi: Likewise.
19811 (ONLCR): Document as POSIX.
19812 (OXTABS): Document availability on GNU/Linux as XTABS.
19813 (ONOEOT): Document availability separately from other bits.
19814 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19815 * manual/time.texi: Likewise.
19816 * manual/users.texi: Likewise.
19817 * INSTALL: Regenerated.
19818 * sysdeps/gnu/errlist.c: Regenerated.
19819
07037eeb
JM
19820 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19821 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19822 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19823 puts.
19824 * configure: Regenerated.
19825
d1d3431a
JM
198262012-03-07 Joseph Myers <joseph@codesourcery.com>
19827
af6a1e37
JM
19828 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19829 default includes instead of AC_HEADER_CHECK.
19830 * sysdeps/i386/configure: Regenerated.
19831
d1d3431a
JM
19832 [BZ #10716]
19833 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19834 * math/s_cacoshf.c (__cacoshf): Likewise.
19835 * math/s_cacoshl.c (__cacoshl): Likewise.
19836 * math/s_casinh.c (__casinh): Set signs of result from argument.
19837 * math/s_casinhf.c (__casinhf): Likewise.
19838 * math/s_casinhl.c (__casinhl): Likewise.
19839 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19840 (casinh_test): Add more tests.
19841 * sysdeps/i386/fpu/libm-test-ulps: Update.
19842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19843
482ff4da
UD
198442012-03-07 Ulrich Drepper <drepper@gmail.com>
19845
872fda05
UD
19846 * po/zh_TW.po: Update from translation team.
19847
a4300c7a
UD
19848 * login/Makefile (distribute): Remove variable.
19849 * catgets/Makefile: Likewise.
19850 * mach/Makefile: Likewise.
19851 * malloc/Makefile: Likewise.
19852 * misc/Makefile: Likewise.
19853 * iconv/Makefile: Likewise.
19854 * nscd/Makefile: Likewise.
19855 * hurd/Makefile: Likewise.
19856 * manual/Makefile: Likewise.
19857 * locale/Makefile: Likewise.
19858 * intl/Makefile: Likewise.
19859 * conform/Makefile: Likewise.
19860 * nss/Makefile: Likewise.
19861 * time/Makefile: Likewise.
19862 * soft-fp/Makefile: Likewise.
19863 * dirent/Makefile: Likewise.
19864 * gmon/Makefile: Likewise.
19865 * po/Makefile: Likewise.
19866 * rt/Makefile: Likewise.
19867 * socket/Makefile: Likewise.
19868 * math/Makefile: Likewise.
19869 * signal/Makefile: Likewise.
19870 * debug/Makefile: Likewise.
19871 * elf/Makefile: Likewise.
19872 * timezone/Makefile: Likewise.
19873 * stdlib/Makefile: Likewise.
19874 * iconvdata/Makefile: Likewise.
19875 * sunrpc/Makefile: Likewise.
19876 * io/Makefile: Likewise.
19877 * argp/Makefile: Likewise.
19878 * inet/Makefile: Likewise.
19879 * hesiod/Makefile: Likewise.
19880 * grp/Makefile: Likewise.
19881 * csu/Makefile: Likewise.
19882 * wctype/Makefile: Likewise.
19883 * crypt/Makefile: Likewise.
19884 * libio/Makefile: Likewise.
19885 * string/Makefile: Likewise.
19886 * nis/Makefile: Likewise.
19887 * resolv/Makefile: Likewise.
19888 * stdio-common/Makefile: Likewise.
19889 * wcsmbs/Makefile: Likewise.
19890 * dlfcn/Makefile: Likewise.
19891 * posix/Makefile: Likewise.
19892
3b7c4e74 19893 [BZ #6959]
482ff4da
UD
19894 * timezone/Makefile: Don't install timezone files, just the programs
19895 and scripts.
19896
f72ed77d
UD
198972012-03-06 Ulrich Drepper <drepper@gmail.com>
19898
a000466f
UD
19899 * nss/databases.def: Add missing gshadow entry.
19900
f72ed77d
UD
19901 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19902
a53b7a4e
MP
199032012-03-06 Marek Polacek <polacek@redhat.com>
19904
19905 [BZ #13726]
19906 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19907 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19908 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19909 * stdio-common/tst-long-dbl-fphex.c: New file.
19910
e9258400
DM
199112012-03-06 David S. Miller <davem@davemloft.net>
19912
19913 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19914 (set_obp_int): New function.
19915 (get_obp_int): New function.
19916 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19917 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19918 Avoid unused variable warnings on 'val' and use builtin_expect.
19919 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19920 __builtin_expect.
e9258400
DM
19921 (INLINE_CLONE_SYSCALL): Likewise.
19922
3bd2c723
DM
199232012-03-05 David S. Miller <davem@davemloft.net>
19924
19925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19926
bbb78d03
AS
199272012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19928
884c5db4
AS
19929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19930
bbb78d03
AS
19931 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19932 only for |x| >= 40.
19933 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19934
1c9f702a 199352012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19936
19937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19938 Replace gettimeofday with __vdso_gettimeofday.
19939
7be16f82
RM
19940 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19941 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19942 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19943
19944 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19945 time with __vdso_time.
19946
ed58a00f
JM
199472012-03-05 Joseph Myers <joseph@codesourcery.com>
19948
19949 * manual/lang.texi (size_t): Note types to which size_t may be
19950 equivalent with the GNU C Library, but do not describe when
19951 differences between them are significant.
19952
30ee4ced
AJ
199532012-03-05 Andreas Jaeger <aj@suse.de>
19954
19955 * sysdeps/i386/fpu/libm-test-ulps: Update.
19956
b7cd39e8
JM
199572012-03-05 Joseph Myers <joseph@codesourcery.com>
19958
19959 [BZ #3976]
19960 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19961 (__ieee754_pow): Save and restore rounding mode and use
19962 round-to-nearest for main computations.
19963 * math/libm-test.inc (pow_test_tonearest): New function.
19964 (pow_test_towardzero): Likewise.
19965 (pow_test_downward): Likewise.
19966 (pow_test_upward): Likewise.
19967 (main): Call the new functions.
19968 * sysdeps/i386/fpu/libm-test-ulps: Update.
19969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19970
19971 [BZ #3976]
19972 * math/libm-test.inc (cosh_test_tonearest): New function.
19973 (cosh_test_towardzero): Likewise.
19974 (cosh_test_downward): Likewise.
19975 (cosh_test_upward): Likewise.
19976 (sinh_test_tonearest): Likewise.
19977 (sinh_test_towardzero): Likewise.
19978 (sinh_test_downward): Likewise.
19979 (sinh_test_upward): Likewise.
19980 (main): Call the new functions.
19981 * sysdeps/i386/fpu/libm-test-ulps: Update.
19982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19983
6c6a98c9
TV
199842012-03-05 Tom de Vries <tom@codesourcery.com>
19985
19986 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19987 default stack guard is set in last bytes.
19988 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19989
21bb2d2e 199902012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19991
21bb2d2e 19992 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19993
21bb2d2e
AJ
19994 [BZ #13656]
19995 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19996 possibly allocate from heap instead of stack.
19997 * stdio-common/bug-vfprintf-nargs.c: New file.
19998 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19999
c6922934
AS
200002012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20001
20002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20003
bc957d53
MP
200042012-03-03 Marek Polacek <polacek@redhat.com>
20005
20006 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20007 * math/math_private.h: Likewise.
20008 * stdlib/tst-strtod.c: Likewise.
20009 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20010 * sysdeps/x86_64/bits/atomic.h: Likewise.
20011
6358490d
DM
200122012-03-02 David S. Miller <davem@davemloft.net>
20013
20014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20018 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20019 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20020 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20021 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20022
01ae168d
RM
200232012-03-02 Roland McGrath <roland@hack.frob.com>
20024
d9a17c07
RM
20025 [BZ #13792]
20026 * manual/examples/README: New file, says the example source files
20027 can be used under GPL>=2.
20028 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20029 line containing just "*/".
20030 * manual/examples/add.c: Add copyright header (GPL>=2).
20031 * manual/examples/argp-ex1.c: Likewise.
20032 * manual/examples/argp-ex2.c: Likewise.
20033 * manual/examples/argp-ex3.c: Likewise.
20034 * manual/examples/argp-ex4.c: Likewise.
20035 * manual/examples/atexit.c: Likewise.
20036 * manual/examples/db.c: Likewise.
20037 * manual/examples/dir.c: Likewise.
20038 * manual/examples/dir2.c: Likewise.
20039 * manual/examples/execinfo.c: Likewise.
20040 * manual/examples/filecli.c: Likewise.
20041 * manual/examples/filesrv.c: Likewise.
20042 * manual/examples/fmtmsgexpl.c: Likewise.
20043 * manual/examples/genpass.c: Likewise.
20044 * manual/examples/inetcli.c: Likewise.
20045 * manual/examples/inetsrv.c: Likewise.
20046 * manual/examples/isockad.c: Likewise.
20047 * manual/examples/longopt.c: Likewise.
20048 * manual/examples/memopen.c: Likewise.
20049 * manual/examples/memstrm.c: Likewise.
20050 * manual/examples/mkfsock.c: Likewise.
20051 * manual/examples/mkisock.c: Likewise.
20052 * manual/examples/mygetpass.c: Likewise.
20053 * manual/examples/pipe.c: Likewise.
20054 * manual/examples/popen.c: Likewise.
20055 * manual/examples/rprintf.c: Likewise.
20056 * manual/examples/search.c: Likewise.
20057 * manual/examples/select.c: Likewise.
20058 * manual/examples/setjmp.c: Likewise.
20059 * manual/examples/sigh1.c: Likewise.
20060 * manual/examples/sigusr.c: Likewise.
20061 * manual/examples/stpcpy.c: Likewise.
20062 * manual/examples/strdupa.c: Likewise.
20063 * manual/examples/strftim.c: Likewise.
20064 * manual/examples/strncat.c: Likewise.
20065 * manual/examples/subopt.c: Likewise.
20066 * manual/examples/swapcontext.c: Likewise.
20067 * manual/examples/termios.c: Likewise.
20068 * manual/examples/testopt.c: Likewise.
20069 * manual/examples/testpass.c: Likewise.
20070 * manual/examples/timeval_subtract.c: Likewise.
20071
01ae168d
RM
20072 [BZ #13792]
20073 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20074 function to ...
20075 * manual/timeval_subtract.c.texi: ... here, new file.
20076
49efa33d
DM
200772012-03-02 David S. Miller <davem@davemloft.net>
20078
20079 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20080
28afd92d
JM
200812012-03-02 Joseph Myers <joseph@codesourcery.com>
20082
804360ed
JM
20083 [BZ #3976]
20084 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20085 (__sin): Save and restore rounding mode and use round-to-nearest
20086 for all computations.
20087 (__cos): Save and restore rounding mode and use round-to-nearest
20088 for all computations.
20089 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20090 <fenv.h>.
20091 (tan): Save and restore rounding mode and use round-to-nearest for
20092 all computations.
20093 * math/libm-test.inc (cos_test_tonearest): New function.
20094 (cos_test_towardzero): Likewise.
20095 (cos_test_downward): Likewise.
20096 (cos_test_upward): Likewise.
20097 (sin_test_tonearest): Likewise.
20098 (sin_test_towardzero): Likewise.
20099 (sin_test_downward): Likewise.
20100 (sin_test_upward): Likewise.
20101 (tan_test_tonearest): Likewise.
20102 (tan_test_towardzero): Likewise.
20103 (tan_test_downward): Likewise.
20104 (tan_test_upward): Likewise.
20105 (main): Call the new functions.
20106 * sysdeps/i386/fpu/libm-test-ulps: Update.
20107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20108
a6d06d7b
JM
20109 [BZ #10135]
20110 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20111 small n, then large n, before computing and testing k+n.
20112 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20114 Likewise.
20115 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20116 Likewise.
20117 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20118 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20119 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20120 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20121 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20122 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20123 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20125 * math/libm-test.inc (scalbn_test): Add more tests.
20126 (scalbln_test): Likewise.
20127
07e12bb3
JM
20128 * manual/filesys.texi (mode_t): Describe constraints on size and
20129 signedness, not exact equivalence to a particular type.
20130 (ino_t): Likewise.
20131 (ino64_t): Likewise.
20132 (dev_t): Likewise.
20133 (nlink_t): Likewise.
20134 (blkcnt_t): Likewise.
20135 (blkcnt64_t): Likewise.
20136 * manual/llio.texi (off_t): Likewise.
20137
28afd92d
JM
20138 [BZ #3976]
20139 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20140 (__ieee754_exp): Save and restore rounding mode and use
20141 round-to-nearest for all computations.
20142 * math/libm-test.inc (exp_test_tonearest): New function.
20143 (exp_test_towardzero): Likewise.
20144 (exp_test_downward): Likewise.
20145 (exp_test_upward): Likewise.
20146 (main): Call the new functions.
20147 * sysdeps/i386/fpu/libm-test-ulps: Update.
20148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20149
b1eeb65d
CD
201502012-03-01 Chris Demetriou <cgd@google.com>
20151
20152 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20153 have predictable order.
20154
53362a4b
DM
201552012-03-01 David S. Miller <davem@davemloft.net>
20156
3c969083
DM
20157 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20158
759707de
DM
20159 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20160 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20161 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20162 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20163
dfdb8ff2
DM
20164 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20165 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20166 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20168 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20169 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20170 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20171 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20172 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20173
ead89f96
DM
20174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20175
7f66bd07
DM
20176 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20177 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20178 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20179
53362a4b
DM
20180 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20181 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20182 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20183 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20184 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20185 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20186 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20187 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20188 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20189 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20190 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20191 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20192 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20193 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20194 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20195 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20196 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20197 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20198 * sysdeps/sparc/elf/configure: Regenerated.
20199
7b1902cb
JM
202002012-03-01 Joseph Myers <joseph@codesourcery.com>
20201
bec039bc
JM
20202 * configure.in (AS, LD): Require binutils 2.20 or later.
20203 * configure: Regenerated.
20204 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20205 as required minimum version.
20206 * INSTALL: Regenerated.
20207
7b1902cb
JM
20208 [BZ #2541]
20209 [BZ #4108]
20210 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20211 before squaring exponent.
20212 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20213 bottom long double and 27 bits of top long double before squaring
20214 exponent.
20215 * math/libm-test.inc (erfc_test): Add more tests.
20216 * sysdeps/i386/fpu/libm-test-ulps: Update.
20217 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20219
f775c276
KT
202202012-03-01 Kai Tietz <ktietz@redhat.com>
20221
20222 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20223 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20224 containing bit-fields.
20225 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20226 * soft-fp/single.h (_FP_UNION_S): Likewise.
20227 * soft-fp/double.h (_FP_UNION_D): Likewise.
20228
5b8a4d4a
JM
202292012-02-29 Joseph Myers <joseph@codesourcery.com>
20230
0bab47b6
JM
20231 [BZ #13786]
20232 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20233 not include ../strcmp.S.
20234 [USE_AS_STRNCASECMP_L]: Likewise.
20235 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20236 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20237 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20238 (__strncasecmp_l_ia32): Define as alias to
20239 __strncasecmp_l_nonascii.
20240
0fcad3e2
JM
20241 [BZ #5794]
20242 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20243 * sysdeps/i386/fpu/libm-test-ulps: Update.
20244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20245
5b8a4d4a
JM
20246 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20248
8fdceb2e
JL
202492012-02-29 Jeff Law <law@redhat.com>
20250
20251 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20252 out of bounds read.
20253
1f393a11
MP
202542012-02-29 Marek Polacek <polacek@redhat.com>
20255
20256 [BZ #13706]
20257 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20258 * elf/Makefile: Add rules to run tst-unused-dep.out.
20259
8847f037
DM
202602012-02-28 David S. Miller <davem@davemloft.net>
20261
20262 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20263 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20264 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20265 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20266 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20267 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20268
169d7f11
JM
202692012-02-29 Joseph Myers <joseph@codesourcery.com>
20270
20271 * math/libm-test.inc (llround_test): Move one test from
20272 lround_test. Use TEST_f_L in moved test.
20273 (lround_test): Move misplaced test to llround_test. Add testcase
20274 from bug 2561.
20275
39adf059
UD
202762012-02-28 Ulrich Drepper <drepper@gmail.com>
20277
20278 * sysdeps/x86_64/fpu/e_expf.S: New file.
20279 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20280
71b5d1c5
SB
202812012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20282
20283 [BZ #13637]
20284 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20285 of remain_len that may cause incomplete multi-byte character and
20286 false match.
20287 * posix/bug-regex33.c: New file.
20288 * posix/Makefile (tests): Add bug-regex33.
20289
1f77f049
JM
202902012-02-28 Joseph Myers <joseph@codesourcery.com>
20291
20292 * manual/macros.texi: New file.
20293 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20294 * manual/libc.texinfo: Include macros.texi.
20295 * manual/creatute.texi: Likewise.
20296 * manual/install.texi: Likewise.
20297 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20298 @glibcadj{} in references to the GNU C Library.
20299 * manual/charset.texi: Likewise.
20300 * manual/conf.texi: Likewise.
20301 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20302 when not using those macros.
20303 * manual/creature.texi: Likewise.
20304 * manual/crypt.texi: Likewise.
20305 * manual/errno.texi: Likewise.
20306 * manual/filesys.texi: Likewise.
20307 * manual/header.texi: Likewise.
20308 * manual/install.texi: Likewise.
20309 * manual/intro.texi: Likewise.
20310 * manual/io.texi: Likewise.
20311 * manual/job.texi: Likewise.
20312 * manual/lang.texi: Likewise.
20313 * manual/libc.texiinfo: Likewise.
20314 * manual/llio.texi: Likewise.
20315 * manual/locale.texi: Likewise.
20316 * manual/maint.texi: Likewise.
20317 * manual/math.texi: Likewise.
20318 * manual/memory.texi: Likewise.
20319 * manual/message.texi: Likewise.
20320 * manual/nss.texi: Likewise.
20321 * manual/pattern.texi: Likewise.
20322 * manual/process.texi: Likewise.
20323 * manual/resource.texi: Likewise.
20324 * manual/search.texi: Likewise.
20325 * manual/setjmp.texi: Likewise.
20326 * manual/signal.texi: Likewise.
20327 * manual/socket.texi: Likewise.
20328 * manual/startup.texi: Likewise.
20329 * manual/stdio.texi: Likewise.
20330 * manual/string.texi: Likewise.
20331 * manual/sysinfo.texi: Likewise.
20332 * manual/syslog.texi: Likewise.
20333 * manual/terminal.texi: Likewise.
20334 * manual/time.texi: Likewise.
20335 * manual/users.texi: Likewise.
20336 * INSTALL: Regenerated.
20337 * NOTES: Regenerated.
d40c5d54 20338 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 20339
450bf206
AS
203402012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20341
20342 * include/dirent.h: Include <dirstream.h> before
20343 <dirent/dirent.h>.
20344
741a235b
DM
203452012-02-28 David S. Miller <davem@davemloft.net>
20346
20347 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20348 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20349 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20350 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20351
d6b5aa58
DM
203522012-02-27 David S. Miller <davem@davemloft.net>
20353
1aff59a3
DM
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20356 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20357 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20358
d6b5aa58
DM
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20360 frame pointer instead of stack pointer relative arg slot.
20361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20362 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20363 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20364
433f48bf
CD
203652012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20366
20367 [BZ #3992]
20368 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20369
d674b76d
DM
203702012-02-27 David S. Miller <davem@davemloft.net>
20371
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20376 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20377 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20378 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20379 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20380
0e7727f7
JM
203812012-02-27 Joseph Myers <joseph@codesourcery.com>
20382
20383 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20384 later. Allow versions 5-9.
43be4ca2 20385 * configure: Regenerated.
0e7727f7
JM
20386 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20387 required minimum version and 4.6 as recommended version. Do not
20388 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20389 * INSTALL: Regenerated.
0e7727f7 20390
a78bc654
DM
203912012-02-27 David S. Miller <davem@davemloft.net>
20392
428d5830
DM
20393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20397 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20398 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20399 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20400 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20401
a78bc654
DM
20402 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20403 manipulate bits before adding and subtracting TWO112[sx].
20404 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20405
4579f81c
RM
204062012-02-27 Roland McGrath <roland@hack.frob.com>
20407
36c8acb4
RM
20408 [BZ #13775]
20409 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20410 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20411 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20412 being in POSIX, because they are in 1003.1-2008.
20413
84ad622b
RM
20414 * rt/tst-aio.c: Include <fcntl.h>.
20415 * rt/tst-aio7.c: Likewise.
20416 * rt/tst-aio64.c: Likewise.
20417
4579f81c
RM
20418 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20419
abd923db
JM
204202012-02-27 Joseph Myers <joseph@codesourcery.com>
20421
20422 * manual/install.texi (--with-headers): Describe headers as
20423 interface headers, not private headers.
20424 (Specific advice for GNU/Linux systems): Describe use of headers
20425 from "make headers_install", not private headers from older
20426 kernels.
43be4ca2 20427 * INSTALL: Regenerated.
abd923db
JM
20428 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20429 Change to 2.6.19.
20430 * sysdeps/unix/sysv/linux/configure: Regenerated.
20431
6664049b
JM
20432 * manual/llio.texi (fclean): Remove documentation.
20433
bb8b6697
JM
20434 * manual/Makefile (libc-texi-generated): New variable. Include
20435 version.texi.
20436 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20437 $(libc-texi-generated), not duplicated list of files.
20438 (version.texi, stamp-version): New rules.
20439 (realclean): Remove $(libc-texi-generated), not individual files
20440 from that list. Do not remove dir-add.texinfo.
20441 * manual/libc.texinfo: Comment out uses of edition numbers and
20442 references to printed manual. Remove last-updated dates.
20443 (EDITION): Comment out.
20444 (ISBN): Likewise.
20445 (VERSION, UPDATED): Remove.
20446 (version.texi): Include.
20447
12e5c3b9
AS
204482012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20449
20450 * sysdeps/posix/spawni.c: Include <signal.h>.
20451 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20452 * sysdeps/pthread/aio_fsync.c: Likewise.
20453
4efeffc1 204542012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20455
ba63ba08
UD
20456 * conform/Makefile (tests): Run only when not cross-compiling and
20457 when fast-check is not defined.
20458
d94a4670
UD
20459 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20460 * conform/data/limits.h-data: Fixes for POSIX2008.
20461 * conform/run-conformtest.sh: Run all tests.
20462 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20463 headers.
20464 * include/bits/dlfcn.h: Likewise.
20465 * include/langinfo.h: Likewise.
20466 * include/monetary.h: Likewise.
20467 * include/sys/poll.h: Likewise.
20468
20469 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20470 for __USE_GNU.
20471 * posix/spawn.h: Define __need_sigset_t.
20472 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20473 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20474 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20475 to get sigevent_t only.
20476 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20477 only for __USE_GNU.
20478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20479 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20480 process_vm_writev only for __USE_GNU.
20481 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20482
20483 * conform/Makefile: For now ignore errors from run-conformtest.
20484 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20485 POSIX to avoid namespace pollution. Don't prepend headers.
20486 * conform/data/aio.h-data: Fixes for POSIX testing.
20487 * conform/data/fcntl.h-data: Likewise.
20488 * conform/data/glob.h-data: Likewise.
20489 * conform/data/grp.h-data: Likewise.
20490 * conform/data/pthread.h-data: Likewise.
20491 * conform/data/pwd.h-data: Likewise.
20492 * conform/data/signal.h-data: Likewise.
20493 * conform/data/spawn.h-data: Likewise.
20494 * conform/data/stdio.h-data: Likewise.
20495 * conform/data/stdlib.h-data: Likewise.
20496 * conform/data/stropts.h-data: Likewise.
20497 * conform/data/sys/mman.h-data: Likewise.
20498 * conform/data/sys/stat.h-data: Likewise.
20499 * conform/data/sys/types.h-data: Likewise.
20500 * conform/data/sys/wait.h-data: Likewise.
20501 * conform/data/time.h-data: Likewise.
20502 * conform/data/unistd.h-data: Likewise.
20503 * conform/data/utime.h-data: Likewise.
20504
20505 * io/sys/stat.h: fchmod was always in POSIX.
20506 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20507 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20508 * rt/aio.h: Define __need_timespec before including <time.h>.
20509 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20510 struct. Add forward declaration of pthread_attr_t and use it in
20511 sigevent.
20512 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20514 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20515 always remove CLK_TCK definition.
20516
c20105c3
AS
205172012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20518
20519 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20520
7a270350
UD
205212012-02-25 Ulrich Drepper <drepper@gmail.com>
20522
31341567
UD
20523 * conform/run-conformtest.sh: New file.
20524 * conform/Makefile: Run run-conformtest for tests.
20525 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20526 support.
20527
20528 * conform/data/uchar.h-data: New file.
20529 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20530 * conform/data/arpa/inet.h-data: Likewise.
20531 * conform/data/assert.h-data: Likewise.
20532 * conform/data/complex.h-data: Likewise.
20533 * conform/data/cpio.h-data: Likewise.
20534 * conform/data/ctype.h-data: Likewise.
20535 * conform/data/dirent.h-data: Likewise.
20536 * conform/data/dlfcn.h-data: Likewise.
20537 * conform/data/errno.h-data: Likewise.
20538 * conform/data/fcntl.h-data: Likewise.
20539 * conform/data/float.h-data: Likewise.
20540 * conform/data/fmtmsg.h-data: Likewise.
20541 * conform/data/fnmatch.h-data: Likewise.
20542 * conform/data/ftw.h-data: Likewise.
20543 * conform/data/glob.h-data: Likewise.
20544 * conform/data/grp.h-data: Likewise.
20545 * conform/data/iconv.h-data: Likewise.
20546 * conform/data/inttypes.h-data: Likewise.
20547 * conform/data/langinfo.h-data: Likewise.
20548 * conform/data/libgen.h-data: Likewise.
20549 * conform/data/limits.h-data: Likewise.
20550 * conform/data/locale.h-data: Likewise.
20551 * conform/data/math.h-data: Likewise.
20552 * conform/data/monetary.h-data: Likewise.
20553 * conform/data/mqueue.h-data: Likewise.
20554 * conform/data/ndbm.h-data: Likewise.
20555 * conform/data/net/if.h-data: Likewise.
20556 * conform/data/netdb.h-data: Likewise.
20557 * conform/data/netinet/in.h-data: Likewise.
20558 * conform/data/nl_types.h-data: Likewise.
20559 * conform/data/poll.h-data: Likewise.
20560 * conform/data/pthread.h-data: Likewise.
20561 * conform/data/pwd.h-data: Likewise.
20562 * conform/data/regex.h-data: Likewise.
20563 * conform/data/sched.h-data: Likewise.
20564 * conform/data/search.h-data: Likewise.
20565 * conform/data/semaphore.h-data: Likewise.
20566 * conform/data/setjmp.h-data: Likewise.
20567 * conform/data/signal.h-data: Likewise.
20568 * conform/data/spawn.h-data: Likewise.
20569 * conform/data/stdarg.h-data: Likewise.
20570 * conform/data/stdio.h-data: Likewise.
20571 * conform/data/stdlib.h-data: Likewise.
20572 * conform/data/string.h-data: Likewise.
20573 * conform/data/strings.h-data: Likewise.
20574 * conform/data/stropts.h-data: Likewise.
20575 * conform/data/sys/ipc.h-data: Likewise.
20576 * conform/data/sys/mman.h-data: Likewise.
20577 * conform/data/sys/msg.h-data: Likewise.
20578 * conform/data/sys/resource.h-data: Likewise.
20579 * conform/data/sys/select.h-data: Likewise.
20580 * conform/data/sys/sem.h-data: Likewise.
20581 * conform/data/sys/shm.h-data: Likewise.
20582 * conform/data/sys/socket.h-data: Likewise.
20583 * conform/data/sys/stat.h-data: Likewise.
20584 * conform/data/sys/statvfs.h-data: Likewise.
20585 * conform/data/sys/time.h-data: Likewise.
20586 * conform/data/sys/timeb.h-data: Likewise.
20587 * conform/data/sys/times.h-data: Likewise.
20588 * conform/data/sys/types.h-data: Likewise.
20589 * conform/data/sys/uio.h-data: Likewise.
20590 * conform/data/sys/un.h-data: Likewise.
20591 * conform/data/sys/utsname.h-data: Likewise.
20592 * conform/data/sys/wait.h-data: Likewise.
20593 * conform/data/syslog.h-data: Likewise.
20594 * conform/data/tar.h-data: Likewise.
20595 * conform/data/termios.h-data: Likewise.
20596 * conform/data/utime.h-data: Likewise.
20597 * conform/data/utmpx.h-data: Likewise.
20598 * conform/data/varargs.h-data: Likewise.
20599 * conform/data/wchar.h-data: Likewise.
20600 * conform/data/wctype.h-data: Likewise.
20601 * conform/data/wordexp.h-data: Likewise.
20602
20603 * include/stropts.h: New file.
20604 * include/uchar.h: New file.
20605 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20606 * include/assert.h: Likewise.
20607 * include/ctype.h: Likewise.
20608 * include/dirent.h: Likewise.
20609 * include/dlfcn.h: Likewise.
20610 * include/fcntl.h: Likewise.
20611 * include/fnmatch.h: Likewise.
20612 * include/glob.h: Likewise.
20613 * include/grp.h: Likewise.
20614 * include/libio.h: Likewise.
20615 * include/locale.h: Likewise.
20616 * include/math.h: Likewise.
20617 * include/net/if.h: Likewise.
20618 * include/netdb.h: Likewise.
20619 * include/netinet/in.h: Likewise.
20620 * include/pthread.h: Likewise.
20621 * include/pwd.h: Likewise.
20622 * include/regex.h: Likewise.
20623 * include/sched.h: Likewise.
20624 * include/search.h: Likewise.
20625 * include/setjmp.h: Likewise.
20626 * include/signal.h: Likewise.
20627 * include/stdio.h: Likewise.
20628 * include/stdlib.h: Likewise.
20629 * include/string.h: Likewise.
20630 * include/sys/cdefs.h: Likewise.
20631 * include/sys/mman.h: Likewise.
20632 * include/sys/msg.h: Likewise.
20633 * include/sys/resource.h: Likewise.
20634 * include/sys/select.h: Likewise.
20635 * include/sys/socket.h: Likewise.
20636 * include/sys/stat.h: Likewise.
20637 * include/sys/statvfs.h: Likewise.
20638 * include/sys/time.h: Likewise.
20639 * include/sys/times.h: Likewise.
20640 * include/sys/uio.h: Likewise.
20641 * include/sys/utsname.h: Likewise.
20642 * include/sys/wait.h: Likewise.
20643 * include/termios.h: Likewise.
20644 * include/time.h: Likewise.
20645 * include/ulimit.h: Likewise.
20646 * include/unistd.h: Likewise.
20647 * include/utime.h: Likewise.
20648 * include/wchar.h: Likewise.
20649 * include/wctype.h: Likewise.
20650 * include/wordexp.h: Likewise.
20651
20652 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20653
7a270350
UD
20654 * time/time.h: TIME_UTC must be a macro.
20655 Make timespec_get available for ISO C11 only as well.
20656
7724defc
UD
206572012-02-24 Ulrich Drepper <drepper@gmail.com>
20658
20659 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20660 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20661
6b1d1d46
JM
206622012-02-24 Joseph Myers <joseph@codesourcery.com>
20663
20664 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20665
0f8bbd69
JM
206662012-02-24 Joseph Myers <joseph@codesourcery.com>
20667
20668 * manual/texinfo.tex: Update to version 2012-01-19.16.
20669
66ab80bc
JM
206702012-02-24 Joseph Myers <joseph@codesourcery.com>
20671
20672 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20673
74981cc5
RM
206742012-02-24 Roland McGrath <roland@hack.frob.com>
20675
ee968201
RM
20676 [BZ #13738]
20677 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20678 * manual/fdl-1.3.texi: New file.
20679 * manual/fdl-1.1.texi: File removed.
20680
74981cc5
RM
20681 [BZ #13738]
20682 * manual/libc.texinfo (FDL_VERSION): New @set.
20683 Use it for mention of FDL in cover text.
20684 (Documentation License): Use it in @include file name.
20685
7bb764bc
JM
206862012-02-22 Joseph Myers <joseph@codesourcery.com>
20687 Roland McGrath <roland@hack.frob.com>
20688
20689 [BZ #5461]
20690 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20691 not LONG_LONG_MAX and LONG_LONG_MIN.
20692 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20693 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20694 name.
20695 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20696
6cbeae47
JM
206972012-02-22 Joseph Myers <joseph@codesourcery.com>
20698
20699 [BZ #2547]
20700 [BZ #11365]
20701 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20702 manipulate bits before adding and subtracting TWO23[sx].
20703 * math/libm-test.inc (nearbyint_test): Add more tests.
20704
fe45ce09
JM
207052012-02-22 Joseph Myers <joseph@codesourcery.com>
20706
20707 [BZ #2548]
20708 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20709 bits before adding and subtracting TWO23[sx].
20710 * math/libm-test.inc (rint_test): Add more tests.
20711 (rint_test_tonearest): Likewise.
20712 (rint_test_towardzero): Likewise.
20713 (rint_test_downward): Likewise.
20714 (rint_test_upward: Likewise.
20715
ff3b3d82
JM
207162012-02-22 Joseph Myers <joseph@codesourcery.com>
20717
20718 [BZ #10110]
20719 * include/stdc-predef.h: New file. Extracted from features.h.
20720 * include/features.h: Include stdc-predef.h.
20721 * Makefile (headers): Add stdc-predef.h.
20722 * CONFORMANCE (Compiler limitations): Update.
20723
ef0aab35
JM
207242012-02-22 Joseph Myers <joseph@codesourcery.com>
20725
20726 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20727
58639409
DM
207282012-02-21 David S. Miller <davem@davemloft.net>
20729
20730 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20731 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20732
c0e70b25
DM
207332012-02-20 David S. Miller <davem@davemloft.net>
20734
20735 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20736 using a normal save/restore sequence, rather than allocating a
20737 dummy stack frame just to store a frame pointer and restore.
20738 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20739
fb06851d
JM
207402012-02-21 Joseph Myers <joseph@codesourcery.com>
20741
20742 * manual/install.texi: Fix stray word in line-wrapped comment.
20743
7a8b71c3
DM
207442012-02-20 David S. Miller <davem@davemloft.net>
20745
d510c123
DM
20746 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20747 both binutils and gcc support GOTDATA.
20748
0722d7c2
DM
20749 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20750 "rd %pc" in the PIC register setup sequences.
20751
3d2b3019
DM
20752 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20753 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20754 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20755 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20756 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20758 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20759 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20761 (SYSCALL_ERROR_HANDLER): Likewise.
20762 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20763 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20765 (SYSCALL_ERROR_HANDLER): Likewise.
20766
c80098a9
DM
20767 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20768 (HAVE_GCC_GOTDATA): New.
20769 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20770 relocation support in both binutils and gcc.
20771 * sysdeps/sparc/elf/configure: Regenerate.
20772
3a2545a0
DM
20773 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20774 * sysdeps/sparc/sparc32/elf/configure: Delete.
20775 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20776 * sysdeps/sparc/sparc64/elf/configure: Delete.
20777 * sysdeps/sparc/elf/configure.in: New file.
20778 * sysdeps/sparc/elf/configure: Generate.
20779
7a8b71c3
DM
20780 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20781 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20782 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20783 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20784 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20785
f1e86fca
JM
207862012-02-21 Joseph Myers <joseph@codesourcery.com>
20787
20788 * manual/install.texi: Do not mention specific glibc version
20789 numbers.
20790 * manual/libc.texinfo (VERSION, UPDATED): Update.
20791 (@copying): Use @copyright{} and range of years.
20792
0e7dfaef
JM
207932012-02-21 Joseph Myers <joseph@codesourcery.com>
20794
20795 [BZ #13695]
20796 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20797 [crti.S not in sysdirs] (generated): Do not append.
20798 [crti.S not in sysdirs] (omit-deps): Likewise.
20799 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20800 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20801 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20802 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20803 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20804 Likewise.
20805 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20806 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20807 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20808 * csu/defs.awk: Remove file.
20809 * sysdeps/generic/initfini.c: Likewise.
20810 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20811 variable.
20812 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20813 Likewise.
20814
599af3ca
JM
208152012-02-20 Joseph Myers <joseph@codesourcery.com>
20816
20817 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20818 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20819 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20820 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20821 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20822 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20823 <bits/epoll.h>.
20824 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20825 (__EPOLL_PACKED): Define to empty if not defined by
20826 <bits/epoll.h>.
20827 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20829 bits/epoll.h.
20830
0e499750
JM
208312012-02-20 Joseph Myers <joseph@codesourcery.com>
20832
20833 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20834 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20835 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20836 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20837 <bits/timerfd.h>.
20838 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20840 bits/timerfd.h.
20841
5ad91f6e
JM
208422012-02-20 Joseph Myers <joseph@codesourcery.com>
20843
20844 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20845 in C locale.
20846 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20847 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20848 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20850
06b99b02
AJ
208512012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20852
20853 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20854 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20855
7638c0fd
AS
208562012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20857
20858 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20859 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20860 defined.
20861 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20862 Likewise.
20863 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20864 entry for 2.16.
20865
92221550
AJ
208662012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20867
20868 * math/w_acos.c: Use non-signaling floating-point comparisons.
20869 * math/w_acosf.c: Likewise.
20870 * math/w_acosh.c: Likewise.
20871 * math/w_acoshf.c: Likewise.
20872 * math/w_acoshl.c: Likewise.
20873 * math/w_acosl.c: Likewise.
20874 * math/w_asin.c: Likewise.
20875 * math/w_asinf.c: Likewise.
20876 * math/w_asinl.c: Likewise.
20877 * math/w_atanh.c: Likewise.
20878 * math/w_atanhf.c: Likewise.
20879 * math/w_atanhl.c: Likewise.
20880 * math/w_exp2.c: Likewise.
20881 * math/w_exp2f.c: Likewise.
20882 * math/w_exp2l.c: Likewise.
20883 * math/w_j0.c: Likewise.
20884 * math/w_j0f.c: Likewise.
20885 * math/w_j0l.c: Likewise.
20886 * math/w_j1.c: Likewise.
20887 * math/w_j1f.c: Likewise.
20888 * math/w_j1l.c: Likewise.
20889 * math/w_jn.c: Likewise.
20890 * math/w_jnf.c: Likewise.
20891 * math/w_log.c: Likewise.
20892 * math/w_log10.c: Likewise.
20893 * math/w_log10f.c: Likewise.
20894 * math/w_log10l.c: Likewise.
20895 * math/w_log2.c: Likewise.
20896 * math/w_log2f.c: Likewise.
20897 * math/w_log2l.c: Likewise.
20898 * math/w_logf.c: Likewise.
20899 * math/w_logl.c: Likewise.
20900 * math/w_sqrt.c: Likewise.
20901 * math/w_sqrtf.c: Likewise.
20902 * math/w_sqrtl.c: Likewise.
20903 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20905 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20906 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20907 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20908
ebaf36eb
JM
209092012-02-19 Joseph Myers <joseph@codesourcery.com>
20910
20911 [BZ #9739]
20912 * manual/string.texi (strnlen): Use correct parameter name in
20913 equivalent expression.
20914
71c254a6
JM
209152012-02-19 Joseph Myers <joseph@codesourcery.com>
20916
20917 [BZ #11174]
20918 * manual/users.texi (seteuid): Consistently use neweuid for
20919 argument name.
20920
16d2c631
JM
209212012-02-19 Joseph Myers <joseph@codesourcery.com>
20922
20923 [BZ #13704]
20924 * manual/nss.texi (Services in the NSS configuration): Correct
20925 list of services in example configuration file.
20926
cd837b09
NB
209272012-02-19 Nick Bowler <nbowler@draconx.ca>
20928
20929 [BZ #11322]
20930 * manual/arith.texi: Remove statements about negative zero
20931 behaving identically to zero.
20932
02c4bbad
JM
209332012-02-18 Joseph Myers <joseph@codesourcery.com>
20934
20935 [BZ #5993]
20936 * manual/install.texi: Do not document upgrading from libc5.
20937
366842e7
JM
209382012-02-18 Joseph Myers <joseph@codesourcery.com>
20939
20940 [BZ #4596]
20941 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20942
dd54084d
DM
209432012-02-18 David S. Miller <davem@davemloft.net>
20944
20945 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20946 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20947 %o7 across the call.
20948 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20949 instead.
20950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20951 SETUP_PIC_REG_LEAF.
20952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20953 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20954 * sysdeps/sparc/crtn.S: Likewise.
20955
2bcc53a3
UD
209562012-02-17 Ulrich Drepper <drepper@gmail.com>
20957
20958 * aout/Makefile: Remove.
20959
09c093b5
RK
209602012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20961
20962 [BZ #13058]
20963 * manual/examples/argp-ex1.c (main): Format definition in GNU
20964 style.
20965 * manual/examples/argp-ex2.c (main): Likewise.
20966 * manual/examples/argp-ex3.c (main): Likewise.
20967 * manual/examples/argp-ex4.c (main): Likewise.
20968 * manual/examples/longopt.c (main): Use new-style prototype
20969 definition.
20970 * manual/examples/strncat.c (main): Specify return type and use
20971 (void) for arguments.
20972 * manual/examples/subopt.c (main): Use char **argv argument.
20973
2ee633a2
JM
209742012-02-17 Joseph Myers <joseph@codesourcery.com>
20975
20976 [BZ #5077]
20977 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20978 rounding modes.
20979
0520adde
FB
209802012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20981
20982 [BZ #6907]
20983 * manual/string.texi (strchr): Change when strchrnul is
20984 recommended.
20985
3f4081cd
DGM
209862012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20987
20988 [BZ #174]
20989 * manual/locale.texi (setlocale): Document LOCPATH.
20990
d1b10e78
JM
209912012-02-17 Joseph Myers <joseph@codesourcery.com>
20992
20993 [BZ #10210]
20994 * manual/process.texi (execle): Move @dots{} before last argument.
20995
79c6869c
PB
209962012-02-17 Paul Bolle <pebolle@tiscali.nl>
20997
20998 [BZ #12047]
20999 * manual/charset.texi (Generic Charset Conversion): Fix typo
21000 (LC_TYPE -> LC_CTYPE).
21001
cc6e48bc
NB
210022012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21003
21004 [BZ #5805]
21005 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21006 (scalbnf): Likewise.
21007 (scalbnl): Likewise.
21008 (scalbln): Likewise.
21009 (scalblnf): Likewise.
21010 (scalblnl): Likewise.
21011 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21012 (vwarnx): Likewise.
21013 (verr): Likewise.
21014 (verrx): Likewise.
21015 * manual/filesys.texi (telldir): Use braces around return type.
21016 * manual/llio.texi (mmap): Add space after comma.
21017 (mmap64): Likewise.
21018 * manual/math.texi (jn): Use @var{} on parameter names.
21019 (jnf): Likewise.
21020 (jnl): Likewise.
21021 (yn): Likewise.
21022 (ynf): Likewise.
21023 (ynl): Likewise.
21024 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21025 line.
21026 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21027 "...".
21028 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21029 (sched_get_priority_max): Likewise.
21030 * manual/signal.texi (sigvec): Add space after comma.
21031 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21032 names.
21033 (if_indextoname): Likewise.
21034 (if_freenameindex): Likewise.
21035 (sendto): Use ',' instead of '.' in prototype.
21036 * manual/startup.texi (syscall): Use @dots{} instead of literal
21037 "...".
21038 * manual/stdio.texi (__fpending): Separate initial words of
21039 paragraph from @deftypefun line.
21040 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21041 "...".
21042 (vsyslog): Use @var{} on parameter names.
21043 * manual/terminal.texi (stty): Use @var{} on parameter names.
21044 * manual/users.texi (getutmp): Use @var{} on parameter names.
21045 (getutmpx): Likewise.
21046
5b23062f
JM
210472012-02-17 Joseph Myers <joseph@codesourcery.com>
21048
21049 [BZ #6884]
21050 * manual/stdio.texi (fopen): Fix typos in description of
21051 ",ccs=STRING".
21052
8dee4833
AJ
210532012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21054
21055 [BZ #4026]
21056 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21057 get clock_id definition.
21058
9078ce93
TS
210592012-02-17 Thomas Schwinge <thomas@schwinge.name>
21060
21061 [BZ #4822]
21062 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21063 (madvise): Cast every argument to void on its own.
21064
3835c55f
JM
210652012-02-17 Joseph Myers <joseph@codesourcery.com>
21066
21067 [BZ #9902]
21068 * manual/startup.texi (Exit Status): Fix typo.
21069
35c47e37
JM
210702012-02-17 Joseph Myers <joseph@codesourcery.com>
21071
21072 [BZ #10140]
21073 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21074 * manual/examples/argp-ex2.c: Likewise.
21075 * manual/examples/argp-ex3.c: Likewise.
21076
e3b69ca7
RH
210772012-02-16 Richard Henderson <rth@redhat.com>
21078
21079 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21080 * sysdeps/s390/s390-32/initfini.c: Remove.
21081 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21082 * sysdeps/s390/s390-64/initfini.c: Remove.
21083
df83af67
KK
210842012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21085
21086 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21087 compiler output for sysdeps/generic/initfini.c.
21088 * sysdeps/sh/elf/initfini.c: Remove file.
21089
f63f3380
DM
210902012-02-16 David S. Miller <davem@davemloft.net>
21091
fb59b3a4
DM
21092 [BZ #11494]
21093 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21094
f63f3380
DM
21095 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21096 * sysdeps/sparc/crti.S: New file.
21097 * sysdeps/sparc/crtn.S: New file.
21098 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21099 * sysdeps/sparc/sparc64/Makefile: Likewise.
21100
df6a4a4a
MF
211012012-02-15 Mike Frysinger <vapier@gentoo.org>
21102
6dd8f3dc 21103 [BZ #3335]
df6a4a4a
MF
21104 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21105
1cac7236
RM
211062012-02-15 Roland McGrath <roland@hack.frob.com>
21107
d2c736f8
RM
21108 [BZ #4822]
21109 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21110
1cac7236
RM
21111 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21112 (write, read, close): Likewise.
21113 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21114
8e475601
JM
211152012-02-15 Joseph Myers <joseph@codesourcery.com>
21116
21117 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21118 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21119 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21120 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21121 <bits/signalfd.h>.
21122 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21124 bits/signalfd.h.
21125
ed656b40
MP
211262012-02-14 Marek Polacek <polacek@redhat.com>
21127
21128 * sysdeps/x86_64/crti.S: New file.
21129 * sysdeps/x86_64/crtn.S: New file.
21130 * sysdeps/x86_64/elf/initfini.c: Remove file.
21131
2a979d3a
JM
211322012-02-13 Joseph Myers <joseph@codesourcery.com>
21133
21134 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21135 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21136 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21137 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21138 <bits/inotify.h>.
21139 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21141 bits/inotify.h.
21142
2a418ac3
JM
211432012-02-13 Joseph Myers <joseph@codesourcery.com>
21144
21145 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21146 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21147 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21148 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21149 <bits/eventfd.h>.
21150 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21152 bits/eventfd.h.
21153
fb779be7
TS
211542012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21155
e19e83c5
RM
21156 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21157 __feraiseexcept instead of feraiseexcept.
7c35ffed 21158
fb779be7
TS
21159 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21160 nanosleep invocations.
21161 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21162 strings, and add error checking for a nanosleep invocations.
21163
59ba27a6
PE
211642012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21165
21166 Replace FSF snail mail address with URLs, as per GNU coding standards.
21167 Most of the snail mail addresses were wrong anyway, and omitting
21168 them makes the source code easier to maintain. Almost all of the
21169 changes are to license notices and to locale LC_IDENTIFICATION
21170 addresses, except for this one:
21171 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21172 not its snail mail address.
21173
57b957eb
RH
211742012-02-09 Richard Henderson <rth@twiddle.net>
21175
af850b1c
RH
21176 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21177 of kernel-features.h.
21178
57b957eb
RH
21179 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21180
6b73181a
MP
211812012-02-08 Marek Polacek <polacek@redhat.com>
21182
21183 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21184 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21185 * sysdeps/gnu/_G_config.h: Likewise.
21186 * sysdeps/generic/_G_config.h: Likewise.
21187
26ecc33a
AS
211882012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21189
6c6dbc63
AS
21190 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21191 tests.
21192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21193
e216c012
AS
21194 * sysdeps/powerpc/powerpc32/crti.S: New file.
21195 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21196 * sysdeps/powerpc/powerpc64/crti.S: New file.
21197 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21198
26ecc33a
AS
21199 * Makeconfig (have-initfini): Don't set.
21200 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21201 * configure.in (nopic_initfini): Don't substitute.
21202 * config.h.in (HAVE_INITFINI): Don't #undef.
21203 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21204 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21205
3add8e13
JM
212062012-02-08 Joseph Myers <joseph@codesourcery.com>
21207
21208 Support crti.S and crtn.S provided directly by architectures.
21209 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21210 [crti.S in sysdirs] (omit-deps): Likewise.
21211 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21212 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21213 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21214 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21215 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21216 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21217 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21218 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21219 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21220 compiler output for sysdeps/generic/initfini.c.
21221 * sysdeps/i386/elf/Makefile: Remove file.
21222 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21223
a22f12b4
MP
212242012-02-07 Marek Polacek <polacek@redhat.com>
21225
21226 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21227 * sysdeps/gnu/_G_config.h: Likewise.
21228 * sysdeps/mach/hurd/_G_config.h: Likewise.
21229
148cf100
MP
212302012-02-07 Marek Polacek <polacek@redhat.com>
21231
21232 * math/Makefile (tests): Add tst-CMPLX2.
21233 * math/tst-CMPLX2.c: New file.
21234
cfdc0dd7
AS
212352012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21236
84ba42c4
AS
21237 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21238
cfdc0dd7
AS
21239 * math/libm-test.inc (jn_test): Add missing L suffix.
21240
622c86f4
MP
212412012-02-06 Marek Polacek <polacek@redhat.com>
21242
21243 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21244 * sysdeps/i386/fpu/e_powf.S: Likewise.
21245 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21246 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21247 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21248 * sysdeps/i386/fpu/e_pow.S: Likewise.
21249 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21250 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21251 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21252 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21253 * sysdeps/i386/fpu/e_log2.S: Likewise.
21254 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21255 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21256 * sysdeps/i386/fpu/e_powl.S: Likewise.
21257 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21258 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21259 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21260 * sysdeps/i386/fpu/e_logl.S: Likewise.
21261 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21262 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21263 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21264 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21265 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21266 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21267 * sysdeps/i386/fpu/e_log.S: Likewise.
21268 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21269 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21270 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21271 * sysdeps/i386/fpu/e_logf.S: Likewise.
21272 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21273 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21274 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21275 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21276 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21277 * sysdeps/i386/fpu/e_log10.S: Likewise.
21278 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21279 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21280 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21281 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21282 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21283 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21284 * sysdeps/i386/asm-syntax.h: Likewise.
21285 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21286 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21287 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21288 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21289 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21290 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21291 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21292 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21293 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21294 * sysdeps/powerpc/sysdep.h: Likewise.
21295 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21296 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21297
d4a54ac6
JM
212982012-02-06 Joseph Myers <joseph@codesourcery.com>
21299
21300 [BZ #411]
21301 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21302
314054ea
JM
213032012-02-06 Joseph Myers <joseph@codesourcery.com>
21304
21305 * sysdeps/i386/sysdep.h: Include <features.h>.
21306 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21307 version.
21308
d8e0ca50
JM
213092012-02-05 Joseph Myers <joseph@codesourcery.com>
21310
21311 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21312 Define.
21313 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21314 LOAD_PIC_REG_STR.
21315
b1da7dd9
JM
213162012-02-03 Joseph Myers <joseph@codesourcery.com>
21317
21318 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21319 (SETUP_PIC_REG): Use GET_PC_THUNK.
21320 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21321 macro.
21322
9a1d9254
JM
213232012-02-03 Joseph Myers <joseph@codesourcery.com>
21324
21325 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21326 for non-PIC compilation.
21327 (SETUP_PIC_REG): Add .p2align directive.
21328 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21329 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21330 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21331 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21332 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21333 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21334 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21335 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21336 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21337 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21338 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21339 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21340 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21341 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21342 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21343 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21344 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21345 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21346 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21347 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21348 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21349 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21350 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21351 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21352 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21354 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21355 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21356 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21357 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21358 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21359 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21360 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21361 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21362 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21363 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21364 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21365 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21366 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21367 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21368 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21369
65dc3b75
JM
213702012-02-03 Joseph Myers <joseph@codesourcery.com>
21371
21372 * math/tst-CMPLX.c: Include <stdio.h>.
21373
d55bf177
JM
213742012-01-31 Joseph Myers <joseph@codesourcery.com>
21375
21376 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21377 float.
21378 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21379 * sysdeps/sparc/bits/mathdef.h: Likewise.
21380
69db4f8f
MP
213812012-01-31 Marek Polacek <polacek@redhat.com>
21382
21383 * libio/libio.h: Don't define _PARAMS.
21384 * locale/programs/config.h: Don't define PARAMS.
21385 * stdlib/strtol_l.c: Likewise.
21386 (__strtol_l): Remove PARAMS from the prototype.
21387
41b81892
UD
213882012-01-31 Ulrich Drepper <drepper@gmail.com>
21389
3b49edc0
UD
21390 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21391 names. Just use the correct names. Remove unnecessary wrapper
21392 functions.
21393 * malloc/arena.c: Likewise.
21394 * malloc/hooks.c: Likewise.
21395
41b81892
UD
21396 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21397 ARENA_TEST says not to. Simplify test for creation of a new arena.
21398 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21399
27a25b6e
UD
214002012-01-30 Ulrich Drepper <drepper@gmail.com>
21401
21402 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21403 into tail calls.
21404 (update_get_addr): New function.
21405 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21406 GET_ADDR_MODULE parameter.
21407
c8a89e7d
JM
214082012-01-30 Joseph Myers <joseph@codesourcery.com>
21409
21410 * crypt/cert.c: Remove __STDC__ conditionals.
21411 * crypt/crypt-entry.c: Likewise.
21412 * crypt/crypt_util.c: Likewise.
21413 * libio/filedoalloc.c: Likewise.
21414 * libio/fileops.c: Likewise.
21415 * libio/genops.c: Likewise.
21416 * libio/iofclose.c: Likewise.
21417 * libio/iofdopen.c: Likewise.
21418 * libio/iofopen.c: Likewise.
21419 * libio/iofopen64.c: Likewise.
21420 * libio/iogetdelim.c: Likewise.
21421 * libio/iopopen.c: Likewise.
21422 * libio/obprintf.c: Likewise.
21423 * libio/oldfileops.c: Likewise.
21424 * libio/oldiofclose.c: Likewise.
21425 * libio/oldiofdopen.c: Likewise.
21426 * libio/oldiofopen.c: Likewise.
21427 * libio/oldiopopen.c: Likewise.
21428 * libio/wfiledoalloc.c: Likewise.
21429 * libio/wgenops.c: Likewise.
21430 * locale/programs/xmalloc.c: Likewise.
21431 * misc/syslog.c: Likewise.
21432 * stdio-common/xbug.c: Likewise.
21433 * string/memchr.c: Likewise.
21434 * string/memcmp.c: Likewise.
21435 * string/memrchr.c: Likewise.
21436 * string/rawmemchr.c: Likewise.
21437 * sysdeps/posix/getcwd.c: Likewise.
21438 * time/strftime_l.c: Likewise.
21439
3b100462
JM
214402012-01-30 Joseph Myers <joseph@codesourcery.com>
21441
21442 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21443 * config.make.in (config-cflags-sse2avx): Define.
21444 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21445 Fix typo.
21446
607998af
CM
214472012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21448
21449 * scripts/config.guess: Update from upstream config git repository.
21450 * scripts/config.sub: Likewise.
21451
3601428f
CM
214522012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21453
3ac8b282
CM
21454 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21455 (EM_NUM): Update.
21456 (R_TILEPRO_*, R_TILEGX_*): New macros.
21457
e034841e
CM
21458 * scripts/firstversions.awk: Fix bug in version range handling.
21459
540d7568
CM
21460 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21461
3601428f
CM
21462 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21463
463de862
CM
21464 * include/sys/epoll.h: New file.
21465 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21466 libc_hidden_def.
21467
73139a76
UD
214682012-01-28 Ulrich Drepper <drepper@gmail.com>
21469
96bc5b45
UD
21470 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21471 Avoid unnecessary __WORDSIZE == 64 test.
21472 (fmaxf): Use VEX format if possible.
21473 (fmax): Likewise.
21474 (fminf): Likewise.
21475 (fmin): Likewise.
21476
56f6f6a2
UD
21477 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21478 * math/math_private.h: Remove libc_fegetround* and
21479 libc_fesetround*.
21480 * sysdeps/i386/configure.in: Check for -msse2avx.
21481 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21482 also if SSE2AVX is defined.
21483 Remove libc_fegetround* and libc_fesetround*.
21484 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21485 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21486 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21487 of HAS_YMM_USABLE.
21488 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21489 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21490 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21491 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21492 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21493
73139a76
UD
21494 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21495
d73f93a4
AZ
214962012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21497
21498 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21499 size is not set.
21500 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21501
6ee65ed6
UD
215022012-01-27 Ulrich Drepper <drepper@gmail.com>
21503
21504 [BZ #13618]
21505 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21506 relocation.
21507 * Makeconfig (libm): Define.
21508 * elf/Makefile: Add rules to build and run tst-relsort1.
21509 * elf/tst-relsort1.c: New file.
21510 * elf/tst-relsort1mod1.c: New file.
21511 * elf/tst-relsort1mod2.c: New file.
21512
8db21882
JM
215132012-01-27 Joseph Myers <joseph@codesourcery.com>
21514
21515 * math/s_ldexp.c: Remove __STDC__ conditionals.
21516 * math/s_ldexpf.c: Likewise.
21517 * math/s_ldexpl.c: Likewise.
21518 * math/s_nextafter.c: Likewise.
21519 * math/s_nexttowardf.c: Likewise.
21520 * math/s_significand.c: Likewise.
21521 * math/s_significandf.c: Likewise.
21522 * math/s_significandl.c: Likewise.
21523 * math/w_jnl.c: Likewise.
21524 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21525 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21526 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21527 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21528 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21529 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21530 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21531 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21532 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21533 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21535 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21536 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21537 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21538 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21541 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21543 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21544 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21545 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21546 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21547 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21548 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21549 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21550 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21551 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21552 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21553 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21554 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21555 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21556 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21557 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21558 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21559 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21560 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21561 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21562 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21563 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21564 * sysdeps/ieee754/k_standard.c: Likewise.
21565 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21568 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21569 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21570 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21572 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21573 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21574 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21598 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21599 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21601 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21602 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21605 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21607 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21609 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21610 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21611 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21613 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21615 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21617 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21618 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21619 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21623 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21624 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21625 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21626 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21627 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21628 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21629 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21630 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21631 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21632 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21634 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21635 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21636 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21637 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21638 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21639 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21640 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21641 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21644 * sysdeps/ieee754/s_matherr.c: Likewise.
21645 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21646 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21649
965a54a4
JM
216502012-01-26 Joseph Myers <joseph@codesourcery.com>
21651
21652 * crypt/md5.h: Remove __STDC__ conditionals.
21653 * libio/libioP.h: Likewise.
21654 * locale/programs/config.h: Likewise.
21655 * sysdeps/generic/sysdep.h: Likewise.
21656 * sysdeps/i386/asm-syntax.h: Likewise.
21657 * sysdeps/s390/asm-syntax.h: Likewise.
21658 * sysdeps/unix/sysdep.h: Likewise.
21659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21661
7071ad79
JM
216622012-01-26 Joseph Myers <joseph@codesourcery.com>
21663
21664 * libio/libio.h: Remove __STDC__ conditionals.
21665 * malloc/obstack.h: Likewise.
21666 * math/complex.h: Likewise.
21667 * math/math.h: Likewise.
21668 * sysdeps/generic/_G_config.h: Likewise.
21669 * sysdeps/gnu/_G_config.h: Likewise.
21670 * sysdeps/mach/hurd/_G_config.h: Likewise.
21671 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21672 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21673 * sysdeps/sparc/bits/mathdef.h: Likewise.
21674
afc5ed09
UD
216752012-01-26 Ulrich Drepper <drepper@gmail.com>
21676
21677 [BZ #13583]
21678 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21679 Clean up HAS_* macros.
afc5ed09 21680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21681 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21682 possible.
21683 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21684 HAS_AVX.
21685 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21686 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21687 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21688 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21689 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21690
bdb6de1d
JM
216912012-01-25 Joseph Myers <joseph@codesourcery.com>
21692
21693 * elf/tst-unique3.cc (gets): Remove declaration.
21694 * elf/tst-unique3lib.cc (gets): Likewise.
21695 * elf/tst-unique3lib2.cc (gets): Likewise.
21696 * elf/tst-unique4.cc (gets): Likewise.
21697
b15549e6
UD
216982012-01-24 Ulrich Drepper <drepper@gmail.com>
21699
21700 * include/stdio.h: Add C++ protection. Add gets declarations and
21701 definitions.
21702 * debug/tst-chk1.c: Don't declare gets here.
21703 * stdio-common/tst-gets.c: Likewise.
21704
a037381f
JM
217052012-01-24 Joseph Myers <joseph@codesourcery.com>
21706
21707 * posix/glob: Remove directory.
21708
f1d4aa75
JM
217092012-01-24 Joseph Myers <joseph@codesourcery.com>
21710
21711 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21712
81c0c964
PT
217132012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21714
21715 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21716 of the non-standard EPFNOSUPPORT.
21717
0ea698ae
ST
217182011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21719
21720 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21721 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21722 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21723
d220b117
UD
217242012-01-21 Ulrich Drepper <drepper@gmail.com>
21725
21726 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21727
3e1aa84e
UD
217282012-01-20 Ulrich Drepper <drepper@gmail.com>
21729
21730 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21731 transient errors.
21732 * nscd/grpcache.c (cache_addgr): Likewise.
21733 * nscd/hstcache.c (cache_addhst): Likewise.
21734 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21735 * nscd/pwdcache.c (cache_addpw): Likewise.
21736 * nscd/servicescache.c (cache_addserv): Likewise.
21737
400aa020
UD
217382012-01-16 Ulrich Drepper <drepper@gmail.com>
21739
d77e7869
UD
21740 * malloc/malloc.c: Various cleanups.
21741 * malloc/hooks.c: Likewise.
21742
400aa020
UD
21743 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21744 * stdlib/bug-fmtmsg1.c: New file.
21745
21746 * stdlib/fmtmsg.c (init): Add missing unlock.
21747 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21748
e0a309cf
MP
217492012-01-12 Marek Polacek <polacek@redhat.com>
21750
21751 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21752 and _GNU_SOURCE.
21753
929d11c7
WS
217542012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21755
21756 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21757 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21758 macro to ensure uniqueness of label name.
21759 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21760 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21761
41d0e869
UD
217622012-01-11 Ulrich Drepper <drepper@gmail.com>
21763
0cc5ed3b
UD
21764 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21765
41d0e869
UD
21766 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21767 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21768 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21770
a47a831a
UD
217712012-01-10 Ulrich Drepper <drepper@gmail.com>
21772
daa891c0
UD
21773 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21774
21775 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21776 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21777 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21778
e58ef0f2
UD
21779 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21780
a47a831a 21781 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21782 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21783 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21784 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21785
21786 * math/bits/math-finite.h: Add ldexp support.
21787
a0bfc9c7
MP
217882012-01-10 Marek Polacek <polacek@redhat.com>
21789
21790 * locale/programs/localedef.h (show_archive_content): Add noreturn
21791 attribute.
21792
d6e97a1d
UD
217932012-01-09 Ulrich Drepper <drepper@gmail.com>
21794
21795 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21796
d5835c26
UD
217972012-01-08 Ulrich Drepper <drepper@gmail.com>
21798
e5f484c6
UD
21799 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21800
d5835c26
UD
21801 * io/Makefile (headers): Add bits/poll2.h.
21802
d1f741e9
WS
218032011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21804
21805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21806 typo #include statement.
21807
ec09c1c4
UD
218082012-01-08 Ulrich Drepper <drepper@gmail.com>
21809
21810 * include/sys/cdefs.h: Define __attribute_alloc_size.
21811 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21812 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21813 * elf/pldd.c: Likewise.
21814 * iconv/iconv_charmap.c: Likewise.
21815 * iconv/iconvconfig.c: Likewise.
21816 * iconv/strtab.c: Likewise.
21817 * locale/programs/locale.c: Likewise.
21818 * locale/programs/localedef.h: Likewise.
21819 * locale/programs/simple-hash.c: Likewise.
21820 * nscd/nscd.h: Likewise.
21821 * nss/makedb.c: Likewise.
21822 * sysdeps/generic/ldconfig.h: Likewise.
21823 * locale/programs/localedef.c: Remove xmalloc prototype.
21824 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21825
20b38e03
PP
218262012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21827
21828 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21829 appropriate.
21830
a0da5fe1
UD
218312012-01-08 Ulrich Drepper <drepper@gmail.com>
21832
1d5a644a 21833 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21834 * math/tst-CMPLX.c: New file.
1d5a644a 21835
8784a6db
UD
21836 * math/complex.h (CMPLXL): Fix typo.
21837
d9a216c0
UD
21838 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21839 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21840 GLIBC_2.16.
21841 * debug/tst-chk1.c: Add poll and ppoll tests.
21842 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21843 * include/sys/poll.h: Add hidden proto for ppoll.
21844 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21845 * sysdeps/mach/hurd/ppoll.c: Likewise.
21846 * io/ppoll.c: Likewise.
21847 * debug/poll_chk.c: New file.
21848 * debug/ppoll_chk.c: New file.
21849 * include/bits/poll2.h: New file.
21850 * io/bits/poll2.h: New file.
21851
ac097f5c
UD
21852 [BZ #1350]
21853 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21854
2119dcfa
UD
21855 * configure.in: static is always set to yes. Remove.
21856 * config.make.in: Don't set build-static.
21857 * Makeconfig: Remove use of build-static.
21858 * dlfcn/Makefile: Likewise.
21859 * elf/Makefile: Likewise.
21860 * math/Makefile: Likewise.
21861 * misc/Makefile: Likewise.
21862 * nptl/Makefile: Likewise.
21863 * sysdeps/mach/hurd/Makefile: Likewise.
21864
121766a9
UD
21865 * configure.in: PWD_P is not used anymore.
21866 * config.make.in: Remove PWD_P entry.
21867
51a1d39c 21868 * configure.in: Remove last remnants of RANLIB.
8720d066 21869 No need to check for signed size_t anymore.
215f4bdc
UD
21870 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21871 and IA-64.
3857022a 21872 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21873 * aclocal.m4: Likewise.
21874
d3ed7225
UD
21875 * wcsmbs/mbrtoc16.c: Implement using towc function.
21876 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21877 * wcsmbs/wcsmbsload.c: Likewise.
21878 * iconv/gconv_simple.c: Likewise.
21879 * iconv/gconv_int.h: Likewise.
21880 * iconv/gconv_builtin.h: Likewise.
21881 * iconv/iconv_prog.c: Remove CHAR16 handling.
21882
21883 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21884
21885 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21886
a0da5fe1
UD
21887 * configure.in: Remove --with-elf and --enable-bounded options.
21888 Dont set base_machine for ia64. More non-ELF conditions removed.
21889 Remove testing and setting of leading underscore information.
21890 * config.make.in (build-bounded): Set to no.
21891 * config.h.in: Remove NO_UNDERSCORES entry.
21892 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21893 them.
21894 * csu/start.c: Remove !NO_UNDERSCORE code.
21895 * locale/localeinfo.h: Likewise.
21896 * sysdeps/generic/machine-gmon.h: Likewise.
21897 * sysdeps/generic/sysdep.h: Likewise.
21898 * sysdeps/i386/sysdep.h: Likewise.
21899 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21900 * sysdeps/mach/sysdep.h: Likewise.
21901 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21902 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21903 * sysdeps/sh/sysdep.h: Likewise.
21904 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21905 * sysdeps/unix/i386/sysdep.S: Likewise.
21906 * sysdeps/unix/sparc/start.c: Likewise.
21907 * sysdeps/unix/sparc/sysdep.S: Likewise.
21908 * sysdeps/unix/sparc/sysdep.h: Likewise.
21909 * sysdeps/unix/start.c: Likewise.
21910 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21911 * sysdeps/x86_64/sysdep.h: Likewise.
21912
df78418a
UD
219132012-01-07 Ulrich Drepper <drepper@gmail.com>
21914
a784e502
UD
21915 [BZ #13553]
21916 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21917 for non-gcc.
21918 * argp/argp-fmtstream.h: Use const instead __const.
21919 * argp/argp.h: Likewise.
21920 * assert/assert.h: Likewise.
21921 * bits/fenv.h: Likewise.
21922 * bits/sched.h: Likewise.
21923 * bits/sigset.h: Likewise.
21924 * bits/sigthread.h: Likewise.
21925 * catgets/nl_types.h: Likewise.
21926 * conform/data/pthread.h-data: Likewise.
21927 * crypt/crypt-private.h: Likewise.
21928 * crypt/crypt.h: Likewise.
21929 * crypt/crypt_util.c: Likewise.
21930 * ctype/ctype.h: Likewise.
21931 * debug/execinfo.h: Likewise.
21932 * debug/mbsnrtowcs_chk.c: Likewise.
21933 * debug/mbsrtowcs_chk.c: Likewise.
21934 * debug/wcsnrtombs_chk.c: Likewise.
21935 * debug/wcsrtombs_chk.c: Likewise.
21936 * debug/wcstombs_chk.c: Likewise.
21937 * dirent/dirent.h: Likewise.
21938 * dlfcn/dlfcn.h: Likewise.
21939 * elf/neededtest4.c: Likewise.
21940 * grp/grp.h: Likewise.
21941 * gshadow/gshadow.h: Likewise.
21942 * iconv/gconv.h: Likewise.
21943 * iconv/gconv_int.h: Likewise.
21944 * iconv/gconv_simple.c: Likewise.
21945 * iconv/iconv.h: Likewise.
21946 * iconv/loop.c: Likewise.
21947 * iconv/skeleton.c: Likewise.
21948 * include/aio.h: Likewise.
21949 * include/aliases.h: Likewise.
21950 * include/argz.h: Likewise.
21951 * include/arpa/inet.h: Likewise.
21952 * include/assert.h: Likewise.
21953 * include/dirent.h: Likewise.
21954 * include/dlfcn.h: Likewise.
21955 * include/execinfo.h: Likewise.
21956 * include/fcntl.h: Likewise.
21957 * include/fenv.h: Likewise.
21958 * include/glob.h: Likewise.
21959 * include/grp.h: Likewise.
21960 * include/libintl.h: Likewise.
21961 * include/mntent.h: Likewise.
21962 * include/netdb.h: Likewise.
21963 * include/pwd.h: Likewise.
21964 * include/rpc/netdb.h: Likewise.
21965 * include/sched.h: Likewise.
21966 * include/search.h: Likewise.
21967 * include/shadow.h: Likewise.
21968 * include/signal.h: Likewise.
21969 * include/stdio.h: Likewise.
21970 * include/stdlib.h: Likewise.
21971 * include/string.h: Likewise.
21972 * include/sys/socket.h: Likewise.
21973 * include/sys/stat.h: Likewise.
21974 * include/sys/statfs.h: Likewise.
21975 * include/sys/statvfs.h: Likewise.
21976 * include/sys/syslog.h: Likewise.
21977 * include/sys/time.h: Likewise.
21978 * include/sys/uio.h: Likewise.
21979 * include/time.h: Likewise.
21980 * include/unistd.h: Likewise.
21981 * include/utmp.h: Likewise.
21982 * include/wchar.h: Likewise.
21983 * include/wctype.h: Likewise.
21984 * inet/aliases.h: Likewise.
21985 * inet/arpa/inet.h: Likewise.
21986 * inet/netinet/ether.h: Likewise.
21987 * inet/netinet/in.h: Likewise.
21988 * intl/libintl.h: Likewise.
21989 * io/bits/fcntl2.h: Likewise.
21990 * io/fcntl.h: Likewise.
21991 * io/ftw.h: Likewise.
21992 * io/sys/poll.h: Likewise.
21993 * io/sys/stat.h: Likewise.
21994 * io/sys/statfs.h: Likewise.
21995 * io/sys/statvfs.h: Likewise.
21996 * io/utime.h: Likewise.
21997 * libio/bits/stdio.h: Likewise.
21998 * libio/bits/stdio2.h: Likewise.
21999 * libio/libio.h: Likewise.
22000 * libio/libioP.h: Likewise.
22001 * libio/stdio.h: Likewise.
22002 * locale/lc-ctype.c: Likewise.
22003 * locale/locale.h: Likewise.
22004 * login/utmp.h: Likewise.
22005 * malloc/arena.c: Likewise.
22006 * malloc/malloc.c: Likewise.
22007 * malloc/malloc.h: Likewise.
22008 * malloc/mcheck.c: Likewise.
22009 * malloc/mtrace.c: Likewise.
22010 * math/bits/mathcalls.h: Likewise.
22011 * math/fenv.h: Likewise.
22012 * math/math_private.h: Likewise.
22013 * misc/bits/error.h: Likewise.
22014 * misc/bits/syslog.h: Likewise.
22015 * misc/err.h: Likewise.
22016 * misc/error.h: Likewise.
22017 * misc/fstab.h: Likewise.
22018 * misc/mntent.h: Likewise.
22019 * misc/regexp.h: Likewise.
22020 * misc/search.h: Likewise.
22021 * misc/sgtty.h: Likewise.
22022 * misc/sys/mman.h: Likewise.
22023 * misc/sys/syslog.h: Likewise.
22024 * misc/sys/uio.h: Likewise.
22025 * misc/sys/xattr.h: Likewise.
22026 * misc/ttyent.h: Likewise.
22027 * nis/rpcsvc/ypclnt.h: Likewise.
22028 * nss/nss.h: Likewise.
22029 * posix/bits/unistd.h: Likewise.
22030 * posix/fnmatch.h: Likewise.
22031 * posix/glob.h: Likewise.
22032 * posix/sched.h: Likewise.
22033 * posix/spawn.h: Likewise.
22034 * posix/sys/wait.h: Likewise.
22035 * posix/unistd.h: Likewise.
22036 * posix/wordexp.h: Likewise.
22037 * pwd/pwd.h: Likewise.
22038 * resolv/netdb.h: Likewise.
22039 * resource/sys/resource.h: Likewise.
22040 * rt/aio.h: Likewise.
22041 * rt/bits/mqueue2.h: Likewise.
22042 * rt/mqueue.h: Likewise.
22043 * shadow/shadow.h: Likewise.
22044 * signal/signal.h: Likewise.
22045 * socket/send.c: Likewise.
22046 * socket/sendto.c: Likewise.
22047 * socket/sys/socket.h: Likewise.
22048 * stdio-common/printf.h: Likewise.
22049 * stdlib/bits/stdlib.h: Likewise.
22050 * stdlib/fmtmsg.h: Likewise.
22051 * stdlib/monetary.h: Likewise.
22052 * stdlib/stdlib.h: Likewise.
22053 * stdlib/ucontext.h: Likewise.
22054 * streams/stropts.h: Likewise.
22055 * string/argz.h: Likewise.
22056 * string/bits/string2.h: Likewise.
22057 * string/string.h: Likewise.
22058 * string/strings.h: Likewise.
22059 * sunrpc/rpc/auth.h: Likewise.
22060 * sunrpc/rpc/auth_des.h: Likewise.
22061 * sunrpc/rpc/clnt.h: Likewise.
22062 * sunrpc/rpc/netdb.h: Likewise.
22063 * sunrpc/rpc/pmap_clnt.h: Likewise.
22064 * sunrpc/rpc/xdr.h: Likewise.
22065 * sysdeps/generic/inttypes.h: Likewise.
22066 * sysdeps/generic/net/if.h: Likewise.
22067 * sysdeps/generic/sys/swap.h: Likewise.
22068 * sysdeps/gnu/net/if.h: Likewise.
22069 * sysdeps/gnu/utmpx.h: Likewise.
22070 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22071 * sysdeps/i386/i486/bits/string.h: Likewise.
22072 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22073 * sysdeps/s390/bits/string.h: Likewise.
22074 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22075 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22076 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22077 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22078 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22079 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22080 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22081 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22082 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22083 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22084 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22085 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22086 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22087 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22088 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22089 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22090 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22092 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22093 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22094 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22095 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22096 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22097 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22098 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22099 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22100 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22101 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22102 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22103 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22104 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22105 * sysvipc/sys/ipc.h: Likewise.
22106 * sysvipc/sys/msg.h: Likewise.
22107 * sysvipc/sys/sem.h: Likewise.
22108 * sysvipc/sys/shm.h: Likewise.
22109 * termios/termios.h: Likewise.
22110 * time/sys/time.h: Likewise.
22111 * time/time.h: Likewise.
22112 * wcsmbs/bits/wchar2.h: Likewise.
22113 * wcsmbs/uchar.h: Likewise.
22114 * wcsmbs/wchar.h: Likewise.
22115 * wctype/wctype.h: Likewise.
22116
0269750c
UD
22117 [BZ #13551]
22118 * Makeconfig: Remove all but ELF support including AIX support.
22119 * Makerules: Likewise.
22120 * config.h.in: Likewise.
22121 * config.make.in: Likewise.
22122 * configure: Likewise.
22123 * configure.in: Likewise.
22124 * csu/Makefile: Likewise.
22125 * csu/version.c: Likewise.
22126 * debug/Makefile: Likewise.
22127 * dlfcn/Makefile: Likewise.
22128 * elf/Makefile: Likewise.
22129 * extra-lib.mk: Likewise.
22130 * iconv/Makefile: Likewise.
22131 * include/libc-symbols.h: Likewise.
22132 * include/shlib-compat.h: Likewise.
22133 * resolv/Makefile: Likewise.
22134 * resolv/res_libc.c: Likewise.
22135 * rt/Makefile: Likewise.
22136 * sysdeps/i386/asm-syntax.h: Likewise.
22137 * sysdeps/i386/sysdep.h: Likewise.
22138 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22139 * sysdeps/mach/sysdep.h: Likewise.
22140 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22141 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22142 * sysdeps/s390/asm-syntax.h: Likewise.
22143 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22144 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22145 * sysdeps/sh/sysdep.h: Likewise.
22146 * sysdeps/unix/sparc/sysdep.h: Likewise.
22147 * sysdeps/wordsize-32/divdi3.c: Likewise.
22148 * sysdeps/x86_64/sysdep.h: Likewise.
22149
00bbd29b
UD
22150 * argp/Versions: Remove _argp_unlock_xxx.
22151
22152 [BZ #13559]
22153 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22154 * abilist/libBrokenLocale.abilist: Likewise.
22155 * abilist/libanl.abilist: Likewise.
22156 * abilist/libc.abilist: Likewise.
22157 * abilist/libcrypt.abilist: Likewise.
22158 * abilist/libdl.abilist: Likewise.
22159 * abilist/libm.abilist: Likewise.
22160 * abilist/libnsl.abilist: Likewise.
22161 * abilist/libpthread.abilist: Likewise.
22162 * abilist/libresolv.abilist: Likewise.
22163 * abilist/librt.abilist: Likewise.
22164 * abilist/libthread_db.abilist: Likewise.
22165 * abilist/libutil.abilist: Likewise.
22166 * abilist/libnss_db.abilist: New file.
22167
22168 * scripts/abilist.awk: Add support for indirect functions.
22169
a2693a0e
UD
22170 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22171
3f05895f
UD
22172 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22173
ecb6fb48
UD
22174 * shlib-versions: Remove entries for ports architectures.
22175
664f8cb9
UD
22176 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22177 files in ports.
22178 * elf/stackguard-macros.h: Remove support for IA-64.
22179 * elf/tst-auditmod1.c: Likewise.
22180 * sysdeps/generic/ldsodefs.h: Likewise.
22181
7ae81d88
UD
22182 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22183 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22184 configure files.
22185
bdeba135
UD
22186 [BZ #13552]
22187 * configure.in: Remove --enable-omitfp support.
22188 * FAQ.in: Adjust.
22189 * config.make.in: Likewise.
22190 * Makeconfig: Likewise.
22191 * manual/install.texi: Likewise.
22192
d75a0a62
UD
22193 In case anyone cares, the IA-64 architecture could move to ports.
22194 * sysdeps/ia64/*: Removed.
22195 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 22196 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 22197
dcc9756b
UD
22198 [BZ #13555]
22199 * configure.in: Remove entries for unsupported architectures.
22200
d3761ebc 22201 [BZ #13533]
9954432e
UD
22202 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22203 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22204 routines.
22205 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22206 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22207 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22208 fall back to using wcrtomb.
22209 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22210 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22211 renaming.
22212 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22213 * wcsmbs/tst-c16c32-1.c: New file.
22214
22215 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22216 local variable.
22217
c3a87236
UD
22218 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22219
28926a1b
UD
22220 * elf/tst-unique3.cc: Add explicit declaration of gets.
22221 * elf/tst-unique3lib.cc: Likewise.
22222 * elf/tst-unique3lib2.cc: Likewise.
22223 * elf/tst-unique4.cc: Likewise.
22224
df78418a
UD
22225 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22226
8ecd6b2a
JM
222272012-01-06 Joseph Myers <joseph@codesourcery.com>
22228
22229 [BZ #13566]
22230 * assert/assert.h (static_assert): Don't define for C++.
22231 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22232 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22233
9f115170
UD
222342012-01-03 Ulrich Drepper <drepper@gmail.com>
22235
5e0d0300
UD
22236 * iconv/loop.c (single loop): Fix assertion in storing of
22237 remaining bytes.
22238
9f115170
UD
22239 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22240
81fb02b0
UD
222412012-01-01 Ulrich Drepper <drepper@gmail.com>
22242
22243 * posix/getconf.c: Update copyright year.
22244 * nss/getent.c: Likewise.
a316c1f6 22245 * nss/makedb.c: Likewise.
81fb02b0
UD
22246 * iconv/iconvconfig.c: Likewise.
22247 * iconv/iconv_prog.c: Likewise.
22248 * elf/ldconfig.c: Likewise.
a316c1f6
UD
22249 * elf/pldd.c: Likewise.
22250 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
22251 * catgets/gencat.c: Likewise.
22252 * csu/version.c: Likewise.
22253 * elf/ldd.bash.in: Likewise.
22254 * elf/sprof.c (print_version): Likewise.
22255 * locale/programs/locale.c: Likewise.
22256 * locale/programs/localedef.c: Likewise.
a316c1f6 22257 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
22258 * nscd/nscd.c (print_version): Likewise.
22259 * debug/xtrace.sh: Likewise.
22260 * malloc/memusage.sh: Likewise.
22261 * malloc/mtrace.pl: Likewise.
22262 * debug/catchsegv.sh: Likewise.
22263
2ba92745
JJ
222642011-12-30 Jakub Jelinek <jakub@redhat.com>
22265
22266 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22267 pure attribute.
22268
dadebdae
UD
222692011-12-24 Ulrich Drepper <drepper@gmail.com>
22270
d3761ebc 22271 [BZ #13533]
db6af3eb
UD
22272 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22273 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22274 transformations.
22275 * iconv/gconv_int.h: Likewise.
22276 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22277 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22278 from libc for GLIBC_2.16.
22279 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22280 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22281 * wcsmbs/uchar.h: Really define mbstate_t.
22282 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22283 * wcsmbs/c16rtomb.c: New file.
22284 * wcsmbs/mbrtoc16.c: New file.
22285 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22286 for C/POSIX locale.
22287 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22288 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22289
dadebdae
UD
22290 * wcsmbs/wchar.h: Add missing __restrict.
22291
67371b56
UD
222922011-12-23 Ulrich Drepper <drepper@gmail.com>
22293
74033a25
UD
22294 [BZ #13532]
22295 * time/Makefile (routines): Add timespec_get.
22296 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22297 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22298 timespec for ISO C11.
22299 * time/timespec_get.c: New file.
22300 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22301 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22302
380d7e87
UD
22303 [BZ #13531]
22304 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22305 * stdlib/stdlib.h: Declare aligned_alloc.
22306 * Versions.def: Add GLIBC_2.16 for libc.
22307 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22308
4e9e7a35
UD
22309 [BZ 13527]
22310 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22311 ISO C11.
22312
380d7e87 22313 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
22314 code.
22315
03a71829
UD
22316 [BZ #13528]
22317 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22318
839e283e
UD
22319 [BZ #13529]
22320 * assert/assert.h (static_assert): Define.
22321
ce5294e2 22322 * version.h: Update for 2.16 development version.
90fa7312 22323
8d44e150 22324 [BZ #13526]
d7809905
UD
22325 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22326 _ISOC11_SOURCE.
22327
c0da14cd
UD
22328 * version.h (RELEASE): Bump for 2.15 release.
22329 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22330
530a3249
MP
22331 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22332 Patch by Marek Polacek <mpolacek@redhat.com>.
22333
67371b56
UD
22334 * bits/byteswap.h: Protect long long constants with __extension__.
22335 * sysdeps/i386/bits/byteswap.h: Likewise.
22336 * sysdeps/ia64/bits/byteswap.h: Likewise.
22337 * sysdeps/s390/bits/byteswap.h: Likewise.
22338 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22339
15db4de1
LD
223402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22341
22342 [BZ #13540]
bbe315ea
LD
22343 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22344 destination buffer.
15db4de1
LD
22345 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22346
2b2596b1
MP
223472011-12-23 Marek Polacek <polacek@redhat.com>
22348
22349 * elf/dl-addr.c (determine_info): Add inline keyword.
22350 * elf/tst-auditmod4b.c (check_avx): Likewise.
22351 * elf/tst-auditmod6b.c (check_avx): Likewise.
22352 * elf/tst-auditmod6c.c (check_avx): Likewise.
22353 * elf/tst-auditmod7b.c (check_avx): Likewise.
22354
70c6c246
UD
223552011-12-23 Ulrich Drepper <drepper@gmail.com>
22356
22357 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22358 !__SSE_MATH__.
22359
c044cf14
LD
223602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22361
15db4de1 22362 [BZ #13540]
c044cf14
LD
22363 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22364 processing for last bytes.
22365
6b13d9d9
BH
223662011-08-06 Bruno Haible <bruno@clisp.org>
22367
d455f537
BH
22368 [BZ #13061]
22369 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22370 U+0385, not to U+1FEE.
22371
6b13d9d9
BH
22372 [BZ #13062]
22373 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22374 entry for U+00A5 U+0301.
22375
db910efd
UD
223762011-12-22 Ulrich Drepper <drepper@gmail.com>
22377
27deeafc
UD
22378 [BZ #13166]
22379 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22380 buffer for the output is too small.
22381
aed9d171
UD
22382 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22383 optimization.
22384
db910efd
UD
22385 [BZ #13185]
22386 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22387 SSE flags if possible.
22388
2bd779ae
LD
223892011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22390
e7f9dac3 22391 [BZ #13540]
2bd779ae
LD
22392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22393 processing for last bytes.
22394
154bfc16
JM
223952011-12-22 Joseph Myers <joseph@codesourcery.com>
22396
22397 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22398 (syscall-list-default-options, syscall-list-default-condition)
22399 (syscall-list-includes): Define.
22400 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22401 list of ABIs and options and #if conditions for each ABI. Do not
22402 handle common syscalls between ABIs specially.
22403 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22404 Remove.
22405 (syscall-list-variants, syscall-list-32bit-options)
22406 (syscall-list-32bit-condition, syscall-list-64bit-options)
22407 (syscall-list-64bit-condition): Define.
22408 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22409 (syscall-list-variants, syscall-list-32bit-options)
22410 (syscall-list-32bit-condition, syscall-list-64bit-options)
22411 (syscall-list-64bit-condition): Define.
22412 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22413 Remove.
22414 (syscall-list-variants, syscall-list-32bit-options)
22415 (syscall-list-32bit-condition, syscall-list-64bit-options)
22416 (syscall-list-64bit-condition): Define.
22417 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22418 Remove.
22419 (syscall-list-variants, syscall-list-32bit-options)
22420 (syscall-list-32bit-condition, syscall-list-64bit-options)
22421 (syscall-list-64bit-condition): Define.
22422
21eaf3a5
UD
224232011-12-22 Ulrich Drepper <drepper@gmail.com>
22424
16c6f992
UD
22425 * locale/iso-639.def: Add brx entry.
22426
41043168
UD
22427 [BZ #13328]
22428 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22429 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22430
21eaf3a5
UD
22431 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22432 __feraiseexcept_renamed.
22433
e3a851a2
UD
224342011-12-21 Ulrich Drepper <drepper@gmail.com>
22435
4920765e
UD
22436 [BZ #13538]
22437 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22438 EPOLLET with unsigned values.
22439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22440 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22441
e3a851a2
UD
22442 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22443 to large cancellation.
22444 * math/s_cacoshf.c: Likewise.
22445 * math/s_cacoshl.c: Likewise.
22446
b27e24b8
RK
224472011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22448
22449 [BZ #13305]
aebefeee 22450 [BZ #12786]
b27e24b8
RK
22451 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22452 * math/s_cacoshf.c: Likewise.
22453 * math/s_cacoshl.c: Likewise.
22454
ee190f67
UD
224552011-12-21 Ulrich Drepper <drepper@gmail.com>
22456
22457 [BZ #13439]
22458 * iconv/gconv.h: Define __GCONV_SWAP.
22459 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22460 * iconvdata/utf-16.c: Likewise.
22461 * iconvdata/utf-32.c: Likewise.
22462
707f25df
AS
224632011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22464
22465 [BZ #13524]
22466 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22467 numerator after shifting it by one limb.
22468
d2daaa1e
RÁE
224692011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22470
22471 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22472 under [__USE_EXTERN_INLINES].
22473
a4647e72
UD
224742011-12-17 Ulrich Drepper <drepper@gmail.com>
22475
22476 [BZ #13446]
22477 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22478
f0b264f1
AZ
224792011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22480
22481 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22482 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22483 optimized code.
22484 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22485 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22486 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22487 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22488 for strncasecmp/strncasecmp_l compilation.
22489 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22490 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22491
8ef4f244
MP
224922011-12-08 Marek Polacek <mpolacek@redhat.com>
22493
22494 [BZ #13484]
22495 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22496 of __asm__.
22497
97ac2654
UD
224982011-12-17 Ulrich Drepper <drepper@gmail.com>
22499
22500 [BZ #13506]
22501 * time/tzfile.c (__tzfile_read): Check values from file header.
22502
91d2a845
WS
225032011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22504
22505 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22506 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22507 * powerpc/powerpc32/dl-start.S: Likewise.
22508 * powerpc/powerpc32/elf/start.S: Likewise.
22509 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22510 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22511 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22512 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22513 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22514 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22515 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22516 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22517 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22518 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22519 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22520 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22521 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22522 * powerpc/powerpc32/memset.S: Likewise.
22523 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22524 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22525 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22526 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22527 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22528 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22529 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22530 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22531 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22532 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22533 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22534 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22535 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22536
a1267ba1
AZ
225372011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22538
22539 * math/libm-test.inc: Added more nearbyint tests.
22540 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22541 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22542 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22543 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22544
ad8ac1bd
RL
225452011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22546
22547 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22548 FD_CLOEXEC.
22549
1d3e4b61
UD
225502011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22551
22552 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22553 Add wcscpy-ssse3 wcscpy-c.
22554 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22555 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22556 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22557 * sysdeps/x86_64/wcschr.S: New file.
22558 * sysdeps/x86_64/wcsrchr.S: New file.
22559 * string/test-strcmp.c: Remove checking of wcscmp function for
22560 wrong alignments.
22561 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22562 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22563 wcsrchr-sse2 wcsrchr-c.
22564 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22565 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22566 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22567 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22568 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22569 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22570 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22571 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22572 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22573 * wcsmbc/wcschr.c (WCSCHR): New macro.
22574
5b330a2d
UD
225752011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22576
22577 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22578 * wcsmbs/test-wcsrchr.c: New file.
22579 * string/test-strrchr.c: Add wcsrchr support.
22580 (WIDE): New macro.
22581 * wcsmbs/test-wcscpy.c: New file.
22582 * string/test-strcpy.c: Add wcscpy support.
22583 (WIDE): New macro.
26428b7c 22584
f039c043
UD
225852011-12-10 Ulrich Drepper <drepper@gmail.com>
22586
22587 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22588 the inner loop.
22589
850fb039
AS
225902011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22591
22592 [BZ #13472]
22593 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22594
4efbd5cb
UD
225952011-12-04 Ulrich Drepper <drepper@gmail.com>
22596
52ff5dd0 22597 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22598 Minor optimizations.
52ff5dd0 22599
4efbd5cb
UD
22600 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22601 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22602 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22603
8a426e12
UD
226042011-12-03 Ulrich Drepper <drepper@gmail.com>
22605
aff2453d
UD
22606 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22607 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22608 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22609 for gcc to avoid warnings.
22610 * inet/Makefile (tests): Add tst-checks.
22611 * inet/tst-checks.c: New file.
22612
22613 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22614 warning.
22615
22616 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22617 __wmemcmp_sse2.
22618
22619 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22620 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22621
8a426e12
UD
22622 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22623
9bea3473
UD
226242011-12-02 Ulrich Drepper <drepper@gmail.com>
22625
3a965496
UD
22626 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22627 problem.
22628
9bea3473
UD
22629 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22630
f101631b
UD
226312011-11-29 Joseph Myers <joseph@codesourcery.com>
22632
22633 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22634 conditional on GCC version.
22635 (__arch_compare_and_exchange_val_8_acq)
22636 (__arch_compare_and_exchange_val_16_acq)
22637 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22638 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22639 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22640
a98275aa
UD
226412011-12-02 Joseph Myers <joseph@codesourcery.com>
22642
22643 * sysdeps/sh/backtrace.c: New file.
22644
d4cc29a2
AS
226452011-12-02 Andreas Schwab <schwab@redhat.com>
22646
22647 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22648 parenthesis.
22649
6257af2d
AS
226502011-12-01 Andreas Schwab <schwab@redhat.com>
22651
22652 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22653 falling back to utime.
22654
b5f44c1a
AS
226552011-11-30 Andreas Schwab <schwab@redhat.com>
22656
22657 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22658 expectations for float.
22659
f3a6cc0a
AS
226602011-11-29 Andreas Schwab <schwab@redhat.com>
22661
22662 * locale/weight.h (findidx): Add parameter len.
22663 * locale/weightwc.h (findidx): Likewise.
22664 * posix/fnmatch_loop.c (FCT): Adjust caller.
22665 * posix/regcomp.c (build_equiv_class): Likewise.
22666 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22667 * posix/regexec.c (check_node_accept_bytes): Likewise.
22668 * string/strcoll_l.c (STRCOLL): Likewise.
22669 * string/strxfrm_l.c (STRXFRM): Likewise.
22670
9d65ea3a
UD
226712011-11-17 Ulrich Drepper <drepper@gmail.com>
22672
22673 * Makefile.in: Remove CVSOPT handling.
22674 * configure.in: Remove use of AC_REVISION.
22675 * iconvdata/Makefile (distribute): No need to filter out CVS.
22676 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22677 handling.
22678
5583a086
AS
226792011-11-16 Andreas Schwab <schwab@redhat.com>
22680
22681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22682 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22683 [USE_AS_STRNCASECMP_L]: Likewise.
22684 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22685 NO_TLS_DIRECT_SEG_REFS.
22686 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22687 Fix argument offsets for non-PIC.
22688 [USE_AS_STRNCASECMP_L]: Likewise.
22689 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22690 NO_TLS_DIRECT_SEG_REFS.
22691
d62a8200
UD
226922011-11-15 Ulrich Drepper <drepper@gmail.com>
22693
9d65ea3a 22694 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22695 O_CLOEXEC.
22696 * locale/loadlocale.c (_nl_load_locale): Likewise.
22697
09f93bd3
AS
226982011-11-15 Andreas Schwab <schwab@redhat.com>
22699
446514f9
AS
22700 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22701 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22702 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22703 (SYSCALL_GETTIME): Set errno on error.
22704
09f93bd3
AS
22705 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22706 count references to noai6ai_cached.
22707
312be3f9
UD
227082011-11-15 Ulrich Drepper <drepper@gmail.com>
22709
22710 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22711
22712 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22713 FD_CLOEXEC for /proc/self/maps.
22714
22715 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22716 FD_CLOEXEC for /proc/meminfo.
22717
22718 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22719 gai.conf.
22720
22721 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22722 FD_CLOEXEC for given file.
22723
22724 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22725
22726 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22727 FD_CLOEXEC for /etc/hosts.
22728 (_gethtent): Likewise.
22729
22730 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22731
22732 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22733 cancellation and set FD_CLOEXEC for /etc/netgroup.
22734
22735 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22736 reading /etc/publickey.
22737
22738 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22739 allow cancellation when reading /etc/group.
22740
22741 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22742 cancellation.
22743 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22744
22745 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22746 when using data file.
22747
22748 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22749
22750 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22751 (write_nis_obj): Use "c" and "e" in fopen.
22752
22753 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22754
22755 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22756
22757 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22758
22759 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22760
22761 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22762 locale.alias.
22763
22764 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22765
22766 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22767
22768 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22769
22770 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22771 file parsing and set FD_CLOEXEC.
22772
82af0fa8
UD
227732011-11-14 Ulrich Drepper <drepper@gmail.com>
22774
22775 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22776
a5fb313c
AS
227772011-11-14 Andreas Schwab <schwab@redhat.com>
22778
22779 * malloc/arena.c (arena_get2): Don't call reused_arena when
22780 _int_new_arena failed.
22781
6abf3465
UD
227822011-11-14 Ulrich Drepper <drepper@gmail.com>
22783
22784 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22785 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22786 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22787 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22788 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22789 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22790 to compile strcasecmp and strncasecmp.
22791 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22792 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22793
22794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22795
76e3966e
UD
227962011-11-13 Ulrich Drepper <drepper@gmail.com>
22797
22798 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22799 locale-defines.sym to gen-as-const-headers.
22800 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22801 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22803 to compile strcasecmp and strncasecmp.
22804 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22805 strcasecmp_l and strncasecmp_l.
22806 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22807 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22808 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22809 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22810 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22811 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22812 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22813 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22814 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22815 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22816 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22817
ab26144e
UD
228182011-11-12 Ulrich Drepper <drepper@gmail.com>
22819
7edb22ef
UD
22820 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22821 result of SYSDEP_GETTIME_CPU to retval.
22822 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22823 parameter list to macro. Remove trailing semicolon. Adjust users.
22824
9694fc44
UD
22825 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22826 variable.
22827
8ad89ef8
UD
22828 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22829 mantissa words.
22830 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22831
0c822ef9
UD
22832 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22833 from unused variable.
22834
874e0564
UD
22835 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22836 DWARF definitions.
22837 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22838 for assembling.
22839
3a2edc79
UD
22840 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22841 over namespaces.
22842
f3c2577f
UD
22843 * sunrpc/rpc_prot.c (rejected): Fix case value.
22844
294ce126
UD
22845 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22846 unsigned long long int to avoid warnings in shift.
22847
5e2b63c6
UD
22848 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22849 of use of trans.
22850 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22851 variable tmp.
22852
e7f4b08e
UD
22853 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22854 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22855 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22856
ab26144e
UD
22857 * nis/nis_table.c (nis_list): Use variable of correct type for
22858 result of __follow_path call.
22859
8a6d5255
AZ
228602011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22861
22862 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22863 of math functions ceil, trunc, floor, round, and sqrt, when
22864 avaliable on the platform.
22865 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22866 name clash.
22867 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22868 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22869 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22870
aaddc98c
MP
228712011-10-30 Marek Polacek <mpolacek@redhat.com>
22872
22873 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22874 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22875
95b7042b
RM
228762011-11-11 Roland McGrath <roland@hack.frob.com>
22877
22878 * include/unistd.h: Fix __readlink return type.
22879 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22880
57769839
UD
228812011-11-11 Ulrich Drepper <drepper@gmail.com>
22882
22883 * stdlib/ucontext.h: Undo last change for makecontext.
22884
edc5984d
AS
228852011-11-11 Andreas Schwab <schwab@redhat.com>
22886
98591e58
AS
22887 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22888
edc5984d
AS
22889 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22890 * setjmp/setjmp.h: Mark functions as non-leaf.
22891 * setjmp/bits/setjmp2.h: Likewise.
22892 * stdlib/ucontext.h: Likewise.
22893
77cdc054
AS
228942011-11-10 Andreas Schwab <schwab@redhat.com>
22895
22896 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22897 (reused_arena): Don't check arena limit.
22898 (arena_get2): Atomically check arena limit.
22899
fe72eebd
UD
229002011-11-08 Ulrich Drepper <drepper@gmail.com>
22901
5f078c32
UD
22902 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22903 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22904
fe72eebd
UD
22905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22906 instructions.
22907
ae1bc2fa
AS
229082011-11-07 Andreas Schwab <schwab@redhat.com>
22909
7583a88d
AS
22910 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22911 handler when locking.
22912
ae1bc2fa
AS
22913 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22914 Fix size of allocated buffer.
22915
10fb0bfa
AS
229162011-11-04 Andreas Schwab <schwab@redhat.com>
22917
998832a4
AS
22918 [BZ #10103]
22919 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22920 declarations for long double functions.
22921 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22922
10fb0bfa
AS
22923 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22924
3d7ba52b
AS
229252011-11-03 Andreas Schwab <schwab@redhat.com>
22926
a9ae54a1
AS
22927 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22928 installed.
22929
3d7ba52b
AS
22930 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22931 is disabled.
22932
bc8db248
ST
229332011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22934
22935 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22936
45b96dd6
AS
229372011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22938
647776f6
AS
22939 * include/alloca.h (stackinfo_alloca_round): Define.
22940 (extend_alloca): Use it.
22941 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22942 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22943 here.
22944
d91a8b93
AS
22945 * scripts/check-local-headers.sh: Ignore libaudit.h.
22946
45b96dd6
AS
22947 * nscd/Makefile (extra-objs): Make recursively expanded.
22948
432d41ce
UD
229492011-11-01 Ulrich Drepper <drepper@gmail.com>
22950
34372fc6
UD
22951 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22952 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22953
fadb59f8
UD
22954 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22955 * posix/tst-rfc3484-2.c: Likewise.
22956 * posix/tst-rfc3484-3.c: Likewise.
22957
78239589
UD
22958 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22959 process_vm_writev.
22960 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22961 process_vm_writev.
22962 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22963 process_vm_writev from libc using GLIBC_2.15 version.
22964
432d41ce
UD
22965 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22966
02f9c6cf
PP
229672011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22968
22969 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22970 stack usage.
22971
3a2c0242
UD
229722011-10-31 Ulrich Drepper <drepper@gmail.com>
22973
f4ec4833
UD
22974 [BZ #13367]
22975 * nss/getent.c (initgroups_keys): Show error message in case no group
22976 names are given.
22977
3a2c0242
UD
22978 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22979 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22980 __bump_nl_timestamp.
22981 * nscd/connections (nscd_init): When host database is served open
22982 netlink socket and request notification about configuration changes.
22983 (main_loop_poll): Track netlink file descriptor and bump timestamp
22984 in case data becomes available.
22985 (main_loop_epoll): Likewise.
22986 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22987 (database_pers_head): Add extra_data fileds.
22988 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22989 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22990 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22991 Adjust caller.
22992 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22993 in6ai data, call __free_in6ai.
22994 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22995 Add -DHAVE_NETLINK.
22996 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22997 interface information. Reuse previous data if netlink timestamp
22998 is not changed.
22999 (__bump_nl_timestamp): New function.
23000 (__free_in6ai): New function.
23001
636064eb
UD
230022011-10-30 Ulrich Drepper <drepper@gmail.com>
23003
23004 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23005 close_not_cancel_no_status here.
23006 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23007
9beb2334
UD
230082011-10-29 Ulrich Drepper <drepper@gmail.com>
23009
6ef76f3b
UD
23010 [BZ #13276]
23011 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23012 return value.
23013
0ffc4f3e 23014 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
23015 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23016 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23017
cb95113e
UD
230182011-07-03 Andreas Jaeger <aj@suse.de>
23019
23020 [BZ #10709]
23021 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23022 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23023 * math/libm-test.inc (sin_test): Add test case.
23024
a1b560ff
UD
230252011-10-29 Ulrich Drepper <drepper@gmail.com>
23026
c9aaface
UD
23027 [BZ #13337]
23028 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23029 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23030
d272e7f1
UD
23031 * elf/chroot_canon.c (chroot_canon): Cleanups.
23032
1bc33071
UD
23033 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23034
1760874d
TJ
23035 [BZ #13335]
23036 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23037 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23038
51d91b18
UD
23039 * string/test-strchr.c: Make usable for strchrnul testing.
23040 * string/test-strchrnul.c: New file.
23041 * string/Makefile (strop-tests): Add strchrnul.
23042
a1b560ff 23043 * po/it.po: Update from translation team.
b611fb81 23044 * po/es.po: Likewise.
a1b560ff 23045
a5b81e1f
UD
230462011-10-28 Ulrich Drepper <drepper@gmail.com>
23047
fd52bc6d
UD
23048 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23049 the three constants needed as parameters. Drop the others.
23050 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23051 __m128i_strloadu_tolower.
52e4b9eb
UD
23052 Create and initialize variable zero and use it in all the places
23053 where _mm_setzero_si128 was used.
fd52bc6d 23054
a5b81e1f
UD
23055 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23056 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23057 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23058 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23059 anymore.
23060 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23061 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23062 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23063 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23064 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23065 __mpranred, __mptan.
23066 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23067 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23068 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23069 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23070 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23071 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23072 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23073 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23074 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23075
b4343346
AS
230762011-10-28 Andreas Schwab <schwab@redhat.com>
23077
0c92d8a8
AS
23078 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23079 redefine if SHARED.
23080 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23081
b4343346
AS
23082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23083 wide char related routines to wcsmbs subdir.
23084
3871f58f
AS
230852011-10-27 Andreas Schwab <schwab@redhat.com>
23086
23087 [BZ #13344]
23088 * misc/sys/cdefs.h (__THROWNL): Define.
23089 * posix/unistd.h: Use __THREADNL instead of __THREAD
23090 for memory synchronization functions.
23091
94d44d9f
RM
230922011-10-26 Roland McGrath <roland@hack.frob.com>
23093
21b64b15 23094 [BZ #13349]
94d44d9f
RM
23095 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23096 doesn't exist.
23097 * manual/stdio.texi (Obstack Streams): Node removed.
23098
f6ce9294
AS
230992011-10-26 Andreas Schwab <schwab@redhat.com>
23100
80479147
AS
23101 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23102 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23103 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23104
f6ce9294
AS
23105 * math/math_private.h (math_force_eval): Allow non-addressable
23106 arguments.
23107 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23108
618280a1
UD
231092011-10-25 Ulrich Drepper <drepper@gmail.com>
23110
e0016b11
UD
23111 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23112 file is not needed.
23113
23114 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23115 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23116 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23117 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23118 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23119 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23120 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23121 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23122 Add AVX variants.
23123 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23124 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23125 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23126 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23127 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23128 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23129 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23130 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23131 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23132 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23133 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23134 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23135 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23136 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23137 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23138 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23139 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23140 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23141 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23142
23143 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23144 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23145
618280a1
UD
23146 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23147 place. Use VEX encoding when compiling for AVX.
23148
37822576
AS
231492011-10-25 Andreas Schwab <schwab@redhat.com>
23150
1f1e1947
AS
23151 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23152 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23153
37822576
AS
23154 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23155
31ea014d
UD
231562011-10-25 Ulrich Drepper <drepper@gmail.com>
23157
d7826aa1 23158 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23159 useless if() expression.
d7826aa1
UD
23160 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23169 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23170 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23171 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23172 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23173 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23174 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23175 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23176 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23177 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23178 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23179
31ea014d
UD
23180 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23181
16437fec
AS
231822011-10-25 Andreas Schwab <schwab@redhat.com>
23183
23184 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23185 condition.
23186 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23187
31d3cc00
UD
231882011-10-25 Ulrich Drepper <drepper@gmail.com>
23189
23190 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23191 .text section. Avoid duplicate constants.
23192 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23202 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23204 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23207 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23209 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23215 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23216 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23217 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23218 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23219 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23220 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23221 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23222 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23223 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23224 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23225 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23226 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23227 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23228 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23229 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23230 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23231 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23232 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23233 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23234 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23235 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23236 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23237
58985aa9
UD
232382011-10-24 Ulrich Drepper <drepper@gmail.com>
23239
202c9deb
UD
23240 * sysdeps/x86_64/dla.h: Move to ...
23241 * sysdeps/x86_64/fpu/dla.h: ...here.
23242 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23243 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 23244
af968f62
UD
23245 * config.make.in: Add have-mfma4 entry.
23246 * configure.in: Substitute libc_cv_cc_fma4.
23247 * math/Makefile (dbl-only-routines): Add sincostab.
23248 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23249 Use __sincostab not sincos.
23250 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23251 name is a macro.
23252 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23256 using __copysign.
23257 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23258 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23259 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23260 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23261 and __inv.
23262 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23263 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23264 __copysign.
23265 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23266 define aliases when function name is a macro.
23267 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23268 sysdeps/ieee754/dbl-64/sincos.tbl.
23269 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23270 fma4-enabled routines.
23271 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23272 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23273 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23274 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23275 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23276 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23277 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23278 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23279 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23280 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23281 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23282 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23283 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23284 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23285 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23286 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23287 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23288 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23289 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23290 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23291 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23292 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23293 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23294 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23295 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23296 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23298 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23299 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23300 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23301
58985aa9
UD
23302 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23303 rename.
23304 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23312
a201fbcf
AS
233132011-10-24 Andreas Schwab <schwab@redhat.com>
23314
23315 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23316
fc2ee42a
LD
233172011-10-23 Ulrich Drepper <drepper@gmail.com>
23318
bb3129bd
UD
23319 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23320
0275fff8
UD
23321 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23322 prediction.
23323 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23324
2fa2ae85
UD
23325 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23326 Remove unused variable magic_bits.
23327 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23328
fc2ee42a
LD
23329 * string/strnlen.c: Define and use STRNLEN macro.
23330 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23331 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23332 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23333 * wcsmbs/wcslen.c: Define and use WCSLEN.
23334 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23335 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23336 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23337 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23338 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23339 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23340 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23341
ce7dd29f
LD
233422011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23343
23344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23345 strnlen-sse2-no-bsf.
23346 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23348 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23349 Add strnlen support.
23350 (USE_AS_STRNLEN): New macro.
23351 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23352 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23353 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23354 * sysdeps/x86_64/wcslen.S: New file.
23355
979c70a3
MZ
233562011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23357
23358 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23359 XMM-moves are used for copying on small sizes.
23360
2d09f82f
LD
233612011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23362
23363 * wcsmbs/Makefile (strop-tests): Add wcschr.
23364 * wcsmbs/test-wcschr.c: New file.
23365 * string/test-strchr.c: Update.
23366 Add wcschr support.
23367 (WIDE): New macro.
23368
619fccca
LD
233692011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23370
2d09f82f 23371 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23372 * wcsmbs/test-wcslen.c: New file.
23373 * string/test-strlen.c: Update.
23374 Add wcslen support.
23375 (WIDE): New macro.
23376
09f699ea
UD
233772011-10-23 Ulrich Drepper <drepper@gmail.com>
23378
23379 * po/it.po: Update from translation team.
23380
95584d3b
LD
233812011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23382
23383 * sysdeps/x86_64/wcscmp.S: Update.
23384 Fix wrong comparison semantics.
23385 wcscmp shall use signed comparison not unsigned.
23386 Don't use substraction to avoid overflow bug.
23387 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23388 * wcsmbc/wcscmp.c: Likewise.
23389 * string/test-strcmp.c: Likewise.
23390 Add new tests to check cases with negative values.
23391
c8b3296b
UD
233922011-10-23 Ulrich Drepper <drepper@gmail.com>
23393
23394 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23395 * sysdeps/x86_64/dla.h: ...here. New file.
23396 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23405
246ad57a
AS
234062011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23407
23408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23409 __ynl_finite aliases.
23410
a1a87169
UD
234112011-10-22 Ulrich Drepper <drepper@gmail.com>
23412
0d355eb7
UD
23413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23414
a1a87169
UD
23415 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23416 define DLA_FMA.
23417 [DLA_FMA] (EMULV): Use DLA_FMA.
23418 [DLA_FMA] (MUL12): Use EMULV.
23419 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23420 that are not needed.
23421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23424 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23428
ee2aafe0
AS
234292011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23430
23431 * math/s_nan.c: Undef __nan.
23432 * math/s_nanf.c: Undef __nanf.
23433 * math/s_nanl.c: Undef __nanl.
23434 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23435 "math_private.h".
23436
bc62c2fb
UD
234372011-10-22 Ulrich Drepper <drepper@gmail.com>
23438
77425c63
UD
23439 * math/s_catan.c: Add branch predictions.
23440 * math/s_catanf.c: Likewise.
23441 * math/s_catanh.c: Likewise.
23442 * math/s_catanhf.c: Likewise.
23443 * math/s_catanhl.c: Likewise.
23444 * math/s_catanl.c: Likewise.
23445 * math/s_cexp.c: Likewise.
23446 * math/s_cexpf.c: Likewise.
23447 * math/s_cexpl.c: Likewise.
23448 * math/s_clog.c: Likewise.
23449 * math/s_clog10.c: Likewise.
23450 * math/s_clog10f.c: Likewise.
23451 * math/s_clog10l.c: Likewise.
23452 * math/s_clogf.c: Likewise.
23453 * math/s_clogl.c: Likewise.
23454 * math/s_csqrt.c: Likewise.
23455 * math/s_csqrtf.c: Likewise.
23456 * math/s_csqrtl.c: Likewise.
23457 * math/s_ctanf.c: Likewise.
23458 * math/s_ctanh.c: Likewise.
23459 * math/s_ctanhf.c: Likewise.
23460 * math/s_ctanhl.c: Likewise.
23461 * math/s_ctanl.c: Likewise.
23462
bc62c2fb
UD
23463 * math/math_private.h: Define __nan, __nanf, __nanl.
23464 * math/s_cacosh.c: Include <math_private.h>.
23465 * math/s_cacoshl.c: Likewise.
23466 * math/s_casinh.c: Likewise.
23467 * math/s_casinhf.c: Likewise.
23468 * math/s_casinhl.c: Likewise.
23469 * math/s_ccos.c: Rely entire on ccosh.
23470 * math/s_ccosf.c: Rely entire on ccoshf.
23471 * math/s_ccosl.c: Rely entirely on ccoshl.
23472 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23473 Remove tests for FE_INVALID.
23474 * math/s_ccoshf.c: Likewise.
23475 * math/s_ccoshl.c: Likewise.
23476 * math/s_csin.c: Likewise.
23477 * math/s_csinf.c: Likewise.
23478 * math/s_csinh.c Likewise.
23479 * math/s_csinhf.c: Likewise.
23480 * math/s_csinhl.c: Likewise.
23481 * math/s_csinl.c: Likewise.
23482 * math/s_ctan.c: Likewise.
23483 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23484 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23485 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23486
8ec250a4
UD
234872011-10-21 Ulrich Drepper <drepper@gmail.com>
23488
c196fed8
UD
23489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23490 compilation problems.
23491
8ec250a4
UD
23492 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23493 __builtin_expect.
23494
8d4f46c6
UD
234952011-10-20 Ulrich Drepper <drepper@gmail.com>
23496
ed72b654
UD
23497 * sysdeps/i386/configure.in: Test for -mfma4 option.
23498 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23499 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23500 COMMON_CPUID_INDEX_80000001.
23501 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23502 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23503 use it if FMA3 is not supported.
23504 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23505
8d4f46c6
UD
23506 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23507 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23508
d45c60c2
AS
235092011-10-20 Andreas Schwab <schwab@redhat.com>
23510
23511 [BZ #12892]
23512 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23513 it would create a cycle with a link time dependency.
23514
d9a4d2ab
UD
235152011-10-19 Ulrich Drepper <drepper@gmail.com>
23516
855d1560
UD
23517 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23518 instruction.
23519 * string/Makefile (strop-tests): Add rawmemchr.
23520 * string/test-rawmemchr.c: New file.
23521
d9a4d2ab
UD
23522 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23523 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23524 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23525 when compiling str{,n}casecmp and when AVX is available. Hook up
23526 new optimized code in initializers.
23527
8f3b1ffe
AS
235282011-10-19 Andreas Schwab <schwab@redhat.com>
23529
23530 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23531 __feraiseexcept instead of feraiseexcept.
23532
d38f1dba
UD
235332011-10-18 Ulrich Drepper <drepper@gmail.com>
23534
d9a8d0ab
UD
23535 * math/math_private.h: Define defaults for libc_fetestexcept and
23536 libc_feupdateenv.
23537 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23538 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23539 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23540 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23541 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23542 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23543 libc_fetestexcept and libc_feupdateenv.
23544
4855e3dd
UD
23545 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23546 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23547 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23548 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23549 libc_feholdexcept_setround.
23550
581d30e3
UD
23551 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23552 Add s_nearbyint-c and s_nearbyintf-c.
23553 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23554 nearbyintf inlines.
23555 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23556 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23557 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23558 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23559
d38f1dba
UD
23560 * math/math_private.h: Define defaults for libc_fegetround,
23561 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23562 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23563 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23564 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23565 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23566 standard functions.
23567 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23568 Remove comments and hacks for old compiler versions.
23569 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23570 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23571 libc_feholdexceptl.
23572
caa6c9d8
AS
235732011-10-18 Andreas Schwab <schwab@redhat.com>
23574
23575 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23576 (__feraiseexcept_renamed): Add __NTH.
23577 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23578 namespace violations.
23579
97c066e6
UD
235802011-10-17 Ulrich Drepper <drepper@gmail.com>
23581
99ce7b04
UD
23582 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23583
1004d182
UD
23584 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23585
228a984d
UD
23586 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23587 recently added interfaces.
23588 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23589
c8553a6a
UD
23590 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23591 about macro parameter expansion.
23592
ed22dcf6
UD
23593 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23594 __NO_MATH_INLINES is defined. Cleanups.
23595
23596 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23597 and __floorf is target has SSE4.1.
23598 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23599 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23600 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23601 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23602
b171c137
UD
23603 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23604 name.
23605 (floorf): Likewise.
23606
97c066e6
UD
23607 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23608
629f62ef
AS
236092011-10-17 Andreas Schwab <schwab@redhat.com>
23610
49a43d80
AS
23611 * misc/sys/cdefs.h: Fix last change.
23612
629f62ef
AS
23613 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23614 database lookup.
23615
e453f6cd
UD
236162011-10-16 Ulrich Drepper <drepper@gmail.com>
23617
aa78043a
UD
23618 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23619
ad0f5cad
UD
23620 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23621 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23622 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23623 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23624 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23625 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23626 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23627 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23628 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23629 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23630 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23631 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23632 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23633 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23634 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23635 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23636 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23637 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23638 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23639 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23640 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23641 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23642
23643 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23644 ceil, ceilf, floor, floorf.
23645
23646 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23647 Perform IRELATIVE relocations last.
23648
e453f6cd
UD
23649 * elf/do-rel.h: Add another parameter nrelative, replacing the
23650 local variable with the same name. Change name of the function
23651 to end in Rel or Rela (uppercase).
23652 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23653 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23654 elf_dynamic_do_##reloc function.
23655
fd5bdc09
UD
236562011-10-15 Ulrich Drepper <drepper@gmail.com>
23657
79b195b5
UD
23658 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23659 is sufficient, at least on modern CPUs.
23660
d4a28569
UD
23661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23662
b61099b5
UD
23663 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23664 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23665
bcf01e6d
UD
23666 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23667 __expl_finite.
23668 * math/bits/math-finite.h: Add entries for exp.
23669 * math/e_expl.c: Add __*_finite alias.
23670 * sysdeps/i386/fpu/e_exp.S: Likewise.
23671 * sysdeps/i386/fpu/e_expf.S: Likewise.
23672 * sysdeps/i386/fpu/e_expl.c: Likewise.
23673 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23674 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23675 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23676 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23677 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23678 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23679 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23680
ba1a0d59
UD
23681 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23682 is sufficient, at least on modern CPUs.
23683
fd5bdc09
UD
23684 * ctype/ctype-info.c (__ctype_init): Define.
23685 * include/ctype.h (__ctype_init): Declare.
23686 (__ctype_b_loc): The variable is always initialized.
23687 (__ctype_toupper_loc): Likewise.
23688 (__ctype_tolower_loc): Likewise.
23689 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23690 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23691
7872cfb0
AS
236922011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23693
b468825a
AS
23694 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23695
7872cfb0
AS
23696 * configure.in: Also look in $cxxmachine/include for C++ system
23697 headers.
23698
be13f7bf
LD
236992011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23700
23701 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23702 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23703 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23704 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23705 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23706 (USE_AS_WMEMCMP): New macro.
23707 Fixing indents.
23708 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23709 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23710 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23711 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23713 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23714 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23715 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23716 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23717 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23718 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23719 (USE_AS_WMEMCMP): New macro.
23720 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23721 * sysdeps/string/test-memcmp.c: Update.
23722 Fix simple_wmemcmp.
23723 Add new tests.
23724 * wcsmbs/wmemcmp.c: Update.
23725 (WMEMCMP): New macro.
23726 Fix overflow bug.
23727
556a2007
AJ
237282011-10-12 Andreas Jaeger <aj@suse.de>
23729
23730 [BZ #13268]
23731 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23732
538faaa7
UD
237332011-10-15 Ulrich Drepper <drepper@gmail.com>
23734
ab6737ff
UD
23735 * libio/iofwide.c (do_length): Avoid warning.
23736
538faaa7
UD
23737 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23738
396a21b1
UD
237392011-10-14 Ulrich Drepper <drepper@gmail.com>
23740
cdf2901f
UD
23741 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23742
38ad40ce
UD
23743 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23744 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23745 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23746 * sysdeps/i386/i686/fpu/e_log.S: New file.
23747 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23748 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23749
396a21b1
UD
23750 * ctype/ctype.h: Add support for inlined isXXX functions when
23751 compiling C++ code.
23752
6b1f68c9
AS
237532011-10-14 Andreas Schwab <schwab@redhat.com>
23754
349290c0
AS
23755 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23756
6b1f68c9
AS
23757 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23758
f2282d42
RM
237592011-10-13 Roland McGrath <roland@hack.frob.com>
23760
23761 [BZ #13291]
23762 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23763
5298ffa8
AS
237642011-10-13 Andreas Schwab <schwab@redhat.com>
23765
714fad23
AS
23766 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23767 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23768 feraiseexcept.
23769
81dcc7fb
AS
23770 * sysdeps/x86_64/memrchr.S: Check for zero size.
23771
5298ffa8
AS
23772 * string/stratcliff.c: Add memrchr tests.
23773
951fbcec
LD
237742011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23775
23776 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23777 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23778 rawmemchr-sse2 rawmemchr-sse2-bsf.
23779 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23780 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23781 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23782 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23783 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23784 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23785 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23786 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23787 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23788 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23789 * string/memrchr.c (MEMRCHR): New macro.
23790
0ac5ae23
UD
237912011-10-12 Ulrich Drepper <drepper@gmail.com>
23792
23793 Add integration with gcc's -ffinite-math-only and optimize wrapper
23794 functions in libm.
23795 * Versions.def: Define GLIBC_2.15 version for libm.
23796 * math/Makefile (headers): Add bits/math-finite.h.
23797 * math/bits/math-finite.h: New file.
23798 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23799 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23800 * math/e_acoshl.c: Add __*_finite alias.
23801 * math/e_acosl.c: Likewise.
23802 * math/e_asinl.c: Likewise.
23803 * math/e_atan2l.c: Likewise.
23804 * math/e_atanhl.c: Likewise.
23805 * math/e_coshl.c: Likewise.
23806 * math/e_exp10.c: Likewise.
23807 * math/e_exp10f.c: Likewise.
23808 * math/e_exp10l.c: Likewise.
23809 * math/e_exp2l.c: Likewise.
23810 * math/e_fmodl.c: Likewise.
23811 * math/e_gammal_r.c: Likewise.
23812 * math/e_hypotl.c: Likewise.
23813 * math/e_j0l.c: Likewise.
23814 * math/e_j1l.c: Likewise.
23815 * math/e_jnl.c: Likewise.
23816 * math/e_lgammal_r.c: Likewise.
23817 * math/e_log10l.c: Likewise.
23818 * math/e_log2l.c: Likewise.
23819 * math/e_logl.c: Likewise.
23820 * math/e_powl.c: Likewise.
23821 * math/e_sinhl.c: Likewise.
23822 * math/e_sqrtl.c: Likewise.
23823 * math/e_scalb.c: Completely rewritten and optimized.
23824 * math/e_scalbf.c: Likewise.
23825 * math/e_scalbl.c: Likewise.
23826 * math/w_acos.c: Likewise.
23827 * math/w_acosf.c: Likewise.
23828 * math/w_acosl.c: Likewise.
23829 * math/w_acosh.c: Likewise.
23830 * math/w_acoshf.c: Likewise.
23831 * math/w_acoshl.c: Likewise.
23832 * math/w_asin.c: Likewise.
23833 * math/w_asinf.c: Likewise.
23834 * math/w_asinl.c: Likewise.
23835 * math/w_atan2.c: Likewise.
23836 * math/w_atan2f.c: Likewise.
23837 * math/w_atan2l.c: Likewise.
23838 * math/w_atanh.c: Likewise.
23839 * math/w_atanhf.c: Likewise.
23840 * math/w_atanhl.c: Likewise.
23841 * math/w_exp10.c: Likewise.
23842 * math/w_exp10f.c: Likewise.
23843 * math/w_exp10l.c: Likewise.
23844 * math/w_fmod.c: Likewise.
23845 * math/w_fmodf.c: Likewise.
23846 * math/w_fmodl.c: Likewise.
23847 * math/w_j0.c: Likewise.
23848 * math/w_j0f.c: Likewise.
23849 * math/w_j0l.c: Likewise.
23850 * math/w_j1.c: Likewise.
23851 * math/w_j1f.c: Likewise.
23852 * math/w_j1l.c: Likewise.
23853 * math/w_jn.c: Likewise.
23854 * math/w_jnf.c: Likewise.
23855 * math/w_log.c: Likewise.
23856 * math/w_logf.c: Likewise.
23857 * math/w_logl.c: Likewise.
23858 * math/w_log10.c: Likewise.
23859 * math/w_log10f.c: Likewise.
23860 * math/w_log10l.c: Likewise.
23861 * math/w_log2.c: Likewise.
23862 * math/w_log2f.c: Likewise.
23863 * math/w_log2l.c: Likewise.
23864 * math/w_pow.c: Likewise.
23865 * math/w_powf.c: Likewise.
23866 * math/w_powl.c: Likewise.
23867 * math/w_remainder.c: Likewise.
23868 * math/w_remainderf.c: Likewise.
23869 * math/w_remainderl.c: Likewise.
23870 * math/w_scalb.c: Likewise.
23871 * math/w_scalbf.c: Likewise.
23872 * math/w_scalbl.c: Likewise.
23873 * math/w_sqrt.c: Likewise.
23874 * math/w_sqrtf.c: Likewise.
23875 * math/w_sqrtl.c: Likewise.
23876 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23877 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23878 used.
23879 * math/math_private.h: Declare __kernel_standard_f.
23880 * math/w_cosh.c: Remove cruft and optimize a bit.
23881 * math/w_coshf.c: Likewise.
23882 * math/w_coshl.c: Likewise.
23883 * math/w_exp2.c: Likewise.
23884 * math/w_exp2f.c: Likewise.
23885 * math/w_exp2l.c: Likewise.
23886 * math/w_hypot.c: Likewise.
23887 * math/w_hypotf.c: Likewise.
23888 * math/w_hypotl.c: Likewise.
23889 * math/w_lgamma.c: Likewise.
23890 * math/w_lgamma_r.c: Likewise.
23891 * math/w_lgammaf.c: Likewise.
23892 * math/w_lgammaf_r.c: Likewise.
23893 * math/w_lgammal.c: Likewise.
23894 * math/w_lgammal_r.c: Likewise.
23895 * math/w_sinh.c: Likewise.
23896 * math/w_sinhf.c: Likewise.
23897 * math/w_sinhl.c: Likewise.
23898 * math/w_tgamma.c: Likewise.
23899 * math/w_tgammaf.c: Likewise.
23900 * math/w_tgammal.c: Likewise.
23901 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23902 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23903 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23904 Minor optimizations. Pretty printing. Remove cruft.
23905 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23906 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23908 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23909 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23910 * sysdeps/i386/fpu/e_asin.S: Likewise.
23911 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23912 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23913 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23914 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23915 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23916 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23917 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23918 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23919 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23920 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23921 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23922 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23923 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23924 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23925 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23926 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23927 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23928 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23929 * sysdeps/i386/fpu/e_log.S: Likewise.
23930 * sysdeps/i386/fpu/e_log10.S: Likewise.
23931 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23932 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23933 * sysdeps/i386/fpu/e_log2.S: Likewise.
23934 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23935 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23936 * sysdeps/i386/fpu/e_logf.S: Likewise.
23937 * sysdeps/i386/fpu/e_logl.S: Likewise.
23938 * sysdeps/i386/fpu/e_pow.S: Likewise.
23939 * sysdeps/i386/fpu/e_powf.S: Likewise.
23940 * sysdeps/i386/fpu/e_powl.S: Likewise.
23941 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23942 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23943 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23944 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23945 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23946 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23947 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23948 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23949 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23950 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23951 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23953 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23955 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23956 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23957 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23959 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23970 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23971 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23972 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23973 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23974 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23975 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23976 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23977 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23978 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23979 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23980 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23981 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23982 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23983 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23984 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23985 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23986 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23987 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23988 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23989 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23990 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23991 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23992 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23994 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23995 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23996 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24000 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24001 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24014 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24017 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24022 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24029 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24030 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24033 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24035 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24036 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24038 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24040 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24041 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24042 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24043 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24044 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24045 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24046 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24047 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24048 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24049 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24050 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24051 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24052 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24053 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24054 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24055 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24056 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24057 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24058 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24059 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24060 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24061 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24062 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24063 (__isnanf): Likewise.
24064 (__isinf_ns): Likewise.
24065 (__isinf_nsf): Likewise.
24066 (__finite): Likewise.
24067 (__finitef): Likewise.
24068 (__ieee754_sqrt): Define as macro.
24069 (__ieee754_sqrtf): Define as macro.
24070 (__ieee754_sqrtl): Define as macro.
24071 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24072 inlined copy.
24073 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24074 __FINITE_MATH_ONLY__ consistent.
24075 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24076
12cc2fcd
AS
240772011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24078
a843a204
AS
24079 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24080 of rawmemchr.
24081
12cc2fcd
AS
24082 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24083
c853acd5
UD
240842011-10-09 Ulrich Drepper <drepper@gmail.com>
24085
24086 * po/ja.po: Update from translation team.
24087
c658d255
RM
240882011-10-08 Roland McGrath <roland@hack.frob.com>
24089
110946e4
RM
24090 * locale/programs/locarchive.c (prepare_address_space): New function.
24091 (create_archive, enlarge_archive, open_archive): Use it.
24092
50604220
RM
24093 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24094 inside [SHARED], where it is used.
24095
c658d255
RM
24096 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24097
24098 * nss/getent.c (netgroup_keys): Remove unused variable.
24099 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24100
6a621eb7
UD
241012011-10-08 Ulrich Drepper <drepper@gmail.com>
24102
7edb55ce
UD
24103 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24104 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24106 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24107 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24108 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24109 * math/Makefile (libm-calls): Add s_isinf_ns.
24110 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24111 * math/multc3.c: Likewise.
24112 * math/s_casin.c: Likewise.
24113 * math/s_casinf.c: Likewise.
24114 * math/s_casinl.c: Likewise.
24115 * math/s_ccos.c: Likewise.
24116 * math/s_ccosf.c: Likewise.
24117 * math/s_ccosl.c: Likewise.
24118 * math/s_ctan.c: Likewise.
24119 * math/s_ctanf.c: Likewise.
24120 * math/s_ctanh.c: Likewise.
24121 * math/s_ctanhf.c: Likewise.
24122 * math/s_ctanhl.c: Likewise.
24123 * math/s_ctanl.c: Likewise.
24124 * math/w_fmod.c: Likewise.
24125 * math/w_fmodf.c: Likewise.
24126 * math/w_fmodl.c: Likewise.
24127 * math/w_remainder.c: Likewise.
24128 * math/w_remainderf.c: Likewise.
24129 * math/w_remainderl.c: Likewise.
24130 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24131 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24132 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24133 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24134 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24135 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24136 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24137 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24138
187da0ae
UD
24139 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24140 of the number.
24141 * stdio-common/printf_fphex.c: Likewise.
24142 * stdio-common/printf_size.c: Likewise.
24143
9277c064
UD
24144 * math/e_exp10.c: Include math_private.h using <...> not "...".
24145 * math/e_exp10f.c: Likewise.
24146 * math/e_exp10l.c: Likewise.
24147 * math/e_exp2l.c: Likewise.
24148 * math/e_j0l.c: Likewise.
24149 * math/e_j1l.c: Likewise.
24150 * math/e_jnl.c: Likewise.
24151 * math/e_lgammal_r.c: Likewise.
24152 * math/e_rem_pio2l.c: Likewise.
24153 * math/e_scalb.c: Likewise.
24154 * math/e_scalbf.c: Likewise.
24155 * math/e_scalbl.c: Likewise.
24156 * math/k_cosl.c: Likewise.
24157 * math/k_sinl.c: Likewise.
24158 * math/k_tanl.c: Likewise.
24159 * math/s_cacoshf.c: Likewise.
24160 * math/s_catan.c: Likewise.
24161 * math/s_catanf.c: Likewise.
24162 * math/s_catanh.c: Likewise.
24163 * math/s_catanhf.c: Likewise.
24164 * math/s_catanhl.c: Likewise.
24165 * math/s_catanl.c: Likewise.
24166 * math/s_ccosh.c: Likewise.
24167 * math/s_ccoshf.c: Likewise.
24168 * math/s_ccoshl.c: Likewise.
24169 * math/s_cexp.c: Likewise.
24170 * math/s_cexpf.c: Likewise.
24171 * math/s_cexpl.c: Likewise.
24172 * math/s_clog.c: Likewise.
24173 * math/s_clog10.c: Likewise.
24174 * math/s_clog10f.c: Likewise.
24175 * math/s_clog10l.c: Likewise.
24176 * math/s_clogf.c: Likewise.
24177 * math/s_clogl.c: Likewise.
24178 * math/s_csin.c: Likewise.
24179 * math/s_csinf.c: Likewise.
24180 * math/s_csinh.c: Likewise.
24181 * math/s_csinhf.c: Likewise.
24182 * math/s_csinhl.c: Likewise.
24183 * math/s_csinl.c: Likewise.
24184 * math/s_csqrt.c: Likewise.
24185 * math/s_csqrtf.c: Likewise.
24186 * math/s_csqrtl.c: Likewise.
24187 * math/s_ctan.c: Likewise.
24188 * math/s_ctanf.c: Likewise.
24189 * math/s_ctanh.c: Likewise.
24190 * math/s_ctanhf.c: Likewise.
24191 * math/s_ctanhl.c: Likewise.
24192 * math/s_ctanl.c: Likewise.
24193 * math/s_ldexp.c: Likewise.
24194 * math/s_ldexpf.c: Likewise.
24195 * math/s_ldexpl.c: Likewise.
24196 * math/s_significand.c: Likewise.
24197 * math/s_significandf.c: Likewise.
24198 * math/s_significandl.c: Likewise.
24199 * math/w_acos.c: Likewise.
24200 * math/w_acosf.c: Likewise.
24201 * math/w_acosh.c: Likewise.
24202 * math/w_acoshf.c: Likewise.
24203 * math/w_acoshl.c: Likewise.
24204 * math/w_acosl.c: Likewise.
24205 * math/w_asin.c: Likewise.
24206 * math/w_asinf.c: Likewise.
24207 * math/w_asinl.c: Likewise.
24208 * math/w_atan2.c: Likewise.
24209 * math/w_atan2f.c: Likewise.
24210 * math/w_atan2l.c: Likewise.
24211 * math/w_atanh.c: Likewise.
24212 * math/w_atanhf.c: Likewise.
24213 * math/w_atanhl.c: Likewise.
24214 * math/w_cosh.c: Likewise.
24215 * math/w_coshf.c: Likewise.
24216 * math/w_coshl.c: Likewise.
24217 * math/w_dremf.c: Likewise.
24218 * math/w_exp10.c: Likewise.
24219 * math/w_exp10f.c: Likewise.
24220 * math/w_exp10l.c: Likewise.
24221 * math/w_exp2.c: Likewise.
24222 * math/w_exp2f.c: Likewise.
24223 * math/w_fmod.c: Likewise.
24224 * math/w_fmodf.c: Likewise.
24225 * math/w_fmodl.c: Likewise.
24226 * math/w_hypot.c: Likewise.
24227 * math/w_hypotf.c: Likewise.
24228 * math/w_hypotl.c: Likewise.
24229 * math/w_j0.c: Likewise.
24230 * math/w_j0f.c: Likewise.
24231 * math/w_j0l.c: Likewise.
24232 * math/w_j1.c: Likewise.
24233 * math/w_j1f.c: Likewise.
24234 * math/w_j1l.c: Likewise.
24235 * math/w_jn.c: Likewise.
24236 * math/w_jnf.c: Likewise.
24237 * math/w_jnl.c: Likewise.
24238 * math/w_lgamma.c: Likewise.
24239 * math/w_lgamma_r.c: Likewise.
24240 * math/w_lgammaf.c: Likewise.
24241 * math/w_lgammaf_r.c: Likewise.
24242 * math/w_lgammal.c: Likewise.
24243 * math/w_lgammal_r.c: Likewise.
24244 * math/w_log.c: Likewise.
24245 * math/w_log10.c: Likewise.
24246 * math/w_log10f.c: Likewise.
24247 * math/w_log10l.c: Likewise.
24248 * math/w_log2.c: Likewise.
24249 * math/w_log2f.c: Likewise.
24250 * math/w_log2l.c: Likewise.
24251 * math/w_logf.c: Likewise.
24252 * math/w_logl.c: Likewise.
24253 * math/w_pow.c: Likewise.
24254 * math/w_powf.c: Likewise.
24255 * math/w_powl.c: Likewise.
24256 * math/w_remainder.c: Likewise.
24257 * math/w_remainderf.c: Likewise.
24258 * math/w_remainderl.c: Likewise.
24259 * math/w_scalb.c: Likewise.
24260 * math/w_scalbf.c: Likewise.
24261 * math/w_scalbl.c: Likewise.
24262 * math/w_sinh.c: Likewise.
24263 * math/w_sinhf.c: Likewise.
24264 * math/w_sinhl.c: Likewise.
24265 * math/w_sqrt.c: Likewise.
24266 * math/w_sqrtf.c: Likewise.
24267 * math/w_sqrtl.c: Likewise.
24268 * math/w_tgamma.c: Likewise.
24269 * math/w_tgammaf.c: Likewise.
24270 * math/w_tgammal.c: Likewise.
24271
6a621eb7
UD
24272 * po/ja.po: Update from translation team.
24273
bf582445
AJ
242742011-09-29 Andreas Jaeger <aj@suse.de>
24275
f9efbf3a
AJ
24276 [BZ #13179]
24277 * sunrpc/netname.c (netname2host): Fix logic.
24278
bf582445
AJ
24279 [BZ #6779]
24280 [BZ #6783]
24281 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24282 correctly.
24283 * math/w_remainder.c (__remainder): Likewise.
24284 * math/w_remainderf.c (__remainderf): Likewise.
24285 * math/libm-test.inc (remainder_test): Add test cases.
24286
48693bea
AK
242872011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24288
24289 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24290 sdiv_qrnnd.
24291
42622229
LD
242922011-10-07 Ulrich Drepper <drepper@gmail.com>
24293
24294 * string/test-memcmp.c: Avoid unncessary #defines.
24295 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24296
093ecf92
LD
242972011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24298
24299 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24300 Use new sse2 version for core i3 - i7 as it's faster
24301 than sse42 version.
24302 (bit_Prefer_PMINUB_for_stringop): New.
24303 * sysdeps/x86_64/rawmemchr.S: Update.
24304 Replace with faster SSE2 version.
24305 * sysdeps/x86_64/memrchr.S: New file.
24306 * sysdeps/x86_64/memchr.S: Update.
24307 Replace with faster SSE2 version.
24308
fde56e5c
MP
243092011-09-12 Marek Polacek <mpolacek@redhat.com>
24310
24311 * elf/dl-load.c (lose): Add cast to avoid warning.
24312
21fd49a9
UD
243132011-10-07 Ulrich Drepper <drepper@gmail.com>
24314
5a06e643
UD
24315 * po/ca.po: Update from translation team.
24316
684ae515
UD
24317 * inet/getnetgrent_r.c: Hook up nscd.
24318 * nscd/Makefile (routines): Add nscd_netgroup.
24319 (nscd-modules): Add netgroupcache.
24320 (CFLAGS-netgroupcache.c): Define.
24321 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24322 (cache_search): Add const to second parameter.
24323 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24324 INNETGR.
24325 (dbs): Add netgrdb entry.
24326 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24327 (verify_persistent_db): Handle netgrdb.
24328 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24329 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24330 GETFDNETGR.
24331 (netgroup_response_header): Define.
24332 (innetgroup_response_header): Define.
24333 (datahead): Add netgroup_response_header and innetgroup_response_header
24334 elements.
24335 * nscd/nscd.conf: Add entries for netgroup cache.
24336 * nscd/nscd.h (dbtype): Add netgrdb.
24337 (_PATH_NSCD_NETGROUP_DB): Define.
24338 (netgroup_iov_disabled): Declare.
24339 (xmalloc, xcalloc, xrealloc): Move declarations here.
24340 (cache_search): Adjust prototype.
24341 Add netgroup-related prototypes.
24342 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24343 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24344 (__nscd_innetgr): Declare.
24345 * nscd/selinux.c (perms): Use access_vector_t as element type and
24346 add netgroup-related initializers.
24347 * nscd/netgroupcache.c: New file.
24348 * nscd/nscd_netgroup.c: New file.
24349 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24350 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24351 For four parameters use innetgr.
24352 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24353 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24354 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24355 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24356
21fd49a9
UD
24357 * nscd/connections.c (register_traced_file): Don't register file
24358 for disabled databases.
24359
054c0457
UD
243602011-10-06 Ulrich Drepper <drepper@gmail.com>
24361
32b63198
UD
24362 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24363
054c0457
UD
24364 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24365 from tree and freeing node.
24366
64031225
JO
243672011-09-25 Jiri Olsa <jolsa@redhat.com>
24368
24369 * nss/nsswitch.c (__nss_database_lookup): Handle
24370 nss_parse_service_list out of memory case.
24371
0490345c
JO
243722011-09-15 Jiri Olsa <jolsa@redhat.com>
24373
24374 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24375 out of memory case.
24376
3a62d00d
AS
243772011-10-04 Andreas Schwab <schwab@redhat.com>
24378
24379 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24380 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24381 pass it down.
24382 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24383 elf_machine_rela, elf_machine_lazy_rel.
24384 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24385 (ELF_DYNAMIC_DO_REL): Likewise.
24386 (ELF_DYNAMIC_DO_RELA): Likewise.
24387 (ELF_DYNAMIC_RELOCATE): Likewise.
24388 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24389 to ELF_DYNAMIC_DO_REL.
24390 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24391 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24392 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24393 elf_machine_rela.
24394 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24395 skip_ifunc, don't call ifunc function if non-zero.
24396 (elf_machine_rela): Likewise.
24397 (elf_machine_lazy_rel): Likewise.
24398 (elf_machine_lazy_rela): Likewise.
24399 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24400 (elf_machine_lazy_rel): Likewise.
24401 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24402 Likewise.
24403 (elf_machine_lazy_rel): Likewise.
24404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24405 Likewise.
24406 (elf_machine_lazy_rel): Likewise.
24407 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24408 (elf_machine_lazy_rel): Likewise.
24409 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24410 (elf_machine_lazy_rel): Likewise.
24411 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24412 (elf_machine_lazy_rel): Likewise.
24413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24414 (elf_machine_lazy_rel): Likewise.
24415 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24416 (elf_machine_lazy_rel): Likewise.
24417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24418 (elf_machine_lazy_rel): Likewise.
24419
68577918
UD
244202011-09-28 Ulrich Drepper <drepper@gmail.com>
24421
24422 * nss/nss_files/files-init.c (_nss_files_init): Use static
24423 initialization for all the *_traced_file variables.
24424
68822d74
AS
244252011-09-28 Andreas Schwab <schwab@redhat.com>
24426
24427 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24428
2056100b
RM
244292011-09-27 Roland McGrath <roland@hack.frob.com>
24430
24431 [BZ #13226]
24432 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24433
32c76b63
AS
244342011-09-27 Andreas Schwab <schwab@redhat.com>
24435
24436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24437 Reread the line before reparsing it.
24438
bf972c9d
AS
244392011-09-26 Andreas Schwab <schwab@redhat.com>
24440
24441 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24442
e057a1b5
JM
244432011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24444 Maxim Kuvyrkov <maxim@codesourcery.com>
24445 Joseph Myers <joseph@codesourcery.com>
24446
24447 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24448 if needed for __stack_chk_guard.
24449
bc7e1c36
RM
244502011-09-19 Roland McGrath <roland@hack.frob.com>
24451
ecb1482f
RM
24452 * sysdeps/posix/spawni.c (script_execute): Always define it.
24453 It will be optimized away if unused.
24454 (maybe_script_execute): New function.
24455 (__spawni): Call it.
24456
bc7e1c36
RM
24457 * Makerules: Don't include tls.make.
24458 (config-tls): Always set to thread.
24459 * tls.make.c: File removed.
24460
1c3b002b
MF
244612011-09-19 Mike Frysinger <vapier@gentoo.org>
24462
24463 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24464 * config.make.in (CPPFLAGS-config): New substituted variable.
24465
2840865d
UD
244662011-09-15 Ulrich Drepper <drepper@gmail.com>
24467
88738eb6
UD
24468 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24469
cbf645a6 24470 [BZ #13192]
2840865d
UD
24471 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24472 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24473
b402e91a
RM
244742011-09-15 Roland McGrath <roland@hack.frob.com>
24475
24476 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24477 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24478 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24479 (CALL_FAIL): Likewise.
24480 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24481 (CALL_FAIL): Macro removed.
24482 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24483
4c1a1f71
UD
244842011-09-15 Ulrich Drepper <drepper@gmail.com>
24485
24486 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24487 for __FINITE_MATH_ONLY__ == 1.
24488
edc121be
AS
244892011-09-15 Andreas Schwab <schwab@redhat.com>
24490
24491 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24492 __ieee754_sqrt instead of sqrt.
24493 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24494 __ieee754_sqrtf instead of sqrtf.
24495 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24496 __floorf instead of floorf.
24497 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24498 __floorf, __truncf instead of floorf, truncf.
24499
cd205654
UD
245002011-09-14 Ulrich Drepper <drepper@gmail.com>
24501
ee4d0315
UD
24502 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24503
cd205654
UD
24504 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24505 __extern_always_inline.
24506 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24507 32-bit.
24508
48b67d71
AS
245092011-09-14 Andreas Schwab <schwab@redhat.com>
24510
24511 * elf/rtld.c (dl_main): Also relocate in dependency order when
24512 doing symbol dependency testing.
24513
1ae12c75
AS
245142011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24515
24516 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24517 Always define `refsym'.
24518
995a80df
AS
245192011-09-13 Andreas Schwab <schwab@redhat.com>
24520
e529793b
AS
24521 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24522 (__FD_ELT): Renamed from __FDELT.
24523 * misc/bits/select2.h (__FD_ELT): Likewise.
24524 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24525 __FD_MASK instead of __FDELT, __FDMASK.
24526 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24527 Likewise.
24528 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24529 Likewise.
24530
52d4fef8
AS
24531 * elf/Makefile (gen-ldd): Fix pattern.
24532
995a80df
AS
24533 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24534 (init_tls): Likewise.
24535
8682f8b0
UD
245362011-09-12 Ulrich Drepper <drepper@gmail.com>
24537
24538 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24539
de82006d
AS
245402011-09-12 Andreas Schwab <schwab@redhat.com>
24541
a7c8e6a1
AS
24542 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24543 `struct cmsghdr *' instead of `void *'.
24544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24545 Likewise.
24546
0f31fe77
AS
245472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24548
24549 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24550 if non-absolute.
24551 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24552 ldd_rewrite_script.
0f31fe77 24553
32b4c839
UD
245542011-09-11 Ulrich Drepper <drepper@gmail.com>
24555
83cd1420
UD
24556 * configure.in: Remove --with-tls option.
24557 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24558 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24559 out in case it is missing.
24560 * sysdeps/ia64/elf/configure.in: Likewise.
24561 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24562 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24563 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24564 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24565 * sysdeps/sh/elf/configure.in: Likewise.
24566 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24567 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24568 * sysdeps/x86_64/elf/configure.in: Likewise.
24569 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24570 * sysdeps/mach/hurd/tls.h: Likewise.
24571
633f745d
UD
24572 [BZ #13067]
24573 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24574
f318beb8
UD
24575 [BZ #13090]
24576 * configure.in: Fix use of AC_INIT.
24577
32b4c839
UD
24578 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24579
3ce1f295
UD
245802011-09-10 Ulrich Drepper <drepper@gmail.com>
24581
bb016596
UD
24582 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24583 __set_errno.
8e58439c
UD
24584 * malloc/hooks.c: Likewise.
24585
aebae053 24586 [BZ #11929]
02d46fc4
UD
24587 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24588 variables statically.
24589 (narenas): Initialize.
24590 (list_lock): Initialize.
bb016596
UD
24591 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24592 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24593 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24594 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24595 Add initializers to main_arena and mp_.
24596 (malloc_state): Remove pagesize member. Change all users to use
24597 GLRO(dl_pagesize).
24598
24599 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24600 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24601 is always initialized.
24602
22a89187
UD
24603 * malloc/malloc.c: Removed unused configurations and dead code.
24604 * malloc/arena.c: Likewise.
24605 * malloc/hooks.c: Likewise.
02d46fc4 24606 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24607
d063d164
UD
24608 * include/tls.h: Removed. USE___THREAD must always be defined.
24609 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24610 * elf/dl-libc.c: Likewise.
24611 * elf/dl-tsd.c: Likewise.
24612 * include/errno.h: Likewise.
24613 * include/netdb.h: Likewise.
24614 * include/resolv.h: Likewise.
24615 * inet/herrno-loc.c: Likewise.
24616 * inet/herrno.c: Likewise.
24617 * malloc/arena.c: Likewise.
24618 * malloc/hooks.c: Likewise.
24619 * malloc/malloc.c: Likewise.
24620 * resolv/res-state.c: Likewise.
24621 * resolv/res_libc.c: Likewise.
24622 * sysdeps/i386/dl-machine.h: Likewise.
24623 * sysdeps/ia64/dl-machine.h: Likewise.
24624 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24625 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24626 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24627 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24628 * sysdeps/sh/dl-machine.h: Likewise.
24629 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24630 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24631 * sysdeps/unix/i386/sysdep.S: Likewise.
24632 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24633 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24637 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24638 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24642 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24643 * sysdeps/x86_64/dl-machine.h: Likewise.
24644 * tls.make.c: Likewise.
24645
3ce1f295
UD
24646 * configure.in: Remove --with-__thread option. Make tests for
24647 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24648 tls_model attribute fail if no support is available. Remove
24649 USE_IN_LIBIO.
24650 * Makeconfig: Adjust for dropped configure option. All features are
24651 now mandatory.
24652 * Makerules: Likewise.
24653 * Versions.def: Likewise.
24654 * argp/argp-fmtstream.c: Likewise.
24655 * argp/argp-fmtstream.h: Likewise.
24656 * argp/argp-help.c: Likewise.
24657 * assert/assert.c: Likewise.
24658 * config.h.in: Likewise.
24659 * config.make.in: Likewise.
24660 * configure: Likewise.
24661 * configure.in: Likewise.
24662 * csu/Versions: Likewise.
24663 * csu/init.c: Likewise.
24664 * elf/tst-audit2.c: Likewise.
24665 * elf/tst-tls10.c: Likewise.
24666 * elf/tst-tls10.h: Likewise.
24667 * elf/tst-tls11.c: Likewise.
24668 * elf/tst-tls12.c: Likewise.
24669 * elf/tst-tls14.c: Likewise.
24670 * elf/tst-tlsmod11.c: Likewise.
24671 * elf/tst-tlsmod12.c: Likewise.
24672 * elf/tst-tlsmod13.c: Likewise.
24673 * elf/tst-tlsmod13a.c: Likewise.
24674 * elf/tst-tlsmod14a.c: Likewise.
24675 * elf/tst-tlsmod15b.c: Likewise.
24676 * elf/tst-tlsmod16a.c: Likewise.
24677 * elf/tst-tlsmod16b.c: Likewise.
24678 * elf/tst-tlsmod7.c: Likewise.
24679 * elf/tst-tlsmod8.c: Likewise.
24680 * elf/tst-tlsmod9.c: Likewise.
24681 * gmon/gmon.c: Likewise.
24682 * grp/fgetgrent_r.c: Likewise.
24683 * grp/putgrent.c: Likewise.
24684 * hurd/fopenport.c: Likewise.
24685 * include/libc-symbols.h: Likewise.
24686 * include/tls.h: Likewise.
24687 * intl/gettextP.h: Likewise.
24688 * intl/loadinfo.h: Likewise.
24689 * locale/global-locale.c: Likewise.
24690 * locale/localeinfo.h: Likewise.
24691 * mach/devstream.c: Likewise.
24692 * malloc/arena.c: Likewise.
24693 * malloc/set-freeres.c: Likewise.
24694 * misc/err.c: Likewise.
24695 * misc/getttyent.c: Likewise.
24696 * misc/mntent_r.c: Likewise.
24697 * posix/getopt.c: Likewise.
24698 * posix/wordexp.c: Likewise.
24699 * pwd/fgetpwent_r.c: Likewise.
24700 * resolv/Versions: Likewise.
24701 * resolv/res_hconf.c: Likewise.
24702 * shadow/fgetspent_r.c: Likewise.
24703 * shadow/putspent.c: Likewise.
24704 * stdio-common/printf_fphex.c: Likewise.
24705 * stdio-common/tmpfile.c: Likewise.
24706 * stdlib/abort.c: Likewise.
24707 * stdlib/fmtmsg.c: Likewise.
24708 * sunrpc/auth_unix.c: Likewise.
24709 * sunrpc/clnt_perr.c: Likewise.
24710 * sunrpc/clnt_tcp.c: Likewise.
24711 * sunrpc/clnt_udp.c: Likewise.
24712 * sunrpc/clnt_unix.c: Likewise.
24713 * sunrpc/openchild.c: Likewise.
24714 * sunrpc/svc_simple.c: Likewise.
24715 * sunrpc/svc_tcp.c: Likewise.
24716 * sunrpc/svc_udp.c: Likewise.
24717 * sunrpc/svc_unix.c: Likewise.
24718 * sunrpc/xdr.c: Likewise.
24719 * sunrpc/xdr_array.c: Likewise.
24720 * sunrpc/xdr_rec.c: Likewise.
24721 * sunrpc/xdr_ref.c: Likewise.
24722 * sunrpc/xdr_stdio.c: Likewise.
24723
1248c1c4
PB
247242011-09-09 Ulrich Drepper <drepper@gmail.com>
24725
24726 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24727
247282011-07-03 Andreas Jaeger <aj@suse.de>
24729
24730 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24731 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24732 regenerate with gen-libm-tests.pl.
24733
247342010-05-12 Petr Baudis <pasky@suse.cz>
24735
24736 [BZ #11589]
24737 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24738 around j0() zero points by switching to j1().
24739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24740 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24741 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24742 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24743
f22e1074
UD
247442011-09-09 Ulrich Drepper <drepper@gmail.com>
24745
f19009c1
UD
24746 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24747 instead of 0.
24748 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24749 instead of 0.
f19009c1
UD
24750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24751 Patch in part by Pavel Roskin <proski@gnu.org>.
24752
3f8cc204
UD
24753 [BZ #13138]
24754 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24755 realloc.
24756 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24757 Free memory block if necessary.
24758
f22e1074
UD
24759 [BZ #12847]
24760 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24761 be NULL. Don't lock in this case.
24762
0a2349f9
RM
247632011-09-09 Roland McGrath <roland@hack.frob.com>
24764
24765 * elf/elf.h (ELFOSABI_GNU): New macro.
24766 (ELFOSABI_LINUX): Define to that.
24767
f3cdd467
DZ
247682011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24769
24770 * string/strncat.c (strncat): Undef the symbol in case it has been
24771 defined in bits/string.h.
24772
74718d13
UD
247732011-09-09 Ulrich Drepper <drepper@gmail.com>
24774
633e9e0f
UD
24775 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24776
0a2349f9 24777 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24778 link map.
24779
f9924780
AJ
247802011-08-17 Andreas Jaeger <aj@suse.de>
24781
24782 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24783
7f5517aa
PP
247842011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24785 Ian Lance Taylor <iant@google.com>
24786
24787 * math/libm-test.inc (lround_test): New testcase.
24788 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24789
762011fe
UD
247902011-09-08 Ulrich Drepper <drepper@gmail.com>
24791
92963737
UD
24792 * Makefile: Remove support for automatic cvs check-ins.
24793 * Makerules: Likewise.
24794 * config.make.in: Likewise.
24795 * configure.in: Likewise.
24796 * intl/Makefile: Likewise.
24797 * locale/Makefile: Likewise.
24798 * po/Makefile: Likewise.
24799 * posix/Makefile: Likewise.
24800 * sysdeps/gnu/Makefile: Likewise.
24801 * sysdeps/mach/hurd/Makefile: Likewise.
24802 * sysdeps/sparc/sparc32/Makefile: Likewise.
24803
b0727fd8
JS
24804 [BZ #13118]
24805 * posix/Makefile (bug-regex32-ENV): Define.
24806 Patch by John Stanley <jpsinthemix@verizon.net>.
24807
a0f33f99
UD
24808 * misc/Makefile (headers): Add bits/select2.h.
24809 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24810 * misc/bits/select2.h: New file.
24811 * include/bits/select2.h: New file.
24812 * debug/Makefile (routines): Add fdelt_chk.
24813 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24814 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24815 FD_ISSET.
24816 * debug/fdelt_chk.c: New file.
24817
762011fe
UD
24818 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24819 * wcsmbs/test-wmemcmp.c: Likewise.
24820 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24821 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24822
248232011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24824
24825 * string/Makefile (strop-tests): Add memcmp.
24826 * string/test-wmemcmp.c: New file.
24827 * string/test-memcmp.c: Add wmemcmp support.
24828
7f513ec8
RM
248292011-09-08 Roland McGrath <roland@hack.frob.com>
24830
0442afb4
RM
24831 [BZ #13153]
24832 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24833 2011-07-19 change.
24834
7f513ec8
RM
24835 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24836 garbage value in a __mach_port_mod_refs call in the cases of the
24837 task-self and thread-self ports.
24838
a12b2239
ST
248392011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24840
24841 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24842
610f9ab4
AS
248432011-09-08 Andreas Schwab <schwab@redhat.com>
24844
7f513ec8 24845 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24846
48882a1a
LD
248472011-09-07 Ulrich Drepper <drepper@gmail.com>
24848
b49865be
UD
24849 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24850
fdc86bc9
UD
24851 * elf/dl-libc.c (dlerror_run): Pass back error code from
24852 dl_catch_error.
24853
c966526a
UD
24854 [BZ #13123]
24855 * elf/dl-load.c (lose): Free l_origin if it is valid.
24856
48882a1a
LD
24857 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24858 names.
24859 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24860 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24861 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24862 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24863 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24864 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24865
77a2a8b4
AZ
248662011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24867
24868 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24869 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24870 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24871 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24872 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24873 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24874 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24875 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24876 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24877 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24878
24f579d8
AM
248792011-08-15 Alan Modra <amodra@gmail.com>
24880
24881 [BZ #13092]
24882 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24883 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24884 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24885 ppc_mcount to static-only-routines.
24886 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24887 __mcount_internal.
24888 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24889 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24890
3d4837df
UD
248912011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24892
24893 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24894 for finite and infinity parameters.
24895
22700377
WS
248962011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24897
24898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24899 and add nop instructions for throughput optimization.
24900 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24901
5025581e
WS
249022011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24903
24904 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24905 aligned copy for power7 with vector-scalar instructions.
24906 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24907
08a300c9
L
249082011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24909
24910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24911 AVX check.
24912
59178ef9
AS
249132011-09-07 Andreas Schwab <schwab@redhat.com>
24914
24915 [BZ #13144]
24916 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24917 last change.
24918
e38ba7ab
UD
249192011-09-07 Ulrich Drepper <drepper@gmail.com>
24920
24921 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24922 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24923 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24924 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24925 clock_gettime.
24926
d53a73ac
UD
249272011-09-06 Ulrich Drepper <drepper@gmail.com>
24928
fc8bffcc
UD
24929 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24930 Forgot to demangle the pointer.
24931
ceaa0c5d
UD
24932 * sysdeps/i386/sysdep.h: Define atom_text_section.
24933 * sysdeps/x86_64/sysdep.h: Likewise.
24934 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24935 section with atom_text_section.
24936 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24937 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24938 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24939 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24940 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24941
a77d3c17
UD
24942 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24943 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24944 already be defined. Change to take two parameters and don't assign
24945 result to variable. Adjust all users.
24946 Define INTERNAL_GETTIME if not already defined.
24947 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24948 call.
24949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24950 HAVE_CLOCK_GETTIME_VSYSCALL.
24951 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24952
d53a73ac
UD
24953 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24954 gettimeofday vsyscall, just use time.
24955
a8f84144
AS
249562011-09-06 Andreas Schwab <schwab@redhat.com>
24957
24958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24959 <errno.h>.
24960
ef606249
UD
249612011-09-06 Ulrich Drepper <drepper@gmail.com>
24962
24963 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24964 syscall on x86-64.
24965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24966 syscall.
24967 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24968 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24969 syscall if possible.
24970
6585cb60
UD
249712011-09-05 Ulrich Drepper <drepper@gmail.com>
24972
24973 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24974 e_ident. Don't pass to find_mapsXX.
24975 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24976
a5f524e4
LD
249772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24978
24979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24980 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24981 * sysdeps/x86_64/multiarch/strchr.S: Update.
24982 Check bit_slow_BSF bit.
24983 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24984 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24985 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24986
554881ef
UD
249872011-09-05 Ulrich Drepper <drepper@gmail.com>
24988
d96de963
UD
24989 [BZ #13134]
24990 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24991 before glibc 2.15.
24992 (tryshell): Define.
24993 (__spawni): Change last parameter to be flag. Test
24994 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24995 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24996 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24997 * posix/spawni.c: Likewise.
24998 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24999 * posix/spawnp.c: Likewise. Change normal version to use
25000 SPAWN_XFLAGS_USE_PATH.
25001 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25002 SPAWN_XFLAGS_TRY_SHELL.
25003
d48e5868
UD
25004 [BZ #13150]
25005 * posix/glob.h: Remove gcc 1.x support.
25006
554881ef
UD
25007 [BZ #13068]
25008 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25009
693fb948
LD
250102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25011
25012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25013 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25014 strrchr-sse2-bsf
25015 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25016 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25017 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25018 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25019 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25020 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25021
1b48c537
UD
250222011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25023
49d42c37
UD
25024 * sysdeps/x86_64/wcscmp.S: New file.
25025
1b48c537
UD
25026 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25027 wcscmp-c wcscmp-sse2
25028 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25029 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25030 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25031 * wcsmbs/wcscmp.c: Allow renaming.
25032
15c95c5d
DM
250332011-09-05 David S. Miller <davem@davemloft.net>
25034
25035 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25036 stack slot, rather than the struct return pointer slot.
25037 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25038 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25040 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25041
2f0ad8f3
UD
250422011-09-05 Ulrich Drepper <drepper@gmail.com>
25043
d88ae418
UD
25044 * po/ja.po: Update from translation team.
25045
2f0ad8f3
UD
25046 [BZ #13144]
25047 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25048 kernel in 64-bit binaries.
25049
5f4318d1
DM
250502011-09-01 David S. Miller <davem@davemloft.net>
25051
25052 * elf/elf.h (HWCAP_SPARC_*): Move to..
25053 * sysdeps/sparc/sysdep.h: this new file and add new values.
25054 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25055 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25056 _DL_HWCAP_COUNT to 24.
25057 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25058 entries.
25059 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25060 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25061 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25063 instead of magic constants.
25064 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25065
3ba57516
DM
250662011-08-31 David S. Miller <davem@davemloft.net>
25067
25068 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25070 Reimplement to do errno handling inline.
25071 (SYSCALL_ERROR_HANDLER): New macro.
25072 (__SYSCALL_STRING): Do not do errno handling in asm.
25073 (__CLONE_SYSCALL_STRING): Delete.
25074 (__INTERNAL_SYSCALL_STRING): Delete.
25075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25076 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25077 (PSEUDO): Reimplement to do errno handling inline.
25078 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25079 (SYSCALL_ERROR_HANDLER): New macro.
25080 (__SYSCALL_STRING): Do not do errno handling in asm.
25081 (__CLONE_SYSCALL_STRING): Delete.
25082 (__INTERNAL_SYSCALL_STRING): Delete.
25083 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25084 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25085 i386.
25086 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25087 (inline_syscall*): Add 'err' argument.
25088 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25089 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25090 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25091 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25092
25093 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25094 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25095
2bc17433
AS
250962011-08-30 Andreas Schwab <schwab@redhat.com>
25097
25098 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25099
fbeb5f4d
JO
251002011-08-29 Jiri Olsa <jolsa@redhat.com>
25101
25102 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25103 directive.
25104
ad69cc26
DM
251052011-08-24 David S. Miller <davem@davemloft.net>
25106
25107 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25108
39dd69df
AS
251092011-08-24 Andreas Schwab <schwab@redhat.com>
25110
25111 * elf/Makefile: Add rules to build and run unload8 test.
25112 * elf/unload8.c: New file.
25113 * elf/unload8mod1.c: New file.
25114 * elf/unload8mod1x.c: New file.
25115 * elf/unload8mod2.c: New file.
25116 * elf/unload8mod3.c: New file.
25117
25118 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25119 it wasn't used.
25120
2c0b250a
DM
251212011-08-23 David S. Miller <davem@davemloft.net>
25122
25123 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25124 subtract stack bias.
25125 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25126 %sp not %fp in calculations.
25127 (_JMPBUF_UNWINDS_ADJ): Likewise.
25128
22044b48
DM
25129 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25130 (aio_suspend): Call it to force an exception region around the
25131 AIO_MISC_WAIT() invocation.
25132
2cae4995
AS
251332011-08-23 Andreas Schwab <schwab@redhat.com>
25134
25135 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25136 backslash.
25137
873a772e
AJ
251382011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25139
25140 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25141 protection macro.
25142 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25143 and <dl-machine.h>.
25144 (Elf64_FuncDesc): Remove.
25145
25ad0df1
DM
251462011-08-22 David S. Miller <davem@davemloft.net>
25147
25148 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25149 sigaltstack check, add missing cfi directives.
25150 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25151 missing cfi directives, and sigaltstack handling.
25152
e888bcbe
AS
251532011-08-16 Andreas Schwab <schwab@redhat.com>
25154
25155 [BZ #11724]
25156 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25157 object is seen twice.
25158 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25159
25160 * elf/Makefile (distribute): Add tst-initorder2.c.
25161 (tests): Add tst-initorder2.
25162 (modules-names): Add tst-initorder2a tst-initorder2b
25163 tst-initorder2c tst-initorder2d. Add rules to build them.
25164 ($(objpfx)tst-initorder2.out): New rule.
25165 * elf/tst-initorder2.c: New file.
25166 * elf/tst-initorder2.exp: New file.
25167
87162f46
AS
251682011-08-22 Andreas Schwab <schwab@redhat.com>
25169
70538b7f
AS
25170 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25171
f55ffe58
AS
25172 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25173 dependencies back to end of function.
25174
87162f46
AS
25175 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25176 $(elfobjdir)/ld.so.
25177
91b392a4
UD
251782011-08-21 Ulrich Drepper <drepper@gmail.com>
25179
25180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25181 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25183 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25184 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25185 of __vdso_gettimeofday.
25186 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25187 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25188 attribute_hidden.
25189 (_libc_vdso_platform_setup): Remove initialization of
25190 __vdso_gettimeofday and __vdso_time.
25191
5c43483f
UD
251922011-08-20 Ulrich Drepper <drepper@gmail.com>
25193
775a77e7
UD
25194 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25195 and fgetc_unlocked.
25196 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25197 getc_unlocked.
89f447ed 25198
49c74ba9
UD
25199 * elf/dl-open.c (add_to_global): Report additions to the global scope
25200 for LD_DEBUG=scopes.
25201 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 25202 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 25203
5c43483f
UD
25204 [BZ #13114]
25205 * stdio-common/Makefile (tests): Add bug24.
25206 * stdio-common/bug24.c: New file.
25207
a101b025
AJ
252082011-08-19 Andreas Jaeger <aj@suse.de>
25209
25210 [BZ #13114]
25211 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25212 non-existant file when using close-on-exec mode.
25213
c88f1766
UD
252142011-08-20 Ulrich Drepper <drepper@gmail.com>
25215
0276a718
UD
25216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25217 the very first instruction.
25218
c88f1766
UD
25219 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25220 the CFI state in the end.
25221 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25222 inclusion of dl-trampoline.h.
25223 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25224
51ccffa0
AS
252252011-08-19 Andreas Schwab <schwab@redhat.com>
25226
94d7165f
AS
25227 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25228 expectations for long double.
25229
51ccffa0
AS
25230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25231 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25232
fd708658 252332011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
25234
25235 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25236 artificual limit depends upon the system page size.
25237
44f0a71e
UD
252382011-08-17 Ulrich Drepper <drepper@gmail.com>
25239
25240 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25241 * resolv/Makefile: Define CFLAGS-libresolv.
25242
8de79a24
AS
252432011-08-17 Andreas Schwab <schwab@redhat.com>
25244
25245 * nss/makedb.c (compute_tables): Make variables used in nested
25246 function static.
25247
27724598
UD
252482011-08-17 Ulrich Drepper <drepper@gmail.com>
25249
c5305d88
UD
25250 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25251 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25252 if buffer was too small.
25253
27724598
UD
25254 * elf/pldd.c (main): Attach to all threads in the process.
25255 Rewrite /proc handling to use *at functions.
25256
076fe015
UD
252572011-08-16 Ulrich Drepper <drepper@gmail.com>
25258
174baab3
UD
25259 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25260 specifies first scope to show.
25261 (dl_open_worker): Update callers. Move printing scope of new
25262 object to before the relocation.
44f0a71e 25263 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
25264 * sysdeps/generic/ldsodefs.h: Update declaration.
25265
076fe015
UD
25266 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25267 string for the scope number.
25268
a60df2c3
UD
252692011-08-14 Ulrich Drepper <drepper@gmail.com>
25270
25271 * nscd/servicescache.c (cache_addserv): Make sure written is always
25272 initialized.
25273
5e4287d1
RM
252742011-08-14 Roland McGrath <roland@hack.frob.com>
25275
85ae0589
RM
25276 * sysdeps/i386/i486/bits/atomic.h
25277 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25278 statement expression, so as to suppress "set but not used" warning.
25279 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25280
69f63097
RM
25281 * string/strncat.c (STRNCAT): Use prototype definition.
25282
675456ef
RM
25283 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25284 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25285 -Iprograms here.
25286 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25287 (localedef-modules): Add localedef.
25288 (locale-modules): Add locale.
25289
5e4287d1
RM
25290 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25291 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25292 to avoid a warning.
25293
9c96ff23
DM
252942011-08-14 David S. Miller <davem@davemloft.net>
25295
25296 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25297 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25298
f9ddf089
UD
252992011-08-13 Ulrich Drepper <drepper@gmail.com>
25300
44f0a71e 25301 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
25302 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25303 * elf/rtld.c (dl_main): Set l_name of vDSO.
25304 Call _dl_show_scope when DL_DEBUG_SCOPES.
25305 (process_dl_debug): Recognize scopes flag and also set it for all.
25306 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25307 Declare _dl_show_scope.
25308
1dc27704
UD
25309 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25310 (do_dlopen): Pass caller_dlopen to dl_open.
25311 (__libc_dlopen_mode): Initialize caller_dlopen.
25312
f9ddf089
UD
25313 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25314 of libc. Make tolower call locale-independent. Optimize a bit by
25315 using isdigit instead of isalnum.
25316 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25317
9ac533d3
UD
253182011-08-12 Ulrich Drepper <drepper@gmail.com>
25319
25320 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25321 was a dependency or dynamically loaded.
25322
89edf2e9
UD
253232011-08-11 Ulrich Drepper <drepper@gmail.com>
25324
8e999d29
UD
25325 * intl/l10nflist.c: Allow architecture-specific pop function.
25326 * sysdeps/x86_64/l10nflist.c: New file.
25327
89edf2e9
UD
25328 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25329 classification.
25330
14d96785
AS
253312011-08-10 Andreas Schwab <schwab@redhat.com>
25332
25333 * include/dirent.h: Add libc_hidden_proto for scandirat and
25334 scandirat64. Don't declare __scandirat64.
25335 * dirent/scandirat.c: Add libc_hidden_def.
25336 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25337 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25338
6761ac04
DM
253392011-08-10 David S. Miller <davem@davemloft.net>
25340
25341 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25342 enum.
25343 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25344 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25345 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25346
c55fbd1e
UD
253472011-08-09 Ulrich Drepper <drepper@gmail.com>
25348
25349 * Versions.def [libc]: Add GLIBC_2.15.
25350 * dirent/Makefile (routines): Add scandirat and scandirat64.
25351 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25352 GLIBC_2.15.
25353 * dirent/dirent.h: Declare scandirat and scandirat64.
25354 * dirent/scandirat.c: New file.
25355 * dirent/scandirat64.c: New file.
25356 * sysdeps/wordsize-64/scandirat.c: New file.
25357 * sysdeps/wordsize-64/scandirat64.c: New file.
25358 * dirent/opendir.c: Define opendirat.
25359 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25360 using scandirat.
25361 * dirent/scandir64.c: Adjust for scandir.c change.
25362 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25363 __scandirat64, and __scandir_cancel_handler.
25364 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25365 additional parameter and use openat instead of open (outside of ld.so).
25366 Add new __opendir as wrapper around __opendirat.
25367 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25368 here without requiring old scandirat implementation.
25369
879165f2
UD
253702011-08-08 Ulrich Drepper <drepper@gmail.com>
25371
25372 * dirent/scandir.c (cancel_handler): Renamed to
25373 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25374 defined. Adjust users.
25375 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25376 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25377
cb7e923b
UD
253782011-08-04 Ulrich Drepper <drepper@gmail.com>
25379
16292edd
UD
25380 * string/test-string.h (IMPL): Use __STRING to expand name and then
25381 stringify it.
25382
cb7e923b
UD
25383 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25384 of cleanups.
25385
cff82933
LD
253862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25387
25388 * string/Makefile: Update.
25389 (strop-tests): Append strncat.
25390 * string/test-wcscmp.c: New file.
25391 New comprehensive test for wcscmp.
25392 * string/test-strcmp.c: Update.
25393 (WIDE): New define.
25394
9be9bfcc
AS
253952011-07-22 Andreas Schwab <schwab@redhat.com>
25396
25397 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25398 line.
25399
2e96f1c7
AS
254002011-07-26 Andreas Schwab <schwab@redhat.com>
25401
25402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25403 encoding to ACE if AI_IDN.
25404
85188888
JJ
254052011-08-01 Jakub Jelinek <jakub@redhat.com>
25406
25407 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25408 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25409
5fa16e9b
LD
254102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25411
25412 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25413 Fix overflow bug in strncat.
25414 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25415
25416 * string/test-strncat.c: Update.
25417 Add new tests for checking overflow bugs.
25418
254192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25420
25421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25422 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25423 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25424 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25425 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25426 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25427 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25428 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25429 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25430
25431 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25432 (USE_AS_STRCAT): Define.
25433 Add strcat and strncat support.
25434 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25435
8c1a459f
AS
254362011-07-25 Andreas Schwab <schwab@redhat.com>
25437
25438 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25439 __n bigger than INT_MAX+1.
25440 (__strncmp_g): Likewise.
25441
bba33c28
UD
254422011-07-23 Ulrich Drepper <drepper@gmail.com>
25443
798be72d
UD
25444 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25445 * libio/stido.h: Likewise.
25446
8accd4dc
UD
25447 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25448 (AF_NFC): Define.
25449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25450 (AF_NFC): Define.
25451
cbff0d96
UD
25452 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25453 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25454 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25455 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25457
9191c04a
UD
25458 [BZ #13021]
25459 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25460 installed.
25461
bba33c28
UD
25462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25463 typo.
25464 (_dl_x86_64_save_sse): Likewise.
25465
90f139dd
UD
254662011-07-22 Ulrich Drepper <drepper@gmail.com>
25467
1aae088a
UD
25468 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25469 OSXSAVE.
25470 (_dl_x86_64_save_sse): Likewise.
25471
8e2045f5
UD
25472 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25473
90f139dd
UD
25474 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25475
1d002f25
AS
254762011-07-21 Andreas Schwab <schwab@redhat.com>
25477
25478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25479 change.
25480 (_dl_x86_64_save_sse): Use correct AVX check.
25481
21137f89
UD
254822011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25483
25484 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25485 bug in strncpy/strncat.
25486 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25487
a65c0b7a
UD
254882011-07-21 Ulrich Drepper <drepper@gmail.com>
25489
25490 * string/tester.c (test_strcat): Add tests for different alignments
25491 of source and destination.
25492 (test_strncat): Likewise.
25493
6986b98a
UD
254942011-07-20 Ulrich Drepper <drepper@gmail.com>
25495
90bb2039
UD
25496 [BZ #12852]
25497 * posix/glob.c (glob): Check passed in values before using them in
25498 expressions to avoid some overflows.
25499 (glob_in_dir): Likewise.
25500
5644ef54
UD
25501 [BZ #13007]
25502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25503 check for AVX enablement so that we don't crash with old kernels and
25504 new hardware.
25505 * elf/tst-audit4.c: Add same checks here.
25506 * elf/tst-audit6.c: Likewise.
25507
25508 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25509
bfc9dc9b
AS
255102011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25511
25512 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25513
702e64bb
UD
255142011-07-20 Ulrich Drepper <drepper@gmail.com>
25515
25516 * po/cs.po: Update from translation team.
25517 * po/bg.po: Likewise.
25518
295e904f
MP
255192011-07-12 Marek Polacek <mpolacek@redhat.com>
25520
25521 * misc/sys/cdefs.h: Add support for const attribute.
25522 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25523 to gnu_dev_{major,minor,makedev} functions.
25524
3ff94596
MP
255252011-07-20 Marek Polacek <mpolacek@redhat.com>
25526
25527 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25528
28b59fca
AS
255292011-07-20 Andreas Schwab <schwab@redhat.com>
25530
25531 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25532 strlen results.
25533
19df733e
AK
255342011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25535
25536 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25537 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25538 register in order to avoid conflicts with the soft frame pointer
25539 being held in r11 when necessary.
25540 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25541 (INTERNAL_VSYSCALL_NCS): Likewise.
25542
c8835729
MP
255432011-07-14 Marek Polacek <mpolacek@redhat.com>
25544
25545 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25546 * elf/dl-fini.c (_dl_fini): Adjust caller.
25547 * elf/dl-close.c (_dl_close_worker): Likewise.
25548 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25549
b902330c
MP
255502011-07-15 Marek Polacek <mpolacek@redhat.com>
25551
8991e135
MP
25552 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25553 "aux_cache->nlibs < 0".
25554
b902330c
MP
25555 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25556 in the reload-count case.
25557
99710781
LD
255582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25559
25560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25561 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25562 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25563 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25564 * sysdeps/x86_64/multiarch/strcat.S: New file.
25565 * sysdeps/x86_64/multiarch/strncat.S: New file.
25566 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25567 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25568 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25569 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25570 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25571 (USE_AS_STRCAT): Define.
25572 Add strcat and strncat support.
25573 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25574 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25575 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25576 * string/strncat.c: Update.
25577 (USE_AS_STRNCAT): Define.
25578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25579 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25580 and i7.
25581 * sysdeps/x86_64/multiarch/init-arch.h
25582 (bit_Prefer_PMINUB_for_stringop): New.
25583 (index_Prefer_PMINUB_for_stringop): Likewise.
25584 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25585 bit_Prefer_PMINUB_for_stringop.
25586
7dc6bd90
UD
255872011-07-19 Ulrich Drepper <drepper@gmail.com>
25588
25589 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25590 buffer64.
25591 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25592 of casting of buffer.
25593 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25594 buffer32 and buffer64.
25595 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25596 writes instead of casting of buffer.
25597 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25598 buffer32.
25599 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25600 casting of buffer.
25601
e0e72284
AS
256022011-07-19 Andreas Schwab <schwab@redhat.com>
25603
25604 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25605
feb1eb0b
UD
256062011-07-19 Ulrich Drepper <drepper@gmail.com>
25607
25608 * nscd/nscd.c (termination_handler): Don't do anything for a database
25609 if it has not yet been initialized.
25610
298711ff
UD
256112011-07-18 Ulrich Drepper <drepper@gmail.com>
25612
25613 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25614
256152011-07-15 Marek Polacek <mpolacek@redhat.com>
25616
25617 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25618
f9d68389
UD
256192011-07-18 Ulrich Drepper <drepper@gmail.com>
25620
25621 * po/nl.po: Update from translation team.
25622 * po/sv.po: Likewise.
25623
db290cf5
RM
256242011-07-16 Roland McGrath <roland@hack.frob.com>
25625
25626 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25627 now disallowed by GCC.
5c550700 25628
fd5e21c7
RM
25629 * configure.in (use-default-link): Default to yes if a test -shared
25630 link meets our qualifications.
25631 * configure: Regenerated.
25632
5c550700
RM
25633 * config.make.in (output-format): New variable.
25634 * configure.in: Check for ld --print-output-format support.
25635 * configure: Regenerated.
25636 * Makerules ($(common-objpfx)format.lds)
25637 [$(output-format) != unknown]: Just use $(output-format),
25638 instead of the linker-script munging.
25639
9fa2c032
RM
256402011-07-14 Roland McGrath <roland@hack.frob.com>
25641
a6928d51
RM
25642 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25643 of $(common-objpfx)shlib.lds.
25644 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25645
661607b3
RM
25646 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25647 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25648
9fa2c032
RM
25649 * configure.in (-z relro check): Adjust test code to add a large
25650 writable data section after it.
25651 * configure: Regenerated.
25652
defe9061
RM
256532011-07-11 Roland McGrath <roland@hack.frob.com>
25654
25655 * configure.in (-z relro check): Fix test code to make the variable
25656 truly const.
25657 * configure: Regenerated.
25658
319b9ad4
UD
256592011-07-11 Ulrich Drepper <drepper@gmail.com>
25660
25661 * nscd/nscd.h (struct traced_file): Define.
25662 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25663 elements. Add traced_files.
25664 (inotify_fd): Declare.
25665 (register_traced_file): Declare.
25666 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25667 (inotify_fd): Export.
25668 (resolv_conf_descr): Remove.
25669 (nscd_init): Move inotify descriptor creation to main.
25670 Don't register files for notification here.
25671 (register_traced_file): New function.
25672 (invalidate_cache): Don't use reset_res to determine whether to call
25673 res_init, go through the list of registered files.
25674 (main_loop_poll): The inotify descriptors are now stored in the
25675 structures for the traced files.
25676 (main_loop_epoll): Likewise
25677 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25678 to __nss_disable_nscd.
25679 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25680 for a database anymore. Check the records for all the registered
25681 files instead.
25682 * nss/Makefile (libnss_files-routines): Add files-init.
25683 (libnss_db-routines): Add db-init.
25684 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25685 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25686 * nss/nss_db/db-init.c: New file.
25687 * nss/nss_files/files-init.c: New file.
25688 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25689 __nss_lookup_function.
25690 (__nss_lookup_function): Call nss_load_library.
25691 (nss_load_all_libraries): New function.
25692 (__nss_disable_nscd): Take parameter with callback function for files
25693 to register. Set is_nscd. Load all the DSOs for the NSS modules
25694 used for the cached services.
25695 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25696 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25697 options for features to all the files in nscd.
25698
25699 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25700
23bee3e8
RM
257012011-07-10 Roland McGrath <roland@hack.frob.com>
25702
25703 * csu/elf-init.c (__libc_csu_init): Comment typo.
25704
46a5b7f0
UD
257052011-07-09 Ulrich Drepper <drepper@gmail.com>
25706
25707 * po/pl.po: Update from translation team.
25708 * po/ja.po: Likewise.
25709 * po/ru.po: Likewise.
25710 * po/ko.po: Likewise.
25711 * po/fr.po: Likewise.
25712
d30cf5bb
RM
257132011-07-09 Roland McGrath <roland@hack.frob.com>
25714
113ddea4
RM
25715 * configure.in (.ctors/.dtors header and trailer check):
25716 Use an empirical test on a built program.
25717 * configure: Regenerated.
25718
574920b4
RM
25719 * configure.in (-z relro check): Use an empirical test on a built DSO.
25720 Detect, but do not require, on ia64.
25721 * configure: Regenerated.
25722
d30cf5bb
RM
25723 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25724 Update tests that use readelf to use $READELF instead.
25725 * configure: Regenerated.
25726
8538fdb3
UD
257272011-07-08 Ulrich Drepper <drepper@gmail.com>
25728
25729 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25730 if the result is not used.
25731
04d08991
AJ
257322011-07-05 Andreas Jaeger <aj@suse.de>
25733
25734 [BZ#9696]
25735 * stdlib/tst-strtod.c: Add testcase.
25736
de283087
AD
257372011-07-07 Ulrich Drepper <drepper@gmail.com>
25738
4e5f31c8 25739 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25740 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25741 The latter has a higher limit. Take additional parameter to pass to
25742 the new function.
25743 (__pathconf): Pass file to __statfs_link_max.
25744 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25745 __statfs_link_max.
25746 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25747 __statfs_link_max.
25748
de283087
AD
25749 [BZ #12868]
25750 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25751 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25752 Handle Lustre.
25753 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25754 (__statfs_filesize_max): Likewise.
25755 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25756
c75fa153
AJ
257572011-07-05 Andreas Jaeger <aj@suse.de>
25758
25759 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25760
1a544854
UD
257612011-07-06 Marek Polacek <mpolacek@redhat.com>
25762
25763 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25764 `status' variable.
25765 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25766 Likewise.
25767
6f0eec67
UD
257682011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25769
25770 * Makefile (strop-tests): Add strncat.
25771 * string/test-strncat.c: New file.
25772
aae30307
UD
257732011-06-30 Marek Polacek <mpolacek@redhat.com>
25774
25775 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25776
c0cfb5eb
UD
257772011-06-21 Andreas Jaeger <aj@suse.de>
25778
25779 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25780 Copy rule from iconvdata/Makefile.
25781
01636b21
UD
257822011-07-06 Ulrich Drepper <drepper@gmail.com>
25783
25784 [BZ #12922]
25785 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25786 but no long options are defined, just return 'W'.
25787
9895c8bc
UD
257882011-06-22 Marek Polacek <mpolacek@redhat.com>
25789
25790 [BZ #9696]
25791 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25792
5d4cf042
UD
257932011-07-06 Ulrich Drepper <drepper@gmail.com>
25794
25795 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25796 netgroups to read.
960e5535 25797 (innetgr): Likewise.
5d4cf042 25798
751eb97e
RM
257992011-07-05 Roland McGrath <roland@hack.frob.com>
25800
25801 * config.make.in (install_root): Default to $(DESTDIR).
25802
f15f1e45
UD
258032011-07-05 Ulrich Drepper <drepper@gmail.com>
25804
25805 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25806
4e34ac6a
RM
258072011-07-02 Roland McGrath <roland@hack.frob.com>
25808
5e9b6af4
RM
25809 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25810
84f9ea0f
RM
25811 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25812 containing directory rather than embedding absolute directory names.
25813
ea5ee9f7
RM
25814 * scripts/check-local-headers.sh: Rewritten using awk.
25815 Match by word, not by line. Print error messages for matches.
25816 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25817
1b74661a
RM
25818 * Makerules [shlib-lds-flags empty]:
25819 ($(common-objpfx)libc_pic.opts): New target.
25820 ($(common-objpfx)libc_pic.os.clean): New target.
25821 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25822
25823 * config.make.in (OBJCOPY): New variable.
25824 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25825 * configure: Regenerated.
25826
f781ef40
RM
25827 * config.make.in (use-default-link): New variable.
25828 * configure.in (use_default_link): Grok --with-default-link to set it.
25829 * configure: Regenerated.
25830 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25831 (shlib-lds, shlib-lds-flags): Define to empty.
25832
2d4fa81e
RM
25833 * Makerules (shlib-lds): New variable.
25834 (shlib-lds-flags): New variable.
25835 (build-shlib, build-moduile, build-module-asneeded): Use it.
25836 ($(common-objpfx)libc.so): Use $(shlib-lds).
25837 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25838 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25839
31fffa6b
RM
25840 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25841 DT_FLAGS/DT_FLAGS_1 with zero flags.
25842
4e34ac6a
RM
25843 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25844 linker script munging.
25845
fcfc776b
UD
258462011-07-02 Ulrich Drepper <drepper@gmail.com>
25847
25848 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25849 as 128-bit value.
25850 * crypt/sha512.c (sha512_process_block): Perform total addition using
25851 128-bit if possible.
25852 (__sha512_finish_ctx): Likewise.
25853 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25854 as 64-bit value.
25855 * crypt/sha256.c (SWAP64): Define.
25856 (sha256_process_block): Perform total addition using 64-bit if
25857 possible.
25858 (__sha256_finish_ctx): Likewise.
25859
99231d9a
UD
258602011-07-01 Ulrich Drepper <drepper@gmail.com>
25861
25862 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25864 * nscd/hstcache.c (cache_addhst): Likewise.
25865 * nscd/grpcache.c (cache_addgr): Likewise.
25866 * nscd/aicache.c (addhstaiX): Likewise
25867 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25868
445b4a53
TK
258692011-07-01 Thorsten Kukuk <kukuk@suse.de>
25870
25871 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25873 * nscd/hstcache.c (cache_addhst): Likewise.
25874 * nscd/grpcache.c (cache_addgr): Likewise.
25875 * nscd/aicache.c (addhstaiX): Likewise
25876
6d4d8e8e
AS
258772011-07-01 Andreas Schwab <schwab@redhat.com>
25878
25879 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25880 domain only when needed.
25881
89f654c5
AS
258822011-06-30 Andreas Schwab <schwab@redhat.com>
25883
25884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25885 is always restored.
25886
cf3b23ff
UD
258872011-06-29 Ulrich Drepper <drepper@gmail.com>
25888
25889 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25890 are re-adding the entry.
25891 * nscd/servicescache.c (cache_addserv): Likewise.
25892
751626f9
AJ
258932011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25894
25895 * sysdeps/generic/dl-irel.h: fix protection against multiple
25896 inclusions.
25897 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25898
9113ea1f
UD
258992011-06-28 Ulrich Drepper <drepper@gmail.com>
25900
5c0b8d90
UD
25901 [BZ #12935]
25902 * malloc/memusage.sh: Fix quoting in message.
25903 * debug/xtrace.sh: Likewise.
25904
9113ea1f
UD
25905 * configure.in: Remove support for --experimental-malloc option, make
25906 it the default.
25907 * config.make.in: Likewise.
25908 * malloc/Makefile: Likewise.
25909
a4172181
AS
259102011-06-27 Andreas Schwab <schwab@redhat.com>
25911
25912 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25913 two-byte characters.
25914
78a7eee7
RM
259152011-06-27 Roland McGrath <roland@hack.frob.com>
25916
62bede13
RM
25917 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25918 AC_CACHE_CHECK invocation.
25919 * configure: Regenerated.
25920
78a7eee7
RM
25921 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25922
5ce33a62
UD
259232011-06-27 Ulrich Drepper <drepper@gmail.com>
25924
034807a9
UD
25925 [BZ #12350]
25926 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25927 bit from old_res_options.
25928
4902da17
UD
25929 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25930
5ce33a62
UD
25931 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25932 value type for setfct.
25933
c2344f56
L
259342011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25935
25936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25937 __gettimeofday instead of gettimeofday.
25938
68468076
UD
259392011-06-26 Ulrich Drepper <drepper@gmail.com>
25940
25941 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25942
acb0d739
L
259432011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25944
25945 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25946
25947 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25948 info.
25949
8912479f
L
259502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25951
25952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25953 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25954 strcpy-sse2-unaligned strncpy-sse2-unaligned
25955 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25956 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25957 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25958 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25959 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25960 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25961 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25962 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25963 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25964 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25965 (STRCPY): Support SSE2 and SSSE3 versions.
25966
d5495a11
UD
259672011-06-24 Ulrich Drepper <drepper@gmail.com>
25968
25969 [BZ #12874]
25970 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25971 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25972 kernels which artificially limit size of requests.
25973
0b1cbaae
L
259742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25975
25976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25977 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25978 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25979 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25980 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25981 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25982 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25983 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25984 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25985 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25986 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25987 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25988 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25989 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25990 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25992 Enable unaligned load optimization for Intel Core i3, i5 and i7
25993 processors.
25994 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25995 Define.
25996 (index_Fast_Unaligned_Load): Define.
25997 (HAS_FAST_UNALIGNED_LOAD): Define.
25998
07f494a0
MP
259992011-06-23 Marek Polacek <mpolacek@redhat.com>
26000
26001 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26002
fa3fc0fe
UD
260032011-06-22 Ulrich Drepper <drepper@gmail.com>
26004
26005 [BZ #12907]
26006 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26007 until it is clear that the information is realy needed.
26008 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26009
e12df166
AS
260102011-06-22 Andreas Schwab <schwab@redhat.com>
26011
26012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26013
852eb34d
UD
260142011-06-22 Ulrich Drepper <drepper@gmail.com>
26015
84e2a551
UD
26016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26017 /sys/devices/system/cpu/online if it is usable.
26018
852eb34d
UD
26019 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26020 reading the information from the /proc filesystem to once a second.
26021
6e502e19
UD
260222011-06-21 Andreas Jaeger <aj@suse.de>
26023
26024 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26025 NULL after inclusion of kernel headers.
26026
75d39ff2
UD
260272011-06-21 Ulrich Drepper <drepper@gmail.com>
26028
51f9aa6a
UD
26029 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26030 calls to internal_setent.
26031
c0244a9d
UD
26032 [BZ #12885]
26033 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26034 addresses using gethostbyname4_r ignore IPv4 addresses.
26035
c5e3c2ae
UD
26036 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26037 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26038
75d39ff2
UD
26039 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26040
42675c6f
DM
260412011-06-20 David S. Miller <davem@davemloft.net>
26042
26043 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26044 inclusions.
26045 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26046
26047 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26048 (elf_irel): Use it.
26049 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26050 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26051 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26052 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26053 * sysdeps/x86_64/dl-irel.h: Likewise.
26054
26055 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26056 * elf/dl-sym.c: Likewise.
26057
57912a71
UD
260582011-06-15 Ulrich Drepper <drepper@gmail.com>
26059
26060 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26061 need to dereference resplen2.
26062
ee22793d
AS
260632011-06-14 Andreas Schwab <schwab@redhat.com>
26064
26065 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26066
a9e836b0
UD
260672011-06-15 Ulrich Drepper <drepper@gmail.com>
26068
77fb9117
UD
26069 * Makeconfig: Define vardbdir and inst_vardbdir.
26070 * nss/Makefile: Add rules to install db-Makefile.
26071
40c1b22c
UD
26072 * nss/nss_db/db-XXX.c: Cleanup.
26073
9f2da732
UD
26074 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26075 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26076 GLIBC_PRIVATE.
26077 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26078 * nss/makedb.c: Implement -g option to specify that value strings
26079 are generated and should not be added to table iterated over for
26080 get*ent calls.
26081 * nss/nss_db/db-initgroups.c: New file.
26082
82e9a1f7
UD
26083 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26084 interface.
26085
c41af17e
UD
26086 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26087 (internal_getgrouplist): Adjust to name change.
26088 Update use_initgroups_entry if this is not the first call.
26089 * nss/databases.def: Add initgroups entry.
26090
a9e836b0
UD
26091 * nss/makedb.c (compute_tables): Check result of multiple hash table
26092 sizes to minimize maximum chain length.
26093
2666d441
UD
260942011-06-14 Ulrich Drepper <drepper@gmail.com>
26095
26096 * Versions.def: Add entry for libnss_db.
26097 * shlib-versions: Likewise.
26098 * nss/Makefile: Add rules to build libnss_db.
26099 * nss/Versions: Add libnss_db information. Organize libnss_files
26100 entries better.
26101 * nss/db-Makefile: Add gshadow support. Change rules for the new
26102 makedb progra. Some minor improvements to generate smaller files.
26103 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26104 here from...
26105 * nss/makedb.c: ...here.
26106 Improve database format to be smaller and require less memory at
26107 runtime.
26108 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26109 db anymore.
26110 * nss/nss_db/db-netgrp.c: Likewise.
26111 * nss/nss_db/db-open.c: Likewise.
26112 * nss/nss_files/flies-XXX.x: Adjust comments.
26113 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26114 * nss/nss_files/files-grp.c: Likewise.
26115 * nss/nss_files/files-hosts.c: Likewise.
26116 * nss/nss_files/files-network.c: Likewise.
26117 * nss/nss_files/files-proto.c: Likewise.
26118 * nss/nss_files/files-pwd.c: Likewise.
26119 * nss/nss_files/files-rpc.c: Likewise.
26120 * nss/nss_files/files-service.c: Likewise.
26121 * nss/nss_files/files-sgrp.c: Likewise.
26122 * nss/nss_files/files-spwd.c: Likewise.
26123 * nss/nss_db/db-alias.c: Removed.
26124 * nss/nss_db/dummy-db.h: Removed.
26125
9ee76b5a
UD
261262011-06-02 Ulrich Drepper <drepper@gmail.com>
26127
26128 * nss/makedb.c: Rewritten to not use database library.
26129 * nss/Makefile: Update to build new makedb program.
26130
c71ca1f8
AJ
261312011-06-14 Andreas Jaeger <aj@suse.de>
26132
26133 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26134 memset declaration.
26135
3154bfb8
UD
261362011-06-10 Andreas Schwab <schwab@redhat.com>
26137
26138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26139 tmpbuf.
26140
b350afab
RM
261412011-06-10 Roland McGrath <roland@hack.frob.com>
26142
decd4e50
RM
26143 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26144 * elf/Makefile ($(objpfx)ld.so): Likewise.
26145
5615eaf2
RM
26146 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26147 Don't list ld.so twice in dependencies.
26148
26149 * posix/bug-regex31.c: Include <stdlib.h>.
26150
26151 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26152
26153 * nis/nss_compat/compat-spwd.c
26154 (getspent_next_nss_netgr): Remove unused variable.
26155 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26156
26157 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26158 nonmembers" output to use the right array.
26159
26160 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26161
26162 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26163
26164 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26165 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26166 * catgets/gencat.c (read_input_file): Likewise.
26167 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26168
26169 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26170 variable definition inside #if's controlling its use.
26171
26172 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26173
26174 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26175
26176 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26177
26178 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26179 unreachable code.
26180
26181 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26182
b68e08db
RM
26183 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26184 * configure: Regenerated.
26185
b350afab
RM
26186 * Makerules: Revert last change.
26187 * elf/Makefile: Likewise.
26188
28368601
RM
261892011-06-09 Roland McGrath <roland@hack.frob.com>
26190
26191 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26192 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26193 (reloc-link): Likewise.
26194
11988f8f
UD
261952011-06-09 Ulrich Drepper <drepper@gmail.com>
26196
26197 * elf/Makefile: Add rules to build pldd.
26198 * elf/pldd.c: New file.
26199 * elf/pldd-xx.c: New file.
26200
e80fab37
UD
262012011-06-07 Ulrich Drepper <drepper@gmail.com>
26202
26203 * version.h: Update for 2.15 development version.
26204
9b849836
DM
262052011-06-07 David S. Miller <davem@davemloft.net>
26206
26207 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26208 ifuncs.
26209 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26210 elf_machine_lazy_rel): Likewise.
26211 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26212 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26213 elf_machine_lazy_rel): Likewise.
26214 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26215 dl_hwcap via passed in argument.
26216 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26217 Likewise.
26218
5a31b283
AK
262192011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26220
26221 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26222
069e52f8
RM
262232011-06-06 Roland McGrath <roland@hack.frob.com>
26224
26225 [BZ #12849]
26226 * manual/fdl-1.1.texi: New file, verbatim from:
26227 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26228 * manual/lgpl-2.1.texi: New file, verbatim from:
26229 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26230 * manual/Makefile (licenses): New variable, list those new file names.
26231 (texis): Use it.
26232 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26233
26234 * manual/fdl.texi: File removed.
26235 * manual/lesser.texi: File removed.
26236 * manual/libc.texinfo (Copying, Documentation License):
26237 Use new @include file names, put @appendix directive before @include.
26238
f16846a5
JJ
262392011-06-04 Jakub Jelinek <jakub@redhat.com>
26240
26241 [BZ #12841]
26242 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26243 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26244 (mq_open): Add __NTH.
26245
3d29045b
L
262462011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26247
26248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26249 Assume Intel Core i3/i5/i7 processor if AVX is available.
26250
8c297311
UD
262512011-05-31 Ulrich Drepper <drepper@gmail.com>
26252
26253 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26254 typo.
26255
c8fc0c91
UD
262562011-05-31 Andreas Schwab <schwab@redhat.com>
26257
26258 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26259 memory. Use alloca_account. Fix memory leak when retrying.
26260
5b27a807
UD
262612011-05-31 Ulrich Drepper <drepper@gmail.com>
26262
356f8bc6
UD
26263 * version.h (RELEASE): Bump for 2.14 release.
26264 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26265
5b27a807
UD
26266 * config.make.in (RANLIB): Remove entry.
26267
01f16ab0
UD
262682011-05-30 Ulrich Drepper <drepper@gmail.com>
26269
41fce8bd
UD
26270 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26271 (libc.pot): Work around missing support for .ksh extension in xgettext.
26272
4769ae77
UD
26273 [BZ #12684]
26274 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26275 if both request failed.
26276 (send_dg): In case of server errors clear resplen or *resplen2.
26277
6b1e7d19
UD
26278 [BZ #12454]
26279 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26280 when there are multiple maps.
26281 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26282 (_dl_fini): Remove test here.
26283
01f16ab0
UD
26284 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26285
b1ebd700
UD
262862011-05-29 Ulrich Drepper <drepper@gmail.com>
26287
7ae22829
UD
26288 [BZ #12350]
26289 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26290 bit from old_res_options.
26291 (gaih_inet): Likewise.
26292
553149f6 26293 [BZ #11099]
18a84741 26294 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
26295 as signed.
26296
652ffab1
UD
26297 * resolv/res_init.c (res_setoptions): Make the code more compact.
26298
16985fd0
UD
26299 [BZ #11558]
26300 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26301 set RES_USEVC.
26302
0464f746
UD
26303 [BZ #11634]
26304 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26305
7d17596c
UD
26306 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26307
cf6bbbd7
UD
26308 [BZ #11781]
26309 * malloc/malloc.h: Declare malloc hook variables as volatile.
26310
13f1ab36
UD
26311 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26312 in last patch.
26313
b1ebd700
UD
26314 [BZ #11799]
26315 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 26316 raise in the comment.
80e2212d
UD
26317 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26318 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26319 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 26320
ce67228d
UD
263212011-05-28 Ulrich Drepper <drepper@gmail.com>
26322
8887a920
UD
26323 [BZ #12811]
26324 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26325 grow the buffers more if it already has to be sufficient.
26326 (build_wcs_upper_buffer): Likewise.
26327 * posix/regexec.c (check_matching): Likewise.
26328 (clean_state_log_if_needed): Likewise.
26329 (extend_buffers): Don't enlarge buffers beyond size of the input
26330 buffer.
26331 Patches mostly by Emil Wojak <emil@wojak.eu>.
26332 * posix/bug-regex32.c: New file.
26333 * posix/Makefile (tests): Add bug-regex32.
26334
4f031072
UD
26335 * locale/findlocale.c (_nl_find_locale): Return right away if
26336 _nl_explode_name failed.
26337 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26338
d0478f0c
UD
26339 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26340
de81b246
UD
26341 * debug/xtrace.sh: Unify messages.
26342 * malloc/memusage.sh: Likewise.
26343
c738465a
UD
26344 [BZ #12813]
26345 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26346 time symbol from vDSO. Substitute with vsyscall if not available.
26347 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26348 __vdso_time.
26349
f1f929d7
UD
26350 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26351 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26352 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26353 Add sendmmsg and internal_sendmmsg.
26354 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26355 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26356 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26357
ce67228d
UD
26358 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26359 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26360 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26361
e57420c6
UD
263622011-05-27 Ulrich Drepper <drepper@gmail.com>
26363
a8509ca5
UD
26364 [BZ #12813]
26365 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26366 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26367 available.
26368 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26369 __vdso_getcpu.
26370
e57420c6
UD
26371 [BZ #12814]
26372 * iconvdata/Makefile (tests): Add bug-iconv9.
26373 * iconvdata/bug-iconv9.c: New file.
26374
4d07db15
AS
263752011-05-27 Andreas Schwab <schwab@redhat.com>
26376
26377 [BZ #12814]
26378 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26379
ea486f69
JJ
263802011-05-25 Jakub Jelinek <jakub@redhat.com>
26381
26382 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26383 (struct user_regs_struct): Change intcs field back to cs.
26384
6f038433
UD
263852011-05-25 Ulrich Drepper <drepper@gmail.com>
26386
26387 * po/ja.po: Update from translation team.
26388
67f86a25
UD
263892011-05-23 Ulrich Drepper <drepper@gmail.com>
26390
26391 [BZ #12795]
26392 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26393 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26394
def7fbd6
AS
263952011-05-20 Andreas Schwab <schwab@redhat.com>
26396
26397 * stdlib/longlong.h: Update from GCC.
26398
f50ef8f1
AS
263992011-05-23 Andreas Schwab <schwab@redhat.com>
26400
26401 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26402 parameter name.
26403 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26404 Add parameter name.
26405 (__sysconf): Pass it down.
26406
de7ce8f1
UD
264072011-05-22 Ulrich Drepper <drepper@gmail.com>
26408
f2962a71
UD
26409 [BZ #12671]
26410 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26411 some situations.
26412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26413 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26414 add in in __libc_use_alloca calls. Adjust callers.
26415 (glob): Use malloc in some situations.
26416
de7ce8f1
UD
26417 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26418 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26419 pltexit.
26420
aec84f53
UD
264212011-05-21 Ulrich Drepper <drepper@gmail.com>
26422
05bb4a68
UD
26423 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26424 and CLOCK_BOOTTIME_ALARM.
26425
7ea72f99
UD
26426 [BZ #12782]
26427 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26428 is returned.
26429
7e4afad5
UD
26430 * string/_strerror.c (__strerror_r): Print negative errors as signed
26431 numbers.
26432
8e211fec
UD
26433 [BZ #12777]
26434 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26435 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26436 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26437
f7d82dc9
UD
26438 * configure.in: Fix typo in redirection and correct removal of test
26439 files in two cases.
26440
cc9e536d
UD
26441 [BZ #12788]
26442 * locale/setlocale.c (new_composite_name): Fix test to check for
26443 identical name of all categories.
26444
aec84f53
UD
26445 [BZ #12792]
26446 * libio/filedoalloc.c (local_isatty): New function.
26447 (_IO_file_doallocate): Use local_isatty.
26448 * stdio-common/perror.c (perror): In case a new stream is used
26449 forward the stream error.
26450 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26451 error flag.
26452
78e64fdc
RT
264532011-05-20 Ulrich Drepper <drepper@gmail.com>
26454
34a9094f
UD
26455 [BZ #11869]
26456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26457 alloca.
26458 * include/alloca.h (extend_alloca_account): Define.
26459
78e64fdc
RT
26460 [BZ #11857]
26461 * posix/regex.h: Fix comments with documentation of user-accessible
26462 fields after compilation and describe correct free'ing of pattern
26463 after re_compile_pattern.
26464 Patch by Reuben Thomas <rrt@sc3d.org>.
26465
457bddfc
RA
264662011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26467
26468 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26469 and -mno-altivec to prevent the compiler from using Altivec and/or
26470 VSX instructions when the corresponding registers are not available.
26471
a4527b51
AS
264722011-05-19 Andreas Schwab <schwab@redhat.com>
26473
26474 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26475
ed690b2f
UD
264762011-05-19 Ulrich Drepper <drepper@gmail.com>
26477
26478 * libio/freopen.c (freopen): Use __dup2, not dup2.
26479 * libio/freopen64.c (freopen64): Likewise.
26480
8db73634
L
264812011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26482
26483 [BZ #12775]
26484 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26485 * math/Makefile (tests): Add test-powl.
26486 (CFLAGS-test-powl.c): Define.
26487 * math/test-powl.c: New file.
26488
0a197a9d
L
264892011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26490
26491 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26492
ee30c380
UD
264932011-05-17 Ulrich Drepper <drepper@gmail.com>
26494
26495 [BZ #11837]
26496 * iconvdata/gb18030.c: Update to GB18020-2005.
26497
6ce75379
UD
264982011-05-16 Ulrich Drepper <drepper@gmail.com>
26499
a4b89fd8
AR
26500 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26501 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26502 Patch by Aharon Robbins <arnold@skeeve.com>.
26503
ea389b12
UD
26504 [BZ #11892]
26505 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26506 on the stack.
26507
68a3f91f
UD
26508 [BZ #11895]
26509 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26510 through underflows.
26511
15cc7dd1
UD
26512 [BZ #12766]
26513 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26514 point to strings before performing equality test for error_one_per_line
26515 mode.
26516
f3799213
UD
26517 [BZ #11697]
26518 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26519
d79a9c94
UD
26520 [BZ #11820]
26521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26522 (struct user_fpregs_struct): Avoid __uint*_t types.
26523
56e5eb46
UD
26524 [BZ #6420]
26525 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26526 symbol info. Use it instead of calling _dl_addr locally.
26527 (lock_and_info): New function.
26528 (tr_freehook): Call lock_and_info and pass symbol info as additional
26529 parameter to tr_where.
26530 (tr_mallochook): Likewise.
26531 (tr_reallochook): Likewise.
26532 (tr_memalignhook): Likewise.
26533
6ce75379
UD
26534 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26535 used and couldn't be at all thread-safe.
26536
f8a3b5bf
UD
265372011-05-15 Ulrich Drepper <drepper@gmail.com>
26538
94b7cc37
UD
26539 * libio/freopen.c (freopen): Don't close old file descriptor
26540 before the new one is opened. Instead dup the new file descriptor
26541 to the old one after the new stream is created.
26542 * libio/freopen64.c (freopen64): Likewise.
26543 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26544 * libio/fileops.c (_IO_new_file_close_it): Handle new
26545 _IO_FLAGS2_NOCLOSE flag.
26546 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26547 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26548 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26549 _IO_FLAGS2_NOCLOSE flag.
26550 * include/unistd.h: Add hidden_proto for dup3.
26551 Define __have_dup3.
26552 * io/dup3.c: Define hidden symbol.
26553 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26554
bd25564e
UD
26555 [BZ #7101]
26556 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26557 when an incomplete long option is used.
26558 * posix/tst-getopt_long1.c: New file.
26559 * posix/Makefile (tests): Add tst-getopt_long1.
26560
c84cfef4
UD
26561 [BZ #10138]
26562 * scripts/config.guess: Update from autoconf-2.68.
26563 * scripts/config.sub: Likewise.
26564
3b85df27
UD
26565 [BZ #10157]
26566 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26567 tests into ...
26568 (has_cpuclock): ...this. New function.
26569 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26570 macro here based on has_cpuclock code.
26571
15a856b1
UD
26572 [BZ #10149]
26573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26574 First byte (not low byte) is now always NUL.
26575 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26576
05f399e6
UD
26577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26578 Use non-cancelable interfaces.
26579
10a52685 26580 [BZ #9809]
94ecc67d
UD
26581 * locale/iso-639.def: Add entry for Sorani.
26582
f8a3b5bf
UD
26583 [BZ #11901]
26584 * include/stdlib.h: Move include protection to the right place.
26585 Define abort_msg_s. Declare __abort_msg with it.
26586 * stdlib/abort.c (__abort_msg): Adjust type.
26587 * assert/assert.c (__assert_fail_base): New function. Majority
26588 of code from __assert_fail. Allocate memory for __abort_msg with
26589 mmap.
26590 (__assert_fail): Now call __assert_fail_base.
26591 * assert/assert-perr.c: Remove bulk of implementation. Use
26592 __assert_fail_base.
26593 * include/assert.hL Declare __assert_fail_base.
26594 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26595 mmap.
26596 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26597
1af4e298
UD
265982011-05-14 Ulrich Drepper <drepper@gmail.com>
26599
f8a3b5bf 26600 [BZ #11952]
d26dfc60
MG
26601 [BZ #12453]
26602 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26603 until all modules are registered in the DTV.
26604 * elf/Makefile: Add rules to build and run tst-tls19.
26605 * elf/tst-tls19.c: New file.
26606 * elf/tst-tls19mod1.c: New file.
26607 * elf/tst-tls19mod2.c: New file.
26608 * elf/tst-tls19mod3.c: New file.
26609 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26610
2fc54d6f
UD
26611 [BZ #12083]
26612 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26613 correctly.
26614
98d76b46
UD
26615 [BZ #12601]
26616 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26617 two-byte sequence errors.
26618 * iconvdata/Makefile (tests): Add bug-iconv8.
26619 * iconvdata/bug-iconv8.c: New file.
26620
da3c19ef
UD
26621 [BZ #12626]
26622 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26623 buf2 definition.
26624
ca408c15
UD
26625 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26626
d6f67f7d
UD
26627 [BZ #12432]
26628 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26629 (dummy_getcfa): New function.
26630 (init): Get _Unwind_GetCFA address, use dummy if not found.
26631 (backtrace_helper): In recursion check, also check whether CFA changes.
26632 (__backtrace): Completely initialize arg.
26633
1af4e298 26634 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26635 storing incomplete byte sequence in state object. Avoid testing for
26636 guaranteed too small input if we know there is enough data available.
1af4e298 26637
da62f81b
AS
266382011-05-11 Andreas Schwab <schwab@redhat.com>
26639
26640 * Makeconfig (+link-pie): Indent.
26641 * Rules (binaries-pie): Define if $(have-fpie) and
26642 $(build-shared).
26643 (binaries-shared): Also filter out $(binaries-pie).
26644 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26645 * nscd/Makefile (others-pie): Add nscd.
26646 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26647 ($(objpfx)nscd): Remove command override.
26648 * login/Makefile (others-pie): Add pt_chown.
26649 ($(objpfx)pt_chown): Remove command override.
26650 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26651 remove command overrides.
26652
fcabc0f8
UD
266532011-05-13 Ulrich Drepper <drepper@gmail.com>
26654
20030ae6
UD
26655 * libio/tst_putwc.c: Fix error messages.
26656
fcabc0f8
UD
26657 [BZ #12724]
26658 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26659 currently writing and seek to current position when not.
26660 * libio/Makefile (tests): Add bug-fclose1.
26661 * libio/bug-fclose1.c: New file.
26662
320a5dc0
PB
266632011-05-12 Ulrich Drepper <drepper@gmail.com>
26664
26665 [BZ #12511]
26666 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26667 don't set DF_1_NODELETE here.
26668 (do_lookup_x): When entering new entry test for copy relocation
26669 and if necessary set DF_1_NODELETE flag.
26670 * elf/tst-unique4.cc: New file.
26671 * elf/tst-unique4.h: New file.
26672 * elf/tst-unique4lib.cc: New file.
26673 * elf/Makefile: Add rules to build and run tst-unique4.
26674 Patch by Piotr Bury <pbury@goahead.com>.
26675
22836f52
UD
266762011-05-11 Ulrich Drepper <drepper@gmail.com>
26677
f574184a
UD
26678 [BZ #12052]
26679 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26680
e1fb097f
UD
26681 [BZ #12625]
26682 * misc/mntent_r.c (addmntent): Flush the stream after the output
26683
22836f52
UD
26684 [BZ #12393]
26685 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26686 (is_trusted_path_normalize): Skip initial colon. Append slash
26687 to empty buffer. Duplicate is_trusted_path code but allow
26688 constructed patch to be prefix.
26689 (is_dst): Allow $ORIGIN followed by /.
26690 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26691 Correct testing of result of is_trusted_path_normalize
26692 (decompose_rpath): Fix warning.
26693
7b3b0b2a
UD
266942011-05-10 Ulrich Drepper <drepper@gmail.com>
26695
26696 [BZ #11257]
26697 * grp/initgroups.c (internal_getgrouplist): When we found the service
26698 list through the initgroups entry in nsswitch.conf do not always
26699 continue on a successful lookup. Don't always use the
eac80ce2 26700 __nss_group_database value if it is set.
7b3b0b2a
UD
26701 * nss/nsswitch.conf (initgroups): Change action for successful db
26702 lookup to continue for compatibility.
26703
2a81eaa5
UD
267042011-05-09 Ulrich Drepper <drepper@gmail.com>
26705
be97a69e
UD
26706 [BZ #11532]
26707 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26708 and CP774 modules.
26709 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26710 and CP774 modules.
26711 * iconvdata/tst-tables.sh: Likewise.
26712 * iconvdata/cp770.c: New file.
26713 * iconvdata/cp771.c: New file.
26714 * iconvdata/cp772.c: New file.
26715 * iconvdata/cp773.c: New file.
26716 * iconvdata/cp774.c: New file.
26717 * iconvdata/testdata/CP770: New file.
26718 * iconvdata/testdata/CP770..UTF8: New file.
26719 * iconvdata/testdata/CP771: New file.
26720 * iconvdata/testdata/CP771..UTF8: New file.
26721 * iconvdata/testdata/CP772: New file.
26722 * iconvdata/testdata/CP772..UTF8: New file.
26723 * iconvdata/testdata/CP773: New file.
26724 * iconvdata/testdata/CP773..UTF8: New file.
26725 * iconvdata/testdata/CP774: New file.
26726 * iconvdata/testdata/CP774..UTF8: New file.
26727
26728 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26729 END CHARMAP line.
26730 * iconvdata/gen-8bit-gap.sh: Likewise.
26731 * iconvdata/gen-8bit.sh: Likewise.
26732
c1e9e399
UD
26733 * locale/iso-639.def: Add ary entry.
26734
24c55fb3 26735 [BZ #11258]
96b4b1b0
UD
26736 * locale/C-translit.h.in: Add U20A1 transliteration.
26737
bdc2f971
KB
26738 [BZ #12178]
26739 * locale/iso-639.def: Add wae entry.
26740 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26741
2952b117
UD
26742 [BZ #12545]
26743 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26744 for n.
26745
2a81eaa5
UD
26746 [BZ #12711]
26747 * locale/C-translit.h.in: Add entry for U20B9.
26748 Patch by pravin.d.s@gmail.com.
26749
28377d1b
UD
267502011-05-08 Ulrich Drepper <drepper@gmail.com>
26751
7fb90fb8
UD
26752 [BZ #12713]
26753 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26754 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26755 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26756 in rtld. Use *stat64.
7fb90fb8 26757 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26758 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26759 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26760 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26761 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26762 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26763 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26764 __fstatat64 macros.
7fb90fb8
UD
26765 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26766 * dirent/rewinddir.c: Add libc_hidden_def.
26767 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26768 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26769
28377d1b
UD
26770 * include/dirent.h (__alloc_dir): Add flags parameter.
26771 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26772 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26773 __alloc_dir.
26774 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26775 from fdopendir if O_CLOEXEC is already set.
26776
66bdbaa4
AM
267772011-03-15 Alan Modra <amodra@gmail.com>
26778
26779 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26780 l_tls_firstbyte_offset non-zero. Save padding offset in
26781 l_tls_firstbyte_offset for later use.
26782 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26783 freeing static tls block.
26784
95721191
JN
267852011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26786
26787 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26788 where #ifdef was intended. The intent is to prevent ARG_MAX from
26789 being defined by the kernel headers.
26790
f87dfb1f
UD
267912011-05-07 Ulrich Drepper <drepper@gmail.com>
26792
26793 [BZ #12734]
26794 * resolv/resolv.h: Define RES_NOTLDQUERY.
26795 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26796 no-tld-query and set RES_NOTLDQUERY.
26797 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26798 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26799 modern BIND to search name as TLD unless forbidden.
26800
47c3cd7a
UD
268012011-05-07 Petr Baudis <pasky@suse.cz>
26802 Ulrich Drepper <drepper@gmail.com>
26803
26804 [BZ #12393]
26805 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26806 (is_trusted_path): ...to here.
c1e9ea35 26807 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26808 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26809 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26810
8a35c912
PP
268112011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26812
26813 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26814 __BEGIN/__END_DECLS.
26815
acd41f47
UD
268162011-05-06 Ulrich Drepper <drepper@gmail.com>
26817
26818 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26819 NSS_STATUS_NOTFOUND if no record was found.
26820
597df647
AS
268212011-05-05 Andreas Schwab <schwab@redhat.com>
26822
26823 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26824 (headers-not-in-tirpc): Remove rpc/netdb.h
26825 * resolv/netdb.h: Revert last change.
26826
b9af1301
PP
268272011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26828
26829 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26830 circular dependency between libgcc.a and libc.a.
26831
4e34d5f5
AS
268322011-05-05 Andreas Schwab <schwab@redhat.com>
26833
26834 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26835 * nis/Makefile: Don't install rpcsvc/*.
26836 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26837 instead of <rpc/types.h>.
26838 (MAXHOSTNAMELEN): Define.
26839
00ee369c
AS
268402011-05-03 Andreas Schwab <schwab@redhat.com>
26841
26842 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26843
0b592a30
MB
268442011-04-28 Maciej Babinski <mbabinski@google.com>
26845
26846 [BZ #12714]
26847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26848 gethostbyname4_r when IPv6 results are possible.
26849
6e04cbbe
UD
268502011-05-02 Ulrich Drepper <drepper@gmail.com>
26851
26852 [BZ #12723]
26853 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26854 _PC_PIPE_BUF handling.
26855
e4ecafe0
BH
268562011-04-30 Bruno Haible <bruno@clisp.org>
26857
26858 [BZ #12717]
26859 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26860 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26861 to 'int'.
26862 * inet/getnameinfo.c (getnameinfo): Likewise.
26863
125ee683
UD
268642011-04-29 Ulrich Drepper <drepper@gmail.com>
26865
26866 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26867 to groups setting in database lookup.
26868 * nss/nsswitch.conf: Add initgroups entry.
26869
b722481a
EB
268702011-04-22 Ulrich Drepper <drepper@gmail.com>
26871
26872 [BZ #12685]
26873 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26874 mode string.
26875 Patch by Eric Blake <eblake@redhat.com>.
26876
4df46dbd
L
268772011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26878
26879 * sunrpc/Makefile (need-export-routines): Add svc_run.
26880 (routines): Remove svc_run.
26881 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26882 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26883 * sunrpc/svc_run.c (svc_run): Likewise.
26884 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26885
e84142d2
UD
268862011-04-21 Ulrich Drepper <drepper@gmail.com>
26887
26888 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26889 problem in reallocation in last patch.
26890
877175d8
UD
268912011-04-20 Ulrich Drepper <drepper@gmail.com>
26892
26893 * sunrpc/Makefile: Move inclusion of Rules.
26894
ab8eed78
UD
268952011-04-19 Ulrich Drepper <drepper@gmail.com>
26896
26897 * nss/nss_files/files-initgroups.c: New file.
26898 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26899 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26900 _nss_files_initgroups_dyn.
26901
e3d8f584
RS
269022011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26903
26904 * elf/elf.h (R_ARM_IRELATIVE): Define.
26905
af190f45
UD
269062011-04-19 Ulrich Drepper <drepper@gmail.com>
26907
26908 * po/ru.po: Update from translation team.
26909
53cf59ef
UD
269102011-04-17 Ulrich Drepper <drepper@gmail.com>
26911
26912 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26913 dependencies.
26914
4c559bcd
MF
269152011-02-06 Mike Frysinger <vapier@gentoo.org>
26916
26917 [BZ #12653]
26918 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26919 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26920 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26921 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26922 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26923
4420675c
AS
269242011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26925
26926 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26927 differing bytes.
26928 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26929 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26930 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26931
75ea32ab
UD
269322011-04-17 Ulrich Drepper <drepper@gmail.com>
26933
26934 [BZ #12420]
26935 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26936 storing it.
26937 * stdlib/bug-getcontext.c: New file.
26938 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26939
27390476
AK
269402011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26941
26942 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26943 instructions into .machine "z9-109".
26944 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26945 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26946
10442705
AK
269472011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26948
26949 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26950 between environment variables and auxiliary vector.
26951
7b57bfe5
UD
269522011-04-16 Ulrich Drepper <drepper@gmail.com>
26953
26954 * Makefile: Add rules to build linkobj/libc.so.
26955 * include/libc-symbols.h: Define libc_hidden_nolink.
26956 * include/rpc/auth.h: Mark functions which are to be hidden.
26957 * include/rpc/auth_des.h: Likewise.
26958 * include/rpc/auth_unix.h: Likewise.
26959 * include/rpc/clnt.h: Likewise.
26960 * include/rpc/des_crypt.h: Likewise.
26961 * include/rpc/key_prot.h: Likewise.
26962 * include/rpc/pmap_clnt.h: Likewise.
26963 * include/rpc/pmap_prot.h: Likewise.
26964 * include/rpc/pmap_rmt.h: Likewise.
26965 * include/rpc/rpc_msg.h: Likewise.
26966 * include/rpc/svc.h: Likewise.
26967 * include/rpc/svc_auth.h: Likewise.
26968 * include/rpc/xdr.h: Likewise.
26969 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26970 * nss/Makefile: Likewise.
26971 * sunrpc/Makefile: Don't install headers. Build library with normal
26972 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26973 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26974 for the compat linking library. Remove use of INTDEF/INTUSE.
26975 * sunrpc/auth_none.c: Likewise.
26976 * sunrpc/auth_unix.c: Likewise.
26977 * sunrpc/authdes_prot.c: Likewise.
26978 * sunrpc/authuxprot.c: Likewise.
26979 * sunrpc/clnt_gen.c: Likewise.
26980 * sunrpc/clnt_perr.c: Likewise.
26981 * sunrpc/clnt_raw.c: Likewise.
26982 * sunrpc/clnt_simp.c: Likewise.
26983 * sunrpc/clnt_tcp.c: Likewise.
26984 * sunrpc/clnt_udp.c: Likewise.
26985 * sunrpc/clnt_unix.c: Likewise.
26986 * sunrpc/des_crypt.c: Likewise.
26987 * sunrpc/des_soft.c: Likewise.
26988 * sunrpc/get_myaddr.c: Likewise.
26989 * sunrpc/key_call.c: Likewise.
26990 * sunrpc/key_prot.c: Likewise.
26991 * sunrpc/netname.c: Likewise.
26992 * sunrpc/pm_getmaps.c: Likewise.
26993 * sunrpc/pm_getport.c: Likewise.
26994 * sunrpc/pmap_clnt.c: Likewise.
26995 * sunrpc/pmap_prot.c: Likewise.
26996 * sunrpc/pmap_prot2.c: Likewise.
26997 * sunrpc/pmap_rmt.c: Likewise.
26998 * sunrpc/publickey.c: Likewise.
26999 * sunrpc/rpc_cmsg.c: Likewise.
27000 * sunrpc/rpc_common.c: Likewise.
27001 * sunrpc/rpc_dtable.c: Likewise.
27002 * sunrpc/rpc_prot.c: Likewise.
27003 * sunrpc/rpc_thread.c: Likewise.
27004 * sunrpc/rtime.c: Likewise.
27005 * sunrpc/svc.c: Likewise.
27006 * sunrpc/svc_auth.c: Likewise.
27007 * sunrpc/svc_authux.c: Likewise.
27008 * sunrpc/svc_raw.c: Likewise.
27009 * sunrpc/svc_run.c: Likewise.
27010 * sunrpc/svc_simple.c: Likewise.
27011 * sunrpc/svc_tcp.c: Likewise.
27012 * sunrpc/svc_udp.c: Likewise.
27013 * sunrpc/svc_unix.c: Likewise.
27014 * sunrpc/svcauth_des.c: Likewise.
27015 * sunrpc/xcrypt.c: Likewise.
27016 * sunrpc/xdr.c: Likewise.
27017 * sunrpc/xdr_array.c: Likewise.
27018 * sunrpc/xdr_float.c: Likewise.
27019 * sunrpc/xdr_intXX_t.c: Likewise.
27020 * sunrpc/xdr_mem.c: Likewise.
27021 * sunrpc/xdr_rec.c: Likewise.
27022 * sunrpc/xdr_ref.c: Likewise.
27023 * sunrpc/xdr_sizeof.c: Likewise.
27024 * sunrpc/xdr_stdio.c: Likewise.
27025
e6c61494
UD
270262011-04-10 Ulrich Drepper <drepper@gmail.com>
27027
27028 [BZ #12650]
27029 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27030 * sysdeps/ia64/dl-tls.h: Likewise.
27031 * sysdeps/powerpc/dl-tls.h: Likewise.
27032 * sysdeps/s390/dl-tls.h: Likewise.
27033 * sysdeps/sh/dl-tls.h: Likewise.
27034 * sysdeps/sparc/dl-tls.h: Likewise.
27035 * sysdeps/x86_64/dl-tls.h: Likewise.
27036 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27037
34fe483e
AS
270382011-03-14 Andreas Schwab <schwab@redhat.com>
27039
27040 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27041 rpath element also skip the following colon.
27042 (expand_dynamic_string_token): Add is_path parameter and pass
27043 down to DL_DST_REQUIRED and _dl_dst_substitute.
27044 (decompose_rpath): Call expand_dynamic_string_token with
27045 non-zero is_path. Ignore empty rpaths.
27046 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27047 with zero is_path.
27048
f12a32e6
AS
270492011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27050
27051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27052 Make cancelable.
27053
38a7d692
UD
270542011-04-09 Ulrich Drepper <drepper@gmail.com>
27055
27056 [BZ #12655]
27057 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27058 Patch by Filipe David Manana <fdmanana@apache.org>.
27059
e451d22b
AS
270602011-04-07 Andreas Schwab <schwab@redhat.com>
27061
27062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27063 Maintain aligned stack.
27064 (CHECK_RSP): Remove unused macro.
27065
dedc7c7b
UD
270662011-04-03 Ulrich Drepper <drepper@gmail.com>
27067
27068 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27069 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27070
94521213
UD
270712011-04-02 Ulrich Drepper <drepper@gmail.com>
27072
27073 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27074
8cb700c0 27075 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27076
0354e355
L
270772011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27078
27079 [BZ #12518]
27080 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27081 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27082 * sysdeps/x86_64/memmove.c: New file.
27083 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27084 (memcpy): Renamed to ...
27085 (__new_memcpy): This.
27086 (memcpy): Provide GLIBC_2_14 memcpy.
27087 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27088 (memcpy): Provide GLIBC_2_2_5 memcpy.
27089
8593482f
UD
270902011-04-01 Ulrich Drepper <drepper@gmail.com>
27091
27092 [BZ #12631]
27093 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27094
81a5726b
AS
270952011-03-30 Andreas Schwab <schwab@redhat.com>
27096
27097 * misc/syncfs.c: New file.
27098 * misc/Makefile (routines): Add syncfs.
27099 * posix/unistd.h: Declare syncfs.
27100 * sysdeps/unix/syscalls.list: Add syncfs.
27101
00e5419f
AS
271022011-04-01 Andreas Schwab <schwab@redhat.com>
27103
27104 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27105 open_by_handle_at.
27106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27107 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27111 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27112 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27113
748876bf
UD
271142011-04-01 Ulrich Drepper <drepper@gmail.com>
27115
658e451d
UD
27116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27117 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27118 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27123
748876bf
UD
27124 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27125 sync_file_range.c with -fexceptions.
27126 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27127 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27128 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27129 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27130 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27131 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27132 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27133 sync_file_range as cancellation point
27134 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27135 now a wrapper around __call_sync_file_range with cancellation handling.
27136 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27137 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27138 function name to __call_sync_file_range.
27139 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27140 Add call_sync_file_range.
748876bf 27141
6e63d5e1
AS
271422011-04-01 Andreas Schwab <schwab@redhat.com>
27143
27144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27145 bits/timex.h.
6e63d5e1 27146
46998f74
UD
271472011-04-01 Ulrich Drepper <drepper@gmail.com>
27148
4c1423ed
UD
27149 * iconv/iconv.h: Fix typo in comment.
27150 * io/fcntl.h: Likewise.
27151 * libio/stdio.h: Likewise.
27152 * posix/spawn.h: Likewise.
27153 * posix/unistd.h: Likewise.
27154 * stdlib/stdlib.h: Likewise.
27155 * time/time.h: Likewise.
27156 * wcsmbs/wchar.h: Likewise.
27157
158648c0
UD
27158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27159 open_by_handle): Add.
27160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27161 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27162 Augment a few comments.
27163 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27165 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27167 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27168 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27169 open_by_handle.
27170
46998f74
UD
27171 * io/fcntl.h (AT_EMPTY_PATH): Define.
27172
83fe108b
UD
271732011-03-30 Ulrich Drepper <drepper@gmail.com>
27174
27175 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27176 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27177 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27178 to...
27179 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
27180 * Versions.def: Add GLIBC_2.14.
27181 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27182 Export.
83fe108b 27183
bb242059
UD
271842011-03-22 Ulrich Drepper <drepper@gmail.com>
27185
27186 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27187 round counter.
27188 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27189
c97a1282
L
271902011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27191
27192 [BZ #12597]
27193 * string/test-strncmp.c (do_page_test): New function.
27194 (check2): Likewise.
27195 (test_main): Call check2.
27196 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27197
2a115601
UD
271982011-03-20 Ulrich Drepper <drepper@gmail.com>
27199
27200 [BZ #12587]
27201 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27202 Handle cache information in CPU leaf 4.
27203 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27204
8126d904
UD
272052011-03-18 Ulrich Drepper <drepper@gmail.com>
27206
042c49c6 27207 [BZ #12583]
8126d904
UD
27208 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27209 character representation.
27210 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27211
ccfe366e
RA
272122011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27213
27214 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27215 END(__isnan) to END(__isnanf) to match function entry point/label
27216 EALIGN(__isnanf,...).
27217
c6e13027
JJ
272182011-03-10 Jakub Jelinek <jakub@redhat.com>
27219
27220 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27221
33f85a3f
UD
272222011-03-10 Ulrich Drepper <drepper@gmail.com>
27223
028478fa
UD
27224 [BZ #12510]
27225 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27226 copy from the symbol referenced in the relocation to initialize the
27227 used variable.
27228 Patch by Piotr Bury <pbury@goahead.com>.
27229 * elf/Makefile: Add rules to build and tst-unique3.
27230 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27231 * elf/tst-unique3.cc: New file.
27232 * elf/tst-unique3.h: New file.
27233 * elf/tst-unique3lib.cc: New file.
27234 * elf/tst-unique3lib2.cc: New file.
27235
33f85a3f
UD
27236 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27237
03592fc7
MF
272382011-03-10 Mike Frysinger <vapier@gentoo.org>
27239
27240 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27241 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27242 to _start.
03592fc7 27243
6a5ee102
UD
272442011-03-06 Ulrich Drepper <drepper@gmail.com>
27245
27246 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27247 to-be-loaded object along a path to loader is ld.so.
27248
7e4ba49c
HJ
272492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27250 Ulrich Drepper <drepper@gmail.com>
27251
27252 * sysdeps/x86_64/memset.S: After aligning destination, code
27253 branches to different locations depending on the value of
27254 misalignment, when multiarch is enabled. Fix this.
27255
272562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27257
27258 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27259 Set _x86_64_preferred_memory_instruction for AMD processsors.
27260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27261 Set bit_Prefer_SSE_for_memop for AMD processors.
27262
13a804de
UD
272632011-03-04 Ulrich Drepper <drepper@gmail.com>
27264
27265 * libio/fmemopen.c (fmemopen): Optimize a bit.
27266
9d25c392
AS
272672011-03-03 Andreas Schwab <schwab@redhat.com>
27268
27269 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27270
a5543c6a
RM
272712011-03-03 Roland McGrath <roland@redhat.com>
27272
27273 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27274
012d35f7
DM
272752011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27276
7e4ba49c 27277 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
27278 __bzero_ultra1 instead of __memset_ultra1.
27279
4bff6e01
AS
272802011-02-23 Andreas Schwab <schwab@redhat.com>
27281 Ulrich Drepper <drepper@gmail.com>
27282
27283 [BZ #12509]
27284 * include/link.h (struct link_map): Add l_orig_initfini.
27285 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27286 returning unsuccessfully.
27287 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27288 close of a file loaded at startup, restore the original l_initfini
27289 list.
27290 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27291 list, store the pointer.
27292 * elf/Makefile ($(objpfx)noload-mem): New rule.
27293 (noload-ENV): Define.
27294 (tests): Add $(objpfx)noload-mem.
27295 * elf/noload.c: Include <memcheck.h>.
27296 (main): Call mtrace. Close all opened handles.
27297
f2092faf
AS
272982011-02-17 Andreas Schwab <schwab@redhat.com>
27299
27300 [BZ #12454]
27301 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27302 dependencies are missing.
27303
6c8a2e88
ST
273042011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27305
f2092faf 27306 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
27307 Hurd needs munmap.
27308 * sysdeps/mach/hurd/ifreq.h: New file.
27309
84a42118
PB
273102011-01-27 Petr Baudis <pasky@suse.cz>
27311 Ulrich Drepper <drepper@gmail.com>
27312
071f805e 27313 [BZ 12445]#
84a42118
PB
27314 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27315 to extend_alloca().
27316 * stdio-common/bug23.c: New file.
27317 * stdio-common/Makefile (tests): Add bug23.
27318
e23fe25b
AS
273192010-09-28 Andreas Schwab <schwab@redhat.com>
27320 Ulrich Drepper <drepper@gmail.com>
27321
27322 [BZ #12489]
27323 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27324 before performing relro protection. At old place add assertion
27325 to make sure nothing changed.
27326
d3f02e10
NS
273272011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27328 Glauber de Oliveira Costa <glommer@gmail.com>
27329
27330 * elf/elf.h: Add new ARM TLS relocs.
27331
d55fd7a5
RA
273322011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27333
27334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27335 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27336 cast from r3.
27337 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27338 'tests' variable.
27339 * sysdeps/wordsize-64/tst-writev.c: New file.
27340
2206397e
RA
273412011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27342
27343 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27344 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27345 insns in _dl_start to prevent a TOC reference before relocs are
27346 resolved.
27347
e9433893
UD
273482011-02-15 Ulrich Drepper <drepper@gmail.com>
27349
27350 [BZ #12469]
27351 * Makeconfig: Remove RANLIB definition.
27352 * Makerules: Don't use RANLIB.
27353 * aclocal.m4: Remove ranlib test.
27354 * configure.in: No need to check for ranlib.
27355 * elf/rtld-Rules: Don't use RANLIB.
27356
f75286c6
ST
273572011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27358
8e31c82d
ST
27359 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27360 protection macro.
27361 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27362 inclusion protection macro.
27363
f75286c6
ST
27364 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27365 SIGRTMIN and SIGRTMAX and print information in that case only when
27366 SIGRTMIN is defined.
27367
c1d0e639
JJ
273682011-02-11 Jakub Jelinek <jakub@redhat.com>
27369
27370 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27371 arginfo fn returning -1.
27372
27373 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27374 and thousands string is zero terminated.
27375
edf9294e
AS
273762011-02-03 Andreas Schwab <schwab@redhat.com>
27377
27378 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27379 sysdeps/unix/sysv/linux/bits/socket.h.
27380
2b7e92df
ST
273812011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27382
edf9294e
AS
27383 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27384 (__CPU_COUNT): Remove old macros.
27385 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27386 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27387 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27388 (__sched_cpualloc, __sched_cpufree): Add declarations.
27389
a4c7ea7b
UD
273902011-02-05 Ulrich Drepper <drepper@gmail.com>
27391
27392 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27393 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27394 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27395 (readdhstai): Return value of addhstaiX call.
27396 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27397 (addgrbyX): Return value returned by cache_addgr.
27398 (readdgrbyname): Return value returned by addgrbyX.
27399 (readdgrbygid): Likewise.
27400 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27401 (addpwbyX): Return value returned by cache_addpw.
27402 (readdpwbyname): Return value returned by addhstbyX.
27403 (readdpwbyuid): Likewise.
27404 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27405 (addservbyX): Return value returned by cache_addserv.
27406 (readdservbyname): Return value returned by addservbyX:
27407 (readdservbyport): Likewise.
27408 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27409 (addhstbyX): Return value returned by cache_addhst.
27410 (readdhstbyname): Return value returned by addhstbyX.
27411 (readdhstbyaddr): Likewise.
27412 (readdhstbynamev6): Likewise.
27413 (readdhstbyaddrv6): Likewise.
27414 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27415 (readdinitgroups): Return value returned by addinitgroupsX.
27416 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27417 (prune_cache): Keep track of timeout value of re-added entries.
27418 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27419 * nscd/nscd.h: Adjust prototypes of readd* functions.
27420
a0bf67cc
RM
274212011-02-04 Roland McGrath <roland@redhat.com>
27422
27423 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27424 (nis_stats): Likewise.
27425 * nis/nis_modify.c (nis_modify): Likewise.
27426 * nis/nis_remove.c (nis_remove): Likewise.
27427 * nis/nis_add.c (nis_add): Likewise.
27428
27429 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27430
27431 * posix/fnmatch_loop.c: Add some consts.
27432
27433 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27434
435b95eb
L
274352011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27436
27437 [BZ #12460]
27438 * config.make.in (config-cflags-novzeroupper): Define.
27439 * configure.in: Substitute libc_cv_cc_novzeroupper.
27440 * elf/Makefile (AVX-CFLAGS): Define.
27441 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27442 (CFLAGS-tst-auditmod4a.c): Likewise.
27443 (CFLAGS-tst-auditmod4b.c): Likewise.
27444 (CFLAGS-tst-auditmod6b.c): Likewise.
27445 (CFLAGS-tst-auditmod6c.c): Likewise.
27446 (CFLAGS-tst-auditmod7b.c): Likewise.
27447 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27448
8517b15e
UD
274492011-02-02 Ulrich Drepper <drepper@gmail.com>
27450
27451 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27452 function to the callback.
27453 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27454
10a656fe
AS
274552011-02-02 Andreas Schwab <schwab@redhat.com>
27456
27457 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27458 of errno.
27459
968dad0a
UD
274602011-01-19 Ulrich Drepper <drepper@gmail.com>
27461
9f94d2ea 27462 [BZ #11724]
968dad0a
UD
27463 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27464 of constructors.
27465 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27466 of destructors.
27467 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27468
27469 [BZ #11724]
27470 * elf/Makefile: Add rules to build and run new test.
27471 * elf/tst-initorder.c: New file.
27472 * elf/tst-initorder.exp: New file.
27473 * elf/tst-initordera1.c: New file.
27474 * elf/tst-initordera2.c: New file.
27475 * elf/tst-initordera3.c: New file.
27476 * elf/tst-initordera4.c: New file.
27477 * elf/tst-initorderb1.c: New file.
27478 * elf/tst-initorderb2.c: New file.
27479 * elf/tst-order-a1.c: New file.
27480 * elf/tst-order-a2.c: New file.
27481 * elf/tst-order-a3.c: New file.
27482 * elf/tst-order-a4.c: New file.
27483 * elf/tst-order-b1.c: New file.
27484 * elf/tst-order-b2.c: New file.
27485 * elf/tst-order-main.c: New file.
27486 New test case by George Gensure <werkt0@gmail.com>.
27487
86e92359
UD
274882010-10-01 Andreas Schwab <schwab@redhat.com>
27489
27490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27491 decoding ACE if AI_CANONIDN.
27492
5d5732b0
UD
274932011-01-18 Ulrich Drepper <drepper@gmail.com>
27494
27495 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27496
a77e8cbc
UD
274972011-01-17 Ulrich Drepper <drepper@gmail.com>
27498
6392473f
UD
27499 * version.h (RELEASE): Bump for 2.13 release.
27500 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27501
620a0529
UD
27502 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27503
18ba70a5
UD
27504 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27505 MADV_NOHUGEPAGE.
32465c3e
UD
27506 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27507 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27508 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27509 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27510 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27511 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27512
c0dafcf1
UD
27513 * posix/getconf.c: Update copyright year.
27514 * catgets/gencat.c: Likewise.
27515 * csu/version.c: Likewise.
27516 * debug/catchsegv.sh: Likewise.
27517 * debug/xtrace.sh: Likewise.
27518 * elf/ldconfig.c: Likewise.
27519 * elf/ldd.bash.in: Likewise.
27520 * elf/sprof.c (print_version): Likewise.
27521 * iconv/iconv_prog.c: Likewise.
27522 * iconv/iconvconfig.c: Likewise.
27523 * locale/programs/locale.c: Likewise.
27524 * locale/programs/localedef.c: Likewise.
27525 * malloc/memusage.sh: Likewise.
27526 * malloc/mtrace.pl: Likewise.
27527 * nscd/nscd.c (print_version): Likewise.
27528 * nss/getent.c: Likewise.
27529
a77e8cbc
UD
27530 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27531 PF_CAIF, and PF_ALG.
27532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27533
77e8bddf
AS
275342011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27535
1f20b93a
AS
27536 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27537 (modules-names): Use them.
27538 (ifunc-test-modules, ifunc-pie-tests): Define.
27539 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27540 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27541 (test-extras): Likewise.
27542 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27543 $(compile-command.c).
27544 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27545 (all-built-dso): Define.
27546 (check-textrel.out, check-execstack.out): Depend on it.
27547
77e8bddf
AS
27548 * configure.in: Don't override --enable-multi-arch.
27549
bc425b33
UD
275502011-01-15 Ulrich Drepper <drepper@gmail.com>
27551
27552 [BZ #6812]
27553 * nscd/hstcache.c (tryagain): Define.
27554 (cache_addhst): Return tryagain not notfound for temporary errors.
27555 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27556 failed.
27557
794c3ad3
UD
275582011-01-14 Ulrich Drepper <drepper@gmail.com>
27559
70181fdd
UD
27560 [BZ #10563]
27561 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27562 to make the syscall.
27563 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27564
794c3ad3
UD
27565 [BZ #12378]
27566 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27567 and fall back to matching as normal character if the string ends before
27568 the matching ']' is found. This is what POSIX requires.
27569 * posix/testfnm.c: Adjust test result.
27570 * posix/globtest.sh: Adjust test result. Add new test.
27571 * posix/tst-fnmatch.input: Likewise.
27572 * posix/tst-fnmatch2.c: Add new test.
27573
68dc9497
AS
275742010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27575
27576 * elf/Makefile (check-execstack): Revert last change. Depend on
27577 check-execstack.h.
27578 (check-execstack.h): New target.
27579 (generated): Add check-execstack.h.
27580 * elf/check-execstack.c: Include "check-execstack.h".
27581 (main): Revert last change.
27582 (handle_file): Return zero if GNU_STACK is absent and
27583 DEFAULT_STACK_PERMS doesn't include PF_X.
27584
451f001b
UD
275852011-01-13 Ulrich Drepper <drepper@gmail.com>
27586
cfa28e56
UD
27587 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27588 in child fails because the descriptor is already closed.
8cf8ce17
UD
27589 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27590 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27591 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27592
1086d70d
UD
27593 [BZ #12397]
27594 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27595 syscall.
27596
451f001b
UD
27597 [BZ #10484]
27598 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27599 temporary buffer used to handle multi lookups locally.
a85b5cb4 27600 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27601
08769175
UD
276022011-01-12 Ulrich Drepper <drepper@gmail.com>
27603
27604 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27605 loader is ld.so.
27606
5e49c52e
UD
276072011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27608
27609 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27610 alignment for SSE2.
27611
60522a5f
UD
276122011-01-12 Ulrich Drepper <drepper@gmail.com>
27613
27614 [BZ #12394]
27615 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27616 characters. When rounding increased number of integer digits recompute
27617 number of groups.
27618 * stdio-common/tst-grouping.c: New file.
27619 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27620
f257bbd7
UD
276212011-01-09 Ulrich Drepper <drepper@gmail.com>
27622
27623 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27624 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27625
27626 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27627 void.
27628 * bits/select.h: Likewise.
27629
fa9c15cb
UD
276302011-01-08 Ulrich Drepper <drepper@gmail.com>
27631
27632 * po/ja.po: Update from translation team.
27633
16c2895f
DM
276342011-01-04 David S. Miller <davem@sunset.davemloft.net>
27635
27636 [BZ #11155]
27637 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27638 implementation just like for lxstat, fxstatat, et al.
27639
2543fef2
JM
276402010-12-27 Jim Meyering <meyering@redhat.com>
27641
27642 [BZ #12348]
27643 * posix/regexec.c (build_trtable): Return failure indication upon
27644 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27645
98727dbe
UD
276462010-12-25 Ulrich Drepper <drepper@gmail.com>
27647
5bd6dc5c
UD
27648 [BZ #12201]
27649 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27650 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27651 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27652 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27653
97983464
UD
27654 [BZ #12207]
27655 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27656
98727dbe
UD
27657 [BZ #12204]
27658 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27659 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27660
4a531bb0
L
276612010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27662
27663 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27664 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27665 script has SORT_BY_INIT_PRIORITY.
27666 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27667 NO_CTORS_DTORS_SECTIONS is defined.
27668 * elf/soinit.c: Likewise.
27669 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27670 NO_CTORS_DTORS_SECTIONS is defined.
27671 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27672 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27673 * sysdeps/sh/init-first.c: Likewise.
27674 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27675
07eb4b71
UD
276762010-12-24 Ulrich Drepper <drepper@gmail.com>
27677
27678 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27679 always use the slow path.
27680
30950a5f
RA
276812010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27682
27683 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27684 similar rule which adds the sysdep directories to the header search in
27685 order to pick up the correct platform stackinfo.h.
27686 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27687 perform test if it is, otherwise return successfully without testing.
27688 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27689 DEFAULT_STACK_PERMS define in stackinfo.h.
27690 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27691 defined in stackinfo.h.
27692 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27693 DEFAULT_STACK_PERMS defined in stackinfo.h.
27694 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27695 * sysdeps/ia64/stackinfo.h: Likewise.
27696 * sysdeps/s390/stackinfo.h: Likewise.
27697 * sysdeps/sh/stackinfo.h: Likewise.
27698 * sysdeps/sparc/stackinfo.h: Likewise.
27699 * sysdeps/x86_64/stackinfo.h: Likewise.
27700 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27701 PF_X for powerpc64. Retain PF_X for powerpc32.
27702
db753e2c
UD
277032010-12-19 Ulrich Drepper <drepper@gmail.com>
27704
14b697f7
UD
27705 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27706 accurately.
db753e2c
UD
27707 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27708 GETDENTS_64BIT_ALIGNED.
27709
28300719
UD
277102010-12-14 Ulrich Drepper <dreper@gmail.com>
27711
14b697f7 27712 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27713
4f197237
AS
277142010-12-10 Andreas Schwab <schwab@redhat.com>
27715
dbb0472f
AS
27716 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27717 _GNU_SOURCE.
27718
4f197237
AS
27719 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27720 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27721 Remove __restrict.
27722 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27723 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27724
fb88ac72
UD
277252010-12-09 Ulrich Drepper <drepper@gmail.com>
27726
27727 [BZ #11655]
27728 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27729 are initialized.
27730
42acbb92
JJ
277312010-12-09 Jakub Jelinek <jakub@redhat.com>
27732
27733 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27734
c038d98d
UD
277352010-12-03 Ulrich Drepper <drepper@gmail.com>
27736
27737 * po/it.po: Update from translation team.
27738
3a4a2499
L
277392010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27740
27741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27742 unused codes.
27743
1e24cf6e
UD
277442010-11-30 Ulrich Drepper <drepper@gmail.com>
27745
27746 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27747
a7690819
AS
277482010-11-24 Andreas Schwab <schwab@redhat.com>
27749
27750 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27751 specially.
27752 (gaih_getanswer_slice): Likewise.
27753
3bf8d1b1
JJ
277542010-10-20 Jakub Jelinek <jakub@redhat.com>
27755
27756 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27757
6db52fbb
PB
277582010-05-31 Petr Baudis <pasky@suse.cz>
27759
27760 [BZ #11149]
27761 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27762 silently even in the chroot mode.
27763
eaca7569
UD
277642010-11-22 Ulrich Drepper <drepper@gmail.com>
27765
27766 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27767 last patch a bit. Pretty printing
27768
3056dcdb
UD
277692010-05-31 Petr Baudis <pasky@suse.cz>
27770
27771 [BZ #10085]
27772 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27773 initialization of skip_initgroups_dyn.
27774
cf7c9078
UD
277752010-11-19 Ulrich Drepper <drepper@gmail.com>
27776
27777 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27778 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27779
a1fb5e3e
UD
277802010-11-16 Ulrich Drepper <drepper@gmail.com>
27781
27782 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27783
3540d66b
AS
277842010-11-11 Andreas Schwab <schwab@redhat.com>
27785
27786 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27787 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27788 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27789 ($(objpfx)tst-fnmatch-mem): New rule.
27790 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27791 * posix/tst-fnmatch.c (main): Call mtrace.
27792
13b69574
L
277932010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27794
27795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27796 Support Intel processor model 6 and model 0x2c.
27797
da93d214
LM
277982010-11-10 Luis Machado <luisgpm@br.ibm.com>
27799
27800 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27801 signed comparison.
27802
8ca52c6e
L
278032010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27804
27805 [BZ #12205]
27806 * string/test-strncasecmp.c (check_result): New function.
27807 (do_one_test): Use it.
27808 (check1): New function.
27809 (test_main): Use it.
27810 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27811 Support strcasecmp and strncasecmp.
27812
69da074d
UD
278132010-11-08 Ulrich Drepper <drepper@gmail.com>
27814
27815 [BZ #12194]
27816 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27817 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27818
ff02d528
L
278192010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27820
27821 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27822 IFUNC support.
27823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27824 memset-x86-64.
27825 * sysdeps/x86_64/multiarch/bzero.S: New file.
27826 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27827 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27828 * sysdeps/x86_64/multiarch/memset.S: New file.
27829 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27831 Set bit_Prefer_SSE_for_memop for Intel processors.
27832 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27833 Define.
27834 (index_Prefer_SSE_for_memop): Define.
27835 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27836
344d0b54
LM
278372010-11-04 Luis Machado <luisgpm@br.ibm.com>
27838
27839 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27840 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27841
c0dde15b
UD
278422010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27843
27844 [BZ #12191]
27845 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27846 (__x86_64_raw_data_cache_size_half): Likewise.
27847 (__x86_64_raw_shared_cache_size): Likewise.
27848 (__x86_64_raw_shared_cache_size_half): Likewise.
27849
27850 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27851 (__x86_64_raw_data_cache_size_half): Likewise.
27852 (__x86_64_raw_shared_cache_size): Likewise.
27853 (__x86_64_raw_shared_cache_size_half): Likewise.
27854 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27855 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27856 and __x86_64_raw_shared_cache_size_half. Round
27857 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27858 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27859 to multiple of 256 bytes.
27860
0e516e0e
MS
278612010-11-03 Ulrich Drepper <drepper@gmail.com>
27862
27863 [BZ #12167]
27864 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27865 of inacessible symlinks. Verify result of symlink before returning it.
27866 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27867 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27868
0e012e87
ER
278692010-10-28 Erich Ritz <erichritz@gmail.com>
27870
27871 * math/math.h (isinf): Fix typo in comment.
27872
de0ff7bc
UD
278732010-11-01 Ulrich Drepper <drepper@gmail.com>
27874
27875 * po/da.po: Update from translation team.
27876
fa41c84d
UD
278772010-10-26 Ulrich Drepper <drepper@gmail.com>
27878
27879 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27880 is added to the list.
27881
f0967738
AK
278822010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27883 Ulrich Drepper <drepper@gmail.com>
27884
27885 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27886 the global list here. Move code to...
27887 (_dl_add_to_namespace_list): ...here. New function.
27888 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27889 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27890 * elf/dl-load.c (lose): Don't remove the element from the list.
27891 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27892 (_dl_map_object): Likewise.
27893
278942010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27895
27896 [BZ #12159]
27897 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27898 into all bytes of SSE register.
27899 Patch by Richard Li <richardpku@gmail.com>.
27900
f0967738 279012010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27902
27903 [BZ #12140]
27904 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27905 perturbing.
27906
d0b9e94f
MB
279072010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27908
27909 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27910 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27911 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27912 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27914 submachine.
27915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27916
8e9f92e9
AS
279172010-10-22 Andreas Schwab <schwab@redhat.com>
27918
27919 * include/dlfcn.h (__RTLD_SECURE): Define.
27920 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27921 mode & __RTLD_SECURE instead.
27922 (open_path): Rename preloaded parameter to secure.
27923 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27924 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27925 * elf/dl-deps.c (openaux): Likewise.
27926 * elf/rtld.c (struct map_args): Remove is_preloaded.
27927 (map_doit): Don't use it.
27928 (dl_main): Likewise.
27929 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27930 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27931
bc96fbda
AS
279322010-09-09 Andreas Schwab <schwab@redhat.com>
27933
27934 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27935 (sysd-rules-targets): Remove duplicates.
27936 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27937 rtld-%.$o dependency.
27938
22cd1c9b
AS
279392010-10-18 Andreas Schwab <schwab@redhat.com>
27940
27941 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27942 _dl_map_object do it.
27943
18edac48
UD
279442010-10-19 Ulrich Drepper <drepper@gmail.com>
27945
27946 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27947 fast fma builtins, define the macros in the C99 standard.
27948 (FP_FAST_FMAF): Likewise.
27949 (FP_FAST_FMAL): Likewise.
27950 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27951
27952 * bits/mathdef.h: Update copyright year.
27953 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27954
d2050124
MM
279552010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27956
27957 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27958 builtins, define the macros in the C99 standard.
27959 (FP_FAST_FMAF): Likewise.
27960 (FP_FAST_FMAL): Likewise.
27961 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27962 multiply/add.
27963 (FP_FAST_FMAF): Likewise.
27964
475facd1
JJ
279652010-10-15 Jakub Jelinek <jakub@redhat.com>
27966
27967 [BZ #3268]
27968 * math/libm-test.inc (fma_test): Some new testcases.
27969 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27970 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27971 y and infinite z. Do multiplication by C already in long double.
27972 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27974 y and infinite z. Do bitwise or of inexact bit into u.d.
27975 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27976 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27977 * sysdeps/i386/fpu/s_fma.S: Removed.
27978 * sysdeps/i386/fpu/s_fmal.S: Removed.
27979
7c08a05c
JJ
279802010-10-16 Jakub Jelinek <jakub@redhat.com>
27981
27982 [BZ #3268]
27983 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27985 computation is not scheduled after fetestexcept. Fix value
27986 of minimum denormal long double.
27987
f3f7372d
JJ
279882010-10-14 Jakub Jelinek <jakub@redhat.com>
27989
27990 [BZ #3268]
27991 * math/libm-test.inc (fma_test): Add some more tests.
27992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27993 correctly.
27994
14d43591
AS
279952010-10-15 Andreas Schwab <schwab@redhat.com>
27996
27997 * scripts/data/localplt-s390-linux-gnu.data: New file.
27998 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27999
5e908464
JJ
280002010-10-13 Jakub Jelinek <jakub@redhat.com>
28001
28002 [BZ #3268]
28003 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28004 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28005 instead of dbl-64.
28006 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28007 inlines.
28008 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28010 if one of x and y is very large and the other is subnormal.
28011 * sysdeps/s390/fpu/s_fmaf.c: New file.
28012 * sysdeps/s390/fpu/s_fma.c: New file.
28013 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28014 * sysdeps/powerpc/fpu/s_fma.S: New file.
28015 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28016 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28017 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28018
280192010-10-12 Jakub Jelinek <jakub@redhat.com>
28020
28021 [BZ #3268]
28022 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28023 fma tests.
28024 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28025 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28026 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28027 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28028 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28029 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28030 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28031
b833d51f
UD
280322010-10-12 Ulrich Drepper <drepper@redhat.com>
28033
28034 [BZ #12078]
28035 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28036 * posix/bug-regex31.input: Add test case.
28037
1751705d
UD
280382010-10-11 Ulrich Drepper <drepper@gmail.com>
28039
e9b9cbf5
UD
28040 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28041 * posix/bug-regex31.input: New file.
28042
28043 [BZ #12078]
28044 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28045 (parse_sub_exp): Fix last change, use postorder.
28046
ef06edbe
UD
28047 * posix/bug-regex31.c: New file.
28048 * posix/Makefile: Add rules to build and run bug-regex31.
28049
a129c80d
UD
28050 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28051
28052 [BZ #12078]
28053 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28054
b76b818e
UD
28055 [BZ #12108]
28056 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28057 to have entries in sys_siglist.
28058
1751705d
UD
28059 [BZ #12093]
28060 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28061 be NULL.
28062
9ff8d36f
JJ
280632010-10-07 Jakub Jelinek <jakub@redhat.com>
28064
28065 [BZ #3268]
28066 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28067 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28068 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28069 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28070 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28071 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28072 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28073 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28074 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28075 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28076 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28077 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28078 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28079 * math/ftestexcept.c (fetestexcept): Likewise.
28080 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28081 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28082 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28083 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28084 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28085 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28086 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28087
af325969
UD
280882010-10-11 Ulrich Drepper <drepper@gmail.com>
28089
c579b202 28090 [BZ #12107]
af325969
UD
28091 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28092 newline.
28093
67a67b95
UD
280942010-10-06 Ulrich Drepper <drepper@gmail.com>
28095
28096 * string/bug-strstr1.c: New file.
28097 * string/Makefile: Add rules to build and run bug-strstr1.
28098
5fb308bc
EB
280992010-10-05 Eric Blake <eblake@redhat.com>
28100
28101 [BZ #12092]
28102 * string/str-two-way.h (two_way_long_needle): Always clear memory
28103 when skipping input due to the shift table.
28104
45db99c7
UD
281052010-10-03 Ulrich Drepper <drepper@gmail.com>
28106
3b111893
UD
28107 [BZ #12005]
28108 * malloc/mcheck.c: Handle large requests.
28109
45db99c7
UD
28110 [BZ #12077]
28111 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28112 for strncmp and strncasecmp.
28113 * string/stratcliff.c: Add tests for strcmp and strncmp.
28114 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28115
cf7a1eb8
NI
281162010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28117
28118 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28119 __set_fpscr.
28120
6484ba5e
AJ
281212010-09-30 Andreas Jaeger <aj@suse.de>
28122
28123 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28124 (CGROUP_SUPER_MAGIC): Define.
28125 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28126 Handle btrfs and cgroup file systems.
28127 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28128 Likewise.
28129
91c42559
LM
281302010-09-27 Luis Machado <luisgpm@br.ibm.com>
28131
28132 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28133 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28134
87a97932
AK
281352010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28136
28137 [BZ #12067]
28138 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28139 trying to locate the ELF header.
28140
c21cc9bc
AS
281412010-09-27 Andreas Schwab <schwab@redhat.com>
28142
28143 [BZ #11611]
28144 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28145 Mask out sign-bit copies when constructing f_fsid.
28146
315970f6
PB
281472010-09-24 Petr Baudis <pasky@suse.cz>
28148
28149 * debug/stack_chk_fail_local.c: Add missing licence exception.
28150 * debug/warning-nop.c: Likewise.
28151
1ac7a2c7
JM
281522010-09-15 Joseph Myers <joseph@codesourcery.com>
28153
28154 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28155 implementing getdents64 using getdents syscall, set d_type if
28156 __ASSUME_GETDENTS32_D_TYPE.
28157
56801c50
AS
281582010-09-16 Andreas Schwab <schwab@redhat.com>
28159
28160 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28161 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28162
dda51327
UD
281632010-09-21 Ulrich Drepper <drepper@redhat.com>
28164
28165 [BZ #12037]
28166 * posix/unistd.h: Undo change of feature selection for ftruncate from
28167 2010-01-11.
28168
8ffcee4a
UD
281692010-09-20 Ulrich Drepper <drepper@redhat.com>
28170
a545ecd9 28171 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28172 detection.
28173
e24f0a8b
AS
281742010-09-20 Andreas Schwab <schwab@redhat.com>
28175
28176 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28177 fanotify_mark.
28178 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28179
7291c56f
AS
281802010-09-14 Andreas Schwab <schwab@redhat.com>
28181
28182 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28183 variables after CHECK_SP call.
28184 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28185
bc5fb037
AS
281862010-09-13 Andreas Schwab <schwab@redhat.com>
28187 Ulrich Drepper <drepper@redhat.com>
28188
28189 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28190 re-relocationg ld.so.
28191 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28192 _dl_init_paths call.
28193 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28194 here anymore.
28195
e66e7419
UD
281962010-09-14 Ulrich Drepper <drepper@redhat.com>
28197
28198 * resolv/res_init.c (__res_vinit): Count the default server we added.
28199
c044aa75
CLT
282002010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28201 Ulrich Drepper <drepper@redhat.com>
28202
28203 [BZ #11968]
28204 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28205 (____longjmp_chk): Use %ebx for saving value across system call.
28206 Add unwind info.
28207
32cf4069
AS
282082010-09-06 Andreas Schwab <schwab@redhat.com>
28209
28210 * manual/Makefile: Don't mix pattern rules with normal rules.
28211
817328ee
AS
282122010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28213
28214 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28215 operation.
28216 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28217 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28218 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28219 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28220 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28221 Likewise.
28222
29fddf61
UD
282232010-09-04 Ulrich Drepper <drepper@redhat.com>
28224
28225 [BZ #11979]
28226 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28227 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28228
0959ffc9
UD
282292010-09-02 Ulrich Drepper <drepper@redhat.com>
28230
28231 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28232 * sysdeps/x86_64/addmul_1.S: Likewise.
28233 * sysdeps/x86_64/lshift.S: Likewise.
28234 * sysdeps/x86_64/mul_1.S: Likewise.
28235 * sysdeps/x86_64/rshift.S: Likewise.
28236 * sysdeps/x86_64/sub_n.S: Likewise.
28237 * sysdeps/x86_64/submul_1.S: Likewise.
28238
ece29840
ST
282392010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28240
0959ffc9
UD
28241 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28242 Define __sched_param instead of SCHED_* and sched_param when
ece29840 28243 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 28244 * bits/sched.h [__need_schedparam]
ece29840 28245 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
28246 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28247 (__defined_schedparam): Define to 1.
ece29840
ST
28248 (__sched_param): New structure, identical to sched_param.
28249 (__need_schedparam): Undefine.
28250
e53a31fe
MF
282512010-08-31 Mike Frysinger <vapier@gentoo.org>
28252
fdc0c10d
MF
28253 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28254 (epoll_create1): Declare.
28255
e53a31fe
MF
28256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28257
a726d796
AS
282582010-08-31 Andreas Schwab <schwab@redhat.com>
28259
28260 [BZ #7066]
28261 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28262 shifting retval into place.
28263
2f3e3dc7
UD
282642010-09-01 Ulrich Drepper <drepper@redhat.com>
28265
f2933da9
UD
28266 * nis/rpcsvc/nis.h: Update copyright notice.
28267 * nis/rpcsvc/nis.x: Likewise.
28268 * nis/rpcsvc/nis_callback.h: Likewise.
28269 * nis/rpcsvc/nis_callback.x: Likewise.
28270 * nis/rpcsvc/nis_object.x: Likewise.
28271 * nis/rpcsvc/nis_tags.h: Likewise.
28272 * nis/rpcsvc/yp.h: Likewise.
28273 * nis/rpcsvc/yp.x: Likewise.
28274 * nis/rpcsvc/ypupd.h: Likewise.
28275 * nis/yp_xdr.c: Likewise.
28276 * nis/ypupdate_xdr.c: Likewise.
28277
2f3e3dc7
UD
28278 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28279 mainly the body of pmap_getport. Add parameters to specify timeouts.
28280 (pmap_getport): Use __libc_rpc_getport.
28281 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28282 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28283 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28284
f3dcc2f9
AS
282852010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28286
28287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28288 fanotify_mark.
28289
6d34eb5b
RM
282902010-08-27 Roland McGrath <roland@redhat.com>
28291
28292 * sysdeps/i386/i686/multiarch/Makefile
28293 (CFLAGS-varshift.c): New variable.
28294
9ea3de11
UD
282952010-08-27 Ulrich Drepper <drepper@redhat.com>
28296
c96d23fc
UD
28297 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28298 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28299
9ea3de11
UD
28300 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28301
28302 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28303
623aac7f
L
283042010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28305
28306 * sysdeps/x86_64/strlen.S: Unroll the loop.
28307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28308 strlen-sse2 strlen-sse2-bsf.
28309 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28310 __strlen_no_bsf if bit_Slow_BSF is set.
28311 (__strlen_sse42): Removed.
28312 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28313 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28314
8b2b7715
RM
283152010-08-25 Roland McGrath <roland@redhat.com>
28316
28317 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28318 * sysdeps/x86_64/multiarch/varshift.c: New file.
28319 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28320 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28321 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28322 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28323
e73015f2
L
283242010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28325
28326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28327 strlen-sse2 strlen-sse2-bsf.
28328 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28329 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28330 (__strlen_sse2): Removed.
28331 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28332 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28334 bit_Slow_BSF for Atom.
28335 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28336 (index_Slow_BSF): Define.
28337 (HAS_SLOW_BSF): Define.
28338
df24a73e
UD
283392010-08-25 Ulrich Drepper <drepper@redhat.com>
28340
28341 [BZ #10851]
28342 * resolv/res_init.c (__res_vinit): When no server address at all
28343 is given default to loopback.
28344
f2ac4868
RM
283452010-08-24 Roland McGrath <roland@redhat.com>
28346
09055553
RM
28347 * configure.in: Remove config-name.h generation.
28348 * configure: Regenerated.
28349 * config-name.in: File removed.
28350 * scripts/config-uname.sh: New file.
28351 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28352 ($(objdir)config-name.h): New target.
28353
f2ac4868
RM
28354 * sunrpc/rpc_parse.h: Avoid nested comment.
28355
73f27d5e
RH
283562010-08-24 Richard Henderson <rth@redhat.com>
28357 Ulrich Drepper <drepper@redhat.com>
28358 H.J. Lu <hongjiu.lu@intel.com>
28359
28360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28362 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28363 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28364 _mm_alignr_epi8 with _mm_loadu_si128.
28365 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28366 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28367 (__m128i_shift_right): Removed.
28368 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28369 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28370 * sysdeps/x86_64/multiarch/varshift.h: New file.
28371 * sysdeps/x86_64/multiarch/varshift.S: New file.
28372
84b9230c
MF
283732010-08-21 Mike Frysinger <vapier@gentoo.org>
28374
28375 * configure.in: Move assembler checks to before sysdep dir checking.
28376
9bbd0ddc
PB
283772010-08-20 Petr Baudis <pasky@suse.cz>
28378
28379 * LICENSES: Sync the sunrpc license.
28380
9da4bb31
UD
283812010-08-19 Ulrich Drepper <drepper@redhat.com>
28382
a7ab6ec8
UD
28383 * sunrpc/auth_des.c: Update copyright notice once again.
28384 * sunrpc/auth_none.c: Likewise.
28385 * sunrpc/auth_unix.c: Likewise.
28386 * sunrpc/authdes_prot.c: Likewise.
28387 * sunrpc/authuxprot.c: Likewise.
28388 * sunrpc/bindrsvprt.c: Likewise.
28389 * sunrpc/clnt_gen.c: Likewise.
28390 * sunrpc/clnt_perr.c: Likewise.
28391 * sunrpc/clnt_raw.c: Likewise.
28392 * sunrpc/clnt_simp.c: Likewise.
28393 * sunrpc/clnt_tcp.c: Likewise.
28394 * sunrpc/clnt_udp.c: Likewise.
28395 * sunrpc/clnt_unix.c: Likewise.
28396 * sunrpc/des_crypt.c: Likewise.
28397 * sunrpc/des_soft.c: Likewise.
28398 * sunrpc/get_myaddr.c: Likewise.
28399 * sunrpc/getrpcport.c: Likewise.
28400 * sunrpc/key_call.c: Likewise.
28401 * sunrpc/key_prot.c: Likewise.
28402 * sunrpc/openchild.c: Likewise.
28403 * sunrpc/pm_getmaps.c: Likewise.
28404 * sunrpc/pm_getport.c: Likewise.
28405 * sunrpc/pmap_clnt.c: Likewise.
28406 * sunrpc/pmap_prot.c: Likewise.
28407 * sunrpc/pmap_prot2.c: Likewise.
28408 * sunrpc/pmap_rmt.c: Likewise.
28409 * sunrpc/rpc/auth.h: Likewise.
28410 * sunrpc/rpc/auth_unix.h: Likewise.
28411 * sunrpc/rpc/clnt.h: Likewise.
28412 * sunrpc/rpc/des_crypt.h: Likewise.
28413 * sunrpc/rpc/key_prot.h: Likewise.
28414 * sunrpc/rpc/netdb.h: Likewise.
28415 * sunrpc/rpc/pmap_clnt.h: Likewise.
28416 * sunrpc/rpc/pmap_prot.h: Likewise.
28417 * sunrpc/rpc/pmap_rmt.h: Likewise.
28418 * sunrpc/rpc/rpc.h: Likewise.
28419 * sunrpc/rpc/rpc_des.h: Likewise.
28420 * sunrpc/rpc/rpc_msg.h: Likewise.
28421 * sunrpc/rpc/svc.h: Likewise.
28422 * sunrpc/rpc/svc_auth.h: Likewise.
28423 * sunrpc/rpc/types.h: Likewise.
28424 * sunrpc/rpc/xdr.h: Likewise.
28425 * sunrpc/rpc_clntout.c: Likewise.
28426 * sunrpc/rpc_cmsg.c: Likewise.
28427 * sunrpc/rpc_common.c: Likewise.
28428 * sunrpc/rpc_cout.c: Likewise.
28429 * sunrpc/rpc_dtable.c: Likewise.
28430 * sunrpc/rpc_hout.c: Likewise.
28431 * sunrpc/rpc_main.c: Likewise.
28432 * sunrpc/rpc_parse.c: Likewise.
28433 * sunrpc/rpc_parse.h: Likewise.
28434 * sunrpc/rpc_prot.c: Likewise.
28435 * sunrpc/rpc_sample.c: Likewise.
28436 * sunrpc/rpc_scan.c: Likewise.
28437 * sunrpc/rpc_scan.h: Likewise.
28438 * sunrpc/rpc_svcout.c: Likewise.
28439 * sunrpc/rpc_tblout.c: Likewise.
28440 * sunrpc/rpc_util.c: Likewise.
28441 * sunrpc/rpc_util.h: Likewise.
28442 * sunrpc/rpcinfo.c: Likewise.
28443 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28444 * sunrpc/rpcsvc/key_prot.x: Likewise.
28445 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28446 * sunrpc/rpcsvc/mount.x: Likewise.
28447 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28448 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28449 * sunrpc/rpcsvc/rex.x: Likewise.
28450 * sunrpc/rpcsvc/rstat.x: Likewise.
28451 * sunrpc/rpcsvc/rusers.x: Likewise.
28452 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28453 * sunrpc/rpcsvc/spray.x: Likewise.
28454 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28455 * sunrpc/rtime.c: Likewise.
28456 * sunrpc/svc.c: Likewise.
28457 * sunrpc/svc_auth.c: Likewise.
28458 * sunrpc/svc_authux.c: Likewise.
28459 * sunrpc/svc_raw.c: Likewise.
28460 * sunrpc/svc_run.c: Likewise.
28461 * sunrpc/svc_simple.c: Likewise.
28462 * sunrpc/svc_tcp.c: Likewise.
28463 * sunrpc/svc_udp.c: Likewise.
28464 * sunrpc/svc_unix.c: Likewise.
28465 * sunrpc/svcauth_des.c: Likewise.
28466 * sunrpc/xcrypt.c: Likewise.
28467 * sunrpc/xdr.c: Likewise.
28468 * sunrpc/xdr_array.c: Likewise.
28469 * sunrpc/xdr_float.c: Likewise.
28470 * sunrpc/xdr_mem.c: Likewise.
28471 * sunrpc/xdr_rec.c: Likewise.
28472 * sunrpc/xdr_ref.c: Likewise.
28473 * sunrpc/xdr_sizeof.c: Likewise.
28474 * sunrpc/xdr_stdio.c: Likewise.
28475
9da4bb31
UD
28476 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28477 handling.
28478
bdaa77bc
AS
284792010-08-19 Andreas Schwab <schwab@redhat.com>
28480
28481 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28482
fe2f79db
LM
284832010-08-19 Luis Machado <luisgpm@br.ibm.com>
28484
28485 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28486 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28487 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28488 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28489 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28490 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28491 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28492 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28493 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28494 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28495 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28496 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28497 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28498 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28499
b9b42ee0
AB
285002010-07-26 Anton Blanchard <anton@samba.org>
28501
28502 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28503 * malloc/arena.c (heap_trim): Likewise.
28504
1c06ba31
UD
285052010-08-16 Ulrich Drepper <drepper@redhat.com>
28506
28507 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28508 here. Not...
28509 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28510 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28511
f8392f40
L
285122010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28513
28514 * sysdeps/i386/elf/Makefile: New file.
28515
3162f12e
AS
285162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28517
28518 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28519 from fanotify_init.
28520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28521 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28522
28c90b2c
UD
285232010-08-15 Ulrich Drepper <drepper@redhat.com>
28524
28525 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28526 of strncasecmp_l.
1feccb6c 28527 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28528
ca6bb004
UD
285292010-08-14 Ulrich Drepper <drepper@redhat.com>
28530
e9f82e0d
UD
28531 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28532 strncase_l-nonascii.
28533 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28534 Add strncase_l-ssse3.
28535 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28536 * sysdeps/x86_64/strcmp.S: Likewise.
28537 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28538 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28539 * sysdeps/x86_64/strncase.S: New file.
28540 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28541 * sysdeps/x86_64/strncase_l.S: New file.
28542 * string/Makefile (strop-tests): Add strncasecmp.
28543 * string/test-strncasecmp.c: New file.
28544
28545 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28546 warning.
28547
ca6bb004
UD
28548 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28549 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28550
052fa7b3
AS
285512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28552
28553 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28554
962dba78
UD
285552010-08-12 Ulrich Drepper <drepper@redhat.com>
28556
28557 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28558 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28559 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28560
bebff237
AM
285612010-05-01 Alan Modra <amodra@gmail.com>
28562
28563 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28564 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28565 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28566 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28567 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28568 tidying. Don't tail-call __sigjmp_save for static lib.
28569 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28570 save location.
28571 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28572 (CALL_MCOUNT): Add eh info, and nop after bl.
28573 (TAIL_CALL_SYSCALL_ERROR): New macro.
28574 (PSEUDO_RET): Use it.
28575 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28576 Correct save location of integer regs and cr.
28577 (_dl_profile_resolve): Correct cr save location. Delete nops
28578 after bl when SHARED. Reduce cfi size a little by better
28579 placement of cfi directives.
28580 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28581 make a stack frame. Instead use parm save area as a temp.
28582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28583 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28585 Don't make a stack frame for parent, use parm save area.
28586 Increase child stack frame to 112 bytes. Don't save unused reg,
28587 and adjust reg usage. Set up cfi on error recovery and
28588 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28590 (__makecontext): Add dummy nop after jump to exit.
28591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28592 Use correct parm save area and cr save, reduce stack frame.
28593 Correct cfi for possible PSEUDO_RET frame setup.
28594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28595 Branch to local label emitted by PSEUDO_RET rather than
28596 __syscall_error.
28597
02637374
AS
285982010-08-12 Andreas Schwab <schwab@redhat.com>
28599
28600 [BZ #11904]
28601 * locale/programs/locale.c (print_assignment): New function.
28602 (show_locale_vars): Use it.
28603
c3e2f19b
UD
286042010-08-11 Ulrich Drepper <drepper@redhat.com>
28605
3cdaa6ad
UD
28606 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28607 field.
28608 (struct statfs64): Likewise.
28609 (_STATFS_F_FLAGS): Define.
28610 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28611 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28612 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28613 (ST_VALID): Define locally.
28614 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28615 __statvfs_getflags, use the provided value.
28616 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28617 __ASSUME_STATFS_F_FLAGS.
28618
754f7da3
UD
28619 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28620
10b3bedc
UD
28621 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28622 Add sys/fanotify.h.
28623 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28624 fanotify_mask for GLIBC_2.13.
28625 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28626 fanotify_init and fanotify_mark.
28627 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28628 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28629
c08fb0d7
UD
28630 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28631 Add prlimit.
28632 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28633 prlimit64 for GLIBC_2.13.
28634 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28635 prlimit64.
28636 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28637 syscall.
28638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28639 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28640 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28641 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28642 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28643 add prlimit alias.
28644 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28645
15bac72b
UD
28646 [BZ #11903]
28647 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28648 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28649
c3e2f19b
UD
28650 * nss/Makefile: Add rules to build and run tst-nss-test1.
28651 * shlib-versions: Add entry for libnss_test1.
28652 * nss/nss_test1.c: New file.
28653 * nss/tst-nss-test1.c: New file.
28654
28655 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28656 (__nss_configure_lookup): Set appropriate entry in
28657 __nss_configure_lookup to true.
28658 * nss/nsswitch.h: Define enum with indeces of databases in
28659 databases and __nss_database_custom arrays. Declare
28660 __nss_database_custom.
28661 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28662 to avoid using nscd when custom rules are installed.
28663 * nss/getXXbyYY_r.c: Likewise.
28664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28665
28666 * nss/nss_files/files-parse.c: Whitespace fixes.
28667
f15ce4d8
UD
286682010-08-09 Ulrich Drepper <drepper@redhat.com>
28669
28670 [BZ #11883]
28671 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28672 * posix/fnmatch_loop.c: Likewise.
28673
d22e4cc9
AK
286742010-07-17 Andi Kleen <ak@linux.intel.com>
28675
28676 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28677 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28678 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28679 * Versions.def [GLIBC_2.13]: Add.
28680
805bc17d
UD
286812010-08-06 Ulrich Drepper <drepper@redhat.com>
28682
28683 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28684 Also fail if tpwd after pwuid call is NULL.
28685
5a42321d
ST
286862010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28687
28688 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28689 when converting to ms.
28690
fd3ebeda
ST
286912010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28692
28693 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28694 EOPNOTSUPP errors with ENOTTY.
28695 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28696 EOPNOTSUPP errors with ENOTTY.
28697
73507d3a
UD
286982010-07-31 Ulrich Drepper <drepper@redhat.com>
28699
28700 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28701 Add strcasecmp_l-ssse3.
28702 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28703 strcasecmp.
28704 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28705 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28706 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28707
fe36dd02
UD
287082010-07-30 Ulrich Drepper <drepper@redhat.com>
28709
66f6765a
UD
28710 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28711
42e08a54
UD
28712 * string/Makefile (strop-tests): Add strcasecmp.
28713 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28714 strcasecmp_l-nonascii.
28715 (gen-as-const-headers): Add locale-defines.sym.
28716 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28717 * sysdeps/x86_64/strcasecmp.S: New file.
28718 * sysdeps/x86_64/strcasecmp_l.S: New file.
28719 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28720 * sysdeps/x86_64/locale-defines.sym: New file.
28721 * string/test-strcasecmp.c: New file.
28722
fe36dd02
UD
28723 * string/test-strcasestr.c: Test both ends of the range of characters.
28724 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28725
48cbc0d6
RM
287262010-07-29 Roland McGrath <roland@redhat.com>
28727
76e6d6bc 28728 [BZ #11856]
48cbc0d6
RM
28729 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28730
880113d9
UD
287312010-07-27 Ulrich Drepper <drepper@redhat.com>
28732
28733 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28734 for ld.so.
28735
deb9cabb
AS
287362010-07-27 Andreas Schwab <schwab@redhat.com>
28737
28738 * manual/memory.texi (Malloc Tunable Parameters): Document
28739 M_PERTURB.
28740
1c7570ff
RM
287412010-07-26 Roland McGrath <roland@redhat.com>
28742
28743 [BZ #11840]
28744 * configure.in (-fgnu89-inline check): Set and substitute
28745 gnu89_inline, not libc_cv_gnu89_inline.
28746 * configure: Regenerated.
28747 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28748
24fb0f88
UD
287492010-07-26 Ulrich Drepper <drepper@redhat.com>
28750
28751 * string/test-strnlen.c: New file.
28752 * string/Makefile (strop-tests): Add strnlen.
28753 * string/tester.c (test_strnlen): Add a few more test cases.
28754 * string/tst-strlen.c: Better error reporting.
28755
28756 * sysdeps/x86_64/strnlen.S: New file.
28757
8e96b93a
UD
287582010-07-24 Ulrich Drepper <drepper@redhat.com>
28759
28760 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28761 lower-latency instructions.
28762
dbc676d4
UD
287632010-07-23 Ulrich Drepper <drepper@redhat.com>
28764
28765 * string/test-strcasestr.c: New file.
28766 * string/test-strstr.c: New file.
28767 * string/Makefile (strop-tests): Add strstr and strcasestr.
28768 * string/str-two-way.h: Don't undefine MAX.
28769 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28770
f6a31e0e
AS
287712010-07-21 Andreas Schwab <schwab@redhat.com>
28772
28773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28774 strcasestr-nonascii.
28775 (CFLAGS-strcasestr-nonascii.c): Define.
28776 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28778 Remove unused attribute.
28779
5dbc3b6c
RM
287802010-07-20 Roland McGrath <roland@redhat.com>
28781
28782 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28783 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28784 ld.so.cache was broken. With it, there is no way to disable dsocaps
28785 like LD_HWCAP_MASK can disable hwcaps.
28786
23d101d8
EPM
287872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28788
28789 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28790
cc9f2e47
UD
287912010-07-16 Ulrich Drepper <drepper@redhat.com>
28792
28793 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28794 call in strcasestr.
28795 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28796 __strcasestr_sse42_nonascii.
28797 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28798 strcasestr-nonascii.c.
28799 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28800
77c1b069
LM
288012010-06-15 Luis Machado <luisgpm@br.ibm.com>
28802
28803 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28804 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28805 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28806 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28807
440566c3
UD
288082010-07-09 Ulrich Drepper <drepper@redhat.com>
28809
28810 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28811 fcntl.
28812
5be9d05d
AS
288132010-07-06 Andreas Schwab <schwab@redhat.com>
28814
c30b7ee2 28815 [BZ #11577]
5be9d05d
AS
28816 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28817 dl_signal_cerror.
28818
8a492a67
UD
288192010-07-06 Ulrich Drepper <drepper@redhat.com>
28820
28821 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28822 _PC_PIPE_BUF using F_GETPIPE_SZ.
28823
713df3d5
RM
288242010-07-05 Roland McGrath <roland@redhat.com>
28825
28826 * manual/arith.texi (Rounding Functions): Fix rint description
28827 implicit in round description.
28828
702e8f14
UD
288292010-07-02 Ulrich Drepper <drepper@redhat.com>
28830
28831 * elf/Makefile: Fix linking for a few tests to make recent linker
28832 happy.
28833
52ed8be9
AS
288342010-06-30 Andreas Schwab <schwab@redhat.com>
28835
28836 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28837 $(common-objpfx)libc_nonshared.a.
28838
f47c9a11
LM
288392010-06-21 Luis Machado <luisgpm@br.ibm.com>
28840
28841 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28842 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28843 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28844 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28845 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28846 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28847 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28848 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28863 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28864 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28865 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28866 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28867 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28868 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28869 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28870 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28871 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28872 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28873 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28874 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28889
6fb8cbcb
L
288902010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28891
28892 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28893 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28894 * string/memmove.c (memmove): Renamed to ...
28895 (MEMMOVE): ...this. Default to memmove.
28896 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28897 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28898 (END_CHK): Define.
28899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28900 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28901 mempcpy-ssse3-back memmove-ssse3-back.
28902 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28903 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28904 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28905 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28906 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28907 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28908 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28909 * sysdeps/x86_64/multiarch/memmove.c: New file.
28910 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28911 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28912 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28913 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28914 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28915 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28916 Define.
28917 (index_Fast_Copy_Backward): Define.
28918 (HAS_ARCH_FEATURE): Define.
28919 (HAS_FAST_REP_STRING): Define.
28920 (HAS_FAST_COPY_BACKWARD): Define.
28921
4e733bac 289222010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28923
28924 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28925 Restore proper fallback handling.
28926
63c4ed22
UD
289272010-06-19 Ulrich Drepper <drepper@redhat.com>
28928
ac2b484c
UD
28929 [BZ #11701]
28930 * posix/group_member.c (__group_member): Correct checking loop.
28931
63c4ed22
UD
28932 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28933 OOM in getpwuid_r correctly. Return error number when the caller
28934 should return, otherwise -1.
28935 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28936 call returning > 0 value.
28937 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28938
765ade4b
AS
289392010-06-07 Andreas Schwab <schwab@redhat.com>
28940
28941 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28942 libc_nonshared.a from targets in modules-names.
28943
80da2e09
KS
289442010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28945
28946 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28947 requires it.
28948
158db122
LM
289492010-06-10 Luis Machado <luisgpm@br.ibm.com>
28950
28951 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28952 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28953 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28954 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28955
caa78cf8
AS
289562010-06-02 Andreas Schwab <schwab@redhat.com>
28957
28958 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28959
b2ef2c01
UD
289602010-06-14 Ulrich Drepper <drepper@redhat.com>
28961
28962 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28963 and F_GETPIPE_SZ.
28964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28968 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28969 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28970
fbd643b6
RM
289712010-06-14 Roland McGrath <roland@redhat.com>
28972
28973 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28974
f32f2869
JJ
289752010-06-07 Jakub Jelinek <jakub@redhat.com>
28976
28977 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28978 __REDIRECT followed by __THROW.
28979 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28980 * posix/getopt.h (getopt): Likewise.
28981
2a50c078
EPM
289822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28983
28984 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28985 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28986 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28987 in AT_FLAGS.
28988 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28989 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28990
eb5ad2eb
LM
289912010-05-28 Luis Machado <luisgpm@br.ibm.com>
28992
28993 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28994
3c88fe1e
L
289952010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28996
28997 [BZ #11640]
28998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28999 Properly check family and model.
29000
d2f73151
TY
290012010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29002
29003 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29004
ebd2e13d
LM
290052010-05-24 Luis Machado <luisgpm@br.ibm.com>
29006
29007 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29008
b32b8b45
UD
290092010-05-21 Ulrich Drepper <drepper@redhat.com>
29010
29011 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29012 symbol reference.
29013
9acbe24d
AS
290142010-05-19 Andreas Schwab <schwab@redhat.com>
29015
29016 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29017 symbol reference.
29018
f0ccf6ea
AS
290192010-05-21 Andreas Schwab <schwab@redhat.com>
29020
3d04ff3a
AS
29021 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29022 and internal_recvmmsg.
29023 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29024 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29025 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29026 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29027
f0ccf6ea
AS
29028 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29029 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29030 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29031
5b08ac57
AS
290322010-05-20 Andreas Schwab <schwab@redhat.com>
29033
29034 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29035
4828935d
LM
290362010-05-17 Luis Machado <luisgpm@br.ibm.com>
29037
29038 POWER7 optimizations.
29039 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29040 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29041
373d545e
UD
290422010-05-19 Ulrich Drepper <drepper@redhat.com>
29043
29044 * version.h: Update for 2.13 development version.
29045
21a2b1ae
AS
290462010-05-12 Andrew Stubbs <ams@codesourcery.com>
29047
29048 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29049 exceptions. Return 0.
29050
3f7dcb2b
RM
290512010-05-07 Roland McGrath <roland@redhat.com>
29052
29053 * elf/ldconfig.c (main): Add a const.
29054
5f24d53a 290552010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29056
a160f8d8
UD
29057 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29058 (args_options): Add no-idn option.
29059 (ahosts_keys_int): Add idn_flags to ai_flags.
29060 (parse_option): Handle 'i' option to clear idn_flags.
29061
5f24d53a
UD
29062 * malloc/malloc.c (_int_free): Possible race in the most recently
29063 added check. Only act on the data if no current modification
29064 happened.
265bb1ce
UD
29065
29066See ChangeLog.17 for earlier changes.