]> sourceware.org Git - glibc.git/blame - ChangeLog
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
[glibc.git] / ChangeLog
CommitLineData
e054f494
RA
12013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2
3 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4 uint64_t or uint32_t usage.
5 * crypt/sha256-block.c: Likewise.
6 * crypt/sha256-crypt.c: Likewise.
7 * crypt/sha256.c: Likewise.
8 * crypt/sha512-block.c: Likewise.
9 * crypt/sha512-crypt.c: Likewise.
10 * crypt/sha512.c: Likewise.
11 * debug/backtrace-tst.c: Likewise.
12 * debug/pcprofiledump.c: Likewise.
13 * elf/cache.c: Likewise.
14 * elf/dl-cache.c: Likewise.
15 * elf/dl-misc.c: Likewise.
16 * elf/dl-profile.c: Likewise.
17 * elf/dl-support.c: Likewise.
18 * elf/ldconfig.c: Likewise.
19 * elf/sprof.c: Likewise.
20 * iconv/dummy-repertoire.c: Likewise.
21 * iconv/iconv_charmap.c: Likewise.
22 * iconv/skeleton.c: Likewise.
23 * iconvdata/8bit-generic.c: Likewise.
24 * iconvdata/cp737.h: Likewise.
25 * iconvdata/cp775.h: Likewise.
26 * iconvdata/ibm1008.h: Likewise.
27 * iconvdata/ibm1025.h: Likewise.
28 * iconvdata/ibm1046.h: Likewise.
29 * iconvdata/ibm1097.h: Likewise.
30 * iconvdata/ibm1112.h: Likewise.
31 * iconvdata/ibm1122.h: Likewise.
32 * iconvdata/ibm1123.h: Likewise.
33 * iconvdata/ibm1124.h: Likewise.
34 * iconvdata/ibm1129.h: Likewise.
35 * iconvdata/ibm1130.h: Likewise.
36 * iconvdata/ibm1132.h: Likewise.
37 * iconvdata/ibm1133.h: Likewise.
38 * iconvdata/ibm1137.h: Likewise.
39 * iconvdata/ibm1140.h: Likewise.
40 * iconvdata/ibm1141.h: Likewise.
41 * iconvdata/ibm1142.h: Likewise.
42 * iconvdata/ibm1143.h: Likewise.
43 * iconvdata/ibm1144.h: Likewise.
44 * iconvdata/ibm1145.h: Likewise.
45 * iconvdata/ibm1146.h: Likewise.
46 * iconvdata/ibm1147.h: Likewise.
47 * iconvdata/ibm1148.h: Likewise.
48 * iconvdata/ibm1149.h: Likewise.
49 * iconvdata/ibm1153.h: Likewise.
50 * iconvdata/ibm1154.h: Likewise.
51 * iconvdata/ibm1155.h: Likewise.
52 * iconvdata/ibm1156.h: Likewise.
53 * iconvdata/ibm1157.h: Likewise.
54 * iconvdata/ibm1158.h: Likewise.
55 * iconvdata/ibm1160.h: Likewise.
56 * iconvdata/ibm1161.h: Likewise.
57 * iconvdata/ibm1162.h: Likewise.
58 * iconvdata/ibm1163.h: Likewise.
59 * iconvdata/ibm1164.h: Likewise.
60 * iconvdata/ibm1166.h: Likewise.
61 * iconvdata/ibm1167.h: Likewise.
62 * iconvdata/ibm12712.h: Likewise.
63 * iconvdata/ibm1390.h: Likewise.
64 * iconvdata/ibm1399.h: Likewise.
65 * iconvdata/ibm16804.h: Likewise.
66 * iconvdata/ibm4517.h: Likewise.
67 * iconvdata/ibm4899.h: Likewise.
68 * iconvdata/ibm4909.h: Likewise.
69 * iconvdata/ibm4971.h: Likewise.
70 * iconvdata/ibm5347.h: Likewise.
71 * iconvdata/ibm803.h: Likewise.
72 * iconvdata/ibm856.h: Likewise.
73 * iconvdata/ibm901.h: Likewise.
74 * iconvdata/ibm902.h: Likewise.
75 * iconvdata/ibm9030.h: Likewise.
76 * iconvdata/ibm9066.h: Likewise.
77 * iconvdata/ibm921.h: Likewise.
78 * iconvdata/ibm922.h: Likewise.
79 * iconvdata/ibm9448.h: Likewise.
80 * iconvdata/isiri-3342.h: Likewise.
81 * iconvdata/jis0201.h: Likewise.
82 * include/link.h: Likewise.
83 * include/netdb.h: Likewise.
84 * inet/check_native.c: Likewise.
85 * inet/check_pf.c: Likewise.
86 * inet/getipv4sourcefilter.c: Likewise.
87 * inet/getnameinfo.c: Likewise.
88 * inet/getsourcefilter.c: Likewise.
89 * inet/htonl.c: Likewise.
90 * inet/setipv4sourcefilter.c: Likewise.
91 * inet/setsourcefilter.c: Likewise.
92 * inet/test-inet6_opt.c: Likewise.
93 * inet/tst-network.c: Likewise.
94 * locale/C-collate.c: Likewise.
95 * locale/C-ctype.c: Likewise.
96 * locale/C-time.c: Likewise.
97 * locale/C-translit.h: Likewise.
98 * locale/loadarchive.c: Likewise.
99 * locale/programs/3level.h: Likewise.
100 * locale/programs/charmap.c: Likewise.
101 * locale/programs/charmap.h: Likewise.
102 * locale/programs/ld-address.c: Likewise.
103 * locale/programs/ld-collate.c: Likewise.
104 * locale/programs/ld-ctype.c: Likewise.
105 * locale/programs/ld-identification.c: Likewise.
106 * locale/programs/ld-measurement.c: Likewise.
107 * locale/programs/ld-messages.c: Likewise.
108 * locale/programs/ld-monetary.c: Likewise.
109 * locale/programs/ld-name.c: Likewise.
110 * locale/programs/ld-numeric.c: Likewise.
111 * locale/programs/ld-paper.c: Likewise.
112 * locale/programs/ld-telephone.c: Likewise.
113 * locale/programs/ld-time.c: Likewise.
114 * locale/programs/linereader.c: Likewise.
115 * locale/programs/locale.c: Likewise.
116 * locale/programs/locarchive.c: Likewise.
117 * locale/programs/locfile.h: Likewise.
118 * locale/programs/repertoire.c: Likewise.
119 * locale/programs/simple-hash.c: Likewise.
120 * locale/programs/simple-hash.h: Likewise.
121 * malloc/memusage.c: Likewise.
122 * malloc/memusagestat.c: Likewise.
123 * nis/nis_defaults.c: Likewise.
124 * nis/nis_hash.c: Likewise.
125 * nis/nis_print.c: Likewise.
126 * nis/nis_xdr.c: Likewise.
127 * nscd/connections.c: Likewise.
128 * nscd/hstcache.c: Likewise.
129 * nscd/nscd_gethst_r.c: Likewise.
130 * nscd/nscd_getserv_r.c: Likewise.
131 * nscd/nscd_helper.c: Likewise.
132 * nscd/servicescache.c: Likewise.
133 * nss/makedb.c: Likewise.
134 * nss/nss_db/db-XXX.c: Likewise.
135 * nss/nss_db/db-initgroups.c: Likewise.
136 * nss/nss_db/db-netgrp.c: Likewise.
137 * nss/nss_files/files-network.c: Likewise.
138 * nss/nss_files/files-parse.c: Likewise.
139 * posix/bug-regex5.c: Likewise.
140 * posix/fnmatch_loop.c: Likewise.
141 * posix/regcomp.c: Likewise.
142 * posix/regexec.c: Likewise.
143 * posix/tst-rfc3484-2.c: Likewise.
144 * posix/tst-rfc3484-3.c: Likewise.
145 * posix/tst-rfc3484.c: Likewise.
146 * resolv/nss_dns/dns-canon.c: Likewise.
147 * resolv/nss_dns/dns-network.c: Likewise.
148 * resolv/res_init.c: Likewise.
149 * resolv/res_mkquery.c: Likewise.
150 * resolv/tst-aton.c: Likewise.
151 * stdlib/cxa_atexit.c: Likewise.
152 * stdlib/cxa_finalize.c: Likewise.
153 * stdlib/gen-fpioconst.c: Likewise.
154 * stdlib/strtol_l.c: Likewise.
155 * string/tst-endian.c: Likewise.
156 * sunrpc/auth_des.c: Likewise.
157 * sunrpc/clnt_udp.c: Likewise.
158 * sunrpc/rtime.c: Likewise.
159 * sunrpc/svcauth_des.c: Likewise.
160 * sunrpc/xdr.c: Likewise.
161 * sunrpc/xdr_intXX_t.c: Likewise.
162 * sunrpc/xdr_rec.c: Likewise.
163 * sysdeps/generic/ldconfig.h: Likewise.
164 * sysdeps/generic/ldsodefs.h: Likewise.
165 * sysdeps/generic/memusage.h: Likewise.
166 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
167 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
168 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
169 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
170 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
172 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
173 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
174 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
175 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
176 * sysdeps/posix/getaddrinfo.c: Likewise.
177 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
179 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
181 * sysdeps/powerpc/test-gettimebase.c: Likewise.
182 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
183 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
184 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
185 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
186 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
187 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
188 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
189 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
190 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
191 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
192 * sysdeps/x86_64/dl-tls.h: Likewise.
193 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
194 * time/alt_digit.c: Likewise.
195 * time/era.c: Likewise.
196 * wcsmbs/tst-c16c32-1.c: Likewise.
197
8c75f674
JM
1982013-05-16 Joseph Myers <joseph@codesourcery.com>
199
200 * math/libm-test.inc (struct test_sincos_data): New type.
201 (RUN_TEST_LOOP_sincos): New macro.
202 (sincos_test_data): New variable.
203 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
204
e6e49e59
RH
2052013-05-16 Richard Henderson <rth@redhat.com>
206
207 * math/atest-exp2.c (LIMB64): New macro.
208 (CONSTSZ): New macro.
209 (mp_exp1, mp_exp_m1, mp_log2): New variables.
210 (hexdig): Move ...
211 (print_mpn_fp): ... to function scope.
212 (read_mpn_hex): Remove.
213 (get_log2): Remove.
214 (exp2_mpn): Use mp_log2.
215 (main): Use mp_exp1.
216
15c7c18d
JM
2172013-05-16 Joseph Myers <joseph@codesourcery.com>
218
105a07df
JM
219 * math/libm-test.inc: Remove comment about not testing "inexact"
220 exceptions.
221 (INEXACT_EXCEPTION): New macro.
222 (NO_INEXACT_EXCEPTION): Likewise.
223 (INVALID_EXCEPTION_OK): Update value.
224 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
225 (OVERFLOW_EXCEPTION_OK): Likewise.
226 (UNDERFLOW_EXCEPTION_OK): Likewise.
227 (IGNORE_ZERO_INF_SIGN): Likewise.
228 (ERRNO_UNCHANGED): Likewise.
229 (ERRNO_EDOM): Likewise.
230 (ERRNO_ERANGE): Likewise.
231 (test_exceptions): Handle testing "inexact" exceptions.
232 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
233 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
234 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
235 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
236 INEXACT_EXCEPTION.
237 (rint_towardzero_test_data): Likewise.
238 (rint_downward_test_data): Likewise.
239 (rint_upward_test_data): Likewise.
240
e9eee333
JM
241 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
242 with OVERFLOW_EXCEPTION.
243 (exp10_test_data): Likewise.
244 (exp2_test_data): Likewise.
245 (expm1_test_data): Likewise.
246 (lgamma_test_data): Likewise.
247 (pow_test_data): Likewise.
248 (tgamma_test_data): Likewise.
249 (yn_test_data): Remove duplicate test of overflow.
250
1c38ff73
JM
251 * math/libm-test.inc (struct test_cc_c_data): New type.
252 (RUN_TEST_LOOP_cc_c): New macro.
253 (cpow_test_data): New variable.
254 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
255
15c7c18d
JM
256 * math/libm-test.inc (struct test_f_L_data): New type.
257 (RUN_TEST_LOOP_f_L): New macro.
258 (llrint_test_data): New variable.
259 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
260 (llrint_tonearest_test_data): New variable.
261 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
262 (llrint_towardzero_test_data): New variable.
263 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
264 (llrint_downward_test_data): New variable.
265 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
266 (llrint_upward_test_data): New variable.
267 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
268 (llround_test_data): New variable.
269 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
270
f137ff13
PC
2712013-05-13 Peter Collingbourne <pcc@google.com>
272
273 * math/atest-exp2.c (get_log2): Remove const attribute.
274
3608cb24
JM
2752013-05-15 Joseph Myers <joseph@codesourcery.com>
276
277 * math/libm-test.inc (struct test_f_l_data): New type.
278 (RUN_TEST_LOOP_f_l): New macro.
279 (lrint_test_data): New variable.
280 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
281 (lrint_tonearest_test_data): New variable.
282 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
283 (lrint_towardzero_test_data): New variable.
284 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
285 (lrint_downward_test_data): New variable.
286 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
287 (lrint_upward_test_data): New variable.
288 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
289 (lround_test_data): New variable.
290 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
291
39b1f617
PC
2922013-05-15 Peter Collingbourne <pcc@google.com>
293
1deff3dc
PC
294 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
295 (EXTRACT_WORDS64) Use where appropriate.
296 (INSERT_WORDS64) Likewise.
297
791f3ba0
PC
298 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
299 constraints with x constraints.
300 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
301
39b1f617
PC
302 * malloc/obstack.c (_obstack_compat): Add initializer.
303
12fba011
EM
3042013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
305
306 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
307 si_trapno and add si_addr_lsb to _sifields.sigfault.
308 (si_trapno): Remove macro.
309 (si_addr_lsb): Define new macro.
310 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
311
d369f531
JM
3122013-05-15 Joseph Myers <joseph@codesourcery.com>
313
b861c6c4
JM
314 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
315 instead of TEST_f_l.
316 (llrint_test_tonearest): Likewise.
317 (llrint_test_towardzero): Likewise.
318 (llrint_test_downward): Likewise.
319 (llrint_test_upward): Likewise.
320 (llround_test): Likewise.
321
7abeee12
JM
322 * math/libm-test.inc (struct test_f_i_data): Add comment.
323 (RUN_TEST_LOOP_f_b): New macro.
324 (RUN_TEST_LOOP_f_b_tg): Likewise.
325 (finite_test_data): New variable.
326 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
327 (isfinite_test_data): New variable.
328 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
329 (isinf_test_data): New variable.
330 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
331 (isnan_test_data): New variable.
332 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
333 (isnormal_test_data): New variable.
334 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
335 (issignaling_test_data): New variable.
336 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
337 (signbit_test_data): New variable.
338 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
339
cbe8c4d3
JM
340 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
341 with INVALID_EXCEPTION.
342 (acosh_test_data): Likewise.
343 (asin_test_data): Likewise.
344 (atanh_test_data): Likewise.
345 (fmod_test_data): Likewise.
346 (log_test_data): Likewise.
347 (log10_test_data): Likewise.
348 (log2_test_data): Likewise.
349 (pow_test_data): Likewise.
350 (sqrt_test_data): Likewise.
351 (y0_test_data): Likewise.
352 (y1_test_data): Likewise.
353 (yn_test_data): Likewise.
354
5575c0e5
JM
355 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
356 function contents.
357
d369f531
JM
358 * math/libm-test.inc (struct test_ff_i_data): New type.
359 (RUN_TEST_LOOP_ff_i_tg): New macro.
360 (isgreater_test_data): New variable.
361 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
362 (isgreaterequal_test_data): New variable.
363 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
364 (isless_test_data): New variable.
365 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
366 (islessequal_test_data): New variable.
367 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
368 (islessgreater_test_data): New variable.
369 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
370 (isunordered_test_data): New variable.
371 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
372
781fd748
DM
3732013-05-14 David S. Miller <davem@davemloft.net>
374
375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
376
87aa21df
JM
3772013-05-14 Joseph Myers <joseph@codesourcery.com>
378
5e908270
JM
379 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
380
f71172e5
JM
381 * math/libm-test.inc (struct test_fF_f1_data): Change type of
382 extra_test to int.
383 (struct test_f_i_data): Change type of max_ulp to int.
384
8cfa635a
JM
385 * math/libm-test.inc (test_ffI_f1_data): New type.
386 (RUN_TEST_LOOP_ffI_f1): New macro.
387 (remquo_test_data): New variable.
388 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
389
2bcb36b2
JM
390 * setjmp/tst-setjmp-fp.c: New file.
391 * setjmp/Makefile (tests): Add tst-setjmp-fp.
392 (link-libm): New variable.
393 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
394
acbd839a
JM
395 * math/libm-test.inc (struct test_f_i_data): New type.
396 (RUN_TEST_LOOP_f_i): New macro.
397 (RUN_TEST_LOOP_f_i_tg): Likewise.
398 (fpclassify_test_data): New variable.
399 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
400 (ilogb_test_data): New variable.
401 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
402
e414d745
JM
403 * math/libm-test.inc (scalbln_test): Correct function name in END
404 call.
405
d9c2a0fd
JM
406 * math/libm-test.inc (struct test_f_f1_data): Add comment.
407 (RUN_TEST_LOOP_fI_f1): New macro.
408 (frexp_test_data): New variable.
409 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
410
9dc9095d
JM
411 * math/libm-test.inc (struct test_fF_f1_data): New type.
412 (RUN_TEST_LOOP_fF_f1): New macro.
413 (modf_test_data): New variable.
414 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
415
87aa21df
JM
416 * math/libm-test.inc (struct test_f_f1_data): New type.
417 (RUN_TEST_LOOP_f_f1): New macro.
418 (gamma_test_data): New variable.
419 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
420 (lgamma_test_data): New variable.
421 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
422
141af660
CD
4232013-05-13 Carlos O'Donell <carlos@redhat.com>
424
425 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
426 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
427 (main): Comment "tls" pseudo-hwcap.
428
6d33265c
JM
4292013-05-13 Joseph Myers <joseph@codesourcery.com>
430
68fc074c
JM
431 * math/libm-test.inc (struct test_fl_f_data): New type.
432 (RUN_TEST_LOOP_fl_f): New variable.
433 (scalbln_test_data): New variable.
434 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
435
243216e1
JM
436 * math/libm-test.inc (struct test_fi_f_data): New type.
437 (RUN_TEST_LOOP_fi_f): New macro.
438 (ldexp_test_data): New variable.
439 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
440 (scalbn_test_data): New variable.
441 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
442
6a1992e2
JM
443 * math/libm-test.inc (struct test_c_f_data): New type.
444 (RUN_TEST_LOOP_c_f): New macro.
445 (cabs_test_data): New variable.
446 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
447 (carg_test_data): New variable.
448 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
449 (cimag_test_data): New variable.
450 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
451 (creal_test_data): New variable.
452 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
453
0e400df5
JM
454 * math/libm-test.inc (struct test_if_f_data): New type.
455 (RUN_TEST_LOOP_if_f): New macro.
456 (jn_test_data): New variable.
457 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
458 (yn_test_data): New variable.
459 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
460
6d33265c
JM
461 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
462
f98ece5f
AZ
4632013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
464
465 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
466 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
467
0f7d347b
SP
4682013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
469
43fe811b
SP
470 * benchtests/Makefile (CPPFLAGS-nonlib): Add
471 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
472 (bench-deps): Add bench-timing.h.
473 * benchtests-bench-skeleton.c: Include bench-timing.h.
474 (main): Use TIMING_* macros instead of clock_gettime.
475 * benchtests/bench-timing.h: New file.
476
0f7d347b
SP
477 [BZ #14582]
478 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
479 Renamed from _LIB_VERSION.
480 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
481
601a3a5f
JM
4822013-05-12 Joseph Myers <joseph@codesourcery.com>
483
4f184d30
JM
484 * math/libm-test.inc (struct test_fff_f_data): New type.
485 (RUN_TEST_LOOP_fff_f): New macro.
486 (fma_test_data): New variable.
487 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
488 (fma_towardzero_test_data): New variable.
489 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
490 (fma_downward_test_data): New variable.
491 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
492 (fma_upward_test_data): New variable.
493 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
494
08198877
JM
495 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
496 (struct test_c_c_data): New type.
497 (RUN_TEST_LOOP_c_c): New macro.
498 (cacos_test_data): New variable.
499 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
500 (cacosh_test_data): New variable.
501 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
502 (casin_test_data): New variable.
503 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
504 (casinh_test_data): New variable.
505 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
506 (catan_test_data): New variable.
507 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
508 (catanh_test_data): New variable.
509 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
510 (ccos_test_data): New variable.
511 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
512 (ccosh_test_data): New variable.
513 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
514 (cexp_test_data): New variable.
515 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
516 (clog_test_data): New variable.
517 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
518 (clog10_test_data): New variable.
519 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
520 (conj_test_data): New variable.
521 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
522 (cproj_test_data): New variable.
523 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
524 (csin_test_data): New variable.
525 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
526 (csinh_test_data): New variable.
527 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
528 (csqrt_test_data): New variable.
529 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
530 (ctan_test_data): New variable.
531 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
532 (ctan_tonearest_test_data): New variable.
533 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
534 (ctan_towardzero_test_data): New variable.
535 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
536 (ctan_downward_test_data): New variable.
537 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
538 (ctan_upward_test_data): New variable.
539 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
540 (ctanh_test_data): New variable.
541 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
542 (ctanh_tonearest_test_data): New variable.
543 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
544 (ctanh_towardzero_test_data): New variable.
545 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
546 (ctanh_downward_test_data): New variable.
547 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
548 (ctanh_upward_test_data): New variable.
549 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
550 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
551 of BUILD_COMPLEX.
552
601a3a5f
JM
553 * math/libm-test.inc (struct test_ff_f_data): New type.
554 (struct test_ff_f_data_nexttoward): Likewise.
555 (RUN_TEST_LOOP_2_f): New macro.
556 (RUN_TEST_LOOP_ff_f): Likewise.
557 (atan2_test_data): New variable.
558 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
559 (copysign_test_data): New variable.
560 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
561 (fdim_test_data): New variable.
562 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
563 (fmax_test_data): New variable.
564 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
565 (fmin_test_data): New variable.
566 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
567 (fmod_test_data): New variable.
568 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
569 (hypot_test_data): New variable.
570 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
571 (nextafter_test_data): New variable.
572 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
573 (nexttoward_test_data): New variable.
574 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
575 (pow_test_data): New variable.
576 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
577 (pow_tonearest_test_data): New variable.
578 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
579 (pow_towardzero_test_data): New variable.
580 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
581 (pow_downward_test_data): New variable.
582 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
583 (pow_upward_test_data): New variable.
584 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
585 (remainder_test_data): New variable.
586 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
587 (scalb_test_data): New variable.
588 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
589 * sysdeps/i386/fpu/libm-test-ulps: Update.
590
74c57478
JM
5912013-05-11 Joseph Myers <joseph@codesourcery.com>
592
8329e4da
JM
593 * math/libm-test.inc (fma_test): Use max_value instead of local
594 variable fltmax.
595 (nextafter_test): Likewise.
596
74c57478
JM
597 * math/libm-test.inc (acos_towardzero_test_data): New variable.
598 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
599 (acos_downward_test_data): New variable.
600 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
601 (acos_upward_test_data): New variable.
602 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
603 (acosh_test_data): New variable.
604 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
605 (asin_test_data): New variable.
606 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
607 (asin_tonearest_test_data): New variable.
608 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
609 (asin_towardzero_test_data): New variable.
610 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
611 (asin_downward_test_data): New variable.
612 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
613 (asin_upward_test_data): New variable.
614 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
615 (asinh_test_data): New variable.
616 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
617 (atan_test_data): New variable.
618 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
619 (atanh_test_data): New variable.
620 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
621 (cbrt_test_data): New variable.
622 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
623 (ceil_test_data): New variable.
624 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
625 (cos_test_data): New variable.
626 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
627 (cos_tonearest_test_data): New variable.
628 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
629 (cos_towardzero_test_data): New variable.
630 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
631 (cos_downward_test_data): New variable.
632 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
633 (cos_upward_test_data): New variable.
634 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
635 (cosh_test_data): New variable.
636 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
637 (cosh_tonearest_test_data): New variable.
638 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
639 (cosh_towardzero_test_data): New variable.
640 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
641 (cosh_downward_test_data): New variable.
642 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
643 (cosh_upward_test_data): New variable.
644 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
645 (erf_test_data): New variable.
646 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
647 (erfc_test_data): New variable.
648 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
649 (exp_test_data): New variable.
650 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
651 (exp_tonearest_test_data): New variable.
652 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
653 (exp_towardzero_test_data): New variable.
654 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
655 (exp_downward_test_data): New variable.
656 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
657 (exp_upward_test_data): New variable.
658 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
659 (exp10_test_data): New variable.
660 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
661 (exp2_test_data): New variable.
662 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
663 (expm1_test_data): New variable.
664 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
665 (fabs_test_data): New variable.
666 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
667 (floor_test_data): New variable.
668 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
669 (j0_test_data): New variable.
670 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
671 (j1_test_data): New variable.
672 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
673 (log_test_data): New variable.
674 (log_test): Run tests with RUN_TEST_LOOP_f_f.
675 (log10_test_data): New variable.
676 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
677 (log1p_test_data): New variable.
678 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
679 (log2_test_data): New variable.
680 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
681 (logb_test_data): New variable.
682 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
683 (logb_downward_test_data): New variable.
684 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
685 (nearbyint_test_data): New variable.
686 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
687 (rint_test_data): New variable.
688 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
689 (rint_tonearest_test_data): New variable.
690 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
691 (rint_towardzero_test_data): New variable.
692 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
693 (rint_downward_test_data): New variable.
694 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
695 (rint_upward_test_data): New variable.
696 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
697 (round_test_data): New variable.
698 (round_test): Run tests with RUN_TEST_LOOP_f_f.
699 (sin_test_data): New variable.
700 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
701 (sin_tonearest_test_data): New variable.
702 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
703 (sin_towardzero_test_data): New variable.
704 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
705 (sin_downward_test_data): New variable.
706 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
707 (sin_upward_test_data): New variable.
708 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
709 (sinh_test_data): New variable.
710 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
711 (sinh_tonearest_test_data): New variable.
712 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
713 (sinh_towardzero_test_data): New variable.
714 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
715 (sinh_downward_test_data): New variable.
716 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
717 (sinh_upward_test_data): New variable.
718 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
719 (sqrt_test_data): New variable.
720 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
721 (tan_test_data): New variable.
722 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
723 (tan_tonearest_test_data): New variable.
724 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
725 (tan_towardzero_test_data): New variable.
726 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
727 (tan_downward_test_data): New variable.
728 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
729 (tan_upward_test_data): New variable.
730 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
731 (tanh_test_data): New variable.
732 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
733 (tgamma_test_data): New variable.
734 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
735 (trunc_test_data): New variable.
736 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
737 (y0_test_data): New variable.
738 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
739 (y1_test_data): New variable.
740 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
741 (significand_test_data): New variable.
742 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
743
7187d844
CG
7442013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
745
746 [BZ #12387]
747 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
748
f63fae73
PT
7492013-05-10 Pino Toscano <toscano.pino@tiscali.it>
750
751 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
752
8a67a4b3
AJ
7532013-05-10 Andreas Jaeger <aj@suse.de>
754
755 [BZ #15448]
756 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
757 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
758
51df539d
JM
7592013-05-10 Joseph Myers <joseph@codesourcery.com>
760
761 * math/gen-libm-test.pl (adjust_arg): New function.
762 (special_functions): Handle generating output in both functions
763 and arrays.
764 (parse_args): Likewise.
765 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
766 $in_func argument to parse_args.
767 * math/libm-test.inc (struct test_f_f_data): New type.
768 (IF_ROUND_INIT_): New macro.
769 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
770 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
771 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
772 (IF_ROUND_INIT_FE_UPWARD): Likewise.
773 (ROUND_RESTORE_): Likewise.
774 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
775 (ROUND_RESTORE_FE_TONEAREST): Likewise.
776 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
777 (ROUND_RESTORE_FE_UPWARD): Likewise.
778 (RUN_TEST_LOOP_f_f): New macro.
779 (acos_test_data): New variable.
780 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
781 (acos_tonearest_test_data): New variable.
782 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
783
5c637fe5
SP
7842013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
785
786 * benchtests/bench-skeleton.c (startup): Fix coding style.
787
ab2b9461
JM
7882013-05-10 Joseph Myers <joseph@codesourcery.com>
789
790 [BZ #6809]
791 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
792 negative infinity argument.
793 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
794 negative infinity argument.
795 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
796 negative infinity argument.
797 * math/libm-test.inc (tgamma_test): Expect errno to be set for
798 domain errors.
799
4c0fe6fe
FW
8002013-05-10 Florian Weimer <fweimer@redhat.com>
801
802 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
803 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
804 * iconv/iconv_prog.c (main): Likewise.
805 * locale/programs/charmap-dir.c (charmap_readdir)
806 (fopen_uncompressed): Likewise.
807 * locale/programs/locfile.c (siblings_uncached)
808 (write_locale_data): Use lstat64 instead of lstat.
809 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
810 stat.
811
a3375d29
AJ
8122013-05-10 Andreas Jaeger <aj@suse.de>
813
814 [BZ #15395]
815 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
816 localization.
817 Include <locale.h>.
818
36129722
CD
8192013-05-09 Carlos O'Donell <carlos@redhat.com>
820
821 * elf/dl-close.c (_dl_close_worker): Add comments.
822
faa7f811
JM
8232013-05-09 Joseph Myers <joseph@codesourcery.com>
824
ed41ffef
JM
825 [BZ #15359]
826 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
827 high part of pi/2.
828 (__ieee754_rem_pio2l): Update comments.
829
d0213cd0
JM
830 [BZ #15429]
831 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
832 high part of pi/2.
833 (__ieee754_rem_pio2l): Update comments.
834
0d3e777a
JM
835 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
836 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
837
24f56066
JM
838 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
839 M_PI_4l.
840
faa7f811
JM
841 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
842 (M_PI_34_LOG10El): Likewise.
843 (M_PI2_LOG10El): Likewise.
844 (M_PI4_LOG10El): Likewise.
845 (M_PI_LOG10El): Likewise.
846
e9a5e0fd
AZ
8472013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
848
849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
850
d8cd06db
JM
8512013-05-08 Joseph Myers <joseph@codesourcery.com>
852
a0d9f9d7
JM
853 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
854 (MINUS_ZERO_INIT): Likewise.
855 (PLUS_INFTY_INIT): Likewise.
856 (MINUS_INFTY_INIT): Likewise.
857 (QNAN_VALUE_INIT): Likewise.
858 (MAX_VALUE_INIT): Likewise.
859 (MIN_VALUE_INIT): Likewise.
860 (MIN_SUBNORM_VALUE_INIT): Likewise.
861 (plus_zero): Initialize with PLUS_ZERO_INIT.
862 (minus_zero): Initialize with MINUS_ZERO_INIT.
863 (plus_infty): Initialize with PLUS_INFTY_INIT.
864 (minus_infty): Initialize with MINUS_INFTY_INIT.
865 (qnan_value): Initialize with QNAN_VALUE_INIT.
866 (max_value): Initialize with MAX_VALUE_INIT.
867 (min_value): Initialize with MIN_VALUE_INIT.
868 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
869
ae08db3b
JM
870 * math/libm-test.inc (RUN_TEST_if_f): New macro.
871 (jn_test): Use TEST_if_f instead of TEST_ff_f.
872 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
873 (yn_test): Use TEST_if_f instead of TEST_ff_f.
874
f44bf14a
JM
875 * math/libm-test.inc (RUN_TEST_f_f): New macro.
876 (RUN_TEST_2_f): Likewise.
877 (RUN_TEST_ff_f): Likewise.
878 (RUN_TEST_fi_f): Likewise.
879 (RUN_TEST_fl_f): Likewise.
880 (RUN_TEST_fff_f): Likewise.
881 (RUN_TEST_c_f): Likewise.
882 (RUN_TEST_f_f1): Likewise.
883 (RUN_TEST_fF_f1): Likewise.
884 (RUN_TEST_fI_f1): Likewise.
885 (RUN_TEST_ffI_f1): Likewise.
886 (RUN_TEST_c_c): Likewise.
887 (RUN_TEST_cc_c): Likewise.
888 (RUN_TEST_f_i): Likewise.
889 (RUN_TEST_f_i_tg): Likewise.
890 (RUN_TEST_ff_i_tg): Likewise.
891 (RUN_TEST_f_b): Likewise.
892 (RUN_TEST_f_b_tg): Likewise.
893 (RUN_TEST_f_l): Likewise.
894 (RUN_TEST_f_L): Likewise.
895 (RUN_TEST_sincos): Likewise.
896 * math/gen-libm-test.pl (new_test): Take new argument to indicate
897 whether to show exceptions. Do not include ");\n" in return
898 value.
899 (special_functions): Output call to RUN_TEST_sincos instead of
900 check_float calls. Update calls to new_test.
901 (parse_args): Output call to single RUN_TEST_* macro instead of
902 check_* calls and other assignments. Update calls to new_test.
903
d8cd06db
JM
904 [BZ #2546]
905 [BZ #2560]
906 [BZ #5159]
907 [BZ #15426]
908 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
909 input to result for tgamma overflow.
910 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
911 (gamma_coeff): New variable.
912 (NCOEFF): New macro.
913 (gamma_positive): New function.
914 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
915 underflow here. Use gamma_positive instead of exp (lgamma) for
916 other arguments.
917 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
918 (gamma_coeff): New variable.
919 (NCOEFF): New macro.
920 (gammaf_positive): New function.
921 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
922 underflow here. Use gamma_positive instead of exp (lgamma) for
923 other arguments.
924 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
925 (gamma_coeff): New variable.
926 (NCOEFF): New macro.
927 (gammal_positive): New function.
928 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
929 underflow here. Use gamma_positive instead of exp (lgamma) for
930 other arguments.
931 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
932 (gamma_coeff): New variable.
933 (NCOEFF): New macro.
934 (gammal_positive): New function.
935 (__ieee754_gammal_r): Handle positive infinity, overflow and
936 underflow here. Handle NaN the same as positive infinity. Remove
937 check x < 0xffffffff for negative integers. Use gamma_positive
938 instead of exp (lgamma) for other arguments.
939 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
940 (gamma_coeff): New variable.
941 (NCOEFF): New macro.
942 (gammal_positive): New function.
943 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
944 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
945 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
946 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
947 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
948 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
949 * sysdeps/generic/math_private.h (__gamma_productf): New
950 prototype.
951 (__gamma_product): Likewise.
952 (__gamma_productl): Likewise.
953 * math/Makefile (libm-calls): Add gamma_product.
954 * math/libm-test.inc (tgamma_test): Add more tests.
955 * sysdeps/i386/fpu/libm-test-ulps: Update.
956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
957
bb7cf681
OB
9582013-05-08 Ondřej Bílka <neleai@seznam.cz>
959
960 * benchtests/bench-skeleton.c (main): Preheat CPU.
961
ba853947
AJ
9622013-05-07 Aurelien Jarno <aurelien@aurel32.net>
963
964 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
965
8347c74c
RM
9662013-05-07 Roland McGrath <roland@hack.frob.com>
967
968 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
969 and _dl_skip_args_internal.
970
e8dd4791
CD
9712013-05-07 Carlos O'Donell <carlos@redhat.com>
972
973 * manual/message.texi (Message Translation): Talk about users.
974 Message to key mapping impacts design.
975
c7405830
RM
9762013-05-06 Roland McGrath <roland@hack.frob.com>
977
a9173057
RM
978 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
979
976e2f03
RM
980 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
981
9723ffc5
RM
982 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
983 * sysdeps/wordsize-64/glob64.c: ... here.
984
962e6658
RM
985 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
986 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
987 New macros.
988
ee586a6d
RM
989 * debug/getlogin_r_chk.c: Moved to ...
990 * login/getlogin_r_chk.c: ... here.
991 * debug/Makefile (routines): Move getlogin_r_chk to ...
992 * login/Makefile (routines): ... here.
993 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
994 * login/Versions (libc: GLIBC_2.4): ... here.
995
355f9165
RM
996 * io/poll.c (__poll): Renamed from poll.
997 Add libc_hidden_def.
998 (poll): Define as weak alias.
999
bd9ffde6
RM
1000 * debug/ptsname_r_chk.c: Moved to ...
1001 * login/ptsname_r_chk.c: ... here.
1002 * debug/Makefile (routines): Move ptsname_r_chk to ...
1003 * login/Makefile (routines): ... here.
1004 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1005 * login/Versions (libc: GLIBC_2.4): ... here.
1006
8fb16a04
RM
1007 * posix/getlogin.c: Moved to ...
1008 * login/getlogin.c: ... here.
1009 * posix/getlogin_r.c: Moved to ...
1010 * login/getlogin_r.c: ... here.
1011 * posix/getlogin_r.c: Moved to ...
1012 * login/getlogin_r.c: ... here.
1013 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1014 * login/Makefile (routines): ... here.
1015 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1016 * login/Versions (libc: GLIBC_2.0): ... here.
1017
b99b892f
RM
1018 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1019 (setrlimit): Define as weak alias.
1020
c7405830
RM
1021 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1022 Call __ names for open, ftruncate, and close.
1023 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1024 (truncate): Define as weak alias.
1025
5bf96de5
JM
10262013-05-06 Joseph Myers <joseph@codesourcery.com>
1027
9ea3513c
JM
1028 * math/gen-libm-test.pl (parse_args): Initialize x before each
1029 test of frexp, modf and remquo.
1030
5bf96de5
JM
1031 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1032 test signgam value.
1033
16e616a7
AZ
10342013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1035
1036 [BZ #15418]
1037 [BZ #15419]
1038 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1039 internal tests.
1040 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1041
d5e82754
RM
10422013-05-06 Roland McGrath <roland@hack.frob.com>
1043
1044 * elf/dl-writev.h: New file.
1045 * elf/dl-misc.c: Include it.
1046 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1047 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1048
a7548d41
JM
10492013-05-04 Joseph Myers <joseph@codesourcery.com>
1050
b7dab1e4
JM
1051 * math/libm-test.inc (noXFails): Remove variable.
1052 (noXPasses): Likewise.
1053 (BUILD_COMPLEX_INT): Remove macro.
1054 (print_screen): Remove xfail argument.
1055 (print_screen_max_error): Likewise.
1056 (update_stats): Likewise.
1057 (print_max_error): Likewise. Update calls to other affected
1058 functions.
1059 (print_complex_max_error): Likewise.
1060 (test_single_exception): Update calls to print_screen.
1061 (test_single_errno): Likewise.
1062 (check_float_internal): Remove xfail argument. Update calls to
1063 other affected functions.
1064 (check_float): Likewise.
1065 (check_complex): Likewise.
1066 (check_int): Likewise.
1067 (check_long): Likewise.
1068 (check_bool): Likewise.
1069 (check_longlong): Likewise.
1070 (main): Don't print noXFails and noXPasses.
1071 * math/gen-libm-test.pl (top level): Don't mention expected
1072 failure handling in comment.
1073 (new_test): Don't handle expected failures.
1074 (parse_args): Don't mention expected failure handling in comment.
1075 (generate_testfile): Don't handle expected failures.
1076 (parse_ulps): Likewise.
1077 (print_ulps_file): Likewise.
1078 (get_failure): Remove function.
1079 (output_test): Don't handle expected failures.
1080 * make/README.libm-test: Don't mention expected failure handling.
1081
a7548d41
JM
1082 * math/libm-test.inc (plus_zero): Make const. Add initializer.
1083 (minus_zero): Likewise.
1084 (plus_infty): Likewise.
1085 (minus_infty): Likewise.
1086 (qnan_value): Likewise.
1087 (max_value): Likewise.
1088 (min_value): Likewise.
1089 (min_subnorm_value): Likewise.
1090 (initialize): Do not initialize those variables dynamically.
1091
60bfd54c
RM
10922013-05-03 Roland McGrath <roland@hack.frob.com>
1093
cc0e6ed8
RM
1094 * io/open.c (__open_2): Moved to ...
1095 * io/open_2.c: ... this new file.
1096 * io/open64.c (__open64_2): Moved to ...
1097 * io/open64_2.c: ... this new file.
1098 * io/openat.c (__openat_2): Moved to ...
1099 * io/openat_2.c: ... this new file.
1100 * io/openat64.c (__openat64_2): Moved to ...
1101 * io/openat64_2.c: ... this new file.
1102 * io/Makefile (routines): Add them.
1103 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1104 * sysdeps/unix/sysv/linux/open_2.c: File removed.
1105 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1106 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1107 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1108 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1109 (__openat64): Add hidden_ver.
1110 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1111 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1112
60bfd54c
RM
1113 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1114 Separately conditionalize setting of GLRO(dl_sysinfo) so
1115 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1116 as well, but the actual setting is only under [NEED_DL_SYSINFO].
1117
83e7640f
AZ
11182013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1119
1120 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1121 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1122 definition.
1123 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1124 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1125 (_libc_vdso_platform_setup): Add __vdso_time initialization.
1126 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1127 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1128
d5dc2af3
JM
11292013-05-03 Joseph Myers <joseph@codesourcery.com>
1130
c31a5b1e
JM
1131 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1132 test signgam value.
1133
d5dc2af3
JM
1134 * math/libm-test.inc (hypot_test): Do not use
1135 IGNORE_ZERO_INF_SIGN.
1136
164fd39d
AJ
11372013-05-03 Andreas Jaeger <aj@suse.de>
1138
1139 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1140 Linux 3.9.
1141 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1142 (PF_MAX): Adjust for VSOCK change.
1143
8237f48c
AZ
11442013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1145
1146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1147
9df02941
CD
11482013-05-02 Carlos O'Donell <carlos@redhat.com>
1149
1150 [BZ #15264]
1151 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1152 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1153 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1154
d422395e
DM
11552013-05-02 David S. Miller <davem@davemloft.net>
1156
1157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1158
a07c5731
OB
11592013-05-01 Ondřej Bílka <neleai@seznam.cz>
1160
1161 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1162
1324e37f
RM
11632013-05-01 Roland McGrath <roland@hack.frob.com>
1164
1165 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1166
0695940b
RS
11672013-05-01 Richard Smith <richard@metafoo.co.uk>
1168
bb5f27ad 1169 [BZ #14952]
0695940b
RS
1170 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1171 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1172 Use __attribute__ ((__gnu_inline__)).
1173 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1174 Don't use __attribute__ ((__gnu_inline__)).
1175
10de07f5
JM
11762013-05-01 Joseph Myers <joseph@codesourcery.com>
1177
1178 [BZ #15423]
1179 * math/s_catan.c (__catan): Handle small real or imaginary part of
1180 input specially to avoid spurious underflow.
1181 * math/s_catanf.c (__catanf): Likewise.
1182 * math/s_catanh.c (__catanh): Likewise.
1183 * math/s_catanhf.c (__catanhf): Likewise.
1184 * math/s_catanhl.c (__catanhl): Likewise.
1185 * math/s_catanl.c (__catanl): Likewise.
1186 * math/libm-test.inc (catan_test): Add more tests.
1187 (catanh_test): Likewise.
1188 * sysdeps/i386/fpu/libm-test-ulps: Update.
1189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1190
cb4d5414
AZ
11912013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1192
1193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1194
caf84319
JM
11952013-04-30 Joseph Myers <joseph@codesourcery.com>
1196
1197 [BZ #15416]
1198 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1199 accurately for denominator in atan2.
1200 * math/s_catanf.c (__catanf): Likewise.
1201 * math/s_catanh.c (__catanh): Likewise.
1202 * math/s_catanhf.c (__catanhf): Likewise.
1203 * math/s_catanhl.c (__catanhl): Likewise.
1204 * math/s_catanl.c (__catanl): Likewise.
1205 * math/libm-test.inc (catan_test): Add more tests.
1206 (catanh_test): Likewise.
1207 * sysdeps/i386/fpu/libm-test-ulps: Update.
1208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1209
d569c6ee
SP
12102013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1211
6dbe713d
SP
1212 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1213
f0ee064b
SP
1214 * benchtests/Makefile (bench): Remove slow benchmarks.
1215 * benchtests/atan-inputs: Add slow benchmark inputs.
1216 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1217 (BENCH_FUNC): Accept variant offset.
1218 (VARIANT): Define.
1219 * benchtests/bench-skeleton.c (main): Run benchmark for each
1220 variant.
1221 * benchtests/cos-inputs: Add slow benchmark inputs.
1222 * benchtests/exp-inputs: Likewise.
1223 * benchtests/pow-inputs: Likewise.
1224 * benchtests/sin-inputs: Likewise.
1225 * benchtests/slowatan-inputs: Remove.
1226 * benchtests/slowatan.c: Remove.
1227 * benchtests/slowcos-inputs: Remove.
1228 * benchtests/slowcos.c: Remove.
1229 * benchtests/slowexp-inputs: Remove.
1230 * benchtests/slowexp.c: Remove.
1231 * benchtests/slowpow-inputs: Remove.
1232 * benchtests/slowpow.c: Remove.
1233 * benchtests/slowsin-inputs: Remove.
1234 * benchtests/slowsin.c: Remove.
1235 * benchtests/slowtan-inputs: Remove.
1236 * benchtests/slowtan.c: Remove.
1237 * benchtests/tan-inputs: Add slow benchmark inputs.
1238 * scripts/bench.pl: Parse comments and directives.
1239
d569c6ee
SP
1240 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1241 in CPPFLAGS.
1242 ($(objpfx)bench-%.c): Remove *-ITER.
1243 * benchtests/bench-modf.c: Remove definition of ITER.
1244 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1245 (main): Loop for DURATION seconds instead of fixed number of
1246 iterations.
1247 * scripts/bench.pl: Don't expect iterations in parameters.
1248
a6a242fe
RM
12492013-04-29 Roland McGrath <roland@hack.frob.com>
1250
1251 * io/fchdir.c (__fchdir): Renamed from fchdir.
1252 (fchdir): Define as weak alias.
1253
f2da7793
JM
12542013-04-29 Joseph Myers <joseph@codesourcery.com>
1255
1256 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1257 (ERRNO_EDOM): Likewise.
1258 (ERRNO_ERANGE): Likewise.
1259 (noErrnoTests): New variable.
1260 (init_max_error): Set errno to 0.
1261 (test_single_errno): New function.
1262 (test_errno): Likewise.
1263 (check_float_internal): Call test_errno. Set errno to 0.
1264 (check_complex): Refer to errno tests in comment.
1265 (check_int): Call test_errno. Set errno to 0.
1266 (check_long): Likewise.
1267 (check_bool): Likewise.
1268 (check_longlong): Likewise.
1269 (cos_test): Use ERRNO_* flags for errno tests instead of
1270 check_int.
1271 (expm1_test): Likewise.
1272 (fmod_test): Likewise.
1273 (ilogb_test): Likewise.
1274 (lgamma_test): Likewise.
1275 (pow_test): Likewise.
1276 (remainder_test): Likewise.
1277 (sin_test): Likewise.
1278 (tan_test): Likewise.
1279 (yn_test): Likewise.
1280 (initialize): Set errno to 0.
1281 (main): Print number of errno tests.
1282 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1283
b1a36ceb
AJ
12842013-04-29 Andreas Jaeger <aj@suse.de>
1285
c3ed8088
AJ
1286 [BZ #15084]
1287 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1288 and RES_USEVC.
1289
f1a24198
AJ
1290 [BZ #15085]
1291 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1292 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1293 unimplemented.
1294
9ce3b2cb
AJ
1295 [BZ #15380]
1296 * stdlib/random.c (__initstate): Return NULL if
1297 __initstate fails.
1298
f1a24198 1299 [BZ #15086]
b1a36ceb
AJ
1300 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1301 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1302 RES_SNGLKUPREOP.
1303
7e7b6f36
AZ
13042013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305
1306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1307
4d14f449
JM
13082013-04-29 Joseph Myers <joseph@codesourcery.com>
1309
1310 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1311 of individual tests.
1312 (casin_test): Likewise.
1313 (casinh_test): Likewise.
1314
5b4217d7
JM
13152013-04-27 Joseph Myers <joseph@codesourcery.com>
1316
1317 [BZ #15409]
1318 * math/s_catan.c (__catan): Handle arguments with large real or
1319 imaginary part separately without squaring.
1320 * math/s_catanf.c (__catanf): Likewise.
1321 * math/s_catanh.c (__catanh): Likewise.
1322 * math/s_catanhf.c (__catanhf): Likewise.
1323 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1324 and redefine.
1325 (__catanhl): Handle arguments with large real or imaginary part
1326 separately without squaring.
1327 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1328 and redefine.
1329 (__catanl): Handle arguments with large real or imaginary part
1330 separately without squaring.
1331 * math/libm-test.inc (catan_test): Add more tests.
1332 (catanh_test): Likewise.
1333 * sysdeps/i386/fpu/libm-test-ulps: Update.
1334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1335
4220c3ef
AJ
13362013-04-27 Andreas Jaeger <aj@suse.de>
1337
1338 [BZ #15007]
1339 * stdlib/stdlib.h: Update guards for qecvt.
1340 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1341 <stdlib.h>.
1342
4721b2d1
AM
13432013-04-27 Allan McRae <allan@archlinux.org>
1344
1345 * sysdeps/i386/fpu/libm-test-ulps: Update.
1346
f0302940
JM
13472013-04-26 Joseph Myers <joseph@codesourcery.com>
1348
9457fd95
JM
1349 [BZ #15406]
1350 * math/s_catan.c: Include <float.h>.
1351 (__catan): Ensure underflow exception occurs for underflowed
1352 result.
1353 * math/s_catanf.c: Include <float.h>.
1354 (__catanf): Ensure underflow exception occurs for underflowed
1355 result.
1356 * math/s_catanh.c: Include <float.h>.
1357 (__catanh): Ensure underflow exception occurs for underflowed
1358 result.
1359 * math/s_catanhf.c: Include <float.h>.
1360 (__catanhf): Ensure underflow exception occurs for underflowed
1361 result.
1362 * math/s_catanhl.c: Include <float.h>.
1363 (__catanhl): Ensure underflow exception occurs for underflowed
1364 result.
1365 * math/s_catanl.c: Include <float.h>.
1366 (__catanl): Ensure underflow exception occurs for underflowed
1367 result.
1368 * math/libm-test.inc (catan_test): Add more tests.
1369 (catanh_test): Likewise.
1370
f0302940
JM
1371 [BZ #15405]
1372 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1373 underflowed result.
1374 * math/s_ccoshf.c (__ccoshf): Likewise.
1375 * math/s_ccoshl.c (__ccoshl): Likewise.
1376 * math/s_csin.c (__csin): Likewise.
1377 * math/s_csinf.c (__csinf): Likewise.
1378 * math/s_csinh.c (__csinh): Likewise.
1379 * math/s_csinhf.c (__csinhf): Likewise.
1380 * math/s_csinhl.c (__csinhl): Likewise.
1381 * math/s_csinl.c (__csinl): Likewise.
1382 * math/libm-test.inc (ccos_test): Add more tests.
1383 (ccosh_test): Likewise.
1384 (csin_test): Likewise.
1385 (csinh_test): Likewise.
1386
aa630f59
AZ
13872013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388
1389 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1390 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1391 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1392 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1393 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1394 powerpc/power5+/fpu folders.
1395 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1396
1397
1b835983
MT
13982013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1399
1400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1401
73709b26
JM
14022013-04-25 Joseph Myers <joseph@codesourcery.com>
1403
1404 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1405 additions to variable.
1406 [$(config-machine) = x86_64] (modules-names): Likewise.
1407 ($(objpfx)tst-audit3): Remove dependency.
1408 ($(objpfx)tst-audit3.out): Likewise.
1409 ($(objpfx)tst-audit4): Likewise.
1410 ($(objpfx)tst-audit4.out): Likewise.
1411 ($(objpfx)tst-audit5): Likewise.
1412 ($(objpfx)tst-audit5.out): Likewise.
1413 ($(objpfx)tst-audit6): Likewise.
1414 ($(objpfx)tst-audit6.out): Likewise.
1415 ($(objpfx)tst-audit7): Likewise.
1416 ($(objpfx)tst-audit7.out): Likewise.
1417 (tst-audit3-ENV): Remove variable.
1418 (tst-audit4-ENV): Likewise.
1419 (tst-audit5-ENV): Likewise.
1420 (tst-audit6-ENV): Likewise.
1421 (tst-audit7-ENV): Likewise.
1422 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1423 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1424 addition to variable.
1425 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1426 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1427 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1428 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1429 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1430 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1431 tst-audit3, tst-audit4 and tst-audit5.
1432 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1433 tst-audit6 and tst-audit7.
1434 [$(subdir) = elf] (modules-names): Add audit modules for those
1435 tests.
1436 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1437 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1438 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1439 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1440 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1441 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1442 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1443 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1444 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1445 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1446 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1447 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1448 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1449 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1450 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1451 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1452 Likewise.
1453 [$(subdir) = elf && $(config-cflags-avx) = yes]
1454 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1455 [$(subdir) = elf && $(config-cflags-avx) = yes]
1456 (CFLAGS-tst-auditmod4a.c): Likewise.
1457 [$(subdir) = elf && $(config-cflags-avx) = yes]
1458 (CFLAGS-tst-auditmod4b.c): Likewise.
1459 [$(subdir) = elf && $(config-cflags-avx) = yes]
1460 (CFLAGS-tst-auditmod6b.c): Likewise.
1461 [$(subdir) = elf && $(config-cflags-avx) = yes]
1462 (CFLAGS-tst-auditmod6c.c): Likewise.
1463 [$(subdir) = elf && $(config-cflags-avx) = yes]
1464 (CFLAGS-tst-auditmod7b.c): Likewise.
1465 * elf/tst-audit3.c: Move to ...
1466 * sysdeps/x86_64/tst-audit3.c: ... here.
1467 * elf/tst-audit4.c: Move to ...
1468 * sysdeps/x86_64/tst-audit4.c: ... here.
1469 * elf/tst-audit5.c: Move to ...
1470 * sysdeps/x86_64/tst-audit5.c: ... here.
1471 * elf/tst-audit6.c: Move to ...
1472 * sysdeps/x86_64/tst-audit6.c: ... here.
1473 * elf/tst-audit7.c: Move to ...
1474 * sysdeps/x86_64/tst-audit7.c: ... here.
1475 * elf/tst-auditmod3a.c: Move to ...
1476 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1477 * elf/tst-auditmod3b.c: Move to ...
1478 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1479 * elf/tst-auditmod4a.c: Move to ...
1480 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1481 * elf/tst-auditmod4b.c: Move to ...
1482 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1483 * elf/tst-auditmod5a.c: Move to ...
1484 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1485 * elf/tst-auditmod5b.c: Move to ...
1486 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1487 * elf/tst-auditmod6a.c: Move to ...
1488 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1489 * elf/tst-auditmod6b.c: Move to ...
1490 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1491 * elf/tst-auditmod6c.c: Move to ...
1492 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1493 * elf/tst-auditmod7a.c: Move to ...
1494 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1495 * elf/tst-auditmod7b.c: Move to ...
1496 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1497
1ef74943
PP
14982013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1499
1500 [BZ #15366]
1501 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1502 define unconditionally.
1503 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1504 define unconditionally.
1505 (INT8_C, INT16_C, etc.): Likewise.
1506
93fd48c5
MR
15072013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1508
ae9552cf
MR
1509 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1510 __ehdr_start with hidden visibility.
1511
93fd48c5
MR
1512 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1513
418601aa
CD
15142013-04-24 Carlos O'Donell <carlos@redhat.com>
1515
1516 * math/libm-test.inc (cos_test): Use accurate hex constants.
1517 (sincost_test): Likewise.
1518
2f38fbfe
JM
15192013-04-24 Joseph Myers <joseph@codesourcery.com>
1520
5e221800
JM
1521 * math/libm-test.inc (catan_test): Add more tests.
1522 (catanh_test): Likewise.
1523
77f143fd
JM
1524 * math/s_catanf.c (__catanf): Use suffixed floating-point
1525 constants.
1526 * math/s_catanhf.c (__catanhf): Likewise.
1527 * math/s_catanhl.c (__catanhl): Likewise.
1528 * math/s_catanl.c (__catanl): Likewise.
1529
2f38fbfe
JM
1530 [BZ #15394]
1531 * math/s_catan.c (__catan): Calculate imaginary part of result
1532 with log1p not log unless computing log of number close to 0.
1533 * math/s_catanf.c (__catanf): Likewise.
1534 * math/s_catanl.c (__catanl): Likewise.
1535 * math/s_catanh.c (__catanh): Calculate real part of result with
1536 log1p not log unless computing log of number close to 0.
1537 * math/s_catanhf.c (__catanhf): Likewise.
1538 * math/s_catanhl.c (__catanhl): Likewise.
1539 * math/libm-test.inc (catan_test): Add more tests.
1540 (catanh_test): Likewise.
1541 * sysdeps/i386/fpu/libm-test-ulps: Update.
1542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1543
45d69176
SP
15442013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1545
1546 * benchtests/Makefile: Mention files in which fast and slow
1547 paths of math functions are implemented.
1548
87f51853
RM
15492013-04-23 Roland McGrath <roland@hack.frob.com>
1550
1551 * sysdeps/posix/timespec_get.c: New file.
1552
3c026539
AZ
15532013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1554
1555 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1556 POWER.
1557 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1558 for POWER.
1559 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1560 powerpc/power5/fpu folders.
1561 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1562 * benchtests/Makefile: Add modf testcase.
1563 * benchtests/bench-modf.c: New file: Benchmark test for mo
1564
ff491d14
SP
15652013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1566
1567 [BZ #14888]
1568 * time/Makefile (tests): Add tst-strptime-whitespace.
1569 * time/strptime_l.c (get_number): Use ISSPACE.
1570 (__strptime_internal): Likewise.
1571 * time/tst-strptime-whitespace.c: New test case.
1572
7ed3f4e8
AS
15732013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1574
1575 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1576 member.
1577 (_nss_files_init): Set it here.
1578
5c95f7b6
HC
15792013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1580
1581 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1582 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1583 unsigned.
1584
d34c9158
JBG
15852013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1586
1587 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1588
2169712d
SP
15892013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1590
1591 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1592 size just once.
1593
29c5de99
DM
15942013-04-21 David S. Miller <davem@davemloft.net>
1595
1596 * po/ru.po: Update Russion translation from translation project.
1597
ccdad15d
AC
15982013-04-17 Adam Conrad <adconrad@0c3.net>
1599
1600 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1601 and setfsgid.
1602
0f122b8d
CD
16032013-04-17 Carlos O'Donell <carlos@redhat.com>
1604
5c5b07da 1605 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 1606 * configure: Regenerate.
5c5b07da 1607 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
1608 Add example to error message.
1609 * sysdeps/i386/configure: Regenerate.
1610
037714dd
SP
16112013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1612
1613 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1614 slowtan.
1615 * benchtests/cos-inputs: New file.
1616 * benchtests/slowcos-inputs: New file.
1617 * benchtests/slowcos.c: New file.
1618 * benchtests/slowtan-inputs: New file.
1619 * benchtests/slowtan.c: New file.
1620 * benchtests/tan-inputs: New file.
1621
e913141d
RM
16222013-04-16 Roland McGrath <roland@hack.frob.com>
1623
1624 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1625 considered kosher.
1626
a2964074
SP
16272013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1628
4856bcd2
SP
1629 * benchtests/Makefile: Include cppflags-iterator.mk to add
1630 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1631
a2964074
SP
1632 * Makefile.in (bench-clean): New target.
1633 * benchtests/Makefile (bench-clean): Likewise.
1634
9fbf9aca
DH
16352013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1636
1637 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1638
207d1e2a
TS
16392013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1640
1641 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1642
306dfba9
AS
16432013-04-15 Andreas Schwab <schwab@suse.de>
1644
1645 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1647 * nscd/pwdcache.c (cache_addpw): Likewise.
1648 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1649 more than recsize.
1650
206a6699
SP
16512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1652
1653 * benchtests/Makefile (bench): Write all output to
1654 bench-out.tmp together.
1655
0582f6b3
AS
16562013-04-15 Andreas Schwab <schwab@suse.de>
1657
1658 * nscd/nscd.c (main): Don't fork again after closing files.
1659
acb4325f
SP
16602013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1661
5cb26d0a
SP
1662 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1663
acb4325f
SP
1664 * benchtests/Rules (bench-deps): Collect dependencies into a
1665 single variable. Add Makefile to dependencies.
1666 ($(objpfx)bench-%.c): Depend on bench-deps.
1667
47792506
RM
16682013-04-12 Roland McGrath <roland@hack.frob.com>
1669 Xavier Roche <roche+kml2@exalead.com>
1670
1671 [BZ #15361]
1672 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1673 just that it's a file descriptor.
1674 * manual/llio.texi (Synchronizing AIO Operations): Update description
1675 for EBADF error from aio_fsync.
1676
8fc1bee5
SP
16772013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1678
1679 * Rules (bench): Move target definition...
1680 * benchtests/Makefile: ... here.
1681
aba5e333
CD
16822013-04-11 Carlos O'Donell <carlos@redhat.com>
1683
1684 * math/libm-test.inc (cos_test): Fix PI/2 test.
1685 (sincos_test): Likewise.
1686 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1687 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1688
273cdee8
AS
16892013-04-11 Andreas Schwab <schwab@suse.de>
1690
6ecec3b6
AS
1691 [BZ #13988]
1692 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1693 accept exponent character only when digits were seen.
1694 * stdio-common/Makefile (tests): Add bug26.
1695 * stdio-common/bug26.c: New file.
1696
273cdee8
AS
1697 [BZ #14293]
1698 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1699 non-freeable.
1700
8da491f5
SP
17012013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1702
01dc6df9
SP
1703 * Makeconfig (rtld-prefix): Define built linker prefix.
1704 * Rules (run-bench): Use it.
1705 * math/Makefile (run-regen-ulps): Likewise.
1706
8da491f5
SP
1707 * Rules (bench): Remove eval.
1708
abe7f530
SP
17092013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1710 Roland McGrath <roland@hack.frob.com>
1711 Ondrej Bilka <neleai@seznam.cz>
1712
1713 [BZ #15346]
1714 * time/getdate.c: Include ctype.h and alloca.h.
1715 (__getdate_r): Trim leading and trailing spaces of input.
1716 * time/tst-getdate.c (tests): Add tests with leading and
1717 trailing spaces.
1718
61c23e62
RM
17192013-04-08 Roland McGrath <roland@hack.frob.com>
1720
1721 [BZ #14280]
1722 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1723 when computing value.
1724
7208a313
CD
17252013-04-06 Carlos O'Donell <carlos@redhat.com>
1726
085b2d41
CD
1727 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1728 Use testrun.sh to run libm tests.
1729
7208a313
CD
1730 [BZ #15309]
1731 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1732
872c0acd
MM
17332013-04-06 Marko Myllynen <myllynen@redhat.com>
1734
1735 [BZ #15264]
1736 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1737
26510bdd
CD
17382013-04-06 Carlos O'Donell <carlos@redhat.com>
1739
1740 * Makefile.in (regen-ulps): New target.
1741 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1742 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1743 [ifneq (no,$(PERL)] (regen-ulps): New target.
1744 [ifeq (no,$(PERL)] (regen-ulps): New target.
1745 * math/libm-test.inc (ulps_file_name): Define.
1746 (output_dir): New variable.
1747 (options): Add "output-dir" option.
1748 (parse_opt): Handle 'o' case.
1749 (main): If output_dir is non-NULL use it as a prefix
1750 otherwise use "".
1751 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1752
a01f19c8
CD
17532013-04-06 Carlos O'Donell <carlos@redhat.com>
1754
1755 [BZ #10060, #10062]
1756 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1757 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1758 fail configure if __sync_val_compare_and_swap is not inlined.
1759 * sysdeps/i386/configure: Regenerate.
1760 * configure.in: Build for i686 when configured for i386.
1761 * configure: Regenerate.
1762 * README: Remove i386 reference.
1763
b7a329a5
CD
17642013-04-06 Carlos O'Donell <carlos@redhat.com>
1765
1766 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1767 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1768
bf0f50df
TS
17692013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1770
ee091edf
TS
1771 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1772 (lmsnanval): New variables.
1773 (F): Add conversion tests.
1774 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1775 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1776
a8b792d6
TS
1777 * stdio-common/tstdiomisc.c (F): Properly collect individual
1778 tests' results.
1779
a1cbf437
TS
1780 [BZ #14686, #15336]
1781 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1782 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1783 Instead, use input NaN values or generate a qNaN by arithmetic
1784 operation. Also fix bugs to comply with the standard.
1785 * math/libm-test.inc (remainder_test): Add more tests.
1786
8b43a0c9
TS
1787 [BZ #15335, #15342]
1788 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1789 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1790 input NaN values or generate a qNaN by arithmetic operation.
1791
d91da4ce
TS
1792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1793 unreachable code.
1794
bf0f50df
TS
1795 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1796 definitions.
1797
05e166c8
JM
17982013-04-03 Joseph Myers <joseph@codesourcery.com>
1799
1800 [BZ #14478]
1801 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1802 underflowed result.
1803 * math/s_cexpf.c (__cexpf): Likewise.
1804 * math/s_cexpl.c (__cexpl): Likewise.
1805 * math/libm-test.inc (cexp_test): Add more tests.
1806
1cef1b19
AS
18072013-04-03 Andreas Schwab <schwab@suse.de>
1808
1809 [BZ #15330]
1810 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1811 order arrays from heap if bigger than alloca cutoff.
1812
74d87055
TS
18132013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1814
1815 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1816 (SNAN_TESTS_double): Refer to GCC PR56831.
1817 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1818 GCC PR56828.
1819
d755bba4
SP
18202013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1821
90d5d5bb
SP
1822 * Rules (bench): Move bench.out after the run is complete.
1823
73e0cd5d
SP
1824 * Rules (bench): Echo currently running benchmark.
1825
64aabd4b
SP
1826 * benchtests/Makefile (bench): Add atan and slowatan.
1827 * benchtests/atan-inputs: New file.
1828 * benchtests/slowatan-inputs: New file.
1829 * benchtests/slowatan.c: New file.
1830
c871eccd
SP
1831 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1833 its value.
1834
d755bba4
SP
1835 [BZ #15305]
1836 * sysdeps/unix/sysv/linux/kernel-features.h
1837 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1838 __ASSUME_XFS_RESTRICTED_CHOWN.
1839 * sysdeps/unix/sysv/linux/pathconf.c
1840 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1841 Save and restore errno.
1842
52ce4860
JM
18432013-04-02 Joseph Myers <joseph@codesourcery.com>
1844
1845 [BZ #15327]
1846 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1847 arguments using __kernel_casinh.
1848 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1849 arguments using __kernel_casinhf.
1850 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1851 arguments using __kernel_casinhl.
1852 * math/libm-test.inc (cacosh_test): Add more tests.
1853 * sysdeps/i386/fpu/libm-test-ulps: Update.
1854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1855
81f311c2
SP
18562013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1857
e7906a47
SP
1858 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1859 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1860
92e3664b
SP
1861 * bench/Makefile (bench): Add sin and slowsin.
1862 * benchtests/sin-inputs: New file.
1863 * benchtests/slowsin-inputs: New file.
1864 * benchtests/slowsin.c: New file.
1865
81f311c2
SP
1866 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1867 (bench): Add slowexp and slowpow.
1868 (exp-ITER): Increase iterations.
1869 (pow-ITER): Likewise.
1870 * benchtests/exp-inputs: Change input.
1871 * benchtests/pow-inputs: Likewise.
1872 * benchtests/slowexp-inputs: New file.
1873 * benchtests/slowexp.c: New file.
1874 * benchtests/slowpow-inputs: New file.
1875 * benchtests/slowpow.c: New file.
1876
ab0f1aa9
AZ
18772013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1878
1879 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1880 instructions.
1881 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1882 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1883 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1884 * benchtests/Makefile: Add rint benchtest.
1885 * benchtests/rint-inputs: Input for rint benchtest.
1886
57267616
TS
18872013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1888
1889 * Versions.def (libm): Add GLIBC_2.18.
1890 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1891 hidden libm prototypes.
1892 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1893 * math/Makefile (libm-calls): Add s_issignaling.
1894 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1895 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1896 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1897 declaration.
1898 * math/math.h [__USE_GNU] (issignaling): New macro.
1899 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1900 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1902 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1905 * manual/arith.texi (issignaling): New section.
1906 * manual/libm-err-tab.pl (@all_functions): Update comment.
1907 * math/gen-libm-test.pl (parse_args): Apply special handling for
1908 issignaling.
1909 * math/libm-test.inc (print_float, issignaling_test): New
1910 functions.
1911 (check_float_internal): Add issignaling checks.
1912 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1913 default definition.
1914 * sysdeps/powerpc/math-tests.h: New file.
1915 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1916 tests.
1917 * math/test-snan.c (TEST_FUNC): Likewise.
1918
6142896d
DM
19192013-03-30 David S. Miller <davem@davemloft.net>
1920
1921 * po/de.po: Update from translation team.
1922
ccc8cadf
JM
19232013-03-30 Joseph Myers <joseph@codesourcery.com>
1924
1925 [BZ #10357]
1926 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1927 imaginary part less than 1.0 and real part less than 0.5
1928 specially.
1929 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1930 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1931 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1932 (cacos_test): Add more tests.
1933 (casin_test): Likewise.
1934 (casinh_test): Likewise.
1935 * sysdeps/i386/fpu/libm-test-ulps: Update.
1936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1937
0f6a8d4b
SP
19382013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1939
0d1029de
SP
1940 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1941 ONE with its value.
1942
c2d94018
SP
1943 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1944 (__pow_mp): Replace ONE and MONE with their values.
1945 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1946 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1947 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1948 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1949 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1950 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1951
27ec37f1
SP
1952 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1953
a64d7e0e
SP
1954 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1955 (__pow_mp): Replace ZERO and MZERO with their values.
1956 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1957 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1958 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1960 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1961 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1962 (__sqr): Likewise.
1963
d26dd3eb
SP
1964 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1965
0f6a8d4b
SP
1966 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1967
e57b0c61
RM
19682013-03-28 Roland McGrath <roland@hack.frob.com>
1969
1970 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1971 Declare with __attribute__ ((weak)).
1972 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1973 Call __call_tls_dtors only if it's not NULL.
1974
356b3480
RM
19752013-03-28 Roland McGrath <roland@hack.frob.com>
1976
288f7d79
RM
1977 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1978 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1979 magic __ehdr_start linker symbol if it's defined.
1980 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1981 them up here if it was already done.
1982
dc0a0263
RM
1983 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1984 (_dl_aux_init): Use const in cast when setting it.
1985 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1986 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1987 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1988
3d3436ae
RM
1989 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1990 Declare them here.
1991 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1992 * csu/libc-tls.c: Nor here.
1993 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1994
356b3480
RM
1995 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1996 (__libc_message): Never call vsyslog.
1997
b0f1246a
AM
19982013-03-28 Alan Modra <amodra@gmail.com>
1999
2000 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2001 Define as empty.
2002 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2003 Likewise.
2004
fbbe2b9a
AZ
20052013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2006
2007 [BZ #15214]
2008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2009 underflow.
2010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2011
1728ab37
SP
20122013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2013
7a86be6e
SP
2014 [BZ #15304]
2015 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2016 Don't add gid passed as argument.
2017
1728ab37
SP
2018 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2019
3a7182a1
JM
20202013-03-27 Joseph Myers <joseph@codesourcery.com>
2021
2022 [BZ #15307]
2023 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2024 imaginary part between 1.0 and 1.5 and real part less than 0.5
2025 specially.
2026 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2027 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2028 * math/libm-test.inc (cacos_test): Add more tests.
2029 (casin_test): Likewise.
2030 (casinh_test): Likewise.
2031 * sysdeps/i386/fpu/libm-test-ulps: Update.
2032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2033
6f2e90e7
SP
20342013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2035
5739f705
SP
2036 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2037 constants.
2038 (norm): Likewise.
2039 (denorm): Likewise.
2040 (__dbl_mp): Likewise.
2041 (add_magnitudes): Likewise.
2042 (sub_magnitudes): Likewise.
2043 (__add): Likewise.
2044 (__sub): Likewise.
2045 (__mul): Likewise.
2046 (__sqr): Likewise.
2047 (__inv): Likewise.
2048 (__dvd): Likewise.
2049
e375e83d
SP
2050 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2051 commented code.
2052 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2053 (__dubcos): Likewise.
2054 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2055 (__ieee754_acos): Likewise.
2056 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2057 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2058 (__exp1): Likewise.
2059 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2060 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2061 (log1): Likewise.
2062 (my_log2): Likewise.
2063 (checkint): Likewise.
2064 * sysdeps/ieee754/dbl-64/e_remainder.c
2065 (__ieee754_remainder): Likewise.
2066 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2067 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2068 (bsloww): Likewise.
2069 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2070
6f2e90e7
SP
2071 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2072 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2073 MANTISSA_STORE_T to store computations on mantissa. Use
2074 macros for rounding and division.
2075 (denorm): Likewise.
2076 (__dbl_mp): Likewise.
2077 (add_magnitudes): Likewise.
2078 (sub_magnitudes): Likewise.
2079 (__mul): Likewise.
2080 (__sqr): Likewise.
2081 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2082 powers of two in terms of TWOPOW macro.
2083 (mp_no): Make type of mantissa as MANTISSA_T.
2084 [!RADIXI]: Define RADIXI.
2085 [!TWO52]: Define TWO52.
2086 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2087
fce14d4e
AZ
20882013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2089
2090 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2091 llroundl symbol when building for PPC32.
2092
9ad027fb
MW
20932013-03-24 Mark H Weaver <mhw@netris.org>
2094
2095 * manual/arith.texi (Normalization Functions): Fix prototypes for
2096 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2097
e42a38dd
AZ
20982013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2099
2100 [BZ #13889]
2101 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2102 high value to check if expl overflow.
2103 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2104 to check for underflow and overflow.
2105 * math/libm-test.inc: Add exp test.
2106
2e0fb521
DL
21072013-03-21 Dmitry V. Levin <ldv@altlinux.org>
2108
2109 [BZ #11120]
2110 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2111 with NOT_IN_libc.
2112
b5784d95
AZ
21132013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2114
2115 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2116 symbol.
2117
5aa4a1a1
TS
21182013-03-21 Thomas Schwinge <thomas@codesourcery.com>
2119
bdef0be7
TS
2120 * math/gen-libm-test.pl (parse_args, special_functions): Properly
2121 wrap blocks consisting of several statements.
2122
5aa4a1a1
TS
2123 * sysdeps/generic/math-tests.h: New file.
2124 * sysdeps/i386/fpu/math-tests.h: Likewise.
2125 * math/test-snan.c: Include it.
2126 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2127
98c48fe5
JM
21282013-03-21 Joseph Myers <joseph@codesourcery.com>
2129
2130 [BZ #15285]
2131 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2132 (__ieee754_j0l): Do not improve calculations using cos of twice
2133 input for inputs above LDBL_MAX / 2.0L.
2134 (__ieee754_y0l): Likewise.
2135 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2136 (__ieee754_j1l): Do not improve calculations using cos of twice
2137 input for inputs above LDBL_MAX / 2.0L.
2138 (__ieee754_y1l): Likewise.
2139 * math/libm-test.inc (j0_test): Add another test.
2140 (j1_test): Likewise.
2141 (y0_test): Likewise.
2142 (y1_test): Likewise.
2143 * sysdeps/i386/fpu/libm-test-ulps: Update.
2144
3775a8bc
SP
21452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2146
2147 * Rules ($(objpfx)bench-%.c): Include code from a C source
2148 file.
2149
0a1b2ae6
JM
21502013-03-21 Joseph Myers <joseph@codesourcery.com>
2151
2152 [BZ #15287]
2153 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2154 imaginary part 1.0 and real part less than 0.5 specially.
2155 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2156 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2157 * math/libm-test.inc (cacos_test): Add more tests.
2158 (casin_test): Likewise.
2159 (casinh_test): Likewise.
2160 * sysdeps/i386/fpu/libm-test-ulps: Update.
2161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2162
b33d4ce4
SP
21632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2164
2165 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2166 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2167
bef0b507
JM
21682013-03-20 Joseph Myers <joseph@codesourcery.com>
2169
2170 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2171 * config.make.in (config-cflags-sse4): Remove variable.
2172 (config-cflags-avx): Likewise.
2173 (config-cflags-sse2avx): Likewise.
2174 (config-cflags-novzeroupper): Likewise.
2175 (config-asflags-i686): Likewise.
2176 (have-mfma4): Likewise.
2177 (have-as-vis3): Likewise.
2178 (MIG): Likewise.
2179 * configure.in (MIG): Do not AC_SUBST.
2180 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2181 (libc_cv_cc_sse4): Do not AC_SUBST.
2182 (libc_cv_cc_avx): Likewise.
2183 (libc_cv_cc_sse2avx): Likewise.
2184 (libc_cv_cc_novzeroupper): Likewise.
2185 (libc_cv_cc_fma4): Likewise.
2186 (libc_cv_as_i686): Likewise.
2187 (libc_cv_sparc_as_vis3): Likewise.
2188 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2189 LIBC_CONFIG_VAR.
2190 (config-asflags-i686): Likewise.
2191 (config-cflags-avx): Likewise.
2192 (config-cflags-sse2avx): Likewise.
2193 (have-mfma4): Likewise.
2194 (config-cflags-novzeroupper): Likewise.
2195 * sysdeps/mach/configure.in (MIG): Likewise.
2196 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2197 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2198 LIBC_CONFIG_VAR.
2199 (config-cflags-avx): Likewise.
2200 (config-cflags-sse2avx): Likewise.
2201 (have-mfma4): Likewise.
2202 (config-cflags-novzeroupper): Likewise.
2203 * configure: Regenerated.
2204 * sysdeps/i386/configure: Likewise.
2205 * sysdeps/mach/configure: Likewise.
2206 * sysdeps/sparc/configure: Likewise.
2207 * sysdeps/x86_64/configure: Likewise.
2208
912cc4b3
RM
22092013-03-20 Roland McGrath <roland@hack.frob.com>
2210
2211 [BZ #14812]
2212 * locale/programs/localedef.c (options): Put N_ translation marker
2213 on argument names, not just descriptions.
2214
04eed2b0
MS
22152013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2216
2217 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2218
a065ceff
OB
22192013-03-20 Ondřej Bílka <neleai@seznam.cz>
2220
9bb2a810 2221 [BZ #14176]
a065ceff
OB
2222 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2223
a600e5ce
RM
22242013-03-19 Roland McGrath <roland@hack.frob.com>
2225
2226 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2227 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2228 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2229 [!BEFORE_ABORT] (before_abort): New function.
2230 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2231 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2232 (writev_for_fatal): New function.
2233 (WRITEV_FOR_FATAL): New macro; call that.
2234 (backtrace_and_maps): New function.
2235 (BEFORE_ABORT): New macro; call that.
2236 (struct str_list): Type removed.
2237 (__libc_message, __libc_fatal): Functions removed.
2238 Include <sysdeps/posix/libc_fatal.c> instead.
2239
6b18bea6
JM
22402013-03-19 Joseph Myers <joseph@codesourcery.com>
2241
2242 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2243 constants.
2244 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2245 double constants.
2246
aaa8cb4b
AS
22472013-03-19 Andreas Schwab <schwab@suse.de>
2248
44673770
AS
2249 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2250 * sysdeps/gnu/configure: Regenerate.
2251
aaa8cb4b
AS
2252 * configure.in: Substitute libc_cv_rtlddir.
2253 * configure: Regenerate.
2254 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2255 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2256 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2257 * elf/Makefile (install-others, CFLAGS-interp.c)
2258 (ldso_install, common-ldd-rewrite): Likewise.
2259 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2260 $(inst_slibdir)/$(rtld-installed-name).
2261 * scripts/rellns-sh: Add -p option.
2262 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2263 for source.
2264
d3cfc668
SP
22652013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2266
2267 * manual/nptl.texi: Renamed to ...
2268 * manual/threads.texi: ... this.
2269 * manual/Makefile (chapters): Update.
2270
0e2b9cdd
RM
22712013-03-18 Roland McGrath <roland@hack.frob.com>
2272
2273 [BZ #14812]
2274 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2275 on argument names, not just descriptions.
0e2b9cdd
RM
2276 * malloc/memusagestat.c (options): Likewise.
2277 * nss/getent.c (options): Likewise.
63270c24
RM
2278
22792013-03-18 Benno Schulenberg <bensberg@justemail.net>
2280
2281 [BZ #14812]
2282 * iconv/iconv_prog.c (options): Put N_ translation marker
2283 on argument names, not just descriptions.
2284 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 2285
b2e1393c
OB
22862013-03-18 Ondrej Bilka <neleai@seznam.cz>
2287
2288 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2289 implementation which is faster on all x86_64 architectures.
2290 Tested on AMD, Intel Nehalem, SNB, IVB.
2291 * sysdeps/x86_64/strnlen.S: Likewise.
2292
2293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2294 Remove all multiarch strlen and strnlen versions.
2295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2296 Remove strlen and strnlen related parts.
2297
2298 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2299 Inline strlen part.
2300 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2301
2302 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2303 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2304 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2305 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2306 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2307 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2308
ec4ff04d
CD
23092013-03-17 Carlos O'Donell <carlos@redhat.com>
2310
2311 * manual/memory.texi (Malloc Tunable Parameters):
2312 Sort parameters alphabetically. Add comments for missing entries.
2313
cd18e90a
DM
23142013-03-17 David S. Miller <davem@davemloft.net>
2315
2316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2317
2a185d32
JM
23182013-03-16 Joseph Myers <joseph@codesourcery.com>
2319
d2f9799e
JM
2320 [BZ #15283]
2321 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2322 for arguments at most half maximum finite value.
2323 * math/libm-test.inc (j0_test): Add more tests.
2324 (j1_test): Likewise.
2325 (y0_test): Likewise.
2326 (y1_test): Likewise.
2327 * sysdeps/i386/fpu/libm-test-ulps: Update.
2328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2329
2a185d32
JM
2330 [BZ #14155]
2331 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2332 1 / x and functions P and Q for arguments above 0x1p256L.
2333 (__ieee754_y0l): Likewise.
2334 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2335 (__ieee754_y1l): Likewise.
2336 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2337 (j1_test): Likewise.
2338 (y0_test): Likewise.
2339 (y1_test): Likewise.
2340
6cbec759
TS
23412013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2342
2343 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2344 variable.
2345
bc16e260
RM
23462013-03-15 Roland McGrath <roland@hack.frob.com>
2347
aefc9b8c
RM
2348 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2349 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2350 zero since it's initialized to EXEC_PAGESIZE.
2351
bc16e260
RM
2352 * sysdeps/unix/sysv/linux/ldsodefs.h
2353 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2354 * sysdeps/generic/ldsodefs.h: ... here.
2355
a57da955
TS
23562013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2357
af00a34d
TS
2358 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2359
495ded2c
TS
2360 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2361 math/test-snan.c.
2362 * math/test-snan.c: Renamed from
2363 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2364 * math/Makefile (tests): Add test-snan.
2365 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2366 test-powerpc-snan.
2367
777b0332
TS
2368 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2369 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2370 functions.
2371 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2372 __builtin_nan family of functions.
2373 * math/libm-test.inc (initialize): Initialize qnan_value with
2374 __builtin_nan family of functions.
2375 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2376 Remove variables.
2377 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2378 Remove functions.
2379 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2380 storage class. Initialize qNaN_var and sNaN_var with
2381 __builtin_nan and __builtin_nans families of functions,
2382 respectively.
2383
64d063b8
TS
2384 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2385 (sqrt_test): Remove duplicate test with qNaN input.
2386 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2387 (round_test, signbit_test, significand_test): Note missing +/-Inf
2388 as well as qNaN tests.
2389
67e971f1
TS
2390 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2391 qNaN_var. Fix a few strings, too.
2392 * math/libm-test.inc (nan_value): Rename to qnan_value.
2393 * math/gen-libm-test.pl (%beautify): Adjust to that.
2394 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2395 * math/test-misc.c (main): Likewise.
2396 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2397 to __qnan_bytes, and __qnan_union, respectively.
2398 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2399 Likewise.
2400 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2401 and lqnanval, respectively.
2402 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2403 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2404 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2405 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2406
64487e12
TS
2407 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2408 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2409 doubles.
2410
e015e27b
TS
2411 * math/test-misc.c (main): Fix copy'n'pastos.
2412 * misc/tst-efgcvt.c (special): Likewise.
2413
a57da955
TS
2414 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2415 Remove declarations.
2416
1e380345
SP
24172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2418
2419 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2420 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2421 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2422 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2423
ef26eece
AZ
24242013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2425
2426 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2427 macro to return vdso values correctly in IFUNC implementations.
2428 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2429 Optimization by using IFUNC.
2430
8cfdb7e0
SP
24312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2432 Richard Henderson <rth@redhat.com>
2433 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2434
2435 * Makefile.in (bench): New target.
2436 * NEWS: Mention the benchmark framework.
2437 * Rules (bench): Likewise.
2438 (binaries-bench): Generate binaries for functions to
2439 benchmark.
2440 * benchtests/Makefile: New makefile for benchmark tests.
2441 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2442 programs.
2443 * benchtests/exp-inputs: New input file for EXP function.
2444 * benchtests/pow-inputs: New input file for POW function.
2445 * scripts/bench.pl: New script to generate source files for
2446 benchmark programs.
2447
bcda9880
SP
24482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2449
d22ca8cd
SP
2450 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2451 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2452 computations on mantissa. Use macros for rounding and
2453 division.
2454 (denorm): Likewise.
2455 (__dbl_mp): Likewise.
2456 (add_magnitudes): Likewise.
2457 (sub_magnitudes): Likewise.
2458 (__mul): Likewise.
2459 (__sqr): Likewise.
2460 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2461 powers of two in terms of TWOPOW macro.
2462 (mp_no): Make type of mantissa as MANTISSA_T.
2463 [!RADIXI]: Define RADIXI.
2464 [!TWO52]: Define TWO52.
2465 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2466
bcda9880
SP
2467 * manual/nptl.texi (cindex): Modify threads to pthreads.
2468
06d5adfb
JM
24692013-03-15 Joseph Myers <joseph@codesourcery.com>
2470
2471 * sysdeps/x86_64/preconfigure: Regenerated.
2472
41c7328e
JM
24732013-03-14 Joseph Myers <joseph@codesourcery.com>
2474
2475 [BZ #14155]
2476 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2477 0x1p28 and above.
2478 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2479 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2480 0x1p28 and above.
2481 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2482 * math/libm-test.inc (j0_test): Do not allow one spurious
2483 underflow exception.
2484 (y1_test): Likewise.
2485
e25cfa60
SP
24862013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2487
0409959c
SP
2488 * manual/Makefile (chapters): Add nptl.
2489 * manual/debug.texi (Debugging Support): Add link to Threads
2490 chapter.
2491 * manual/nptl.texi: New file.
2492
e25cfa60
SP
2493 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2494
58a1335e
PB
24952013-03-14 Petr Baudis <pasky@ucw.cz>
2496
2497 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2498 for non-NULL pointer before the memory validity test. Pointed
2499 out by Holger Brunck <holger.brunck@keymile.com>.
2500
9dc7c64f
AS
25012013-03-13 Andreas Schwab <schwab@suse.de>
2502
2503 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2504 instead of .os.
2505
54206aa6
JM
25062013-03-13 Joseph Myers <joseph@codesourcery.com>
2507
2508 * timezone/zic.c: Update from tzcode 2013b.
2509
e98cdb38
CD
25102013-03-12 Carlos O'Donell <carlos@redhat.com>
2511
2512 * manual/install.texi (Configuring and compiling):
2513 Mention i686 and i586.
2514 * INSTALL: Regenerate.
2515
9967e003
RM
25162013-03-12 Roland McGrath <roland@hack.frob.com>
2517
2518 * sysdeps/init_array/elf-init.c: New file.
2519 * csu/elf-init.c
2520 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2521 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2522
2523 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2524 __gmon_start__ as global, but as static with a .preinit_array pointer.
2525 * sysdeps/init_array/gmon-start.c: New file. Use that.
2526 * sysdeps/init_array/crti.S: New file, empty except for comments.
2527 * sysdeps/init_array/crtn.S: Likewise.
2528
e6b5a293 25292013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2530
2531 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2532 definining bcopy.
80f844c9
OB
2533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2534 Remove Prefer_SSE_for_memop.
2535 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2536 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2537 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2539 memset-x86-64.
80f844c9 2540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2541 Remove bzero, memset ifunc support.
80f844c9
OB
2542 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2543 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2544 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2545 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2546
fb6b0fcb
AS
25472013-03-11 Andreas Schwab <schwab@suse.de>
2548
2549 [BZ #15234]
2550 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2551 by SHLIB_COMPAT.
2552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2553 (GLIBC_2.16): Remove pthread_atfork.
2554
3e6bd4b1
PP
25552013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2556
2557 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2558 (ptestcases.h): Likewise.
2559
222d7f00
RM
25602013-03-08 Roland McGrath <roland@hack.frob.com>
2561
2562 * Makeconfig ($(common-objpfx)config.status): Depend on
2563 sysdeps/*/preconfigure{,.in} too.
2564
1ba4f030
JM
25652013-03-08 Joseph Myers <joseph@codesourcery.com>
2566
a222d91a
JM
2567 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2568 (__free_hook): Use void * instead of __malloc_ptr_t.
2569 (__malloc_hook): Likewise.
2570 (__realloc_hook): Likewise.
2571 (__memalign_hook): Likewise.
2572 (__after_morecore_hook): Likewise.
2573 * malloc/arena.c (save_malloc_hook): Likewise.
2574 (save_free_hook): Likewise.
2575 * malloc/hooks.c (malloc_hook_ini): Likewise.
2576 (realloc_hook_ini): Likewise.
2577 (memalign_hook_ini): Likewise.
2578 * malloc/malloc.c (malloc_hook_ini): Likewise.
2579 (realloc_hook_ini): Likewise.
2580 (memalign_hook_ini): Likewise.
2581 (__free_hook): Likewise.
2582 (__malloc_hook): Likewise.
2583 (__realloc_hook): Likewise.
2584 (__memalign_hook): Likewise.
2585 (__libc_malloc): Likewise.
2586 (__libc_free): Likewise.
2587 (__libc_realloc): Likewise.
2588 (__libc_memalign): Likewise.
2589 (__libc_valloc): Likewise.
2590 (__libc_pvalloc): Likewise.
2591 (__libc_calloc): Likewise.
2592 (__posix_memalign): Likewise.
2593 * malloc/morecore.c (__sbrk): Likewise.
2594 (__default_morecore): Likewise.
2595
5cc45e10
JM
2596 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2597
dd54b864
JM
2598 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2599 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2600 __malloc_ptrdiff_t.
2601
1ba4f030
JM
2602 * malloc/malloc.h (__malloc_size_t): Remove macro.
2603 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2604 __malloc_size_t.
2605 (old_memalign_hook): Likewise.
2606 (old_realloc_hook): Likewise.
2607 (struct hdr): Likewise.
2608 (flood): Likewise.
2609 (mallochook): Likewise.
2610 (memalignhook): Likewise.
2611 (reallochook): Likewise.
2612 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2613 (tr_old_realloc_hook): Likewise.
2614 (tr_old_memalign_hook): Likewise.
2615 (tr_mallochook): Likewise.
2616 (tr_reallochook): Likewise.
2617 (tr_memalignhook): Likewise.
2618
edf66e57
AZ
26192013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2620
2621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2622 default_ldbl_pack and using as default implementation.
2623 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2624 implementation.
2625 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2626 redundant definition.
2627 (ldbl_insert_mantissa): Likewise.
2628 (ldbl_canonicalize): Likewise.
2629 (ldbl_nearbyint): Likewise.
2630 (ldbl_pack): Rename to ldbl_pack_ppc.
2631 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2632 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2633 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2634
6d9145d8
SP
26352013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2636
2637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2638 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2639 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2640 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2642 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2643 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2644 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2645
4dd4e157
AJ
26462013-03-07 Andreas Jaeger <aj@suse.de>
2647
2648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2649 bits/mman-linux.h.
2650
adbb8027
SP
26512013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2652
ce544b5b
SP
2653 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2654 Include mpa.h and declare __MPEXP.
2655 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2656 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2657 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2658 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2659 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2660 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2661 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2662
4cc149fd
SP
2663 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2664 (__slowpow): Use long double EXPL and LOGL functions to
2665 compute POW.
2666 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2667 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2668 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2669 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2670 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2671 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2672
e6ebd4a7
SP
2673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2674 intermediate variable to calculate exponent.
2675 (__sqr): Likewise.
2676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2677 Likewise.
2678 (__sqr): Likewise.
2679
82a9811d
SP
2680 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2681 [!NO__SQR]: Define __sqr.
2682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2683 and NO__SQR. Remove all code except __mul and __sqr. Include
2684 sysdeps/ieee754/dbl-64/mpa.c.
2685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2686
adbb8027
SP
2687 [BZ #12723]
2688 * posix/Makefile (tests): Add tst-pathconf.
2689 * posix/tst-pathconf.c: New test case.
2690 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2691 _PC_PIPE_BUF.
2692 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2693
39120df9
PF
26942013-03-06 Patsy Franklin <pfrankli@redhat.com>
2695
2696 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2697
67525cb8
AJ
26982013-03-06 Andreas Jaeger <aj@suse.de>
2699
664a9ce4
AJ
2700 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2701 definition via __MAP_ANONYMOUS.
2702
8e39047d
AJ
2703 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2704 it's not part of Linux headers.
2705
67525cb8
AJ
2706 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2707 (MAP_HUGE_MASK): Define.
2708
2709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2710 Define.
2711 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2712 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2713 Define.
2714 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2715 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2716 Define.
2717 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2719 Define.
2720 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2721
2722 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2723 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2724 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2725 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2726 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2727 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2728
2729 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2730 Handle f2fs.
2731
2732 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2733 Handle f2fs and efivarfs.
2734
2735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2736 f2fs.
2737
2738 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2739 (EFIVARFS_MAGIC): Add.
2740 (F2FS_LINK_MAX): Add.
2741
e1b42695
PP
27422013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2743
2744 * stdio-common/vfprintf.c: Replace __builtin_expect with
2745 __glibc_unlikely.
2746
2d67d91a
JM
27472013-03-06 Joseph Myers <joseph@codesourcery.com>
2748
2749 [BZ #13550]
2750 * sysdeps/generic/bp-sym.h: Remove file.
2751 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2752 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2753 <bp-sym.h> and <bp-asm.h>.
2754 (__longjmp): Don't use BP_SYM.
2755 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2756 and <bp-asm.h>.
2757 (memcpy): Don't use BP_SYM.
2758 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2759 <bp-sym.h> and <bp-asm.h>.
2760 (memcpy): Don't use BP_SYM.
2761 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2762 <bp-asm.h>.
2763 (memcpy): Don't use BP_SYM.
2764 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2765 <bp-asm.h>.
2766 (memset): Don't use BP_SYM.
2767 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2768 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2769 (__bzero): Don't use BP_SYM.
2770 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2771 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2772 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2773 <bp-sym.h> and <bp-asm.h>.
2774 (memcmp): Don't use BP_SYM. Remove comment about bounded
2775 pointers.
2776 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2777 <bp-sym.h> and <bp-asm.h>.
2778 (memcpy): Don't use BP_SYM.
2779 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2780 <bp-sym.h> and <bp-asm.h>.
2781 (memset): Don't use BP_SYM.
2782 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2783 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2784 (__bzero): Don't use BP_SYM.
2785 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2786 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2787 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2788 <bp-sym.h> and <bp-asm.h>.
2789 (strncmp): Don't use BP_SYM. Remove comment about bounded
2790 pointers.
2791 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2792 <bp-sym.h> and <bp-asm.h>.
2793 (memcpy): Don't use BP_SYM.
2794 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2795 <bp-sym.h> and <bp-asm.h>.
2796 (memset): Don't use BP_SYM.
2797 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2798 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2799 (__bzero): Don't use BP_SYM.
2800 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2801 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2802 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2803 <bp-sym.h> and <bp-asm.h>.
2804 (__memchr): Don't use BP_SYM.
2805 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2806 <bp-sym.h> and <bp-asm.h>.
2807 (memcmp): Don't use BP_SYM. Remove comment about bounded
2808 pointers.
2809 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2810 <bp-sym.h> and <bp-asm.h>.
2811 (memcpy): Don't use BP_SYM.
2812 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2813 <bp-sym.h> and <bp-asm.h>.
2814 (__mempcpy): Don't use BP_SYM.
2815 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2816 <bp-sym.h> and <bp-asm.h>.
2817 (__memrchr): Don't use BP_SYM.
2818 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2819 <bp-sym.h> and <bp-asm.h>.
2820 (memset): Don't use BP_SYM.
2821 (__bzero): Likewise.
2822 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2823 <bp-sym.h> and <bp-asm.h>.
2824 (__rawmemchr): Don't use BP_SYM.
2825 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2826 <bp-sym.h> and <bp-asm.h>.
2827 (__STRCMP): Don't use BP_SYM.
2828 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2829 <bp-sym.h> and <bp-asm.h>.
2830 (strchr): Don't use BP_SYM.
2831 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2832 <bp-sym.h> and <bp-asm.h>.
2833 (__strchrnul): Don't use BP_SYM.
2834 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2835 <bp-sym.h> and <bp-asm.h>.
2836 (strlen): Don't use BP_SYM.
2837 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2838 <bp-sym.h> and <bp-asm.h>.
2839 (strncmp): Don't use BP_SYM. Remove comment about bounded
2840 pointers.
2841 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2842 <bp-sym.h> and <bp-asm.h>.
2843 (__strnlen): Don't use BP_SYM.
2844 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2845 <bp-sym.h> and <bp-asm.h>.
2846 (__GI__setjmp): Don't use BP_SYM.
2847 (_setjmp): Likewise.
2848 (__sigsetjmp): Likewise.
2849 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2850 (L(start_addresses)): Don't use BP_SYM.
2851 (_start): Likewise.
2852 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2853 <bp-asm.h>.
2854 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2855 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2856 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2857 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2858 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2859 <bp-asm.h>.
2860 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2861 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2862 about bounded pointers.
2863 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2864 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2865 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2866 <bp-asm.h>.
2867 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2868 about bounded pointers. Remove GKM FIXME comments.
2869 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2870 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2871 <bp-asm.h>.
2872 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2873 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2874 Remove GKM FIXME comments.
2875 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2876 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2877 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2878 <bp-asm.h>.
2879 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2880 about bounded pointers. Remove GKM FIXME comment.
2881 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2882 and <bp-asm.h>.
2883 (strncmp): Don't use BP_SYM. Remove comment about bounded
2884 pointers.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2886 <bp-sym.h> and <bp-asm.h>.
2887 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2889 <bp-sym.h> and <bp-asm.h>.
2890 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2891 comment.
2892
cdcf361f
PP
28932013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2894
2895 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2896 call free(NULL).
2897
3c4a2b15
DM
28982013-03-05 David S. Miller <davem@davemloft.net>
2899
2900 * po/es.po: Update from translation team.
2901
cdcf361f 29022013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2903
2904 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2905 <bits/mman-linux.h>.
2906 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2907 is fine.
2908 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2909 <bits/mman-linux.h> to end of file.
2910 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2911 is fine.
2912 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2913 <bits/mman-linux.h> to end of file.
2914 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2915 is fine.
2916 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2917 <bits/mman-linux.h> to end of file.
2918
2919 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2920 (MCL_CURRENT, MCL_FUTURE): Define here.
2921
5f67c04f
AK
29222013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2923
8a4473cc 2924 [BZ #15232]
5f67c04f
AK
2925 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2926 attribute_hidden.
2927 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2928
c3e94a95
AK
29292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2930
2931 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2932 fourth parameter needed for rt_sigprocmask syscall.
2933 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2934 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2935 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2936 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2937 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2938 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2939
cfb6382a
JM
29402013-03-04 Joseph Myers <joseph@codesourcery.com>
2941
2942 [BZ #13550]
2943 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2944 comment about bounded pointers.
2945 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2946 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2947
539d8e01
AJ
29482013-03-04 Andreas Jaeger <aj@suse.de>
2949
2950 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2951 common definitions.
2952
2953 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2954 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2955 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2956 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2957 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2958 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2959
2e167a70 29602013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2961
2962 [BZ #15055]
2963 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2964 __ieee754_sqrl instead of __sqrl.
2965
68508633
JM
29662013-03-01 Joseph Myers <joseph@codesourcery.com>
2967
2968 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2969 * sysdeps/powerpc/fpu_control.h: ... here.
2970 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2971 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2972 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2973 * sysdeps/powerpc/bits/mathinline.h: ... here.
2974
7775448e
RM
29752013-03-01 Roland McGrath <roland@hack.frob.com>
2976
2977 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2978 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2979 to just [NEED_DL_SYSINFO_DSO].
2980 * elf/dl-support.c: Likewise.
2981 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2982 * elf/rtld.c (dl_main): Likewise.
2983 * elf/setup-vdso.h (setup_vdso): Likewise.
2984 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2985 * sysdeps/unix/sysv/linux/dl-sysdep.c
2986 (_dl_discover_osversion): Likewise.
2987
4e9b5995
CD
29882013-03-01 Carlos O'Donell <carlos@redhat.com>
2989
2990 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2991 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2992
e23872c8
SP
29932013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2994
e5c74c63
SP
2995 * NEWS: Mention libm performance improvements and non-x86 PI
2996 futex support.
2997
e23872c8
SP
2998 * csu/libc-start.c (__pthread_initialize_minimal): Change
2999 function arguments.
3000 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3001
b5510883
JM
30022013-02-28 Joseph Myers <joseph@codesourcery.com>
3003
3004 [BZ #13550]
3005 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3006 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3007 <bp-sym.h> and <bp-asm.h>.
3008 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3009 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3010 and <bp-asm.h>.
3011 (memcpy): Don't use BP_SYM.
3012 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3013 <bp-asm.h>.
3014 (__mpn_add_n): Don't use BP_SYM.
3015 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3016 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3017 and <bp-asm.h>.
3018 (__mpn_addmul_1): Don't use BP_SYM.
3019 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3020 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3021 <bp-sym.h>.
3022 (_setjmp): Don't use BP_SYM.
3023 (__novmx_setjmp): Likewise.
3024 (__GI__setjmp): Likewise.
3025 (__vmx_setjmp): Likewise.
3026 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3027 <bp-sym.h>.
3028 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3029 (__bzero): Don't use BP_SYM.
3030 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3031 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3032 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3033 <bp-sym.h> and <bp-asm.h>.
3034 (memcpy): Don't use BP_SYM.
3035 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3036 <bp-sym.h> and <bp-asm.h>.
3037 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3038 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3039 <bp-sym.h> and <bp-asm.h>.
3040 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3041 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3042 <bp-asm.h>.
3043 (__mpn_lshift): Don't use BP_SYM.
3044 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3045 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3046 <bp-asm.h>.
3047 (memset): Don't use BP_SYM.
3048 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3049 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3050 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3051 <bp-asm.h>.
3052 (__mpn_mul_1): Don't use BP_SYM.
3053 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3054 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3055 <bp-sym.h> and <bp-asm.h>.
3056 (memcmp): Don't use BP_SYM.
3057 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3058 <bp-sym.h> and <bp-asm.h>.
3059 (memcpy): Don't use BP_SYM.
3060 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3061 <bp-sym.h> and <bp-asm.h>.
3062 (memset): Don't use BP_SYM.
3063 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3064 <bp-sym.h> and <bp-asm.h>.
3065 (strncmp): Don't use BP_SYM.
3066 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3067 <bp-sym.h> and <bp-asm.h>.
3068 (memcpy): Don't use BP_SYM.
3069 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3070 <bp-sym.h> and <bp-asm.h>.
3071 (memset): Don't use BP_SYM.
3072 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3073 <bp-sym.h> and <bp-asm.h>.
3074 (__memchr): Don't use BP_SYM.
3075 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3076 <bp-sym.h> and <bp-asm.h>.
3077 (memcmp): Don't use BP_SYM.
3078 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3079 <bp-sym.h> and <bp-asm.h>.
3080 (memcpy): Don't use BP_SYM.
3081 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3082 <bp-sym.h> and <bp-asm.h>.
3083 (__mempcpy): Don't use BP_SYM.
3084 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3085 <bp-sym.h> and <bp-asm.h>.
3086 (__memrchr): Don't use BP_SYM.
3087 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3088 <bp-sym.h> and <bp-asm.h>.
3089 (memset): Don't use BP_SYM.
3090 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3091 <bp-sym.h> and <bp-asm.h>.
3092 (__rawmemchr): Don't use BP_SYM.
3093 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3094 <bp-sym.h> and <bp-asm.h>.
3095 (__STRCMP): Don't use BP_SYM.
3096 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3097 <bp-sym.h> and <bp-asm.h>.
3098 (strchr): Don't use BP_SYM.
3099 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3100 <bp-sym.h> and <bp-asm.h>.
3101 (__strchrnul): Don't use BP_SYM.
3102 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3103 <bp-sym.h> and <bp-asm.h>.
3104 (strlen): Don't use BP_SYM.
3105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3106 <bp-sym.h> and <bp-asm.h>.
3107 (strncmp): Don't use BP_SYM.
3108 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3109 <bp-sym.h> and <bp-asm.h>.
3110 (__strnlen): Don't use BP_SYM.
3111 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3112 <bp-asm.h>.
3113 (__mpn_rshift): Don't use BP_SYM.
3114 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3115 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3116 <bp-sym.h> and <bp-asm.h>.
3117 (__sigsetjmp): Don't use BP_SYM.
3118 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3119 (L(start_addresses)): Don't use BP_SYM.
3120 (_start): Likewise.
3121 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3122 <bp-asm.h>.
3123 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3124 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3125 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3126 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3127 <bp-asm.h>.
3128 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3129 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3130 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3131 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3132 <bp-asm.h>.
3133 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3134 comments.
3135 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3136 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3137 <bp-asm.h>.
3138 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
3139 FIXME comments.
3140 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3141 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3142 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3143 <bp-asm.h>.
3144 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3145 comment.
3146 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3147 and <bp-asm.h>.
3148 (strncmp): Don't use BP_SYM,
3149 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3150 <bp-asm.h>.
3151 (__mpn_sub_n): Don't use BP_SYM.
3152 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3153 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3154 and <bp-asm.h>.
3155 (__mpn_submul_1): Don't use BP_SYM.
3156 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3158 <bp-sym.h> and <bp-asm.h>.
3159 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3161 <bp-sym.h> and <bp-asm.h>.
3162 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3163 comment.
3164
8d19fe64
SP
31652013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3166
3167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3168 Use ZK to minimize writes to Z.
3169 (sub_magnitudes): Simplify code a bit.
3170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3171 Use ZK to minimize writes to Z.
3172 (sub_magnitudes): Simplify code a bit.
3173
85bd816a
RM
31742013-02-27 Roland McGrath <roland@hack.frob.com>
3175
3176 * csu/gmon-start.c: Add special exception to license text.
3177
b5977bf2
RH
31782013-02-27 Richard Henderson <rth@redhat.com>
3179
3180 * scripts/config.guess: Update from config.git.
3181 * scripts/config.sub: Likewise.
3182
11d6e2f2
SP
31832013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3184
09c14ed2
SP
3185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3186
a688864e
SP
3187 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3188
6295157a
SP
3189 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3190
b8de2202
SP
3191 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3192
11d6e2f2
SP
3193 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3194
7e80ddb8
RM
31952013-02-26 Roland McGrath <roland@hack.frob.com>
3196
3197 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3198 [$(build-shared = yes].
7e80ddb8 3199
7da6d9ed
SP
32002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3201
45f05884
SP
3202 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3203 (__mul): Reduce iterations for calculating mantissa.
3204
2236d359
SP
3205 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3206 MPTWO.
3207 (__mpranred): Likewise.
3208
7da6d9ed
SP
3209 [BZ #15160]
3210 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3211 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3212
b7688c42
PE
32132013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3214
3215 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3216 Define __attribute__.
3217
53a5c423
SP
32182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3219
3220 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3221 unused.
3222 * posix/regex_internal.h (__attribute): Remove.
3223 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3224 (re_string_context_at): Likewise.
3225 (bitset_not): Use __attribute__ and mark function as possibly
3226 unused.
3227 (bitset_merge): Likewise.
3228 (bitset_mask): Likewise.
3229 (re_string_char_size_at): Likewise.
3230 (re_string_wchar_at): Likewise.
3231 (re_string_elem_size_at): Likewise.
3232
60f5a8b5
SP
32332013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3234
2a983a2e
SP
3235 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3236 code.
3237 (cc32): Likewise.
3238
e69804d1
SP
3239 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3240 (__acr): Likewise.
3241 (__cpy): Likewise.
3242 (norm): Likewise.
3243 (denorm): Likewise.
3244 (__dbl_mp): Likewise.
3245 (add_magnitudes): Likewise.
3246 (sub_magnitudes): Likewise.
3247 (__mul): Likewise.
3248 (__inv): Likewise.
3249
2f22a1e8
SP
3250 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3251 style.
3252
8930ddc7
SP
3253 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3254 style.
3255
dc60cb11
SP
3256 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3257 code.
3258
60f5a8b5
SP
3259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3260 up changes with default code.
3261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3262 Likewise.
3263
b4d1fd33
AM
32642013-02-24 Allan McRae <allan@archlinux.org>
3265
faf6f8bc
AM
3266 * manual/socket.texi (The Internet Namespace): Order menu items
3267 to match that in the file.
3268
b4d1fd33
AM
3269 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3270 node listing of the info page menu.
3271
2366713d
JM
32722013-02-21 Joseph Myers <joseph@codesourcery.com>
3273
3274 [BZ #13550]
3275 * sysdeps/i386/bp-asm.h: Remove file.
3276 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3277 (PARMS): Do not use macros from bp-asm.h.
3278 (S1): Likewise.
3279 (S2): Likewise.
3280 (SIZE): Likewise.
3281 (__mpn_add_n): Do not use BP_SYM
3282 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3283 "bp-asm.h".
3284 (PARMS): Do not use macros from bp-asm.h.
3285 (S1): Likewise.
3286 (SIZE): Likewise.
3287 (__mpn_addmul_1): Do not use BP_SYM
3288 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3289 "bp-asm.h".
3290 (PARMS): Do not use macros from bp-asm.h.
3291 (SIGMSK): Likewise.
3292 (_setjmp): Likewise. Do not use BP_SYM.
3293 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3294 "bp-asm.h".
3295 (PARMS): Do not use macros from bp-asm.h.
3296 (SIGMSK): Likewise.
3297 (setjmp): Likewise. Do not use BP_SYM.
3298 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3299 "bp-asm.h".
3300 (PARMS): Do not use macros from bp-asm.h.
3301 (__frexp): Do not use BP_SYM.
3302 (frexp): Likewise.
3303 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3304 "bp-asm.h".
3305 (PARMS): Do not use macros from bp-asm.h.
3306 (__frexpf): Do not use BP_SYM.
3307 (frexpf): Likewise.
3308 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3309 "bp-asm.h".
3310 (PARMS): Do not use macros from bp-asm.h.
3311 (__frexpl): Do not use BP_SYM.
3312 (frexpl): Likewise.
3313 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3314 "bp-asm.h".
3315 (PARMS): Do not use macros from bp-asm.h.
3316 (__remquo): Do not use BP_SYM.
3317 (remquo): Likewise.
3318 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3319 "bp-asm.h".
3320 (PARMS): Do not use macros from bp-asm.h.
3321 (__remquof): Do not use BP_SYM.
3322 (remquof): Likewise.
3323 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3324 "bp-asm.h".
3325 (PARMS): Do not use macros from bp-asm.h.
3326 (__remquol): Do not use BP_SYM.
3327 (remquol): Likewise.
3328 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3329 "bp-asm.h".
3330 (PARMS): Do not use macros from bp-asm.h.
3331 (DEST): Likewise.
3332 (SRC): Likewise.
3333 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3334 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3335 "bp-asm.h".
3336 (PARMS): Do not use macros from bp-asm.h.
3337 (strlen): Do not use BP_SYM.
3338 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3339 "bp-asm.h".
3340 (PARMS): Do not use macros from bp-asm.h.
3341 (S1): Likewise.
3342 (S2): Likewise.
3343 (SIZE): Likewise.
3344 (__mpn_add_n): Do not use BP_SYM.
3345 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3346 "bp-asm.h".
3347 (PARMS): Do not use macros from bp-asm.h.
3348 (S1): Likewise.
3349 (SIZE): Likewise.
3350 (__mpn_addmul_1): Do not use BP_SYM.
3351 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3352 weak_alias.
3353 (bzero): Likewise.
3354 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3355 "bp-asm.h".
3356 (PARMS): Do not use macros from bp-asm.h.
3357 (S): Likewise.
3358 (SIZE): Likewise.
3359 (__mpn_lshift): Do not use BP_SYM.
3360 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3361 "bp-asm.h".
3362 (PARMS): Do not use macros from bp-asm.h.
3363 (DEST): Likewise.
3364 (SRC): Likewise.
3365 (LEN): Likewise.
3366 (memcpy): Likewise. Do not use BP_SYM.
3367 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3368 libc_hidden_def and weak_alias.
3369 (mempcpy): Do not use BP_SYM in weak_alias.
3370 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3371 "bp-asm.h".
3372 (PARMS): Do not use macros from bp-asm.h.
3373 (DEST): Likewise.
3374 (LEN): Likewise.
3375 [!BZERO_P] (CHR): Likewise.
3376 (memset): Likewise. Do not use BP_SYM.
3377 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3378 "bp-asm.h".
3379 (PARMS): Do not use macros from bp-asm.h.
3380 (S1): Likewise.
3381 (SIZE): Likewise.
3382 (__mpn_mul_1): Do not use BP_SYM.
3383 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3384 "bp-asm.h".
3385 (PARMS): Do not use macros from bp-asm.h.
3386 (S): Likewise.
3387 (SIZE): Likewise.
3388 (__mpn_rshift): Do not use BP_SYM.
3389 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3390 "bp-asm.h".
3391 (PARMS): Do not use macros from bp-asm.h.
3392 (STR): Likewise.
3393 (CHR): Likewise.
3394 (strchr): Likewise. Do not use BP_SYM.
3395 (index): Do not use BP_SYM in weak_alias.
3396 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3397 "bp-asm.h".
3398 (PARMS): Do not use macros from bp-asm.h.
3399 (DEST): Likewise.
3400 (SRC): Likewise.
3401 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3402 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3403 "bp-asm.h".
3404 (PARMS): Do not use macros from bp-asm.h.
3405 (strlen): Do not use BP_SYM.
3406 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3407 "bp-asm.h".
3408 (PARMS): Do not use macros from bp-asm.h.
3409 (S1): Likewise.
3410 (S2): Likewise.
3411 (SIZE): Likewise.
3412 (__mpn_sub_n): Do not use BP_SYM.
3413 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3414 "bp-asm.h".
3415 (PARMS): Do not use macros from bp-asm.h.
3416 (S1): Likewise.
3417 (SIZE): Likewise.
3418 (__mpn_submul_1): Do not use BP_SYM.
3419 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3420 "bp-asm.h".
3421 (PARMS): Do not use macros from bp-asm.h.
3422 (S1): Likewise.
3423 (S2): Likewise.
3424 (SIZE): Likewise.
3425 (__mpn_add_n): Do not use BP_SYM.
3426 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3427 weak_alias.
3428 (bzero): Likewise.
3429 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3430 "bp-asm.h".
3431 (PARMS): Do not use macros from bp-asm.h.
3432 (BLK2): Likewise.
3433 (LEN): Likewise.
3434 (memcmp): Do not use BP_SYM.
3435 (bcmp): Do not use BP_SYM in weak_alias.
3436 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3437 "bp-asm.h".
3438 (PARMS): Do not use macros from bp-asm.h.
3439 (DEST): Likewise.
3440 (SRC): Likewise.
3441 (LEN): Likewise.
3442 (memcpy): Likewise. Do not use BP_SYM.
3443 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3444 "bp-asm.h".
3445 (PARMS): Do not use macros from bp-asm.h.
3446 (DEST): Likewise.
3447 (SRC): Likewise.
3448 (LEN): Likewise.
3449 (memmove): Likewise. Do not use BP_SYM.
3450 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3451 "bp-asm.h".
3452 (PARMS): Do not use macros from bp-asm.h.
3453 (DEST): Likewise.
3454 (SRC): Likewise.
3455 (LEN): Likewise.
3456 (__mempcpy): Likewise. Do not use BP_SYM.
3457 (mempcpy): Do not use BP_SYM in weak_alias.
3458 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3459 "bp-asm.h".
3460 (PARMS): Do not use macros from bp-asm.h.
3461 (DEST): Likewise.
3462 (LEN): Likewise.
3463 [!BZERO_P] (CHR): Likewise.
3464 (memset): Likewise. Do not use BP_SYM.
3465 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3466 "bp-asm.h".
3467 (PARMS): Do not use macros from bp-asm.h.
3468 (STR2): Likewise.
3469 (strcmp): Do not use BP_SYM.
3470 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3471 "bp-asm.h".
3472 (PARMS): Do not use macros from bp-asm.h.
3473 (STR): Likewise.
3474 (DELIM): Likewise.
3475 [USE_AS_STRTOK_R] (SAVE): Likewise.
3476 (FUNCTION): Likewise. Do not use BP_SYM.
3477 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3478 aliases.
3479 (strtok_r): Likewise.
3480 (__GI___strtok_r): Likewise.
3481 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3482 (PARMS): Do not use macros from bp-asm.h.
3483 (S): Likewise.
3484 (SIZE): Likewise.
3485 (__mpn_lshift): Do not use BP_SYM.
3486 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3487 (PARMS): Do not use macros from bp-asm.h.
3488 (STR): Likewise.
3489 (CHR): Likewise.
3490 (__memchr): Do not use BP_SYM.
3491 (memchr): Do not use BP_SYM in weak_alias.
3492 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3493 (PARMS): Do not use macros from bp-asm.h.
3494 (BLK2): Likewise.
3495 (LEN): Likewise.
3496 (memcmp): Do not use BP_SYM.
3497 (bcmp): Do not use BP_SYM in weak_alias.
3498 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3499 (PARMS): Do not use macros from bp-asm.h.
3500 (S1): Likewise.
3501 (SIZE): Likewise.
3502 (__mpn_mul_1): Do not use BP_SYM.
3503 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3504 "bp-asm.h".
3505 (PARMS): Do not use macros from bp-asm.h.
3506 (STR): Likewise.
3507 (CHR): Likewise.
3508 (__rawmemchr): Do not use BP_SYM.
3509 (rawmemchr): Do not use BP_SYM in weak_alias.
3510 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3511 (PARMS): Do not use macros from bp-asm.h.
3512 (S): Likewise.
3513 (SIZE): Likewise.
3514 (__mpn_rshift): Do not use BP_SYM.
3515 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3516 (PARMS): Do not use macros from bp-asm.h.
3517 (SIGMSK): Likewise.
3518 (__sigsetjmp): Likewise. Do not use BP_SYM.
3519 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3520 (_start): Do not use BP_SYM.
3521 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3522 (PARMS): Do not use macros from bp-asm.h.
3523 (DEST): Likewise.
3524 (SRC): Likewise.
3525 (__stpcpy): Likewise. Do not use BP_SYM.
3526 (stpcpy): Do not use BP_SYM in weak_alias.
3527 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3528 "bp-asm.h".
3529 (PARMS): Do not use macros from bp-asm.h.
3530 (DEST): Likewise.
3531 (SRC): Likewise.
3532 (LEN): Likewise.
3533 (__stpncpy): Likewise. Do not use BP_SYM.
3534 (stpncpy): Do not use BP_SYM in weak_alias.
3535 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3536 (PARMS): Do not use macros from bp-asm.h.
3537 (STR): Likewise.
3538 (CHR): Likewise.
3539 (strchr): Likewise. Do not use BP_SYM.
3540 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3541 "bp-asm.h".
3542 (PARMS): Do not use macros from bp-asm.h.
3543 (STR): Likewise.
3544 (CHR): Likewise.
3545 (__strchrnul): Likewise. Do not use BP_SYM.
3546 (strchrnul): Do not use BP_SYM in weak_alias.
3547 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3548 "bp-asm.h".
3549 (PARMS): Do not use macros from bp-asm.h.
3550 (STOP): Likewise.
3551 (strcspn): Do not use BP_SYM.
3552 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3553 "bp-asm.h".
3554 (PARMS): Do not use macros from bp-asm.h.
3555 (STR): Likewise.
3556 (STOP): Likewise.
3557 (strpbrk): Likewise. Do not use BP_SYM.
3558 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3559 "bp-asm.h".
3560 (PARMS): Do not use macros from bp-asm.h.
3561 (STR): Likewise.
3562 (CHR): Likewise.
3563 (strrchr): Likewise. Do not use BP_SYM.
3564 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3565 (PARMS): Do not use macros from bp-asm.h.
3566 (SKIP): Likewise.
3567 (strspn): Do not use BP_SYM.
3568 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3569 (PARMS): Do not use macros from bp-asm.h.
3570 (STR): Likewise.
3571 (DELIM): Likewise.
3572 (SAVE): Likewise.
3573 (FUNCTION): Likewise. Do not use BP_SYM.
3574 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3575 aliases.
3576 (strtok_r): Likewise.
3577 (__GI___strtok_r): Likewise.
3578 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3579 (PARMS): Do not use macros from bp-asm.h.
3580 (S1): Likewise.
3581 (S2): Likewise.
3582 (SIZE): Likewise.
3583 (__mpn_sub_n): Do not use BP_SYM.
3584 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3585 "bp-asm.h".
3586 (PARMS): Do not use macros from bp-asm.h.
3587 (S1): Likewise.
3588 (SIZE): Likewise.
3589 (__mpn_submul_1): Do not use BP_SYM.
3590 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3591 <bp-sym.h>.
3592 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3593 and <bp-asm.h>.
3594 (PARMS): Do not use macros from bp-asm.h.
3595 (FLAGS): Likewise.
3596 (PTID): Likewise.
3597 (TLS): Likewise.
3598 (CTID): Likewise.
3599 (__clone): Do not use BP_SYM.
3600 (clone): Do not use BP_SYM in weak_alias.
3601 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3602 and <bp-asm.h>.
3603 (PARMS): Do not use macros from bp-asm.h.
3604 (LEN): Likewise.
3605 (__mmap64): Do not use BP_SYM.
3606 (mmap64): Do not use BP_SYM in weak_alias.
3607 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3608 <bp-sym.h> and <bp-asm.h>.
3609 (PARMS): Do not use macros from bp-asm.h.
3610 (__posix_fadvise64_l64): Do not use BP_SYM.
3611 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3612 (PARMS): Do not use macros from bp-asm.h.
3613 (NSOPS): Likewise.
3614 (semtimedop): Do not use BP_SYM.
3615 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3616 and <bp-asm.h>.
3617
582a3cff
AM
36182013-02-21 Allan McRae <allan@archlinux.org>
3619
3620 * manual/message.texi (Charset conversion in gettext):
3621 Move @end statement to beginning of line.
3622
bab8a695
SP
36232013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3624
80945231
SP
3625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3626 static.
3627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3628 Likewise.
3629
bab8a695
SP
3630 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3631 (denorm): Likewise.
3632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3634
e21d7aa7
AK
36352013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3636
3637 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3638 tail-call to the resolved function if pltexit isn't needed.
3639
4c7a4263
SP
36402013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3641
3642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3643 or Y being zero as being unlikely.
3644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3645 Likewise.
3646
41f49342
CD
36472013-02-20 Carlos O'Donell <carlos@redhat.com>
3648
3649 * manual/nss.texi (System Databases and Name Service Switch):
3650 Remove frobnicate @pxref.
3651
50022a93
TS
36522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3653
3654 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3655 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3656
08cbd996
PM
36572013-02-20 Petr Machata <pmachata@redhat.com>
3658
3659 * elf/elf.h (R_ARM_TARGET1): New macro.
3660 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3661 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3662 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3663 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3664 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3665 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3666 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3667 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3668 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3669 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3670 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3671 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3672 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3673 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3674 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3675 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3676 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3677 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3678 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3679 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3680 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3681 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3682 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3683 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3684 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3685 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3686 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3687 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3688 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3689 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3690 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3691 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3692 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3693 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3694 (R_ARM_THM_GOT_BREL12): Likewise.
3695 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3696 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3697 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3698 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3699 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3700 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3701 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3702 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3703 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3704
c7b275d6
TS
37052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3706
3707 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3708 __attribute_used__ to __attribute__ ((unused)).
3709
20cd7fb3
SP
37102013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3711
3712 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3713 powerpc mpa.c.
3714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3715 comment formatting.
3716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3717
92945b52
JM
37182013-02-19 Joseph Myers <joseph@codesourcery.com>
3719
3720 [BZ #13550]
3721 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3722 Remove macro.
3723 (ENTER): Remove both macro definitions.
3724 (LEAVE): Likewise.
3725 (CHECK_BOUNDS_LOW): Likewise.
3726 (CHECK_BOUNDS_HIGH): Likewise.
3727 (CHECK_BOUNDS_BOTH): Likewise.
3728 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3729 (RETURN_BOUNDED_POINTER): Likewise.
3730 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3731 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3732 (POP_ERRNO_LOCATION_RETURN): Likewise.
3733 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3734 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3735 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3736 macros.
3737 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3738 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3739 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3740 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3741 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3742 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3743 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3744 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3745 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3746 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3747 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3748 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3749 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3750 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3751 removed macros.
3752 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3753 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3754 macros.
3755 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3756 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3757 * sysdeps/i386/i586/memset.S (memset): Likewise.
3758 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3759 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3760 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3761 macros.
3762 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3763 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3764 Change uses of L(2) to L(out).
3765 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3766 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3767 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3768 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3769 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3770 removed macros.
3771 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3772 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3773 macros.
3774 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3775 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3776 (RETURN): Do not use macro LEAVE.
3777 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3778 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3779 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3780 * sysdeps/i386/i686/memset.S (memset): Likewise.
3781 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3782 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3783 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3784 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3785 Likewise.
3786 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3787 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3788 L(1_2) and L(1_3) into L(1).
3789 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3790 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3791 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3792 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3793 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3794 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3795 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3796 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3797 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3798 macros.
3799 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3800 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3801 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3802 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3803 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3804 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3805 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3806 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3807 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3808 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3809 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3810 * sysdeps/i386/strspn.S (strspn): Likewise.
3811 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3812 conditional code.
3813 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3814 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3815 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3816 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3817 L(1_3) into L(1_1).
3818 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3819 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3820 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3821 macros.
3822 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3823
2389741a
JJ
38242013-02-19 Jakub Jelinek <jakub@redhat.com>
3825
3826 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3827 macro.
3828
2016b3cd
SP
38292013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3830
e4f22324
SP
3831 * math/atest-exp.c (exp_mpn): Remove ROUND.
3832 * math/atest-exp2.c (exp_mpn): Likewise.
3833 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3834
2016b3cd
SP
3835 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3836 * stdlib/tst-tls-atexit-lib.c: Likewise.
3837 * stdlib/tst-tls-atexit.c: Likewise.
3838
4be9b544
MF
38392013-02-18 Mike Frysinger <vapier@gentoo.org>
3840
3841 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3842 and __attribute_alloc_size__.
3843
2f62b9ee
MF
38442013-02-18 Mike Frysinger <vapier@gentoo.org>
3845
3846 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3847 __attribute_alloc_size__.
3848 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3849 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3850
6ff444c4
MF
38512013-02-18 Mike Frysinger <vapier@gentoo.org>
3852
3853 * include/programs/xmalloc.h: New file.
3854 * catgets/gencat.c: Include it.
3855 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3856 * elf/pldd.c: Likewise.
3857 * iconv/iconv_charmap.c: Likewise.
3858 * iconv/iconvconfig.c: Likewise.
3859 * iconv/strtab.c: Likewise.
3860 * locale/programs/locale.c: Likewise.
3861 * locale/programs/localedef.h: Likewise.
3862 * locale/programs/simple-hash.c: Likewise.
3863 * nscd/nscd.h: Likewise.
3864 * nss/makedb.c: Likewise.
3865 * sysdeps/generic/ldconfig.h: Likewise.
3866
be179c8a
SP
38672013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3868
ba384f6e
SP
3869 * Versions.def: Add GLIBC_2.18.
3870 * include/link.h (struct link_map): New member l_tls_dtor_count.
3871 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3872 (__call_tls_dtors): Likewise.
3873 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3874 __cxa_thread_atexit_impl.
3875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3876 Likewise.
3877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3878 Likewise.
3879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3880 Likewise.
3881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3882 Likewise.
3883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3885 Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3887 Likewise.
3888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3890 Likewise.
3891 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3892 (tests): Add test case tst-tls-atexit.
3893 (modules-names): Add shared library for tst-tls-atexit.
3894 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3895 (GLIBC_PRIVATE): Add __call_tls_dtors.
3896 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3897 for libstdc++.
3898 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3899 * stdlib/tst-tls-atexit.c: New test case.
3900 * stdlib/tst-tls-atexit-lib.c: New test case.
3901
ffaa74cf 3902 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3903
be179c8a
SP
3904 * elf/Versions (ld): Add _dl_find_dso_for_object.
3905 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3906 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3907 (dl_open_worker): Use _dl_find_dso_for_object.
3908 * elf/dl-sym.c (do_sym): Likewise.
3909 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3910
f78b5caa
AK
39112013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3912
3913 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3914 Syntactic changes only.
3915 (_dl_runtime_profile): Do a tail-call to the resolved function.
3916
29691210
JM
39172013-02-17 Joseph Myers <joseph@codesourcery.com>
3918
3919 [BZ #13550]
3920 * sysdeps/x86_64/bp-asm.h: Remove file.
3921 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3922 <bp-sym.h> and <bp-asm.h>.
3923 (__clone): Do not use BP_SYM.
3924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3925 <bp-sym.h> and <bp-asm.h>.
3926 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3927 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3928 "bp-asm.h".
3929 (_setjmp): Do not use BP_SYM.
3930 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3931 "bp-asm.h".
3932 (setjmp): Do not use BP_SYM.
3933 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3934 libc_hidden_def.
3935 (mempcpy): Do not use BP_SYM in weak_alias.
3936 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3937 "bp-asm.h".
3938 (strchr): Do not use BP_SYM.
3939 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3940 "bp-asm.h".
3941 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3942 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3943 (_start): Do not use BP_SYM.
3944 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3945 "bp-asm.h".
3946 (strcat): Do not use BP_SYM.
3947 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3948 "bp-asm.h".
3949 (STRCMP): Do not use BP_SYM.
3950 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3951 "bp-asm.h".
3952 (STRCPY): Do not use BP_SYM.
3953 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3954 "bp-asm.h".
3955 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3956 "bp-asm.h".
3957 (FUNCTION): Do not use BP_SYM.
3958 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3959 weak_alias.
3960 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3961
f238fd19
AJ
39622013-02-17 Andreas Jaeger <aj@suse.de>
3963
3964 * time/Versions: Sort entries.
3965 * string/Versions: Likewise.
3966 * resolv/Versions: Likewise.
3967 * posix/Versions: Likewise.
3968 * iconv/Versions: Likewise.
3969 * elf/Versions: Likewise.
3970 * wcsmbs/Versions: Likewise.
3971
bd07f23c 39722013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3973
22af19f9
SP
3974 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3975 loop termination condition.
3976
4709fe76
SP
3977 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3978 variable to calculate EZ.
3979 (__sqr): Likewise.
2d0e0f29
SP
3980
3981 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3982 the lower precision input.
3983
daaa7713
JM
39842013-02-15 Joseph Myers <joseph@codesourcery.com>
3985
3986 [BZ #13550]
3987 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3988 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3989 (run-via-rtld-prefix): Do not handle %-bp tests.
3990 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3991 (all-object-suffixes): Remove .ob.
3992 (bppfx): Remove variable.
3993 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3994 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3995 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3996 [$(build-bounded) = yes] (libtype.ob): Likewise.
3997 * Makerules (elide-routines.ob): Remove variable.
3998 (do-tests-clean): Do not handle *-bp.out.
3999 (common-mostlyclean): Do not handle *-bp and *-bp.out.
4000 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4001 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4002 (tests): Do not include $(tests-bp.out).
4003 (xtests): Do not include $(xtests-bp.out).
4004 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4005 [$(build-bounded) = yes] ($(addprefix
4006 $(objpfx),$(binaries-bounded))): Remove rule.
4007 ($(objpfx)%-bp.out): Remove rule.
4008 * config.make.in (build-bounded): Remove variable.
4009 * crypt/Makefile [$(build-bounded) = yes]
4010 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4011 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4012 append to variable.
4013 [$(build-bounded) = yes] (install-lib): Likewise.
4014 [$(build-bounded) = yes] (generated): Likewise.
4015 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4016 Remove rule.
4017 * intl/Makefile [$(build-bounded) = yes]
4018 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4019 * math/Makefile [$(build-bounded) = yes]
4020 ($(tests:%=$(objpfx)%-bp): Likewise.
4021 * misc/Makefile [$(build-bounded) = yes]
4022 ($(objpfx)tst-tsearch-bp): Likewise.
4023 * nptl/Makeconfig (bounded-thread-library): Remove variable.
4024 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4025 Remove dependency.
4026 * string/Makefile (o-objects.ob): Remove variable.
4027 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4028 (CFLAGS-.ob): Remove variable.
4029 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4030 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4031 both definitions of variable.
4032 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4033 (ASFLAGS-.ob): Remove variable.
4034
e97ed6dd
JM
40352013-02-14 Joseph Myers <joseph@codesourcery.com>
4036
2bdd4ca6
JM
4037 [BZ #13550]
4038 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4039 Remove __BOUNDED_POINTERS__ from condition.
4040 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4041 * string/bits/string2.h [!__NO_STRING_INLINES &&
4042 !__BOUNDED_POINTERS__]: Likewise.
4043 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4044 Likewise.
4045 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4046 Remove conditional code.
4047 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4048 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4049 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4050 condition.
4051
e97ed6dd
JM
4052 [BZ #13550]
4053 * csu/libc-start.c: Do not include <bp-sym.h>.
4054 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4055 * elf/dl-open.c: Do not include <bp-sym.h>.
4056 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4057 * math/fegetenv.c: Do not include <bp-sym.h>.
4058 (fegetenv): Do not use BP_SYM in versioned symbols.
4059 * nptl/sysdeps/pthread/bits/libc-lockP.h
4060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4061 <bp-sym.h>.
4062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4063 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4065 (__pthread_mutex_destroy): Likewise.
4066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4067 (__pthread_mutex_lock): Likewise.
4068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4069 (__pthread_mutex_trylock): Likewise.
4070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4071 (__pthread_mutex_unlock): Likewise.
4072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4073 (__pthread_mutexattr_init): Likewise.
4074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4075 (__pthread_mutexattr_destroy): Likewise.
4076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4077 (__pthread_mutexattr_settype): Likewise.
4078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4079 (__pthread_rwlock_init): Likewise.
4080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4081 (__pthread_rwlock_destroy): Likewise.
4082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4083 (__pthread_rwlock_rdlock): Likewise.
4084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4085 (__pthread_rwlock_tryrdlock): Likewise.
4086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4087 (__pthread_rwlock_wrlock): Likewise.
4088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4089 (__pthread_rwlock_trywrlock): Likewise.
4090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4091 (__pthread_rwlock_unlock): Likewise.
4092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4093 (__pthread_key_create): Likewise.
4094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4095 (__pthread_setspecific): Likewise.
4096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4097 (__pthread_getspecific): Likewise.
4098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4099 Likewise.
4100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4101 (_pthread_cleanup_push_defer): Likewise.
4102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4103 (_pthread_cleanup_pop_restore): Likewise.
4104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4105 (pthread_setcancelstate): Likewise.
4106 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4107 <bp-sym.h>.
4108 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4109 (memchr): Do not use BP_SYM in weak_alias.
4110 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4111 (fegetenv): Do not use BP_SYM in versioned symbols.
4112 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4113 (fesetenv): Do not use BP_SYM in versioned symbols.
4114 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4115 (feupdateenv): Do not use BP_SYM in versioned symbols.
4116 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4117 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4118 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4119 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4120 (open64): Do not use BP_SYM in weak_alias.
4121 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4122 (fegetenv): Do not use BP_SYM in versioned symbols.
4123 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4124 (fesetenv): Do not use BP_SYM in versioned symbols.
4125 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4126 (feupdateenv): Do not use BP_SYM in versioned symbols.
4127 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4128 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4129 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4130 (feraiseexcept): Do not use BP_SYM in versioned symbols.
4131 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4132 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4133 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4134 <bp-sym.h>.
4135 (__libc_start_main): Do not use BP_SYM.
4136
d6752ccd
SP
41372013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4138
cb57ce60
SP
4139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4140 redundant return line.
4141 (norm): Likewise.
4142 (denorm): Likewise.
4143 (dbl_mp): Likewise.
4144 (sub_magnitudes): Likewise.
4145 (__add): Likewise.
4146 (__sub): Likewise.
4147 (__mul): Likewise.
4148 (__inv): Likewise.
4149 (__dvd): Likewise.
4150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4151 (norm): Likewise.
4152 (denorm): Likewise.
4153 (dbl_mp): Likewise.
4154 (sub_magnitudes): Likewise.
4155 (__add): Likewise.
4156 (__sub): Likewise.
4157 (__mul): Likewise.
4158 (__inv): Likewise.
4159 (__dvd): Likewise.
4160
f414520d
SP
4161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4162 instead of __mul.
4163 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4164 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4165 (cc32): Likewise.
4166
d6752ccd
SP
4167 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4168 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4170 of __mul for squares.
4171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4172 function
4173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4174 Likewise.
4175 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4176 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4177
70d9946a
JM
41782013-02-13 Joseph Myers <joseph@codesourcery.com>
4179
4180 [BZ #13550]
4181 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4182 code.
4183 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4184 prototype or function definition. Rename ubp_* variables and
4185 parameters. Remove argv definitions conditional on
4186 [__BOUNDED_POINTERS__].
4187 * debug/backtrace.c (__backtrace): Do not use __unbounded.
4188 * elf/dl-runtime.c (_dl_fixup): Likewise.
4189 * include/set-hooks.h (RUN_HOOK): Likewise.
4190 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4191 definition.
4192 * string/strcpy.c (strcpy): Do not use __unbounded.
4193 * sysdeps/generic/frame.h (struct layout): Likewise.
4194 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4195 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4196 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4197 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4198 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4199 (__backtrace): Likewise.
4200 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4201 use __ptrvalue.
4202 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4203 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4204 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4205 Likewise.
4206 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4207 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4208 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4209 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4210 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4211 Do not use __unbounded.
4212 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4213 Rename __unboundedrlimits parameter to rlimits in prototype.
4214 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4215 Do not use __unbounded.
4216 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4217 not use __ptrvalue.
4218 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4219 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4220 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4221 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4222 __ptrvalue or __unbounded.
4223 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4224 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4225 use __unbounded.
4226 (__new_msgctl): Do not use __ptrvalue.
4227 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4228 __unbounded.
4229 (__libc_msgrcv): Do not use __ptrvalue.
4230 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4231 startup_info): Do not use __unbounded.
4232 (__libc_start_main): Likewise. Rename ubp_* variables and
4233 parameters. Remove argv definitions conditional on
4234 [__BOUNDED_POINTERS__].
4235 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4236 __ptrvalue.
4237 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4238 use __unbounded.
4239 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4240 or __ptrvalue.
4241 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4242 use __unbounded.
4243 (__new_shmctl): Do not use __ptrvalue.
4244 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4245 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4246 Likewise.
4247 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4249 (__libc_sigaction): Likewise.
4250 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4251 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4252 Likewise.
4253 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4254
cc7834d6
OB
42552013-02-13 Ondřej Bílka <neleai@seznam.cz>
4256
ffb1ec7b 4257 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
4258
4259 * string/mempcpy.c: Implement by calling memcpy.
4260
bdf02814
SP
42612013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4262
c2af38aa
SP
4263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4264
4e92d59e
SP
4265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4266 evaluation.
4267
909279a5
SP
4268 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4269 values in the mantissa.
4270
bdf02814
SP
4271 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4272 minimize writes to Z.
4273 (sub_magnitudes): Simplify code a bit.
4274
cd525923
RM
42752013-02-12 Roland McGrath <roland@hack.frob.com>
4276
4277 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4278 from the message. The linker prefixes all warnings with that already.
4279
7e2f0d2d
AS
42802013-02-12 Andreas Schwab <schwab@suse.de>
4281
a445af0b
AS
4282 [BZ #15078]
4283 * posix/regexec.c (extend_buffers): Add parameter min_len.
4284 (check_matching): Pass minimum needed length.
4285 (clean_state_log_if_needed): Likewise.
4286 (get_subexp): Likewise.
4287 * posix/Makefile (tests): Add bug-regex34.
4288 (bug-regex34-ENV): Define.
4289 * posix/bug-regex34.c: New file.
4290
7e2f0d2d
AS
4291 [BZ #11561]
4292 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4293 elements compare against the byte sequence of it, not its name.
4294 * posix/Makefile (tests): Add bug-regex35.
4295 (bug-regex35-ENV): Define.
4296 * posix/bug-regex35.c: New file.
4297
a175b684
TV
42982013-02-11 Tom de Vries <tom@codesourcery.com>
4299
4300 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4301 comment.
4302 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4303 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4304 (CHECK_EOL): Add undef.
4305
310998fe 43062013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
4307
4308 * bits/stdlib-bsearch.h: New file.
4309 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 4310 * stdlib/stdlib.h: Likewise.
41eda41d 4311
8ded91fb
RM
43122013-02-11 Roland McGrath <roland@hack.frob.com>
4313
4314 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4315 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4316 declaration.
4317 * manual/search.texi (Array Search Function): Add missing const in
4318 lfind prototype.
4319 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4320 declaration to use rlim_t.
4321 (Basic Scheduling Functions): Remove erroneous const from
4322 sched_getparam prototype. Remove erroneous * from
4323 sched_get_priority_max and sched_get_priority_min prototypes.
4324 (Resource Usage): Fix summary @comment on vtimes to refer to
4325 sys/vtimes.h rather than vtimes.h.
4326 Add missing *s in vtimes prototype.
4327 (Limits on Resources): Fix ulimit prototype to return long int.
4328 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4329 prototypes to use long int rather than double.
4330 (BSD Random): Fix initstate and setstate to use char *, not void *.
4331 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4332 prototype to make second argument 'struct aiocb64 *const[]'.
4333 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4334 (Status of AIO Operations): Remove erroneous const in aio_return and
4335 aio_return64 prototypes.
4336 (Synchronizing I/O): Fix sync prototype to return void.
4337 * manual/startup.texi (Suboptions): Remove an erroneous const in
4338 getsubopt prototype.
4339 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4340 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4341 use size_t rather than int.
4342 (Scanning All Users): Likewise for getpwent_r.
4343 (Setting Groups): Add missing const to setgroups prototype.
4344 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4345 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4346 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4347 'const void *' rather than 'const char *'.
4348 (Host Address Functions): Likewise for inet_ntop.
4349 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4350 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4351 ssize_t for return value.
4352 (Sending Data): Likewise for send, sendto, sendmsg.
4353 (Socket Option Functions): Add a missing const in setsockopt prototype.
4354 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4355 use wchar_t for the argument.
4356 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4357 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4358 take no arguments.
4359 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4360 double/float/long double for second argument.
4361 Fix return types of significand, significandf, significandl.
4362 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4363 argument in fchmod prototype.
4364 (File Owner): Use uid_t and gid_t in fchown prototype.
4365 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4366 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4367 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4368 use 'const struct dirent **' as argument types to CMP function pointer
4369 argument.
4370 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4371 (File Times): Fix summary magic @comment for struct utimbuf and utime
4372 to refer to utime.h, not time.h.
4373 * manual/string.texi (Argz Functions): Add missing const in
4374 argz_extract and argz_next prototypes.
4375 (Finding Tokens in a String): Likewise for basename.
4376 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4377 (Copying and Concatenation): Fix typo in wmemmove prototype.
4378 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4379 (Signal Stack): Remove erroneous const in sigstack prototype.
4380 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4381 prototype.
4382 (Simple Calendar Time): Likewise for stime.
4383 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4384 prototype.
4385 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4386 say sys/sysctl.h instead.
4387 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4388 and vsyslog prototypes.
4389
fe77fe6d
TV
43902013-02-11 Tom de Vries <tom@codesourcery.com>
4391
4392 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4393 Remove.
4394
3a09b620
RM
43952013-02-11 Roland McGrath <roland@hack.frob.com>
4396
4397 * misc/sys/mman.h: Fix typo in mremap comment.
4398
550a0b89
RM
43992013-02-08 Roland McGrath <roland@hack.frob.com>
4400
4401 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4402 the '\0' terminator.
4403
a2da1673
JM
44042013-02-08 Joseph Myers <joseph@codesourcery.com>
4405
4406 [BZ #13550]
4407 * debug/segfault.c: Don't include <bp-checks.h>.
4408 * sysdeps/generic/bp-checks.h: Remove file.
4409 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4410 (__GETDENTS): Don't use CHECK_N.
4411 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4412 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4413 (__getgroups): Don't use CHECK_N.
4414 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4415 (setgroups): Don't use CHECK_N.
4416 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4417 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4418 (__libc_msgrcv): Don't use CHECK_N.
4419 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4420 (__libc_msgsnd): Don't use CHECK_N.
4421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4422 <bp-checks.h>.
4423 (__libc_pread): Don't use CHECK_N.
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4425 include <bp-checks.h>.
4426 (__libc_pread64): Don't use CHECK_N.
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4428 include <bp-checks.h>.
4429 (__libc_pwrite): Don't use CHECK_N.
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4431 include <bp-checks.h>.
4432 (__libc_pwrite64): Don't use CHECK_N.
4433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4434 <bp-checks.h>.
4435 (__libc_pread): Don't use CHECK_N.
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4437 include <bp-checks.h>.
4438 (__libc_pread64): Don't use CHECK_N.
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4440 include <bp-checks.h>.
4441 (__libc_pwrite): Don't use CHECK_N.
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4443 include <bp-checks.h>.
4444 (__libc_pwrite64): Don't use CHECK_N.
4445 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4446 (do_pread): Don't use CHECK_N.
4447 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4448 (do_pread64): Don't use CHECK_N.
4449 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4450 (do_pwrite): Don't use CHECK_N.
4451 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4452 (do_pwrite64): Don't use CHECK_N.
4453 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4454 (__libc_readv): Don't use CHECK_N.
4455 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4456 (semop): Don't use CHECK_N.
4457 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4458 <bp-checks.h>.
4459 (semtimedop): Don't use CHECK_N.
4460 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4461 (__libc_pread): Don't use CHECK_N.
4462 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4463 <bp-checks.h>.
4464 (__libc_pread64): Don't use CHECK_N.
4465 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4466 <bp-checks.h>.
4467 (__libc_pwrite): Don't use CHECK_N.
4468 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4469 <bp-checks.h>.
4470 (__libc_pwrite64): Don't use CHECK_N.
4471 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4472 <bp-checks.h>.
4473 (__libc_msgrcv): Don't use CHECK_N.
4474 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4475 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4476 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4477 (__libc_writev): Don't use CHECK_N.
4478
b84660a8
RM
44792013-02-08 Roland McGrath <roland@hack.frob.com>
4480
7f3e75f8
RM
4481 * string/strcpy.c: Removed unused variable.
4482
b84660a8
RM
4483 * Makeconfig (+sysdep-includes): Define with := rather than =.
4484 Use an existing include/ subdir of each sysdeps dir before it.
4485
471514d3
CD
44862013-02-08 Carlos O'Donell <carlos@redhat.com>
4487
4488 * nscd/connection.c (register_traced_file): Comment function.
4489 [HAVE_INOTIFY] (union __inev): Define.
4490 [HAVE_INOTIFY] (inotify_check_files): New function.
4491 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4492 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4493 clear_db_cache.
4494 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4495
b2d3c3be
CD
44962013-02-08 Carlos O'Donell <carlos@redhat.com>
4497
4498 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4499 loaded if not already and that a failure is permanent.
4500
b39949d2
CD
45012013-02-08 Carlos O'Donell <carlos@redhat.com>
4502
ddacd1db 4503 [BZ #15006]
b39949d2
CD
4504 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4505 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4506
b2c9eff4
JM
45072013-02-08 Joseph Myers <joseph@codesourcery.com>
4508
f3aae3f3
JM
4509 [BZ #13550]
4510 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4511 (CHECK_1_NULL_OK): Likewise.
4512 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4513 (__fxstat): Do not use CHECK_1.
4514 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4515 <bp-checks.h>.
4516 (___fxstat64): Do not use CHECK_1.
4517 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4518 <bp-checks.h>.
4519 (__fxstatat): Do not use CHECK_1.
4520 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4521 <bp-checks.h>.
4522 (__fxstatat64): Do not use CHECK_1.
4523 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4524 <bp-checks.h>.
4525 (__fxstat): Do not use CHECK_1.
4526 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4527 <bp-checks.h>.
4528 (__fxstatat): Do not use CHECK_1.
4529 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4530 <bp-checks.h>.
4531 (__getresgid): Do not use CHECK_1.
4532 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4533 <bp-checks.h>.
4534 (__getresuid): Do not use CHECK_1.
4535 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4536 <bp-checks.h>.
4537 (__lxstat): Do not use CHECK_1.
4538 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4539 <bp-checks.h>.
4540 (__old_msgctl): Do not use CHECK_1.
4541 (__new_msgctl): Likewise.
4542 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4543 <bp-checks.h>.
4544 (__new_setrlimit): Do not use CHECK_1.
4545 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4546 <bp-checks.h>.
4547 (__old_shmctl): Do not use CHECK_1.
4548 (__new_shmctl): Likewise.
4549 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4550 <bp-checks.h>.
4551 (__xstat): Do not use CHECK_1.
4552 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4553 (__lxstat): Do not use CHECK_1.
4554 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4555 <bp-checks.h>.
4556 (___lxstat64): Do not use CHECK_1.
4557 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4558 (__old_msgctl): Do not use CHECK_1.
4559 (__new_msgctl): Likewise.
4560 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4561 <bp-checks.h>.
4562 (__gettimeofday): Do not use CHECK_1.
4563 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4564 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4565 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4566 <bp-checks.h>.
4567 (__gettimeofday): Do not use CHECK_1.
4568 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4569 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4570 (__new_shmctl): Do not use CHECK_1.
4571 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4572 <bp-checks.h>.
4573 (do_sigtimedwait): Do not use CHECK_1.
4574 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4575 <bp-checks.h>.
4576 (do_sigwaitinfo): Do not use CHECK_1.
4577 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4578 <bp-checks.h>.
4579 (msgctl): Do not use CHECK_1.
4580 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4581 <bp-checks.h>.
4582 (shmctl): Do not use CHECK_1.
4583 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4584 (ustat): Do not use CHECK_1.
4585 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4586 <bp-checks.h>.
4587 (__fxstat): Do not use CHECK_1.
4588 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4589 <bp-checks.h>.
4590 (__fxstatat): Do not use CHECK_1.
4591 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4592 <bp-checks.h>.
4593 (__lxstat): Do not use CHECK_1.
4594 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4595 <bp-checks.h>.
4596 (__xstat): Do not use CHECK_1.
4597 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4598 (__xstat): Do not use CHECK_1.
4599 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4600 (___xstat64): Do not use CHECK_1.
4601
b2c9eff4
JM
4602 [BZ #13550]
4603 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4604 definitions.
4605 (CHECK_BOUNDS_HIGH): Likewise.
4606 * string/strcpy.c: Do not include <bp-checks.h>.
4607 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4608
f1d70dad
RM
46092013-02-07 Roland McGrath <roland@hack.frob.com>
4610
4611 * nscd/nscd-client.h (__nscd_drop_map_ref):
4612 Add __attribute__ ((unused)).
4613 * nis/nss-nisplus.h (niserr2nss): Likewise.
4614
4615 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4616 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4617
4618 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4619 Remove inline keyword.
4620 * include/rounding-mode.h (round_away): Likewise.
4621 * libio/wfileops.c (adjust_wide_data): Likewise.
4622 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4623 (__m128i_strloadu_tolower): Likewise.
4624 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4625 (__m128i_strloadu_tolower): Likewise.
4626 * time/mktime.c (ydhms_diff): Likewise.
4627 * locale/elem-hash.h (elem_hash): Likewise.
4628 * locale/setlocale.c (setdata): Likewise.
4629 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4630 (re_string_wchar_at): Likewise.
4631 (bitset_not, bitset_merge, bitset_mask): Likewise.
4632 [!(__GNUC__ > 3)] (inline): Remove macro.
4633 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4634 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4635 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4636 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4637 * string/memcmp.c (memcmp_bytes): Likewise.
4638 * locale/programs/locarchive.c (compute_hashval): Likewise.
4639 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4640 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4641 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4642 * nss/getent.c (print_rpc, print_protocols): Likewise.
4643 (print_passwd, print_group, print_aliases): Likewise.
4644 * nis/nss-nisplus.h (niserr2nss): Likewise.
4645 * nscd/connections.c (restart_p): Likewise.
4646 Change return type to bool.
4647
eab55bfb
RM
46482013-02-05 Roland McGrath <roland@hack.frob.com>
4649
7bd642f5
RM
4650 * Makeconfig (all-Depend-files): Add existing
4651 $(sorted-subdirs:=/Depend) files.
4652 (all-subdirs): Remove nss.
4653 * sysdeps/unix/inet/Subdirs: Add it here instead.
4654 * hesiod/Depend: New file.
4655
573c29b2
RM
4656 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4657 instead of calling alloca.
4658
b2e25af0
RM
4659 * io/lseek.c (__lseek): Rename to __libc_lseek.
4660 Define __lseek as an alias.
4661
eab55bfb
RM
4662 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4663
9a0d1941
CD
46642013-02-04 Carlos O'Donell <carlos@redhat.com>
4665
4666 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4667 else clause and remove check for non-standard endianness.
4668
b83bbec4
DM
46692013-02-04 David S. Miller <davem@davemloft.net>
4670
4671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4672
6277fdab
JM
46732013-02-04 Joseph Myers <joseph@codesourcery.com>
4674
4675 [BZ #13550]
4676 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4677 (__ubp_memchr): Remove prototype.
4678 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4679 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4680 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4681 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4682 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4683 Remove alias.
4684 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4685 (__ubp_memchr): Likewise.
4686 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4687 (__ubp_memchr): Likewise.
4688 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4689 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4690 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4691 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4692 CHECK_STRING.
4693 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4694 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4695 (__getcwd): Do not use CHECK_STRING.
4696 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4697 <bp-checks.h>.
4698 (__real_chown): Do not use CHECK_STRING.
4699 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4700 <bp-checks.h>.
4701 (fchownat): Do not use CHECK_STRING.
4702 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4703 CHECK_STRING.
4704 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4705 <bp-checks.h>.
4706 (__lchown): Do not use CHECK_STRING.
4707 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4708 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4709 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4710 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4712 include <bp-checks.h>.
4713 (truncate64): Do not use CHECK_STRING.
4714 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4715 <bp-checks.h>.
4716 (__real_chown): Do not use CHECK_STRING.
4717 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4718 <bp-checks.h>.
4719 (__lchown): Do not use CHECK_STRING.
4720 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4721 <bp-checks.h>.
4722 (__chown): Do not use CHECK_STRING.
4723 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4724 <bp-checks.h>.
4725 (truncate64): Do not use CHECK_STRING.
4726 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4727 Likewise.
4728 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4729 (__xmknod): Do not use CHECK_STRING.
4730 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4731 <bp-checks.h>.
4732 (__xmknodat): Do not use CHECK_STRING.
4733 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4734 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4735
903ae060
AS
47362013-02-04 Andreas Schwab <schwab@suse.de>
4737
4738 [BZ #14142]
4739 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4740 * include/netdb.h: Likewise for h_errno.
4741 * elf/tst-stackguard1.c: Include <tls.h>.
4742
542f9466
JK
47432013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4744
4745 * elf/link.h (struct link_map): Extend the l_addr comment.
4746 * include/link.h (struct link_map): Likewise.
4747
e782a927
JM
47482013-02-01 Joseph Myers <joseph@codesourcery.com>
4749
4750 [BZ #13550]
4751 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4752 (BOUNDED_1): Remove macro.
4753 * debug/backtrace.c: Don't include <bp-checks.h>.
4754 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4755 (__backtrace): Likewise.
4756 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4757 <bp-checks.h>.
4758 (__backtrace): Don't use BOUNDED_1.
4759 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4760 <bp-checks.h>.
4761 (__backtrace): Don't use BOUNDED_1.
4762 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4763 (__backtrace): Don't use BOUNDED_1.
4764 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4765 (shmat): Don't use BOUNDED_N.
4766
8cf28c5e
JM
47672013-01-31 Joseph Myers <joseph@codesourcery.com>
4768
3a7ac8a0
JM
4769 [BZ #13550]
4770 * sysdeps/generic/bp-start.h: Remove file.
4771 * csu/libc-start.c: Don't include <bp-start.h>.
4772 (LIBC_START_MAIN): Set up __environ directly instead of using
4773 INIT_ARGV_and_ENVIRON.
4774 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4775 <bp-start.h>.
4776
f3499f95
JM
4777 [BZ #13550]
4778 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4779 definitions.
4780 (CHECK_FCNTL): Likewise.
4781 (CHECK_N_PAGES): Likewise.
4782
32a45bea
JM
4783 [BZ #13550]
4784 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4785 definitions.
4786 (CHECK_SIGSET_NULL_OK): Likewise.
4787 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4788 <bp-checks.h>.
4789 (sigpending): Don't use CHECK_SIGSET.
4790 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4791 <bp-checks.h>.
4792 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4793 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4794 <bp-checks.h>.
4795 (do_sigsuspend): Don't use CHECK_SIGSET.
4796 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4797 use CHECK_SIGSET.
4798 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4799 (do_sigwait): Don't use CHECK_SIGSET.
4800 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4801 use CHECK_SIGSET.
4802 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4803 include <bp-checks.h>.
4804 (sigpending): Don't use CHECK_SIGSET.
4805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4806 include <bp-checks.h>.
4807 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4808 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4809 <bp-checks.h>.
4810 (sigpending): Don't use CHECK_SIGSET.
4811 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4812 <bp-checks.h>.
4813 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4814
2e8a5c8c
JM
4815 [BZ #13550]
4816 * sysdeps/generic/bp-semctl.h: Remove file.
4817 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4818 <bp-checks.h> and <bp-semctl.h>.
4819 (__old_semctl): Don't use CHECK_SEMCTL.
4820 (__new_semctl): Likewise.
4821 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4822 and <bp-semctl.h>.
4823 (__old_semctl): Don't use CHECK_SEMCTL.
4824 (__new_semctl): Likewise.
4825 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4826 <bp-checks.h> and <bp-semctl.h>.
4827 (__old_semctl): Don't use CHECK_SEMCTL.
4828 (__new_semctl): Likewise.
4829 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4830 <bp-checks.h> and <bp-semctl.h>.
4831 (semctl): Don't use CHECK_SEMCTL.
4832
c2d54929
JM
4833 [BZ #13550]
4834 * Makerules (elide-bp-thunks): Remove variable.
4835 (elide-routines.oS): Don't use $(elide-bp-thunks).
4836 (elide-routines.os): Likewise.
4837 (elide-routines.o): Likewise.
4838 (elide-routines.op): Likewise.
4839 (elide-routines.og): Likewise.
4840 (objects): Don't use $(bp-thunks).
4841 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4842 include.
4843 (common-generated): Do not add s-proto-bp.d.
4844 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4845 (int): Likewise.
4846 (typ): Likewise.
4847 Do not generate makefile rules for bounded-pointer thunks.
4848 * sysdeps/generic/bp-thunks.h: Remove file.
4849 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4850 * sysdeps/unix/s-proto-bp.S: Likewise.
4851
8cf28c5e
JM
4852 [BZ #15062]
4853 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4854 parts of result separately when argument is not close to line from
4855 -i to i and one part of argument is small.
4856 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4857 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4858 * math/libm-test.inc (cacos_test): Add more tests.
4859 (casin_test): Likewise.
4860 (casinh_test): Likewise.
4861 * sysdeps/i386/fpu/libm-test-ulps: Update.
4862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4863
c4e33b8d
DM
48642013-01-31 David S. Miller <davem@davemloft.net>
4865
4866 * po/de.po: Update from translation team.
4867
3b60b421
MK
48682013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4869
4870 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4871
bb931195
TS
48722013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4873
b5a5da23
TS
4874 * configure.in (_AC_PROG_CC_C89): New definition.
4875 * configure: Regenerate.
4876
bb931195
TS
4877 * configure.in (AC_PROG_CPP): New definition.
4878 * configure: Regenerate.
4879
8c53a12c
JM
48802013-01-23 Joseph Myers <joseph@codesourcery.com>
4881
4882 * debug/tst-backtrace.h: New file.
4883 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4884 (ret): Remove variable.
4885 (x): Likewise.
4886 (FAIL): Remove macro.
4887 (NO_INLINE): Likewise.
4888 (fn1): Use match function instead of strstr.
4889 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4890 (ret): Remove variable.
4891 (x): Likewise.
4892 (FAIL): Remove macro.
4893 (NO_INLINE): Likewise.
4894 (fn): Use match function instead of strstr.
4895 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4896 (ret): Remove variable.
4897 (x): Likewise.
4898 (FAIL): Remove macro.
4899 (NO_INLINE): Likewise.
4900 (handle_signal): Use match function instead of strstr.
4901 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4902 (ret): Remove variable.
4903 (x): Likewise.
4904 (FAIL): Remove macro.
4905 (NO_INLINE): Likewise.
4906 (handle_signal): Use match function instead of strstr.
4907
4858fa2a
RM
49082013-01-23 Roland McGrath <roland@hack.frob.com>
4909
4910 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4911
bae8e7f5
DM
49122013-01-23 David S. Miller <davem@davemloft.net>
4913
4914 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4915 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4916 argument of CAS if possible.
4917 * sysdeps/sparc/sparc64/bits/atomic.h
4918 (__arch_compare_and_exchange_val_32_acq): Likewise.
4919 (__arch_compare_and_exchange_val_64_acq): Likewise.
4920
9cbbc4ae
PT
49212013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4922
4923 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4924 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4925 Include <limits.h>.
67b3f58c 4926 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4927
5655a0b5
AC
49282013-01-23 Adam Conrad <adconrad@0c3.net>
4929
4930 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4931 (LDFLAGS-tst-array5): Likewise.
4932
052aff95
JM
49332013-01-23 Joseph Myers <joseph@codesourcery.com>
4934
4935 [BZ #15036]
4936 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4937 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4938 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4939 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4940
7c1e01aa
DM
49412013-01-21 David S. Miller <davem@davemloft.net>
4942
4943 * sysdeps/sparc/backtrace.c: New file.
4944 * sysdeps/sparc/sparc32/backtrace.h: New file.
4945 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4946 * sysdeps/sparc/sparc64/backtrace.h: New file.
4947 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4948 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4949 -funwind-tables.
4950
ab087e0a
AS
49512013-01-21 Andreas Schwab <schwab@suse.de>
4952
4953 [BZ #15020]
4954 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4955 closed its stdout.
4956
ed689c2f
AS
49572013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4958
4959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4960 "mpa2.h".
4961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4962
31d470ac
JM
49632013-01-18 Joseph Myers <joseph@codesourcery.com>
4964 Mark Mitchell <mark@codesourcery.com>
4965 Tom de Vries <tom@codesourcery.com>
4966 Paul Pluzhnikov <ppluzhnikov@google.com>
4967
4968 * debug/tst-backtrace2.c: New file.
4969 * debug/tst-backtrace3.c: Likewise.
4970 * debug/tst-backtrace4.c: Likewise.
4971 * debug/tst-backtrace5.c: Likewise.
4972 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4973 (CFLAGS-tst-backtrace3.c): Likewise.
4974 (CFLAGS-tst-backtrace4.c): Likewise.
4975 (CFLAGS-tst-backtrace5.c): Likewise.
4976 (LDFLAGS-tst-backtrace2): Likewise.
4977 (LDFLAGS-tst-backtrace3): Likewise.
4978 (LDFLAGS-tst-backtrace4): Likewise.
4979 (LDFLAGS-tst-backtrace5): Likewise.
4980 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4981 tst-backtrace4 and tst-backtrace5.
4982
90567f30 49832013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4984 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4985
4986 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4987 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4988 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4989 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4991 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4992 "+r" and remove output regs list as redundant. Add explicit inline
4993 asm to specify register of return val to work around compiler codegen
4994 bug. Remove (int) cast on return value. Add return type parameter to
4995 use in macro so that this macro does not truncate return value for
4996 64-bit values.
4997 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4998 pass to INTERNAL_VSYSCALL_NCS.
4999 (INLINE_VSYSCALL): Add 'long int' as return type to
5000 INTERNAL_VSYSCALL_NCS macro invocation.
5001 (INTERNAL_VSYSCALL): Add 'long int' as return type to
5002 INTERNAL_VSYSCALL_NCS macro invocation.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5004
d3b9ea61
SP
50052013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5006
0b57daeb
SP
5007 [BZ #14496]
5008 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5009 Fix application of SIMD FP exception mask.
5010
caa99d06
SP
5011 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5012 mp_no from a power of two.
5013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5014 __mpexp_twomm1. Use __pow_mp.
5015
d3b9ea61
SP
5016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5017 multiplication.
5018
1dbaee3c
DM
50192013-01-17 David S. Miller <davem@davemloft.net>
5020
5021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5022
728d7b43
JM
50232013-01-17 Joseph Myers <joseph@codesourcery.com>
5024
5025 [BZ #15023]
5026 * include/complex.h: Condition contents on [!_COMPLEX_H].
5027 (__kernel_casinhf): New prototype.
5028 (__kernel_casinh): Likewise.
5029 (__kernel_casinhl): Likewise.
5030 * math/Makefile (libm_calls): Add k_casinh.
5031 * math/k_casinh.c: New file.
5032 * math/k_casinhf.c: Likewise.
5033 * math/k_casinhl.c: Likewise.
5034 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5035 finite nonzero arguments.
5036 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5037 finite nonzero arguments.
5038 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5039 finite nonzero arguments.
5040 * math/s_casinh.c: Do not include <float.h>.
5041 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5042 * math/s_casinhf.c: Do not include <float.h>.
5043 (__casinhf): Move code for finite nonzero arguments to
5044 k_casinhf.c.
5045 * math/s_casinhl.c: Do not include <float.h>.
5046 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5047 redefine.
5048 (__casinhl): Move code for finite nonzero arguments to
5049 k_casinhl.c.
5050 * math/libm-test.inc (cacos_test): Add more tests.
5051 * sysdeps/i386/fpu/libm-test-ulps: Update.
5052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5053
2a26ef3a
PT
50542013-01-17 Pino Toscano <toscano.pino@tiscali.it>
5055
5056 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5057 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5058 [!HAVE_MREMAP]: Remove [defined linux] case.
5059 * malloc/arena.c: Do not include <malloc-sysdep.h>.
5060
a897655d
SP
50612013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5062
5063 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5064
881ebe89 50652013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
5066
5067 * elf/elf.h (R_386_SIZE32): New relocation.
5068 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5069 R_386_SIZE32.
5070 (elf_machine_rela): Likewise.
5071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5072 R_X86_64_SIZE64 and R_X86_64_SIZE32.
5073
59981e9b
JM
50742013-01-17 Joseph Myers <joseph@codesourcery.com>
5075
5076 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5077 (FP_FAST_FMA): Do not define.
5078 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5079 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5080 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5081 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5082 !_SOFT_FLOAT]: Likewise.
5083 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5084 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5085 value.
5086 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5087 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5088 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5089 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5090 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5091 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5092 file.
5093
cfa8054f
AS
50942013-01-16 Andreas Schwab <schwab@suse.de>
5095
5096 [BZ #14327]
5097 * include/stdlib.h (__mktemp): Add declaration.
5098 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5099 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5100
dd930cc5
SP
51012013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5102
881ebe89
SP
5103 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5104 definitions.
5105 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5106 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5107 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5108 definitions here.
5109 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5110 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5111 definitions.
5112 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5113 and ONE.
5114 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5115 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5116 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5117 definitions.
5118 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5119 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5120 definitions.
5121 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 5122
dd930cc5
SP
5123 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5124
c19a9f89
DM
51252013-01-15 David S. Miller <davem@davemloft.net>
5126
1aa61767
DM
5127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5128 trunc{,f} to libm-sysdep_routes.
5129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5131 file.
5132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5134 file.
5135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5136 file.
5137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5139 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5140 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5141 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5142 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5143 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5144 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5145
c42d5e98
DM
5146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5147 nearbyint{,f} to libm-sysdep_routes.
5148 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5150 New file.
5151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5152 file.
5153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5154 New file.
5155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5156 file.
5157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5159 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5160 file.
5161 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5162 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5163 file.
5164 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5165 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5166 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5167
c19a9f89
DM
5168 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5169 libc_feholdexcept and libc_fesetenv.
5170
357679d2
MF
51712013-01-15 Mike Frysinger <vapier@gentoo.org>
5172
5173 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5174
65a82e3d
DM
51752013-01-14 David S. Miller <davem@davemloft.net>
5176
8b954ab9
DM
5177 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5178 (SPARC_ASM_VIS2_IFUNC): Likewise.
5179 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5181 use of 'siam' instruction.
5182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5183 Likewise.
5184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5185 Likewise.
5186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5187 Likewise.
5188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5193 file.
5194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5195 file.
5196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5197 file.
5198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5199 file.
5200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5205 new VIS2 routines.
5206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5209 Likewise.
5210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5215 routines to libm-sysdep_routines.
5216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5217
65a82e3d
DM
5218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5219 fdim/fdimf to libm-sysdep_routines.
5220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5221 file.
5222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5224 file.
5225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5228 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5229 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5230 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5231 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5232
e34ab705
SP
52332013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5234
2a91b573
SP
5235 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5236 to optimize copies.
5237
1066a534
SP
5238 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5241
e34ab705
SP
5242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5243 local variable MPTWO.
5244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5245 Likewise.
5246
aba5e596
MF
52472013-01-13 Mike Frysinger <vapier@gentoo.org>
5248
5249 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5250 GLOB_NOESCAPE.
5251
e557e9e5
MF
52522013-01-13 Mike Frysinger <vapier@gentoo.org>
5253
5254 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5255
0428cec9
MF
52562013-01-13 Mike Frysinger <vapier@gentoo.org>
5257
5258 * manual/pattern.texi (glob_t): Document gl_flags.
5259 (glob64_t): Likewise.
5260
8794a964
DM
52612013-01-11 David S. Miller <davem@davemloft.net>
5262
66438c3f
RM
5263 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5264 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5265 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
5266 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5267 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5268 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5269 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5270 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5271 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5272 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5273 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5274 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5275 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5276
4ae4244d
DM
5277 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5278 sparc V9 rather than using V8 code.
5279 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5280 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5281
8794a964
DM
5282 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5283 Move to...
5284 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5285 Here.
5286
6270516e
RM
52872013-01-11 Roland McGrath <roland@hack.frob.com>
5288
5289 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5290 not in the main loop.
5291 * configure: Regenerated.
5292
6a57d931
JM
52932013-01-11 Joseph Myers <joseph@codesourcery.com>
5294
5295 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5296 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5297 to just #else.
5298 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5299 [!__GLIBC_HAVE_LONG_LONG] case.
5300 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5301 condition to just #else.
5302 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5303 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5304 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5305 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5306 unconditional.
5307 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5308 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5309 #elif condition to just #else.
5310 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5311 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5312 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5313 #elif condition to just #else.
5314
0e8529e9
SE
53152013-01-11 Steve Ellcey <sellcey@mips.com>
5316
5317 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5318 (EF_MIPS_ARCH_64): Fix value.
5319 (EF_MIPS_ARCH_32R2): New.
5320 (EF_MIPS_ARCH_64R2): New.
5321
740b3dbe
L
53222013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5323
5324 * Makeconfig (+link-pie-before-libc): New.
5325 (+link-pie-after-libc): Likewise.
5326 (+link-pie-tests): Likewise.
5327 (+link-pie): Rewritten.
5328 (link-before-libc): Remove $(config-LDFLAGS).
5329 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5330 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5331 (config-LDFLAGS): Renamed to ...
5332 (rtld-LDFLAGS): This.
5333 (rtld-tests-LDFLAGS): New macro.
5334 (link-libc-rpath-link): Likewise.
5335 (link-libc-tests-rpath-link): Likewise.
5336 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5337 (link-libc): Prepand $(link-libc-rpath-link).
5338 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5339 (test-program-prefix): New macro.
5340 (test-via-rtld-prefix): Likewise.
5341 (test-program-cmd): Likewise.
5342 (host-test-program-cmd): Likewise.
5343 * Makefile ($(common-objpfx)testrun.sh): Replace
5344 $(run-program-prefix) with $(test-program-prefix).
5345 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5346 $(rtld-LDFLAGS).
5347 ($(common-objpfx)shlib.lds): Likewise.
5348 (build-module-helper): Likewise.
5349 ($(common-objpfx)format.lds): Likewise.
5350 * Rules (binaries-pie-tests): New.
5351 (binaries-pie-notests): Likewise.
5352 (binaries-pie): Rewritten.
5353 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5354 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5355 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5356 (make-test-out): Replace $(host-built-program-cmd) with
5357 $(host-test-program-cmd).
5358 * config.make.in (build-hardcoded-path-in-tests): New variable.
5359 * configure.in (--enable-hardcoded-path-in-tests): New configure
5360 option.
5361 (hardcoded_path_in_tests): New AC_SUBST.
5362 * configure: Regenerated.
5363 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5364 $(built-program-cmd) with $(test-program-cmd).
5365 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5366 (test_program_cmd): This.
5367 * elf/Makefile ($(objpfx)order.out): Run test with
5368 $(test-program-prefix).
5369 ($(objpfx)order2.out): Likewise.
5370 ($(objpfx)tst-initorder.out): Likewise.
5371 ($(objpfx)tst-initorder2.out): Likewise.
5372 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5373 $(test-program-cmd).
5374 ($(objpfx)tst-array1-static.out): Likewise.
5375 ($(objpfx)tst-array2.out): Likewise.
5376 ($(objpfx)tst-array3.out): Likewise.
5377 ($(objpfx)tst-array4.out): Likewise.
5378 ($(objpfx)tst-array5.out): Likewise.
5379 ($(objpfx)tst-array5-static.out): Likewise.
5380 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5381 $(test-program-cmd).
5382 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5383 $(run-program-prefix) with $(test-program-prefix).
5384 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5385 (test_program_prefix): This.
5386 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5387 $(run-program-prefix) with $(test-program-prefix).
5388 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5389 (test_program_prefix): This.
5390 * iconvdata/tst-tables.sh: Likewise.
5391 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5392 $(run-program-prefix) with $(test-program-prefix).
5393 ($(objpfx)tst-translit.out): Likewise.
5394 ($(objpfx)tst-gettext2.out): Likewise.
5395 ($(objpfx)tst-gettext4.out): Likewise.
5396 ($(objpfx)tst-gettext6.out): Likewise.
5397 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5398 (test_program_prefix): This.
5399 * intl/tst-gettext2.sh: Likewise.
5400 * intl/tst-gettext4.sh Likewise.
5401 * intl/tst-gettext6.sh: Likewise.
5402 * intl/tst-translit.sh: Likewise.
5403 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5404 with $(test-program-cmd).
5405 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5406 $(run-program-prefix) with $(test-program-prefix).
5407 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5408 (test_program_prefix): This.
5409 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5410 $(run-program-prefix) with $(test-program-prefix).
5411 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5412 (test_program_prefix): This.
5413 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5414 * posix/Makefile ($(objpfx)globtest.out): Replace
5415 $(run-via-rtld-prefix) and $(test-wrapper) with
5416 $(test-program-prefix) and $(test-via-rtld-prefix).
5417 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5418 $(test-program-prefix).
5419 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5420 $(host-test-program-cmd).
5421 (tst-spawn-ARGS): Likewise.
5422 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5423 $(test-program-prefix).
5424 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5425 (test_via_rtld_prefix): This.
5426 (test_wrapper): Renamed to ...
5427 (test_program_prefix): This.
5428 (run_program_prefix): Replaced by test_program_prefix.
5429 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5430 (test_program_prefix): This.
5431 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5432 with $(host-test-program-cmd).
5433 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5434 $(run-program-prefix) with $(test-program-prefix).
5435 ($(objpfx)tst-printf.out): Likewise.
5436 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5437 $(test-program-cmd).
5438 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5439 (test_program_prefix): This.
5440 * stdio-common/tst-unbputc.sh: Likewise.
5441 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5442 $(run-program-prefix) with $(test-program-prefix).
5443 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5444 (test_program_prefix): This.
5445 * string/Makefile ($(objpfx)tst-svc.out): Replace
5446 $(built-program-cmd) with $(test-program-cmd).
5447
c6fe55cf
AJ
54482013-01-11 Andreas Jaeger <aj@suse.de>
5449
5450 [BZ #15003]
5451 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5452 value. Sync with Linux 3.7.
5453
9e6919c8
DM
54542013-01-10 David S. Miller <davem@davemloft.net>
5455
5456 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5457 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5458 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5459
1c9f1a02
RM
54602013-01-10 Roland McGrath <roland@hack.frob.com>
5461
5462 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5463 never set.
5464 * configure: Regenerated.
5465
b9de2dde
DM
54662013-01-10 David S. Miller <davem@davemloft.net>
5467
5468 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5469 sparc V9 rather than using V8 code.
5470 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5471 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5472
e7f68ef4
RM
54732013-01-10 Roland McGrath <roland@hack.frob.com>
5474
5475 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5476 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5477 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5478 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5479 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5480 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5481 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5482 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5483 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5484 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5485 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5486 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5487 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5488 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5489 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5490 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5491 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5492 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5493 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5494 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5495 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5496 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5497 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5498 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5499 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5500 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5501 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5502
5a47cc9c
DM
55032013-01-10 David S. Miller <davem@davemloft.net>
5504
5505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5506
4cf8f209
L
55072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5508
5509 * posix/Makefile (tests-static): New variable.
5510 (tests): Add $(tests-static).
5511 (tst-exec-static-ARGS): New variable.
5512 (tst-spawn-static-ARGS): Likewise.
5513 * posix/tst-exec-static.c: New file.
5514 * posix/tst-spawn-static.c: Likewise.
5515 * posix/tst-exec.c: Support run directly.
5516 * posix/tst-spawn.c: Likewise.
5517
fed0faa1
JM
55182013-01-10 Joseph Myers <joseph@codesourcery.com>
5519
828beb13
JM
5520 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5521 long.
5522 * math/bits/mathcalls.h (llrint): Likewise.
5523 (llround): Likewise.
5524 * stdlib/stdlib.h (struct drand48_data): Likewise.
5525 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5526 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5527 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5528 Likewise.
5529 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5530 Likewise.
5531 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5532 (elf_greg_t): Likewise.
5533 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5534 (__jmp_buf): Likewise.
5535 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5536 definitions.
5537 (llrint): Likewise, for all definitions.
5538 (llrintl): Likewise.
5539
fed0faa1
JM
5540 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5541 Remove [__GNUC__] condition.
5542 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5543 condition to just [__USE_ISOC99].
5544 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5545
1a20cb20
L
55462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5547
5548 [BZ #14200]
5549 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5550 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5551 defined.
5552 (_POSIX_V6_ILP32_OFF32): Likewise.
5553 (_XBS5_ILP32_OFF32): Likewise.
5554 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5555 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5556
751b85f7
SP
55572013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5558
7490eb81
SP
5559 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5560
751b85f7
SP
5561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5562 doubles __mpexp_twomm1. Adjust usage.
5563 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5564 Remove.
5565
988197f0
AS
55662013-01-10 Andreas Schwab <schwab@suse.de>
5567
5568 [BZ #14964]
5569 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5570 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5571
e83d7298
DM
55722013-01-09 David S. Miller <davem@davemloft.net>
5573
034ed64b 5574 [BZ #15003]
e83d7298
DM
5575 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5576 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5577 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5578 TCP_FASTOPEN): Define.
5579 (tcp_repair_opt): New structure.
5580 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5581 enum values.
5582 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5583 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5584 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5585 (tcp_cookie_transactions): New structure.
5586
d5e0b9bd
AB
55872013-01-09 Anton Blanchard <anton@samba.org>
5588
5589 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5590 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5591 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5592 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5593
0c07e3ea
JM
55942013-01-09 Joseph Myers <joseph@codesourcery.com>
5595
5596 * include/features.h (__USE_ANSI): Remove.
5597
232f7002
RM
55982013-01-09 Roland McGrath <roland@hack.frob.com>
5599
ad98e30c
RM
5600 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5601
232f7002
RM
5602 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5603
950c99ca
SP
56042013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5605
b5792741
SP
5606 * sysdeps/s390/fpu/libm-test-ulps: Update.
5607
47cf2278
SP
5608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5609
950c99ca
SP
5610 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5611 (__acr): Likewise.
5612 (__cpy): Likewise.
5613 (norm): Likewise.
5614 (denorm): Likewise.
5615 (__mp_dbl): Likewise.
5616 (__dbl_mp): Likewise.
5617 (add_magnitudes): Likewise.
5618 (sub_magnitudes): Likewise.
5619 (__add): Likewise.
5620 (__sub): Likewise.
5621 (__mul): Likewise.
5622 (__inv): Likewise.
5623 (__dvd): Likewise.
5624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5625 (__acr): Likewise.
5626 (__cpy): Likewise.
5627 (norm): Likewise.
5628 (denorm): Likewise.
5629 (__mp_dbl): Likewise.
5630 (__dbl_mp): Likewise.
5631 (add_magnitudes): Likewise.
5632 (sub_magnitudes): Likewise.
5633 (__add): Likewise.
5634 (__sub): Likewise.
5635 (__mul): Likewise.
5636 (__inv): Likewise.
5637 (__dvd): Likewise.
5638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5639 (__acr): Likewise.
5640 (__cpy): Likewise.
5641 (norm): Likewise.
5642 (denorm): Likewise.
5643 (__mp_dbl): Likewise.
5644 (__dbl_mp): Likewise.
5645 (add_magnitudes): Likewise.
5646 (sub_magnitudes): Likewise.
5647 (__add): Likewise.
5648 (__sub): Likewise.
5649 (__mul): Likewise.
5650 (__inv): Likewise.
5651 (__dvd): Likewise.
5652
eede9df9
JM
56532013-01-08 Joseph Myers <joseph@codesourcery.com>
5654
5655 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5656 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5657 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5658 2 && __USE_EXTERN_INLINES]: Likewise.
5659
c40ea3d9
AJ
56602013-01-08 Andreas Jaeger <aj@suse.de>
5661
5662 [BZ# 14985]
5663 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5664 Remove.
5665 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5666 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5667
2ccdea26
AB
56682013-01-07 Anton Blanchard <anton@samba.org>
5669
5670 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5671 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5672 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5673 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5674 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5675 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5676 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5677 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5679 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5680 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5681 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5682 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5683 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5684 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5685 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5686 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5687 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5688 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5690 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5691 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5692 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5693 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5694 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5695 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5696 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5697 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5698 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5699 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5700 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5702 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5703 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5704 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5705 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5706 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5707 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5708 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5709 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5710 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5712 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5713
a9708fed
JM
57142013-01-07 Joseph Myers <joseph@codesourcery.com>
5715
375607b9
JM
5716 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5717 (__MALLOC_PMT): Likewise.
5718 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5719 [__GNUC__], only on [_LIBC].
5720 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5721 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5722 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5723 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5724 forward declaration.
5725 (realloc_hook_ini): Likewise.
5726 (memalign_hook_ini): Likewise.
5727 (__libc_memalign): Do not use __MALLOC_PMT in variable
5728 declaration.
5729 (__libc_valloc): Likewise.
5730 (__libc_pvalloc): Likewise.
5731 (__libc_calloc): Likewise.
5732 (__posix_memalign): Likewise.
5733
a9708fed
JM
5734 [BZ #14996]
5735 * math/s_casinh.c: Include <float.h>.
5736 (__casinh): Do not do computation with squaring and square root
5737 for large arguments.
5738 * math/s_casinhf.c: Include <float.h>.
5739 (__casinhf): Do not do computation with squaring and square root
5740 for large arguments.
5741 * math/s_casinhl.c: Include <float.h>.
5742 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5743 (__casinhl): Do not do computation with squaring and square root
5744 for large arguments.
5745 * math/libm-test.inc (casin_test): Add more tests.
5746 (casinh_test): Likewise.
5747 * sysdeps/i386/fpu/libm-test-ulps: Update.
5748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5749
afec409a
L
57502013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5751
5752 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5753 (__x86_64_raw_data_cache_size): Likewise.
5754 (__x86_64_data_cache_size_half): Likewise.
5755 (__x86_64_raw_data_cache_size_half): Likewise.
5756 (__x86_64_shared_cache_size): Likewise.
5757 (__x86_64_raw_shared_cache_size): Likewise.
5758 (__x86_64_shared_cache_size_half): Likewise.
5759 (__x86_64_raw_shared_cache_size_half): Likewise.
5760 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5761 to ...
5762 (__x86_data_cache_size): This.
5763 (__x86_64_raw_data_cache_size): Renamed to ...
5764 (__x86_raw_data_cache_size): This.
5765 (__x86_64_data_cache_size_half): Renamed to ...
5766 (__x86_data_cache_size_half): This.
5767 (__x86_64_raw_data_cache_size_half): Renamed to ...
5768 (__x86_raw_data_cache_size_half): This.
5769 (__x86_64_shared_cache_size): Renamed to ...
5770 (__x86_shared_cache_size): This.
5771 (__x86_64_raw_shared_cache_size): Renamed to ...
5772 (__x86_raw_shared_cache_size): This.
5773 (__x86_64_shared_cache_size_half): Renamed to ...
5774 (__x86_shared_cache_size_half): This.
5775 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5776 (__x86_raw_shared_cache_size_half): This.
5777 * sysdeps/x86_64/memcpy.S: Updated.
5778 * sysdeps/x86_64/memset.S: Likewise.
5779 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5780 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5781 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5782
0b3986d0
DM
57832013-01-04 David S. Miller <davem@davemloft.net>
5784
5785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5786
e47686e9
AS
57872013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5788
d643bac1
AS
5789 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5790 1 to avoid redefinition warning.
5791 (__USE_GNU): Don't define.
5792 (init_signaling_nan): Protoize.
5793
e47686e9
AS
5794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5795
b18decba
SP
57962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5797
fffb407f
SP
5798 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5800 (__cpymn): Likewise.
5801 (norm): Remove commented code.
5802 (denorm): Likewise.
5803 (__mp_dbl): Likewise.
5804 (__inv): Likewise.
5805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5806 (__cpymn): Likewise.
5807 (norm): Remove commented code.
5808 (denorm): Likewise.
5809 (__mp_dbl): Likewise.
5810 (__inv): Likewise.
5811
b18decba
SP
5812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5813 mp_no value for 1.0 and 2.0.
5814 (norm): Use RADIXI instead of radixi.d.
5815 (denorm): Likewise.
5816 (__mul): Use 0.0 instead of zero.d.
5817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5818 mp_no value for 1.0 and 2.0.
5819 (norm): Use RADIXI instead of radixi.d.
5820 (denorm): Likewise.
5821 (__mul): Use 0.0 instead of zero.d.
5822
cdc1c96f
JM
58232013-01-04 Joseph Myers <joseph@codesourcery.com>
5824
5825 [BZ #14994]
5826 * math/s_casinh.c (__casinh): Reduce finite argument to first
5827 quadrant then set signs of results at the end.
5828 * math/s_casinhf.c (__casinhf): Likewise.
5829 * math/s_casinhl.c (__casinhl): Likewise.
5830 * math/libm-test.inc (casin_test): Add more tests.
5831 (casinh_test): Likewise.
5832 * sysdeps/i386/fpu/libm-test-ulps: Update.
5833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5834
302913e1
SP
58352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5836
6420d207
SP
5837 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5838
a9e48ab4
SP
5839 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5840
b7837264
SP
5841 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5842 declarations.
5843 (denorm): Likewise.
5844 (__mp_dbl): Likewise.
5845 (__inv): Likewise.
5846
f8af25d2
SP
5847 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5848 and adjust the header comment.
5849
302913e1
SP
5850 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5851 variable name from declaration.
5852
5d7dd1ca
L
58532013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5854
5855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5856 Initialize COMMON_CPUID_INDEX_7 element.
5857 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5858 (CPUID_RTM): Likewise.
5859 (HAS_RTM): Likewise.
5860 (COMMON_CPUID_INDEX_7): New enum.
5861
2f5f40f4
AS
58622013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5863
5864 [BZ #14981]
5865 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5866 size is zero, record memory as freed.
5867
4056f4a0
AJ
58682013-01-03 Andreas Jaeger <aj@suse.de>
5869
5870 * po/ia.po: Add new Interlingua translation.
5871
ab15736f 58722012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5873
5874 * locale/programs/localedef.c: Fix description of '--posix' flag.
5875
568035b7
JM
58762013-01-02 Joseph Myers <joseph@codesourcery.com>
5877
e6898b8d
JM
5878 * NEWS: Update dates in second copyright notice.
5879 * README: Update copyright dates in example.
5880 * manual/libc.texinfo: Update copyright dates.
5881 * scripts/test-installation.pl: Update copyright date in --version
5882 output.
5883
0e2f9562
JM
5884 * hurd/ctty-input.c: Fix copyright notice formatting.
5885 * hurd/ctty-output.c: Likewise.
5886 * hurd/dtable.c: Likewise.
5887 * hurd/hurd-raise.c: Likewise.
5888 * hurd/hurdprio.c: Likewise.
5889 * hurd/msgportdemux.c: Likewise.
5890 * misc/sys/file.h: Likewise.
5891 * misc/sys/ioctl.h: Likewise.
5892 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5893 * sysdeps/mach/hurd/chdir.c: Likewise.
5894 * sysdeps/mach/hurd/fchdir.c: Likewise.
5895 * sysdeps/mach/hurd/rename.c: Likewise.
5896 * sysdeps/mach/hurd/rmdir.c: Likewise.
5897 * sysdeps/mach/hurd/seekdir.c: Likewise.
5898 * sysdeps/mach/hurd/setsid.c: Likewise.
5899 * sysdeps/posix/wait3.c: Likewise.
5900
568035b7
JM
5901 * All files with FSF copyright notices: Update copyright dates
5902 using scripts/update-copyrights.
5903 * intl/plural.c: Regenerated.
5904 * locale/programs/charmap-kw.h: Likewise.
5905 * locale/programs/locfile-kw.h: Likewise.
5906
da08f647
SP
59072013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5908
0f5477af
SP
5909 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5910 four values.
5911
44e0d4c2
SP
5912 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5913 calculation loop and add branch prediction.
5914
4d55b4e5
SP
5915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5916 check access beyond bounds of m1np.
5917
da08f647
SP
5918 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5919 MPTWO.
5920 (__inv): Remove local variable MPTWO to use the global
5921 constant.
5922 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5923 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5924 variable MPTWO.
5925 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5926 MP3HALFS static const.
5927
8e051029
DM
59282013-01-01 David S. Miller <davem@davemloft.net>
5929
5930 * po/ca.po: Update from translation team.
5931
f4cf5f2d
JM
59322013-01-01 Joseph Myers <joseph@codesourcery.com>
5933
5934 * scripts/update-copyrights: New file.
5935 * Makeconfig: Reformat copyright notice.
5936 * ctype/ctype.h: Likewise.
5937 * debug/swprintf_chk.c: Likewise.
5938 * elf/dl-cache.c: Likewise.
5939 * elf/dl-debug.c: Likewise.
5940 * elf/dl-object.c: Likewise.
5941 * grp/initgroups.c: Likewise.
5942 * hurd/Makefile: Likewise.
5943 * hurd/hurd/signal.h: Likewise.
5944 * hurd/hurdfault.c: Likewise.
5945 * hurd/hurdioctl.c: Likewise.
5946 * hurd/hurdlookup.c: Likewise.
5947 * hurd/intr-msg.c: Likewise.
5948 * iconv/gconv_open.c: Likewise.
5949 * libio/swprintf.c: Likewise.
5950 * locale/lc-ctype.c: Likewise.
5951 * locale/nl_langinfo.c: Likewise.
5952 * mach/Machrules: Likewise.
5953 * mach/Makefile: Likewise.
5954 * malloc/obstack.h: Likewise.
5955 * manual/Makefile: Likewise.
5956 * manual/tsort.awk: Likewise.
5957 * misc/bits/stab.def: Likewise.
5958 * nis/nis_print_group_entry.c: Likewise.
5959 * nis/nis_table.c: Likewise.
5960 * nis/nss_compat/compat-pwd.c: Likewise.
5961 * nis/nss_compat/compat-spwd.c: Likewise.
5962 * po/Makefile: Likewise.
5963 * posix/fnmatch.c: Likewise.
5964 * posix/regex.h: Likewise.
5965 * resolv/Makefile: Likewise.
5966 * resolv/nss_dns/dns-network.c: Likewise.
5967 * resolv/res_hconf.c: Likewise.
5968 * scripts/gen-sorted.awk: Likewise.
5969 * soft-fp/soft-fp.h: Likewise.
5970 * stdio-common/printf.h: Likewise.
5971 * stdlib/monetary.h: Likewise.
5972 * stdlib/random.c: Likewise.
5973 * stdlib/random_r.c: Likewise.
5974 * sysdeps/generic/Makefile: Likewise.
5975 * sysdeps/gnu/Makefile: Likewise.
5976 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5980 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5983 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5984 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5986 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5987 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5988 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5989 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5990 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5991 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5992 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5993 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5994 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5996 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5997 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5998 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5999 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6000 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6001 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6002 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6003 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6004 * sysdeps/mach/hurd/errnos.awk: Likewise.
6005 * sysdeps/mach/hurd/fork.c: Likewise.
6006 * sysdeps/mach/hurd/getcwd.c: Likewise.
6007 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6008 * sysdeps/mach/hurd/mmap.c: Likewise.
6009 * sysdeps/mach/hurd/utimes.c: Likewise.
6010 * sysdeps/mach/hurd/xmknod.c: Likewise.
6011 * sysdeps/posix/profil.c: Likewise.
6012 * sysdeps/posix/readdir_r.c: Likewise.
6013 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6014 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6015 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6016 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6018 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6019 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6020 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6022 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6023 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6024 * sysdeps/pthread/lio_listio.c: Likewise.
6025 * sysdeps/sparc/dl-procinfo.h: Likewise.
6026 * sysdeps/unix/i386/sysdep.S: Likewise.
6027 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6028 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6029 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6030 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6032 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6033 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6034 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6035 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6036 * sysdeps/wordsize-32/divdi3.c: Likewise.
6037 * time/sys/time.h: Likewise.
6038 * wcsmbs/Makefile: Likewise.
6039
0549fbba
DM
60402013-01-01 David S. Miller <davem@davemloft.net>
6041
a141f1a7
DM
6042 * po/fr.po: Update from translation team.
6043
0549fbba
DM
6044 * catgets/gencat.c: Update copyright year.
6045 * csu/version.c: Likewise.
6046 * debug/catchsegv.sh: Likewise.
6047 * debug/pcprofiledump.c: Likewise.
6048 * debug/xtrace.sh: Likewise.
6049 * elf/ldconfig.c: Likewise.
6050 * elf/ldd.bash.in: Likewise.
6051 * elf/pldd.c: Likewise.
6052 * elf/sotruss.ksh: Likewise.
6053 * elf/sprof.c: Likewise.
6054 * iconv/iconv_prog.c: Likewise.
6055 * iconv/iconvconfig.c: Likewise.
6056 * locale/programs/locale.c: Likewise.
6057 * locale/programs/localedef.c: Likewise.
6058 * login/programs/pt_chown.c: Likewise.
6059 * malloc/memusage.sh: Likewise.
6060 * malloc/memusagestat.c: Likewise.
6061 * malloc/mtrace.pl: Likewise.
6062 * nscd/nscd.c: Likewise.
6063 * nss/getent.c: Likewise.
6064 * nss/makedb.c: Likewise.
6065 * posix/getconf.c: Likewise.
6066
18ea052c
SP
60672012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6068
6069 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6070 numbers.
6071
9c89fca6
MF
60722012-12-30 Mike Frysinger <vapier@gentoo.org>
6073
6074 * math/bits/mathcalls.h (modf): Use __nonnull.
6075
085ec079
SP
60762012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6077
6078 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6079 (split): Use macro CN instead of the bare value.
6080 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6081 could be used.
6082 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6083 instead of the bare value.
6084 (power1): Likewise.
6085
6d9f97e1
SP
60862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6087
d63f73be
SP
6088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6089 __ATAN_TWOM.
6090 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6091
6d9f97e1
SP
6092 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6093 their values.
6094 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6095 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6096 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6097 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6098
4c4febf5
AJ
60992012-12-28 Andreas Jaeger <aj@suse.de>
6100
af5843ef
AJ
6101 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
6102 values are from Linux 3.7.
6103
4c4febf5
AJ
6104 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6105 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
6106
99136f82
SP
61072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6108
2f216c3c 6109 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
6110 TRUE case.
6111
99136f82
SP
6112 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6113 (norm): Likewise.
6114 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6115 variables with preprocessor constants.
6116 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6117 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6118 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6119
7fffbdff
BH
61202012-12-27 Bruno Haible <bruno@clisp.org>
6121
6122 [BZ #14317]
6123 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6124 only if needed.
6125
b76eb5f0
SP
61262012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6127
31a7fe5c
SP
6128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6129 and use variable directly.
6130 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6131
b76eb5f0
SP
6132 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6133 MPONE.
6134 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6135 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6136 variable MPONE.
6137 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6139 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6140 include directive. Remove local variable MPONE.
6141 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6142 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6143 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6144
2c8bfe7d
DM
61452012-12-25 David S. Miller <davem@davemloft.net>
6146
6147 * version.h (RELEASE): Set to "development".
6148 (VERSION): Set to "2.17.90".
6149 * NEWS: Add 2.18 section.
6150
147d03b0
DM
61512012-12-21 David S. Miller <davem@davemloft.net>
6152
6153 * po/hr.po: Update from translation team.
6154
a8ebb2b9
AK
61552012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6156
6157 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6158
95b4f1b6
SE
61592012-12-19 Steve Ellcey <sellcey@mips.com>
6160
b2d94007 6161 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 6162
cedb2a90
MS
61632012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6164
6165 * manual/contrib.texi (Contributors): Spelling correction.
6166
bbf527d6
DM
61672012-12-15 David S. Miller <davem@davemloft.net>
6168
6169 * po/ru.po: Update from translation team.
6170
bc38c906
DM
61712012-12-13 David S. Miller <davem@davemloft.net>
6172
85429b1a
DM
6173 * NEWS: Mention IFUNC testsuite enhancements.
6174
d283e353
DM
6175 * po/pl.po: Update from translation team.
6176 * po/bg.po: Likewise.
6177
bc38c906
DM
6178 * manual/contrib.texi (Contributors): Update entries for Hongjiu
6179 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
6180
a181b0d7
DM
61812012-12-11 David S. Miller <davem@davemloft.net>
6182
4641d57e
DM
6183 * po/sv.po: Update from translation team.
6184
f7bc6495
DM
6185 * po/vi.po: Update from translation team.
6186
6fc9048f
DM
6187 * po/cs.po: Update from translation team.
6188
a181b0d7
DM
6189 * po/de.po: Update from translation team.
6190 * po/eo.po: Likewise.
6191 * po/nl.po: Likewise.
6192
f70bfe80
SP
61932012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6194
3c8b4190
SP
6195 [BZ #14246]
6196 * manual/argp.texi (Argp Helper Functions): Move node to follow
6197 Argp Parsing State.
6198
f70bfe80
SP
6199 [BZ #14872]
6200 * manual/conf.texi (Limits on File System Capacity): Mention if
6201 terminating null is included in the max size.
6202
188f0adf
AJ
62032012-12-10 Andreas Jaeger <aj@suse.de>
6204
6205 * po/cs.po: Update from translation team.
6206
56e7d3ad
SP
62072012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6208
6209 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6210 void pointer and cast to uintptr_t.
6211 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6212 path.
6213 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6214 * sysdeps/s390/s390-64/memset.S: Likewise.
6215
76f2d2ea 62162012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
6217
6218 [BZ #14833]
6219 * menual/message.texi (Message Translation): Fix typos.
6220 (Helper programs for gettext): Likewise.
6221
67cbf9a2
AS
62222012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6223
6224 [BZ #14898]
6225 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6226 Change to -1.
6227
682d0e9a
DM
62282012-12-07 David S. Miller <davem@davemloft.net>
6229
6230 * po/libc.pot: Update.
6231
573cd484
RH
62322012-12-07 Richard Henderson <rth@redhat.com>
6233
7e9da188 6234 [BZ #10114]
573cd484
RH
6235 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6236 normal/normal case to before the switch.
6237 (_FP_DIV): Likewise.
6238
e933a943
MF
62392012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6240 Mike Frysinger <vapier@gentoo.org>
6241
6242 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6243 check for __NR_fadvise64_64.
6244
82123268
CM
62452012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6246
6247 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6248 0, not just to plain "0" as a statement.
6249 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6250 with cw.
6251
d9814526
JM
62522012-12-06 Joseph Myers <joseph@codesourcery.com>
6253
6254 * NEWS: Use sourceware.org in Bugzilla URL.
6255
7728c574
SP
62562012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6257
f16946dd
SP
6258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6259 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6260
5704bbcb
SP
6261 * stdio-common/tst-put-error.c (do_test): Add newline to the
6262 padded test to ensure flush.
6263
17aa0516
JL
62642012-12-05 Jeff Law <law@redhat.com>
6265
6266 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6267
363313b5
JM
62682012-12-05 Joseph Myers <joseph@codesourcery.com>
6269
effbd42a
JM
6270 * README: Don't refer to ports add-on as distributed separately.
6271 Mention AArch64 in list of systems supported in the ports add-on.
6272
87600365
JM
6273 * LICENSES: Add more non-FSF copyright and license notices.
6274
a0d7066a
JM
6275 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6276 ((unused)).
6277
66ca5a5b
JM
6278 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6279
363313b5
JM
6280 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6281 10000 as width of padded output.
6282
b37984ad
JM
62832012-12-04 Joseph Myers <joseph@codesourcery.com>
6284
9003570a
JM
6285 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6286
b37984ad
JM
6287 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6288 variable LX with __attribute__ ((unused)).
6289 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6290 Likewise.
6291 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6292 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6293 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6294 with __attribute__ ((unused)).
6295
c8df52ec
DM
62962012-12-04 David S. Miller <davem@abraco.davemloft.net>
6297
6298 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6299
b3b099af
JM
63002012-12-04 Joseph Myers <joseph@codesourcery.com>
6301
c33aa6e3
JM
6302 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6303 (CFLAGS-nldbl-acos.c): New variable.
6304 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6305 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6306 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6307 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6308 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6309 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6310 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6311 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6312 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6313 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6314 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6315 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6316 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6317 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6318 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6319 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6320 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6321 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6322 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6323 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6324 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6325 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6326 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6327 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6328 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6329 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6330 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6331 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6332 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6333 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6334 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6335 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6336 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6337 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6338 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6339 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6340 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6341 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6342 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6343 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6344 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6345 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6346 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6347 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6348 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6349 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6350 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6351 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6352 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6353 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6354 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6355 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6356 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6357 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6358 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6359 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6360 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6361 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6362 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6363 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6364 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6365 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6366 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6367 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6368 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6369 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6370 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6371 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6372 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6373 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6374 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6375 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6376 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6377 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6378 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6379 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6380 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6381 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6382 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6383 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6384 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6385 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6386 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6387 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6388 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6389 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6390 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6391 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6392 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6393 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6394 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6395 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6396 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6397 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6398 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6399 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6400 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6401
20f0018d
JM
6402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6403 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6404
b3b099af
JM
6405 [BZ #14914]
6406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6407 whole low double instead of just low 47 bits when splitting values
6408 into two parts.
6409
029264d1
AM
64102012-12-03 Allan McRae <allan@archlinux.org>
6411
6412 * manual/stdio.texi (Predefined Printf Handlers): Remove
6413 @hsep and @vsep usage.
6414
c9d6789e
MF
64152012-12-03 Mike Frysinger <vapier@gentoo.org>
6416
6417 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6418 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6419
4b7634a5
JL
64202012-12-03 Jeff Law <law@redhat.com>
6421
6422 * time/sys/time.h (settimeofday): Do not mark TV argument
6423 as __nonnull.
6424
eb6cbd24
MF
64252012-12-01 Mike Frysinger <vapier@gentoo.org>
6426
6427 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6428 when currently writing and seek to current position when not.
6429 * libio/Makefile (tests): Remove bug-fclose1.
6430 * libio/bug-fclose1.c: Delete.
6431
f638872a
JM
64322012-12-01 Joseph Myers <joseph@codesourcery.com>
6433
6434 * manual/arith.texi (feenableexcept): Fix typo.
6435 (fedisableexcept): Likewise.
6436
48085d14
RM
64372012-11-30 Roland McGrath <roland@hack.frob.com>
6438
6439 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6440 second, differently-typed declaration, rather than a cast.
6441
1a538b9f
SP
64422012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6443
6444 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6445 * include/rpc/svc.h: ... here.
6446
d07f2ff1 64472012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6448
6449 [BZ #13013]
6450 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6451 depending n and resplen2 to catch cases where answer
6452 equals answerp2.
6453
c93ec1f0
CD
64542012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6455
6456 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6457 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6458
37db69de
MF
64592012-11-29 Mike Frysinger <vapier@gentoo.org>
6460
6461 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6462
e10c4e4f
RM
64632012-11-29 Roland McGrath <roland@hack.frob.com>
6464
6465 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6466
2af1b328
JL
64672012-11-28 Jeff Law <law@redhat.com>
6468
6469 [BZ #13761]
6470 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6471 dataset_temporary. Track alloca usage into alloca_used.
6472 If dataset is large allocate and release it via malloc/free.
6473
111db5b1
FW
64742012-06-04 Florian Weimer <fweimer@redhat.com>
6475
f06cc227 6476 [BZ #14197]
111db5b1
FW
6477 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6478
dd694abd
DM
64792012-11-28 David S. Miller <davem@davemloft.net>
6480
6481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6482
9984dd01
JM
64832012-11-28 Joseph Myers <joseph@codesourcery.com>
6484
6485 [BZ #14803]
6486 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6487 of pi/2 rounded to nearest to 64 bits.
6488 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6489 nearest to 64 bits.
6490 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6491 bits.
6492
14bc93a9
JL
64932012-11-28 Jeff Law <law@redhat.com>
6494 Martin Osvald <mosvald@redhat.com>
6495
6496 [BZ #14889]
6497 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6498 * sunrpc/svc.c: Include time.h.
6499 (__svc_accept_failed): New function.
6500 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6501 any reason other than EINTR, call __svc_accept_failed.
6502 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6503 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6504
e3c6aa3a
AS
65052012-11-28 Andreas Schwab <schwab@suse.de>
6506
6507 * scripts/abilist.awk: Also handle indirect functions in .opd
6508 section.
6509
1bead169
JM
65102012-11-28 Joseph Myers <joseph@codesourcery.com>
6511
6512 [BZ #13881]
6513 * sysdeps/x86/fpu/powl_helper.c: New file.
6514 * sysdeps/x86/fpu/Makefile: Likewise.
6515 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6516 (p3): New object.
6517 (__ieee754_powl): Use __powl_helper for finite arguments except
6518 integer exponents below 8.
6519 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6520 (p3): New object.
6521 (__ieee754_powl): Use __powl_helper for finite arguments except
6522 integer exponents below 8.
6523 * math/libm-test.inc (pow_test): Add more tests and enable some
6524 previously disabled tests.
6525 * sysdeps/i386/fpu/libm-test-ulps: Update.
6526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6527
0817d63d
SP
65282012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6529 Carlos O'Donell <carlos_odonell@mentor.com>
6530
6531 * nss/makedb.c (is_prime): Assert that input is odd and greater
6532 than 4. Note that fact in a comment too.
6533 (next_prime): Add 4 to input.
6534
de2fd463
SP
65352012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6536
6537 [BZ #11741]
6538 * libio/Makefile (tests): Add test case tst-fwrite-error.
6539 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6540 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6541 * libio/tst-fwrite-error.c: New test case.
6542
c515fb51
L
65432012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6544
6545 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6546 before casting to void *.
6547 * include/libc-internal.h (__pointer_type): New macro.
6548 (__integer_if_pointer_type_sub): Likewise.
6549 (__integer_if_pointer_type): Likewise.
6550 (cast_to_integer): Likewise.
6551 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6552 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6553 before casting to atomic64_t.
6554 (atomic_exchange_acq): Likewise.
6555 (__arch_exchange_and_add_body): Likewise.
6556 (__arch_add_body): Likewise.
6557 (atomic_add_negative): Likewise.
6558 (atomic_add_zero): Likewise.
6559
4cf77aa9
JM
65602012-11-26 Joseph Myers <joseph@codesourcery.com>
6561
6562 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6563 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6564 (add_fdes): Likewise.
6565 (linear_search_fdes): Likewise.
6566 (binary_search_unencoded_fdes): Likewise.
6567
d260b3b4
AS
65682012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6569
6570 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6571
67060746
AC
65722012-11-24 Adam Conrad <adconrad@0c3.net>
6573
6574 * configure.in: Autodetect C++ header directories.
6575 * configure: Regenerated.
6576
800938a1
MF
65772012-11-23 Mike Frysinger <vapier@gentoo.org>
6578
6579 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6580
4e6e34e6
AS
65812012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6582
6583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6584
7c7feb47
JM
65852012-11-22 Joseph Myers <joseph@codesourcery.com>
6586
7184dcdf
JM
6587 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6588 LDBL_MANT_DIG == 106]: Disable some tests.
6589 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6590 Likewise.
6591 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6592 Likewise.
6593
0a42601f
JM
6594 [BZ #14871]
6595 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6596 input for small inputs. Return +/- pi/2 for large inputs.
6597 * math/libm-test.inc (atan_test): Add more tests.
6598
79c9b9fe
JM
6599 * sysdeps/generic/unwind-dw2-fde-glibc.c
6600 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6601 __attribute__ ((unused)).
6602
c60d3bf2
JM
6603 [BZ #14645]
6604 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6605 x * y if x and y are nonzero and z is zero.
6606
ef1e0867
JM
6607 [BZ #14811]
6608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6609 nonzero exponents with absolute value below 0x1p-117 to +/-
6610 0x1p-117.
6611
1468ded3
JM
6612 [BZ #14869]
6613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6614 up arguments below 2**-450, not just those below 2**-500.
6615 * math/libm-test.inc (hypot_test): Add another test.
6616
8e27e3cc
JM
6617 [BZ #14868]
6618 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6619 Return a+b for ratio over 2**120, not 2**60.
6620 * math/libm-test.inc (hypot_test): Add another test.
6621
c9c0279b
JM
6622 * math/libm-test.inc (clog_test): Use
6623 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6624 (clog10_test): Likewise.
6625
7c7feb47
JM
6626 [BZ #6778]
6627 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6628
fff1530e
AS
66292012-11-22 Andreas Schwab <schwab@suse.de>
6630
6631 * sysdeps/i386/fpu/libm-test-ulps: Update.
6632
94558d30
PT
66332012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6634
6635 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6636 printf output with newline.
6637
7e1be741
L
66382012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6639
6bfea974
L
6640 [BZ #14865]
6641 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6642 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6643 -z nodlopen, -z initfirst and -z execstack support.
6644 * configure: Regenerated.
6645
7e1be741
L
6646 * elf/elf.h (DF_1_NODIRECT): New macro.
6647 (DF_1_IGNMULDEF): Likewise.
6648 (DF_1_NOKSYMS): Likewise.
6649 (DF_1_NOHDR): Likewise.
6650 (DF_1_EDITED): Likewise.
6651 (DF_1_NORELOC): Likewise.
6652 (DF_1_SYMINTPOSE): Likewise.
6653 (DF_1_GLOBAUDIT): Likewise.
6654 (DF_1_SINGLETON): Likewise.
6655 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6656 DT_1_SUPPORTED_MASK bits.
6657 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6658
105ce2ce
CD
66592012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6660
6661 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6662
123be9de
TS
66632012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6664
d072f3f7
TS
6665 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6666 macro.
6667
123be9de
TS
6668 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6669 (sendmmsg): Move declarations...
6670 * socket/sys/socket.h: ... here.
6671 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6672 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6673 include it from...
6674 * socket/recvmmsg.c: ... this new file.
6675 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6676 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6677 definition of __sendmmsg hidden.
6678 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6679 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6680 Move ENOSYS stub into and include it from...
6681 * socket/sendmmsg.c: ... this new file.
6682 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6683 (sysdep_routines): Move recvmmsg and sendmmsg...
6684 * socket/Makefile (routines): ... here.
6685 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6686 (GLIBC_PRIVATE): Add __sendmmsg.
6687 * include/sys/socket.h (__sendmmsg): Add declarations.
6688 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6689 sendmmsg.
6690
cf9a5d18
JM
66912012-11-20 Joseph Myers <joseph@codesourcery.com>
6692
6693 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6694 variable I1 with __attribute__ ((unused)).
6695 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6696
ecd4caf9
JM
66972012-11-19 Joseph Myers <joseph@codesourcery.com>
6698
be14d48f
JM
6699 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6700 DUMMY variables with __attribute__ ((unused)).
6701
ecd4caf9
JM
6702 * bits/byteswap.h: Include <bits/types.h>.
6703 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6704
986cab95
PT
67052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6706
6707 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6708 string_t. Do not manually set errno.
6709 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6710 length with __strnlen. Make sure to both set errno and return it on
6711 failure.
6712
6d33cc9d
DM
67132012-11-19 David S. Miller <davem@davemloft.net>
6714
6715 With help from Joseph Myers.
6716 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6717 very large arguments properly.
6718 * math/libm-test.inc (atan_test): New tests.
6719 (atan2_test): New tests.
6720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6722
ee663277
JM
67232012-11-19 Joseph Myers <joseph@codesourcery.com>
6724
877f2d8e
JM
6725 [BZ #14856]
6726 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6727 Define to 3.
6728
116fc08a
JM
6729 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6730 [POSIX] (EADDRNOTAVAIL): Likewise.
6731 [POSIX] (EAFNOSUPPORT): Likewise.
6732 [POSIX] (EALREADY): Likewise.
6733 [POSIX] (ECONNABORTED): Likewise.
6734 [POSIX] (ECONNREFUSED): Likewise.
6735 [POSIX] (ECONNRESET): Likewise.
6736 [POSIX] (EDESTADDRREQ): Likewise.
6737 [POSIX] (EDQUOT): Likewise.
6738 [POSIX] (EHOSTUNREACH): Likewise.
6739 [POSIX] (EIDRM): Likewise.
6740 [POSIX] (EISCONN): Likewise.
6741 [POSIX] (ELOOP): Likewise.
6742 [POSIX] (EMULTIHOP): Likewise.
6743 [POSIX] (ENETDOWN): Likewise.
6744 [POSIX] (ENETUNREACH): Likewise.
6745 [POSIX] (ENOBUFS): Likewise.
6746 [POSIX] (ENODATA): Likewise.
6747 [POSIX] (ENOLINK): Likewise.
6748 [POSIX] (ENOMSG): Likewise.
6749 [POSIX] (ENOPROTOOPT): Likewise.
6750 [POSIX] (ENOSR): Likewise.
6751 [POSIX] (ENOSTR): Likewise.
6752 [POSIX] (ENOTCONN): Likewise.
6753 [POSIX] (ENOTSOCK): Likewise.
6754 [POSIX] (EOPNOTSUPP): Likewise.
6755 [POSIX] (EOVERFLOW): Likewise.
6756 [POSIX] (EPROTO): Likewise.
6757 [POSIX] (EPROTONOSUPPORT): Likewise.
6758 [POSIX] (EPROTOTYPE): Likewise.
6759 [POSIX] (ESTALE): Likewise.
6760 [POSIX] (ETIME): Likewise.
6761 [POSIX] (ETXTBSY): Likewise.
6762 [POSIX] (EWOULDBLOCK): Likewise.
6763 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6764 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6765 [POSIX] (SEEK_CUR): Likewise.
6766 [POSIX] (SEEK_END): Likewise.
6767 [POSIX || UNIX98] (mode_t): Do not require.
6768 [POSIX] (off_t): Likewise.
6769 [POSIX] (pid_t): Likewise.
6770 [POSIX] (sys/stat.h): Do not allow header.
6771 [POSIX] (unistd.h): Likewise.
6772 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6773 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6774 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6775 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6776 require.
6777 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6778 sigevent): Specify elements.
6779 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6780 entry.
6781 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6782 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6783
a483863f
JM
6784 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6785 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6786 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6787 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6788 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6789 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6790 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6791 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6792 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6793 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6794 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6795 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6796 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6797 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6798 Likewise.
6799 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6800 Likewise.
6801 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6802 Likewise.
6803 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6804 Likewise.
6805 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6806 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6807 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6808 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6809 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6810 Specify lower bound on value.
6811 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6812 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6813 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6814 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6815 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6816 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6817 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6818 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6819 value.
6820 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6821 as optional.
6822 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6823 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6824 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6825 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6826 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6827 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6828 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6829 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6830 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6831 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6832 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6833 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6834 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6835 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6836 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6837 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6838 entry.
6839 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6840 optional.
6841 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6842 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6843 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6844 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6845 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6846 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6847 Likewise.
6848 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6849 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6850 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6851 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6852 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6853 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6854 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6855 as optional.
6856 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6857 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6858 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6859 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6860 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6861 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6862 specify as optional.
6863 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6864 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6865 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6866 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6867 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6868 [XPG3] (NL_LANGMAX): Likewise.
6869 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6870 [POSIX || XPG3] (NL_NMAX): Likewise.
6871 [POSIX || XPG3] (NL_SETMAX): Likewise.
6872 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6873 [XPG3] (NZERO): Likewise.
6874 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6875 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6876 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6877 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6878 (REG_ERANGE): Expect.
6879 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6880 optional-constant.
6881 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6882 Use (void) in prototype.
6883 [POSIX] (*_t): Allow.
6884 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6885 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6886 (WRDE_BADVAL): Expect.
6887
5ba924e3
JM
6888 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6889 expect.
6890 [XPG3 || XPG4] (O_RSYNC): Likewise.
6891 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6892 Likewise.
6893 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6894 [XPG3 || XPG4] (sigqueue): Likewise.
6895 [XPG3 || XPG4] (sigtimedwait): Likewise.
6896 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6897 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6898 [XPG3 || XPG4] (vsnprintf): Likewise.
6899 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6900 Likewise.
6901 [XPG3 || XPG4] (blksize_t): Likewise.
6902 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6903 Likewise.
6904 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6905 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6906 [XPG3 || XPG4] (struct itimerspec): Likewise.
6907 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6908 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6909 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6910 [XPG3 || XPG4] (clockid_t): Likewise.
6911 [XPG3 || XPG4] (timer_t): Likewise.
6912 [XPG3 || XPG4] (clock_getres): Likewise.
6913 [XPG3 || XPG4] (clock_gettime): Likewise.
6914 [XPG3 || XPG4] (clock_settime): Likewise.
6915 [XPG3 || XPG4] (nanosleep): Likewise.
6916 [XPG3 || XPG4] (timer_create): Likewise.
6917 [XPG3 || XPG4] (timer_delete): Likewise.
6918 [XPG3 || XPG4] (timer_gettime): Likewise.
6919 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6920 [XPG3 || XPG4] (timer_settime): Likewise.
6921 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6922 [XPG3 || XPG4] (getlogin_r): Likewise.
6923 [XPG3 || XPG4] (pread): Likewise.
6924 [XPG3 || XPG4] (pthread_atfork): Likewise.
6925 [XPG3 || XPG4] (pwrite): Likewise.
6926
ee663277
JM
6927 [BZ #14835]
6928 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6929 <bits/siginfo.h>.
6930
942caa16
PT
69312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6932
e19af380
PT
6933 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6934 finalizing MALLSTREAM.
6935
942caa16
PT
6936 * sysdeps/mach/hurd/syncfs.c: New file.
6937
cfde9b46
SP
69382012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6939
6940 [BZ #14719]
6941 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6942 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6943 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6944 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6945 (_nss_dns_gethostbyname4_r): Likewise.
6946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6947 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6948
f6da27e5
PH
69492012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6950
6951 [BZ #13763]
6952 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6953
6665d4a2
SM
69542012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6955
1f51ee92
SM
6956 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6957 * elf/cache.c (print_entry): Print ",AArch64" for
6958 FLAG_AARCH64_LIB64
6959
6665d4a2
SM
6960 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6961 * elf/cache.c (print_entry): Print ",hard-float" for
6962 FLAG_ARM_LIBHF.
6963
05b227bd
DM
69642012-11-18 David S. Miller <davem@davemloft.net>
6965
6966 With help from Joseph Myers.
6967 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6968 cutoff to 2**-13.
6969 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6970 cutoff to 2**-25.
6971 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6972 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6973 small.
6974 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6975 * math/libm-test.inc (y0_test): New tests.
6976 (y1_test): New tests.
6977 * sysdeps/i386/fpu/libm-test-ulps: Update.
6978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6980
786b0b67
AS
69812012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6982
6983 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6984 64-bit targets.
6985 * configure: Regenerated.
6986
8e18b86d
DM
69872012-11-17 David S. Miller <davem@davemloft.net>
6988
6989 [BZ #14811]
6990 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6991 nonzero exponents with absolute value below 0x1p-128 to +/-
6992 0x1p-128.
6993
531f1ae0
JM
69942012-11-17 Joseph Myers <joseph@codesourcery.com>
6995
12df29e2
JM
6996 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6997
150dc1a0
JM
6998 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6999
531f1ae0
JM
7000 * posix/getconf-speclist.c: New file.
7001 * posix/posix-envs.def: Likewise.
7002 * posix/confstr.c (START_ENV_GROUP): New macro.
7003 (END_ENV_GROUP): Likewise.
7004 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7005 (KNOWN_PRESENT_ENV_STRING): Likewise.
7006 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7007 (UNKNOWN_ENVIRONMENT): Likewise.
7008 (confstr): Include posix-envs.def instead of handling
7009 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7010 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7011 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7012 (END_ENV_GROUP): Likewise.
7013 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7014 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7015 (UNKNOWN_ENVIRONMENT): Likewise.
7016 (__sysconf): Include posix-envs.def instead of handling associated
7017 cases directly here.
7018 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7019 preprocessing getconf-speclist.c rather than running getconf or
7020 generating empty file.
7021
a93f9cbc
PT
70222012-11-16 Pino Toscano <toscano.pino@tiscali.it>
7023
7024 * scripts/check-local-headers.sh: Ignore 'mach' headers.
7025
d64d9f87
AL
70262012-11-16 Andrej Lajovic <natrij@gmail.com>
7027
7028 [BZ #14672]
7029 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7030
447885eb
DM
70312012-11-16 David S. Miller <davem@davemloft.net>
7032
7033 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7034 smaller than LDBL_EPSILON/2.0L, just return xm1.
7035
bcbf9830
L
70362012-11-16 H.J. Lu <hongjiu.lu@intel.com>
7037
7038 * elf/tst-array1.c (init): Set constructor priority to 1000.
7039 (fini): Set destructor priority to 1000.
7040 * elf/tst-array2dep.c: Likewise.
7041
2b766585
SP
70422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7043
7044 [BZ #11741]
7045 * libio/fileops.c (_IO_new_file_write): Correctly return error.
7046 (_IO_new_file_xsputn): Also return EOF if none of the input
7047 data was written when overflow failed.
7048 * libio/iopadn.c (_IO_padn): Likewise.
7049 * libio/iowpadn.c (_IO_wpadn): Likewise.
7050 * stdio-common/tst-put-error.c: Add copyright notice.
7051 (do_test): Add case for printing padded string.
7052 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7053 _IO_padn returned error.
7054 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7055 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7056 return EOF.
7057
b1848fde
SP
70582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7059
7060 * libio/libioP.h: Add comment note that the references to C++
7061 bits are now obsolete.
7062
2fd89785
MS
70632012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7064
7065 * math/libm-test.inc (check_complex): Use asprintf.
7066
e3ea5409
JM
70672012-11-14 Joseph Myers <joseph@codesourcery.com>
7068
7069 * debug/pcprofiledump.c (print_version): Update copyright year.
7070 * malloc/memusagestat.c (print_version): Likewise.
7071
2e64d265
L
70722012-11-14 H.J. Lu <hongjiu.lu@intel.com>
7073
7074 [BZ #14831]
7075 * elf/Makefile (tests): Add tst-audit8.
7076 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7077 ($(objpfx)tst-audit8.out): New target.
7078 (tst-audit8-ENV): New variable.
7079 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7080 audit if l_reloc_result is NULL.
7081 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7082 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7083 * elf/tst-audit8.c: New file.
7084
c485e4d2
MS
70852012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7086
7087 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7088 * misc/Makefile (CFLAGS-select.c): Define.
7089 * posix/Makefile (CFLAGS-pause.c): Define.
7090
3a0d900a
DM
70912012-11-13 David S. Miller <davem@davemloft.net>
7092
7093 * crypt/Makefile: Move test targets after toplevel Rules
7094 inclusion. Grab any necessary sysdep routines when linking.
7095 * crypt/md5.c (md5_process_block): Remove define, we will always
7096 name it __md5_process_block.
7097 (md5_finish_ctx): Update md5_process_block call.
7098 (md5_stream): Likewise.
7099 (md5_process_bytes): Likewise.
7100 (md5_process_block): Rename to __md5_process_block and move to ...
7101 * crypt/md5-block.c: ... here.
7102 * crypt/sha256.c (sha256_process_block): Move to ...
7103 * crypt/sha256-block.c: ... here.
7104 * crypt/sha512.c (sha512_process_block): Move to ...
7105 * crypt/sha512-block.c: ... here.
7106 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7107 path.
7108 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7109 * sysdeps/sparc/sparc64/multiarch/Makefile
7110 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7111 crypt subdir.
7112 (localedef-aux): Add md5 crypto assembler when in locale subdir.
7113 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7114 multiarch changes.
7115 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7116 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7117 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7118 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7119 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7120 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7121 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7122 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7123 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7124 file.
7125 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7126 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7127 file.
7128 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7129
8ca89318
JM
71302012-11-13 Joseph Myers <joseph@codesourcery.com>
7131
e27d476a
JM
7132 * timezone/tzselect.ksh: Update from tzcode git revision
7133 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7134 * timezone/zdump.c: Likewise.
7135 * timezone/zic.c: Likewise.
7136 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7137 in TZVERSION setting, not $(PKGVERSION).
7138 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
7139 REPORT_BUGS_TO settings.
7140
8ca89318
JM
7141 [BZ #14838]
7142 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7143 macro.
7144
47594329
MS
71452012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7146
7147 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7148 detection to immediately after _FP_ROUND().
7149 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7150 bits are 0.
7151
640ac3f1
DM
71522012-11-11 David S. Miller <davem@davemloft.net>
7153
7154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7155 inttypes.h
7156 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7157 __close rather than their public counterparts.
7158
3d2577bb
JM
71592012-11-10 Joseph Myers <joseph@codesourcery.com>
7160
7161 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7162 file.
7163 [UNIX98] (sem_timedwait): Do not expect.
7164 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7165 [XPG4 || UNIX98] (sockatmark): Do not expect.
7166 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7167 (clock_getcpuclockid): Do not expect.
7168 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7169 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7170 Do not expect.
7171 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7172 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7173 [UNIX98] (vwscanf): Likewise.
7174 [UNIX98] (vswscanf): Likewise.
7175
fb1ae1ee
JM
71762012-11-09 Joseph Myers <joseph@codesourcery.com>
7177
9ec6f8bd
JM
7178 * timezone/version.h: Remove file.
7179 * timezone/README: Do not refer to version.h.
7180 * timezone/Makefile ($(objpfx)zic.o): New dependency on
7181 $(objpfx)version.h.
7182 ($(objpfx)zdump.o): Likewise.
c3f81911 7183 ($(objpfx)version.h): New target.
9ec6f8bd 7184
0aa8f8a1
JM
7185 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7186 2012i.
7187 * timezone/README: Don't mention modification to tzselect.ksh.
7188 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7189 work on unmodified tzselect.ksh. Substitute version numbers in
7190 tzselect.ksh.
7191
4e87147f
JM
7192 * Makefile (format-me): Remove.
7193 (INSTALL): Adjust indentation. Use commands directly instead of
7194 using $(format-me).
7195
8b748aed
JM
7196 * aclocal.m4 (ACX_PKGVERSION): New macro.
7197 (ACX_BUGURL): Likewise.
7198 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7199 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7200 (REPORT_BUGS_TO): Likewise.
7201 * configure: Regenerated.
7202 * config.h.in (PKGVERSION): New macro.
7203 (REPORT_BUGS_TO): Likewise.
7204 * config.make.in (PKGVERSION): New variable.
7205 (PKGVERSION_TEXI): Likewise.
7206 (REPORT_BUGS_TO): Likewise.
7207 (REPORT_BUGS_TEXI): Likewise.
7208 * Makefile (format-me): Use -I$(common-objpfx)manual.
7209 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7210 ($(common-objpfx)manual/%): New target.
7211 (manual/%): Remove target.
7212 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7213 (print_version): Use PKGVERSION.
7214 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7215 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7216 and REPORT_BUGS_TO.
7217 ($(objpfx)xtrace): Likewise.
7218 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7219 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7220 (print_version): Use PKGVERSION.
7221 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7222 (do_version): Use PKGVERSION.
7223 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7224 REPORT_BUGS_TO.
7225 (common-ldd-rewrite): Likewise.
7226 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7227 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7228 (print_version): Use PKGVERSION.
7229 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7230 * elf/pldd.c (argp_program_bug_address): Remove variable.
7231 (more_help): New function.
7232 (argp): Use more_help.
7233 (print_version): Use PKGVERSION.
7234 * elf/sln.c (main): Use PKGVERSION.
7235 (usage): Use REPORT_BUGS_TO.
7236 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7237 (top level): Use PKGVERSION.
7238 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7239 (print_version): Use PKGVERSION.
7240 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7241 (print_version): Use PKGVERSION.
7242 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7243 (print_version): Use PKGVERSION.
7244 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7245 (print_version): Use PKGVERSION.
7246 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7247 (print_version): Use PKGVERSION.
7248 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7249 (print_version): Use PKGVERSION.
7250 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7251 and BUGURL.
7252 ($(objpfx)memusage): Likewise.
7253 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7254 (do_version): Use PKGVERSION.
7255 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7256 (print_version): Use PKGVERSION.
7257 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7258 ($PKGVERSION): New variable.
7259 ($REPORT_BUGS_TO): Likewise.
7260 (usage): Use $REPORT_BUGS_TO.
7261 (top level): Use $PKGVERSION.
7262 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7263 ($(objpfx)pkgvers.texi): New rule.
7264 ($(objpfx)stamp-pkgvers): Likewise.
7265 * manual/install.texi: Include pkgvers.texi.
7266 (--with-pkgversion): Document new configure option.
7267 (--with-bugurl): Likewise.
7268 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7269 than necessarily for this particular distribution. Use
7270 REPORT_BUGS_TO for where to report bugs.
7271 * INSTALL: Regenerated.
7272 * manual/libc.texinfo: Include pkgvers.texi.
7273 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7274 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7275 (print_version): Use PKGVERSION.
7276 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7277 (print_version): Use PKGVERSION.
7278 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7279 (print_version): Use PKGVERSION.
7280 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7281 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7282 macro.
7283 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7284 (print_version): Use PKGVERSION.
7285 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7286 (print_version): Use PKGVERSION.
7287 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7288 and PKGVERSION.
7289
92e4b6a9
JM
7290 * timezone/checktab.awk: Update from tzcode 2012i.
7291 * timezone/ialloc.c: Likewise.
7292 * timezone/private.h: Likewise.
7293 * timezone/scheck.c: Likewise.
7294 * timezone/tzfile.h: Likewise.
7295 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7296 (TZVERSION): Hardcode tzcode version number.
7297 * timezone/zdump.c: Update from tzcode 2012i.
7298 * timezone/zic.c: Likewise.
7299 * timezone/version.h: New file.
7300 * timezone/README: Describe version.h. Update upstream location.
7301
9bde902c
JM
7302 [BZ #14824]
7303 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7304 (mktemp): Enable declaration.
7305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7306 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7307 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7308 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7309 Likewise.
7310 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7311 Likewise.
7312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7313 Likewise.
7314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7315 Likewise.
7316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7317 Likewise.
7318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7319 Likewise.
7320
fb1ae1ee
JM
7321 [BZ #14821]
7322 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7323 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7324 for copies of such integer values.
7325 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7326 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7327
2c1adbcb
AJ
73282012-11-09 Andreas Jaeger <aj@suse.de>
7329
7330 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7331 definitions and declarations that are provided by
7332 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7333
d0f8457e
AK
73342012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7335
3a235abb 7336 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
7337 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7338 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7339 definition.
7340
57241e26
MS
73412012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7342
7343 * elf/elf.h: Update comment before AArch64 relocations.
7344
60e8270d
DM
73452012-11-07 David S. Miller <davem@davemloft.net>
7346
7347 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7348 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7349 (__start_context): Declare.
7350 (__makecontext_ret): Delete.
7351 (__makecontext): Hook up __start_context instead of
7352 __makecontext_ret.
7353 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7354 (sysdep_routines): Add __start_context when in stdlib.
7355
0fbb0fbc
JM
73562012-11-07 Joseph Myers <joseph@codesourcery.com>
7357
7358 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7359 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7360 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7361 hardcoded "nm".
7362 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7363 (READELF): New variable. Use it instead of hardcoded "readelf".
7364
eb48db7e
L
73652012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7366
7367 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7368 * sysdeps/x86/Makefile: Here.
7369 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7370 * sysdeps/x86/tst-xmmymm.sh: This.
7371
05bcf62a
JM
73722012-11-07 Joseph Myers <joseph@codesourcery.com>
7373
c4b6cf53
JM
7374 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7375 expectations.
7376 [UNIX98] (pthread_barrier_t): Do not expect.
7377 [UNIX98] (pthread_barrierattr_t): Likewise.
7378 [UNIX98] (pthread_spinlock_t): Likewise.
7379 [UNIX98] (pthread_barrier_destroy): Likewise.
7380 [UNIX98] (pthread_barrier_init): Likewise.
7381 [UNIX98] (pthread_barrier_wait): Likewise.
7382 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7383 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7384 [UNIX98] (pthread_barrierattr_init): Likewise.
7385 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7386 [UNIX98] (pthread_getcpuclockid): Likewise.
7387 [UNIX98] (pthread_mutex_timedlock): Likewise.
7388 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7389 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7390 [UNIX98] (pthread_sigmask): Likewise.
7391 [UNIX98] (pthread_spin_destroy): Likewise.
7392 [UNIX98] (pthread_spin_init): Likewise.
7393 [UNIX98] (pthread_spin_lock): Likewise.
7394 [UNIX98] (pthread_spin_trylock): Likewise.
7395 [UNIX98] (pthread_spin_unlock): Likewise.
7396 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7397 Do not expect.
7398 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7399 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7400 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7401 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7402 [XPG3 || XPG4] (pthread_key_t): Likewise.
7403 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7404 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7405 [XPG3 || XPG4] (pthread_once_t): Likewise.
7406 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7407 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7408 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7409 [XPG3 || XPG4] (pthread_t): Likewise.
7410
cbe6e120
JM
7411 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7412 not expect.
7413 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7414
1b126443
JM
7415 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7416 Change function return type to int.
7417
b961a573
JM
7418 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7419 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7420 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7421 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7422 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7423 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7424 [!POSIX] (posix_madvise): Likewise.
7425 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7426 && !UNIX98].
7427 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7428 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7429 (mode_t): Likewise.
7430 (posix_mem_offset): Likewise.
7431 (posix_typed_mem_get_info): Likewise.
7432 (posix_typed_mem_open): Likewise.
7433
9e188909
JM
7434 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7435 Change condition to [XOPEN2K8].
7436
05bcf62a
JM
7437 * conform/conformtest.pl: Preprocess allow-header data with -x c
7438 instead of from stdin.
7439 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7440 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7441 [C99-based standards] (cerfc): Likewise.
7442 [C99-based standards] (cexp2): Likewise.
7443 [C99-based standards] (cexpm1): Likewise.
7444 [C99-based standards] (clog10): Likewise.
7445 [C99-based standards] (clog1p): Likewise.
7446 [C99-based standards] (clog2): Likewise.
7447 [C99-based standards] (clgamma): Likewise.
7448 [C99-based standards] (ctgamma): Likewise.
7449 [C99-based standards] (cerff): Likewise.
7450 [C99-based standards] (cerfcf): Likewise.
7451 [C99-based standards] (cexp2f): Likewise.
7452 [C99-based standards] (cexpm1f): Likewise.
7453 [C99-based standards] (clog10f): Likewise.
7454 [C99-based standards] (clog1pf): Likewise.
7455 [C99-based standards] (clog2f): Likewise.
7456 [C99-based standards] (clgammaf): Likewise.
7457 [C99-based standards] (ctgammaf): Likewise.
7458 [C99-based standards] (cerfl): Likewise.
7459 [C99-based standards] (cerfcl): Likewise.
7460 [C99-based standards] (cexp2l): Likewise.
7461 [C99-based standards] (cexpm1l): Likewise.
7462 [C99-based standards] (clog10l): Likewise.
7463 [C99-based standards] (clog1pl): Likewise.
7464 [C99-based standards] (clog2l): Likewise.
7465 [C99-based standards] (clgammal): Likewise.
7466 [C99-based standards] (ctgammal): Likewise.
7467 * conform/data/inttypes.h-data [C99-based standards]: Include
7468 stdint.h-data. Remove all expectations for stdint.h contents.
7469 [C99-based standards] (PRI*): Do not allow.
7470 [C99-based standards] (SCN*): Likewise.
7471 [C99-based standards] (*_t): Likewise.
7472 [C99-based-standards] (PRId8): Expect macro.
7473 [C99-based-standards] (PRIi8): Likewise.
7474 [C99-based-standards] (PRIo8): Likewise.
7475 [C99-based-standards] (PRIu8): Likewise.
7476 [C99-based-standards] (PRIx8): Likewise.
7477 [C99-based-standards] (PRIX8): Likewise.
7478 [C99-based-standards] (SCNd8): Likewise.
7479 [C99-based-standards] (SCNi8): Likewise.
7480 [C99-based-standards] (SCNo8): Likewise.
7481 [C99-based-standards] (SCNu8): Likewise.
7482 [C99-based-standards] (SCNx8): Likewise.
7483 [C99-based-standards] (PRIdLEAST8): Likewise.
7484 [C99-based-standards] (PRIiLEAST8): Likewise.
7485 [C99-based-standards] (PRIoLEAST8): Likewise.
7486 [C99-based-standards] (PRIuLEAST8): Likewise.
7487 [C99-based-standards] (PRIxLEAST8): Likewise.
7488 [C99-based-standards] (PRIXLEAST8): Likewise.
7489 [C99-based-standards] (SCNdLEAST8): Likewise.
7490 [C99-based-standards] (SCNiLEAST8): Likewise.
7491 [C99-based-standards] (SCNoLEAST8): Likewise.
7492 [C99-based-standards] (SCNuLEAST8): Likewise.
7493 [C99-based-standards] (SCNxLEAST8): Likewise.
7494 [C99-based-standards] (PRIdFAST8): Likewise.
7495 [C99-based-standards] (PRIiFAST8): Likewise.
7496 [C99-based-standards] (PRIoFAST8): Likewise.
7497 [C99-based-standards] (PRIuFAST8): Likewise.
7498 [C99-based-standards] (PRIxFAST8): Likewise.
7499 [C99-based-standards] (PRIXFAST8): Likewise.
7500 [C99-based-standards] (SCNdFAST8): Likewise.
7501 [C99-based-standards] (SCNiFAST8): Likewise.
7502 [C99-based-standards] (SCNoFAST8): Likewise.
7503 [C99-based-standards] (SCNuFAST8): Likewise.
7504 [C99-based-standards] (SCNxFAST8): Likewise.
7505 [C99-based-standards] (PRId16): Likewise.
7506 [C99-based-standards] (PRIi16): Likewise.
7507 [C99-based-standards] (PRIo16): Likewise.
7508 [C99-based-standards] (PRIu16): Likewise.
7509 [C99-based-standards] (PRIx16): Likewise.
7510 [C99-based-standards] (PRIX16): Likewise.
7511 [C99-based-standards] (SCNd16): Likewise.
7512 [C99-based-standards] (SCNi16): Likewise.
7513 [C99-based-standards] (SCNo16): Likewise.
7514 [C99-based-standards] (SCNu16): Likewise.
7515 [C99-based-standards] (SCNx16): Likewise.
7516 [C99-based-standards] (PRIdLEAST16): Likewise.
7517 [C99-based-standards] (PRIiLEAST16): Likewise.
7518 [C99-based-standards] (PRIoLEAST16): Likewise.
7519 [C99-based-standards] (PRIuLEAST16): Likewise.
7520 [C99-based-standards] (PRIxLEAST16): Likewise.
7521 [C99-based-standards] (PRIXLEAST16): Likewise.
7522 [C99-based-standards] (SCNdLEAST16): Likewise.
7523 [C99-based-standards] (SCNiLEAST16): Likewise.
7524 [C99-based-standards] (SCNoLEAST16): Likewise.
7525 [C99-based-standards] (SCNuLEAST16): Likewise.
7526 [C99-based-standards] (SCNxLEAST16): Likewise.
7527 [C99-based-standards] (PRIdFAST16): Likewise.
7528 [C99-based-standards] (PRIiFAST16): Likewise.
7529 [C99-based-standards] (PRIoFAST16): Likewise.
7530 [C99-based-standards] (PRIuFAST16): Likewise.
7531 [C99-based-standards] (PRIxFAST16): Likewise.
7532 [C99-based-standards] (PRIXFAST16): Likewise.
7533 [C99-based-standards] (SCNdFAST16): Likewise.
7534 [C99-based-standards] (SCNiFAST16): Likewise.
7535 [C99-based-standards] (SCNoFAST16): Likewise.
7536 [C99-based-standards] (SCNuFAST16): Likewise.
7537 [C99-based-standards] (SCNxFAST16): Likewise.
7538 [C99-based-standards] (PRId32): Likewise.
7539 [C99-based-standards] (PRIi32): Likewise.
7540 [C99-based-standards] (PRIo32): Likewise.
7541 [C99-based-standards] (PRIu32): Likewise.
7542 [C99-based-standards] (PRIx32): Likewise.
7543 [C99-based-standards] (PRIX32): Likewise.
7544 [C99-based-standards] (SCNd32): Likewise.
7545 [C99-based-standards] (SCNi32): Likewise.
7546 [C99-based-standards] (SCNo32): Likewise.
7547 [C99-based-standards] (SCNu32): Likewise.
7548 [C99-based-standards] (SCNx32): Likewise.
7549 [C99-based-standards] (PRIdLEAST32): Likewise.
7550 [C99-based-standards] (PRIiLEAST32): Likewise.
7551 [C99-based-standards] (PRIoLEAST32): Likewise.
7552 [C99-based-standards] (PRIuLEAST32): Likewise.
7553 [C99-based-standards] (PRIxLEAST32): Likewise.
7554 [C99-based-standards] (PRIXLEAST32): Likewise.
7555 [C99-based-standards] (SCNdLEAST32): Likewise.
7556 [C99-based-standards] (SCNiLEAST32): Likewise.
7557 [C99-based-standards] (SCNoLEAST32): Likewise.
7558 [C99-based-standards] (SCNuLEAST32): Likewise.
7559 [C99-based-standards] (SCNxLEAST32): Likewise.
7560 [C99-based-standards] (PRIdFAST32): Likewise.
7561 [C99-based-standards] (PRIiFAST32): Likewise.
7562 [C99-based-standards] (PRIoFAST32): Likewise.
7563 [C99-based-standards] (PRIuFAST32): Likewise.
7564 [C99-based-standards] (PRIxFAST32): Likewise.
7565 [C99-based-standards] (PRIXFAST32): Likewise.
7566 [C99-based-standards] (SCNdFAST32): Likewise.
7567 [C99-based-standards] (SCNiFAST32): Likewise.
7568 [C99-based-standards] (SCNoFAST32): Likewise.
7569 [C99-based-standards] (SCNuFAST32): Likewise.
7570 [C99-based-standards] (SCNxFAST32): Likewise.
7571 [C99-based-standards] (PRId64): Likewise.
7572 [C99-based-standards] (PRIi64): Likewise.
7573 [C99-based-standards] (PRIo64): Likewise.
7574 [C99-based-standards] (PRIu64): Likewise.
7575 [C99-based-standards] (PRIx64): Likewise.
7576 [C99-based-standards] (PRIX64): Likewise.
7577 [C99-based-standards] (SCNd64): Likewise.
7578 [C99-based-standards] (SCNi64): Likewise.
7579 [C99-based-standards] (SCNo64): Likewise.
7580 [C99-based-standards] (SCNu64): Likewise.
7581 [C99-based-standards] (SCNx64): Likewise.
7582 [C99-based-standards] (PRIdLEAST64): Likewise.
7583 [C99-based-standards] (PRIiLEAST64): Likewise.
7584 [C99-based-standards] (PRIoLEAST64): Likewise.
7585 [C99-based-standards] (PRIuLEAST64): Likewise.
7586 [C99-based-standards] (PRIxLEAST64): Likewise.
7587 [C99-based-standards] (PRIXLEAST64): Likewise.
7588 [C99-based-standards] (SCNdLEAST64): Likewise.
7589 [C99-based-standards] (SCNiLEAST64): Likewise.
7590 [C99-based-standards] (SCNoLEAST64): Likewise.
7591 [C99-based-standards] (SCNuLEAST64): Likewise.
7592 [C99-based-standards] (SCNxLEAST64): Likewise.
7593 [C99-based-standards] (PRIdFAST64): Likewise.
7594 [C99-based-standards] (PRIiFAST64): Likewise.
7595 [C99-based-standards] (PRIoFAST64): Likewise.
7596 [C99-based-standards] (PRIuFAST64): Likewise.
7597 [C99-based-standards] (PRIxFAST64): Likewise.
7598 [C99-based-standards] (PRIXFAST64): Likewise.
7599 [C99-based-standards] (SCNdFAST64): Likewise.
7600 [C99-based-standards] (SCNiFAST64): Likewise.
7601 [C99-based-standards] (SCNoFAST64): Likewise.
7602 [C99-based-standards] (SCNuFAST64): Likewise.
7603 [C99-based-standards] (SCNxFAST64): Likewise.
7604 [C99-based-standards] (PRIdMAX): Likewise.
7605 [C99-based-standards] (PRIiMAX): Likewise.
7606 [C99-based-standards] (PRIoMAX): Likewise.
7607 [C99-based-standards] (PRIuMAX): Likewise.
7608 [C99-based-standards] (PRIxMAX): Likewise.
7609 [C99-based-standards] (PRIXMAX): Likewise.
7610 [C99-based-standards] (SCNdMAX): Likewise.
7611 [C99-based-standards] (SCNiMAX): Likewise.
7612 [C99-based-standards] (SCNoMAX): Likewise.
7613 [C99-based-standards] (SCNuMAX): Likewise.
7614 [C99-based-standards] (SCNxMAX): Likewise.
7615 [C99-based-standards] (PRIdPTR): Likewise.
7616 [C99-based-standards] (PRIiPTR): Likewise.
7617 [C99-based-standards] (PRIoPTR): Likewise.
7618 [C99-based-standards] (PRIuPTR): Likewise.
7619 [C99-based-standards] (PRIxPTR): Likewise.
7620 [C99-based-standards] (PRIXPTR): Likewise.
7621 [C99-based-standards] (SCNdPTR): Likewise.
7622 [C99-based-standards] (SCNiPTR): Likewise.
7623 [C99-based-standards] (SCNoPTR): Likewise.
7624 [C99-based-standards] (SCNuPTR): Likewise.
7625 [C99-based-standards] (SCNxPTR): Likewise.
7626 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7627 allow.
7628 * conform/data/stdint.h-data: Update comments to clarify
7629 requirements.
7630 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7631 type.
7632 [C99-based standards] (INT8_MAX): Likewise.
7633 [C99-based standards] (INT16_MIN): Likewise.
7634 [C99-based standards] (INT16_MAX): Likewise.
7635 [C99-based standards] (INT32_MIN): Likewise.
7636 [C99-based standards] (INT32_MAX): Likewise.
7637 [C99-based standards] (INT64_MIN): Likewise.
7638 [C99-based standards] (INT64_MAX): Likewise.
7639 [C99-based standards] (UINT8_MAX): Likewise.
7640 [C99-based standards] (UINT16_MAX): Likewise.
7641 [C99-based standards] (UINT32_MAX): Likewise.
7642 [C99-based standards] (UINT64_MAX): Likewise.
7643 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7644 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7645 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7646 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7647 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7648 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7649 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7650 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7651 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7652 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7653 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7654 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7655 [C99-based standards] (INT_FAST8_MIN): Likewise.
7656 [C99-based standards] (INT_FAST8_MAX): Likewise.
7657 [C99-based standards] (INT_FAST16_MIN): Likewise.
7658 [C99-based standards] (INT_FAST16_MAX): Likewise.
7659 [C99-based standards] (INT_FAST32_MIN): Likewise.
7660 [C99-based standards] (INT_FAST32_MAX): Likewise.
7661 [C99-based standards] (INT_FAST64_MIN): Likewise.
7662 [C99-based standards] (INT_FAST64_MAX): Likewise.
7663 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7664 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7665 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7666 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7667 [C99-based standards] (INTPTR_MIN): Likewise.
7668 [C99-based standards] (INTPTR_MAX): Likewise.
7669 [C99-based standards] (UINTPTR_MAX): Likewise.
7670 [C99-based standards] (INTMAX_MIN): Likewise.
7671 [C99-based standards] (INTMAX_MAX): Likewise.
7672 [C99-based standards] (UINTMAX_MAX): Likewise.
7673 [C99-based standards] (PTRDIFF_MIN): Likewise.
7674 [C99-based standards] (PTRDIFF_MAX): Likewise.
7675 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7676 [C99-based standards] (SIZE_MAX): Likewise.
7677 [C99-based standards] (WCHAR_MAX): Likewise.
7678 [C99-based standards] (WINT_MAX): Likewise.
7679 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7680 constraint on value.
7681 [C99-based standards] (WCHAR_MIN): Likewise.
7682 [C99-based standards] (WINT_MIN): Likewise.
7683 [C99-based standards] (*_t): Allow.
7684 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7685 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7686 Include math.h-data and complex.h-data. Remove all expectations
7687 of math.h and complex.h contents.
7688 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7689 at end of line.
7690 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7691 (struct tm): Expect tag.
7692 [C99-based-standards] (wcstof): Expect function.
7693 [C99-based-standards] (wcstold): Likewise.
7694 [C99-based-standards] (wcstoll): Likewise.
7695 [C99-based-standards] (wcstoull): Likewise.
7696 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7697 macro-int-constant. Specify type.
7698 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7699 constraint on value.
7700 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7701 Specify type.
7702 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7703 Specify value.
7704 [ISO C standards]: Do not allow headers.
7705 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7706 wcs[abcdefghijklmnopqrstuvwxyz]*.
7707 [ISO C standards] (*_t): Do not allow.
7708 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7709 Expect function.
7710 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7711 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7712 Specify type.
7713 [ISO C standards]: Do not allow headers.
7714 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7715 is[abcdefghijklmnopqrstuvwxyz]*.
7716 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7717 to[abcdefghijklmnopqrstuvwxyz]*.
7718 [ISO C standards] (*_t): Do not allow.
7719 * conform/data/stdalign.h-data: New file.
7720 * conform/data/stdbool.h-data: Likewise.
7721 * conform/data/stdnoreturn.h-data: Likewise.
7722
7514feb8
RM
77232012-11-07 Roland McGrath <roland@hack.frob.com>
7724
7725 [BZ #14815]
7726 * manual/filesys.texi (Directory Entries): Typo fix.
7727 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7728
19b2ecfc
MS
77292012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7730
7731 * elf/elf.h (EM_AARCH64): New macro.
7732 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7733 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7734 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7735 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7736 (R_AARCH64_TLSDESC): Likewise.
7737 (NT_ARM_TLS): Likewise.
7738 (NT_ARM_HW_BREAK): Likewise.
7739 (NT_ARM_HW_WATCH): Likewise.
7740
60e235ee
JM
77412012-11-07 Joseph Myers <joseph@codesourcery.com>
7742
7743 [BZ #14811]
7744 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7745 (__ieee754_powl): Saturate nonzero exponents with absolute value
7746 below 0x1p-79 to +/- 0x1p-79.
7747 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7748 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7749 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7750 nonzero exponents with absolute value below 0x1p-32 to +/-
7751 0x1p-32.
7752 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7753 (__ieee754_powl): Saturate nonzero exponents with absolute value
7754 below 0x1p-79 to +/- 0x1p-79.
7755 * math/libm-test.inc (pow_test): Add more tests.
7756
0ab234b7
AK
77572012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7758
7759 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7760 _dl_s390_cap_flags with kernel. Increase string length.
7761 (_dl_s390_platforms): Add z196 and zEC12.
7762
45832f74
JM
77632012-11-07 Joseph Myers <joseph@codesourcery.com>
7764
7765 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7766 Change XOPEN21K to XOPEN2K.
7767
19218757
MK
77682012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7769
7770 * string/memmove.c: Use memcpy when possible.
7771
c5f45721
AJ
77722012-11-06 Andreas Jaeger <aj@suse.de>
7773
7774 * po/eo.po: Update from translation team.
7775
82477c28
JM
77762012-11-06 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #14793]
7779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7780 exponent and small x and y exponents, scale x or y up. Increase
7781 by 2 the exponent used in scaling up.
7782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7783 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7784 * math/libm-test.inc (fma_test): Add more tests.
7785 (fma_test_towardzero): Likewise.
7786 (fma_test_downward): Likewise.
7787 (fma_test_upward): Likewise.
7788
99252c8c
JM
77892012-11-05 Joseph Myers <joseph@codesourcery.com>
7790
acfa885f
JM
7791 [BZ #14805]
7792 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7793 fenv_t *.
7794
99252c8c
JM
7795 [BZ #14801]
7796 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7797 namespace for names of struct fields.
7798 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7799 fenv_t fields.
7800 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7801 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7802
d6d98dea
ST
78032012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7804
7805 [BZ #3665]
7806 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7807
e10bb107
TS
78082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7809
7810 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7811 PTR_DEMANGLE.
7812
7813 [BZ #5246]
7814 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7815 PTR_DEMANGLE.
7816
a0c2940d
JM
78172012-11-04 Joseph Myers <joseph@codesourcery.com>
7818
7819 [BZ #14797]
7820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7821 definitely overflow as x * y not x * y + z.
7822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7824 * math/libm-test.inc (fma_test): Add more tests.
7825 (fma_test_towardzero): Likewise.
7826 (fma_test_downward): Likewise.
7827 (fma_test_upward): Likewise.
7828
b830319d
TS
78292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7830
7831 [BZ #157]
7832
7833 * include/stub-tag.h: Remove file.
7834 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7835 '#include' of it.
7836 * manual/maint.texi (Porting): Don't reference it.
7837 * Makerules ($(objpfx)stubs): Likewise.
7838 * dirent/closedir.c: Don't include <stub-tag.h>.
7839 * dirent/dirfd.c: Likewise.
7840 * dirent/fdopendir.c: Likewise.
7841 * dirent/getdents.c: Likewise.
7842 * dirent/getdents64.c: Likewise.
7843 * dirent/opendir.c: Likewise.
7844 * dirent/readdir.c: Likewise.
7845 * dirent/readdir64.c: Likewise.
7846 * dirent/readdir64_r.c: Likewise.
7847 * dirent/readdir_r.c: Likewise.
7848 * dirent/rewinddir.c: Likewise.
7849 * dirent/seekdir.c: Likewise.
7850 * dirent/telldir.c: Likewise.
7851 * gmon/profil.c: Likewise.
7852 * grp/setgroups.c: Likewise.
7853 * inet/if_index.c: Likewise.
7854 * io/access.c: Likewise.
7855 * io/chdir.c: Likewise.
7856 * io/chmod.c: Likewise.
7857 * io/chown.c: Likewise.
7858 * io/close.c: Likewise.
7859 * io/dup.c: Likewise.
7860 * io/dup2.c: Likewise.
7861 * io/dup3.c: Likewise.
7862 * io/euidaccess.c: Likewise.
7863 * io/faccessat.c: Likewise.
7864 * io/fchdir.c: Likewise.
7865 * io/fchmod.c: Likewise.
7866 * io/fchmodat.c: Likewise.
7867 * io/fchown.c: Likewise.
7868 * io/fchownat.c: Likewise.
7869 * io/fcntl.c: Likewise.
7870 * io/flock.c: Likewise.
7871 * io/fstatfs.c: Likewise.
7872 * io/fstatfs64.c: Likewise.
7873 * io/fstatvfs.c: Likewise.
7874 * io/fstatvfs64.c: Likewise.
7875 * io/futimens.c: Likewise.
7876 * io/fxstat.c: Likewise.
7877 * io/fxstat64.c: Likewise.
7878 * io/fxstatat.c: Likewise.
7879 * io/fxstatat64.c: Likewise.
7880 * io/getcwd.c: Likewise.
7881 * io/isatty.c: Likewise.
7882 * io/lchmod.c: Likewise.
7883 * io/lchown.c: Likewise.
7884 * io/link.c: Likewise.
7885 * io/linkat.c: Likewise.
7886 * io/lseek.c: Likewise.
7887 * io/lseek64.c: Likewise.
7888 * io/lxstat64.c: Likewise.
7889 * io/mkdir.c: Likewise.
7890 * io/mkdirat.c: Likewise.
7891 * io/mkfifo.c: Likewise.
7892 * io/mkfifoat.c: Likewise.
7893 * io/open.c: Likewise.
7894 * io/open64.c: Likewise.
7895 * io/openat.c: Likewise.
7896 * io/openat64.c: Likewise.
7897 * io/pipe.c: Likewise.
7898 * io/pipe2.c: Likewise.
7899 * io/poll.c: Likewise.
7900 * io/posix_fadvise.c: Likewise.
7901 * io/posix_fadvise64.c: Likewise.
7902 * io/posix_fallocate.c: Likewise.
7903 * io/posix_fallocate64.c: Likewise.
7904 * io/read.c: Likewise.
7905 * io/readlink.c: Likewise.
7906 * io/readlinkat.c: Likewise.
7907 * io/rmdir.c: Likewise.
7908 * io/sendfile.c: Likewise.
7909 * io/sendfile64.c: Likewise.
7910 * io/statfs.c: Likewise.
7911 * io/statfs64.c: Likewise.
7912 * io/statvfs.c: Likewise.
7913 * io/statvfs64.c: Likewise.
7914 * io/symlink.c: Likewise.
7915 * io/symlinkat.c: Likewise.
7916 * io/ttyname.c: Likewise.
7917 * io/ttyname_r.c: Likewise.
7918 * io/umask.c: Likewise.
7919 * io/unlink.c: Likewise.
7920 * io/unlinkat.c: Likewise.
7921 * io/utime.c: Likewise.
7922 * io/utimensat.c: Likewise.
7923 * io/write.c: Likewise.
7924 * io/xmknod.c: Likewise.
7925 * io/xmknodat.c: Likewise.
7926 * io/xstat.c: Likewise.
7927 * io/xstat64.c: Likewise.
7928 * login/getpt.c: Likewise.
7929 * login/grantpt.c: Likewise.
7930 * login/unlockpt.c: Likewise.
7931 * math/e_acoshl.c: Likewise.
7932 * math/e_acosl.c: Likewise.
7933 * math/e_asinl.c: Likewise.
7934 * math/e_atan2l.c: Likewise.
7935 * math/e_atanhl.c: Likewise.
7936 * math/e_coshl.c: Likewise.
7937 * math/e_expl.c: Likewise.
7938 * math/e_fmodl.c: Likewise.
7939 * math/e_gammal_r.c: Likewise.
7940 * math/e_hypotl.c: Likewise.
7941 * math/e_j0l.c: Likewise.
7942 * math/e_j1l.c: Likewise.
7943 * math/e_jnl.c: Likewise.
7944 * math/e_lgammal_r.c: Likewise.
7945 * math/e_log10l.c: Likewise.
7946 * math/e_log2l.c: Likewise.
7947 * math/e_logl.c: Likewise.
7948 * math/e_powl.c: Likewise.
7949 * math/e_rem_pio2l.c: Likewise.
7950 * math/e_sinhl.c: Likewise.
7951 * math/e_sqrtl.c: Likewise.
7952 * math/fclrexcpt.c: Likewise.
7953 * math/fedisblxcpt.c: Likewise.
7954 * math/feenablxcpt.c: Likewise.
7955 * math/fegetenv.c: Likewise.
7956 * math/fegetexcept.c: Likewise.
7957 * math/fegetround.c: Likewise.
7958 * math/feholdexcpt.c: Likewise.
7959 * math/fesetenv.c: Likewise.
7960 * math/fesetround.c: Likewise.
7961 * math/feupdateenv.c: Likewise.
7962 * math/fgetexcptflg.c: Likewise.
7963 * math/fraiseexcpt.c: Likewise.
7964 * math/fsetexcptflg.c: Likewise.
7965 * math/ftestexcept.c: Likewise.
7966 * math/k_cosl.c: Likewise.
7967 * math/k_rem_pio2l.c: Likewise.
7968 * math/k_sinl.c: Likewise.
7969 * math/k_tanl.c: Likewise.
7970 * math/s_asinhl.c: Likewise.
7971 * math/s_atanl.c: Likewise.
7972 * math/s_cbrtl.c: Likewise.
7973 * math/s_erfl.c: Likewise.
7974 * math/s_expm1l.c: Likewise.
7975 * math/s_log1pl.c: Likewise.
7976 * math/s_tanhl.c: Likewise.
7977 * misc/acct.c: Likewise.
7978 * misc/brk.c: Likewise.
7979 * misc/chflags.c: Likewise.
7980 * misc/chroot.c: Likewise.
7981 * misc/fchflags.c: Likewise.
7982 * misc/fgetxattr.c: Likewise.
7983 * misc/flistxattr.c: Likewise.
7984 * misc/fremovexattr.c: Likewise.
7985 * misc/fsetxattr.c: Likewise.
7986 * misc/fsync.c: Likewise.
7987 * misc/ftruncate.c: Likewise.
7988 * misc/futimes.c: Likewise.
7989 * misc/futimesat.c: Likewise.
7990 * misc/getdomain.c: Likewise.
7991 * misc/getdtsz.c: Likewise.
7992 * misc/gethostid.c: Likewise.
7993 * misc/gethostname.c: Likewise.
7994 * misc/getloadavg.c: Likewise.
7995 * misc/getpagesize.c: Likewise.
7996 * misc/getsysstats.c: Likewise.
7997 * misc/getxattr.c: Likewise.
7998 * misc/gtty.c: Likewise.
7999 * misc/ioctl.c: Likewise.
8000 * misc/lgetxattr.c: Likewise.
8001 * misc/listxattr.c: Likewise.
8002 * misc/llistxattr.c: Likewise.
8003 * misc/lremovexattr.c: Likewise.
8004 * misc/lsetxattr.c: Likewise.
8005 * misc/lutimes.c: Likewise.
8006 * misc/madvise.c: Likewise.
8007 * misc/mincore.c: Likewise.
8008 * misc/mlock.c: Likewise.
8009 * misc/mlockall.c: Likewise.
8010 * misc/mmap.c: Likewise.
8011 * misc/mprotect.c: Likewise.
8012 * misc/msync.c: Likewise.
8013 * misc/munlock.c: Likewise.
8014 * misc/munlockall.c: Likewise.
8015 * misc/munmap.c: Likewise.
8016 * misc/preadv.c: Likewise.
8017 * misc/preadv64.c: Likewise.
8018 * misc/ptrace.c: Likewise.
8019 * misc/pwritev.c: Likewise.
8020 * misc/pwritev64.c: Likewise.
8021 * misc/readv.c: Likewise.
8022 * misc/reboot.c: Likewise.
8023 * misc/remap_file_pages.c: Likewise.
8024 * misc/removexattr.c: Likewise.
8025 * misc/revoke.c: Likewise.
8026 * misc/select.c: Likewise.
8027 * misc/setdomain.c: Likewise.
8028 * misc/setegid.c: Likewise.
8029 * misc/seteuid.c: Likewise.
8030 * misc/sethostid.c: Likewise.
8031 * misc/sethostname.c: Likewise.
8032 * misc/setregid.c: Likewise.
8033 * misc/setreuid.c: Likewise.
8034 * misc/setxattr.c: Likewise.
8035 * misc/sstk.c: Likewise.
8036 * misc/stty.c: Likewise.
8037 * misc/swapoff.c: Likewise.
8038 * misc/swapon.c: Likewise.
8039 * misc/sync.c: Likewise.
8040 * misc/syncfs.c: Likewise.
8041 * misc/syscall.c: Likewise.
8042 * misc/truncate.c: Likewise.
8043 * misc/ualarm.c: Likewise.
8044 * misc/usleep.c: Likewise.
8045 * misc/ustat.c: Likewise.
8046 * misc/utimes.c: Likewise.
8047 * misc/vhangup.c: Likewise.
8048 * misc/writev.c: Likewise.
8049 * posix/_exit.c: Likewise.
8050 * posix/alarm.c: Likewise.
8051 * posix/execve.c: Likewise.
8052 * posix/fexecve.c: Likewise.
8053 * posix/fork.c: Likewise.
8054 * posix/fpathconf.c: Likewise.
8055 * posix/getaddrinfo.c: Likewise.
8056 * posix/getegid.c: Likewise.
8057 * posix/geteuid.c: Likewise.
8058 * posix/getgid.c: Likewise.
8059 * posix/getgroups.c: Likewise.
8060 * posix/getlogin.c: Likewise.
8061 * posix/getlogin_r.c: Likewise.
8062 * posix/getpgid.c: Likewise.
8063 * posix/getpid.c: Likewise.
8064 * posix/getppid.c: Likewise.
8065 * posix/getresgid.c: Likewise.
8066 * posix/getresuid.c: Likewise.
8067 * posix/getsid.c: Likewise.
8068 * posix/getuid.c: Likewise.
8069 * posix/glob64.c: Likewise.
8070 * posix/nanosleep.c: Likewise.
8071 * posix/pathconf.c: Likewise.
8072 * posix/pause.c: Likewise.
8073 * posix/posix_madvise.c: Likewise.
8074 * posix/pread.c: Likewise.
8075 * posix/pread64.c: Likewise.
8076 * posix/pwrite.c: Likewise.
8077 * posix/pwrite64.c: Likewise.
8078 * posix/sched_getaffinity.c: Likewise.
8079 * posix/sched_getp.c: Likewise.
8080 * posix/sched_gets.c: Likewise.
8081 * posix/sched_primax.c: Likewise.
8082 * posix/sched_primin.c: Likewise.
8083 * posix/sched_rr_gi.c: Likewise.
8084 * posix/sched_setaffinity.c: Likewise.
8085 * posix/sched_setp.c: Likewise.
8086 * posix/sched_sets.c: Likewise.
8087 * posix/sched_yield.c: Likewise.
8088 * posix/setgid.c: Likewise.
8089 * posix/setlogin.c: Likewise.
8090 * posix/setpgid.c: Likewise.
8091 * posix/setresgid.c: Likewise.
8092 * posix/setresuid.c: Likewise.
8093 * posix/setsid.c: Likewise.
8094 * posix/setuid.c: Likewise.
8095 * posix/sleep.c: Likewise.
8096 * posix/spawni.c: Likewise.
8097 * posix/sysconf.c: Likewise.
8098 * posix/times.c: Likewise.
8099 * posix/wait.c: Likewise.
8100 * posix/wait3.c: Likewise.
8101 * posix/wait4.c: Likewise.
8102 * posix/waitpid.c: Likewise.
8103 * resolv/gai_sigqueue.c: Likewise.
8104 * resource/getpriority.c: Likewise.
8105 * resource/getrlimit.c: Likewise.
8106 * resource/getrusage.c: Likewise.
8107 * resource/nice.c: Likewise.
8108 * resource/setpriority.c: Likewise.
8109 * resource/setrlimit.c: Likewise.
8110 * resource/ulimit.c: Likewise.
8111 * rt/aio_cancel.c: Likewise.
8112 * rt/aio_fsync.c: Likewise.
8113 * rt/aio_read.c: Likewise.
8114 * rt/aio_sigqueue.c: Likewise.
8115 * rt/aio_suspend.c: Likewise.
8116 * rt/aio_write.c: Likewise.
8117 * rt/clock_getres.c: Likewise.
8118 * rt/clock_gettime.c: Likewise.
8119 * rt/clock_nanosleep.c: Likewise.
8120 * rt/clock_settime.c: Likewise.
8121 * rt/lio_listio.c: Likewise.
8122 * rt/mq_close.c: Likewise.
8123 * rt/mq_getattr.c: Likewise.
8124 * rt/mq_notify.c: Likewise.
8125 * rt/mq_open.c: Likewise.
8126 * rt/mq_receive.c: Likewise.
8127 * rt/mq_send.c: Likewise.
8128 * rt/mq_setattr.c: Likewise.
8129 * rt/mq_timedreceive.c: Likewise.
8130 * rt/mq_timedsend.c: Likewise.
8131 * rt/mq_unlink.c: Likewise.
8132 * rt/shm_open.c: Likewise.
8133 * rt/shm_unlink.c: Likewise.
8134 * rt/timer_create.c: Likewise.
8135 * rt/timer_delete.c: Likewise.
8136 * rt/timer_getoverr.c: Likewise.
8137 * rt/timer_gettime.c: Likewise.
8138 * rt/timer_settime.c: Likewise.
8139 * setjmp/__longjmp.c: Likewise.
8140 * setjmp/setjmp.c: Likewise.
8141 * signal/kill.c: Likewise.
8142 * signal/killpg.c: Likewise.
8143 * signal/raise.c: Likewise.
8144 * signal/sigaction.c: Likewise.
8145 * signal/sigaltstack.c: Likewise.
8146 * signal/sigblock.c: Likewise.
8147 * signal/sigignore.c: Likewise.
8148 * signal/sigintr.c: Likewise.
8149 * signal/signal.c: Likewise.
8150 * signal/sigpause.c: Likewise.
8151 * signal/sigpending.c: Likewise.
8152 * signal/sigqueue.c: Likewise.
8153 * signal/sigreturn.c: Likewise.
8154 * signal/sigset.c: Likewise.
8155 * signal/sigsetmask.c: Likewise.
8156 * signal/sigstack.c: Likewise.
8157 * signal/sigsuspend.c: Likewise.
8158 * signal/sigtimedwait.c: Likewise.
8159 * signal/sigvec.c: Likewise.
8160 * signal/sigwait.c: Likewise.
8161 * signal/sigwaitinfo.c: Likewise.
8162 * signal/sysv_signal.c: Likewise.
8163 * socket/accept.c: Likewise.
8164 * socket/accept4.c: Likewise.
8165 * socket/bind.c: Likewise.
8166 * socket/connect.c: Likewise.
8167 * socket/getpeername.c: Likewise.
8168 * socket/getsockname.c: Likewise.
8169 * socket/getsockopt.c: Likewise.
8170 * socket/isfdtype.c: Likewise.
8171 * socket/listen.c: Likewise.
8172 * socket/recv.c: Likewise.
8173 * socket/recvfrom.c: Likewise.
8174 * socket/recvmsg.c: Likewise.
8175 * socket/send.c: Likewise.
8176 * socket/sendmsg.c: Likewise.
8177 * socket/sendto.c: Likewise.
8178 * socket/setsockopt.c: Likewise.
8179 * socket/shutdown.c: Likewise.
8180 * socket/sockatmark.c: Likewise.
8181 * socket/socket.c: Likewise.
8182 * socket/socketpair.c: Likewise.
8183 * stdio-common/ctermid.c: Likewise.
8184 * stdio-common/cuserid.c: Likewise.
8185 * stdio-common/remove.c: Likewise.
8186 * stdio-common/rename.c: Likewise.
8187 * stdio-common/renameat.c: Likewise.
8188 * stdio-common/tempname.c: Likewise.
8189 * stdlib/getcontext.c: Likewise.
8190 * stdlib/makecontext.c: Likewise.
8191 * stdlib/setcontext.c: Likewise.
8192 * stdlib/swapcontext.c: Likewise.
8193 * stdlib/system.c: Likewise.
8194 * streams/fattach.c: Likewise.
8195 * streams/fdetach.c: Likewise.
8196 * streams/getmsg.c: Likewise.
8197 * streams/getpmsg.c: Likewise.
8198 * streams/putmsg.c: Likewise.
8199 * streams/putpmsg.c: Likewise.
8200 * sysdeps/unix/bsd/getpt.c: Likewise.
8201 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8202 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8203 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8205 Likewise.
8206 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8207 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8208 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8209 * sysvipc/msgctl.c: Likewise.
8210 * sysvipc/msgget.c: Likewise.
8211 * sysvipc/msgrcv.c: Likewise.
8212 * sysvipc/msgsnd.c: Likewise.
8213 * sysvipc/semctl.c: Likewise.
8214 * sysvipc/semget.c: Likewise.
8215 * sysvipc/semop.c: Likewise.
8216 * sysvipc/semtimedop.c: Likewise.
8217 * sysvipc/shmat.c: Likewise.
8218 * sysvipc/shmctl.c: Likewise.
8219 * sysvipc/shmdt.c: Likewise.
8220 * sysvipc/shmget.c: Likewise.
8221 * termios/tcdrain.c: Likewise.
8222 * termios/tcflow.c: Likewise.
8223 * termios/tcflush.c: Likewise.
8224 * termios/tcgetattr.c: Likewise.
8225 * termios/tcgetpgrp.c: Likewise.
8226 * termios/tcsendbrk.c: Likewise.
8227 * termios/tcsetattr.c: Likewise.
8228 * termios/tcsetpgrp.c: Likewise.
8229 * time/adjtime.c: Likewise.
8230 * time/clock.c: Likewise.
8231 * time/getitimer.c: Likewise.
8232 * time/gettimeofday.c: Likewise.
8233 * time/setitimer.c: Likewise.
8234 * time/settimeofday.c: Likewise.
8235 * time/stime.c: Likewise.
8236 * time/time.c: Likewise.
8237
82382012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 8239
a20492cf
PT
8240 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8241 /usr/old/bin.
8242
72e182e3
PT
8243 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8244 instead of spaces.
8245 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8246
fbeafede
JM
82472012-11-03 Joseph Myers <joseph@codesourcery.com>
8248
5b5b04d6
JM
8249 [BZ #14796]
8250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8251 FE_TONEAREST before applying Dekker multiplication and Knuth
8252 addition. Clear inexact exceptions and check for exact zero
8253 results afterwards.
8254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8255 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8257 * math/libm-test.inc (fma_test): Add more tests.
8258 (fma_test_towardzero): Likewise.
8259 (fma_test_downward): Likewise.
8260 (fma_test_upward): Likewise.
8261 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8262 function.
8263 (libc_fesetround): New macro.
8264 (libc_fesetroundf): Likewise.
8265 (libc_fesetroundl): Likewise.
8266 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8267 function.
8268 (libc_fesetround_387): Likewise.
8269 (libc_fesetroundf): New macro.
8270 (libc_fesetround): Likewise.
8271 (libc_fesetroundl): Likewise.
8272 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8273 function.
8274 (libc_fesetroundf): New macro.
8275 (libc_fesetround): Likewise.
8276 (libc_fesetroundl): Likewise.
8277 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8278 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8279 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8280 libm_hidden_ver.
8281 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8282 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8283 libm_hidden_def.
8284 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8285 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8286 libm_hidden_ver.
8287 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8288 libm_hidden_def.
8289
fbeafede
JM
8290 [BZ #3439]
8291 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8292 integer constant usable in #if and use that to give value to enum
8293 constant.
8294 (FE_DIVBYZERO): Likewise.
8295 (FE_UNDERFLOW): Likewise.
8296 (FE_OVERFLOW): Likewise.
8297 (FE_INVALID): Likewise.
8298 (FE_INVALID_SNAN): Likewise.
8299 (FE_INVALID_ISI): Likewise.
8300 (FE_INVALID_IDI): Likewise.
8301 (FE_INVALID_ZDZ): Likewise.
8302 (FE_INVALID_IMZ): Likewise.
8303 (FE_INVALID_COMPARE): Likewise.
8304 (FE_INVALID_SOFTWARE): Likewise.
8305 (FE_INVALID_SQRT): Likewise.
8306 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8307 (FE_TONEAREST): Likewise.
8308 (FE_TOWARDZERO): Likewise.
8309 (FE_UPWARD): Likewise.
8310 (FE_DOWNWARD): Likewise.
8311 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8312 (FE_DIVBYZERO): Likewise.
8313 (FE_OVERFLOW): Likewise.
8314 (FE_UNDERFLOW): Likewise.
8315 (FE_INEXACT): Likewise.
8316 (FE_TONEAREST): Likewise.
8317 (FE_DOWNWARD): Likewise.
8318 (FE_UPWARD): Likewise.
8319 (FE_TOWARDZERO): Likewise.
8320 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8321 (FE_UNDERFLOW): Likewise.
8322 (FE_OVERFLOW): Likewise.
8323 (FE_DIVBYZERO): Likewise.
8324 (FE_INVALID): Likewise.
8325 (FE_TONEAREST): Likewise.
8326 (FE_TOWARDZERO): Likewise.
8327 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8328 (FE_OVERFLOW): Likewise.
8329 (FE_UNDERFLOW): Likewise.
8330 (FE_DIVBYZERO): Likewise.
8331 (FE_INEXACT): Likewise.
8332 (FE_TONEAREST): Likewise.
8333 (FE_TOWARDZERO): Likewise.
8334 (FE_UPWARD): Likewise.
8335 (FE_DOWNWARD): Likewise.
8336 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8337 (FE_DIVBYZERO): Likewise.
8338 (FE_OVERFLOW): Likewise.
8339 (FE_UNDERFLOW): Likewise.
8340 (FE_INEXACT): Likewise.
8341 (FE_TONEAREST): Likewise.
8342 (FE_DOWNWARD): Likewise.
8343 (FE_UPWARD): Likewise.
8344 (FE_TOWARDZERO): Likewise.
8345
105ca950
CM
83462012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8347
8348 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8349
a542b389
AS
83502012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8351
8352 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8353 commands. Quote $PWD.
8354 (blacklist_exports): Don't use remove_newlines. Replace "declare
8355 -x" by "export".
8356 (remove_newlines): Remove.
8357
f62c8abc
L
83582012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8359
8360 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8361 * stdlib/stdlib.h (atof): Moved to ...
8362 * include/bits/stdlib-float.h: Here. New file.
8363 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8364 * stdlib/bits/stdlib-float.h: New file.
8365 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8366 -mno-sse -mno-mmx.
8367 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8368 <xmmintrin.h>.
8369
0155d5b2
JM
83702012-11-02 Joseph Myers <joseph@codesourcery.com>
8371
a68d0680
JM
8372 * conform/conformtest.pl (@headers): Add fenv.h.
8373 * conform/data/fenv.h-data: New file.
8374 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8375 include of <math/fenv.h>.
8376
caf7f573
JM
8377 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8378 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8379 && !UNIX98]. Enables tests for XOPEN2K8.
8380 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8381 POSIX2008]: Likewise.
8382
6c073ad6
JM
8383 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8384 (struct rusage): Do not expect type or its members.
8385
0155d5b2
JM
8386 [BZ #3439]
8387 * math/math.h (FP_NAN): Define macro to integer constant usable in
8388 #if and use that to give value to enum constant.
8389 (FP_INFINITE): Likewise.
8390 (FP_ZERO): Likewise.
8391 (FP_SUBNORMAL): Likewise.
8392 (FP_NORMAL): Likewise.
8393
b5dcacb4
AS
83942012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8395
8396 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8397 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8398 arguments.
8399
f7934be8
RM
84002012-11-02 Roland McGrath <roland@hack.frob.com>
8401
8402 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8403 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8404 autoconf-time if not.
8405 * configure.in: Remove AC_PREREQ.
8406
d7d08bde
TMQMF
84072012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8408
8409 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8410 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8411 of the internal implementation.
8412
dcdae19a
JM
84132012-11-02 Joseph Myers <joseph@codesourcery.com>
8414
8415 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8416 except include of <misc/sys/syslog.h>.
8417
d6cffd3e
AS
84182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8419
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8421 function returns with a NULL context exit with zero.
8422
b3563932
TMQMF
84232012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8424
8425 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8426
b288a93d
L
84272012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8428
8429 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8430 (run_program_cmd): This.
8431 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8432 (tst_langinfo): New variable. Use it.
8433
a2421a68
SAS
84342012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8435
8436 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8437 floating point opcodes.
8438
6f796e1b
TS
84392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8440
7402596b
TS
8441 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8442 variable.
8443
d0d4f868
TS
8444 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8445
6f796e1b
TS
8446 * sysdeps/mach/hurd/powerpc: Remove directory.
8447 * sysdeps/mach/powerpc: Likewise.
8448
4da224a2
AS
84492012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8450
8451 * scripts/check-local-headers.sh: Ignore c++ headers.
8452
341dd673
TS
84532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8454
8455 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8456 __libc_cleanup_region_start argument.
8457
473611b2
JM
84582012-11-01 Joseph Myers <joseph@codesourcery.com>
8459
8460 [BZ #14784]
8461 [BZ #14785]
8462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8463 x * y using scaling, not as x * y + z.
8464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8466 * math/libm-test.inc (fma_test): Add more tests.
8467 (fma_test_towardzero): Likewise.
8468 (fma_test_downward): Likewise.
8469 (fma_test_upward): Likewise.
8470
4078da3d
TS
84712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8472
8473 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8474
903252aa
JM
84752012-10-31 Joseph Myers <joseph@codesourcery.com>
8476
8477 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8478 New variable.
8479
cbc818d0
TS
84802012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8481
8482 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8483
5a03cb1e
AS
84842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8485
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8487 Fix sort order.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8489 Likewise.
8490
90aff2ff
TMQMF
84912012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8492
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8494 Fix the order of the list for glibc 2.17.
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8496 Likewise.
8497
1818fcb7
AS
84982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8499
8500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8501
ef82f4da
JM
85022012-10-31 Joseph Myers <joseph@codesourcery.com>
8503
16a0e2ec
JM
8504 [BZ #14610]
8505 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8506 for low part of x being zero before using __atanl (y).
8507 * math/libm-test.inc (atan2_test): Add another test.
8508
0eb69512
JM
8509 * manual/install.texi (Configuring and compiling): Document
8510 general use of test-wrapper and test-wrapper-env.
8511 * INSTALL: Regenerated.
8512
ef82f4da
JM
8513 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8514 (__fma): Do not extract and scale down low bits on after-rounding
8515 systems when result rounded to normal precision would have normal
8516 exponent.
8517 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8518 (__fmal): Do not extract and scale down low bits on after-rounding
8519 systems when result rounded to normal precision would have normal
8520 exponent.
8521 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8522 (__fmal): Do not extract and scale down low bits on after-rounding
8523 systems when result rounded to normal precision would have normal
8524 exponent.
8525 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8526 macro.
8527 (fma_test): Add more tests.
8528 (fma_test_towardzero): Likewise.
8529 (fma_test_downward): Likewise.
8530 (fma_test_upward): Likewise.
8531
954ef0d9
L
85322012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8533
8534 * sysdeps/i386/tininess.h: Renamed to ...
8535 * sysdeps/x86/tininess.h: This.
8536 * sysdeps/x86_64/tininess.h: Removed.
8537
df61ffb2
JM
85382012-10-30 Joseph Myers <joseph@codesourcery.com>
8539
8540 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8541 input. Use $(build-program-cmd).
8542 ($(objpfx)tst-array1-static.out): Likewise.
8543 ($(objpfx)tst-array2.out): Likewise.
8544 ($(objpfx)tst-array3.out): Likewise.
8545 ($(objpfx)tst-array4.out): Likewise.
8546 ($(objpfx)tst-array5.out): Likewise.
8547 ($(objpfx)tst-array5-static.out): Likewise.
8548
01767843
CM
85492012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8550
47cc1490
CM
8551 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8552 if defined.
8553
01767843
CM
8554 * nss/nsswitch.h (nss_interface_function): Provide new
8555 macro for use with NSS functions.
8556 * grp/initgroups.c: Use new macro.
8557 * nss/getXXbyYY.c: Likewise.
8558 * nss/getXXbyYY_r.c: Likewise.
8559 * nss/getXXent.c: Likewise.
8560 * nss/getXXent_r.c: Likewise.
8561 * sysdeps/posix/getaddrinfo.c: Likewise.
8562
8321aa97
AJ
85632012-10-30 Andreas Jaeger <aj@suse.de>
8564
8565 * po/ru.po: Update Russion translation from translation project.
8566
2a27fd6d
JM
85672012-10-30 Joseph Myers <joseph@codesourcery.com>
8568
8627a232
JM
8569 [BZ #14152]
8570 [BZ #14783]
8571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8572 result and shift together with sticky bit instead of replicating
8573 round-to-nearest rounding.
8574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8576 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8577 missing underflow exceptions.
8578 (fma_test_towardzero): Add more tests.
8579 (fma_test_downward): Likewise.
8580 (fma_test_upward): Likewise.
8581
2a27fd6d
JM
8582 [BZ #14047]
8583 * sysdeps/generic/tininess.h: New file.
8584 * sysdeps/i386/tininess.h: Likewise.
8585 * sysdeps/sh/tininess.h: Likewise.
8586 * sysdeps/x86_64/tininess.h: Likewise.
8587 * stdlib/tst-strtod-underflow.c: Likewise.
8588 * stdlib/tst-tininess.c: Likewise.
8589 * stdlib/strtod_l.c: Include <tininess.h>.
8590 (round_and_return): Do not set errno for exact underflow cases.
8591 Force an underflow exception when setting errno for underflow.
8592 Determine underflow based on rounding to normal precision if
8593 TININESS_AFTER_ROUNDING.
8594 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8595 ERANGE for exact underflow cases.
8596 * stdlib/Makefile (tests): Add tst-tininess and
8597 tst-strtod-underflow.
8598 ($(objpfx)tst-tininess): Use $(link-libm).
8599 ($(objpfx)tst-strtod-underflow): Likewise.
8600
e7170363
AJ
86012012-10-30 Andreas Jaeger <aj@suse.de>
8602
e5088dc6
AJ
8603 [BZ#14767]
8604 * elf/Makefile (tests): Remove conditional for have-initfini-array
8605 since this is now always required and the variable does not exist
8606 anymore.
8607 (tests-static): Likewise.
8608 (modules-names): Likewise.
8609
e7170363 8610 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
8611
8612 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8613 merged with constructor/destructor.
8614 (init_array): Likewise.
8615 * elf/tst-array2dep.c (fini_array): Likewise.
8616 (init_array): Likewise.
8617
60457d8a
MF
86182012-10-29 Mike Frysinger <vapier@gentoo.org>
8619
8620 * manual/message.texi: Delete @cartouche tags.
8621
8bece752
PT
86222012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8623
94ce799f
PT
8624 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8625 EOPNOTSUPP.
8626 * sysdeps/mach/hurd/fsync.c: Likewise.
8627
8bece752
PT
8628 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8629 [_POSIX_REALTIME_SIGNALS]: Change condition to
8630 [_POSIX_REALTIME_SIGNALS > 0].
8631
86ebe6b1
AJ
86322012-10-27 Andreas Jaeger <aj@suse.de>
8633
8634 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8635 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8637 [__WORDSIZE != 64]: Likewise.
8638
54399c08
L
86392012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8640
8641 * iconvdata/tst-table.sh: Remove ${SHELL}.
8642 * iconvdata/tst-tables.sh: Likewise.
8643
e2211bed
DM
86442012-10-25 David S. Miller <davem@davemloft.net>
8645
8646 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8647 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8648 of strtoull.
8649
f303f97c
DM
8650 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8651 ifunc-impl-list.c
8652 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8653 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8654 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8655 file.
8656
1e9d84cd
RM
86572012-10-25 Roland McGrath <roland@hack.frob.com>
8658
8659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8660 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8661 __getdirentries.
8662
df381762
JM
86632012-10-25 Joseph Myers <joseph@codesourcery.com>
8664 Jim Blandy <jimb@codesourcery.com>
8665
8666 * scripts/cross-test-ssh.sh: New file.
8667 * manual/install.texi (Configuring and compiling): Document use of
8668 cross-test-ssh.sh.
8669 * INSTALL: Regenerated.
8670
bff64913
PT
86712012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8672
8673 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8674 EOPNOTSUPP.
8675
25fe8932
JM
86762012-10-25 Joseph Myers <joseph@codesourcery.com>
8677
8678 * Makeconfig (run-program-prefix): Fix comment.
8679
cc1290d0
JM
86802012-10-24 Joseph Myers <joseph@codesourcery.com>
8681 Jim Blandy <jimb@codesourcery.com>
8682
8683 * Makeconfig (test-wrapper): New variable,
8684 (test-wrapper-env): Likewise.
8685 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8686 (run-built-tests): Define to yes.
8687 (run-program-prefix): Use $(test-wrapper).
8688 (built-program-cmd): Likewise.
8689 * Rules (make-test-out): Use $(test-wrapper-env) and
8690 $(host-built-program-cmd).
8691 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8692 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8693 tst-pathopt.sh.
8694 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8695 $(test-wrapper-env) to tst-rtld-load-self.sh.
8696 ($(objpfx)order2.out): Use $(test-wrapper).
8697 ($(objpfx)tst-initorder.out): Likewise.
8698 ($(objpfx)tst-initorder2.out): Likewise.
8699 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8700 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8701 (test_wrapper_env): New variable. Use it to run ld.so.
8702 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8703 Use it to run ld.so.
8704 (test_wrapper_env): Likewise.
8705 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8706 $(test-wrapper) to run-iconv-test.sh.
8707 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8708 (ICONV): Use $test_wrapper.
8709 * posix/Makefile ($(objpfx)globtest.out): Pass
8710 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8711 globtest.sh, not $(run-program-prefix).
8712 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8713 (test_wrapper): Likewise.
8714 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8715 set together with run_via_rtld_prefix.
8716 (run_program_prefix): Define in terms of test_wrapper and
8717 run_via_rtld_prefix.
8718
6e6249d0
RM
87192012-10-24 Roland McGrath <roland@hack.frob.com>
8720
8721 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8722 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8723 Targets removed.
8724
8725 [BZ #14743]
8726 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8727 Declare __clock_getres, __clock_gettime, __clock_settime,
8728 __clock_nanosleep, and __clock_getcpuclockid.
8729 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8730 Remove librt_hidden_def (clock_gettime).
8731 * sysdeps/unix/clock_gettime.c: Likewise.
8732 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8733 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8734 * rt/clock_getres.c: Define __clock_getres as an alias.
8735 * sysdeps/posix/clock_getres.c: Likewise.
8736 * rt/clock_settime.c: Define __clock_settime as an alias.
8737 * sysdeps/unix/clock_settime.c: Likewise.
8738 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8739 * sysdeps/unix/clock_nanosleep.c: Likewise.
8740 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8741 * rt/clock-compat.c: New file.
8742 * rt/Makefile (librt-routines): Add clock-compat and move
8743 $(clock-routines) to ...
8744 (routines): ... here, new variable.
8745 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8746 Don't add get_clockfreq here.
8747 * rt/Versions (libc: GLIBC_2.17): New version set.
8748 Add clock_* symbols here.
8749 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8750 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8751 (GLIBC_2.17): Add clock_* symbols.
8752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8756 Likewise.
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8758 Likewise.
8759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8763 * NEWS: Mention the move.
8764
8765 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8766 Use __open, __read, __close rather than their public counterparts.
8767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8768 (__get_clockfreq_via_cpuinfo): Likewise.
8769 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8770 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8771
8772 * config.h.in (HAVE_IFUNC): New #undef.
8773 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8774 was successful.
8775 * configure: Regenerated.
8776
0cae3f4b
MF
87772012-10-24 Mike Frysinger <vapier@gentoo.org>
8778
8779 * configure.in: Move READELF check to start of file.
8780 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8781 libc_cv_asm_gnu_indirect_function in the process.
8782 * configure: Regenerated.
8783
8175a253
MF
87842012-10-24 Mike Frysinger <vapier@gentoo.org>
8785
8786 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8787 send the output to /dev/null.
8788 (libc_cv_cc_with_libunwind): Likewise.
8789 (libc_cv_as_noexecstack): Likewise.
8790 * configure: Regenerate.
8791
0708a7d1
JM
87922012-10-24 Joseph Myers <joseph@codesourcery.com>
8793
10b40d85
JM
8794 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8795
0708a7d1
JM
8796 * posix/globtest.sh (TMPDIR): Do not set.
8797 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8798 (testout): Likewise.
8799
9fddec1a
AJ
88002012-10-24 Andreas Jaeger <aj@suse.de>
8801
3a8db22f
AJ
8802 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8803 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8804 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8805 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8806 posix_fadvise64, posix_fallocate64.
8807
9fddec1a
AJ
8808 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8809 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8810 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8811 Likewise.
8812 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8813 Likewise.
8814 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8815
8816 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8817 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8818 <bits/fcntl-linux.h>.
8819 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8820
8821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8822 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8823 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8824 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8825 [__WORDSIZE != 64]: Likewise.
8826
ebfd1bbd
JM
88272012-10-23 Joseph Myers <joseph@codesourcery.com>
8828
03ac099f
JM
8829 * Makeconfig (run-built-tests): New variable.
8830 * Rules [$(cross-compiling) = yes]: Change condition to
8831 [$(run-built-tests) = no].
8832 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8833 to [$(run-built-tests) = yes].
8834 * elf/Makefile [$(cross-compiling) = no]: Likewise
8835 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8836 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8837 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8838 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8839 * io/Makefile [$(cross-compiling) = no]: Likewise.
8840 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8841 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8842 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8843 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8844 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8845 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8846 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8847 * string/Makefile [$(cross-compiling) = no]: Likewise.
8848
ebfd1bbd
JM
8849 * posix/Makefile ($(objpfx)globtest.out): Pass
8850 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8851 $(rtld-installed-name).
8852 * posix/globtest.sh (elf_objpfx): Remove variable.
8853 (rtld_installed_name): Likewise.
8854 (library_path): Likewise.
8855 (run_program_prefix): New variable. Use for running globtest
8856 binary.
8857
166bca24
JB
88582012-10-23 Jim Blandy <jimb@codesourcery.com>
8859 Joseph Myers <joseph@codesourcery.com>
8860
8861 * Makeconfig (host-built-program-cmd): New variable.
8862 * elf/Makefile (tst-stackguard1-ARGS): Use
8863 $(host-built-program-cmd).
8864 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8865 (tst-spawn-ARGS): Likewise.
8866 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8867
88866099
JM
88682012-10-23 Joseph Myers <joseph@codesourcery.com>
8869 Jim Blandy <jimb@codesourcery.com>
8870
8871 * Makeconfig (run-via-rtld-prefix): New variable.
8872 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8873 (built-program-cmd): Likewise.
8874
b4b4c296
AJ
88752012-10-22 Andreas Jaeger <aj@suse.de>
8876
8877 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8878 __O_RSYNC if it exists, otherwise to O_SYNC.
8879
6fb54a22
JB
88802012-10-22 Jim Blandy <jimb@codesourcery.com>
8881 Joseph Myers <joseph@codesourcery.com>
8882
8883 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8884 /dev/null.
8885 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8886 from /dev/null
8887 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8888 /dev/null.
8889
481b90b9
AJ
88902012-10-22 Andreas Jaeger <aj@suse.de>
8891
2a0e2669
AJ
8892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8893 Define always.
8894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8895
76e38f9a
AJ
8896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8897 bits/fcntl-linux.h.
8898
7cd37b43
AJ
8899 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8900 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8901
481b90b9
AJ
8902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8903 to __O_LARGEFILE.
8904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8905 to __O_LARGEFILE.
8906
aba75984
JB
89072012-10-21 Jim Blandy <jimb@codesourcery.com>
8908 Joseph Myers <joseph@codesourcery.com>
8909
8910 * config.make.in (NM): New variable.
8911
88d4247f
AJ
89122012-10-21 Andreas Jaeger <aj@suse.de>
8913
8914 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8915 definitions and declarations that are provided by
8916 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8917
f2eed205
L
89182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8919
8920 [BZ #14683]
8921 * elf/Makefile (tests-static): Add tst-leaks1-static.
8922 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8923 ($(objpfx)tst-leaks1-static): New rule.
8924 ($(objpfx)tst-leaks1-static-mem): Likewise.
8925 (tst-leaks1-static-ENV): New macro.
8926 * elf/dl-open.c (dl_open_worker): Check the main application
8927 only if SHARED is defined.
8928 * elf/tst-leaks1-static.c: New file.
8929
335e6931
AJ
89302012-10-20 Andreas Jaeger <aj@suse.de>
8931
8932 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8933 generic values for Linux.
8934 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8935 and declarations that are provided by <bits/fcntl-linux.h> and
8936 include <bits/fcntl-linux.h>.
8937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8939
ac5c94d3
RM
89402012-10-20 Roland McGrath <roland@hack.frob.com>
8941
8942 * io/fcntl.h: Move include of <bits/types.h> to the top and
8943 include it unconditionally.
8944
de54b33a
L
89452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8946
228cfb01
L
8947 * wcsmbs/Makefile (tests-ifunc): New variable.
8948 (tests): Add $(tests-ifunc).
8949 * wcsmbs/test-wcschr-ifunc.c: New file.
8950 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8951 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8952 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8953 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8954 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8955
69f07e5f
L
8956 * string/Makefile (tests-ifunc): New variable.
8957 (tests): Add $(tests-ifunc).
8958 * string/test-memccpy.c (TEST_NAME): New macro.
8959 * string/test-memchr.c (TEST_NAME): Likewise.
8960 * string/test-memcmp.c (TEST_NAME): Likewise.
8961 * string/test-memcpy.c (TEST_NAME): Likewise.
8962 * string/test-memmem.c (TEST_NAME): Likewise.
8963 * string/test-memmove.c (TEST_NAME): Likewise.
8964 * string/test-memset.c (TEST_NAME): Likewise.
8965 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8966 * string/test-stpcpy.c (TEST_NAME): Likewise.
8967 * string/test-stpncpy.c (TEST_NAME): Likewise.
8968 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8969 * string/test-strcasestr.c (TEST_NAME): Likewise.
8970 * string/test-strcat.c (TEST_NAME): Likewise.
8971 * string/test-strchr.c (TEST_NAME): Likewise.
8972 * string/test-strcmp.c(TEST_NAME): Likewise.
8973 * string/test-strcpy.c (TEST_NAME): Likewise.
8974 * string/test-strcspn.c (TEST_NAME): Likewise.
8975 * string/test-strlen.c (TEST_NAME): Likewise.
8976 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8977 * string/test-strncmp.c (TEST_NAME): Likewise.
8978 * string/test-strncpy.c (TEST_NAME): Likewise.
8979 * string/test-strnlen.c (TEST_NAME): Likewise.
8980 * string/test-strpbrk.c (TEST_NAME): Likewise.
8981 * string/test-strrchr.c (TEST_NAME): Likewise.
8982 * string/test-strspn.c (TEST_NAME): Likewise.
8983 * string/test-strstr.c (TEST_NAME): Likewise.
8984 * string/test-bcopy-ifunc.c: New file.
8985 * string/test-bzero-ifunc.c: Likewise.
8986 * string/test-memccpy-ifunc.c: Likewise.
8987 * string/test-memchr-ifunc.c: Likewise.
8988 * string/test-memcmp-ifunc.c: Likewise.
8989 * string/test-memcpy-ifunc.c: Likewise.
8990 * string/test-memmem-ifunc.c: Likewise.
8991 * string/test-memmove-ifunc.c: Likewise.
8992 * string/test-mempcpy-ifunc.c: Likewise.
8993 * string/test-memset-ifunc.c: Likewise.
8994 * string/test-rawmemchr-ifunc.c: Likewise.
8995 * string/test-stpcpy-ifunc.c: Likewise.
8996 * string/test-stpncpy-ifunc.c: Likewise.
8997 * string/test-strcasecmp-ifunc.c: Likewise.
8998 * string/test-strcasestr-ifunc.c: Likewise.
8999 * string/test-strcat-ifunc.c: Likewise.
9000 * string/test-strchr-ifunc.c: Likewise.
9001 * string/test-strchrnul-ifunc.c: Likewise.
9002 * string/test-strcmp-ifunc.c: Likewise.
9003 * string/test-strcpy-ifunc.c: Likewise.
9004 * string/test-strcspn-ifunc.c: Likewise.
9005 * string/test-strlen-ifunc.c: Likewise.
9006 * string/test-strncasecmp-ifunc.c: Likewise.
9007 * string/test-strncat-ifunc.c: Likewise.
9008 * string/test-strncmp-ifunc.c: Likewise.
9009 * string/test-strncpy-ifunc.c: Likewise.
9010 * string/test-strnlen-ifunc.c: Likewise.
9011 * string/test-strpbrk-ifunc.c: Likewise.
9012 * string/test-strrchr-ifunc.c: Likewise.
9013 * string/test-strspn-ifunc.c: Likewise.
9014 * string/test-strstr-ifunc.c: Likewise.
9015
de54b33a
L
9016 * debug/Makefile (tests-ifunc): New variable.
9017 (tests): Add $(tests-ifunc).
9018 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9019 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9020 * debug/test-stpcpy_chk-ifunc.c: New file.
9021 * debug/test-strcpy_chk-ifunc.c: Likewise.
9022
88481c16
SP
90232012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9024
9025 [BZ #13601]
9026 * elf/dl-load.c (open_verify): Retry read if the entire ELF
9027 header is not read in.
9028
135948bd
JM
90292012-10-19 Joseph Myers <joseph@codesourcery.com>
9030
89f1c388
JM
9031 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
9032 script to $(SHELL) as $<. Pass $(common-objpfx) to script
9033 directly. Pass built executable to script as
9034 $(built-program-cmd).
9035 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
9036 $testprogram without using LD_LIBRARY_PATH and $ldso.
9037
e40a0d21
JM
9038 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9039 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9040 $(rtld-installed-name).
9041 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9042 (rtld_installed_name): Likewise.
9043 (library_path): Likewise.
9044 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
9045 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9046 $(run-program-prefix) to tst-tables.sh.
9047 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
9048 it to run tst-table-from and tst-table-to.
9049 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9050 Pass it to tst-table.sh.
9051 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9052 $(run-program-prefix) to tst-gettext.sh.
9053 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9054 tst-translit.sh.
9055 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9056 tst-gettext2.sh.
9057 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
9058 to run tst-gettext.
9059 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
9060 to run tst-gettext2.
9061 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
9062 to run tst-translit.
9063 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9064 $(run-program-prefix) to tst-mtrace.sh.
9065 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
9066 to run tst-mtrace.
9067 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9068 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9069 $(rtld-installed-name).
9070 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9071 (rtld_installed_name): Likewise.
9072 (run_program_prefix): New variable. Use it to run wordexp-test.
9073
728e272a
JM
9074 * Makeconfig (ARCH): Remove all definitions.
9075 (machine): Likewise.
9076 [ARCH]: Remove conditional code.
9077 [!objdir]: Give error.
9078 [!objdir] (objpfx): Remove.
9079 [!objdir] (common-objpfx): Likewise.
9080 [!objdir] (common-objdir): Likewise.
9081 * configure.in (config_makefile): Remove. Hardcode Makefile in
9082 AC_CONFIG_FILES call.
9083 * configure: Regenerated.
9084
d528cdcf
JM
9085 [BZ #13888]
9086 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9087 or TMPDIR.
9088 (testout): Likewise.
9089
135948bd
JM
9090 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9091 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9092 $(rtld-installed-name).
9093 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9094 (rtld_installed_name): Likwise.
9095 (runit): Remove function.
9096 (run_getconf): New variable, Use it for running getconf binary.
9097
38c78296
L
90982012-10-18 H.J. Lu <hongjiu.lu@intel.com>
9099
9100 [BZ #14716]
9101 * string/test-memmem.c (check_result): New function.
9102 (do_one_test): Use it.
9103 (check1): New function.
9104 (test_main): Use it.
9105
d077f65f
MT
91062012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
9107
9108 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9109
ced52c71
JM
91102012-10-18 Joseph Myers <joseph@codesourcery.com>
9111
9112 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9113 (_G_LSEEK64): Likewise.
9114 (_G_MMAP64): Likewise.
9115 (_G_FSTAT64): Likewise.
9116 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9117 (_G_LSEEK64): Likewise.
9118 (_G_MMAP64): Likewise.
9119 (_G_FSTAT64): Likewise.
9120 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9121 unconditional. Call __mmap64 directly.
9122 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9123 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
9124 __lseek64 directly.
9125 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9126 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
9127 __mmap64 directly.
9128 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9129 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
9130 __lseek64 directly.
9131 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9132 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
9133 __lseek64 directly.
9134 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9135 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
9136 __lseek64 directly.
9137 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9138 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
9139 __fxstat64 directly.
9140 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9141 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9142 unconditional.
9143 (freopen64) [!_G_OPEN64]: Remove conditional code.
9144 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9145 unconditional.
9146 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9147 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9148 unconditional.
9149 (ftello64) [!_G_LSEEK64]: Remove conditional code.
9150 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9151 unconditional.
9152 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9153 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9154 unconditional.
9155 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9156 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9157 unconditional.
9158 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9159 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9160 unconditional.
9161 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9162 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9163 unconditional.
9164 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9165
b741de23
SP
91662012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9167
9168 [BZ #12140]
9169 * manual/memory.texi (Malloc Tunable Parameters): Add note
9170 about free list pointers overwriting some perturb bytes.
9171 Wording suggested by Roland McGrath.
9172
f9b9d9c9
JM
91732012-10-17 Joseph Myers <joseph@codesourcery.com>
9174
9175 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9176 (lgamma_test): Likewise.
9177 (tgamma_test): Likewise.
9178
172a631a
FW
91792012-10-16 Florian Weimer <fweimer@redhat.com>
9180
9181 [BZ #14700]
9182 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9183 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9184
e9f37252
MK
91852012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
9186
9187 * NEWS: Mention BZ #14716.
9188 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9189 when removing AVAILABLE1_USES_J macro.
9190
d394eb74
L
91912012-10-12 H.J. Lu <hongjiu.lu@intel.com>
9192
9193 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9194 (__bswap_64): __uint64_t for unsigned 64-bit int.
9195
ca38dc17
AS
91962012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9197
9198 * include/string.h (memmem): Declare libc hidden alias.
9199 * string/memmem.c (memmem): Define libc hidden alias.
9200 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9201 __read, __close instead of open, read, close.
9202
9a387d1f
L
92032012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9204
ac49ecaf
L
9205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9206 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9207 global and hidden.
9208 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9209 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9210 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9211 Likewise.
9212 (__rawmemchr_sse2): Likewise.
9213 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9214 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9215 (__strchr_sse2): Likewise.
9216 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9217 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9218 (__strcasecmp_sse2): Likewise.
9219 (__strncasecmp_sse2): Likewise.
9220 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9221 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9222 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9223 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9224 (__strrchr_sse2): Likewise.
9225 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9226 ifunc-impl-list.c.
9227 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9228 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9229 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9230 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9231 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9232 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9233 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9234 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9235 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9236 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9237 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9238 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9239 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9240 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9241 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9242 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9243 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9244 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9245 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9246 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9247 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9248 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9249 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9250 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9251 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9252 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9253 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9254 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9255 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9256 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9257
b090e8ea
L
9258 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9259 global and hidden.
9260 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9261 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9262 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9263 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9264 Likewise.
9265 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9266 Likewise.
9267 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9268 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9269 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9270 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9271 ifunc-impl-list.c.
9272 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9273 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9274 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9275 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9276 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9277 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9278 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9279 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9280 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9281 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9282 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9283 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9284 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9285 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9286 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9287 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9288 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9289 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9290 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9291 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9292 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9293 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9294 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9295 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9296 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9297 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9298 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9299 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9300 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9301 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9302 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9303 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9304 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9305 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9306 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9307 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9308 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9309 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9310 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9311 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9312 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9313
11dd4af6
L
9314 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9315 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9316 * include/ifunc-impl-list.h: New file.
9317 * misc/ifunc-impl-list.c: Likewise.
9318 * misc/Makefile (routines): Add ifunc-impl-list.
9319 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9320 * string/test-string.h: Include <ifunc-impl-list.h>.
9321 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9322 impl_array): New variables.
9323 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9324 are defined.
9325 (test_init): Call __libc_ifunc_impl_list to initialize
9326 func_list if TEST_IFUNC and TEST_NAME are defined.
9327
9a387d1f
L
9328 * string/Makefile (strop-tests): Add bcopy and bzero.
9329 * string/test-bcopy.c: New file.
9330 * string/test-bzero.c: Likewise.
9331 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9332 defined.
9333 * string/test-memset.c: Support bzero test if TEST_BZERO is
9334 defined.
9335 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9336 __libc_memmove.
9337 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9338 __libc_memset.
9339 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9340 of memset.
9341
472371b9
JM
93422012-10-10 Joseph Myers <joseph@codesourcery.com>
9343
1e4a9536
JM
9344 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9345 * configure: Regenerated.
9346
d173d12e
JM
9347 * Makeconfig (+link-static-before-libc): Don't include
9348 $(link-static-libc).
9349
472371b9
JM
9350 * libio/libio.h (_IO_pos_t): Remove.
9351
89a3ad0b
AO
93522012-10-10 Alexandre Oliva <aoliva@redhat.com>
9353
9354 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9355 McGrath.
9356
e7451425
AO
93572012-10-10 Alexandre Oliva <aoliva@redhat.com>
9358
9359 * crypt/crypt-entry.c: Include fips-private.h.
9360 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9361 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9362 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9363 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9364
4ba74a35
AO
93652012-10-10 Alexandre Oliva <aoliva@redhat.com>
9366
9367 * crypt/crypt-private.h: Include stdbool.h.
9368 (_ufc_setup_salt_r): Return bool.
9369 * crypt/crypt-entry.c: Include errno.h.
9370 (__crypt_r): Return NULL with EINVAL for bad salt.
9371 * crypt/crypt_util.c (bad_for_salt): New.
9372 (_ufc_setup_salt_r): Check that salt is long enough and within
9373 the specified alphabet.
9374 * crypt/badsalttest.c: New file.
9375 * crypt/Makefile (tests): Add it.
9376 ($(objpfx)badsalttest): New.
9377
f96f1242
MK
93782012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9379
9380 * NEWS: Add entry for BZ #14602.
9381
0e8e0c1c
JM
93822012-10-09 Joseph Myers <joseph@codesourcery.com>
9383
9384 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9385 type-generic.
9386 * math/libm-test.inc: Update comment listing what functions and
9387 macros are tested.
9388 (isgreater_test): New function.
9389 (isgreaterequal_test): Likewise.
9390 (isless_test): Likewise.
9391 (islessequal_test): Likewise.
9392 (islessgreater_test): Likewise.
9393 (isunordered_test): Likewise.
9394 (main): Call the new functions.
9395
273edc5e
RM
93962012-10-09 Roland McGrath <roland@hack.frob.com>
9397
b8493de0
RM
9398 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9399 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9400 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9401 * sysdeps/i386/configure: Regenerated.
9402 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9403 * sysdeps/mach/configure: Regenerated.
9404 * sysdeps/mach/hurd/configure: Regenerated.
9405 * sysdeps/powerpc/configure: Regenerated.
9406 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9407 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9408 * sysdeps/s390/s390-32/configure: Regenerated.
9409 * sysdeps/s390/s390-64/configure: Regenerated.
9410 * sysdeps/sh/configure: Regenerated.
9411 * sysdeps/sparc/configure: Regenerated.
9412 * sysdeps/unix/sysv/linux/configure: Regenerated.
9413 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9414 * sysdeps/x86_64/configure: Regenerated.
9415
273edc5e
RM
9416 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9417 defined. Don't check if MAP is NULL.
9418
c8450f70
JM
94192012-10-09 Joseph Myers <joseph@codesourcery.com>
9420
9421 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9422 (_G_stat64): Likewise.
9423 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9424 (_G_stat64): Likewise.
9425 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9426 instead of struct _G_stat64.
9427 * libio/fileops.c (mmap_remap_check): Likewise.
9428 (decide_maybe_mmap): Likewise.
9429 (_IO_new_file_seekoff): Likewise.
9430 (_IO_file_stat): Likewise.
9431 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9432 _G_off64_t.
9433 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9434 instead of struct _G_stat64.
9435 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9436
57e605ba
MK
94372012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9438
9439 [BZ #14602]
9440 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9441 Replace with ...
9442 (CHECK_EOL): New macro.
9443 (two_way_short_needle): Check beginning of haystack for EOL. Use
9444 CHECK_EOL.
9445 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9446 Replace with CHECK_EOL.
9447 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9448 Replace with CHECK_EOL.
9449
ef1bb361
JM
94502012-10-08 Joseph Myers <joseph@codesourcery.com>
9451
9452 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9453 type-generic.
9454 * math/libm-test.inc: Update comment listing what functions and
9455 macros are tested.
9456 (finite_test): New function.
9457 (isinf_test): Likewise.
9458 (isnan_test): Likewise.
9459 (fpclassify_test): Test subnormal input.
9460 (isfinite_test): Likewise.
9461 (isnormal_test): Likewise.
9462 (main): Call the new functions.
9463
55f11534
JN
94642012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9465
9466 [BZ #14660]
9467 * Makerules (%.dynsym): Force C locale when running
9468 $(OBJDUMP) --dynamic-syms.
9469
1ab29350
AS
94702012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9471
9472 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9473 <stdint.h>.
9474
f1ecb7ef
DM
94752012-10-06 David S. Miller <davem@davemloft.net>
9476
9477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9478 upper 32-bits of the length value in %o2 since we use branch-on-register
9479 tests which consider the entire 64-bit register.
9480
5d41d91a
L
94812012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9482
9483 * string/test-strstr.c (check2): Add a test for page boundary.
9484
3baddb72
DM
94852012-10-05 David S. Miller <davem@davemloft.net>
9486
9487 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9488 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9489 file.
9490 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9491 sysdep_routines.
9492 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9493 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9494 and bzero when HWCAP_SPARC_CRYPTO is present.
9495
9cee5585
L
94962012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9497
d7e0dab9
L
9498 [BZ #14602]
9499 * string/test-strstr.c (check2): New function.
9500 (test_main): Call check2.
9501
03759f47
L
9502 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9503 and bug-strchr1.
9504 * string/bug-strcasestr1.c (do_test): Moved to ...
9505 * string/test-strcasestr.c (check1): Here. New function.
9506 (do_one_test): Break out result checking code into ...
9507 (check_result): This. New function.
9508 (do_one_test): Call check_result.
9509 (test_main): Call check1.
9510 * string/bug-strchr1.c (do_test): Moved to ...
9511 * string/test-strchr.c (check1): Here. New function.
9512 (do_one_test): Break out result checking code into ...
9513 (check_result): This. New function.
9514 (do_one_test): Call check_result.
9515 (test_main): Call check1.
9516 * string/bug-strstr1.c (main): Moved to ...
046f153e 9517 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9518 (do_one_test): Break out result checking code into ...
9519 (check_result): This. New function.
9520 (do_one_test): Call check_result.
9521 (test_main): Call check1.
9522 * string/bug-strcasestr1.c: Removed.
9523 * string/bug-strchr1.c: Likewise.
9524 * string/bug-strstr1.c: Likewise.
9525
53cea63e
L
9526 * elf/Makefile (dl-routines): Add hwcaps.
9527 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9528 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9529 (_dl_important_hwcaps): Moved to ...
9530 * elf/dl-hwcaps.c: Here. New file.
9531 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9532
9cee5585 9533 [BZ #14557]
bb859b06
L
9534 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9535 if IS_IN_rtld isn't defined.
9536
9cee5585
L
9537 * elf/dl-support.c (_dl_sysinfo_map): New.
9538 Include "get-dynamic-info.h" and "setup-vdso.h".
9539 (_dl_non_dynamic_init): Call setup_vdso.
9540 * elf/dynamic-link.h: Don't include <assert.h>.
9541 (elf_get_dynamic_info): Moved to ...
9542 * elf/get-dynamic-info.h: Here. New file.
9543 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9544 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9545 * elf/setup-vdso.h: Here. New file.
9546 * elf/rtld.c: Include "setup-vdso.h".
9547 (dl_main): Call setup_vdso.
9548
23c31b76
JM
95492012-10-05 Joseph Myers <joseph@codesourcery.com>
9550
28234b07
JM
9551 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9552 creal in comment listing functions tested. List finite, isinf,
9553 isnan, isless, islessequal, isgreater, isgreaterequal,
9554 islessgreater, isunordered, lgamma_r and pow10 as functions and
9555 macros not tested. Mention which functions not tested are aliases
9556 for other functions. Fix typo. Note that signs of NaNs are not
9557 tested.
9558
23c31b76
JM
9559 * scripts/config.guess: Update from config.git.
9560 * scripts/config.sub: Likewise.
9561
9043e228
RM
95622012-10-04 Roland McGrath <roland@hack.frob.com>
9563
9564 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9565 * misc/madvise.c (madvise): Renamed to __madvise.
9566 Make madvise a weak alias.
9567 * include/sys/mman.h: Declare __madvise.
9568 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9569 * sysdeps/unix/syscalls.list
9570 (madvise): Make __madvise the strong name, and madvise a weak alias.
9571 * sysdeps/unix/sysv/linux/syscalls.list
9572 (madvise, mmap): Remove redundant entries.
9573 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9574 * malloc/malloc.c (mtrim): Likewise.
9575 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9576
f57f8055
RM
95772012-10-03 Roland McGrath <roland@hack.frob.com>
9578
9579 * sysdeps/mach/hurd/dl-cache.c: File removed.
9580 * config.h.in (USE_LDCONFIG): New #undef.
9581 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9582 * configure: Regenerated.
9583 * elf/Makefile (dl-routines): Add dl-cache only under
9584 [$(use-ldconfig) = yes].
9585 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9586 cache on [USE_LDCONFIG].
9587 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9588 [USE_LDCONFIG].
9589 * elf/rtld.c (dl_main): Likewise.
9590
5bb0c10a
PT
95912012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9592
9593 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9594 _SC_LEVEL4_CACHE_LINESIZE.
9595
010188c6
RM
95962012-10-03 Roland McGrath <roland@hack.frob.com>
9597
9598 * sysdeps/unix/bsd/confstr.h: File removed.
9599
b6c5ec07
AO
96002012-10-02 Alexandre Oliva <aoliva@redhat.com>
9601
9602 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9603 sys/sdt-config.h.
9604
408223d4
RM
96052012-10-02 Roland McGrath <roland@hack.frob.com>
9606
9607 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9608 Make 'mapoff' field ElfW(Off) rather than off_t.
9609
bb9510dc
DL
96102012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9611
fc997c6e
DL
9612 * nscd/Makefile: Remove nscd-cflags and all its users.
9613 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9614 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9615
bb9510dc
DL
9616 [BZ #10631]
9617 * malloc.c (malloc_printerr): Clarify error message.
9618
05699367
L
96192012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9620
9621 [BZ #14648]
9622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9623 Set bit_FMA_Usable if FMA is supported.
9624 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9625 macro.
9626 (bit_FMA4_Usable): Updated.
9627 (index_FMA_Usable): New macro.
9628 (CPUID_FMA): Likewise
9629 (HAS_FMA): Defined with bit_FMA_Usable.
9630
51367701
RM
96312012-10-01 Roland McGrath <roland@hack.frob.com>
9632
9633 * bits/types.h (__swblk_t): Type removed.
9634 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9635 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9636 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9637 (__SWBLK_T_TYPE): Likewise.
9638 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9639 (__SWBLK_T_TYPE): Likewise.
9640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9641 (__SWBLK_T_TYPE): Likewise.
9642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9643 (__SWBLK_T_TYPE): Likewise.
9644
4d57bf63 96452012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 9646 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
9647
9648 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9649 (xdr_mapname): Use YPMAXMAP as maxsize.
9650 (xdr_peername): Use YPMAXPEER as maxsize.
9651 (xdr_keydat): Use YPAXRECORD as maxsize.
9652 (xdr_valdat): Use YPMAXRECORD as maxsize.
9653
93c65d43
RM
96542012-10-01 Roland McGrath <roland@hack.frob.com>
9655
497a03d6
RM
9656 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9657
93c65d43
RM
9658 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9659 * csu/init-first.c: ... here.
9660 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9661 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9662 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9663 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9664 * sysdeps/i386/init-first.c: File removed.
9665 * sysdeps/sh/init-first.c: File removed.
9666
bec749fd
JM
96672012-10-01 Joseph Myers <joseph@codesourcery.com>
9668
9669 [BZ #14645]
9670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9671 if x * y might underflow to zero and z is zero.
9672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9673 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9674 * math/libm-test.inc (min_subnorm_value): New variable.
9675 (fma_test): Add more tests.
9676 (fma_test_towardzero): Likewise.
9677 (fma_test_downward): Likewise
9678 (fma_test_upward): Likewise.
9679 (initialize): Set min_subnorm_value.
9680
8ec5b013
JM
96812012-09-29 Joseph Myers <joseph@codesourcery.com>
9682
9683 [BZ #14638]
9684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9685 0 + 0.
9686 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9687 mode for addition resulting in exact zero.
9688 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9690 exact 0 + 0.
9691 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9692 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9693 * math/libm-test.inc (fma_test): Add more tests.
9694 (fma_test_towardzero): New function.
9695 (fma_test_downward): Likewise.
9696 (fma_test_upward): Likewise.
9697 (main): Call the new functions.
9698
b1fa802e
DM
96992012-09-28 David S. Miller <davem@davemloft.net>
9700
9701 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9702
d3b9fd9e
RM
97032012-09-28 Roland McGrath <roland@hack.frob.com>
9704
ea4d37b3
RM
9705 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9706 instead of SIGALRM.
9707
ac51c949
RM
9708 * sysdeps/gnu/_G_config.h: Moved to ...
9709 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9710 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9711 * sysdeps/generic/_G_config.h: ... here.
9712
28c195f7
RM
9713 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9714
848917f9
RM
9715 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9716
6bacf05b
RM
9717 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9718 Conditionalize target on [libnss_test1.so-version].
9719
91363dbb
RM
9720 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9721
cc87f7d8
RM
9722 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9723 (elfobjdir): Move out of conditionals.
9724
b1c608fe
RM
9725 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9726 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9727 (__nss_lookup_function): Conditionalize label remove_from_tree on
9728 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 9729
1d9a6d96
DM
97302012-09-28 David S. Miller <davem@davemloft.net>
9731
9732 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9733 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9734 file.
9735 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9736 sysdep_routines.
9737 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9738 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9739 when HWCAP_SPARC_CRYPTO is present.
9740
72581615
PT
97412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9742
9743 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9744
715a900c
JL
97452012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9746
9747 [BZ #6530]
9748 * stdio-common/vfprintf.c (process_string_arg): Revert
9749 2000-07-22 change.
9750
97512011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9752
9753 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9754 for testcase.
9755 * stdio-common/tst-sprintf.c: Include <locale.h>
9756 (main): Test sprintf's handling of incomplete multibyte
9757 characters.
9758
9bac1d86
L
97592012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9760
9761 * elf/dl-runtime.c (VERSYMIDX): Removed.
9762 * elf/dl-version.c (VERSYMIDX): Likewise.
9763 * elf/do-rel.h (VERSYMIDX): Likewise.
9764 (VALIDX): Likewise.
9765 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9766 * elf/rtld.c (VALIDX): Likewise.
9767 (ADDRIDX): Likewise.
9bac1d86
L
9768 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9769 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9770 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9771 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9772 (VALIDX): Likewise.
9773 (ADDRIDX): Likewise.
9bac1d86 9774
b31606c0
PT
97752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9776
9777 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9778
11541177
JL
97792012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9780
9781 [BZ #11438]
9782 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9783 to global scope.
9784 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9785 addresses are in the same scope as 192.0.2/24.
9786 * posix/gai.conf: Document new scope table defaults.
9787
adb26fae
SP
97882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9789
9790 [BZ #5298]
9791 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9792 for ftell. Compute offsets from write pointers instead.
9793 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9794
4573c6b0
SP
97952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9796
9797 [BZ #14543]
9798 * libio/Makefile (tests): New test case tst-fseek.
9799 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9800 combination works in wide mode.
9801 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9802 state when the external buffer state changes.
9803
aa9bbfe6
DM
98042012-09-27 David S. Miller <davem@davemloft.net>
9805
9806 [BZ #14376]
9807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9808 pass reloc->r_addend in as the 'high' argument to
9809 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9810
784421e7
DM
9811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9812
c39bc8b8
PT
98132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9814
9815 * rt/tst-aio2.c: Include <pthread.h>.
9816 * rt/tst-aio3.c: Likewise.
9817
1ccc2399
SE
98182012-09-27 Steve Ellcey <sellcey@mips.com>
9819
9820 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9821
31ed4153
L
98222012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9823
25f5f885
L
9824 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9825 contents on [SHARED].
31ed4153 9826
b7bfe116
MP
98272012-09-26 Marek Polacek <polacek@redhat.com>
9828
9829 [BZ #14530]
9830 [BZ #13741]
9831 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9832 for C++ and GCC <4.3 as well as for non GCC compilers.
9833
43c4edba
MT
98342012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9835
9836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9837
6a1bf82f
RM
98382012-09-25 Roland McGrath <roland@hack.frob.com>
9839
9840 * Makefile.in (all, install): Declare with .PHONY.
9841 Reported by Michael Hope <michael.hope@linaro.org>.
9842
8ad11b9a
TMQMF
98432012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9844
9845 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9846 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9847 system header.
9848 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9849 Likewise.
9850 (sydep_routines): Add the new and the internal functions.
9851 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9852 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9854 (GLIBC_2.17): Add the new function.
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9856 (GLIBC_2.17): Likewise.
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9858 (GLIBC_2.17): Likewise.
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9860 (GLIBC_2.17): Likewise.
9861 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9862
7e2fca8d
AM
98632012-09-25 Alan Modra <amodra@gmail.com>
9864
9865 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9866 Add release barrier before setting once_control to say
9867 initialisation is done. Add hints on lwarx. Use macro in
9868 place of isync.
9869 (clear_once_control): Add release barrier.
9870
b87c4b24
JM
98712012-09-25 Joseph Myers <joseph@codesourcery.com>
9872
d032e0d2
JM
9873 [BZ #13629]
9874 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9875 specially.
9876 * math/s_clog10.c (__clog10): Likewise.
9877 * math/s_clog10f.c (__clog10f): Likewise.
9878 * math/s_clog10l.c (__clog10l): Likewise.
9879 * math/s_clogf.c (__clogf): Likewise.
9880 * math/s_clogl.c (__clogl): Likewise.
9881 * math/Makefile (libm-calls): Add x2y2m1.
9882 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9883 (__x2y2m1): Likewise.
9884 (__x2y2m1l): Likewise.
9885 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9886 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9889 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9890 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9891 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9892 * sysdeps/i386/fpu/libm-test-ulps: Update.
9893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9894
b87c4b24
JM
9895 [BZ #14621]
9896 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9897 int as type of variable DEPTH.
9898 (glob): Use size_t instead of int as type of variables NEWCOUNT
9899 and OLD_PATHC.
9900
6d3bf199
LD
99012012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9902
22bf5c17
LD
9903 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9904 Add s_sincosf-sse2.
9905 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9906 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9907 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9908 macros for using routine as __sincosf_ia32.
9909 Use macro for function declaration and weak_alias.
9910 * sysdeps/i386/fpu/libm-test-ulps: Update.
9911
9912 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9914
9915 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9916 subnormal argument.
9917 * math/s_cexpf.c (__cexpf): Likewise.
9918 * math/s_csinf.c (__csinf): Likewise.
9919 * math/s_csinhf.c (__csinhf): Likewise.
9920 * math/s_ctanf.c (__ctanf): Likewise.
9921 * math/s_ctanhf.c (__ctanhf): Likewise.
9922 * math/s_ccosh.c (__ccoshf): Likewise.
9923 * math/s_cexp.c (__cexpl): Likewise.
9924 * math/s_csin.c (__csin): Likewise.
9925 * math/s_csinh.c (__csinh): Likewise.
9926 * math/s_ctan.c (__ctan): Likewise.
9927 * math/s_ctanh.c (ctanh): Likewise.
9928 * math/s_ccoshl.c (__ccoshl): Likewise.
9929 * math/s_cexpl.c (__cexpl): Likewise.
9930 * math/s_csinl.c (__csinl): Likewise.
9931 * math/s_csinhl.c (__csinhl): Likewise.
9932 * math/s_ctanl.c (__ctanl): Likewise.
9933 * math/s_ctanhl.c (__ctanhl): Likewise.
9934
203e5603
JM
99352012-09-25 Joseph Myers <joseph@codesourcery.com>
9936
9937 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9938 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9939 (_IO_off_t): Define to __off_t, not _G_off_t.
9940 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9941 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9942 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9943 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9944 type of __dummy and __dummy2 fields.
9945 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9946 (_G_ssize_t): Likewise.
9947 (_G_off_t): Likewise.
9948 (_G_pid_t): Likewise.
9949 (_G_uid_t): Likewise.
9950 (_G_wchar_t): Likewise.
9951 (_G_wint_t): Likewise.
9952 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9953 (_G_ssize_t): Likewise.
9954 (_G_off_t): Likewise.
9955 (_G_pid_t): Likewise.
9956 (_G_uid_t): Likewise.
9957 (_G_wchar_t): Likewise.
9958 (_G_wint_t): Likewise.
9959 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9960 (_G_ssize_t): Likewise.
9961 (_G_off_t): Likewise.
9962 (_G_pid_t): Likewise.
9963 (_G_uid_t): Likewise.
9964 (_G_wchar_t): Likewise.
9965 (_G_wint_t): Likewise.
9966
9fab36eb
SP
99672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9968
9969 * malloc/arena.c: Include malloc-sysdep.h.
9970 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9971 is sufficient to shrink the heap or an unmap is needed.
9972 * sysdeps/generic/malloc-sysdep.h: New file. Define
9973 new function check_may_shrink_heap.
9974 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9975 new function check_may_shrink_heap.
9976
2b4f00d1
SP
99772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9978
9979 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9980 comments.
9981
9a9028b1
DL
99822012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9983
57c69bef
DL
9984 * catgets/test-gencat.sh: Add "set -e".
9985 * elf/tst-pathopt.sh: Likewise.
9986 * grp/tst_fgetgrent.sh: Likewise.
9987 * iconvdata/run-iconv-test.sh: Likewise.
9988 * intl/tst-gettext.sh: Likewise.
9989 * intl/tst-gettext2.sh: Likewise.
9990 * intl/tst-gettext4.sh: Likewise.
9991 * intl/tst-gettext6.sh: Likewise.
9992 * intl/tst-translit.sh: Likewise.
9993 * io/ftwtest-sh: Likewise.
9994 * libio/test-freopen.sh: Likewise.
9995 * malloc/tst-mtrace.sh: Likewise.
9996 * posix/globtest.sh: Likewise.
9997 * posix/tst-getconf.sh: Likewise.
9998 * posix/wordexp-tst.sh: Likewise.
9999 * stdio-common/tst-printf.sh: Likewise.
10000 * stdio-common/tst-unbputc.sh: Likewise.
10001 * stdlib/tst-fmtmsg.sh: Likewise.
10002 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10003 * catgets/Makefile: Do not specify -e option when running
10004 testsuite shell scripts.
10005 * elf/Makefile: Likewise.
10006 * grp/Makefile: Likewise.
10007 * iconvdata/Makefile: Likewise.
10008 * intl/Makefile: Likewise.
10009 * io/Makefile: Likewise.
10010 * libio/Makefile: Likewise.
10011 * malloc/Makefile: Likewise.
10012 * posix/Makefile: Likewise.
10013 * stdio-common/Makefile: Likewise.
10014 * stdlib/Makefile: Likewise.
10015 * sysdeps/x86_64/Makefile: Likewise.
10016
9a9028b1
DL
10017 * io/ftwtest-sh: Add copyright header.
10018 * posix/globtest.sh: Likewise.
10019 * posix/tst-getconf.sh: Likewise.
10020 * posix/wordexp-tst.sh: Likewise.
10021 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10022
ced6f16e
L
100232012-09-24 H.J. Lu <hongjiu.lu@intel.com>
10024
94b32c39
L
10025 [BZ #13679]
10026 * Makeconfig (+link): Defined as $(+link-static) if
10027 $(build-shared) isn't yes.
10028 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10029 isn't yes.
10030 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10031
189e935b
L
10032 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10033
ced6f16e
L
10034 [BZ #14562]
10035 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10036 new chunk size with MALLOC_ALIGN_MASK.
10037
a9f8e53a
JM
100382012-09-24 Joseph Myers <joseph@codesourcery.com>
10039
10040 [BZ #5044]
10041 * stdio-common/printf_fphex.c: Include <stdbool.h> and
10042 <rounding-mode.h>.
10043 (__printf_fphex): Determine rounding using get_rounding_mode and
10044 round_away.
10045 * stdio-common/tst-printf-round.c (struct hex_test): New
10046 structure.
10047 (hex_tests): New variable.
10048 (test_hex_in_one_mode): New function.
10049 (do_test): Also run tests for hex float output.
10050
43153109
JM
100512012-09-21 Joseph Myers <joseph@codesourcery.com>
10052
10053 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10054 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10055 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10056 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10057 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10058 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10059 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10060 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10061
8a26625d
JM
100622012-09-20 Joseph Myers <joseph@codesourcery.com>
10063
10064 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10065 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10066 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10067 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10068
f3fd569c
DL
100692012-09-19 Dmitry V. Levin <ldv@altlinux.org>
10070
10071 [BZ #14579]
10072 * elf/rtld.c (dl_main): Limit the check for self loading to normal
10073 mode only.
10074 * elf/tst-rtld-load-self.sh: New test.
10075 * elf/Makefile: Run it.
10076
63bbedd4
JM
100772012-09-18 Joseph Myers <joseph@codesourcery.com>
10078
10079 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10080 (tst-writev-ENV): Remove.
10081 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10082
626f8b6a
CM
100832012-09-17 Chris Metcalf <cmetcalf@tilera.com>
10084
10085 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10086
b7aaa4d6
JM
100872012-09-17 Joseph Myers <joseph@codesourcery.com>
10088
10089 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10090 unconditional.
10091 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10092 Likewise.
10093 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10094 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10095 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10096 Likewise.
10097
65513990
L
100982012-09-14 H.J. Lu <hongjiu.lu@intel.com>
10099
10100 [BZ #14587]
10101 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10102 * config.make.in (have-cpp-asm-debuginfo): Removed.
10103 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10104 * configure: Regenerated.
10105
784761be
JM
101062012-09-14 Joseph Myers <joseph@codesourcery.com>
10107
10108 [BZ #5044]
10109 * stdio-common/printf_fp.c: Include <stdbool.h> and
10110 <rounding-mode.h>.
10111 (___printf_fp): Determine rounding using get_rounding_mode and
10112 round_away.
10113 * stdio-common/tst-printf-round.c: New file.
10114 * stdio-common/Makefile (tests): Add tst-printf-round.
10115 (link-libm): New variable.
10116 ($(objpfx)tst-printf-round): Depend in $(link-libm).
10117
9503345f
L
101182012-09-13 H.J. Lu <hongjiu.lu@intel.com>
10119
10120 [BZ #14576]
10121 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10122 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10123 Likewise.
10124 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10125 Likewise.
10126
ad35fc00
JM
101272012-09-13 Joseph Myers <joseph@codesourcery.com>
10128
10129 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10130 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10131 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10132 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10133
6c9b0f68
JM
101342012-09-12 Joseph Myers <joseph@codesourcery.com>
10135
10136 [BZ #14518]
10137 * include/rounding-mode.h: New file.
10138 * sysdeps/generic/get-rounding-mode.h: Likewise.
10139 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10140 * stdlib/strtod_l.c: Include <rounding-mode.h>.
10141 (MAX_VALUE): New macro.
10142 (MIN_VALUE): Likewise.
10143 (overflow_value): New function.
10144 (underflow_value): Likewise.
10145 (round_and_return): Use overflow_value and underflow_value to
10146 determine return values in overflow and underflow cases. Use
10147 round_away to determine rounding depending on rounding mode.
10148 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10149 determine return values in overflow and underflow cases.
10150 * stdlib/tst-strtod-round.c: Include <fenv.h>.
10151 (struct test_results): New structure.
10152 (struct test): Use struct test_results to store expected results
10153 for all rounding modes.
10154 (TEST): Include expected results for all rounding modes.
10155 (test_in_one_mode): New function.
10156 (do_test): Use test_in_one_mode to compute and check results.
10157 Check results for all rounding modes.
10158 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10159 $(link-libm).
10160
19fcedd5
AM
101612012-12-09 Allan McRae <allan@archlinux.org>
10162
1e9d84cd 10163 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 10164
8bbfd2f1
JM
101652012-09-11 Joseph Myers <joseph@codesourcery.com>
10166
10167 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10168 (_G_int32_t): Likewise.
10169 (_G_uint16_t): Likewise.
10170 (_G_uint32_t): Likewise.
10171 (_G_HAVE_BOOL): Likewise.
10172 (_G_HAVE_ATEXIT): Likewise.
10173 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10174 (_G_HAVE_IO_FILE_OPEN): Likewise.
10175 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10176 (_G_int32_t): Likewise.
10177 (_G_uint16_t): Likewise.
10178 (_G_uint32_t): Likewise.
10179 (_G_HAVE_BOOL): Likewise.
10180 (_G_HAVE_ATEXIT): Likewise.
10181 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10182 (_G_HAVE_IO_FILE_OPEN): Likewise.
10183 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10184 (_G_int32_t): Likewise.
10185 (_G_uint16_t): Likewise.
10186 (_G_uint32_t): Likewise.
10187 (_G_HAVE_BOOL): Likewise.
10188 (_G_HAVE_ATEXIT): Likewise.
10189 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10190 (_G_HAVE_IO_FILE_OPEN): Likewise.
10191
b1dc5912
L
101922012-09-11 H.J. Lu <hongjiu.lu@intel.com>
10193
10194 * csu/libc-tls.c: Update copyright years.
10195
0e886ef9
JM
101962012-09-10 Joseph Myers <joseph@codesourcery.com>
10197
28361c5e
JM
10198 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10199 [!_G_USING_THUNKS]: Remove conditional code.
10200 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10201 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10202
0e886ef9
JM
10203 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10204 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10205 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10206 (_G_VTABLE_LABEL_PREFIX): Likewise.
10207 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10208 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10209 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10210 (_G_VTABLE_LABEL_PREFIX): Likewise.
10211 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10212 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10213 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10214 (_G_VTABLE_LABEL_PREFIX): Likewise.
10215 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10216
bcba7aa2
L
102172012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10218
10219 * libio/Makefile: Include ../Makeconfig before tests.
10220 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10221 only if $(build-shared) is yes.
10222
06585ee8
L
10223 * iconv/gconv_db.c: Update copyright years.
10224
80ccd52c
LD
102252012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10226
10227 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10228 unwind info if defined PIC. Fix special cases description.
10229 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10230
10231 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10232 DP_HI_MASK entry.
10233 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10234
691bc9c1
L
102352012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10236
3d9b46b3
L
10237 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10238
de2139a9
L
10239 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10240 is NULL.
10241
5ca78dd0
L
10242 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10243 (LDLIBS-tst-chk4): This.
10244 (LDFLAGS-tst-chk5): Renamed to ...
10245 (LDLIBS-tst-chk5): This.
10246 (LDFLAGS-tst-chk6): Renamed to ...
10247 (LDLIBS-tst-chk6): This.
10248 (LDFLAGS-tst-lfschk4): Renamed to ...
10249 (LDLIBS-tst-lfschk4): This.
10250 (LDFLAGS-tst-lfschk5): Renamed to ...
10251 (LDLIBS-tst-lfschk5): This.
10252 (LDFLAGS-tst-lfschk6): Renamed to ...
10253 (LDLIBS-tst-lfschk6): This.
10254
691bc9c1
L
10255 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10256 on $(common-objpfx)soversions.mk.
10257
65cafb1c
JM
102582012-09-07 Joseph Myers <joseph@codesourcery.com>
10259
10260 [BZ #10014]
10261 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10262 example host name.
10263
c78ab094
SP
102642012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10265
10266 * malloc/arena.c (arena_get_retry): New function that gets
10267 another arena for the caller to try its request on.
10268 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10269 current arena cannot fulfill the request.
10270 (__libc_memalign): Likewise.
10271 (__libc_memalign): Likewise.
10272 (__libc_pvalloc): Likewise.
10273 (__libc_calloc): Likewise.
10274
01f49f59
JT
102752012-09-05 John Tobey <john.tobey@gmail.com>
10276
10277 [BZ #13542]
10278 * manual/arith.texi (Operations on Complex): Fix description
10279 of carg branch cut.
10280
4c23fed5
JM
102812012-09-06 Joseph Myers <joseph@codesourcery.com>
10282
1d3c8572
JM
10283 [BZ #10014]
10284 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10285 host name.
10286
4c23fed5
JM
10287 [BZ #10038]
10288 * manual/memory.texi (Memory): Make order of menu items match
10289 order of sections.
10290
04570aaa
L
102912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10292
10293 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10294 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10295 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10296
b80af2f4
L
102972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10298
10299 * csu/libc-tls.c (static_dtv): Renamed to ...
10300 (_dl_static_dtv): This. Make it global.
10301 (_dl_initial_dtv): Removed.
10302 (__libc_setup_tls): Updated.
10303 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10304 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10305 DL_INITIAL_DTV.
10306
2abe9f15
PM
103072012-09-06 Petr Machata <pmachata@redhat.com>
10308
10309 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10310 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10311 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10312 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10313
0948c3af
L
103142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 [BZ #14545]
10317 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10318 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10319 freeing dtv[-1].
10320
a5055ad1
L
103212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 [BZ #14544]
10324 * Makeconfig (link-static-before-libc): Replace $(+prector)
10325 with $(+prectorT).
10326 (link-static-after-libc): Replace $(+postctor) with
10327 $(+postctorT).
10328 (link-bounded): Replace $(+prector)/$(+postctor) with
10329 $(+prectorT)/$(+postctorT).
10330 (+prectorT): New macro.
10331 (+postctorT): Likewise.
10332
ed8c2ecd
JM
103332012-09-06 Joseph Myers <joseph@codesourcery.com>
10334
10335 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10336 (round_str): Handle values above the maximum for IBM long double
10337 as inexact.
10338 * stdlib/tst-strtod-round.c (tests): Regenerated.
10339
14c996c8
AK
103402012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10341
10342 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10343 assembler flag.
10344 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10345 zarch_nohighgprs around the zarch optimized routines.
10346 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10347 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10349 for zarch.
10350
430d6ce6
DM
103512012-09-05 David S. Miller <davem@davemloft.net>
10352
10353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10354
ff04dda4
DM
10355 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10356 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10357 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10358 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10359 entries.
10360
24d4e01b
AO
103612012-09-05 Alexandre Oliva <aoliva@redhat.com>
10362
10363 * malloc/arena.c: Fold copyright years.
10364 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10365
61d58174
AO
103662012-09-05 Alexandre Oliva <aoliva@redhat.com>
10367
10368 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10369
20196a5e
AO
103702012-09-05 Alexandre Oliva <aoliva@redhat.com>
10371
10372 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10373
5c447383
AO
103742012-09-05 Alexandre Oliva <aoliva@redhat.com>
10375
10376 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10377 change internal state upon failure.
10378
fad64255
AO
103792012-09-05 Alexandre Oliva <aoliva@redhat.com>
10380
10381 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10382 * malloc/memusage.c (mmap): Likewise.
10383 (mmap64, mremap): Likewise. Adjust name in comment.
10384
1ffb8c90
SP
103852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10386
10387 * libio/fileops.c: Fix typos in comments.
10388 * libio/oldfileops.c: Likewise.
10389 * libio/wfileops.c: Likewise.
10390
6ef9cc37
SP
103912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10392
10393 [BZ #1349]
10394 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10395 (tst-malloc-usable-ENV): Set environment for test case.
10396 * malloc/hooks.c (malloc_check_get_size): New function to get
10397 requested size.
10398 * malloc/malloc.c (musable): Use malloc_check_get_size.
10399 * malloc/tst-malloc-usable.c: New test case.
10400
4d038ae3
AS
104012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10402
10403 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10404
c4e85184
AM
104052012-09-05 Allan McRae <allan@archlinux.org>
10406
b9dafc56 10407 [BZ #13966]
c4e85184
AM
10408 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10409 determine header location.
10410 * configure: Regenerated.
10411
e1343020
AS
104122012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10413
10414 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10415 float format.
10416 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10417 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10418 format.
e1343020
AS
10419 (test): Regenerate.
10420
0a9f1987
DM
104212012-09-04 David S. Miller <davem@davemloft.net>
10422
10423 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10424 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10425 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10426
29237804
FW
104272012-09-04 Florian Weimer <fweimer@redhat.com>
10428
10429 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10430 failures.
10431
edb3cb88
FW
10432 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10433
60160d83
JM
104342012-09-04 Joseph Myers <joseph@codesourcery.com>
10435
10436 [BZ #9914]
10437 * libio/iogetdelim.c: Include <limits.h>.
10438 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10439 + len + 1 would overflow.
10440
bcd6c8dc
AJ
104412012-09-03 Andreas Jaeger <aj@suse.de>
10442
10443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10444 * sysdeps/i386/fpu/libm-test-ulps: Update.
10445
4ffffbd2
LD
104462012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10447
10448 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10449 Add s_sinf-sse2, s_conf-sse2.
10450
10451 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10452 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10453 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10454 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10455
10456 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10457 for using routine as __sinf_ia32.
10458 Use macro for function declaration and weak_alias.
10459 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10460 for using routine as __cosf_ia32.
10461 Use macro for function declaration and weak_alias.
10462
10463 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10464 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10465
10466 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10467 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10469
10470 * math/libm-test.inc (cos_test): Add more test cases.
10471 (sin_test): Likewise.
10472 (sincos_test): Likewise.
10473
511fa286
AK
104742012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10475
10476 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10477 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10478 hidden.
10479 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10480
5f30cfec
L
104812012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10482
10483 [BZ #14538]
10484 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10485 first element of the GOT.
10486 (elf_machine_load_address): Return the difference between
10487 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10488
0786794f
AM
104892012-09-01 Allan McRae <allan@archlinux.org>
10490
5f30cfec
L
10491 [BZ #13412]
10492 * configure.in (AWK): Require gawk version 3.0 or later.
10493 * configure: Regenerated.
0786794f 10494
26889eac
JM
104952012-09-01 Joseph Myers <joseph@codesourcery.com>
10496
10497 * sysdeps/unix/sysv/linux/kernel-features.h
10498 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10499 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10500 [__NR_clock_getres]: Make code unconditional.
10501 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10502 (clock_getcpuclockid): Remove code left unreachable by removal of
10503 conditionals.
10504 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10505 code unconditional.
10506 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10507 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10508 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10509 Make code unconditional.
10510 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10511 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10512 * sysdeps/unix/sysv/linux/clock_settime.c
10513 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10514 conditional code.
10515 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10516 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10517
d22e28b0
L
105182012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10519
10520 [BZ #14476]
10521 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10522 scripts/test-installation.pl.
10523
10524 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10525 and $ld_so_version if it is set.
10526
050af9c4
SP
105272012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10528
10529 [BZ #14516]
10530 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10531 failure if reading from procfs failed.
10532 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10533
ad845c0b
JM
105342012-08-27 Joseph Myers <joseph@codesourcery.com>
10535
10536 * sysdeps/unix/sysv/linux/kernel-features.h
10537 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10538 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10539 Remove conditional code.
10540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10541 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10542 Remove conditional code.
10543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10544 * sysdeps/unix/sysv/linux/i386/fxstat.c
10545 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10546 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10547 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10548 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10549 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10550 * sysdeps/unix/sysv/linux/i386/lxstat.c
10551 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10552 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10553 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10554 Remove conditional code.
10555 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10556 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10557 Remove conditional code.
10558 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10559 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10560 <kernel-features.h>.
10561 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10562 Remove.
10563 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10564 Remove conditional code.
10565 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10566 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10567 Remove conditional.
10568
5dbf56af
MF
105692012-08-27 Mike Frysinger <vapier@gentoo.org>
10570
10571 [BZ #5400]
10572 * NEWS: Add fixed bug number.
10573
d6e70f43
JM
105742012-08-27 Joseph Myers <joseph@codesourcery.com>
10575
7efb4737
JM
10576 [BZ #14519]
10577 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10578 underflowing exponent in case of negative sign.
10579 * stdlib/tst-strtod-round-data: Add more tests.
10580 * stdlib/tst-strtod-round.c (tests): Regenerated.
10581
af92131a
JM
10582 [BZ #3479]
10583 * stdlib/strtod_l.c (NDIG): Remove.
10584 (HEXNDIG): Likewise.
10585 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10586 smallest representable value.
10587 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10588 lie within an exact representation of 1/2 ulp of the result.
10589 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10590 unconditionally.
10591 (TENS_P9_IDX): Define unconditionally.
10592 (TENS_P9_SIZE): Likewise.
10593 (TENS_P10_IDX): Likewise.
10594 (TENS_P10_SIZE): Likewise.
10595 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10596 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10597 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10598 entries for 10^2^13 and 10^2^14.
10599 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10600 (TENS_P13_IDX): Define.
10601 (TENS_P13_SIZE): Likewise.
10602 (TENS_P14_IDX): Likewise.
10603 (TENS_P14_SIZE): Likewise.
10604 (_fpioconst_pow10): Change array size to
10605 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10606 unconditional.
10607 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10608 1024]: Add entries for 10^2^13 and 10^2^14.
10609 [LAST_POW10 > _LAST_POW10]: Remove #error.
10610 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10611 (_fpioconst_pow10): Change array size to
10612 FPIOCONST_POW10_ARRAY_SIZE.
10613 * stdlib/gen-fpioconst.c: New file.
10614 * stdlib/gen-tst-strtod-round.c: Likewise.
10615 * stdlib/tst-strtod-round-data: Likewise.
10616 * stdlib/tst-strtod-round.c: Likewise.
10617 * stdlib/Makefile (tests): Add tst-strtod-round.
10618
d6e70f43
JM
10619 [BZ #14459]
10620 * stdlib/strtod_l.c: Include <stdint.h>.
10621 (NDEBUG): Do not define.
10622 (round_and_return): Change EXPONENT parameter to type intmax_t.
10623 Rearrange calculations to avoid internal overflow possibilities.
10624 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10625 Rearrange calculations to avoid internal overflow possibilities.
10626 Assert that number fits inside MPNSIZE limbs.
10627 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10628 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10629 calculations and add assertions to avoid internal overflow
10630 possibilities. Add casts to avoid signed/unsigned operations.
10631 * stdlib/tst-strtod-overflow.c: New file.
10632 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10633
1f529f7d
MP
106342012-08-25 Marek Polacek <polacek@redhat.com>
10635
10636 * time/time.h: Fix some typos in comments.
10637
59a629f1
RM
106382012-08-23 Roland McGrath <roland@hack.frob.com>
10639
10640 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10641 * posix/tst-rfc3484-2.c: Likewise.
10642 * posix/tst-rfc3484-3.c: Likewise.
10643
d3bafbc9
SM
106442012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10645
10646 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10647 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10648
4efcc022
JM
106492012-08-23 Joseph Myers <joseph@codesourcery.com>
10650
10651 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10652 #include of fxstatat64.c.
10653
3cc3ef96
RM
106542012-08-22 Roland McGrath <roland@hack.frob.com>
10655
f04e2132
RM
10656 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10657 * shadow/getspent_r.c: Likewise.
10658 * shadow/getspnam.c: Likewise.
10659 * shadow/getspnam_r.c: Likewise.
10660 * gshadow/getsgent.c: Likewise.
10661 * gshadow/getsgent_r.c: Likewise.
10662 * gshadow/getsgnam.c: Likewise.
10663 * gshadow/getsgnam_r.c: Likewise.
10664 * inet/getnetbyad.c: Likewise.
10665 * inet/getnetbyad_r.c: Likewise.
10666 * inet/getnetbynm.c: Likewise.
10667 * inet/getnetbynm_r.c: Likewise.
10668 * inet/getnetent.c: Likewise.
10669 * inet/getnetent_r.c: Likewise.
10670 * inet/getproto.c: Likewise.
10671 * inet/getproto_r.c: Likewise.
10672 * inet/getprtent.c: Likewise.
10673 * inet/getprtent_r.c: Likewise.
10674 * inet/getprtname.c: Likewise.
10675 * inet/getprtname_r.c: Likewise.
10676 * inet/getrpcbyname.c: Likewise.
10677 * inet/getrpcbyname_r.c: Likewise.
10678 * inet/getrpcbynumber.c: Likewise.
10679 * inet/getrpcbynumber_r.c: Likewise.
10680 * inet/getrpcent.c: Likewise.
10681 * inet/getrpcent_r.c: Likewise.
10682 * inet/getaliasent.c: Likewise.
10683 * inet/getaliasent_r.c: Likewise.
10684 * inet/getaliasname.c: Likewise.
10685 * inet/getaliasname_r.c: Likewise.
10686 * nscd/getgrgid_r.c: Likewise.
10687 * nscd/getgrnam_r.c: Likewise.
10688 * nscd/gethstbyad_r.c: Likewise.
10689 * nscd/gethstbynm3_r.c: Likewise.
10690 * nscd/getpwnam_r.c: Likewise.
10691 * nscd/getpwuid_r.c: Likewise.
10692 * nscd/getsrvbynm_r.c: Likewise.
10693 * nscd/getsrvbypt_r.c: Likewise.
10694 * nscd/gai.c: Likewise.
10695
c53d909c
RM
10696 * configure.in (build_nscd): New substituted variable, set
10697 by --disable-build-nscd and defaults to $use_nscd.
10698 * configure: Regenerated.
10699 * config.make.in (build-nscd): New substituted variable.
10700 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10701 Change conditional to require [$(build-nscd) = yes] as well.
10702 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10703
3cc3ef96
RM
10704 [BZ# 13696]
10705 * configure.in (use_nscd): New substituted variable, set by
10706 --disable-nscd. If enabled, define USE_NSCD.
10707 * configure: Regenerated.
10708 * config.h.in: Add USE_NSCD.
10709 * config.make.in (use-nscd): New substituted variable.
10710 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10711 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10712 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10713 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10714 (CFLAGS-getgrnam_r.c): Likewise.
10715 (CFLAGS-initgroups.c): Likewise.
10716 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10717 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10718 Variables removed.
10719 * inet/getnetgrent_r.c
10720 (nscd_setnetgrent): New function, broken out of ...
10721 (setnetgrent): ... here. Call it.
10722 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10723 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10724 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10725 * nscd/Makefile (routines, aux): Move definitions after include of
10726 Makeconfig. Conditionalize on [$(use-nscd) != no].
10727 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10728 Conditionalize on [USE_NSCD].
10729 (is_nscd, nscd_init_cb): Likewise.
10730 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10731 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10732 * nss/nss_db/db-init.c: Likewise.
10733 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10734 [USE_NSCD].
10735 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10736 (make_request): Use it.
10737 (cache_valid_p): New function.
10738 (__check_pf): Use it.
10739 * NEWS: Add item for --disable-nscd.
10740
07e51550
DL
107412012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10742
10743 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10744 to support sed >= 4.2.1-20-ga9bf076.
10745 * configure: Regenerated.
10746
35a5b08b
RM
107472012-08-22 Roland McGrath <roland@hack.frob.com>
10748
10749 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10750 Conditionalize whole body on [IREL].
10751
8479f23a
JL
107522012-08-22 Jeff Law <law@redhat.com>
10753
10754 [BZ #14505]
10755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10756 if the family is PF_UNSPEC.
10757
48da0b21
MF
107582012-08-22 Mike Frysinger <vapier@gentoo.org>
10759
10760 * Makerules (lib-version): Rename from V.
10761 (install-lib-nosubdir): Change V to lib-version.
10762
15d0da8c
WS
107632012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10764
10765 [BZ #14252]
10766 * powerpc32/power6/wcschr.c: New file.
10767 * powerpc32/power6/wcscpy.c: New file.
10768 * powerpc32/power6/wcsrchr.c: New file.
10769 * powerpc64/power6/wcschr.c: New file.
10770 * powerpc64/power6/wcscpy.c: New file.
10771 * powerpc64/power6/wcsrchr.c: New file.
10772
bcca0895
MK
107732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10774
10775 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10776 (two_way_short_needle): Use it.
5a4aaa33
RM
10777 * string/strstr.c (AVAILABLE1_USES_J): Define.
10778 * string/strcasestr.c: Likewise.
99677e57
MK
10779
10780 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10781 array references.
10782 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10783
400726de
MK
10784 [BZ #11607]
10785 * NEWS: Add an entry.
10786 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10787 define their defaults.
10788 (two_way_short_needle): Detect end-of-string on-the-fly.
10789 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10790 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10791 * string/bug-strcasestr1.c: New test.
10792 * string/Makefile: Run it.
10793
20a71f2c
MK
107942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10795
10796 [BZ #11607]
10797 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10798 the first character.
10799
21ad0558
RM
108002012-08-21 Roland McGrath <roland@hack.frob.com>
10801
10802 * csu/elf-init.c (__libc_csu_irel): Function removed.
10803 * csu/libc-start.c (apply_irel): New function.
10804 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10805
0e1d9911
JM
108062012-08-21 Joseph Myers <joseph@codesourcery.com>
10807
10808 * sysdeps/unix/sysv/linux/kernel-features.h
10809 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10810 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10811 <kernel-features.h>.
10812 [__NR_fadvise64_64]: Make code unconditional.
10813 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10814 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10815 !__NR_fadvise64_64)]: Likewise.
10816 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10817 !__NR_fadvise64_64))]: Likewise.
10818 [__NR_fadvise64]: Make code unconditional.
10819 [!__NR_fadvise64]: Remove conditional code.
10820 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10821 <kernel-features.h>.
10822 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10823 unconditional.
10824 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10825 conditional code.
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10827 not include <kernel-features.h>.
10828 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10829 unconditional.
10830 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10831 conditional code.
10832 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10833 include <kernel-features.h>.
10834 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10835 unconditional.
10836 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10837 conditional code.
10838
14a50c9d
WS
108392012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10840
10841 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10842 slight instruction rearrangements per scrollpipe analysis.
10843 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10844
c0f4faf0
RM
108452012-08-20 Roland McGrath <roland@hack.frob.com>
10846
696da859
RM
10847 * manual/syslog.texi (syslog; vsyslog, closelog):
10848 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10849 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10850
c0f4faf0
RM
10851 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10852 DSOCAPS to match condition on defining it.
10853
348363b2
JM
108542012-08-20 Joseph Myers <joseph@codesourcery.com>
10855
a35cbf28
JM
10856 * sysdeps/unix/sysv/linux/kernel-features.h
10857 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10859 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10860 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10862 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10863 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10865 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10866 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10867
445f7ecd
JM
10868 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10869 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10870
348363b2
JM
10871 * sysdeps/unix/sysv/linux/kernel-features.h
10872 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10873 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10874 unconditional.
10875 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10876 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10877 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10878 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10879 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10880 Make code unconditional.
10881 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10882 (__mmap64) [!__NR_mmap2]: Likewise.
10883 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10884 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10885 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10886 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10887 [__NR_mmap2]: Make code unconditional.
10888 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10889 (__mmap64) [!__NR_mmap2]: Likewise.
10890
bc5bc0e5
AK
108912012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10892
10893 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10894
88d506de
AJ
108952012-08-18 Andreas Jaeger <aj@suse.de>
10896
10897 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10898
493387d2
MF
108992012-08-18 Mike Frysinger <vapier@gentoo.org>
10900
10901 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10902 * include/unistd.h (__have_sock_cloexec): Likewise.
10903 (__have_pipe2): Likewise.
10904 (__have_dup3): Likewise.
10905
a277af22
MF
109062012-08-18 Mike Frysinger <vapier@gentoo.org>
10907
10908 [BZ #9685]
10909 * include/unistd.h (__have_pipe2): Change define into an extern int.
10910 (__have_dup3): Likewise.
10911 * socket/have_sock_cloexec.c: Include fcntl.h.
10912 (__have_pipe2): New variable.
10913 (__have_dup3): Likewise.
10914
fdab8fd3
MF
109152012-08-17 Mike Frysinger <vapier@gentoo.org>
10916
10917 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10918
31035e80
MP
109192012-08-17 Marek Polacek <polacek@redhat.com>
10920
10921 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10922 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10923
3bd9e993
RM
109242012-08-17 Roland McGrath <roland@hack.frob.com>
10925
c91c505f
RM
10926 * configure.in: Add AC_SUBST for sysheaders.
10927 * configure: Regenerated.
10928 * config.make.in (sysheaders): New substituted variable.
10929
7c6f9d53
RM
10930 * sysdeps/unix/mkfifo.c: Moved ...
10931 * sysdeps/posix/mkfifo.c: ... here.
10932 * sysdeps/unix/mkfifoat.c: Moved ...
10933 * sysdeps/posix/mkfifoat.c: ... here.
10934
10935 * sysdeps/unix/utime.c: Moved ...
10936 * sysdeps/posix/utime.c: ... here.
10937
10938 * sysdeps/unix/time.c: Moved ...
10939 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10940 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10941 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10942
10943 * sysdeps/unix/nice.c: Moved ...
10944 * sysdeps/posix/nice.c: ... here.
10945
10946 * sysdeps/unix/alarm.c: Moved ...
10947 * sysdeps/posix/alarm.c: ... here.
10948
3bd9e993
RM
10949 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10950
d1f09384
JL
109512012-08-17 Jeff Law <law@redhat.com>
10952
10953 * intl/Makefile (codeset_mo): New variable.
10954 ($(codeset_mo)): New target.
10955 (tst-codeset.out): Depend on that. Remove explicit rule.
10956 (tst-gettext3.out, tst-gettext5.out): Likewise.
10957 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10958 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10959 * intl/tst-codeset.sh: Remove.
10960 * intl/tst-gettext3.sh: Likewise.
10961 * intl/tst-gettext5.sh: Likewise.
10962
2ae1ae5c
RM
109632012-08-17 Roland McGrath <roland@hack.frob.com>
10964
c31fdb83
RM
10965 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10966 * sysdeps/unix/syscalls.list: ... here.
10967
a0844057
RM
10968 * sysdeps/posix/getaddrinfo.c
10969 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10970 (gaiconf_init, gaiconf_reload): Use them.
10971 [!_STATBUF_ST_NSEC]
10972 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10973 Define using time_t rather than struct timespec.
10974
750c1f2a
RM
10975 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10976 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10977 Macros removed.
10978 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10979 [!NO_THREADS].
10980 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10981 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10982 Likewise.
10983
2ae1ae5c
RM
10984 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10985 __libc_cleanup_push argument.
10986
e66a42f5
RM
10987 * bits/param.h: New file.
10988 * misc/sys/param.h: New file.
10989 * include/sys/param.h: New file.
10990 * misc/Makefile (headers): Add bits/param.h.
10991 * sysdeps/generic/sys/param.h: File removed.
10992 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10993 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10994 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10995 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10996
b7c08a66
RM
10997 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10998 last change.
10999
b2e1c562
RM
11000 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11001 [_IO_MTSAFE_IO].
11002 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11003 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11004 New macros.
11005
c75ccd4c
RM
11006 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11007 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11008 rather than -D_IO_MTSAFE_IO conditionally.
11009 * stdio-common/Makefile (CPPFLAGS): Likewise.
11010 * wcsmbs/Makefile (CPPFLAGS): Likewise.
11011 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11012 Use $(libio-mtsafe).
11013 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11014 of -D_IO_MTSAFE_IO.
11015 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11016 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11017 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11018 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11019 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11020 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11021 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11022 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11023 (CFLAGS-fread_u_chk.c): Likewise.
11024 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11025 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11026 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11027 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11028 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11029 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11030 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11031 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11032 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11033
11034 * libio/Makefile: Test [$(libc-reentrant) = yes]
11035 instead of [$(filter %REENTRANT, $(defines)) nonempty].
11036
11037 * Makeconfig
11038 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11039 * sysdeps/pthread/configure: File removed.
11040 * sysdeps/pthread/Makeconfig: New file.
11041 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11042 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11043
d9195db8
GB
110442012-08-16 Gary Benson <gbenson@redhat.com>
11045
11046 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11047 unmapping the first object in a namespace.
11048
86466cd9
RM
110492012-08-16 Roland McGrath <roland@hack.frob.com>
11050
11051 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11052 (__internal_setnetgrent): ... this. Add internal_function to
11053 definition. Add libc_hidden_def.
11054 (setnetgrent): Update caller.
11055 (internal_endnetgrent): Renamed to ...
11056 (__internal_endnetgrent): ... this. Add internal_function to
11057 definition. Add libc_hidden_def.
11058 (endnetgrent): Update caller.
11059 (internal_getnetgrent_r): Renamed to ...
11060 (__internal_getnetgrent_r): ... this. Add internal_function to
11061 definition. Add libc_hidden_def.
11062 (__getnetgrent_r): Update caller.
11063 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
11064
c3c8283c
JM
110652012-08-16 Joseph Myers <joseph@codesourcery.com>
11066
11067 * stdlib/longlong.h: Update from GCC.
11068
db1ee0a8
RM
110692012-08-16 Roland McGrath <roland@hack.frob.com>
11070
11071 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11072 on _QL, which is set by umul_ppmm but never used.
11073 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11074 variables, which are set by GMP macros but never used.
11075 * stdio-common/_itowa.c (_itowa): Likewise.
11076 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11077 * stdlib/mod_1.c (mpn_mod_1): Likewise.
11078
30f69637
CD
110792012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
11080
11081 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11082 struct La_sh_regs is not constant.
11083 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11084 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11085 and struct La_sparc64_regs are not constant.
11086
93a78ac4
JM
110872012-08-16 Joseph Myers <joseph@codesourcery.com>
11088
11089 * sysdeps/unix/sysv/linux/kernel-features.h
11090 (__ASSUME_POSIX_TIMERS): Remove.
11091 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11092 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11093 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11094 Make code unconditional.
11095 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11096 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11097 Make code unconditional.
11098 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11099 * sysdeps/unix/sysv/linux/clock_nanosleep.c
11100 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11101 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11102 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11103 Make code unconditional.
11104 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11105 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11106 (__libc_missing_posix_timers): Remove.
11107
dd924cd7
RM
111082012-08-15 Roland McGrath <roland@hack.frob.com>
11109
4b4f2771
RM
11110 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11111 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11112
601c888b
RM
11113 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11114
176790a7
RM
11115 * elf/dl-sym.c: Include <stdlib.h>.
11116
329bc018
RM
11117 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11118 constants, which avoids warnings in 32-bit builds.
11119
e04e272d
RM
11120 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11121 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11122
952bf94a
RM
11123 * misc/lseek.c: File moved to ...
11124 * io/lseek.c: ... here.
11125
7c99b50a
RM
11126 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11127
dd924cd7
RM
11128 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11129 shifting LEN more than 31 bits at once.
11130
b3f479a8
LD
111312012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11132
11133 [BZ #14195]
8c4ae0d4
RM
11134 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11135 segmentation fault for a case of two empty input strings.
b3f479a8
LD
11136 * string/test-strncasecmp.c (check1): Renamed to...
11137 (bz12205): ...this.
11138 (bz14195): Add new testcase for two empty input strings and N > 0.
11139 (test_main): Call new testcase, adapt for renamed function.
11140
9c55864e
AJ
111412012-08-15 Andreas Jaeger <aj@suse.de>
11142
11143 [BZ #14090]
11144 * crypt/md5test2.c: New test, based on test supplied by Serge
11145 Belyshev <belyshev@depni.sinp.msu.ru>.
11146 * crypt/Makefile (xtests): Add md5test-giant..
11147 * crypt/Makefile ($(objpfx)md5test-giant): Add.
11148
02dcb6c5
PE
111492012-08-15 Paul Eggert <eggert@cs.ucla.edu>
11150
11151 [BZ #14090]
11152 * crypt/md5.c (md5_process_block): Don't assume the buffer
11153 length is less than 2**32.
11154 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11155 length is less than 2**64.
11156
a3f95dcc
RM
111572012-08-15 Roland McGrath <roland@hack.frob.com>
11158
be75d758
RM
11159 * string/str-two-way.h: Include <sys/param.h>.
11160 (MAX): Macro removed.
11161
7312ca90
RM
11162 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11163 Move #define and #undef of memmove to just before and after
11164 including <string.h>.
11165
9a0a5486
RM
11166 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11167 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11168 and after including <string.h>. Move declarations of
11169 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11170 to before #include "string/memmove.c".
11171
67cc348d
RM
11172 * include/dirent.h: Declare __getdirentries.
11173
a3f95dcc
RM
11174 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11175 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11176
ca98e171
MF
111772012-08-14 Mike Frysinger <vapier@gentoo.org>
11178
11179 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11180 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11181 * sysdeps/i386/configure: Regenerated.
11182 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11183 STABS_CURRENT_FILE, and STABS_FUN.
11184 (END): Remove call to STABS_FUN_END.
11185 (STABS_CURRENT_FILE1): Delete.
11186 (STABS_CURRENT_FILE): Likewise.
11187 (STABS_FUN): Likewise.
11188 (STABS_FUN_END): Likewise.
11189 (STABS_FUN2): Likewise.
11190 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11191 * sysdeps/x86_64/configure: Regenerated.
11192
5908bf46
RM
111932012-08-14 Roland McGrath <roland@hack.frob.com>
11194
11195 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 11196 * elf/dl-lookup.c: Likewise.
5908bf46 11197
f2c05b9e
JM
111982012-08-14 Joseph Myers <joseph@codesourcery.com>
11199
11200 * sysdeps/unix/sysv/linux/kernel-features.h
11201 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11202 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11203 unconditionally.
11204 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11205 unconditionally.
11206 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11207 condition on __ASSUME_CLONE_THREAD_FLAGS.
11208
e11f5155
AJ
112092012-08-14 Andreas Jaeger <aj@suse.de>
11210
11211 * sysdeps/i386/fpu/libm-test-ulps: Update.
11212
51a9ba86
MK
112132012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11214
2fdd4f78
AJ
11215 * include/atomic.h (atomic_exchange_and_add): Split into ...
11216 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11217 New atomic macros.
51a9ba86 11218
ba6cba9e
MT
112192012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11220
11221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11222
42443a47
JL
112232012-08-13 Jeff Law <law@redhat.com>
11224
11225 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11226 null byte in the output string.
11227
121dce05
JM
112282012-08-10 Joseph Myers <joseph@codesourcery.com>
11229
11230 * sysdeps/unix/sysv/linux/kernel-features.h
11231 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11232 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11233 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11234 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11235 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11236 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11237 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11238
bf51f568
JL
112392012-08-09 Jeff Law <law@redhat.com>
11240
11241 [BZ #13939]
11242 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11243 When avoid_arena is set, don't retry in the that arena. Pick the
11244 next one, whatever it might be.
11245 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11246 (arena_lock): Pass in new parameter to arena_get2.
11247 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11248 arena_get2.
11249 (__libc_malloc): Unify retrying after main arena failure with
11250 __libc_memalign version.
11251 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11252
f85fa270
L
112532012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 [BZ #14166]
11256 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11257 to __redirect_strstr.
11258 (__strstr_sse42): Use typeof __redirect_strstr.
11259 (__strstr_ia32): Likewise.
11260 (__libc_strstr): New prototype.
11261 (strstr): Renamed to ...
11262 (__libc_strstr): This.
11263 (strstr): New strong alias of __libc_strstr.
11264 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11265 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11266 __redirect_time.
11267 Include <time.h>.
11268 (__libc_time): New prototype.
11269 (time_ifunc): Replace time with __libc_time.
11270 (time): New strong alias and hidden definition of __libc_time.
11271 (__GI_time): Remove strong alias.
11272 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11273 Include <stddef.h>.
11274 (memmove): Redefined to __redirect_memmove.
11275 (__memmove_sse2): Use typeof __redirect_memmove.
11276 (__memmove_ssse3): Likewise.
11277 (__memmove_ssse3_back): Likewise.
11278 (__libc_memmove): New prototype.
11279 (memmove): Renamed to ...
11280 (__libc_memmove): This.
11281 (memmove): New strong alias of __libc_memmove.
11282
33b4a91e
MS
112832012-08-08 Mark Salter <msalter@redhat.com>
11284
11285 * elf/elf.h
11286 (R_MN10300_TLS_GD): Define.
11287 (R_MN10300_TLS_LD): Likewise.
11288 (R_MN10300_TLS_LDO): Likewise.
11289 (R_MN10300_TLS_GOTIE): Likewise.
11290 (R_MN10300_TLS_IE): Likewise.
11291 (R_MN10300_TLS_LE): Likewise.
11292 (R_MN10300_TLS_DTPMOD): Likewise.
11293 (R_MN10300_TLS_DTPOFF): Likewise.
11294 (R_MN10300_TLS_TPOFF): Likewise.
11295 (R_MN10300_SYM_DIFF): Likewise.
11296 (R_MN10300_ALIGN): Likewise.
11297 (R_MN10300_NUM): Update.
11298
b36137f1
JM
112992012-08-08 Joseph Myers <joseph@codesourcery.com>
11300
11301 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11302 Remove.
11303
cdd915fd
RM
113042012-08-08 Roland McGrath <roland@hack.frob.com>
11305
a2433aac
RM
11306 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11307
cdd915fd
RM
11308 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11309 sysdeps/unix -> sysdeps/posix move.
11310 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11311
bf9b740a
AM
113122012-08-07 Allan McRae <allan@archlinux.org>
11313
11314 [BZ #14303]
11315 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11316 (SUNOS_CPP): Likewise.
11317 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11318 not found.
11319 (open_input): Call CPP using execvp.
11320
93df14ee
JM
113212012-08-07 Joseph Myers <joseph@codesourcery.com>
11322
11323 * sysdeps/unix/sysv/linux/kernel-features.h
11324 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11325 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11326 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11327 (__ASSUME_WAITID_SYSCALL): Likewise.
11328 * sysdeps/unix/sysv/linux/dl-execstack.c
11329 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11330 code unconditional.
11331 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11332 conditional code.
11333 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11334 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11335 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11336 code.
11337 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11338 unconditional.
11339 [__ASSUME_WAITID_SYSCALL]: Likewise.
11340 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11341
d34689de
RM
113422012-08-07 Roland McGrath <roland@hack.frob.com>
11343
a281decc
RM
11344 * sysdeps/unix/closedir.c: Renamed to ...
11345 * sysdeps/posix/closedir.c: ... here.
11346 * sysdeps/unix/dirfd.c: Renamed to ...
11347 * sysdeps/posix/dirfd.c: ... here.
11348 * sysdeps/unix/dirstream.h: Renamed to ...
11349 * sysdeps/posix/dirstream.h: ... here.
11350 * sysdeps/unix/fdopendir.c: Renamed to ...
11351 * sysdeps/posix/fdopendir.c: ... here.
11352 * sysdeps/unix/opendir.c: Renamed to ...
11353 * sysdeps/posix/opendir.c: ... here.
11354 * sysdeps/unix/readdir.c: Renamed to ...
11355 * sysdeps/posix/readdir.c: ... here.
11356 * sysdeps/unix/readdir_r.c: Renamed to ...
11357 * sysdeps/posix/readdir_r.c: ... here.
11358 * sysdeps/unix/rewinddir.c: Renamed to ...
11359 * sysdeps/posix/rewinddir.c: ... here.
11360 * sysdeps/unix/seekdir.c: Renamed to ...
11361 * sysdeps/posix/seekdir.c: ... here.
11362 * sysdeps/unix/telldir.c: Renamed to ...
11363 * sysdeps/posix/telldir.c: ... here.
11364 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11365 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11366 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11367 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11368
22895b47
RM
11369 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11370 * bits/fcntl.h: ... here.
11371
707a53b6
RM
11372 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11373 not 0.
11374 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11375 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11376 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11377 (struct flock): Move l_start, l_len to the beginning.
11378 Use __pid_t for l_pid.
11379 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11380 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11381 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11382 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11383 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11384 [__USE_LARGEFILE64] (struct flock64): New type.
11385 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11386
f0bd3e25
RM
11387 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11388 * bits/dirent.h: ... here.
11389
d34689de
RM
11390 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11391 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11392
6dad2c06
JM
113932012-08-07 Joseph Myers <joseph@codesourcery.com>
11394
11395 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11396 Change from 2.6.0 to 2.6.16.
11397 * sysdeps/unix/sysv/linux/configure: Regenerated.
11398 * sysdeps/unix/sysv/linux/kernel-features.h
11399 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11400 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11401 version.
11402 (__ASSUME_UTIMES): Likewise.
11403 (__ASSUME_CLONE_STOPPED): Remove.
11404 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11405 architectures, not kernel version.
11406 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11407 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11408 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11409 (__ASSUME_WAITID_SYSCALL): Likewise.
11410 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11411 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11412 * README: State 2.6.16 as minimum Linux kernel version. Do not
11413 refer to older versions.
11414
03af9520
RM
114152012-08-06 Roland McGrath <roland@hack.frob.com>
11416
8e49df1d
RM
11417 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11418 Define alphasort64 as an alias.
11419 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11420 Define versionsort64 as an alias.
11421 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11422 Define scandir64 as an alias.
11423 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11424 Define scandirat64 as an alias.
11425 * dirent/alphasort64.c (alphasort64):
11426 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11427 * dirent/versionsort64.c: Likewise.
11428 * dirent/scandir64.c: Likewise.
11429 * dirent/scandirat64.c: Likewise.
11430 * sysdeps/wordsize-64/alphasort.c: File removed.
11431 * sysdeps/wordsize-64/alphasort64.c: File removed.
11432 * sysdeps/wordsize-64/scandir.c: File removed.
11433 * sysdeps/wordsize-64/scandir64.c: File removed.
11434 * sysdeps/wordsize-64/scandirat.c: File removed.
11435 * sysdeps/wordsize-64/scandirat64.c: File removed.
11436 * sysdeps/wordsize-64/versionsort.c: File removed.
11437 * sysdeps/wordsize-64/versionsort64.c: File removed.
11438 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11439 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11440 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11441 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11442 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11443 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11444 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11445 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11446
11447 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11448 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11449 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11451 [defined __arch64__ || defined __sparcv9]
11452 (__INO_T_MATCHES_INO64_T): New macro.
11453 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11454 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11455 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11456 * sysdeps/unix/sysv/linux/bits/dirent.h
11457 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11458 (_DIRENT_MATCHES_DIRENT64): New macro.
11459
03af9520
RM
11460 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11461 Define lockf64 as an alias.
11462 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11463 Define fseeko64 as an alias.
11464 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11465 Define ftello64 as an alias.
11466 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11467 Define _IO_fgetpos64 and fgetpos64 as aliases.
11468 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11469 Define _IO_fsetpos64 and fsetpos64 as aliases.
11470 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11471 Conditionalize body on this.
11472 * libio/fseeko64.c: Likewise.
11473 * libio/ftello64.c: Likewise.
11474 * libio/iofgetpos64.c: Likewise.
11475 * libio/iofsetpos64.c: Likewise.
11476 * sysdeps/wordsize-64/lockf.c: File removed.
11477 * sysdeps/wordsize-64/lockf64.c: File removed.
11478 * sysdeps/wordsize-64/fseeko.c: File removed.
11479 * sysdeps/wordsize-64/fseeko64.c: File removed.
11480 * sysdeps/wordsize-64/ftello.c: File removed.
11481 * sysdeps/wordsize-64/ftello64.c: File removed.
11482 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11483 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11484 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11485 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11486 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11487 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11488 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11489 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11490 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11491 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11492 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11493 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11494 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11495 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11496
11497 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11498 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11499 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11501 [defined __arch64__ || defined __sparcv9]
11502 (__OFF_T_MATCHES_OFF64_T): New macro.
11503 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11504 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11505 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11506 (__OFF_T_MATCHES_OFF64_T): New macro.
11507
c5757acd
L
115082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11509
11510 * stdlib/secure-getenv.c (__secure_getenv): Replace
11511 GLIBC_2_16 with GLIBC_2_17.
11512
3a31811e
L
115132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11514
11515 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11516 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11517
faa2bccb
DM
115182012-08-03 David S. Miller <davem@davemloft.net>
11519
11520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11521
85fe1997
JM
115222012-08-03 Joseph Myers <joseph@codesourcery.com>
11523
11524 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11525 Remove.
11526 (__ASSUME_CORRECT_SI_PID): Likewise.
11527 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11528 (__ASSUME_TMPFS_NAME): Likewise.
11529 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11530 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11531 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11532 (HAVE_AUX_SECURE): Make definition unconditional.
11533 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11534 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11535
4f75b7a0
RM
115362012-08-03 Roland McGrath <roland@hack.frob.com>
11537
11538 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11539 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11540 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11541 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11542 __eloop_threshold instead of SYMLOOP_MAX.
11543
11544 * sysdeps/generic/eloop-threshold.h: New file.
11545 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11546 of MAXSYMLINKS.
11547 * elf/chroot_canon.c (chroot_canon): Likewise.
11548
7aab07e4
JM
115492012-08-03 Joseph Myers <joseph@codesourcery.com>
11550
11551 [BZ #13717]
11552 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11553 Change to 2.6.0 everywhere.
11554 * sysdeps/unix/sysv/linux/configure: Regenerated.
11555 * sysdeps/unix/sysv/linux/kernel-features.h
11556 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11557 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11558 kernel versions.
11559 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11560 (__ASSUME_FUTEX_REQUEUE): Remove.
11561 (__ASSUME_STATFS64): Define unconditionally.
11562 (__ASSUME_AT_SECURE): Likewise.
11563 (__ASSUME_CORRECT_SI_PID): Likewise.
11564 (__ASSUME_TGKILL): Define without depending on kernel version for
11565 i386.
11566 (__ASSUME_UTIMES): Likewise.
11567 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11568 kernel version.
11569 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11570 (__ASSUME_TMPFS_NAME): Likewise.
11571 * README: Update reference to Linux kernel versions.
11572
b67e9372
MP
115732012-08-02 Marek Polacek <polacek@redhat.com>
11574
1f529f7d 11575 [BZ# 14150]
b67e9372
MP
11576 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11577 libc_cv_asm_type_prefix with %.
11578 * configure: Regenerated.
d2441631
RM
11579 * include/libc-symbols.h: Remove comment about
11580 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
11581 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11582 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11583 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11584 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11585 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11586 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11587 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11588 * elf/tst-unique2mod1.c: Likewise.
11589 * elf/tst-unique1mod2.c: Likewise.
11590 * elf/tst-unique1mod1.c: Likewise.
11591 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11592 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11593 Replace ASM_TYPE_DIRECTIVE with .type.
11594 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11595 * sysdeps/i386/sysdep.h: Likewise.
11596 * sysdeps/x86_64/sysdep.h: Likewise.
11597 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11599 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 11600 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
11601 * sysdeps/powerpc/powerpc32/sysdep.h:
11602 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
11603 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11604 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11605 * sysdeps/i386/fpu/e_powf.S: Likewise.
11606 * sysdeps/i386/fpu/e_expl.S: Likewise.
11607 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11608 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11609 * sysdeps/i386/fpu/e_pow.S: Likewise.
11610 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11611 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11612 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11613 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11614 * sysdeps/i386/fpu/e_log2.S: Likewise.
11615 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11616 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11617 * sysdeps/i386/fpu/e_powl.S: Likewise.
11618 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11619 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11620 * sysdeps/i386/fpu/e_logl.S: Likewise.
11621 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11622 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11623 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11624 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11625 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11626 * sysdeps/i386/fpu/e_log.S: Likewise.
11627 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11628 * sysdeps/i386/fpu/e_logf.S: Likewise.
11629 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11630 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11631 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11632 * sysdeps/i386/fpu/e_log10.S: Likewise.
11633 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11634 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11635 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11636 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11637 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11638 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11639 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11640 * sysdeps/i386/i686/strtok.S: Likewise.
11641 * sysdeps/i386/i386-mcount.S: Likewise.
11642 * sysdeps/i386/strtok.S: Likewise.
11643 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11644 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11645 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11646 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11647 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11648 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11649 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11650 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11651 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11652 * sysdeps/x86_64/_mcount.S: Likewise.
11653 * sysdeps/x86_64/strtok.S: Likewise.
11654 * sysdeps/sh/_mcount.S: Likewise.
11655
2747bf9a
RM
116562012-08-01 Roland McGrath <roland@hack.frob.com>
11657
11658 * libio/iofopen.c: Include <fcntl.h>.
11659 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11660 (_IO_fopen64, fopen64): Define as aliases.
11661 * libio/iofopen64.c: Include <fcntl.h>.
11662 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11663 Conditionalize body on this.
11664 * sysdeps/wordsize-64/iofopen.c: File removed.
11665 * sysdeps/wordsize-64/iofopen64.c: File removed.
11666
3fb791b8
MP
116672012-08-01 Marek Polacek <polacek@redhat.com>
11668
11669 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11670 Use dlfcn directly instead of a variable.
11671 (binfmt-subdir): Do not define.
11672 (dlfcn): Likewise.
11673
a9f1039f
JM
116742012-08-01 Joseph Myers <joseph@codesourcery.com>
11675
23bddc06
JM
11676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11677 Remove all definitions.
11678 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11679 <kernel-features.h>.
11680 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11681 (miss_F_GETOWN_EX): Remove all definitions.
11682 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11683 macro definition.
11684 [!__ASSUME_FCNTL64]: Remove conditional code.
11685 [__ASSUME_FCNTL64]: Make code unconditional.
11686 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11687 <kernel-features.h>.
11688 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11689 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11690 (lockf64) [__NR_fcntl64]: Make code unconditional.
11691 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11692
a9f1039f
JM
11693 * sysdeps/unix/sysv/linux/kernel-features.h
11694 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11695 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11696 Make code unconditional.
11697 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11698 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11700 [__NR_vfork]: Make code unconditional.
11701 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11702 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11704 [__NR_vfork]: Make code unconditional.
11705 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11706 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11707
09c0ee5f
RM
117082012-08-01 Roland McGrath <roland@hack.frob.com>
11709
48aec5b9
RM
11710 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11711 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11712
cd97c966
RM
11713 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11714 Define mkstemp64 as an alias.
3f55550c
RM
11715 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11716 Define mkstemps64 as an alias.
cd97c966
RM
11717 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11718 Define mkostemp64 as an alias.
b8625cfc
RM
11719 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11720 Define mkostemps64 as an alias.
cd97c966
RM
11721 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11722 Conditionalize body on this.
11723 * misc/mkostemp64.c: Likewise.
b8625cfc 11724 * misc/mkostemps64.c: Likewise.
3f55550c 11725 * misc/mkstemps64.c: Likewise.
cd97c966
RM
11726 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11727 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11728 * sysdeps/wordsize-64/mkostemp.c: File removed.
11729 * sysdeps/wordsize-64/mkstemp.c: File removed.
11730 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11731 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11732 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11733 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11734
09c0ee5f
RM
11735 [BZ #14138]
11736 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11737 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11738 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11739 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11740
11741 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11742 compat_symbol macros from <shlib-compat.h> rather than the underlying
11743 default_symbol_version and symbol_version macros, so that DEFAULT
11744 lines in shlib-versions are respected.
11745 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11746
7e66ee51
FW
117472012-08-01 Florian Weimer <fweimer@redhat.com>
11748
11749 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11750 Declare with warn_unused_result.
11751 (setgid, setregid, setegid, setresgid): Likewise.
11752 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11753 Likewise.
11754 * WUR-REPORT: Remove set*id functions.
11755
d2a54255
PT
117562012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11757
11758 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11759
7ecdb005
RM
117602012-07-31 Roland McGrath <roland@hack.frob.com>
11761
b4180a5e 11762 [BZ #10191]
789bd351
RM
11763 * include/sys/socket.h (__libc_accept, __libc_accept4):
11764 Add attribute_hidden.
11765 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11766
40ce302d
RM
11767 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11768 use of PTR_MANGLE.
11769 * inet/getnetgrent_r.c (setup): Likewise.
11770
7ecdb005
RM
11771 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11772
e2eabb2c
DM
117732012-07-31 David S. Miller <davem@davemloft.net>
11774
11775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11776
d0419dbf
JM
117772012-07-31 Joseph Myers <joseph@codesourcery.com>
11778
11779 [BZ #13629]
11780 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11781 value between 1.0 and 2.0 and smaller part has absolute value less
11782 than 1.0.
11783 * math/s_clog10.c (__clog10): Likewise.
11784 * math/s_clog10f.c (__clog10f): Likewise.
11785 * math/s_clog10l.c (__clog10l): Likewise.
11786 * math/s_clogf.c (__clogf): Likewise.
11787 * math/s_clogl.c (__clogl): Likewise.
11788 * math/libm-test.inc (clog_test): Add more tests.
11789 (clog10_test): Likewise.
11790 * sysdeps/i386/fpu/libm-test-ulps: Update.
11791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11792
2bc13872
FW
117932012-07-31 Florian Weimer <fweimer@redhat.com>
11794
11795 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11796 Exit with zero in case no suitable GID is found, and write a
11797 message to standard error.
11798
bea9b193
RM
117992012-07-30 Roland McGrath <roland@hack.frob.com>
11800
11801 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11802 rather than to 1.
11803 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11804 (MAXPATHLEN): Removed.
11805 (NOGROUP, NODEV): New macros.
11806 (setbit, clrbit, isset, isclr): New macros.
11807 (howmany, roundup, powerof2): New macros.
11808 (DEV_BSIZE): New macro.
11809
11810 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11811 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11812
11813 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11814 definition on [!__NO_LONG_DOUBLE_MATH].
11815
11816 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11817 PTR_MANGLE and PTR_DEMANGLE.
11818
11819 * socket/accept4.c (accept4): Rename to __libc_accept4.
11820 Define accept4 as a weak alias.
11821
11822 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11823 on [_DIRENT_HAVE_D_TYPE].
11824 * io/ftw.c (ftw_dir): Likewise.
11825
11826 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11827
11828 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11829
11830 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11831 Use the BSD numbers rather than the arbitrary ones we had.
11832 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11833 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11834 (SIGXCPU, SIGXFSZ): New macros.
11835 (_NSIG): Now 32.
11836
11837 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11838 initializer on [_LIBC_REENTRANT].
11839
11840 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11841 definitions inside [_POSIX_MAPPED_FILES].
11842
11843 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11844
11845 * dirent/opendir.c: Include <fcntl.h>.
11846
11847 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11848 (__libc_getspecific): Likewise.
11849 (__libc_key_create): Likewise.
11850
11851 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11852 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11853 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11854 (tmpfile64): Define as alias.
11855 * sysdeps/wordsize-64/tmpfile.c: File removed.
11856 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11857 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11858 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11859
11860 * stdio-common/vfscanf.c: Include <stdbool.h>.
11861 * nss/makedb.c: Likewise.
11862 * stdio-common/_i18n_number.h: Likewise.
11863 * argp/argp-help.c: Likewise.
11864 * posix/wordexp.c: Likewise.
11865 * sysdeps/posix/spawni.c: Likewise.
11866 * nss/nss_files/files-initgroups.c: Likewise.
11867 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11868 * nss/nss_files/files-initgroups.c: Likewise.
11869 * nss/nss_db/db-netgrp.c: Likewise.
11870 * nss/nss_db/db-initgroups.c: Likewise.
11871 * io/fchmodat.c: Include <sys/stat.h>.
11872
11873 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11874 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11875
11876 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11877 [HAVE_MMAP].
11878
11879 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11880 Add multiple inclusion protection.
11881
e5abc686
DM
118822012-07-27 David S. Miller <davem@davemloft.net>
11883
11884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11885
815e6fa3
GB
118862012-07-27 Gary Benson <gbenson@redhat.com>
11887
11888 [BZ #14298]
11889 * elf/rtld.c: Include <stap-probe.h>.
11890 (dl_main): Added static probes "init_start" and "init_complete".
11891 * elf/dl-load.c: Include <stap-probe.h>.
11892 (lose): Take new parameter "nsid".
11893 Added static probe "map_failed".
11894 (_dl_map_object_from_fd): Pass namespace id to lose.
11895 Added static probe "map_start".
11896 (open_verify): Pass namespace id to lose.
11897 * elf/dl-open.c: Include <stap-probe.h>.
11898 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11899 and "reloc_complete".
11900 * elf/dl-close.c: Include <stap-probe.h>.
11901 (_dl_close_worker): Added static probes "unmap_start" and
11902 "unmap_complete".
11903 * elf/rtld-debugger-interface.txt: New file documenting the above.
11904
9f98c16c
RM
119052012-07-26 Roland McGrath <roland@hack.frob.com>
11906
11907 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11908 rather than a string variable.
11909 * sunrpc/rpc_main.c (h_output): Likewise.
11910 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11911
f3c22df3
PT
119122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11913
11914 * inet/check_native.c: New file.
11915
3129cfc6
JM
119162012-07-26 Joseph Myers <joseph@codesourcery.com>
11917
da865e95
JM
11918 [BZ #13629]
11919 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11920 if larger part has absolute value 1.0.
11921 * math/s_clog10.c (__clog10): Likewise.
11922 * math/s_clog10f.c (__clog10f): Likewise.
11923 * math/s_clog10l.c (__clog10l): Likewise.
11924 * math/s_clogf.c (__clogf): Likewise.
11925 * math/s_clogl.c (__clogl): Likewise.
11926 * math/libm-test.inc (clog_test): Add more tests.
11927 (clog10_test): Likewise.
11928 * sysdeps/i386/fpu/libm-test-ulps: Update.
11929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11930
3129cfc6
JM
11931 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11932 (pltexit): Likewise.
11933 (La_regs): Likewise.
11934 (La_retval): Likewise.
11935 (int_retval): Likewise.
11936 Update #error for removed macros to refer only to definitions in
11937 tst-audit.h.
11938 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11939 macro.
11940 (pltexit): Likewise.
11941 (La_regs): Likewise.
11942 (La_retval): Likewise.
11943 (int_retval): Likewise.
11944 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11945 macro.
11946 (pltexit): Likewise.
11947 (La_regs): Likewise.
11948 (La_retval): Likewise.
11949 (int_retval): Likewise.
11950 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11951 macro.
11952 (pltexit): Likewise.
11953 (La_regs): Likewise.
11954 (La_retval): Likewise.
11955 (int_retval): Likewise.
11956 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11957 macro.
11958 (pltexit): Likewise.
11959 (La_regs): Likewise.
11960 (La_retval): Likewise.
11961 (int_retval): Likewise.
11962 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11963 macro.
11964 (pltexit): Likewise.
11965 (La_regs): Likewise.
11966 (La_retval): Likewise.
11967 (int_retval): Likewise.
11968 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11969 macro.
11970 (pltexit): Likewise.
11971 (La_regs): Likewise.
11972 (La_retval): Likewise.
11973 (int_retval): Likewise.
11974 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11975 macro definitions in tst-audit.h.
11976 * sysdeps/i386/tst-audit.h: New file.
11977 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11978 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11979 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11980 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11981 * sysdeps/sh/tst-audit.h: Likewise.
11982 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11983 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11984 * sysdeps/x86_64/tst-audit.h: Likewise.
11985
bfc07087
AJ
119862012-07-26 Andreas Jaeger <aj@suse.de>
11987
b1b2aaf8
AJ
11988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11989 ptrace.
11990
11991 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11992 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11993 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11994 PTRACE_O_MASK.
11995 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11996 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11997 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11998
bfc07087
AJ
11999 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12000 value.
12001
12002 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12003 _sigsys.
12004 (si_call_addr, si_syscall, si_arch): Define new macro.
12005 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12006 _sigsys.
12007 (si_call_addr, si_syscall, si_arch): Define new marcro.
12008 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12009 _sigsys.
12010 (si_call_addr, si_syscall, si_arch): Define new macro.
12011 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12012 _sigsys.
12013 (si_call_addr, si_syscall, si_arch): Define new macro.
12014
89b4b02f
JM
120152012-07-25 Joseph Myers <joseph@codesourcery.com>
12016
12017 [BZ #13717]
12018 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12019 Change to 2.4.21 where previously 2.4.1.
12020 * sysdeps/unix/sysv/linux/configure: Regenerated.
12021 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12022 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12023 Linux kernel version.
12024 (__ASSUME_STD_AUXV): Remove.
12025 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12026 kernel version.
12027 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12028 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12029 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12030 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12031 (__ASSUME_NETLINK_SUPPORT): Likewise.
12032 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12033 (__no_netlink_support): Remove conditional definition.
12034 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12035 Remove.
12036 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12037 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12038 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12039 (if_nameindex_ioctl): Remove.
12040 (if_nameindex_netlink): Do not handle __no_netlink_support.
12041 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12042 code.
12043 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12044 Remove conditional code.
12045 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12046 code.
12047 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12048 unconditional.
12049 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12050 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12051 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12052 Remove.
12053 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12054 [!__ASSUME_STD_AUXV]: Remove conditional code.
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12056 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12057 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12059 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12060 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12061 code.
12062 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12064 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12065 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12066 conditional code.
12067 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12069 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12070 code.
12071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12072 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12073 conditional code.
12074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12075 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12076 code unconditional.
12077 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12078 conditional code.
12079 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12080 unconditional.
12081 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12082 conditional code.
12083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12084 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12085 unconditional.
12086 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12087 conditional code.
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12089 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12090 code unconditional.
12091 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12092 conditional code.
12093 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12094 unconditional.
12095 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12096 conditional code.
12097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12098 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12099 code unconditional.
12100 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12101 conditional code.
12102 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12103 unconditional.
12104 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12105 conditional code.
12106
842a39cd
AS
121072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
12108
12109 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12110 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12111 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12112 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12113 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12114 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12115 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12116 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12117 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12118 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12119 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12120 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12121 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12122 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12123 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12124 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12125 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12126 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12127 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12129 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12130 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12131 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12132
84b3fd84
FW
121332012-07-25 Florian Weimer <fweimer@redhat.com>
12134
12135 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
12136 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12137 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12138 Introduce __libc_secure_getenv.
0c7936d5
FW
12139 * stdlib/Versions (2.17): Add secure_getenv
12140 (GLIBC_PRIVATE): Add __libc_secure_getenv.
12141 * stdlib/secure-getenv.c: Rename __secure_getenv to
12142 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
12143 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
12144 * stdlib/tst-secure-getenv.c: New.
12145 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
12146 * manual/startup.texi (Environment Access): Document
12147 secure_getenv.
84b3fd84
FW
12148 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12149 __libc_secure_getenv.
12150 * inet/ruserpass.c (ruserpass): Likewise.
12151 * malloc/mtrace.c (mtrace): Likewise.
12152 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 12153 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
12154 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12155 * sysdeps/posix/tempname.c: Likewise. Evaluate
12156 HAVE_SECURE_GETENV.
12157 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 12158 __secure_getenv to __libc_secure_getenv.
84b3fd84 12159 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
12160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12161 Likewise.
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12163 Likewise.
12164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 12171
56e49b71
JM
121722012-07-25 Joseph Myers <joseph@codesourcery.com>
12173
12174 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12175 (struct La_i86_retval): Likewise.
12176 (struct La_x86_64_regs): Likewise.
12177 (struct La_x86_64_retval): Likewise.
12178 (struct La_x32_regs): Likewise.
12179 (struct La_x32_retval): Likewise.
12180 (struct La_ppc32_regs): Likewise.
12181 (struct La_ppc32_retval): Likewise.
12182 (struct La_ppc64_regs): Likewise.
12183 (struct La_ppc64_retval): Likewise.
12184 (struct La_sh_regs): Likewise.
12185 (struct La_sh_retval): Likewise.
12186 (struct La_s390_32_regs): Likewise.
12187 (struct La_s390_32_retval): Likewise.
12188 (struct La_s390_64_regs): Likewise.
12189 (struct La_s390_64_retval): Likewise.
12190 (struct La_sparc32_regs): Likewise.
12191 (struct La_sparc32_retval): Likewise.
12192 (struct La_sparc64_regs): Likewise.
12193 (struct La_sparc64_retval): Likewise.
12194 (struct audit_ifaces): Remove architecture-specific pltenter and
12195 pltexit members.
12196 * sysdeps/i386/ldsodefs.h: New file.
12197 * sysdeps/powerpc/ldsodefs.h: Likewise.
12198 * sysdeps/s390/ldsodefs.h: Likewise.
12199 * sysdeps/sh/ldsodefs.h: Likewise.
12200 * sysdeps/sparc/ldsodefs.h: Likewise.
12201 * sysdeps/x86_64/ldsodefs.h: Likewise.
12202
354691b7
MP
122032012-07-25 Marek Polacek <polacek@redhat.com>
12204
12205 [BZ #6808]
12206 * math/libm-test.inc (yn_test): Add another test.
12207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12208 to ERANGE when the result is +-Inf.
12209 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12210 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12211 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12212 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12213
bf9e2071
JM
122142012-07-24 Joseph Myers <joseph@codesourcery.com>
12215
12216 * conform/data/time.h-data (NULL): Use macro-constant. Require
12217 equal to 0.
12218 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12219 clock_t.
12220 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12221
57633811
TS
122222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12223
12224 * configure.in <sysdeps resolving>: Correct printing
12225 Implies_before.
12226 * configure: Regenerate.
12227
c23c33b0
TS
122282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12229
12230 * math/w_ilogb.c: Include <limits.h>.
12231 * math/w_ilogbl.c: Likewise.
12232
b5982523
JM
122332012-07-20 Joseph Myers <joseph@codesourcery.com>
12234
12235 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12236 va_copy. Document allowing for unavailable va_copy only as
12237 pre-C99 compatibility.
12238 * manual/string.texi (Copying and Concatenation): Use va_copy
12239 instead of __va_copy in concat example.
12240
ac4ea442
PT
122412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12242
12243 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12244 (__sendto): Use create_address_port. Initialize APORT and deallocate
12245 it if not null.
12246
f98eafbd
PT
12247 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12248 with O_NOLINK passed to __file_name_lookup.
12249
898c7aab
PT
12250 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12251 with O_NOLINK passed to __file_name_lookup.
12252
0ced335a
PT
12253 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12254 negative N or less than NGIDS.
12255
b3404dbd
PT
12256 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12257 type to string_t. Set ERANGE as errno and return it if NAME is not big
12258 enough. Use memcpy instead of strncpy.
12259
0f48659e
JM
122602012-07-20 Joseph Myers <joseph@codesourcery.com>
12261
12262 * elf/Makefile (check-data): Remove.
12263 (localplt.data): New vpath directive.
12264 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12265 instead of $(check-data).
12266 * scripts/data/localplt-generic.data: Move to ...
12267 * sysdeps/generic/localplt.data: ... here.
12268 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12269 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12270 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12272 ... here.
12273 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12275 ... here.
12276 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12278 ... here.
12279 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12281 ... here.
12282 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12284 ... here.
12285 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12287 ... here.
12288
d37cbdaa
AZ
122892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12290
12291 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12292 PPC32 and PPC64 files.
12293 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12294 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12295
46f85fc2
AK
122962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12297
12298 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12299 __makecontext_ret to ...
12300 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12301 ... here and call exit if uc_link is NULL. New file.
12302 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12303 __makecontext_ret.S.
12304 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12305 __makecontext_ret to ...
12306 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12307 ... here and call exit if uc_link is NULL. New file.
12308 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12309 __makecontext_ret.S.
12310
08f43f9b
AK
123112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12312
12313 * elf/elf.h (R_390_IRELATIVE): New definition.
12314 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12315 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12316 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12317 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12318 (elf_machine_lazy_rel): Likewise.
12319 * sysdeps/s390/dl-irel.h: New file.
12320 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12321 * sysdeps/s390/s390-64/memset.S: New asm code.
12322 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12323 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12324 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12325 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12326 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12327 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12328 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12329 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12330 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12331 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12332 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12333 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12334 * sysdeps/s390/s390-32/memset.S: New asm code.
12335 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12336
3b05db33
MP
123372012-07-17 Marek Polacek <polacek@redhat.com>
12338
12339 [BZ #14349]
12340 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12341 * sysdeps/s390/s390-64/configure.in: Likewise.
12342 * sysdeps/sparc/configure.in: Likewise.
12343 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12344 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12345 * sysdeps/i386/configure.in: Likewise.
12346 * sysdeps/x86_64/configure.in: Likewise.
12347 * sysdeps/sh/configure.in: Likewise.
12348 * sysdeps/s390/s390-32/configure: Regenerated.
12349 * sysdeps/s390/s390-64/configure: Likewise.
12350 * sysdeps/x86_64/configure: Likewise.
12351 * sysdeps/sh/configure: Likewise.
12352 * sysdeps/powerpc/powerpc64/configure: Likewise.
12353 * sysdeps/powerpc/powerpc32/configure: Likewise.
12354 * sysdeps/sparc/configure: Likwise.
12355 * sysdeps/i386/configure: Likewise.
12356
a66877c6
MP
12357 * elf/dl-open.c: Comment fixes.
12358
cfc82fd8
JM
123592012-07-17 Joseph Myers <joseph@codesourcery.com>
12360
bd29910a
JM
12361 * Makefile [CXX] (check-data): Remove.
12362 [CXX] (c++-types.data): New vpath directive.
12363 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12364 vpath. Do not allow for C++ type data being missing.
12365 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12366 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12367 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12368 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12369 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12370 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12371 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12373 ... here.
12374 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12376 ... here.
12377 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12379 ... here.
12380 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12382 ... here.
12383 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12385 ... here.
12386 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12388 ... here.
12389 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12391 ... here.
12392 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12394
cfc82fd8
JM
12395 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12396 definitions to architecture-specific files.
12397 (TLS_IE): Likewise.
12398 (TLS_LD): Likewise.
12399 (TLS_GD): Likewise.
12400 * sysdeps/i386/tls-macros.h: New file.
12401 * sysdeps/powerpc/tls-macros.h: Likewise.
12402 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12403 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12404 * sysdeps/sh/tls-macros.h: Likewise.
12405 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12406 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12407 * sysdeps/x86_64/tls-macros.h: Likewise.
12408
f7db3170
TS
124092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12410
07cbfc23
TS
12411 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12412 zero value for regular exit case.
12413
f7db3170
TS
12414 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12415 (__start_context): Preserve zero value for regular exit case.
12416
dc97c227
TS
124172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12418 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12419
12420 * manual/setjmp.texi (setcontext): Clarify normal process
12421 termination when uc_link is the null pointer.
12422 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12423 exit call.
12424
d0cd7d02
AS
124252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12426
12427 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12428 preprocessor. Test for each exception mask separately.
12429
dd318934
AJ
124302012-07-16 Andreas Jaeger <aj@suse.de>
12431
12432 * po/ru.po: Update from translation team.
12433
8048311a
JM
124342012-07-15 Joseph Myers <joseph@codesourcery.com>
12435
12436 * conform/data/string.h-data (NULL): Use macro-constant. Require
12437 equal to 0.
12438 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12439 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12440 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12441 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12443
b637d46e
AJ
124442012-07-13 Andreas Jaeger <aj@suse.de>
12445
12446 * po/fr.po: Update from translation team.
12447
541428fe
MP
124482012-07-12 Marek Polacek <polacek@redhat.com>
12449
12450 [BZ #14173]
12451 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12452 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12453 loop condition.
12454
ec332e94
JM
124552012-07-12 Joseph Myers <joseph@codesourcery.com>
12456
12457 [BZ #13717]
12458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12459 Change to 2.4.1 where previously 2.4.0.
12460 * sysdeps/unix/sysv/linux/configure: Regenerated.
12461 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12462 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12463 version.
12464 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12465 (__ASSUME_AT_CLKTCK): Remove.
12466 (__ASSUME_AT_PAGESIZE): Likewise.
12467 (__ASSUME_AT_XID): Likewise.
12468 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12469 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12470 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12471 unconditionally.
12472 (HAVE_AUX_PAGESIZE): Likewise.
12473 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12474 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12475 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12476
7b6e99be
JB
124772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12478
12479 [BZ #14307]
12480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12481 the temporary buffer used to invoke __gethostbyname2_r,
12482 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12483 host_data / struct gaih_addrtuple.
12484 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12485 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12486 header file nss/nsswitch.h.
12487 * nss/nsswitch.h (global scope): Add definition of implementation
12488 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12489 resolv/nss_dns/dns-host.c).
12490
608404eb
AJ
124912012-07-11 Andreas Jaeger <aj@suse.de>
12492
12493 * po/fr.po: Update from translation team.
12494
71220aca
AJ
12495 * po/sv.po: Update from translation team
12496 * po/fr.po: Another update from translation team.
12497
28cfe843
AZ
124982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12499
12500 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12501 for subnormals or multiply small sinh result by itself.
12502 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12504
6b90f981
DM
125052012-07-11 David S. Miller <davem@davemloft.net>
12506
12507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12508
c6825772
AS
125092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12510
12511 [BZ #14347]
12512 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12513 (INTERNAL_MARK): Shift it here.
12514
7b8e0d49
MP
125152012-07-10 Marek Polacek <polacek@redhat.com>
12516
12517 [BZ #14151]
12518 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12519 libc_cv_asm_global_directive with .globl.
12520 * configure: Regenerated.
12521 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12522 with .globl.
12523 * sysdeps/i386/configure: Regenerated.
12524 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12525 with .globl.
12526 * sysdeps/x86_64/configure: Regenerated.
12527 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12528 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12529 * elf/tst-unique2mod2.c: Likewise.
12530 * elf/tst-unique2mod1.c: Likewise.
12531 * elf/tst-unique1mod2.c: Likewise.
12532 * elf/tst-unique1mod1.c: Likewise.
12533 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12534 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12535 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12536 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12537 * sysdeps/mach/sysdep.h: Likewise.
12538 * sysdeps/i386/sysdep.h: Likewise.
12539 * sysdeps/i386/i386-mcount.S: Likewise.
12540 * sysdeps/x86_64/_mcount.S: Likewise.
12541 * sysdeps/x86_64/sysdep.h: Likewise.
12542 * sysdeps/sh/_mcount.S: Likewise.
12543 * sysdeps/sh/sysdep.h: Likewise.
12544 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12545 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12546 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12547 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12548 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12549 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12550 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12551 * locale/localeinfo.h: Likewise.
12552 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12553 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12554
6c55cda3
RM
125552012-07-09 Roland McGrath <roland@hack.frob.com>
12556
12557 [BZ #14336]
12558 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12559 system".
12560 * manual/message.texi (The Uniforum approach): Likewise.
12561 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12562 (glibc iconv Implementation): Likewise.
12563
638a572e
JM
125642012-07-09 Joseph Myers <joseph@codesourcery.com>
12565
12566 [BZ #14337]
12567 * math/s_clog.c (__clog): Avoid scaling a value down where that
12568 could result in underflow.
12569 * math/s_clog10.c (__clog10): Likewise.
12570 * math/s_clog10f.c (__clog10f): Likewise.
12571 * math/s_clog10l.c (__clog10l): Likewise.
12572 * math/s_clogf.c (__clogf): Likewise.
12573 * math/s_clogl.c (__clogl): Likewise.
12574 * math/libm-test.inc (clog_test): Add more tests.
12575 (clog10_test): Likewise.
12576 * sysdeps/i386/fpu/libm-test-ulps: Update.
12577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12578
261f4859
AS
125792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12580
0abaf3e4
AS
12581 [BZ #14283]
12582 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12583 by 7 not 8 to examine high bit of fractional part.
12584
261f4859
AS
12585 [BZ #14042]
12586 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12587 for call to __mcount_internal.
12588 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12589 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12590 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12591
f17ac40d
JM
125922012-07-06 Joseph Myers <joseph@codesourcery.com>
12593
9ad63c23
JM
12594 [BZ #14154]
12595 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12596 approximation for values within 0x1p-13f of an odd multiple of
12597 pi/4.
12598 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12599 exception. Add more tests.
12600 * sysdeps/i386/fpu/libm-test-ulps: Update.
12601
f17ac40d
JM
12602 [BZ #6778]
12603 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12604 inputs and return -1 for them. Do not check for +Inf in case not
12605 reachable for +Inf.
12606 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12607 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12608 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12609 and return -1 for them. Do not check for +Inf in case not
12610 reachable for +Inf.
12611 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12612 define.
12613 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12614 and return -1 for them. Do not check for +Inf in case not
12615 reachable for +Inf.
12616 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12617 spurious underflow.
12618 * sysdeps/i386/fpu/libm-test-ulps: Update.
12619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12620
fb21f89b
MF
126212012-07-06 Mike Frysinger <vapier@gentoo.org>
12622
12623 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12624
cdfe2c5e
JM
126252012-07-05 Joseph Myers <joseph@codesourcery.com>
12626
12627 [BZ #14157]
12628 [BZ #14331]
12629 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12630 could result in spurious underflow. Scale down values above
12631 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12632 * math/s_csqrtf.c (__csqrtf): Likewise.
12633 * math/s_csqrtl.c (__csqrtl): Likewise.
12634 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12635 spurious underflow.
12636 * sysdeps/i386/fpu/libm-test-ulps: Update.
12637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12638
70d35b67
AS
126392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12640
704bc459
AS
12641 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12642 xopen-msg.sed.
12643 * catgets/xopen-msg.awk: New file.
12644 * catgets/xopen-msg.sed: Removed.
12645
70d35b67
AS
12646 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12647 po2text.sed.
12648 * intl/po2test.awk: New file.
12649 * intl/po2test.sed: Removed.
12650
ca61cf32
JM
126512012-07-04 Joseph Myers <joseph@codesourcery.com>
12652
12653 [BZ #14328]
12654 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12655 or multiply small sinh result by itself.
12656 * math/s_ctanf.c (__ctanf): Likewise.
12657 * math/s_ctanh.c (__ctanh): Likewise.
12658 * math/s_ctanhf.c (__ctanhf): Likewise.
12659 * math/s_ctanhl.c (__ctanhl): Likewise.
12660 * math/s_ctanl.c (__ctanl): Likewise.
12661 * math/libm-test.inc (ctan_test_tonearest): New function.
12662 (ctan_test_towardzero): Likewise.
12663 (ctan_test_downward): Likewise.
12664 (ctan_test_upward): Likewise.
12665 (ctanh_test_tonearest): Likewise.
12666 (ctanh_test_towardzero): Likewise.
12667 (ctanh_test_downward): Likewise.
12668 (ctanh_test_upward): Likewise.
12669 (main): Call these new functions.
12670 * sysdeps/i386/fpu/libm-test-ulps: Update.
12671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12672
ca48a46a
MF
126732012-07-03 Mike Frysinger <vapier@gentoo.org>
12674
12675 * .gitignore: Delete /ports entry.
12676
9d63d37d
AJ
126772012-07-03 Andreas Jaeger <aj@suse.de>
12678
12679 * po/bg.po: Update from translation team.
12680 * po/cs.po: Likewise.
12681 * po/de.po: Likewise.
12682 * po/hr.po: Likewise.
12683 * po/nl.pl: Likewise.
12684 * po/pl.po: Likewise.
12685 * po/vi.po: Likewise.
12686
370ca3d2
JM
126872012-07-03 Joseph Myers <joseph@codesourcery.com>
12688
95f5a9a8
JM
12689 * Makeconfig [!+link] (+link-before-libc): New variable.
12690 [!+link] (+link-after-libc): Likewise.
12691 [!+link] (+link-tests): Likewise.
12692 [!+link] (+link): Define in terms of $(+link-before-libc) and
12693 $(+link-after-libc).
12694 [!+link-static] (+link-static-before-libc): New variable.
12695 [!+link-static] (+link-static-after-libc): Likewise.
12696 [!+link-static] (+link-static-tests): Likewise.
12697 [!+link-static] (+link-static): Define in terms of
12698 $(+link-static-before-libc) and $(+link-static-after-libc).
12699 [build-shared] (link-libc-before-gnulib): New variable.
12700 [build-shared] (link-libc-tests): Likewise.
12701 [build-shared] (link-libc): Define in terms of
12702 $(link-libc-before-gnulib).
12703 [!build-shared] (link-libc-tests): New variable.
12704 (link-libc-static-tests): New variable.
12705 [!gnulib] (gnulib-arch): New variable.
12706 [!gnulib] (gnulib-tests): Likewise.
12707 [!gnulib] (static-gnulib-arch): Likewise.
12708 [!gnulib] (static-gnulib-tests): Likewise.
12709 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12710 Define with "=" instead of ":=".
12711 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12712 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12713 * Rules (binaries-all-notests): New variable.
12714 (binaries-all-tests): Likewise.
12715 (binaries-static-notests): Likewise.
12716 (binaries-static-tests): Likewise.
12717 (binaries-all): Define using $(binaries-all-notests) and
12718 $(binaries-all-tests).
12719 (binaries-static): Define using $(binaries-static-notests) and
12720 $(binaries-static-tests).
12721 (binaries-shared-tests): New variable.
12722 (binaries-shared-notests): Likewise.
12723 (binaries-shared): Remove variable.
12724 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12725 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12726 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12727 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12728 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12729 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12730 * elf/Makefile (sln-modules): New variable.
12731 (extra-objs): Add $(sln-modules:=.o).
12732 (ldconfig-modules): Add static-stubs.
12733 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12734 * elf/static-stubs.c: New file.
12735
7a845b2c
JM
12736 [BZ #14283]
12737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12738 by 7 not 8 to examine high bit of fractional part. Use volatile
12739 variables when splitting into final array of floats if
12740 __FLT_EVAL_METHOD__ != 0.
12741 * math/libm-test.inc (cos_test): Add another test.
12742 (sin_test): Likewise.
12743 * sysdeps/i386/fpu/libm-test-ulps: Update.
12744
e2283f38
JM
12745 [BZ #14273]
12746 * math/libm-test.inc (cosh_test): Add more tests.
12747
370ca3d2
JM
12748 * version.h (RELEASE): Set to "development".
12749 (VERSION): Set to "2.16.90".
12750
ee9247c3
CD
127512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12752
12753 * NEWS: Update copyright. Remove last-updated date.
12754 Mention math library bug fixes and timezone data changes.
12755 * README: Mention GNU/Hurd, x32, and HPPA support status.
12756
4648c381
TS
127572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12758
12759 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12760
aac78a43
AJ
127612012-06-27 Andreas Jaeger <aj@suse.de>
12762
12763 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12764
ed3dbfad
AJ
127652012-06-25 Andreas Jaeger <aj@suse.de>
12766
12767 * sysdeps/s390/fpu/libm-test-ulps: Update.
12768
4d0ee855
AS
127692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12770 Thomas Schwinge <thomas@codesourcery.com>
12771
12772 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12773 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12775 fanotify_mark.
12776
af1bce34
TS
127772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12778
a9fa33ba
TS
12779 * sysdeps/mach/start.c: Remove file.
12780 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12781 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12782 * sysdeps/sh/init-first.c: Likewise.
12783
58f902b8
TS
12784 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12785 registers for frame unwinding purposes, add CFI directives.
12786 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12787 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12788 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12789 Likewise.
12790
1518f58b
TS
12791 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12792 __fortify_fail returning.
12793 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12794
db9b5059
TS
12795 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12796 sysdeps/sh/____longjmp_chk.S.
12797 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12798 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12799 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12800 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12801
967705fe
TS
12802 * sysdeps/sh/abort-instr.h: New file.
12803 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12804 process in case exit returns.
12805
a9def8c4
TS
12806 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12807 initialize the GOT register before use.
12808
2a649725
TS
12809 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12810 calculation of ARGC > 4.
12811
af1bce34
TS
12812 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12813 meaningful names to some local labels.
12814
d230f50a
KK
128152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12816 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12817
12818 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12819 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12820 (__arch_compare_and_exchange_val_16_acq): Likewise.
12821 (__arch_compare_and_exchange_val_32_acq): Likewise.
12822 (atomic_exchange_and_add): Fix gUSA sequence.
12823 (atomic_add): Likewise.
12824 (atomic_add_negative): Likewise.
12825 (atomic_add_zero): Likewise.
12826 (atomic_bit_test_set): Likewise.
12827
0479b305
AS
128282012-06-22 Andreas Schwab <schwab@redhat.com>
12829
12830 [BZ #13579]
12831 * include/link.h (struct link_map): Add l_free_initfini.
12832 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12833 l_initfini.
12834 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12835 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12836 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12837 set.
12838
0e3933b9
CD
128392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12840
12841 * configure.in: Use AC_LANG_SOURCE.
12842 * configure: Regenerate.
12843
4248b1b1
RM
128442012-06-22 Roland McGrath <roland@hack.frob.com>
12845
12846 * configure.in (libc_cv_localstatedir): New substituted variable.
12847 * configure: Regenerated.
12848 * config.make.in (localstatedir): New variable, substituted from
12849 libc_cv_localstatedir.
12850 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12851 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12852 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12853 * sysdeps/gnu/configure: Regenerated.
12854
006dd861
JL
128552012-06-21 Jeff Law <law@redhat.com>
12856
12857 [BZ #14277]
12858 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12859 free. Simplify list management for _LIBC case.
12860
79662d42
JM
128612012-06-21 Joseph Myers <joseph@codesourcery.com>
12862
b7abb4bf
JM
12863 [BZ #14273]
12864 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12865 Clear sign bit of 64-bit integer value before comparing against
12866 overflow value.
12867
79662d42
JM
12868 * sysdeps/mach/configure: Regenerated.
12869
1f150908
L
128702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12871
12872 [BZ #14278]
12873 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12874
28363bbf
JL
128752012-06-21 Jeff Law <law@redhat.com>
12876
12877 [BZ #13882]
12878 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12879 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12880 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12881 * elf/dl-open.c (dl_open_worker): Likewise.
12882
09615db4
CD
128832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12884
12885 * scripts/list-sources.sh: Scan PORTS for translations.
12886 * po/libc.pot: Regenerated.
12887
2174c6dd
AJ
128882012-06-21 Andreas Jaeger <aj@suse.de>
12889
12890 [BZ #12194]
12891 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12892 warning.
12893 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12894 * bits/byteswap-16.h (__bswap_16): Likewise.
12895 * bits/byteswap.h (__bswap_constant_16): Likewise.
12896
3ee947b1
L
128972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12898
12899 [BZ #14117]
a2f34833
L
12900 * sysdeps/i386/fpu_control.h: Removed.
12901 * sysdeps/x86_64/fpu_control.h: Moved to ...
12902 * sysdeps/x86/fpu_control.h: Here.
12903
3ee947b1
L
12904 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12905 (_FPU_SETCW): Likewise.
12906
ed1825f8
L
129072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12908
25f1282a
L
12909 [BZ #14117]
12910 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12911 * sysdeps/x86/fpu/bits/mathinline.h: This.
12912 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12913
ed1825f8
L
12914 [BZ #14050]
12915 [BZ #14117]
12916 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12917 functions if __x86_64__ is defined.
12918
36d54b74
CLT
129192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12920
12921 * string/endian.h: Add !__ASSEMBLER__ condition for including
12922 conversion interfaces.
12923
10285c21
JM
129242012-06-15 Joseph Myers <joseph@codesourcery.com>
12925
12926 [BZ #14241]
12927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12928 of ABS(x) in calculating zero to negative powers other than odd
12929 integers.
12930 * math/libm-test.inc (pow_test): Add more tests.
12931
06c5abbd
AJ
129322012-06-15 Andreas Jaeger <aj@suse.de>
12933
12934 * manual/contrib.texi (Contributors): Update entry of Liubov
12935 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12936 Machado Filho.
12937
a3aeac40
CH
129382012-06-15 Cyril Hrubis <metan@ucw.cz>
12939
12940 * string/string.h: Add __wur to GNU version of strerror_r.
12941
49bdf4c1
L
129422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12943
12944 [BZ #14229]
12945 * string/Makefile (tests): Add tst-strtok_r.
12946 * string/tst-strtok_r.c: New file.
12947 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12948 RAX_LP/RDX_LP on SAVE_PTR.
12949
834f9b8d
RM
129502012-06-14 Roland McGrath <roland@hack.frob.com>
12951
12952 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12953
75fa1921
JM
129542012-06-14 Joseph Myers <joseph@codesourcery.com>
12955
12956 * libm_test.inc (csqrt_test): Allow more spurious underflow
12957 exceptions.
12958 (j0_test): Likewise.
12959 (j1_test): Likewise.
12960 (y0_test): Likewise.
12961 (y1_test): Likewise.
12962
771766df
CD
129632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12964
12965 * po/Makefile (libc.pot): Use UTF-8 charset.
12966
ceb9e56b
PP
129672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12968
12969 [BZ #14210]
12970 Suppress sign-conversion warning from FD_SET.
12971 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12972 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12973 not unsigned long int.
12974 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12975
ddb28975
L
129762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12977
12978 [BZ #14050]
12979 [BZ #14117]
12980 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12981 __extern_always_inline instead of __extern_inline.
12982 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12983 (__signbit): Likewise.
12984 (__signbitl): Support C++ namespace.
12985 (lrintf): New inline function.
12986 (lrint): Likewise.
12987 (llrintf): Likewise.
12988 (llrint): Likewise.
12989 (fmaxf): Likewise.
12990 (fmax): Likewise.
12991 (fminf): Likewise.
12992 (fmin): Likewise.
12993 (rint): Likewise.
12994 (rintf): Likewise.
12995 (ceil): Likewise.
12996 (ceilf): Likewise.
12997 (floor): Likewise.
12998 (floorf): Likewise.
12999 (nearbyint): Likewise.
13000 (nearbyintf): Likewise.
13001
d7b4fb26
TS
130022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
13003
13004 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13005 non-default versions.
13006
eb55f5c2
RM
130072012-06-11 Roland McGrath <roland@hack.frob.com>
13008
13009 [BZ #14218]
13010 * manual/argp.texi (Argp): Reword argp_parse description slightly.
13011
366af02c
TS
130122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13013
99ff6e5c
TS
13014 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13015 (FE_UPWARD, FE_DOWNWARD): Don't define.
13016 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13017 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13018
366af02c
TS
13019 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13020 reading it.
13021 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13022 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13023
793ea851
KK
130242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13025
13026 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13028 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13029 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13030
a728a38f
L
130312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
13032
13033 [BZ #14117]
c08010c7
L
13034 * sysdeps/i386/fpu/bits/fenv.h: Removed.
13035 * sysdeps/i386/fpu/Implies: New file.
13036 * sysdeps/x86_64/fpu/Implies: Likewise.
13037 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13038 * sysdeps/x86/fpu/bits/fenv.h: This.
13039
a728a38f
L
13040 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13041 __SSE_MATH__.
13042
6e230d11
SP
130432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13044
13045 [BZ #14134]
13046 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13047 character 0xffff that matches the last element of the
13048 conversion table.
13049
1b671feb
AZ
130502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13051
13052 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13053 fmodl commit.
13054
6043738b
AZ
130552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13056
13057 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13058 values higher than 25.6283.
13059
34ae0b32
AZ
130602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13061
13062 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13063 subnormal exponent extraction and add some __builtin_expect.
13064 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13065 Fix for subnormal mantissa calculation.
13066
1214ec8f
MF
130672012-06-04 Mike Frysinger <vapier@gentoo.org>
13068
13069 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13070 cpu2 is -1 and errno is not ENOSYS.
13071
f3d1f93c
L
130722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
13073
13074 [BZ #14117]
0e4a3cd7
L
13075 * sysdeps/i386/i486/bits/string.h: Renamed to ...
13076 * sysdeps/x86/bits/string.h: This.
13077 * sysdeps/x86_64/bits/string.h: Removed.
13078
6704c645
L
13079 * sysdeps/i386/i486/bits/string.h: Define inline functions only
13080 if not compiling for x86-64, but compiling for >= i486.
13081
48495318
L
13082 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13083 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13084
14adcbfc
L
13085 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13086 New macro from Linux kernel 3.4.0.
13087 (FP_XSTATE_MAGIC2): Likewise.
13088 (FP_XSTATE_MAGIC2_SIZE): Likewise.
13089 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13090 (struct _fpx_sw_bytes): New struct.
13091 (struct _xsave_hdr): Likewise.
13092 (struct _ymmh_state): Likewise.
13093 (struct _xstate): Likewise.
13094
68e408ab
L
13095 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13096 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13097 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13098 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13099 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13100 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13101
f3d1f93c
L
13102 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13103 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13104 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13105 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13106 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13107 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13108
d9dc34cd
TMQMF
131092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13110
13111 [BZ #13743]
13112 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13113 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13114 (sysdep_headers): Include sys/platform/ppc.h.
13115 * sysdeps/powerpc/test-gettimebase.c: Test for
13116 __ppc_get_timebase() to catch future ISA opcode/insn changes.
13117 * manual/Makefile (appendices): Include platform.texi.
13118 * manual/contrib.texi (Contributors): Update @node pointers.
13119 * manual/maint.texi (Maintenance): Likewise.
13120 (Platform): New node.
13121 * manual/platform.texi: New file. Document the new features.
13122
4af3879c
SP
131232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13124 Jakub Jelinek <jakub@redhat.com>
13125
13126 [BZ #14188]
13127 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13128 where __builtin_expect is unavailable.
13129
2fd6ff13
DM
131302012-06-03 David S. Miller <davem@davemloft.net>
13131
13132 * stdlib/longlong.h: Updated from GCC.
13133
173f7220
AS
131342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
13135
13136 [BZ #14042]
13137 * sysdeps/powerpc/powerpc32/mcount.c: New file.
13138 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13139 __mcount_internal.
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13141 (GLIBC_2.16): Likewise.
13142
f34a1c6f
L
131432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13144
13145 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13146
88a4576f
JM
131472012-06-01 Joseph Myers <joseph@codesourcery.com>
13148
ea32bcdd
JM
13149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13150 (default-abi): New variable.
13151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13152 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13153 variable.
13154 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13155 Likewise.
13156 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13157 Likewise.
13158 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13159 Likewise.
13160
88a4576f
JM
13161 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13162 definition. Document in comment.
13163
402fe938
DM
131642012-06-01 David S. Miller <davem@davemloft.net>
13165
13166 * stdlib/longlong.h: Updated from GCC.
13167
3553723f
L
131682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13169
13170 [BZ #14117]
3bd872c4
L
13171 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13172 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13173 sys/debugreg.h sys/io.h here.
13174 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13175 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13176 sys/io.h.
13177 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13178 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13179 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13180 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13181 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13182 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13183
3553723f
L
13184 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13185 Define only if __x86_64__ is defined.
13186
4842e4fe
JM
131872012-06-01 Joseph Myers <joseph@codesourcery.com>
13188
c5bfe3d5
JM
13189 [BZ #14048]
13190 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13191 Use int64_t for variable i.
13192 * math/libm-test.inc (fmod_test): Add more tests.
13193
4842e4fe
JM
13194 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13195 z computation is not scheduled after fetestexcept.
13196 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13197 Use math_force_eval instead of asm to ensure calculation scheduled
13198 before exception test.
13199 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13200 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13201
efb73488
AJ
132022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13203
13204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13205 computation is not scheduled after fetestexcept.
13206
29bcce7c
L
132072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13208
13209 [BZ #14117]
13210 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13211 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13212
73a68f94
AZ
132132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13214
13215 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13216 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13217
67b6df78
L
132182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13219
edf2933a 13220 [BZ #14117]
ebc64a18
L
13221 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13222 <bits/wordsize.h>.
13223 (__WCHAR_MIN): Support __WORDSIZE == 64.
13224 (__WCHAR_MAX): Likewise.
13225
edf2933a
L
13226 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13227 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13228
57c6cf40
L
13229 [BZ #14183]
13230 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13231 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13232
67b6df78 13233 [BZ #14117]
8eb6281e
L
13234 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13235 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13236
aac639f4
L
13237 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13238 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13239
67b6df78
L
13240 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13241 Defined to 1 if __x86_64__ isn't defined.
13242 (_STAT_VER_LINUX_OLD): New.
13243 (st_atime): Remove duplicate.
13244 (st_mtime): Likewise.
13245 (st_ctime): Likewise.
13246
1c2cfe81
DM
132472012-05-31 David S. Miller <davem@davemloft.net>
13248
13249 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13250 entries.
13251
5be8418c
AS
132522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13253
e7725326
AS
13254 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13255 gen-libm-test.pl.
13256
5be8418c
AS
13257 [BZ #14132]
13258 * elf/dl-reloc.c: Include <_itoa.h>.
13259 (_dl_reloc_bad_type): Remove use of INTUSE.
13260 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13261 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13262 * stdio-common/psiginfo.c (psiginfo): Likewise.
13263 * stdio-common/psignal.c (psignal): Likewise.
13264 * string/strsignal.c (strsignal): Likewise.
13265 * include/signal.h (_sys_siglist): Declare hidden proto.
13266 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13267 INTVARDEF with libc_hidden_data_def.
13268 * stdio-common/itoa-udigits.c: Likewise.
13269 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13270 (_itoa_lower_digits_internal): Remove declaration.
13271 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13272 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13273 (_sys_sigabbrev_internal): Remove aliases.
13274 (_sys_siglist): Define hidden alias.
13275
507352f1
MT
132762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13277
13278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13279 bits/sysctl.h.
13280
42bbb1c3
L
132812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13282
13283 [BZ #14117]
6bd784b6
L
13284 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13285 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13286
8bca20f0
L
13287 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13288 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13289 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13290 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13291 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13292 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13293
f9e890a9
L
13294 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13295 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13296 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13297
471101a1
L
13298 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13299 with __addr.
13300 (insw): Likewise.
13301 (insl): Likewise.
13302 (outsb): Likewise.
13303 (outsw): Likewise.
13304 (outsl): Likewise.
13305
6451c862
L
13306 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13307 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13308 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13309
a254b8c9
L
13310 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13311 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13312 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13313 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13314 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13315 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13316
b8dfdd92
L
13317 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13318 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13319
578cd270
L
13320 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13321 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13322
de662f5f
L
13323 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13324 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13325 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13326
25653439
L
13327 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13328 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13329 to ...
13330 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13331
6bad24a0
L
13332 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13333 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13334 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13335
42bbb1c3
L
13336 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13337 for x86-64.
13338 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13339
2d10d547
JM
133402012-05-31 Joseph Myers <joseph@codesourcery.com>
13341
13342 * math/math.h (M_El): Use two more decimal places.
13343 (M_LOG2El): Likewise.
13344 (M_LOG10El): Likewise.
13345 (M_LN2l): Likewise.
13346 (M_LN10l): Likewise.
13347 (M_PIl): Likewise.
13348 (M_PI_2l): Likewise.
13349 (M_PI_4l): Likewise.
13350 (M_1_PIl): Likewise.
13351 (M_2_PIl): Likewise.
13352 (M_2_SQRTPIl): Likewise.
13353 (M_SQRT2l): Likewise.
13354 (M_SQRT1_2l): Likewise.
13355
f230c29b
DM
133562012-05-31 David S. Miller <davem@davemloft.net>
13357
13358 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13359 values between float registers.
13360 * sysdeps/sparc/sparc64/memset.S: Likewise.
13361 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13362
fed806c3
MF
133632012-05-31 Mike Frysinger <vapier@gentoo.org>
13364
13365 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13366 -D_FORTIFY_SOURCE=1.
13367 (CPPFLAGS-tst-longjmp_chk.c): Define.
13368 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13369 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13370 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13371 CFLAGS-tst-wchar-h.c.
13372
30917259
MP
133732012-05-31 Marek Polacek <polacek@redhat.com>
13374
13375 [BZ #14132]
13376 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13377 __endmntent_internal): Remove declaration.
13378 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13379 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13380 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13381
1c58d5dc
DM
133822012-05-30 David S. Miller <davem@davemloft.net>
13383
13384 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13385 (___Q_simulate_exceptions): Use real FP ops rather than writing
13386 into the %fsr.
13387 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13388 Likewise.
13389
7dc00e0d
L
133902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13391
13392 [BZ #14117]
0bd53985
L
13393 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13394 * sysdeps/x86/bits/xtitypes.h: This.
13395
3a257e66
L
13396 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13397 * sysdeps/x86/bits/wordsize.h: This.
13398
62f62904
L
13399 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13400 * sysdeps/x86/bits/huge_vall.h: This.
13401
404fe9d9
L
13402 * sysdeps/i386/bits/select.h: Removed.
13403 * sysdeps/x86_64/bits/select.h: Renamed to ...
13404 * sysdeps/x86/bits/select.h: This.
13405
d48d0446
L
13406 * sysdeps/i386/bits/setjmp.h: Removed.
13407 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13408 * sysdeps/x86/bits/setjmp.h: This.
13409
7dc00e0d
L
13410 * sysdeps/i386/bits/mathdef.h: Removed.
13411 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13412 * sysdeps/x86/bits/mathdef.h: This.
13413
03277f8f
AS
134142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13415
13416 [BZ #14132]
13417 * include/sys/socket.h (__connect_internal)
13418 (__libc_sa_len_internal): Remove declaration.
13419 (__connect, __libc_sa_len): Declare hidden_proto.
13420 (SA_LEN): Remove use of INTUSE.
13421 * socket/connect.c: Add libc_hidden_def.
13422 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13423 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13424 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13425 alias.
13426 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13427 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13428 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13429 of adding _internal alias.
13430
13764867
L
134312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13432
13433 [BZ #14117]
6bd97696
L
13434 * sysdeps/i386/bits/link.h: Removed.
13435 * sysdeps/i386/bits/linkmap.h: Likewise.
13436 * sysdeps/x86_64/bits/link.h: Renamed to ...
13437 * sysdeps/x86/bits/link.h: This.
13438 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13439 * sysdeps/x86/bits/linkmap.h: This.
13440
f726f0bb
L
13441 * sysdeps/i386/bits/endian.h: Removed.
13442 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13443 * sysdeps/x86/bits/endian.h: This.
13444
13764867
L
13445 * sysdeps/i386/bits/byteswap.h: Removed.
13446 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13447 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13448 * sysdeps/x86/bits/byteswap.h: This.
13449 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13450 * sysdeps/x86/bits/byteswap-16.h: This.
13451 * sysdeps/i386/Implies: Add x86.
13452 * sysdeps/x86_64/Implies: Likewise.
13453
ae251b0b
DM
134542012-05-30 David S. Miller <davem@davemloft.net>
13455
13456 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13457 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13458 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13459 (FP_TRAPPING_EXCEPTIONS): Define.
13460 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13461 (FP_TRAPPING_EXCEPTIONS): Define.
13462 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13463 subnormals only when inexact has been signalled or underflow
13464 exceptions are enabled.
13465 (_FP_PACK_CANONICAL): Likewise.
13466
d5c90867
L
134672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13468
13469 [BZ #14183]
13470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13471 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13472
63f1549e
RH
134732012-05-30 Richard Henderson <rth@twiddle.net>
13474
8d8f2279
RH
13475 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13476 with #ifndef NOT_IN_libc.
13477
63f1549e
RH
13478 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13479 marked to avoid plt entry.
13480
0ab0291b
L
134812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13482
13483 [BZ #14112]
13484 * Makeconfig (default-abi): New macro.
13485 (abi-includes): Likewise.
13486 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13487 $(abi-$(default-abi)-lib-soname) for soname if defined.
13488 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13489 abi-variants.
13490 * Makefile (installed-stubs): Likewise.
13491 * include/stubs-biarch.h: Removed.
13492 * scripts/lib-names.awk: Only handle one library at a time.
13493 * scripts/soversions.awk: Remove WORDSIZE support.
13494 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13495 entries.
13496 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13497 Removed.
13498 (syscall-list-default-condition): Likewise.
13499 (syscall-list-default-condition): Likewise.
13500 (syscall-list-includes): Likewise.
13501 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13502 syscall-list-* with abi-*. Handle undefined abi-variants.
13503 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13504 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13505 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13506 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13507 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13508 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13509 Removed.
13510 (syscall-list-32-options): Likewise.
13511 (syscall-list-32-condition): Likewise.
13512 (syscall-list-64-options): Likewise.
13513 (syscall-list-64-condition): Likewise.
13514 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13515 macro.
13516 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13517 Renamed to ...
13518 (abi-*): This.
13519 (abi-64-ld-soname): New macro.
13520 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13521 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13522 Renamed to ...
13523 (abi-*): This.
13524 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13525 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13526
4da0431d
JM
135272012-05-30 Joseph Myers <joseph@codesourcery.com>
13528
3a85279c
JM
13529 * sysdeps/unix/sysv/linux/kernel-features.h
13530 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13531 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13532 include <kernel-features.h>.
13533 [!__NR_ftruncate64]: Remove conditional code.
13534 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13535 [__NR_ftruncate64]: Make code unconditional.
13536 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13537 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13538 include <kernel-features.h>.
13539 [!__NR_ftruncate64]: Remove conditional code.
13540 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13541 [__NR_ftruncate64]: Make code unconditional.
13542 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13544 include <kernel-features.h>.
13545 [!__NR_ftruncate64]: Remove conditional code.
13546 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13547 [__NR_ftruncate64]: Make code unconditional.
13548 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13550 include <kernel-features.h>.
13551 [!__NR_ftruncate64]: Remove conditional code.
13552 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13553 [__NR_ftruncate64]: Make code unconditional.
13554 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13555
4da0431d
JM
13556 * configure.in (libc_cv_fpie): Weaken to a compile test using
13557 LIBC_TRY_CC_OPTION.
13558 * configure: Regenerated.
13559
11ef492c
AK
135602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13561
13562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13566 Refreshed.
13567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13573 Refreshed.
13574
d66ef399
DM
135752012-05-27 David S. Miller <davem@davemloft.net>
13576
13577 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13578 (___Q_zero): New.
13579 (__Q_simulate_exceptions): Return void. Change to simulate
13580 exceptions by writing into the %fsr.
13581 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13582 (__Qp_handle_exceptions): Likewise.
13583 (numbers): Delete.
13584 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13585 __Qp_handle_exceptions.
13586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13587 __Qp_handle_exceptions.
13588 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13589 as unused and give dummy FP_RND_NEAREST initializer.
13590 (FP_INHIBIT_RESULTS): Define.
13591 (___Q_simulate_exceptions): Update declaration.
13592 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13593 formatting.
13594 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13595 as unused and give dummy FP_RND_NEAREST initializer.
13596 (__Qp_handle_exceptions): Update declaration.
13597 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13598 formatting.
13599
04fb54b5
TS
136002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13601
13602 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13603 the temporary FPU control word.
13604 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13605 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13606 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13607 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13608 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13609 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13610 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13611 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13612 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13613 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13614 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13615
3f99608f
KK
136162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13617
13618 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13619 fields.
13620
65a4de4e
CLT
136212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13622
13623 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13624 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13625 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13626 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13627 Likewise.
13628 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13629 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13630 Likewise.
13631
15749d40
UD
136322012-05-27 Ulrich Drepper <drepper@gmail.com>
13633
13634 * po/h.po: Update from translation team.
13635
25dbcb27
AS
136362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13637
3d3f8e55
AS
13638 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13639
25dbcb27
AS
13640 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13641 handling of denormals.
13642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13643 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13644 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13645 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13648 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13649 Likewise.
13650
7ad47a80 136512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
13652
13653 [BZ #14152]
13654 * math/libm-test.inc (fma_test): Don't always expect underflow
13655 exception.
13656
9c6ea9fa
SP
136572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13658
13659 [BZ #12416]
13660 * elf/tst-execstack.c: Include stackinfo.h.
13661 (do_test): Adjust test case to ensure that pthread_getattr_np
13662 behaviour remains the same after marking stack executable.
13663
a8239222
JM
136642012-05-25 Joseph Myers <joseph@codesourcery.com>
13665
13666 * sysdeps/unix/sysv/linux/kernel-features.h
13667 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13668 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13669 kernel-features.h.
13670 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13671 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13672 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13673 kernel-features.h.
13674 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13675 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13676
918b5606
L
136772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13678
13679 * configure.in: Define the default includes to being none.
13680 * configure: Regenerated.
13681
3a097cc7
RM
136822012-05-25 Roland McGrath <roland@hack.frob.com>
13683
8422c9a5
RM
13684 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13685 * sysdeps/x86_64/setjmp.S: Likewise.
13686 * sysdeps/i386/bsd-setjmp.S: Likewise.
13687 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13688 * sysdeps/i386/setjmp.S: Likewise.
13689 * sysdeps/i386/__longjmp.S: Likewise.
13690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13691 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13692
3a097cc7
RM
13693 * include/stap-probe.h: New file.
13694 * configure.in: Handle --enable-systemtap.
13695 * configure: Regenerated.
13696 * config.h.in (USE_STAP_PROBE): New #undef.
13697 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13698 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13699 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13700
21708942
JM
137012012-05-25 Joseph Myers <joseph@codesourcery.com>
13702
13703 [BZ #13717]
13704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13705 to 2.4.0 where earlier.
13706 * sysdeps/unix/sysv/linux/configure: Regenerated.
13707 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13708 <kernel-features.h>.
13709 [__ASSUME_32BITUIDS]: Make code unconditional.
13710 [!__ASSUME_32BITUIDS]: Remove conditional code.
13711 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13712 <kernel-features.h>.
13713 [__ASSUME_32BITUIDS]: Make code unconditional.
13714 [!__ASSUME_32BITUIDS]: Remove conditional code.
13715 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13716 [__ASSUME_32BITUIDS]: Make code unconditional.
13717 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13718 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13719 <kernel-features.h>.
13720 [__ASSUME_32BITUIDS]: Make code unconditional.
13721 [!__ASSUME_32BITUIDS]: Remove conditional code.
13722 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13723 <kernel-features.h>.
13724 [__ASSUME_32BITUIDS]: Make code unconditional.
13725 [!__ASSUME_32BITUIDS]: Remove conditional code.
13726 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13727 <kernel-features.h>.
13728 [__ASSUME_32BITUIDS]: Make code unconditional.
13729 [!__ASSUME_32BITUIDS]: Remove conditional code.
13730 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13731 <kernel-features.h>.
13732 [__ASSUME_32BITUIDS]: Make code unconditional.
13733 [!__ASSUME_32BITUIDS]: Remove conditional code.
13734 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13735 <kernel-features.h>.
13736 [__ASSUME_32BITUIDS]: Make code unconditional.
13737 [!__ASSUME_32BITUIDS]: Remove conditional code.
13738 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13739 <kernel-features.h>.
13740 [__ASSUME_32BITUIDS]: Make code unconditional.
13741 [!__ASSUME_32BITUIDS]: Remove conditional code.
13742 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13743 <kernel-features.h>.
13744 [__ASSUME_32BITUIDS]: Make code unconditional.
13745 [!__ASSUME_32BITUIDS]: Remove conditional code.
13746 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13747 <kernel-features.h>.
13748 [__ASSUME_32BITUIDS]: Make code unconditional.
13749 [!__ASSUME_32BITUIDS]: Remove conditional code.
13750 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13751 <kernel-features.h>.
13752 [__ASSUME_32BITUIDS]: Make code unconditional.
13753 [!__ASSUME_32BITUIDS]: Remove conditional code.
13754 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13755 <kernel-features.h>.
13756 [__ASSUME_32BITUIDS]: Make code unconditional.
13757 [!__ASSUME_32BITUIDS]: Remove conditional code.
13758 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13759 <kernel-features.h>.
13760 [__NR_setresgid] (__setresgid): Do not declare.
13761 [__ASSUME_32BITUIDS]: Make code unconditional.
13762 [!__ASSUME_32BITUIDS]: Remove conditional code.
13763 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13764 <kernel-features.h>.
13765 [__NR_setresuid] (__setresuid): Do not declare.
13766 [__ASSUME_32BITUIDS]: Make code unconditional.
13767 [!__ASSUME_32BITUIDS]: Remove conditional code.
13768 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13769 <kernel-features.h>.
13770 [__ASSUME_32BITUIDS]: Make code unconditional.
13771 [!__ASSUME_32BITUIDS]: Remove conditional code.
13772 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13773 <kernel-features.h>.
13774 [__ASSUME_32BITUIDS]: Make code unconditional.
13775 [!__ASSUME_32BITUIDS]: Remove conditional code.
13776 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13777 <kernel-features.h>.
13778 [__ASSUME_32BITUIDS]: Make code unconditional.
13779 [!__ASSUME_32BITUIDS]: Remove conditional code.
13780 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13781 <kernel-features.h>.
13782 [__ASSUME_32BITUIDS]: Make code unconditional.
13783 [!__ASSUME_32BITUIDS]: Remove conditional code.
13784 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13785 <kernel-features.h>.
13786 [__ASSUME_32BITUIDS]: Make code unconditional.
13787 [!__ASSUME_32BITUIDS]: Remove conditional code.
13788 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13789 <kernel-features.h>.
13790 [__ASSUME_32BITUIDS]: Make code unconditional.
13791 [!__ASSUME_32BITUIDS]: Remove conditional code.
13792 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13793 <kernel-features.h>.
13794 [__ASSUME_32BITUIDS]: Make code unconditional.
13795 [!__ASSUME_32BITUIDS]: Remove conditional code.
13796 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13797 <kernel-features.h>.
13798 [__ASSUME_32BITUIDS]: Make code unconditional.
13799 [!__ASSUME_32BITUIDS]: Remove conditional code.
13800 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13801 <kernel-features.h>.
13802 [__ASSUME_32BITUIDS]: Make code unconditional.
13803 [!__ASSUME_32BITUIDS]: Remove conditional code.
13804 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13805 <kernel-features.h>.
13806 [__ASSUME_32BITUIDS]: Make code unconditional.
13807 [!__ASSUME_32BITUIDS]: Remove conditional code.
13808 * sysdeps/unix/sysv/linux/kernel-features.h
13809 (__ASSUME_SETRESUID_SYSCALL): Remove.
13810 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13811 (__ASSUME_32BITUIDS): Likewise.
13812 (__ASSUME_LDT_WORKS): Likewise.
13813 (__ASSUME_O_DIRECTORY): Likewise.
13814 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13815 architecture but not kernel version.
13816 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13817 (__ASSUME_MMAP2_SYSCALL): Likewise.
13818 (__ASSUME_STAT64_SYSCALL): Likewise.
13819 (__ASSUME_IPC64): Likewise.
13820 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13821 <kernel-features.h>.
13822 [__ASSUME_32BITUIDS]: Make code unconditional.
13823 [!__ASSUME_32BITUIDS]: Remove conditional code.
13824 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13825 <kernel-features.h>.
13826 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13827 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13828 132096]: Remove conditional code.
13829 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13830 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13831 <kernel-features.h>.
13832 [__ASSUME_32BITUIDS]: Make code unconditional.
13833 [!__ASSUME_32BITUIDS]: Remove conditional code.
13834 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13835 <kernel-features.h>.
13836 [__ASSUME_32BITUIDS]: Make code unconditional.
13837 [!__ASSUME_32BITUIDS]: Remove conditional code.
13838 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13839 <kernel-features.h>.
13840 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13841 unconditional.
13842 (__setresgid): Do not declare.
13843 [__ASSUME_32BITUIDS]: Make code unconditional.
13844 [!__ASSUME_32BITUIDS]: Remove conditional code.
13845 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13846 <kernel-features.h>.
13847 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13848 unconditional.
13849 (__setresuid): Do not declare.
13850 [__ASSUME_32BITUIDS]: Make code unconditional.
13851 [!__ASSUME_32BITUIDS]: Remove conditional code.
13852 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13853 <kernel-features.h>.
13854 [__ASSUME_32BITUIDS]: Make code unconditional.
13855 [!__ASSUME_32BITUIDS]: Remove conditional code.
13856 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13857 <kernel-features.h>.
13858 [__ASSUME_32BITUIDS]: Make code unconditional.
13859 [!__ASSUME_32BITUIDS]: Remove conditional code.
13860
a386f1cc
RH
138612012-05-25 Richard Henderson <rth@twiddle.net>
13862
13863 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13864 dl_hwcap to ifunc resolver.
13865 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13866 elf_ifunc_invoke.
13867 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13868 dl_hwcap to ifunc resolver.
13869 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13870
b6550497
JM
138712012-05-24 Joseph Myers <joseph@codesourcery.com>
13872
13873 [BZ #14153]
13874 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13875 for |x| <= 2**-26, not 2**-57.
13876 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13877 exception.
13878
b0bc23a1
JL
138792012-05-24 Jeff Law <law@redhat.com>
13880
13881 * stdio-common/Makefile (tests): Add bug25.
13882 * stdio-common/bug25.c: New test.
13883
347c92e9
L
138842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13885
13886 [BZ #13576]
13887 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13888 multiple of MALLOC_ALIGNMENT in size.
13889 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13890
6bcc8b3f
JM
138912012-05-24 Joseph Myers <joseph@codesourcery.com>
13892
13893 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13894 Require >= 256.
13895 (FILENAME_MAX): Use macro-int-constant.
13896 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13897 (_IOFBF): Use macro-int-constant.
13898 (_IOLBF): Likewise.
13899 (_IONBF): Likewise.
13900 (SEEK_CUR): Likewise.
13901 (SEEK_END): Likewise.
13902 (SEEK_SET): Likewise.
13903 (TMP_MAX): Likewise.
13904 (EOF): Use macro-int-constant. Require < 0.
13905 (NULL): Use macro-constant. Require == 0.
13906 (stdin): Require type to be FILE *.
13907 (stdout): Likewise.
13908 (stderr): Likewise.
13909 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13910 macro-int-constant.
13911 (EXIT_SUCCESS): Likewise.
13912 (NULL): Use macro-constant. Require == 0.
13913 (RAND_MAX): Use macro-int-constant.
13914 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13915 [C99-based standards] (strtof): Require function.
13916 [C99-based standards] (strtold): Likewise.
13917 [C99-based standards] (strtoll): Likewise.
13918 [C99-based standards] (strtoull): Likewise.
13919 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13920 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13921 [ISO || ISO99 || ISO11] (math.h): Likewise.
13922 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13923 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13925
d18ea0c5
AS
139262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13927
13928 [BZ #14132]
56d25bb8
AS
13929 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13930 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13931 * intl/dgettext.c (DCGETTEXT): Likewise.
13932 * intl/gettext.c (DCGETTEXT): Likewise.
13933 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13934 * posix/regex_internal.h (gettext): Likewise.
13935 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13936 Remove declaration.
13937 * include/argz.h (__argz_count_internal)
13938 (__argz_stringify_internal): Remove declaration.
13939 (__argz_count, __argz_stringify): Declare hidden proto.
13940 * intl/dcgettext.c: Remove use of INTDEF.
13941 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13942 * string/argz-stringify.c: Likewise.
13943 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13944 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13945 Declare hidden proto.
d18ea0c5
AS
13946 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13947 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13948 Declare hidden proto.
13949 * include/stdio.h (__asprintf_internal): Don't declare.
13950 (__asprintf): Don't define as macro. Declare hidden proto.
13951 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13952 (__fsetlocking): Declare hidden proto.
13953 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13954 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13955 hidden proto.
13956 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13957 (_IO_setlinebuf): Remove use of INTUSE.
13958 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13959 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13960 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13961 Remove declaration.
13962 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13963 (_IO_do_flush): Remove use of INTUSE.
13964 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13965 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13966 (_IO_adjust_column, _IO_least_wmarker)
13967 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13968 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13969 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13970 (_IO_default_doallocate, _IO_wdefault_doallocate)
13971 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13972 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13973 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13974 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13975 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13976 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13977 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13978 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13979 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13980 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13981 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13982 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13983 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13984 proto.
13985 (_IO_flush_all_internal, _IO_adjust_column_internal)
13986 (_IO_default_uflow_internal, _IO_default_finish_internal)
13987 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13988 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13989 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13990 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13991 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13992 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13993 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13994 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13995 (_IO_file_close_internal, _IO_file_close_it_internal)
13996 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13997 (_IO_file_init_internal, _IO_file_attach_internal)
13998 (_IO_file_fopen_internal, _IO_file_read_internal)
13999 (_IO_file_sync_internal, _IO_file_seek_internal)
14000 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14001 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14002 (_IO_str_underflow_internal, _IO_str_overflow_internal)
14003 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14004 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14005 (_IO_list_all_internal, _IO_link_in_internal)
14006 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14007 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14008 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14009 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14010 (_IO_do_write_internal, _IO_padn_internal)
14011 (_IO_getline_info_internal, _IO_getline_internal)
14012 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14013 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14014 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14015 (_IO_vfscanf_internal, _IO_vfprintf_internal)
14016 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14017 (_IO_init_internal, _IO_un_link_internal): Don't declare.
14018 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14019 with libc_hidden_ver, remove use of INTUSE.
14020 * libio/genops.c: Likewise.
14021 * libio/freopen.c: Likewise.
14022 * libio/freopen64.c: Likewise.
14023 * libio/iofclose.c: Likewise.
14024 * libio/iofdopen.c: Likewise.
14025 * libio/iofflush.c: Likewise.
14026 * libio/iofflush_u.c: Likewise.
14027 * libio/iofgets.c: Likewise.
14028 * libio/iofgets_u.c: Likewise.
14029 * libio/iofopen.c: Likewise.
14030 * libio/iofopncook.c: Likewise.
14031 * libio/iofread.c: Likewise.
14032 * libio/iofread_u.c: Likewise.
14033 * libio/ioftell.c: Likewise.
14034 * libio/iofwrite.c: Likewise.
14035 * libio/iogetline.c: Likewise.
14036 * libio/iogets.c: Likewise.
14037 * libio/iogetwline.c: Likewise.
14038 * libio/iopadn.c: Likewise.
14039 * libio/iopopen.c: Likewise.
14040 * libio/ioseekoff.c: Likewise.
14041 * libio/ioseekpos.c: Likewise.
14042 * libio/iosetbuffer.c: Likewise.
14043 * libio/iosetvbuf.c: Likewise.
14044 * libio/ioungetc.c: Likewise.
14045 * libio/ioungetwc.c: Likewise.
14046 * libio/iovdprintf.c: Likewise.
14047 * libio/iovsprintf.c: Likewise.
14048 * libio/iovsscanf.c: Likewise.
14049 * libio/memstream.c: Likewise.
14050 * libio/obprintf.c: Likewise.
14051 * libio/oldfileops.c: Likewise.
14052 * libio/oldiofclose.c: Likewise.
14053 * libio/oldiofdopen.c: Likewise.
14054 * libio/oldiofopen.c: Likewise.
14055 * libio/oldiopopen.c: Likewise.
14056 * libio/oldstdfiles.c: Likewise.
14057 * libio/putc.c: Likewise.
14058 * libio/setbuf.c: Likewise.
14059 * libio/setlinebuf.c: Likewise.
14060 * libio/stdfiles.c: Likewise.
14061 * libio/strops.c: Likewise.
14062 * libio/vasprintf.c: Likewise.
14063 * libio/vscanf.c: Likewise.
14064 * libio/vsnprintf.c: Likewise.
14065 * libio/vswprintf.c: Likewise.
14066 * libio/wfiledoalloc.c: Likewise.
14067 * libio/wfileops.c: Likewise.
14068 * libio/wgenops.c: Likewise.
14069 * libio/wmemstream.c: Likewise.
14070 * libio/wstrops.c: Likewise.
14071 * libio/__fpurge.c: Likewise.
14072 * libio/__fsetlocking.c: Likewise.
14073 * assert/assert.c: Likewise.
14074 * debug/fgets_chk.c: Likewise.
14075 * debug/fgets_u_chk.c: Likewise.
14076 * debug/fread_chk.c: Likewise.
14077 * debug/fread_u_chk.c: Likewise.
14078 * debug/gets_chk.c: Likewise.
14079 * debug/obprintf_chk.c: Likewise.
14080 * debug/vasprintf_chk.c: Likewise.
14081 * debug/vdprintf_chk.c: Likewise.
14082 * debug/vsnprintf_chk.c: Likewise.
14083 * debug/vsprintf_chk.c: Likewise.
14084 * malloc/mtrace.c: Likewise.
14085 * misc/error.c: Likewise.
14086 * misc/syslog.c: Likewise.
14087 * stdio-common/asprintf.c: Likewise.
14088 * stdio-common/fxprintf.c: Likewise.
14089 * stdio-common/getw.c: Likewise.
14090 * stdio-common/isoc99_fscanf.c: Likewise.
14091 * stdio-common/isoc99_scanf.c: Likewise.
14092 * stdio-common/isoc99_vfscanf.c: Likewise.
14093 * stdio-common/isoc99_vscanf.c: Likewise.
14094 * stdio-common/isoc99_vsscanf.c: Likewise.
14095 * stdio-common/printf-prs.c: Likewise.
14096 * stdio-common/printf_fp.c: Likewise.
14097 * stdio-common/printf_fphex.c: Likewise.
14098 * stdio-common/printf_size.c: Likewise.
14099 * stdio-common/putw.c: Likewise.
14100 * stdio-common/scanf.c: Likewise.
14101 * stdio-common/sprintf.c: Likewise.
14102 * stdio-common/tmpfile.c: Likewise.
14103 * stdio-common/vfprintf.c: Likewise.
14104 * stdio-common/vfscanf.c: Likewise.
14105 * stdlib/strfmon_l.c: Likewise.
14106 * sunrpc/openchild.c: Likewise.
14107 * sunrpc/xdr_stdio.c: Likewise.
14108 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14109 * sysdeps/mach/hurd/tmpfile.c: Likewise.
14110
d6c33fda
RM
141112012-05-24 Roland McGrath <roland@hack.frob.com>
14112
c1487492
RM
14113 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14114
14115 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14116 in the third column, to generate for the shared library an IFUNC
14117 that uses _dl_vdso_vsym.
14118 * Makerules (COMPILE.c, compile-stdin.c): New variables.
14119 * Makeconfig (object-suffixes-noshared): New variable.
14120
14121 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14122 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14123 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14124 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14125
d6c33fda
RM
14126 [BZ #14132]
14127 * include/sys/time.h (__gettimeofday): Remove macro.
14128 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14129 * time/gettimeofday.c (__gettimeofday): Remove #undef.
14130 Remove INTDEF.
14131 (__gettimeofday): Add libc_hidden_def.
14132 (gettimeofday): Add libc_hidden_weak.
14133 * sysdeps/mach/gettimeofday.c: Likewise.
14134 * sysdeps/posix/gettimeofday.c: Likewise.
14135 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14136 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14138 (__gettimeofday_internal): Remove strong_alias.
14139 (__gettimeofday): Add libc_hidden_def.
14140 (gettimeofday): Add libc_hidden_weak.
14141 * sysdeps/unix/syscalls.list (gettimeofday):
14142 Remove __gettimeofday_internal alias.
14143
b5a2bbe6
L
141442012-05-24 Daniel Jacobowitz <drow@false.org>
14145 H.J. Lu <hongjiu.lu@intel.com>
14146
14147 [BZ #12495]
14148 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14149 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14150 (largebin_index_32_big): New.
14151 (largebin_index): Use it for 16-byte alignment.
14152 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
14153 correction with front_misalign.
14154
cfba4fda
L
141552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14156
7f907421
L
14157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14159 Likewise.
14160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14161 Likewise.
14162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14163 Likewise.
14164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14165 Likewise.
14166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14167 Likewise.
14168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14169 Likewise.
14170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14171 Likewise.
14172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14173 Likewise.
14174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14175 Likewise.
14176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14177 Likewise.
14178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14179 Likewise.
14180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14181 Likewise.
14182
cfba4fda
L
14183 * scripts/data/c++-types-x32-linux-gnu.data: New file.
14184 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14185
80bad0cc
JM
141862012-05-24 Joseph Myers <joseph@codesourcery.com>
14187
7a25eb06
JM
14188 [BZ #10846]
14189 [BZ #14036]
14190 * math/libm-test.inc (exp_test): Add test from bug 14036.
14191 (pow_test): Add test from bug 10846.
14192
795405f9
JM
14193 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14194 and other flags.
14195 (special_function): Do not include flags in test name.
14196 (parse_args): Likewise.
14197 * sysdeps/i386/fpu/libm-test-ulps: Update.
14198 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14199 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14200 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14202
80bad0cc
JM
14203 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14204 exceptions.
14205 * math/libm-test.inc ("Philosophy"): Update comment about
14206 exception testing.
14207 (UNDERFLOW_EXCEPTION): New macro.
14208 (UNDERFLOW_EXCEPTION_OK): Likewise.
14209 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14210 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14211 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14212 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14213 (INVALID_EXCEPTION_OK): Update value.
14214 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14215 (OVERFLOW_EXCEPTION_OK): Likewise.
14216 (IGNORE_ZERO_INF_SIGN): Likewise.
14217 (test_exceptions): Handle underflow exceptions.
14218 (acos_test): Update for underflow exception expectations.
14219 (cexp_test): Likewise.
14220 (clog_test): Likewise.
14221 (clog10_test): Likewise.
14222 (csqrt_test): Likewise.
14223 (ctan_test): Likewise.
14224 (ctanh_test): Likewise.
14225 (exp_test): Likewise.
14226 (exp10_test): Likewise.
14227 (exp2_test): Likewise.
14228 (expm1_test): Likewise.
14229 (fma_test): Likewise.
14230 (j0_test): Likewise.
14231 (jn_test): Likewise.
14232 (nexttoward_test): Likewise.
14233 (pow_test): Likewise.
14234 (scalbn_test): Likewise.
14235 (scalbln_test): Likewise.
14236 (tan_test): Likewise.
14237 (y1_test): Likewise.
14238 * sysdeps/i386/fpu/libm-test-ulps: Update.
14239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14240
9e0e3d0b
DM
142412012-05-23 David S. Miller <davem@davemloft.net>
14242
14243 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14244 (__libc_sigaction): Remove unused local variables.
14245
ccd0a08f
L
142462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14247
14248 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14249
62bdf9a6
PE
142502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14251
f8591f80
PE
14252 mktime: avoid signed integer overflow
14253 * time/mktime.c (__mktime_internal): Do not mishandle the case
14254 where diff == INT_MIN.
14255
94c7d826
PE
14256 mktime: simplify computation of average
14257 * time/mktime.c (ranged_convert): Use new time_t_avg function
14258 instead of rolling our own (probably-slower) code.
14259
ce73d683
PE
14260 mktime: do not assume signed right shift propagates sign bit
14261 * time/mktime.c (isdst_differ): New static function.
14262 (__mktime_internal): No need to normalize tm_isdst now.
14263 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14264 tm_isdst values.
14265
72a22e59
PE
14266 mktime: merge another wrapv change from gnulib
14267 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14268 from some compilers.
14269
68605433
PE
14270 mktime: remove incorrect attempt at unusual arithmetics
14271 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14272 The code didn't really work on such machines anyway.
14273 (TYPE_MINIMUM): Assume two's complement.
14274 (twos_complement_arithmetic): Verify that long_int and time_t
14275 are two's complement (or unsigned, in the latter case).
14276
03cf7fe3
PE
14277 mktime: check signed shifts on long_int and time_t, too
14278 * time/mktime.c (SHR): Check that shifts work as desired
14279 on the types long_int and time_t too, as SHR is used on
14280 such types.
14281
f04dfbc2
PE
14282 mktime: do not assume 'long' is wide enough
14283 * time/mktime.c (verify): Move decl up.
14284 (long_int): New type.
14285 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14286 to remove assumption in the code that 'long' is wide enough to
14287 store year values. This assumption is not true on x32 and on
14288 some non-glibc platforms.
14289
62bdf9a6
PE
14290 mktime: merge wrapv change from gnulib
14291 * time/mktime.c (WRAPV): New macro.
14292 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14293 (guess_time_tm, __mktime_internal): Do not assume that signed
14294 integer overflow wraps around; modern compilers generate code
14295 where this assumption is no longer valid.
14296
5e292e4f
L
142972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14298
14299 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14300 Replace "jmp L(pseudo_end)" with "ret".
14301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14302 Likewise.
14303
8caf8c87
AJ
143042012-05-23 Andreas Jaeger <aj@suse.de>
14305
14306 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14307 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14308
1a09dc56
AJ
143092012-05-23 Andreas Jaeger <aj@suse.de>
14310 Maximilian Attems <max@stro.at>
14311
14312 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14313 New macros.
14314
1c87aba0
L
143152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14316
14317 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14318 code so that pseudo_end is just ret and the stack pointer is
14319 correct also for static library in error case.
14320
40e45bd5
JM
143212012-05-23 Joseph Myers <joseph@codesourcery.com>
14322
c2670533
JM
14323 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14324 move to syscalls.list.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14329
40e45bd5
JM
14330 * manual/install.texi (Running make install): Do not mention Linux
14331 kernel version for which pt_chown is not needed.
14332 (Linux): Do not mention problems with nscd with 2.0 kernels.
14333 * INSTALL: Regenerated.
14334
be08eda5
AJ
143352012-05-23 Andreas Jaeger <aj@suse.de>
14336
14337 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14338 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14339 macro.
14340 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14341 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14342 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14343 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14344 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14345 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14346 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14348 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14349 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14350 * sysdeps/unix/sysv/linux/bits/in.h
14351 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14352
a6a056bb
RM
143532012-05-22 Roland McGrath <roland@hack.frob.com>
14354
14355 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14356 (PREPARE_VERSION): Just use assert instead, it will be elided
14357 under [NDEBUG] anyway.
14358
c9009328
L
143592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14360
14361 * sysdeps/unix/sysv/linux/Makefile: Include
14362 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 14363 (sysdep_routines): Remove sysctl.
c9009328
L
14364 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14365 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14366 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14367 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14368 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14369
73338355
AJ
143702012-05-22 Andreas Jaeger <aj@suse.de>
14371
14372 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14373 that pseudo_end is just ret and the stack pointer is correct also
14374 for static library in error case.
14375
d44638b0
PP
143762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14377
14378 [BZ #14122]
14379 * nss/nsswitch.c (defconfig_entries): New variable.
14380 (__nss_database_lookup): Don't leak defconfig entries.
14381 (nss_parse_service_list): Don't leak on error paths.
14382 (free_database_entries): New function.
14383 (free_defconfig): New function.
14384 (free_mem): Move common code to free_database_entries.
14385
31a39bd8
L
143862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14387
da0331a8
L
14388 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14389 Add arch_prctl.
14390 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14391
31a39bd8
L
14392 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14393 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14395 New macro.
14396 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14397 (INTERNAL_SYSCALL_TYPES): Likewise.
14398 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14399 (LOAD_REGS_TYPES_[1-6]): Likewise.
14400 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14401 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14402
45470df3
AZ
144032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14404
14405 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14406 copysignl for GLIBC_2_0.
14407 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14408 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14410 logbl for GLIBC_2_0.
14411 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14412 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14413
98a61bcb
L
144142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14415
a4f6e481
L
14416 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14417 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14418
f63d5db6
L
14419 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14420 Use "neg %eax".
14421
98a61bcb
L
14422 * time/mktime.c: Update copyright years.
14423
95770f14
PE
144242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14425
6226efbd
PE
14426 mktime: merge comment-quoting-style change from gnulib
14427 * time/mktime.c: Quote 'like this' in comments.
14428 The GNU coding standards suggest that we no longer quote `like this',
14429 as "`" and "'" are typically rendered asymmetrically nowadays.
14430 The typical gnulib style is to quote 'like this' when quoting
14431 code, and "like this" when quoting English.
14432
b99e4f78
PE
14433 * time/mktime.c (compile-command): Add "-I.".
14434
643e01e6
PE
14435 mktime: merge mktime-internal.h change from gnulib
14436 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14437
2554247d
PE
14438 mktime: merge time_r change from gnulib
14439 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14440
826dd0ab
PE
14441 mktime: merge DEBUG change from gnulib
14442 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14443 case system <time.h> has a #define.
14444
bd83aabe
PE
14445 mktime: merge <sys/types.h> change from gnulib
14446 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14447 since <time.t> is now guaranteed to define time_t.
14448
95770f14
PE
14449 mktime: merge HAVE_CONFIG_H change from gnulib
14450 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14451
5e1a27a9
L
144522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14453
0e44a77e
L
14454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14455 Use "neg %eax".
14456
5e1a27a9
L
14457 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14458 __rlim_t cast.
14459 (struct rusage): Use anonymous union to pad each field to
14460 __syscall_slong_t.
14461
46259bec
DM
144622012-05-21 David S. Miller <davem@davemloft.net>
14463
14464 * Makefules (o-iterator): Remove .s cases.
14465 (compile-command.s): Delete.
14466 (COMPILE.s): Delete.
14467 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14468
59f0c22e
JM
144692012-05-21 Joseph Myers <joseph@codesourcery.com>
14470
14471 * configure.in (libc_cv_predef_stack_protector): Only consider
14472 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14473 * configure: Regenerated.
14474
20c07380
L
144752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14476
bbb3154b
L
14477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14478 New macro. Use R*LP on int and pointer.
14479 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14480 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14481 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14482 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14483
20c07380
L
14484 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14485 [__WORDSIZE_TIME64_COMPAT32] instead of
14486 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14487 (struct utmp): Likewise.
14488 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14489 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14490 Renamed to ...
14491 (__WORDSIZE_TIME64_COMPAT32): This.
14492 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14493 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14494 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14495 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14496 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14497 (__WORDSIZE_TIME64_COMPAT32): New macro.
14498
d8d1017e
AJ
144992012-05-21 Andreas Jaeger <aj@suse.de>
14500
14501 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14502 only if [SHARED]. Add prototype for __wcschr_ia32.
14503
6c7fb145
RM
145042012-05-21 Roland McGrath <roland@hack.frob.com>
14505
14506 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14507 of %rbp unmolested in the jmp_buf while mangling the low bits.
14508 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14509 unmolested high bits of %rbp while demangling the low bits.
14510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14511
66274218
AJ
145122012-05-21 Andreas Jaeger <aj@suse.de>
14513
07c58f8f
AJ
14514 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14515 * sunrpc/svc_simple.c: Use it for registerrpc.
14516 * sunrpc/xcrypt.c: Use it for passwd2des.
14517
66274218
AJ
14518 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14519
61f65140
L
145202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14521
14522 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14523 Don't define if [__SYSCALL_WORDSIZE != 32].
14524 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14525 New macro.
14526
5fefb436
AJ
145272012-05-21 Bruno Haible <bruno@clisp.org>
14528 Andreas Jaeger <aj@suse.de>
14529
14530 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14531 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14532 inptr and inend for must_buffer_ch.
14533 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14534 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14535 * stdio-common/Makefile (tests): Remove bug15.
14536 (bug15-ENV): Remove macro.
14537 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14538 anymore.
14539
d8e272ab
AJ
145402012-05-19 Andreas Jaeger <aj@suse.de>
14541 Roland McGrath <roland@hack.frob.com>
14542
14543 * manual/contrib.texi: Completely rewritten. It contains now an
14544 alphabetical list of contributors and their contributions.
14545
4a56a162
RH
145462012-05-21 Richard Henderson <rth@twiddle.net>
14547
14548 * misc/getauxval.c (__getauxval): Use unsigned long int.
14549 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14550 (getauxval): Use unsigned long int.
14551
d024d23c
L
145522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14553
14554 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14555
cbc00a03
RM
145562012-05-21 Roland McGrath <roland@hack.frob.com>
14557
14558 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14559 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14560 __alignof__ (long double).
14561
478143fa
AZ
145622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14563
14564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14565
c7683a6d
RH
145662012-05-20 Richard Henderson <rth@twiddle.net>
14567
14568 * misc/getauxval.c: New file.
14569 * misc/sys/auxv.h: New file.
14570 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14571 (routines): Add getauxval.
14572 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14573 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14574 * elf/dl-sysdep.c (_dl_auxv): Remove.
14575 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14576 * elf/dl-support.c (_dl_auxv): New variable.
14577 (_dl_aux_init): Initialize it.
14578 * manual/startup.texi (Auxiliary Vector): New node.
14579 * sysdeps/generic/bits/hwcap.h: New file.
14580 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14581 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14582 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14583 * sysdeps/sparc/sysdep.h: ... here. Include it.
14584 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14585 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14587 Update.
c7683a6d
RH
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14591 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14596
a6f1845d
AZ
145972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14598
14599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14600
cbcbe830
DM
146012012-05-19 David S. Miller <davem@davemloft.net>
14602
14603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14604
e0b16cc2
JM
146052012-05-19 Joseph Myers <joseph@codesourcery.com>
14606
14607 [BZ #14123]
14608 * math/s_ccosh.c: Include <float.h>
14609 (__ccosh): Avoid internal overflow calculating sinh and cosh
14610 values before multiplying by sin and cos values.
14611 * math/s_ccoshf.c: Likewise.
14612 * math/s_ccoshl.c: Likewise.
14613 * math/s_csin.c: Likewise.
14614 * math/s_csinf.c: Likewise.
14615 * math/s_csinl.c: Likewise.
14616 * math/s_csinh.c: Likewise.
14617 * math/s_csinhf.c: Likewise.
14618 * math/s_csinhl.c: Likewise.
14619 * math/libm-test.inc (ccos_test): Add more tests.
14620 (ccosh_test): Likewise.
14621 (csin_test): Likewise.
14622 (csinh_test): Likewise.
14623 * sysdeps/i386/fpu/libm-test-ulps: Update.
14624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14625
6ad13e08
L
146262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14627
f66f0ce8
L
14628 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14629 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14630
6ad13e08
L
14631 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14632
b1d072a7
JM
146332012-05-19 Joseph Myers <joseph@codesourcery.com>
14634
14635 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14636 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14637 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14638 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14639 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14640 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14641 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14642 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14643 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14644 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14645 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14646 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14647 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14648 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14649 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14650 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14651 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14652 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14653 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14654 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14655 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14656 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14657 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14658 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14659 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14660 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14661 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14662 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14663 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14664 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14665 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14666
9eae47cb
AJ
146672012-05-18 Andreas Jaeger <aj@suse.de>
14668
14669 * csu/.gitignore: Delete.
14670
bb07f69f
L
146712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14672
14673 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14674 (timex): Use __syscall_slong_t.
14675
e6bdb741
AJ
146762012-05-18 Andreas Jaeger <aj@suse.de>
14677 Carlos O'Donell <carlos_odonell@mentor.com>
14678
14679 * manual/install.texi (Configuring and compiling): Update
14680 description about files modified in the source directory.
d6c33fda 14681 * INSTALL: Regenerated.
e6bdb741 14682
1b74487e
L
146832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14684
14685 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14686 value. Use "or" to set return value to -1.
14687 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14688 negate return value.
14689
a88b64b9
TMQMF
146902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14691
14692 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14693 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14694 failure if the compiler has Graphite support disabled.
14695 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14696 Likewise.
14697 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14698 CFLAGS-memmove.c): Likewise.
14699 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14700 Likewise.
14701
3707636e
L
147022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14703
610b8622
L
14704 * sysdeps/x86_64/x32/_itoa.h: New file.
14705
7cd195df
L
14706 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14707 getdents system call only if kernel and user dirents have the
14708 same d_ino and d_off.
14709
94b07d20
L
14710 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14711 LLONG_MAX != LONG_MAX.
14712 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14713 (_fitoa_word): Likewise.
14714
18298070
L
14715 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14716 years.
14717 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14718 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14719 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14720
553c7ea4
L
14721 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14722 include <bits/wordsize.h>. Check __x86_64__ instead of
14723 __WORDSIZE.
14724 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14725 if __x86_64__ is defined. Use anonymous union on fpstate.
14726
3707636e
L
14727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14728 anonymous union.
14729
b53ef01a
AS
147302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14731
37fb1dc0
AS
14732 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14733 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14734 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14735 Refer to _rtld_local_ro instead of _rtld_global_ro.
14736 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14737 Likewise.
14738 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14739 Likewise.
14740 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14741 Likewise.
14742 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14743 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14744 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14745
b53ef01a
AS
14746 * sysdeps/powerpc/powerpc32/dl-machine.c
14747 (__elf_machine_runtime_setup) [PROF]: Don't reference
14748 _dl_prof_resolve.
14749
7a185db2
AJ
147502012-05-18 Andreas Jaeger <aj@suse.de>
14751
14752 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14753 function only available for GCCs before 3.4 since GCC 3.4
14754 introduced a builtin.
14755 (lrint): Likewise.
14756 (llrintf): Likewise.
14757 (llrint): Likewise.
14758 (fmaxf): Likewise.
14759 (fmax): Likewise.
14760 (fminf): Likewise.
14761 (fmin): Likewise.
14762 (rint): Likewise.
14763 (rintf): Likewise.
14764 (nearbyint): Likewise.
14765 (nearbyintf): Likewise.
14766 (ceil): Likewise.
14767 (ceilf): Likewise.
14768 (floor): Likewise.
14769 (floorf): Likewise.
14770
3e5aef87
L
147712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14772
428bd707
L
14773 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14774 on both fields and cast pointer to __syscall_ulong_t.
14775
3e5aef87
L
14776 * bits/types.h (__fsword_t): New type.
14777 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14778 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14779 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14780 (__FSWORD_T_TYPE): Likewise.
14781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14782 (__FSWORD_T_TYPE): Likewise.
14783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14784 (__FSWORD_T_TYPE): Likewise.
14785 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14786 (__FSWORD_T_TYPE): Likewise.
14787 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14788 __SWORD_TYPE with __fsword_t.
14789 (statfs64): Likewise.
14790
1ba7c3dc
DM
147912012-05-17 David S. Miller <davem@davemloft.net>
14792
14793 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14794
59910343
AJ
147952012-05-17 Andreas Jaeger <aj@suse.de>
14796
14797 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14798 warning.
14799
2e4c1e9e
L
148002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14801
14802 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14803
de7f5ce7
AJ
148042012-05-17 Andreas Jaeger <aj@suse.de>
14805
14806 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14807 when it is used.
14808
286abc3d
CM
148092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14810
14811 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14812
477cc68e
L
148132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14814
14815 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14816 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14817
1a0994f5
CD
148182012-05-17 Andreas Jaeger <aj@suse.de>
14819 Carlos O'Donell <carlos_odonell@mentor.com>
14820
14821 [BZ #14059]
14822 * sysdeps/x86_64/multiarch/init-arch.h
14823 (bit_YMM_Usable): Rename to...
14824 (bit_AVX_Usable): ... this.
14825 (bit_FMA4_Usable): New macro.
14826 (bit_XMM_state): New macro.
14827 (bit_YMM_state): New macro.
14828 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14829 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14830 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14831 (CPUID_OSXSAVE): New macro.
14832 (CPUID_AVX): New macro.
14833 (CPUID_FMA4): New macro.
14834 (index_YMM_Usable): Rename to...
14835 (index_AVX_Usable): ... this.
14836 (HAS_AVX): Use HAS_ARCH_FEATURE.
14837 (HAS_FMA4): Likewise.
14838 (HAS_YMM_USABLE): Remove.
14839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14840 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14841 are present.
14842 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14843 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14844 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14845 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14846 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14847
0af797de
CM
148482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14849
14850 * math/libm-test.c: Support platforms without multiple rounding modes.
14851 * math/bug-nextafter.c: Support platforms without FP exceptions.
14852 * math/bug-nexttoward.c: Likewise.
14853 * math/test-fenv.c: Likewise.
14854 * math/test-misc.c: Likewise.
14855 * stdlib/bug-getcontext.c: Likewise.
14856
e39745ff
AJ
148572012-05-17 Andreas Jaeger <aj@suse.de>
14858
14859 * manual/examples/search.c (critter_cmp): Change signature to
14860 avoid warnings.
14861 * manual/string.texi (Collation Functions): Likewise.
14862
48970aba
L
148632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14864
14865 * bits/types.h: Fold copyright years.
14866 * bits/typesizes.h: Likewise.
14867 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14869 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14871 * time/time.h: Likewise.
14872
bedee953
PP
148732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14874
14875 [BZ #208]
14876 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14877 in instead of returning them. Return void.
14878 (__libc_mallinfo): Accumulate over all arenas.
14879 (__malloc_stats): Adjust for change in int_mallinfo interface.
14880
61653dfb
RM
148812012-05-16 Roland McGrath <roland@hack.frob.com>
14882
30b99d79
RM
14883 [BZ #10375]
14884 * configure.in (NM): Add AC_CHECK_TOOL for it.
14885 (libc_extra_cflags): New substituted variable.
14886 Check for -fstack-protector being used implicitly.
14887 * configure: Regenerated.
14888 * config.make.in (config-extra-cflags): New variable,
14889 gets @libc_extra_cflags@.
14890 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14891
61653dfb
RM
14892 [BZ #10375]
14893 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14894 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14895 * configure: Regenerated.
14896 * config.make.in (CPPUNDEFS): New substituted variable.
14897 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14898 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14899 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14900
661768bb
L
149012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14902
14903 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14904 (mq_attr): Use __syscall_slong_t.
14905
d4261567
L
149062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14907
14908 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14909 Check __x86_64__ instead of __WORDSIZE.
14910 (_STAT_VER_LINUX): Likewise.
14911 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14912 __syscall_ulong_t and __syscall_slong_t.
14913 (stat64): Likewise.
14914
cf3ff365
L
149152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14916
14917 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14918
76cf3e4d
L
149192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14920
14921 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14922
a637753a
L
149232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14924
14925 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14926 __syscall_ulong_t.
14927
d5e05119
L
14928 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14929 include <bits/wordsize.h>. Check __x86_64__ instead of
14930 __WORDSIZE.
14931 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14932 defined.
14933 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14934
f62ee380
L
14935 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14936 include <bits/wordsize.h>. Check __x86_64__ instead of
14937 __WORDSIZE.
14938 (user_regs_struct): Use "__extension__ unsigned long long"
14939 instead of "unsigned long" if __x86_64__ is defined.
14940 (user): Likewise. Pad after pointer field if __ILP32__ is
14941 defined.
14942
4e124ced
JM
149432012-05-16 Joseph Myers <joseph@codesourcery.com>
14944
6a3951a0
JM
14945 * configure.in (makeinfo): Require version 4.5 or later. Allow
14946 versions 5 to 9.
14947 * configure: Regenerated.
14948 * manual/install.texi (texinfo): Increase version requirement to
14949 4.5 or later.
14950 * INSTALL: Regenerated.
14951
4e124ced
JM
14952 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14953
953ca31a
L
149542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14955
14956 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14957
617aca05
L
14958 * sysdeps/x86_64/x32/ffs.c: New file.
14959
5762f7ae
L
14960 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14961 __syscall_ulong_t.
14962 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14963 defined. Use __syscall_ulong_t.
14964 (shminfo): Use __syscall_ulong_t.
14965 (shm_info): Likewise.
14966
a26b6856
L
14967 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14968 __syscall_ulong_t.
14969
cb2b9ef7
L
14970 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14971 <bits/wordsize.h>.
14972 (msgqnum_t): Use __syscall_ulong_t.
14973 (msglen_t): Likewise.
14974 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14975 __syscall_ulong_t.
14976
34683bb0
L
14977 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14978 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14979
84a68786
L
14980 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14981
48baa5f1
L
14982 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14983 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14984
180be88b
L
14985 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14986 __syscall_slong_t.
14987
5e90c8ad
L
14988 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14989 include <bits/wordsize.h>. Check __x86_64__ instead of
14990 __WORDSIZE.
14991
23dfb58b
L
14992 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14993 "unsigned long long int" if __x86_64__ is defined.
14994 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14995
ce5d54b0
L
14996 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14997 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14998 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14999
13dc9eac
L
15000 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15001 <stdint.h>.
15002 (GET_PC): Cast to uintptr_t first.
15003 (GET_FRAME): Likewise.
15004 (GET_STACK): Likewise.
15005
a7895d15
L
15006 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15007 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15008 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15009 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15010 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15011 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15012 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15013 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15014 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15015 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15016 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15017 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15018 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15019 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15020 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15021 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15022 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15023 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15024 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15025 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15026 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15027 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15028 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15029 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15030 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15031 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15032 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15033 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15034 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15035
656416c9
AS
150362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
15037
5bd66283
AS
15038 * Makerules (+depfiles): Also collect depfiles from .oS in
15039 $(extra-objs).
15040 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15041 .oS, $(libnldbl-routines)).
15042
656416c9
AS
15043 * Makerules (native-compile-mkdep-flags): Define.
15044 * sunrpc/Makefile (extra-objs): Add $(addprefix
15045 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15046 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15047 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
15048 calling $(make-target-directory).
15049
a46f2169
L
150502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15051
15052 * bits/types.h (__snseconds_t): Removed.
15053 * time/time.h (struct timespec): Replace __snseconds_t with
15054 __syscall_slong_t.
15055 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15056 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15057 Likewise.
15058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15059 (__SNSECONDS_T_TYPE): Likewise.
15060 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15061 (__SNSECONDS_T_TYPE): Likewise.
15062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15063 (__SNSECONDS_T_TYPE): Likewise.
15064
6af6528b
L
150652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15066
15067 * sysdeps/mach/hurd/bits/typesizes.h
15068 (__SYSCALL_SLONG_TYPE): New macro.
15069 (__SYSCALL_ULONG_TYPE): Likewise.
15070
de986b56
L
150712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15072
15073 * bits/types.h (__syscall_slong_t): New type.
15074 (__syscall_ulong_t): Likewise.
15075
15076 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15077 (__SYSCALL_ULONG_TYPE): Likewise.
15078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15079 (__SYSCALL_SLONG_TYPE): Likewise.
15080 (__SYSCALL_ULONG_TYPE): Likewise.
15081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15082 (__SYSCALL_SLONG_TYPE): Likewise.
15083 (__SYSCALL_ULONG_TYPE): Likewise.
15084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15085 (__SYSCALL_SLONG_TYPE): Likewise.
15086 (__SYSCALL_ULONG_TYPE): Likewise.
15087
85736dc7
L
150882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15089
15090 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15091 Add sigaltstack-offsets.sym.
15092 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15093 <sigaltstack-offsets.h>.
15094 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
15095 longjmp_msg pointer.
15096 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
15097 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15098 signal stack.
15099 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15100
cc03b296
JM
151012012-05-15 Joseph Myers <joseph@codesourcery.com>
15102
a9538892
JM
15103 * elf/stackguard-macros.h: Remove file.
15104 * sysdeps/generic/stackguard-macros.h: New file.
15105 * sysdeps/i386/stackguard-macros.h: Likewise.
15106 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15107 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15108 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15109 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15110 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15111 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15112 * sysdeps/x86_64/stackguard-macros.h: Likewise.
15113 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15114 <elf/stackguard-macros.h>.
15115
cc03b296
JM
15116 [BZ #14109]
15117 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15118 __aligned__ in attribute.
15119 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15120 (gregset_t): Likewise.
15121
93171016
L
151222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15123
15124 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15125 * sysdeps/x86_64/64/Implies-after: Here. New file.
15126 * sysdeps/x86_64/x32/Implies-after: New file.
15127
d86813a0
L
151282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15129
15130 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15131 and access return value for _dl_profile_fixup. Use R10_LP to
15132 load frame size.
15133
2953ec75
L
151342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15135
15136 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15137
3b550e9e
L
151382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15139
15140 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15141 * sysdeps/x86_64/x32/sysdep.h: New file.
15142
eda41706
L
151432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15144
15145 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15146 * sysdeps/x86_64/setjmp.S: Likewise.
15147
9ea01d93
AZ
151482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15149
15150 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15151 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15152 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15153 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15154 remove unused global constant.
15155
02a91938
CM
151562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
15157
15158 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15159 include of <not-cancel.h>.
15160
6540185f
RM
151612012-05-15 Roland McGrath <roland@hack.frob.com>
15162
15163 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15164
509072a0
AJ
151652012-05-15 Jeff Law <law@redhat.com>
15166 Andreas Jaeger <aj@suse.de>
15167
15168 [BZ #13594]
15169 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15170 out from...
15171 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15172 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15173 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15174 code changing __hst_map_handle.map.
15175
ba75122d
RM
151762012-05-15 Roland McGrath <roland@hack.frob.com>
15177
15178 * configure.in (sysnames): Look for Implies-before and Implies-after
15179 files.
15180 * configure: Regenerated.
15181
890d8bd8
L
151822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15183
15184 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15185 8-byte data alignment with LP_SIZE alignment.
15186
f6ee6623
L
151872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15188
15189 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15190 into R10_LP.
15191
ea2626f6
L
151922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15193
15194 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15195
085f715e
L
151962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15197
15198 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15199 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15200 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15201 Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15203
be8498fc
L
152042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15205
15206 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15207 (stackinfo_sub_sp): Likewise.
15208
70bc83b9
L
152092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15210
15211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15212 RAX_LP.
15213
9bc0b730
L
152142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15215
15216 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15217 into R*_LP.
15218
6d2850e7
L
152192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15220
15221 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15222 sizes into R*_LP.
15223
3cb84561
L
152242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15225
15226 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15227
54e2ed81
L
152282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15229
15230 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15231 into R11_LP and load __x86_64_shared_cache_size_half into
15232 R8_LP.
15233
8a17f349
L
152342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15235
15236 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15237 R8_LP.
15238
777b1eea
AZ
152392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15240
15241 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15242 logb for POWER7.
15243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15244 logbf for POWER7.
15245 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15246 logbl for POWER7.
15247 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15248 powerpc32/power7/fpu/s_logb.c via #include.
15249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15250 powerpc32/power7/fpu/s_logbf.c via #include.
15251 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15252 powerpc32/power7/fpu/s_logbl.c via #include.
15253
d20d4ac2
JM
152542012-05-15 Joseph Myers <joseph@codesourcery.com>
15255
15256 * README.libm: Remove file.
15257
6cdef1ab
L
152582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15259
15260 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15261 count for x32. Use R*_LP and omit operand-size suffix.
15262
0b254d8f
L
152632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15264
15265 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15266 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15267 * sysdeps/x86_64/x32/shlib-versions: New file.
15268
ceb809dc
RM
152692012-05-14 Roland McGrath <roland@hack.frob.com>
15270
15271 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15272 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15273 Use _dl_fatal_printf instead.
15274
37f1abd4
JM
152752012-05-14 Joseph Myers <joseph@codesourcery.com>
15276
15277 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15278 set if not set by the user. Do not allow for being unset.
15279 * sysdeps/unix/sysv/linux/configure: Regenerated.
15280
11de3a33
L
152812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15282
15283 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15284 the `q' suffix from lea and replace .quad with ASM_ADDR.
15285
e02f153a
L
152862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15287
15288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15289 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15290 instead of $17.
15291 (PTR_DEMANGLE): Likewise.
15292
520ae0fd
L
152932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15294
15295 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15296 (LP_OP): Likewise.
15297 (ASM_ADDR): Likewise.
15298 (RAX_LP): Likewise.
15299 (RBP_LP): Likewise.
15300 (RBX_LP): Likewise.
15301 (RCX_LP): Likewise.
15302 (RDI_LP): Likewise.
15303 (RSI_LP): Likewise.
15304 (RSP_LP): Likewise.
15305 (R8_LP): Likewise.
15306 (R9_LP): Likewise.
15307 (R10_LP): Likewise.
15308 (R10_LP): Likewise.
15309 (R11_LP): Likewise.
15310 (R12_LP): Likewise.
15311 (R13_LP): Likewise.
15312 (R14_LP): Likewise.
15313 (R15_LP): Likewise.
15314
b985be81
L
153152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15316
15317 * sysdeps/x86_64/x32/dl-machine.h: New file.
15318
6a4888ff
AJ
153192012-05-14 Andreas Jaeger <aj@suse.de>
15320
15321 * manual/Makefile (subdir): Remove export of subdir.
15322 (all): Remove target.
15323 (.PHONY): Remove all from list.
15324 (mkinstalldirs): Remove.
15325 (.PHONY): Remove installdirs from list.
15326 ($(inst_infodir)/libc.info): Use make-target-directory.
15327 (installdirs): Remove.
15328 (subdir_%): Remove.
15329 (glibc-targets): Remove.
15330 (lib): Remove.
15331 (stubs): Remove.
15332 ($(objpfx)stubs ../po/manual.pot): Remove.
15333 ($(objpfx)stamp%): Remove.
15334 (make-target-directory): Remove.
15335 (subdir_install): Remove.
15336 (routines): Remove.
15337 (aux): Remove.
15338 (sources): Remove.
15339 (objects): Remove.
15340 (headers): Remove.
15341
15342 [BZ #13750]
15343 * manual/.gitignore: Remove, it's not needed anymore.
15344 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15345 all files in it.
15346 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15347 directory.
15348 (texis): Renamed to $(objpfx)texis.
15349 (texis-path): New, contains path to generated files.
15350 (chapters.%): Use texis-path for complete path, add extra argument
15351 libc-texinfo.sh.
15352 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15353 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15354 (summary,texi, stamp-summary): Use complete path of
15355 files. Generate files in build dir.
15356 (dir-add.texi): Build in build dir.
15357 (libm-err.texi,stamp-libm-err): Likewise.
15358 (version.texi, stamp-version): Likewise.
15359 (.%c.texi): Likewise.
15360 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15361 (mostlyclean): Remove target.
15362 (realclean): Remove target.
15363 (generated): Add new variable with contents from mostlyclean and
15364 realclean, remove entries duplicated in common-mostlyclean, add
15365 stamp-libm-err and stamp-version.
15366 (generated-dirs): Add libc directory.
15367 ($(inst_infodir)/libc.info): Install files from build dir.
15368
15369 * manual/install.texi (Configuring and compiling): Adjust since
15370 the info files are not part of the tar ball anymore.
15371
7ac77294
AJ
153722012-05-14 Andreas Jaeger <aj@suse.de>
15373
15374 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15375 variable.
15376
ffb7875d
JM
153772012-05-14 Joseph Myers <joseph@codesourcery.com>
15378
15379 [BZ #13717]
15380 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15381 to 2.2.0 where earlier.
15382 * sysdeps/unix/sysv/linux/configure: Regenerated.
15383 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15384 Remove conditional code.
15385 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15386 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15387 Remove conditional code.
15388 [!__NR_lchown]: Likewise.
15389 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15390 [__NR_lchown]: Likewise.
15391 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15392 comment referencing __ASSUME_LCHOWN_SYSCALL.
15393 * sysdeps/unix/sysv/linux/i386/sigaction.c
15394 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15395 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15396 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15397 Remove conditional code.
15398 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15399 (__protocol_available): Remove #if 0 code.
15400 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15401 conditional code.
15402 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15403 * sysdeps/unix/sysv/linux/kernel-features.h
15404 (__ASSUME_GETCWD_SYSCALL): Don't define.
15405 (__ASSUME_REALTIME_SIGNALS): Likewise.
15406 (__ASSUME_PREAD_SYSCALL): Likewise.
15407 (__ASSUME_PWRITE_SYSCALL): Likewise.
15408 (__ASSUME_POLL_SYSCALL): Likewise.
15409 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15410 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15411 non-SPARC.
15412 (__ASSUME_SIOCGIFNAME): Don't define.
15413 (__ASSUME_MSG_NOSIGNAL): Likewise.
15414 (__ASSUME_SENDFILE): Define unconditionally.
15415 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15416 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15417 conditional code.
15418 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15419 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15420 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15421 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15422 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15423 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15424 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15426 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15427 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15429 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15430 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15432 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15433 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15435 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15438 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15439 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15441 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15444 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15445 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15447 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15449 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15450 Remove conditional code.
15451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15452 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15453 Remove conditional code.
15454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15455 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15456 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15457 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15458 Remove conditional code.
15459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15460 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15461 Remove conditional code.
15462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15463 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15464 Remove conditional code.
15465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15466 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15467 Remove conditional code.
15468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15469 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15470 Remove conditional code.
15471 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15472 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15475 * sysdeps/unix/sysv/linux/sigaction.c
15476 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15477 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15478 * sysdeps/unix/sysv/linux/sigpending.c
15479 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15480 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15481 * sysdeps/unix/sysv/linux/sigprocmask.c
15482 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15483 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15484 * sysdeps/unix/sysv/linux/sigsuspend.c
15485 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15486 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15487 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15488 (__libc_missing_rt_sigs): Remove.
15489 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15490 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15491 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15492 Remove conditional code.
15493 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15494 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15495 return 1.
15496 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15497 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15498 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15499 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15500
1bfb7291
AJ
155012012-05-14 Andreas Jaeger <aj@suse.de>
15502
caae5a81
AJ
15503 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15504 it's not used in glibc.
15505 (__coshm1): Likewise.
15506 (__acosh1p): Likewise.
15507 (__sgn): Likewise.
15508
1bfb7291
AJ
15509 * manual/string.texi (Copying and Concatenation): Add missing
15510 variable in concat example.
15511 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15512
c044d724
L
155132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15514
144c5467 15515 [BZ #14103]
c044d724
L
15516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15517 __builtin_clzl with __builtin_clzll.
15518
2523c62b
L
155192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15520
15521 [BZ #14104]
15522 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15523 libc_freeres_ptr.
15524
d7bb4c42
LD
155252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15526
15527 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15528 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15529 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15530 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15531
9dc4e1fb
MF
155322012-05-14 Mike Frysinger <vapier@gentoo.org>
15533
15534 * NEWS: Update ia64 info.
15535
c7df0112
AS
155362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15537
15538 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15539 used as bcopy.
15540
dc70356c
TS
155412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15542
15543 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15544 * sysdeps/unix/syscalls.list (dup3): Likewise.
15545 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15546 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15547
9fb1a21f
L
155482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15549
15550 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15551 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15552
4822a2a5
L
155532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15554
15555 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15556 thread pointer.
15557 (TLS_IE): Use mov/add instead of movq/addq to load thread
15558 pointer.
15559 (TLS_GD_PREFIX): New.
15560 (TLS_GD): Use it.
15561
842b81d6
DM
155622012-05-11 David S. Miller <davem@davemloft.net>
15563
15564 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15565 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15566 (_FPU_SETCW): Likewise.
15567
1cf463cd
L
155682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15569
15570 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15571 is 32-byte aligned.
15572
60cc4a18
AS
155732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15574
15575 [BZ #11837]
15576 * iconvdata/gb18030.c: Update tables.
15577 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15578 characters specially.
15579 (BODY for TO_LOOP): Add encoding of missing ranges.
15580
febb44a4
TS
155812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15582
15583 [BZ #13673]
15584 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15585 * sysdeps/mach/hurd/dup3.c: Likewise.
15586 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15587 * sysdeps/powerpc/memmove.c:: Likewise.
15588
0a10fb9e
L
155892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15590
15591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15592 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15593
df8a552f
L
155942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15595
15596 * elf/elf.h (R_X86_64_RELATIVE64): New.
15597 (R_X86_64_NUM): Updated.
15598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15599 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15600 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15601 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15602 tst-quad1pie tst-quad2pie
15603 (modules-names): Add tst-quadmod1 tst-quadmod2.
15604 ($(objpfx)tst-quad1): New dependency.
15605 ($(objpfx)tst-quad2): Likewise.
15606 ($(objpfx)tst-quad1pie): Likewise.
15607 ($(objpfx)tst-quad2pie): Likewise.
15608 * sysdeps/x86_64/tst-quad1.c: New file.
15609 * sysdeps/x86_64/tst-quad1pie.c: New file.
15610 * sysdeps/x86_64/tst-quad2.c: Likewise.
15611 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15612 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15613 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15614 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15615 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15616
f34d6f84
ST
156172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15618
f42d41d1
ST
15619 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15620 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15621 * streams/stropts.h (t_scalar_t): Define type.
15622
3c3571fc
ST
15623 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15624 (_PATH_PRESERVE): Set to "/var/lib".
15625 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15626
61f06bd3
ST
15627 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15628 instead of int.
15629
918d4d71
ST
15630 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15631 if __dir_mkfile succeeded.
15632
f34d6f84
ST
15633 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15634 checking for _hurd_dtablesize. Unlock it right after having
15635 finished _hurd_dtable allocation.
15636
10589b4a
TS
156372012-05-10 Thomas Schwinge <thomas@schwinge.name>
15638
674cdbc7
TS
15639 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15640 * sysdeps/mach/hurd/configure: Regenerated.
15641 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15642 special-casing to...
15643 * sysdeps/gnu/configure.in: ... this new file.
15644 * sysdeps/unix/sysv/linux/configure: Regenerated.
15645 * sysdeps/gnu/configure: New generated file.
15646
8e41b99f
TS
15647 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15648 for Linux: use nsec instead of usec, as well as:
15649 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15650 members of type struct timespec.
15651 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15652 New macros.
15653 (struct stat64): Likewise.
15654 (_STATBUF_ST_NSEC): New macro.
15655 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15656
10589b4a
TS
15657 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15658 __strtoul_internal rather than strtoul.
15659
63643c85
PT
156602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15661
15662 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15663 and reject them.
15664
3faebe6a
ST
156652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15666
15667 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15668 which preserves existing values.
15669 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15670
c6474b07
PT
156712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15672
15673 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15674 TIMEOUT values. Return EINVAL for NFDS values either negative or
15675 greater than FD_SETSIZE.
15676
1043890b
ST
156772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15678
15679 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15680 allocated, call __vm_protect to finish enabling the existing space, and
15681 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15682 allocate the remainder.
15683
37ed8b9b
PT
156842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15685
15686 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15687 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15688
db653660
ST
156892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15690
37ed8b9b
PT
15691 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15692 sysdeps/mach/hurd/readlink.c.
b29d4053 15693
db653660
ST
15694 * posix/tst-sysconf.c (posix_options): Only use
15695 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15696 _POSIX_SYNCHRONIZED_IO when they are defined
15697 * sysdeps/mach/hurd/bits/posix_opt.h:
15698 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15699 (_XOPEN_REALTIME): Undefine macro.
15700 (_XOPEN_REALTIME_THREADS): Undefine macro.
15701 (_XOPEN_SHM): Undefine macro.
15702 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15703 macro to -1.
15704 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15705 macro to -1.
15706 (_POSIX_ASYNC_IO): Undefine macro.
15707 (_POSIX_PRIORITIZED_IO): Undefine macro.
15708 (_POSIX_SPIN_LOCKS): Define macro to -1.
15709
ee16e894
ST
15710 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15711 SA_NODEFER, SA_RESETHAND.
15712 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15713 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15714 F_DUPFD_CLOEXEC.
15715
6103ae3b
TS
157162012-05-10 Thomas Schwinge <thomas@schwinge.name>
15717
15718 * elf/Makefile (pldd-modules): Define unconditionally.
15719
80b4e5f3
TS
157202012-05-10 Thomas Schwinge <thomas@schwinge.name>
15721
15722 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15723
edadcbd6
ST
157242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15725
15726 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15727 Return ENOENT when name is empty.
15728 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15729
80694780
TS
157302012-05-10 Thomas Schwinge <thomas@schwinge.name>
15731
1792c087
TS
15732 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15733
80694780
TS
15734 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15735
6b645f0d
ST
157362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15737
80694780
TS
15738 Fix mlock in all cases except non-readable pages.
15739 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15740 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 15741
6b645f0d
ST
15742 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15743 (__mkdir): When path is `/', just fail with EEXIST.
15744 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15745
e468f8a3
TS
157462012-05-10 Thomas Schwinge <thomas@schwinge.name>
15747
15748 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15749 <sys/uio.h> (for writev).
15750 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15751 and <sys/param.h> (for MIN).
15752
a4186cff
PT
157532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15754
15755 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15756 REQUESTED_TIME. Properly set the remaining time and return EINTR
15757 if interrupted.
15758
510bbf14
TS
157592012-05-10 Thomas Schwinge <thomas@schwinge.name>
15760
15761 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15762 Depend on against $(link-rpcuserlibs).
15763
5d5722e8
ST
157642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15765
a4186cff
PT
15766 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15767 (__libc_stack_end): Do not use attribute_relro.
15768 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15769 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15770 to libthread-provided value.
a4186cff
PT
15771 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15772 attribute_relro.
5d5722e8 15773
37233df9
TS
157742012-05-10 Thomas Schwinge <thomas@schwinge.name>
15775
be971a2b
TS
15776 [BZ #3748]
15777 * bits/libc-lock.h (__libc_once_get): New macro.
15778 * sysdeps/mach/bits/libc-lock.h: Likewise.
15779 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15780 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15781 instead of using implementation details.
15782
37233df9
TS
15783 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15784 * libio/freopen.c: Likewise.
15785 * libio/freopen64.c: Likewise.
15786 * misc/syslog.c: Likewise.
15787 * nscd/connections.c: Likewise.
15788 * nscd/netgroupcache.c: Likewise.
15789 * sysdeps/posix/getcwd.c: Likewise.
15790
38de94a5
RM
157912012-05-10 Roland McGrath <roland@hack.frob.com>
15792
15793 * math/w_ilogbf.c: Add #include <limits.h>.
15794
67530489
ST
157952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15796
a4186cff 15797 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15798 path instead of returning without unlocking.
15799
67530489
ST
15800 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15801 immediate-write ioctls.
15802 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15803
5aa3a74a
TS
158042012-05-10 Thomas Schwinge <thomas@schwinge.name>
15805
18bad2ae
TS
15806 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15807 __builtin_frame_address instead of making assumptions about the
15808 location of the return address relative to DATA. Force early load of
15809 the return address.
15810 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15811 __builtin_frame_address.
15812
5aa3a74a
TS
15813 dup3 for GNU Hurd.
15814 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15815 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15816 implement dup3 and do some further code clean-ups.
15817 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15818 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15819
ecd0de9a
ST
158202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15821
cd9fa985
ST
15822 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15823
a4186cff
PT
15824 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15825 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15826 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15827 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15828 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15829 d->port.lock.
802ca5a5 15830
a4186cff
PT
15831 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15832 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15833 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15834
bcf55240
TS
158352012-05-10 Thomas Schwinge <thomas@schwinge.name>
15836
6960eb42
TS
15837 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15838 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15839 definitions.
15840
eb43375f
TS
15841 accept4 for GNU Hurd.
15842 * include/sys/socket.h (__libc_accept4): New prototype.
15843 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15844 to implement __libc_accept4.
15845 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15846 __libc_accept4.
15847 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15848
bcf55240
TS
15849 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15850 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15851 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15852 signal-defines.sym.
15853
6178c55b
ST
158542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15855
a4186cff 15856 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15857
6f080c2f
TS
158582012-05-10 Thomas Schwinge <thomas@schwinge.name>
15859
15860 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15861 assertion on O_CLOEXEC flag.
15862 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15863 * hurd/intern-fd.c: Likewise.
15864 * hurd/port2fd.c: Likewise.
15865
bcfe3a54
ST
158662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15867
15868 [BZ #3906]
15869 * bits/in.h (IPV6_PKTINFO): Define new macro.
15870 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15871
89c9aa49
AZ
158722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15873
15874 [BZ #13954]
15875 [BZ #13955]
15876 [BZ #13956]
15877 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15878 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15879 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15880 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15881 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15882 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15883 * math/libm-test.inc (logb_test) : Additional logb tests.
15884
021db4be
AJ
158852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15886 Andreas Jaeger <aj@suse.de>
15887
15888 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15889 * configure: Regenerated.
15890 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15891 * config.make.in (link-obsolete-rpc): New substituted variable.
15892 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15893 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15894 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15895 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15896 so that libc.a contains the symbols.
15897 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15898 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15899 * sunrpc/auth_none.c: Likewise.
15900 * sunrpc/auth_unix.c: Likewise.
15901 * sunrpc/authdes_prot.c: Likewise.
15902 * sunrpc/authuxprot.c: Likewise.
15903 * sunrpc/clnt_gen.c: Likewise.
15904 * sunrpc/clnt_perr.c: Likewise.
15905 * sunrpc/clnt_raw.c: Likewise.
15906 * sunrpc/clnt_simp.c: Likewise.
15907 * sunrpc/clnt_tcp.c: Likewise.
15908 * sunrpc/clnt_udp.c: Likewise.
15909 * sunrpc/clnt_unix.c: Likewise.
15910 * sunrpc/des_crypt.c: Likewise.
15911 * sunrpc/des_soft.c: Likewise.
15912 * sunrpc/get_myaddr.c: Likewise.
15913 * sunrpc/key_call.c: Likewise.
15914 * sunrpc/key_prot.c: Likewise.
15915 * sunrpc/netname.c: Likewise.
15916 * sunrpc/pm_getmaps.c: Likewise.
15917 * sunrpc/pm_getport.c: Likewise.
15918 * sunrpc/pmap_clnt.c: Likewise.
15919 * sunrpc/pmap_prot.c: Likewise.
15920 * sunrpc/pmap_prot2.c: Likewise.
15921 * sunrpc/pmap_rmt.c: Likewise.
15922 * sunrpc/publickey.c: Likewise.
15923 * sunrpc/rpc_cmsg.c: Likewise.
15924 * sunrpc/rpc_common.c: Likewise.
15925 * sunrpc/rpc_dtable.c: Likewise.
15926 * sunrpc/rpc_prot.c: Likewise.
15927 * sunrpc/rpc_thread.c: Likewise.
15928 * sunrpc/rtime.c: Likewise.
15929 * sunrpc/svc.c: Likewise.
15930 * sunrpc/svc_auth.c: Likewise.
15931 * sunrpc/svc_raw.c: Likewise.
15932 * sunrpc/svc_run.c: Likewise.
15933 * sunrpc/svc_tcp.c: Likewise.
15934 * sunrpc/svc_udp.c: Likewise.
15935 * sunrpc/svc_unix.c: Likewise.
15936 * sunrpc/svcauth_des.c: Likewise.
15937 * sunrpc/xcrypt.c: Likewise.
15938 * sunrpc/xdr.c: Likewise.
15939 * sunrpc/xdr_array.c: Likewise.
15940 * sunrpc/xdr_float.c: Likewise.
15941 * sunrpc/xdr_intXX_t.c: Likewise.
15942 * sunrpc/xdr_mem.c: Likewise.
15943 * sunrpc/xdr_rec.c: Likewise.
15944 * sunrpc/xdr_ref.c: Likewise.
15945 * sunrpc/xdr_sizeof.c: Likewise.
15946 * sunrpc/xdr_stdio.c: Likewise.
15947
b5c086a2
RM
159482012-05-10 Roland McGrath <roland@hack.frob.com>
15949
15950 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15951 change. Update copyright years.
15952
6d74dd09
JM
159532012-05-10 Joseph Myers <joseph@codesourcery.com>
15954
15955 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15956
28e72501
MK
159572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15958 Joseph Myers <joseph@codesourcery.com>
15959 Paul Pluzhnikov <ppluzhnikov@google.com>
15960
15961 [BZ #14012]
15962 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15963 requiring rpcgen.
15964 [cross-compiling] (extra-libs): Likewise.
15965 [cross-compiling] (extra-libs-others): Likewise.
15966 [cross-compiling] (librpcsvc-routines): Likewise.
15967 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15968 [cross-compiling] (omit-deps): Likewise.
15969 (sunrpc-CPPFLAGS): New variable.
15970 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15971 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15972 (cross-rpcgen-objs): New variable.
15973 (extra-objs): Append $(cross-rpcgen-objs).
15974 ($(cross-rpcgen-objs)): New rule.
15975 ($(objpfx)cross-rpcgen): Likewise.
15976 (rpcgen-cmd): Define to use $(built-program-file). Expand
15977 comment.
15978 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15979 ($(objpfx)x%.stmp): Likewise.
15980 * sunrpc/proto.h [IS_IN_build] (_): Define.
15981 [IS_IN_build] (_libc_intl_domainname): Likewise.
15982
c8c59454
L
159832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15984
15985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15986 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15987 and R_X86_64_TPOFF64.
15988
6f27cd16
JM
159892012-05-10 Joseph Myers <joseph@codesourcery.com>
15990
15991 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15992 sysdeps/unix/sysv/syscalls.list.
15993 (stime): Likewise.
15994 (utime): Likewise.
15995 * sysdeps/unix/sysv/syscalls.list: Remove file.
15996
02467e1c
PE
159972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15998
15999 [BZ #3440]
16000 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16001 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16002 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16003 (__LC_IDENTIFICATION): Make these macros useful in #if
16004 expressions, as required by C99.
16005
da392631
AS
160062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
16007
16008 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16009 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
16010 after this.
16011
8115f29b
L
160122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
16013
16014 * stdlib/longlong.h: Updated from GCC.
16015
bdd74070
AJ
160162012-05-09 Andreas Jaeger <aj@suse.de>
16017
edfe0dbe
AJ
16018 * nscd/nscd.c (run_modes): Make named enum, reorder so that
16019 default is first entry.
16020 (run_mode): Set type.
16021 (main): Remove informal message about syslog.
16022 (options): Fix typo.
16023
bcfe3a54
ST
16024 [BZ #14053]
16025 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 16026 to asm.
bcfe3a54
ST
16027 (lrint): Likewise.
16028 (llrintf): Likewise.
16029 (llrint): Likewise.
16030 (rint): Likewise.
16031 (rintf): Likewise.
16032 (nearbyint): Likewise.
16033 (nearbyintf): Likewise.
bdd74070 16034
91d8d69e
AJ
160352012-05-09 Andreas Jaeger <aj@suse.de>
16036 Pedro Alves <palves@redhat.com>
16037
16038 * nscd/nscd.c (run_mode): Use enum.
16039 (main): Cleanup coding style issue.
16040
bb90b80b
AJ
160412012-05-09 Alexandre Oliva <aoliva@redhat.com>
16042 Andreas Jaeger <aj@suse.de>
16043
bcfe3a54
ST
16044 * nscd/nscd.c (go_background): Replaced with...
16045 (run_mode): ... this.
bb90b80b 16046 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
16047 (options): Add -F --foreground.
16048 (main): Implement it.
16049 (parse_opt): Parse it.
bb90b80b 16050
1a4b75a1
AJ
160512012-05-09 Andreas Jaeger <aj@suse.de>
16052
16053 [BZ #14083]
16054 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16055 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16056 -Wconversion warning.
16057 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16058 Likewise.
16059
b1cc2472
JM
160602012-05-09 Joseph Myers <joseph@codesourcery.com>
16061
16062 * conform/data/locale.h-data (NULL): Use macro-constant. Require
16063 == 0.
16064 (LC_ALL): Use macro-int-constant.
16065 (LC_COLLATE): Likewise.
16066 (LC_CTYPE): Likewise.
16067 (LC_MESSAGES): Likewise.
16068 (LC_MONETARY): Likewise.
16069 (LC_NUMERIC): Likewise.
16070 (LC_TIME): Likewise.
16071 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16072 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16074 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16075 Specify type.
16076 [C99-based standards] (float_t): Expect type.
16077 [C99-based standards] (double_t): Expect type.
16078 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
16079 type.
16080 [C99-based standards] (HUGE_VALL): Likewise.
16081 [C99-based standards] (INFINITY): Likewise.
16082 [C99-based standards] (NAN): Likewise.
16083 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16084 [C99-based standards] (FP_NAN): Likewise.
16085 [C99-based standards] (FP_NORMAL): Likewise.
16086 [C99-based standards] (FP_SUBNORMAL): Likewise.
16087 [C99-based standards] (FP_ZERO): Likewise.
16088 [C99-based standards] (FP_FAST_FMA): Use
16089 optional-macro-int-constant. Specify type. Require == 1.
16090 [C99-based standards] (FP_FAST_FMAF): Likewise.
16091 [C99-based standards] (FP_FAST_FMAL): Likewise.
16092 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16093 [C99-based standards] (FP_ILOGBNAN): Likewise.
16094 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16095 Specify type.
16096 [C99-based standards] (MATH_ERREXCEPT): Likewise.
16097 [C99-based standards] (math_errhandling): Specify type.
16098 [ISO99 || ISO11] (signgam): Do not allow.
16099 [non-C99-based standards] (copysignf): Do not allow.
16100 [non-C99-based standards] (exp2f): Likewise.
16101 [non-C99-based standards] (log2f): Likewise.
16102 [non-C99-based standards] (modff): Allow.
16103 [non-C99-based standards] (erff): Do not allow.
16104 [non-C99-based standards] (erfcf): Likewise.
16105 [non-C99-based standards] (gammaf): Likewise.
16106 [non-C99-based standards] (hypotf): Likewise.
16107 [non-C99-based standards] (j0f): Likewise.
16108 [non-C99-based standards] (j1f): Likewise.
16109 [non-C99-based standards] (jnf): Likewise.
16110 [non-C99-based standards] (lgammaf): Likewise.
16111 [non-C99-based standards] (tgammaf): Likewise.
16112 [non-C99-based standards] (y0f): Likewise.
16113 [non-C99-based standards] (y1f): Likewise.
16114 [non-C99-based standards] (ynf): Likewise.
16115 [non-C99-based standards] (isnanf): Likewise.
16116 [non-C99-based standards] (acoshf): Likewise.
16117 [non-C99-based standards] (asinhf): Likewise.
16118 [non-C99-based standards] (atanhf): Likewise.
16119 [non-C99-based standards] (cbrtf): Likewise.
16120 [non-C99-based standards] (expm1f): Likewise.
16121 [non-C99-based standards] (ilogbf): Likewise.
16122 [non-C99-based standards] (log1pf): Likewise.
16123 [non-C99-based standards] (logbf): Likewise.
16124 [non-C99-based standards] (nextafterf): Likewise.
16125 [non-C99-based standards] (remainderf): Likewise.
16126 [non-C99-based standards] (rintf): Likewise.
16127 [non-C99-based standards] (scalbf): Likewise.
16128 [non-C99-based standards] (copysignl): Likewise.
16129 [non-C99-based standards] (exp2l): Likewise.
16130 [non-C99-based standards] (log2l): Likewise.
16131 [non-C99-based standards] (modfl): Allow.
16132 [non-C99-based standards] (erfl): Do not allow.
16133 [non-C99-based standards] (erfcl): Likewise.
16134 [non-C99-based standards] (gammal): Likewise.
16135 [non-C99-based standards] (hypotl): Likewise.
16136 [non-C99-based standards] (j0l): Likewise.
16137 [non-C99-based standards] (j1l): Likewise.
16138 [non-C99-based standards] (jnl): Likewise.
16139 [non-C99-based standards] (lgammal): Likewise.
16140 [non-C99-based standards] (tgammal): Likewise.
16141 [non-C99-based standards] (y0l): Likewise.
16142 [non-C99-based standards] (y1l): Likewise.
16143 [non-C99-based standards] (ynl): Likewise.
16144 [non-C99-based standards] (isnanl): Likewise.
16145 [non-C99-based standards] (acoshl): Likewise.
16146 [non-C99-based standards] (asinhl): Likewise.
16147 [non-C99-based standards] (atanhl): Likewise.
16148 [non-C99-based standards] (cbrtl): Likewise.
16149 [non-C99-based standards] (expm1l): Likewise.
16150 [non-C99-based standards] (ilogbl): Likewise.
16151 [non-C99-based standards] (log1pl): Likewise.
16152 [non-C99-based standards] (logbl): Likewise.
16153 [non-C99-based standards] (nextafterl): Likewise.
16154 [non-C99-based standards] (remainderl): Likewise.
16155 [non-C99-based standards] (rintl): Likewise.
16156 [non-C99-based standards] (scalbl): Likewise.
16157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16158 [non-C99-based standards] (FP_*): Do not allow.
16159 [C99-based standards] (FP_*): Change to
16160 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16161 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16162 allow.
16163 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16164 (SIG_ERR): Likewise.
16165 [X/Open-based standards] (SIG_HOLD): Likewise.
16166 (SIG_IGN): Likewise.
16167 (SIGABRT): Use macro-int-constant. Specify type. Require
16168 positive value.
16169 (SIGFPE): Likewise.
16170 (SIGILL): Likewise.
16171 (SIGINT): Likewise.
16172 (SIGSEGV): Likewise.
16173 (SIGTER): Likewise.
16174 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16175 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16176 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16177 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16178 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16179 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16180 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16181 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16182 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16183 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16184 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16185 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16186 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16187 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16188 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16189 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16190 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16191 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16192 [X/Open-based standards] (SIGTRAP): Likewise.
16193 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16194 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16195 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16196 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16197 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16198 allow.
16199
b9f1922d
IW
162002012-05-08 Ian Wienand <ianw@vmware.com>
16201
16202 [BZ #14080]
16203 * time/tzset.c (__tzset_parse_tz): Update default rules for
16204 daylight time changes in the Energy Policy Act of 2005.
16205
1db86e88
AJ
162062012-05-09 Andreas Jaeger <aj@suse.de>
16207
16208 [BZ #13983]
16209 * elf/ldconfig.c (parse_conf): Change string to make clear that
16210 ldconfig only issued a warning if ld.so.conf does not exist.
16211
dee4a4e3
DM
162122012-05-08 David S. Miller <davem@davemloft.net>
16213
ee0db190
DM
16214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16215 movxtod instead of popping the value on the stack.
16216
dee4a4e3
DM
16217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16218
6a43ec98
CD
162192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16220
16221 * config.h.in: Add HAVE_ARM_PCS_VFP.
16222
05c2c961
RMG
162232012-05-08 Roland Mc Grath <roland@hack.frob.com>
16224
bcfe3a54
ST
16225 [BZ #13979]
16226 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16227 checking but the checks are disabled for any reason.
05c2c961 16228
4b30f61a
L
162292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16230
16231 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16232 and ELF64_R_TYPE with ELFW(R_TYPE).
16233
eee2bc67
JM
162342012-05-08 Joseph Myers <joseph@codesourcery.com>
16235
7ea5391a
JM
16236 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16237 (ulimit): Likewise.
16238
eee2bc67
JM
16239 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16240 (settimeofday): Likewise.
16241
abb66a67
MF
162422012-05-08 Mike Frysinger <vapier@gentoo.org>
16243
16244 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16245 a struct th_u2 inside the union, and move tu_block/tu_code into
16246 a new th_u3 union of tu_block/tu_code inside of that. Move
16247 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16248 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16249 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16250 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16251 (th_stuff): Change to th_u1.tu_stuff.
16252 (th_data): Define.
16253 (th_msg): Change to th_u1.th_u2.tu_data.
16254
7f18b530
DM
162552012-05-07 David S. Miller <davem@davemloft.net>
16256
05760585
DM
16257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16258
7f18b530
DM
16259 [BZ #14074]
16260 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16261 (SETUP_PIC_REG): Use it.
16262 (SETUP_PIC_REG_LEAF): Use it.
16263
495fd99f
JM
162642012-05-07 Joseph Myers <joseph@codesourcery.com>
16265
16266 [BZ #13885]
16267 [BZ #13923]
16268 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16269 USE_AS_EXPM1L.
16270 (EXPL_FINITE): Likewise.
16271 (FLDLOG): Likewise.
16272 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16273 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16274 e_expl.S.
16275 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16276 USE_AS_EXPM1L.
16277 (EXPL_FINITE): Likewise.
16278 (FLDLOG): Likewise.
16279 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16280 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16281 e_expl.S.
16282 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16283 test of -max_value argument for long double.
16284 * sysdeps/i386/fpu/libm-test-ulps: Update.
16285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16286
6693d694
DM
162872012-05-06 David S. Miller <davem@davemloft.net>
16288
16289 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16290 quad soft-float symbols whose references which are compiler
16291 generated.
16292 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16293
6c23e11c
JM
162942012-05-06 Joseph Myers <joseph@codesourcery.com>
16295
d8b82cad
JM
16296 [BZ #13884]
16297 [BZ #13914]
16298 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16299 USE_AS_EXP10L.
16300 (EXPL_FINITE): Likewise.
16301 (FLDLOG): Likewise.
16302 (c0): Likewise.
16303 (c1): Likewise.
16304 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16305 Adjust comments for base varying.
16306 (__expl_finite): Change alias to EXPL_FINITE.
16307 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16308 e_expl.S.
16309 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16310 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16312 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16313 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16314 USE_AS_EXP10L.
16315 (EXPL_FINITE): Likewise.
16316 (FLDLOG): Likewise.
16317 (c0): Likewise.
16318 (c1): Likewise.
16319 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16320 Adjust comments for base varying.
16321 (__expl_finite): Change alias to EXPL_FINITE.
16322 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16323 tests for bugs.
16324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16325
6c23e11c
JM
16326 [BZ #14064]
16327 * math/libm-test.inc (check_float_internal): Correct ulp
16328 calculation for subnormal expected results.
16329
29ba805c
AJ
163302012-05-06 Andreas Jaeger <aj@suse.de>
16331
16332 * Makeconfig (+math-flags): New, set to -frounding-math.
16333 (+cflags): Add +math-flags so that all of glibc gets compiled with
16334 it.
16335
16336 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16337
7b17aeda
JM
163382012-05-05 Joseph Myers <joseph@codesourcery.com>
16339
5779f134
JM
16340 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16341 Disable one test.
16342
41498f4d
JM
16343 [BZ #13787]
16344 [BZ #13922]
16345 [BZ #14036]
16346 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16347 (__ieee754_expl): Allow for and saturate large arguments.
16348 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16349 (u_threshold): Likewise.
16350 (__exp): Call __ieee754_exp before checking for overflow and
16351 underflow.
16352 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16353 (u_threshold): Likewise.
16354 (__expf): Call __ieee754_expf before checking for overflow and
16355 underflow.
16356 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16357 (u_threshold): Likewise.
16358 (__expl): Call __ieee754_expl before checking for overflow and
16359 underflow.
16360 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16361 (__ieee754_expl): Allow for and saturate large arguments.
16362 * math/libm-test.inc (exp_test): Add another test. Do not allow
16363 missing overflow exception on overflow.
16364 (expm1_test): Do not allow missing overflow exception on overflow.
16365
6698b8bf
JM
16366 * sysdeps/i386/fpu/e_expl.c: Move to ...
16367 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16368 rather than using inline asm.
16369 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16370 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16371 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16372
7b17aeda
JM
16373 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16374 (nice): Likewise.
16375 (poll): Likewise.
16376 (signal): Likewise.
16377 (time): Likewise.
16378 (times): Likewise.
16379
f7c85819
JM
163802012-05-04 Joseph Myers <joseph@codesourcery.com>
16381
16382 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16383 sysdeps/unix/common/syscalls.list.
16384 (fchmod): Likewise.
16385 (fchown): Likewise.
16386 (ftruncate): Likewise.
16387 (getrusage): Likewise.
16388 (gettimeofday): Likewise.
16389 (setpgid): Likewise.
16390 (setregid): Likewise.
16391 (setreuid): Likewise.
16392 (sigaction): Likewise.
16393 (truncate): Likewise.
16394 (vhangup): Likewise.
16395 * sysdeps/unix/common/syscalls.list: Remove file.
16396 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16397 * sysdeps/unix/sysv/linux/Implies: Likewise.
16398
336270d0
L
163992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16400
16401 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16403 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16404 Moved to ...
16405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16406 Here.
16407 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16408 to ...
16409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16410 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16411 to ...
16412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16413 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16414 to ...
16415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16416 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16417 to ...
16418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16419 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16420 to ...
16421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16422 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16423 to ...
16424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16425 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16426 to ...
16427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16428 Here.
16429 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16430 to ...
16431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16432 Here.
16433 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16434 to ...
16435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16436 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16437 Moved to ...
16438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16439 Here.
16440 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16441 to ...
16442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16443
d128e450
JM
164442012-05-04 Joseph Myers <joseph@codesourcery.com>
16445
fa8ee516
JM
16446 * sysdeps/unix/common/bits/dirent.h: Remove file.
16447 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16448
d128e450
JM
16449 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16450 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16451 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16452 * sysdeps/unix/bsd/isatty.c: Likewise.
16453 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16454 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16455 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16456
ff8faaf0 164572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16458
62881be4 16459 [BZ #13563]
31dc8730
AZ
16460 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16461 long double comparison inaccuracies.
16462 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16464
6fef930c
AS
164652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16466
16467 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16468 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16469
8f203e6c
JM
164702012-05-04 Joseph Myers <joseph@codesourcery.com>
16471
16472 [BZ #14049]
16473 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16474 nonzero digits before rounding a hex value.
16475 * stdlib/tst-strtod.c (tests): Add another test.
16476
5197d9c2
AK
164772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16478
16479 * sysdeps/s390/fpu/libm-test-ulps: Update.
16480
f0c1dedf
AJ
164812012-05-03 Andreas Jaeger <aj@suse.de>
16482
16483 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16484 does not get optimized out.
16485 (malloc_opt_barrier): New.
16486
a65ef2ae 164872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16488 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16489
2b942cb7 16490 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16491 intermediate file deletion.
2b942cb7 16492 (generated): Add .symlist files.
a65ef2ae 16493
54b71e02
JM
164942012-05-03 Joseph Myers <joseph@codesourcery.com>
16495
16496 [BZ #13775]
16497 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16498 Redirect under this condition.
16499 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16500 [__USE_GNU] (__dprintf_chk): Not under this condition.
16501 [__USE_GNU] (__vdprintf_chk): Likewise.
16502 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16503 under this condition.
16504 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16505 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16506 [__USE_XOPEN2K8] (vdprintf): Likewise.
16507 [__USE_GNU] (__dprintf_chk): Not under this condition.
16508 [__USE_GNU] (__vdprintf_chk): Likewise.
16509 [__USE_GNU] (dprintf): Likewise.
16510 [__USE_GNU] (vdprintf): Likewise.
16511
d3dfcc41
RM
165122012-05-03 Roland McGrath <roland@hack.frob.com>
16513
16514 * elf/Makefile (common-generated): Set this instead of generated for
16515 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16516 $(all-built-dso)-derived lists.
16517
7ac30cc5
AJ
165182012-05-03 Andreas Jaeger <aj@suse.de>
16519
0c51e550
AJ
16520 * sysdeps/i386/fpu/libm-test-ulps: Update.
16521
7ac30cc5
AJ
16522 * FAQ: Removed.
16523 * FAQ.in: Likewise.
16524 * scripts/gen-FAQ.pl: Likewise.
16525 * manual/install.texi (Installation): Point to online location of
16526 FAQ.
16527 * Makefile (files-for-dist): Remove FAQ.
16528 (FAQ): Remove.
16529
d4c2917f
AM
165302012-05-02 Allan McRae <allan@archlinux.org>
16531
16532 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16533 (LDFLAGS-reldepmod5.so): Likewise.
16534 (LDFLAGS-reldep6mod1.so): Likewise.
16535 (LDFLAGS-reldep6mod4.so): Likewise.
16536 (LDFLAGS-reldep8mod3.so): Likewise.
16537 (LDFLAGS-unload4mod1.so): Likewise.
16538 (LDFLAGS-unload4mod2.so): Likewise.
16539 (LDFLAGS-tst-initorder): Likewise.
16540 (LDFLAGS-tst-initordera2.so): Likewise.
16541 (LDFLAGS-tst-initordera3.so): Likewise.
16542 (LDFLAGS-tst-initordera4.so): Likewise.
16543 (LDFLAGS-tst-initorderb2.so): Likewise.
16544 (LDFLAGS-noload): Likewise.
16545 (LDFLAGS-next): Likewise.
16546 (LDFLAGS-order2mod1.so): Likewise.
16547 (LDFLAGS-order2mod2.so): Likewise.
16548 (LDFLAGS-tst-initorder2): Likewise.
16549 (LDFLAGS-tst-initorder2a.so): Likewise.
16550 (LDFLAGS-tst-initorder2b.so): Likewise.
16551 (LDFLAGS-tst-initorder2c.so): Likewise.
16552 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16553
d77f993f
DM
165542012-05-02 David S. Miller <davem@davemloft.net>
16555
16556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16557
171a70b4
PP
165582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16559
16560 [BZ #14055]
16561 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16562
0be196ad
AJ
165632012-05-02 Andreas Jaeger <aj@suse.de>
16564
16565 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16566 since we manipulate rounding mode.
16567 (CPPFLAGS-test-idouble.c): Likewise.
16568 (CPPFLAGS-test-ifloat.c): Likewise.
16569 (CFLAGS-test-ldouble.c): Likewise.
16570 (CFLAGS-test-double.c): Likewise.
16571 (CFLAGS-test-float.c): Likewise.
16572 (CFLAGS-test-misc.c): Likewise.
16573 (CFLAGS-test-test-fenv.c): Likewise.
16574
4f9d04aa
AZ
165752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16576
2b942cb7
RM
16577 [BZ #2550]
16578 [BZ #2570]
16579 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16580 comparisons to determine direction to adjust input.
4f9d04aa 16581
82a79e7d
RM
165822012-05-01 Roland McGrath <roland@hack.frob.com>
16583
f5a01ca9
RM
16584 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16585 output to the target.
16586
90fe4186
RM
16587 * scripts/localplt.awk: New file.
16588 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16589 (check-localplt-CFLAGS): Variable removed.
16590 ($(all-built-dso:=.jmprel)): New static pattern rule.
16591 (generated): Add those targets.
16592 (localplt-built-dso): New variable.
16593 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16594
16595 * elf/check-localplt.c: File removed.
16596
82397ed6
RM
16597 * scripts/check-execstack.awk: New file.
16598 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16599 (check-execstack-CFLAGS): Variable removed.
16600 ($(objpfx)check-execstack.h): Target removed.
16601 ($(objpfx)execstack-default): New target.
16602 (generated): Add that instead of check-execstack.h.
16603 ($(all-built-dso:=.phdr)): New static pattern rule.
16604 (generated): Add those targets.
16605 * elf/check-execstack.c: File removed.
16606
82a79e7d
RM
16607 * scripts/check-textrel.awk: New file.
16608 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16609 (check-textrel-CFLAGS): Variable removed.
16610 (all-built-dso): Use := to define.o
16611 ($(all-built-dso:=.dyn)): New static pattern rule.
16612 (generated): Add those targets.
16613 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16614 * config.make.in (READELF): New substituted variable.
16615 * elf/check-textrel.c: File removed.
16616
62fde54f 166172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 16618
615605c9
JM
16619 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16620 allow.
16621 * conform/data/ctype.h-data [C99-based standards] (isblank):
16622 Expect function.
16623 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16624 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16626 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16627 Specify type. Require positive value.
16628 (EILSEQ): Likewise.
16629 (ERANGE): Likewise.
16630 [ISO || POSIX] (EILSEQ): Do not expect.
16631 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16632 Specify type. Require positive value.
16633 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16634 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16635 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16636 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16637 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16638 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16639 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16640 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16641 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16642 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16643 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16644 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16645 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16646 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16647 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16648 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16649 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16650 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16651 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16652 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16653 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16654 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16655 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16656 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16657 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16658 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16659 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16660 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16661 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16662 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16663 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16664 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16665 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16666 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16667 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16668 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16669 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16670 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16671 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16672 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16673 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16674 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16675 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16676 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16677 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16678 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16679 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16680 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16681 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16682 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16683 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16684 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16685 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16686 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16687 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16688 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16689 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16690 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16691 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16692 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16693 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16694 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16695 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16696 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16697 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16698 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16699 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16700 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16701 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16702 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16703 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16704 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16705 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16706 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16707 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16708 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16709 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16710 Require >= 2.
16711 (FLT_ROUNDS): Expect as macro, not constant.
16712 (FLT_MANT_DIG): Use macro-int-constant.
16713 (DBL_MANT_DIG): Likewise.
16714 (LDBL_MANT_DIG): Likewise.
16715 (FLT_DIG): Likewise.
16716 (DBL_DIG): Likewise.
16717 (LDBL_DIG): Likewise.
16718 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16719 (DBL_MIN_EXP): Likewise.
16720 (LDBL_MIN_EXP): Likewise.
16721 (FLT_MAX_EXP): Use macro-int-constant.
16722 (DBL_MAX_EXP): Likewise.
16723 (LDBL_MAX_EXP): Likewise.
16724 (FLT_MAX_10_EXP): Likewise.
16725 (DBL_MAX_10_EXP): Likewise.
16726 (LDBL_MAX_10_EXP): Likewise.
16727 (FLT_MAX): Use macro-constant.
16728 (DBL_MAX): Likewise.
16729 (LDBL_MAX): Likewise.
16730 (FLT_EPSILON): Use macro-constant. Give upper bound.
16731 (DBL_EPSILON): Likewise.
16732 (LDBL_EPSILON): Likewise.
16733 (FLT_MIN): Likewise.
16734 (DBL_MIN): Likewise.
16735 (LDBL_MIN): Likewise.
16736 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16737 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16738 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16739 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16740 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16741 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16742 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16743 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16744 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16745 [ISO11] (FLT_TRUE_MIN): Likewise.
16746 [ISO11] (LDBL_TRUE_MIN): Likewise.
16747 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16748 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16749 (SCHAR_MIN): Use macro-int-constant. Specify type.
16750 (SCHAR_MAX): Likewise.
16751 (UCHAR_MAX): Likewise.
16752 (CHAR_MIN): Likewise.
16753 (CHAR_MAX): Likewise.
16754 (MB_LEN_MAX): Use macro-int-constant.
16755 (SHRT_MIN): Use macro-int-constant. Specify type.
16756 (SHRT_MAX): Likewise.
16757 (USHRT_MAX): Likewise.
16758 (INT_MAX): Likewise.
16759 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16760 bound negative.
16761 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16762 bound with "U".
16763 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16764 bound with "L".
16765 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16766 bound negative. Suffix upper bound with "L".
16767 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16768 bound with "UL".
16769 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16770 Specify type.
16771 [C99-based standards] (LLONG_MAX): Likewise.
16772 [C99-based standards] (ULLONG_MAX): Likewise.
16773 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16774 == 0.
16775 [ISO11] (max_align_t): Require type.
16776 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16777
c9140a62
JM
16778 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16779 from $CFLAGS, without defining away __attribute__ calls.
16780 (checknamespace): Use $CFLAGS_namespace.
16781
9af0bf29
JM
16782 * conform/conformtest.pl (@keywords): Only include C99 keywords
16783 for standards based on C99 or C11.
16784
343222a2
JM
16785 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16786 Disable tests.
16787 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16788 UNIX98]: Likewise.
16789
661f8cf0
JM
16790 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16791 usability of symbols in #if.
16792
ee74b9cb
JM
16793 * conform/conformtest.pl: If macro or constant types start
16794 "promoted:", expect the symbol to be of the following type
16795 promoted by the integer promotions.
62fde54f 16796
aafc49b3
JM
16797 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16798 in one place. Also handle "macro-constant".
16799
fefdf574
JM
16800 * conform/conformtest.pl: Only accept expected macro values with
16801 "==". Parse all "macro" lines in one place.
16802 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16803
f2d922fe
JM
16804 * conform/conformtest.pl: Handle braced types on "constant" lines
16805 instead of handling "typed-constant".
16806 * conform/data/signal.h-data: Use "constant" instead of
16807 "typed-constant".
16808
d22956c9
JM
16809 * conform/conformtest.pl: Handle "optional-" at start of lines in
16810 one place rather than duplicating several cases. Handle each
16811 format of "macro" line with initial "optional-".
16812
028e2e38
JM
16813 * conform/conformtest.pl: Only accept expected constant or
16814 optional-constant values with "==". Parse all "constant" lines in
16815 one place. Parse all "optional-constant" lines in one place.
16816 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16817 * conform/data/fmtmsg.h-data: Likewise.
16818 * conform/data/netinet/in.h-data: Likewise.
16819 * conform/data/tar.h-data: Likewise.
16820 * conform/data/limits.h-data: Use "==" form on "constant" and
16821 "optional-constant" lines.
16822
1b8f2850
JM
16823 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16824 Use -std=c99 for XOPEN2K.
16825 (@knownproblems): Remove.
16826 (newtoken): Don't check %isknown.
16827
a05a144b
JM
16828 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16829 Do not expect macro.
16830 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16831 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16832 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16833 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16834 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16835 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16836 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16837 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16838 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16839 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16840 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16841 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16842 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16843 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16844 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16845 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16846 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16847 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16848 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16849 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16850 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16851 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16852 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16853 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16854 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16855 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16856 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16857 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16858 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16859 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16860 [XPG3] (acosh): Likewise.
16861 [XPG3] (asinh): Likewise.
16862 [XPG3] (atanh): Likewise.
16863 [XPG3] (cbrt): Likewise.
16864 [XPG3] (expm1): Likewise.
16865 [XPG3] (ilogb): Likewise.
16866 [XPG3] (log1p): Likewise.
16867 [XPG3] (logb): Likewise.
16868 [XPG3] (nextafter): Likewise.
16869 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16870 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16871 [XPG3] (remainder): Likewise.
16872 [XPG3] (rint): Likewise.
16873 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16874 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16875 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16876 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16877 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16878 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16879 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16880 [UNIX98 || XOPEN2K] (scalb): Expect.
16881 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16882 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16883 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16884 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16885 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16886 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16887 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16888 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16889 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16890 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16891 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16892 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16893 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16894 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16895 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16896 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16897 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16898 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16899 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16900 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16901 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16902 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16903 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16904 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16905 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16906 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16907 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16908 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16909 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16910 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16911 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16912 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16913 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16914 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16915 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16916 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16917 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16918 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16919 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16920 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16921 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16922 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16923 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16924 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16925 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16926 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16927 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16928 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16929 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16930 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16931 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16932 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16933 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16934 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16935 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16936 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16937 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16938 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16939 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16940 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16941 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16942 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16943 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16944 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16945 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16946 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16947 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16948 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16949 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16950 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16951 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16952 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16953 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16954 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16955 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16956 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16957 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16958 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16959 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16960 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16961 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16962 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16963 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16964 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16965 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16966 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16967 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16968 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16969 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16970 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16971 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16972 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16973 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16974 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16975 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16976 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16977 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16978 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16979 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16980 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16981 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16982 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16983 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16984 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16985 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16986 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16987 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16988 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16989 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16990 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16991 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16992 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16993 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16994 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16995 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16996 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16997 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16998 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16999 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17000 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17001 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17002 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17003 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17004 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17005 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17006 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17007 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17008 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17009 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17010 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17011 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17012 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17013 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17014 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17015 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17016 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17017 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17018
73c5ebe3
JM
17019 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17020 _XOPEN_SOURCE_EXTENDED for XPG4.
17021
39c33b6c
JM
17022 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17023
62fde54f
JM
17024 * Makeconfig (localtime): Remove variable.
17025 (inst_localtime-file): Likewise.
17026
0741d64c
AS
170272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17028
17029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17030 Update.
17031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17032 Update.
17033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17034 Update.
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17036 Update.
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17038 Update.
17039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17040 Update.
17041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17042 Update.
17043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17044 Update.
17045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17046 Update.
17047
7cb029ee
JM
170482012-05-01 Joseph Myers <joseph@codesourcery.com>
17049
17050 [BZ #2550]
17051 [BZ #2570]
17052 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17053 comparisons to determine direction to adjust input.
17054 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17055 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17056 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17057 Likewise.
17058 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17059 Likewise.
17060 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17061 Likewise.
17062 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17063 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17064 Likewise.
17065 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17066 Likewise.
17067 * math/libm-test.inc (nexttoward_test): Add more tests.
17068
412bd966
AS
170692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17070
17071 [BZ #14040]
17072 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17073 in version GLIBC_2.1, not GLIBC_2.0.
17074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17075 Likewise.
17076
9568c0c2
JM
170772012-04-30 Joseph Myers <joseph@codesourcery.com>
17078
adfbc8ac
JM
17079 [BZ #13942]
17080 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17081 (1 - x) * (1 + x).
17082 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17083 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17084 * math/libm-test.inc (acos_test): Add more tests.
17085 (asin_test): Likewise.
17086 * sysdeps/i386/fpu/libm-test-ulps: Update.
17087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17088
5ba3cc69
JM
17089 [BZ #14034]
17090 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17091 of square root.
17092 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17093 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17094 * math/libm-test.inc (acos_test_tonearest): New function.
17095 (acos_test_towardzero): Likewise.
17096 (acos_test_downward): Likewise.
17097 (acos_test_upward): Likewise.
17098 (asin_test_tonearest): Likewise.
17099 (asin_test_towardzero): Likewise.
17100 (asin_test_downward): Likewise.
17101 (asin_test_upward): Likewise.
17102 (main): Call the new functions.
17103 * sysdeps/i386/fpu/libm-test-ulps: Update.
17104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17105
9568c0c2
JM
17106 [BZ #13884]
17107 [BZ #13924]
17108 * math/e_exp10.c: Include <float.h>.
17109 (__ieee754_exp10): Handle underflow here rather than multiplying
17110 large negative argument by M_LN10.
17111 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17112 of __ieee754_expf.
17113 * math/e_exp10l.c: Include <float.h>.
17114 (__ieee754_exp10l): Handle underflow here rather than multiplying
17115 large negative argument by M_LN10l.
17116 * math/libm-test.inc (exp10_test): Add another test. Do not allow
17117 spurious overflow exception on underflow.
17118
5ac3ea17
MP
171192012-04-29 Marek Polacek <polacek@redhat.com>
17120
17121 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17122 (__fortify_function): New macro.
17123 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17124 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17125 __extern_always_inline.
17126 * libio/bits/stdio2.h: Likewise.
17127 * libio/bits/stdio.h: Likewise.
17128 * string/string.h: Likewise.
17129 * string/bits/string3.h: Likewise.
17130 * include/stdio.h: Likewise.
17131 * stdlib/bits/stdlib.h: Likewise.
17132 * stdlib/stdlib.h: Likewise.
17133 * rt/bits/mqueue2.h: Likewise.
17134 * rt/mqueue.h: Likewise.
17135 * posix/bits/unistd.h: Likewise.
17136 * posix/unistd.h: Likewise.
17137 * io/bits/poll2.h: Likewise.
17138 * io/bits/fcntl2.h: Likewise.
17139 * io/fcntl.h: Likewise.
17140 * io/sys/poll.h: Likewise.
17141 * misc/bits/syslog.h: Likewise.
17142 * misc/bits/syslog-ldbl.h: Likewise.
17143 * misc/sys/syslog.h: Likewise.
17144 * socket/bits/socket2.h: Likewise.
17145 * socket/sys/socket.h: Likewise.
17146 * debug/tst-chk1.c: Likewise.
17147 * wcsmbs/bits/wchar2.h: Likewise.
17148 * wcsmbs/bits/wchar-ldbl.h: Likewise.
17149 * wcsmbs/wchar.h: Likewise.
17150
ecf0ebfb
AJ
171512012-04-29 Andreas Jaeger <aj@suse.de>
17152
17153 * Makerules (tests): Remove enable-check-abi protection.
17154 (check-abi-warn): Remove.
17155 (check-abi-%): Remove check-abi-warn usage.
17156
17157 * configure.in: Remove check-abi configure option.
17158 * configure: Regenerated.
17159 * config.make.in (enable-check-abi): Remove.
17160
6d5c57fa
AS
171612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
17162
24c5d07e 17163 [BZ #14033]
ded5180a
AS
17164 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17165 double functions to double *_finite functions.
17166
7e0d315d
AS
17167 [BZ #13941]
17168 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17169 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17170 LDBL_MIN_EXP.
17171 * stdio-common/Makefile (tests): Add tst-sprintf3.
17172 * stdio-common/tst-sprintf3.c: New file.
17173
6d5c57fa
AS
17174 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17175 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17176
0749ff8b
JM
171772012-04-28 Joseph Myers <joseph@codesourcery.com>
17178
17179 * conform/conformtest.pl: Remove duplicate typed-constant
17180 handling.
17181
8dbd5d7b
DM
171822012-04-28 David S. Miller <davem@davemloft.net>
17183
17184 * Makerules (%.abilist): Add vpath on sysdep_dirs.
17185 (check-abi-%): Remove AWK script prerequisite and explicit
17186 abilist directory.
17187 (check-abi): Rewrite to just diff the symlist with the abilist.
17188 (config-tls, config-abi-config): Delete, no longer used.
17189 (update-abi-%): Remove AWK script and explicit abilist directory.
17190 (update-abi): Rewrite to simply compare and conditionally copy the
17191 symlist and the sysdep abilist file. Remove update-abi-config
17192 checks.
17193 * abilist/ld.abilist: Remove.
17194 * abilist/libBrokenLocale.abilist: Remove.
17195 * abilist/libanl.abilist: Remove.
17196 * abilist/libcrypt.abilist: Remove.
17197 * abilist/libdl.abilist: Remove.
17198 * abilist/librt.abilist: Remove.
17199 * abilist/libthread_db.abilist: Remove.
17200 * abilist/libutil.abilist: Remove.
17201 * scripts/extract-abilist.awk: Remove.
17202 * scripts/merge-abilist.awk: Remove.
17203 * sysdeps/generic/libcidn.abilist: New file.
17204 * sysdeps/generic/libnss_compat.abilist: New file.
17205 * sysdeps/generic/libnss_db.abilist: New file.
17206 * sysdeps/generic/libnss_dns.abilist: New file.
17207 * sysdeps/generic/libnss_files.abilist: New file.
17208 * sysdeps/generic/libnss_hesiod.abilist: New file.
17209 * sysdeps/generic/libnss_nis.abilist: New file.
17210 * sysdeps/generic/libnss_nisplus.abilist: New file.
17211 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17212 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17213 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17214 file.
17215 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17216 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17217 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17218 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17219 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17220 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17221 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17222 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17223 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17224 file.
17225 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17226 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17227 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17228 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17229 file.
17230 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17231 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17232 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17233 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17234 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17235 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17236 file.
17237 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17238 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17239 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17240 file.
17241 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17243 New file.
17244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17245 New file.
17246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17247 New file.
17248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17249 New file.
17250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17251 New file.
17252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17253 New file.
17254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17255 New file.
17256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17257 New file.
17258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17259 New file.
17260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17261 New file.
17262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17263 New file.
17264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17265 New file.
17266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17267 New file.
17268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17269 file.
17270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17271 New file.
17272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17273 New file.
17274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17275 file.
17276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17277 New file.
17278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17279 New file.
17280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17281 file.
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17283 New file.
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17285 New file.
17286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17287 New file.
17288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17289 New file.
17290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17291 New file.
17292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17293 New file.
17294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17296 file.
17297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17298 New file.
17299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17300 file.
17301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17302 file.
17303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17304 file.
17305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17306 file.
17307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17308 file.
17309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17310 New file.
17311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17312 file.
17313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17314 file.
17315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17316 New file.
17317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17318 file.
17319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17321 file.
17322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17323 New file.
17324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17325 file.
17326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17327 file.
17328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17329 file.
17330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17331 file.
17332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17333 file.
17334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17335 New file.
17336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17337 file.
17338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17339 file.
17340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17341 New file.
17342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17343 file.
17344 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17345 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17346 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17347 file.
17348 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17349 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17350 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17351 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17352 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17353 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17354 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17355 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17356 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17357 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17360 file.
17361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17362 New file.
17363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17364 file.
17365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17366 file.
17367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17368 file.
17369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17370 file.
17371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17372 file.
17373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17374 New file.
17375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17376 New file.
17377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17378 file.
17379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17380 New file.
17381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17382 file.
17383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17385 file.
17386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17387 New file.
17388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17389 file.
17390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17391 file.
17392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17393 file.
17394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17395 file.
17396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17397 file.
17398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17399 New file.
17400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17401 New file.
17402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17403 file.
17404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17405 New file.
17406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17407 file.
17408
41d73a1b
JM
174092012-04-28 Joseph Myers <joseph@codesourcery.com>
17410
17411 * conform/conformtest.pl: Fix typo in handling typed-constant from
17412 allow-header.
17413
28aeeda4
JM
174142012-04-27 Joseph Myers <joseph@codesourcery.com>
17415
adae8f5e
JM
17416 * README: Cut down references to pre-2.6 Linux kernels and
17417 Linuxthreads. Update lists of configurations in libc and ports
17418 and sort alphabetically. Say "or newer" with Linux kernel version
17419 requirements.
17420
28aeeda4
JM
17421 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17422
a462cb63
RA
174232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17424
17425 [BZ #887]
17426 * math/libm-test.inc (logb_test_downward): New test to expose
17427 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17428 rounding mode.
17429
6ad3493e
JM
174302012-04-27 Joseph Myers <joseph@codesourcery.com>
17431
17432 [BZ #14027]
17433 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17434 to be done.
17435 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17436 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17437
2ce4f015
JM
174382012-04-26 Joseph Myers <joseph@codesourcery.com>
17439
5aeb141a
JM
17440 * sysdeps/unix/i386/brk.S: Remove file.
17441 * sysdeps/unix/i386/dl-brk.S: Likewise.
17442 * sysdeps/unix/i386/pipe.S: Likewise.
17443 * sysdeps/unix/i386/sigreturn.S: Likewise.
17444 * sysdeps/unix/i386/syscall.S: Likewise.
17445 * sysdeps/unix/i386/vfork.S: Likewise.
17446 * sysdeps/unix/i386/wait.S: Likewise.
17447
7143acae
JM
17448 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17449 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17450
2ce4f015
JM
17451 * configure.in (arm*-none*): Do not allow without
17452 --enable-hacker-mode.
17453 (netbsd*): Remove case setting base_os.
17454 (386bsd*): Likewise.
17455 (freebsd*): Likewise.
17456 (bsdi*): Likewise.
17457 (osf*): Likewise.
17458 (sunos*): Likewise.
17459 (ultrix*): Likewise.
17460 (newsos*): Likewise.
17461 (dynix*): Likewise.
17462 (*bsd*): Likewise.
17463 (sysv*): Likewise.
17464 (isc*): Likewise.
17465 (esix*): Likewise.
17466 (sco*): Likewise.
17467 (minix*): Likewise.
17468 (irix4*): Likewise.
17469 (irix6*): Likewise.
17470 (solaris[2-9]*): Likewise.
17471 (none): Likewise.
17472 * configure: Regenerated.
17473
0ac229c8
AZ
174742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17475
17476 [BZ #11521]
17477 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17478 overflow or cancellation in calculating denominator.
17479 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17480 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17481 down expression to avoid unexpected rounding in newer GCCs.
17482 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17483
33f244f4
DM
174842012-04-26 David S. Miller <davem@davemloft.net>
17485
17486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17487 long-double compat symbols.
17488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17501
cfa1f3e8
DM
175022012-04-25 David S. Miller <davem@davemloft.net>
17503
17504 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17505 HWCAP_* values only after the memory barriers have been defined.
17506 (atomic_full_barrier): Define.
17507 (atomic_read_barrier): Define.
17508 (atomic_write_barrier): Define.
17509
6e236b92
SP
175102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17511
17512 * shlib-versions: Add libgcc_s version information.
17513 * sysdeps/generic/libgcc_s.h: Remove.
17514 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17515 libgcc_s.h.
17516 * sysdeps/gnu/unwind-resume.c: Likewise.
17517 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17518
aab39a09
DM
175192012-04-25 David S. Miller <davem@davemloft.net>
17520
17521 * sysdeps/unix/sparc/brk.S: Delete.
17522 * sysdeps/unix/sparc/dl-brk.S: Delete.
17523 * sysdeps/unix/sparc/pipe.S: Delete.
17524 * sysdeps/unix/sparc/sysdep.S: Delete.
17525 * sysdeps/unix/sparc/sysdep.h: Delete.
17526 * sysdeps/unix/sparc/vfork.S: Delete.
17527 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17528 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17529 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17530 ret_ERRVAL, r0, r1, MOVE): Define.
17531 (JUMPTARGET): Remove.
17532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17533 sysdeps/unix/sparc/sysdep.h
17534 (ENTRY, END): Remove.
17535 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17536
a3cc4f48
JM
175372012-04-25 Joseph Myers <joseph@codesourcery.com>
17538
2ed8cda2
JM
17539 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17540 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17541 -DIS_IN_build.
17542
35d76d59
JM
17543 * timezone/README: Update upstream location and email address for
17544 tzcode and tzdata.
17545 * timezone/zdump.c: Update from tzcode 2012b.
17546 * timezone/zic.c: Likewise.
17547
a3cc4f48
JM
17548 * configure.in (libc_cv_as_needed): Remove test.
17549 * configure: Regenerated.
17550 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17551 conditional definition.
17552 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17553 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17554 * config.make.in (have-as-needed): Remove variable.
17555
ceab42c3
SP
175562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17557 Paul Pluzhnikov <ppluzhnikov@google.com>
17558
17559 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17560 strings correctly.
17561
3ce2865f
CLT
175622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17563
17564 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17565 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17566 * sysdeps/sh/strlen.S: Likewise.
17567
f37e0d68
JM
175682012-04-24 Joseph Myers <joseph@codesourcery.com>
17569
ae186e9a
JM
17570 * sysdeps/unix/fork.S: Remove file.
17571 * sysdeps/unix/i386/fork.S: Likewise.
17572 * sysdeps/unix/sparc/fork.S: Likewise.
17573
b96914af
JM
17574 * sysdeps/unix/system.c: Remove file.
17575 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17576
f37e0d68
JM
17577 * sysdeps/unix/getegid.S: Remove file.
17578 * sysdeps/unix/geteuid.S: Likewise.
17579
87ef29ca
RM
175802012-04-24 Roland McGrath <roland@hack.frob.com>
17581
83bcd236
RM
17582 * scripts/check-localplt.awk: New file.
17583 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17584 of diff.
17585 * scripts/data/localplt-generic.data: Add a comment.
17586
87ef29ca
RM
17587 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17588 NODE when __dir_mkfile failed.
17589 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17590 Reported by Ludovic Courtès <ludo@gnu.org>.
17591
e5a6e567
AJ
175922012-04-24 Andreas Jaeger <aj@suse.de>
17593
17594 * Makerules (common-clean): Also remove gen-as-const-headers
17595 files.
17596
c1820385
JM
175972012-04-24 Joseph Myers <joseph@codesourcery.com>
17598
17599 * Makerules (native-compile): Do not change working directory for
17600 build. Use $(OUTPUT_OPTION) in command.
17601 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17602
94e02fc4
AZ
176032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17604
17605 [BZ #13886]
17606 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17607 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17608 * math/libm-test.inc (floor_test): Add more tests.
17609 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17610
3a533ca3
JM
176112012-04-24 Joseph Myers <joseph@codesourcery.com>
17612
940ab4b3
JM
17613 * sysdeps/unix/getdents.c: Remove file.
17614 * sysdeps/unix/sysv/getdents.c: Likewise.
17615 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17616
90e037bd
JM
17617 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17618 sysdeps/unix/mman/syscalls.list.
17619 (mmap): Likewise.
17620 (mprotect): Likewise.
17621 (msync): Likewise.
17622 (munmap): Likewise.
17623 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17624 * sysdeps/unix/mman/syscalls.list: Remove.
17625 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17626
3a533ca3
JM
17627 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17628 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17629 * configure: Regenerated.
17630 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17631 $(libgcc_s_suffix).
17632 * config.make.in (libgcc_s_suffix): Remove variable.
17633
1ad743de
JM
176342012-04-23 Joseph Myers <joseph@codesourcery.com>
17635
4ad451e2
JM
17636 * sysdeps/unix/sysv/gethostname.c: Move to ...
17637 * sysdeps/posix/gethostname.c: ... here.
17638
5e37ce39
JM
17639 * sysdeps/unix/execve.S: Remove file.
17640
1ad743de
JM
17641 * sysdeps/unix/_exit.S: Remove file.
17642
4e681b5b
AJ
176432012-04-23 Andreas Jaeger <aj@suse.de>
17644
17645 [BZ #13739]
17646 * manual/Makefile: Remove make dist support, there's no
17647 need for a stand-alone documentation tar ball.
17648 (TEXI2DVI): Define always, it's not in Makeconfig.
17649 (dist): Removed.
17650 (tar-it): Removed.
17651 (edition): Removed.
17652 (glibc-doc-$(edition).tar): Removed
17653 (%.Z): Removed.
17654 (%.gz): Removed.
17655 (%.uu): Removed.
17656 (ETAGS): Remove, it's in Makeconfig.
17657 (move-if-change): Remove, it's in Makeconfig.
17658
38686a03 176592012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
17660
17661 [BZ #13970]
17662 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17663 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17664 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17665 (strtod_l, strtof_l, strtold_l): Remove __wur.
17666 It is not necessarily an error to ignore strtol's return value.
17667 One can reliably look at the stored endptr to decide whether
17668 the number had valid syntax.
17669
7c0616fa
AJ
176702012-04-21 Andreas Jaeger <aj@suse.de>
17671
803cb6b7 17672 [BZ #13739]
7c0616fa
AJ
17673 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17674
b0fe253f
JM
176752012-04-21 Joseph Myers <joseph@codesourcery.com>
17676
17677 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17678 * sysdeps/unix/sysv/Versions: Remove file.
17679
8280f22d
MT
176802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17681
17682 [BZ #13927]
17683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17684
75ce411f 176852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
17686
17687 [BZ #7064]
17688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17689 version from __vm86.
17690
097d59fa
JM
176912012-04-20 Joseph Myers <joseph@codesourcery.com>
17692
a90f3bcb
JM
17693 * sysdeps/unix/common/lxstat.c: Remove file.
17694 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17695
edc7ea78
JM
17696 * sysdeps/unix/sysv/Makefile: Remove file.
17697
cb78c221
JM
17698 * sysdeps/unix/sysv/direct.h: Remove file.
17699
efa6a45f
JM
17700 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17701 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17702 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17703 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17704 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17705 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17706 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17707
9c9f2d0c
JM
17708 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17709
4541c83b
JM
17710 * sysdeps/unix/xmknod.c: Remove file.
17711 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17712
f5d153a0
JM
17713 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17714
aa746595
JM
17715 * sysdeps/unix/sysv/i386/time.S: Remove file.
17716
cce5905e
JM
17717 * sysdeps/unix/fxstat.c: Remove file.
17718 * sysdeps/unix/xstat.c: Likewise.
17719 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17720
37fa3841
JM
17721 * sysdeps/unix/sysv/sigaction.c: Remove file.
17722
ff1962a3
JM
17723 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17724 (sysdep_headers): Remove variable.
17725 [termio.h not in sysdep_headers] (generated): Likewise.
17726 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17727 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17728 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17729 * sysdeps/unix/sysv/tcflow.c: Likewise.
17730 * sysdeps/unix/sysv/tcflush.c: Likewise.
17731 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17732 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17733 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17734 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17735 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17736
e7740d31
JM
17737 * sysdeps/unix/siglist.c: Remove file.
17738
ee06f18b
JM
17739 * sysdeps/unix/getppid.S: Remove file.
17740
097d59fa
JM
17741 * sysdeps/unix/mkdir.c: Remove file.
17742 * sysdeps/unix/rmdir.c: Likewise.
17743
ff3d51ec
AS
177442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17745
17746 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17747 ERR_MAX value.
17748 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17749 errlist-compat value.
17750
50f81fd7
DM
177512012-04-18 David S. Miller <davem@davemloft.net>
17752
17753 * sysdeps/generic/memcopy.h (reg_char): Delete.
17754 * debug/strcat_chk.c: Use char, not reg_char.
17755 * debug/strcpy_chk.c: Likewise.
17756 * debug/strncat_chk.c: Likewise.
17757 * debug/strncpy_chk.c: Likewise.
17758 * string/memchr.c: Likewise.
17759 * string/memrchr.c: Likewise.
17760 * string/rawmemchr.c: Likewise.
17761 * string/strcat.c: Likewise.
17762 * string/strchr.c: Likewise.
17763 * string/strchrnul.c: Likewise.
17764 * string/strcmp.c: Likewise.
17765 * string/strcpy.c: Likewise.
17766 * string/strncat.c: Likewise.
17767 * string/strncmp.c: Likewise.
17768 * string/strncpy.c: Likewise.
17769
8ff41c46
WS
177702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17771
17772 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17773 __builtin_memcopy is called when src and dest ranges are known to not
17774 overlap.
17775
6b652f46
WS
177762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17777
17778 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17779 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17780 fwd_align_merge macro call.
17781 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17782 bwd_align_merge macro call.
17783 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17784
b282631e
WS
177852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17786
17787 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17788 bwd_align_merge macros.
17789 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17790 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17791 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17792
95aa737c
DM
177932012-04-18 David S. Miller <davem@davemloft.net>
17794
17795 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17796
7a99a614
AJ
177972012-04-18 Andreas Jaeger <aj@suse.de>
17798
17799 [BZ# 6794]
17800 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17801 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17802 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17803
17804 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17805 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17806 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17807
17808 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17809 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17810 Adjust for changed ldbl-128 files.
17811
17812 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17813 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17814 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17815
e5270c23
DM
178162012-04-17 David S. Miller <davem@davemloft.net>
17817
17818 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17819
fb5e92c9
AS
178202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17821
17822 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17823 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17824 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17825 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17826 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17827 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17828
76da7265
AZ
178292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17830
17831 [BZ #6794]
17832 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17833 * math/libm-test.inc: Add ilogb errno and exception tests.
17834 * math/w_ilogb.c: New file: ilogb wrapper.
17835 * math/w_ilogbf.c: New file: ilogbf wrapper.
17836 * math/w_ilogbl.c: New file: ilogbl wrapper.
17837 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17838 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17839 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17840 exception being thrown with 0.0 as argument.
17841 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17842 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17843 exception being thrown with 0.0 as argument.
17844 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17845 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17846 exception being thrown with 0.0 as argument.
17847 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17848 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17849 exception being thrown with 0.0 as argument.
17850 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17851 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17852 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17853 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17854 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17855 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17856 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17857 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17858 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17859
0396e69d
PB
178602012-04-17 Petr Baudis <pasky@ucw.cz>
17861
17862 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17863 with altivec.
17864
750b5926
MP
178652012-04-16 Marek Polacek <polacek@redhat.com>
17866
17867 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17868
751728a1
MP
178692012-04-16 Marek Polacek <polacek@redhat.com>
17870
17871 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17872 operands of fdivp instruction.
17873
34a27407
L
178742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17877 * elf/tst-auditmod3b.c: Likewise.
17878 * elf/tst-auditmod4b.c: Likewise.
17879 * elf/tst-auditmod5b.c: Likewise.
17880 * elf/tst-auditmod6b.c: Likewise.
17881 * elf/tst-auditmod6c.c: Likewise.
17882 * elf/tst-auditmod7b.c: Likewise.
17883 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17884 * sysdeps/x86_64/preconfigure.in: Likewise.
17885 * sysdeps/x86_64/preconfigure: Regenerated.
17886
7e73e17d
L
178872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17888
17889 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17890 __ILP32__.
17891
c7a6ab72
AB
178922012-04-13 Antoine Balestrat <merkil33@gmail.com>
17893
17894 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17895 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17896
a9e8e0e0
CL
178972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17898
17899 [BZ #13973]
17900 * locale/iso-639.def: Fix gl language name. Spotted by
17901 Yaron Shahrabani.
17902
ec98af7d
RM
179032012-04-12 Roland McGrath <roland@hack.frob.com>
17904
17905 [BZ #2074]
17906 * libio/libio.h (__io_write_fn): Update comment.
17907
247c3ede
PB
179082012-04-12 Petr Baudis <pasky@ucw.cz>
17909
17910 [BZ #2074]
17911 * stdio.texi (Hook Functions): The user provided writer function
17912 is not allowed to return -1.
17913
55939d6d
DM
179142012-04-11 David S. Miller <davem@davemloft.net>
17915
17916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17917
90020f5a
MF
179182012-04-11 Mike Frysinger <vapier@gentoo.org>
17919
17920 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17921 Add a leading slash to rtkaio.
17922
288f9098
JM
179232012-04-11 Jim Meyering <meyering@redhat.com>
17924
90020f5a
MF
17925 [BZ #11959]
17926 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17927 It is not necessarily an error to ignore fwrite's return
17928 value. One can reliably use ferror to test for errors after
17929 the fact.
288f9098 17930
4be2b570
L
179312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17932
17933 * bits/types.h (__snseconds_t): New type.
17934 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17935
17936 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17938 (__SNSECONDS_T_TYPE): Likewise.
17939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17940 (__SNSECONDS_T_TYPE): Likewise.
17941 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17942 (__SNSECONDS_T_TYPE): Likewise.
17943
288f9098 179442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17945
17946 [BZ #2636]
17947 * manual/time.texi (Processor Time): Return type of times is
17948 elapsed real time since an arbitrary point in the past.
17949 (CPU Time): Move CLK_TCK from here...
17950 (Processor Time): ...to here. Correct description.
17951 * manual/conf.texi (Constants for Sysconf): Correct description of
17952 _SC_CLK_TCK.
17953
d7dd4413
DM
179542012-04-10 David S. Miller <davem@davemloft.net>
17955
17956 [BZ #13967]
17957 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17958 where the is a gap between DT_REL(A) and DT_JMPREL.
17959
b46068fc
L
179602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17961
17962 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17963 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17964 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17965
73d65cc3
SP
179662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17967
17968 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17969 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17970 (dl_main): Handle --inhibit-cache.
17971 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17972 _dl_inhibit_cache.
17973 * elf/dl-load.c (_dl_map_object): Use it.
17974 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17975
bcc8d661
JM
179762012-04-09 Joseph Myers <joseph@codesourcery.com>
17977
8f9a2fae
JM
17978 [BZ #13872]
17979 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17980 (__ieee754_powl): Saturate large exponents rather than testing for
17981 overflow of y*log2(x).
17982 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17983 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17984 exceptions.
17985
bcc8d661
JM
17986 [BZ #11521]
17987 * math/s_ctan.c: Include <float.h>.
17988 (__ctan): Avoid internal overflow or cancellation in calculating
17989 denominator.
17990 * math/s_ctanf.c: Likewise.
17991 * math/s_ctanl.c: Likewise.
17992 * math/s_ctanh.c: Likewise.
17993 * math/s_ctanhf.c: Likewise.
17994 * math/s_ctanhl.c: Likewise.
17995 * math/libm-test.inc (ctan_test): Add more tests.
17996 (ctanh_test): Likewise.
17997 * sysdeps/i386/fpu/libm-test-ulps: Update.
17998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17999
823fbbb4
AJ
180002012-04-09 Andreas Jaeger <aj@suse.de>
18001
03879793
AJ
18002 [BZ #6894]
18003 * manual/filesys.texi (Directory Entries): Mention that d_namlen
18004 is an optional BSD extension.
18005
823fbbb4
AJ
18006 [BZ #10254]
18007 * manual/stdio.texi (Opening Streams): Document additional fopen
18008 parameters.
18009
8de131cb
RM
180102012-04-09 Roland McGrath <roland@hack.frob.com>
18011
18012 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18013 %eax without telling the compiler.
18014
c0ed9d7d
CD
180152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
18016
18017 [BZ # 13963]
18018 * manual/install.texi: Use sourceware.org.
18019
c483f6b4
JM
180202012-04-09 Joseph Myers <joseph@codesourcery.com>
18021
d7dd9453
JM
18022 [BZ #13873]
18023 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18024 (__ieee754_pow): Generate overflow and underflow using huge*huge
18025 and tiny*tiny rather than just returning constant infinity or zero
18026 for large exponents.
18027 * math/libm-test.inc (pow_test): Require overflow exceptions for
18028 applicable cases of large exponents.
18029
c483f6b4
JM
18030 [BZ #706]
18031 * sysdeps/i386/fpu/e_pow.S (p10): New object.
18032 (__ieee754_pow): Use iterative multiplication algorithm only for
18033 integer exponents with absolute value below 1024. Check for odd
18034 integer exponents when using algorithm for real exponents.
18035 * math/libm-test.inc (pow_test): Add more tests.
18036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18037
d2de7579
JM
180382012-04-08 Joseph Myers <joseph@codesourcery.com>
18039
18040 [BZ #13705]
18041 * math/libm-test.inc (exp_test): Do not allow overflow exception
18042 on underflow test.
18043
f77f1232
AJ
180442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
18045
18046 [BZ #13705]
18047 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18048 instead of __kernel_standard_f.
18049
3884932b
MF
180502012-04-08 Mike Frysinger <vapier@gentoo.org>
18051
18052 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18053 * sysdeps/x86_64/memset_chk.S: Likewise.
18054
54472e9c
AJ
180552012-04-08 Andreas Jaeger <aj@suse.de>
18056
6ab0fbfc
AJ
18057 [BZ #10153]
18058 * manual/startup.texi (Environment Access): Describe return value
18059 for putenv and setenv.
18060
61efba8c
AJ
18061 [BZ #6895]
18062 * manual/filesys.texi (Directory Entries): Add description for
18063 DT_LNK.
18064
95c3f29a
AJ
18065 [BZ #6890]
18066 * manual/filesys.texi (Directory Entries): Clarify that it's file
18067 system not operating system in the description of DT_UNKNOWN.
18068
54472e9c
AJ
18069 [BZ #6578]
18070 * manual/syslog.texi (closelog): Fix reference, it's openlog.
18071
624254b1
SC
180722012-04-08 Stephen Compall <s11@member.fsf.org>
18073
18074 [BZ #6649]
18075 * manual/llio.texi (Opening and Closing Files): Add cross
18076 reference to explain mode argument.
18077
1e4920e0
MF
180782012-04-07 Mike Frysinger <vapier@gentoo.org>
18079
18080 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18081 * sysdeps/x86_64/memset_chk.S: Likewise.
18082
5ed848f3
DM
180832012-04-07 David S. Miller <davem@davemloft.net>
18084
18085 * elf/elf.h (R_SPARC_WDISP10): Define.
18086 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18087 R_SPARC_SIZE32.
18088 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18089 R_SPARC_SIZE64 and R_SPARC_H34.
18090
96154cd8
CD
180912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
18092
18093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18094 conditions and remove no longer applicable assertion.
18095
9904dc47
L
180962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18097
18098 * bits/byteswap.h: Include <features.h>.
18099 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18100 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18101
f8887d0a
L
181022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18103
18104 * bits/byteswap.h (__bswap_16): Removed.
18105 Include <bits/byteswap-16.h> to get __bswap_16.
18106 * sysdeps/i386/bits/byteswap.h: Likewise.
18107 * sysdeps/s390/bits/byteswap.h: Likewise.
18108 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18109 * bits/byteswap-16.h: New file.
18110 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18111 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18112 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18113 * string/Makefile (headers): Add bits/byteswap-16.h.
18114
62470f60
PP
181152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18116
18117 [BZ #13895]
18118 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18119 extra indirection.
18120 * nss/Makefile (tests-static, tests): Add tst-nss-static.
18121 * nss/tst-nss-static.c: New.
18122
4dad7bab
RM
181232012-04-06 Robert Millan <rmh@gnu.org>
18124
18125 [BZ #6486]
18126 * manual/llio.texi (File Position Primitive): lseek
18127 refers to WHENCE when it really means OFFSET.
18128
e9142a17
AJ
181292012-04-06 Andreas Jaeger <aj@suse.de>
18130
2c040eff
AJ
18131 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18132 strncmp declarations.
18133
e9142a17
AJ
18134 * abilist/libc.abilist: Add __poll and __ppoll.
18135
ff9f1c5f
DM
181362012-04-05 David S. Miller <davem@davemloft.net>
18137
dcd2ae90
DM
18138 * scripts/check-local-headers.sh: Accept a host triplet in the
18139 path matched by the exclude regexp.
18140
993eb054
DM
18141 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18142 definition.
18143 * sysdeps/powerpc/powerpc32/dl-machine.h
18144 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18145 * sysdeps/s390/s390-32/dl-machine.h
18146 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18147 * sysdeps/sparc/sparc32/dl-machine.h
18148 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18149 * sysdeps/sparc/sparc64/dl-machine.h
18150 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18151
ff9f1c5f
DM
18152 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18153 lazy binding.
48e2e132 18154 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
18155 undefined symbol errors.
18156
48e2e132 18157 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
18158 DT_NEEDED entries.
18159
e80d6f94
MM
181602012-04-05 Michael Matz <matz@suse.de>
18161
18162 [BZ #13592]
18163 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18164
349fa79f
AJ
181652012-04-05 Andreas Jaeger <aj@suse.de>
18166
18167 [BZ #13908]
18168 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18169 comment.
18170
f402708f
KK
181712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18172
18173 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18174 which ROUND is no valid rounding mode.
18175
2ecccfc9
KK
181762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18177
18178 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18179 read again.
18180 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18181
8a53f50f
KK
181822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18183
18184 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18185 an exception using FPU order intentionally.
18186
181872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18188
18189 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18190 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18191 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18192 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18193
d653abb7
SJ
181942012-04-05 Simon Josefsson <simon@josefsson.org>
18195
18196 [BZ #12340]
18197 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18198 EINVAL when BUFLEN is too smal.
18199
c3b1bf7d
TS
182002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18201
18202 [BZ #13553]
18203 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18204 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18205
b1aa60f3
AJ
182062012-04-03 Andreas Jaeger <aj@suse.de>
18207
c3b1bf7d 18208 [BZ #13938]
67f60a26
AJ
18209 * manual/setjmp.texi (System V contexts): Fix sentence.
18210
b1aa60f3
AJ
18211 [BZ #13926]
18212 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18213 New macro for this case.
18214 [!__GNUC__] (__bswap_64): New inline function for this case.
18215 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18216 * bits/byteswap.h: Likewise.
18217 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18218 ull, guard with __GLIBC_HAVE_LONG_LONG.
18219
18220 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18221 __GLIBC_HAVE_LONG_LONG.
18222
18223 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18224 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18225
39c59c35
TMQMF
182262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18227
18228 [BZ #13691]
18229 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18230 inptr and inend, rather than using last_ch.
18231
135ffda8
DM
182322012-04-02 David S. Miller <davem@davemloft.net>
18233
18234 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18235 * stdio-common/printf-parse.h (read_int): Change return type to
18236 'int', return -1 on INT_MAX overflow.
18237 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18238 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18239 overflows INT_MAX. Check for overflow of in-format-string precision
18240 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18241 SIZE_MAX not INT_MAX for integer overflow test.
18242 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18243 skip the construct in the format string but do not record anything.
18244 * stdio-common/bug22.c: Adjust to test both width/prevision
18245 INT_MAX overflow as well as total length INT_MAX overflow. Check
18246 explicitly for proper errno values.
18247
228c019e
TS
182482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18249
302cadd3
TS
18250 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18251 CHAR_MAX.
18252 * string/test-strcmp.c [! WIDE]: Likewise.
18253 * time/tst-mktime2.c: Likewise for INT_MAX.
18254 * string/test-string.h: #include <sys/param.h> for MIN.
18255
228c019e
TS
18256 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18257 * sysdeps/i386/init-first.c (init): Likewise.
18258 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18259 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18260 * sysdeps/sh/init-first.c (init): Likewise.
18261
cfa633f5
UD
182622012-04-01 Ulrich Drepper <drepper@gmail.com>
18263
18264 * po/ru.po: Update from translation team.
d1635ef8 18265 * po/vi.po: Likewise.
cfa633f5 18266
6cd0a5ea
SP
182672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18268
18269 * resolv/nss_dns/dns-host.c: Merge copyright years.
18270
4b43400f
LD
182712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18272
18273 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18274 Optimize memcpy with prefetch if
18275 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18276 src, dst pointers have unequal 16 byte alignments.
18277
48c41d04
SP
182782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18279
18280 [BZ #13928]
18281 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18282 from a CNAME entry and return the minimum ttl for the query.
18283 (gaih_getanswer_slice): Likewise.
18284
b8dc394d
JL
182852012-03-30 Jeff Law <law@redhat.com>
18286
18287 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18288 due to long keys.
18289 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18290 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18291
2f5a5ed0
JL
18292 * resolv/nss_dns/dns-host.c: Update copyright year.
18293
1d39e359
UD
182942012-03-30 Ulrich Drepper <drepper@gmail.com>
18295
c030f70c 18296 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 18297 requests to save a system call. Fix check that all bytes are sent.
c030f70c 18298
1d39e359
UD
18299 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18300 comments for sendmmsg.
18301
183022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
18303
18304 [BZ #13691]
18305 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18306 with only 1 character between 0x0041 and 0x01b0.
18307 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18308 * wcsmbs/tst-mbsnrtowcs.c: New file.
18309
20fde227
DM
183102012-03-29 David S. Miller <davem@davemloft.net>
18311
18312 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18313 small copies by hand.
18314
984a4237
JL
183152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18316
18317 [BZ #13761]
18318 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18319 _nss_compat_initgroups_dyn): Fall back to malloc/free
18320 for large group memberships.
18321
18c9d62b
DM
183222012-03-28 David S. Miller <davem@davemloft.net>
18323
88d85d4f
DM
18324 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18325 that branches into memcpy.
18326 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18328 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18329 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18331 bits.
18332 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18333 implementation too.
18334 * sysdeps/sparc/mempcpy.S: New file.
18335
e5aa83e1
DM
18336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18337 the IFUNC routine in the libc case.
18338 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18339
88570753
DM
18340 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18341 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18342 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18343 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18344 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18345 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18346 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18347 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18348
249d7567
DM
18349 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18350 loop to 256 bytes instead of 64 bytes and fix test signedness.
18351
18c9d62b
DM
18352 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18353 * sysdeps/sparc/sparc32/Makefile: rather than here...
18354 * sysdeps/sparc/sparc64/Makefile: and here.
18355
05f3d1f6
UD
183562012-03-28 Ulrich Drepper <drepper@gmail.com>
18357
18358 * malloc/mallocbug.c: Avoid warnings about unused variables.
18359
86ae07a8
JL
183602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18361
18362 [BZ #13760]
18363 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18364 in the right place. Discard and retry query if response is
18365 larger than input buffer size.
18366
41bf21a1
JM
183672012-03-28 Joseph Myers <joseph@codesourcery.com>
18368
d6270972
JM
18369 [BZ #369]
18370 [BZ #2678]
18371 [BZ #3866]
18372 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18373 x for large integer exponent.
18374 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18375 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18376 sign of result as needed afterwards.
18377 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18378 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18379 result for underflowing pow the same as for overflow.
18380 (__kernel_standard_l): Handle powl overflow and underflow here
18381 rather than calling __kernel_standard.
18382 * math/libm-test.inc (pow_test): Add more tests.
18383
414fca03 18384 [BZ #3868]
41bf21a1
JM
18385 [BZ #13879]
18386 [BZ #13910]
18387 [BZ #13911]
18388 [BZ #13912]
18389 [BZ #13913]
18390 [BZ #13915]
18391 [BZ #13916]
18392 [BZ #13917]
18393 [BZ #13918]
18394 [BZ #13919]
18395 [BZ #13920]
18396 [BZ #13921]
18397 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18398 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18399 (__kernel_standard_l): New function.
18400 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18401 __kernel_standard.
18402 * math/w_acosl.c (__acosl): Likewise.
18403 * math/w_asinl.c (__asinl): Likewise.
18404 * math/w_atan2l.c (__atan2l): Likewise.
18405 * math/w_atanhl.c (__atanhl): Likewise.
18406 * math/w_coshl.c (__coshl): Likewise.
18407 * math/w_exp10l.c (__exp10l): Likewise.
18408 * math/w_exp2l.c (__exp2l): Likewise.
18409 * math/w_fmodl.c (__fmodl): Likewise.
18410 * math/w_hypotl.c (__hypotl): Likewise.
18411 * math/w_j0l.c (__j0l, __y0l): Likewise.
18412 * math/w_j1l.c (__j1l, __y1l): Likewise.
18413 * math/w_jnl.c (__jnl, __ynl): Likewise.
18414 * math/w_lgammal.c (__lgammal): Likewise.
18415 * math/w_log10l.c (__log10l): Likewise.
18416 * math/w_log2l.c (__log2l): Likewise.
18417 * math/w_logl.c (__logl): Likewise.
18418 * math/w_powl.c (__powl): Likewise.
18419 * math/w_remainderl.c (__remainderl): Likewise.
18420 * math/w_scalbl.c (sysv_scalbl): Likewise.
18421 * math/w_sinhl.c (__sinhl): Likewise.
18422 * math/w_sqrtl.c (__sqrtl): Likewise.
18423 * math/w_tgammal.c (__tgammal): Likewise.
18424 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18425 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18426 * math/libm-test.inc (acos_test): Add more tests.
18427 (acosh_test): Likewise.
18428 (asin_test): Likewise.
18429 (atanh_test): Likewise.
18430 (exp_test): Likewise.
18431 (exp10_test): Likewise.
18432 (exp2_test): Likewise.
18433 (expm1_test): Likewise.
18434 (lgamma_test): Likewise.
18435 (log_test): Likewise.
18436 (log10_test): Likewise.
18437 (log1p_test): Likewise.
18438 (log2_test): Likewise.
18439 (pow_test): Do not allow some spurious overflow exceptions.
18440 (sqrt_test): Add more tests.
18441 (tgamma_test): Likewise.
18442 (y0_test): Likewise.
18443 (y1_test): Likewise.
18444 (yn_test): Likewise.
18445
dd62fda6
AB
184462012-03-27 Anton Blanchard <anton@samba.org>
18447
18448 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18449 MAP_HUGETLB.
18450 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18451 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18453
1e3cdfda
AJ
184542012-03-27 David S. Miller <davem@davemloft.net>
18455
b855ab85
DM
18456 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18457
1e3cdfda
AJ
18458 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18459 have-as-vis3 check.
18460
184612012-03-27 Andreas Jaeger <aj@suse.de>
18462
18463 * sysdeps/x86_64/elf/configure.in: Moved to ...
18464 * sysdeps/x86_64/configure.in: ... here.
18465 * sysdeps/x86_64/elf/start.S: Moved to ...
18466 * sysdeps/x86_64/start.S: ... here.
18467 * sysdeps/x86_64/elf/configure: Delete.
18468
18469 * sysdeps/x86_64/configure.in: Merge contents from
18470 sysdeps/i386/configure.in (without i686 check).
18471
18472 * sysdeps/i386/elf/Versions: Merge into ...
18473 * sysdeps/i386/Versions: ... this.
18474 * sysdeps/i386/elf/Versions: Delete file.
18475 * sysdeps/i386/elf/start.S: Moved to ...
18476 * sysdeps/i386/start.S: ...here.
18477 * sysdeps/i386/elf/configure.in: Merge into...
18478 * sysdeps/i386/configure.in: ...here.
18479 * sysdeps/i386/elf/configure.in: Delete file.
18480 * sysdeps/i386/elf/configure: Delete file.
18481
18482 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18483 * debug/backtracesyms.c: ... here.
18484 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18485 * debug/backtracesymsfd.c: ... here.
18486 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18487 * sysdeps/generic/ifunc-sel.h: ... here.
18488
18489 * sysdeps/unix/i386/start.c: Delete file.
18490 * sysdeps/unix/sparc/start.c: Delete file.
18491 * sysdeps/unix/start.c: Delete file.
18492
18493 * sysdeps/sh/elf/configure.in: Moved to ...
18494 * sysdeps/sh/configure.in: ... here.
18495 * sysdeps/sh/elf/start.S: Moved to ...
18496 * sysdeps/sh/start.S: ... here.
18497 * sysdeps/sh/elf/configure: Delete file.
18498
18499 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18500 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18501 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18502 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18503 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18504 * sysdeps/powerpc/powerpc64/start.S: here.
18505 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18506 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18507 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18508 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18509 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18510
18511 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18512 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18513 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18514 * sysdeps/powerpc/powerpc32/start.S: ... here.
18515 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18516 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18517 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18518
18519 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18520 * sysdeps/powerpc/ifunc-sel.h: ... here.
18521 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18522 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18523
18524 * sysdeps/sparc/elf/configure.in: Moved to ...
18525 * sysdeps/sparc/configure.in: ... here.
18526 * sysdeps/sparc/elf/configure: Delete file.
18527 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18528 * sysdeps/sparc/sparc32/start.S: ... here.
18529 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18530 * sysdeps/sparc/sparc64/start.S: ... here.
18531 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18532 * sysdeps/sparc/sparc32/Makefile: ... this.
18533 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18534 * sysdeps/sparc/sparc64/Makefile: ... this.
18535
18536 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18537 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18538 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18539 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18540 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18541 * sysdeps/s390/s390-32/setjmp.S: ... here.
18542 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18543 * sysdeps/s390/s390-32/configure.in: ... here.
18544 * sysdeps/s390/s390-32/elf/configure: Delete file.
18545 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18546 * sysdeps/s390/s390-32/start.S: ... here.
18547
18548 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18549 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18550 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18551 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18552 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18553 * sysdeps/s390/s390-64/setjmp.S: ... here.
18554 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18555 * sysdeps/s390/s390-64/configure.in: ... here
18556 * sysdeps/s390/s390-64/elf/configure: Delete file.
18557 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18558 * sysdeps/s390/s390-64/start.S: ... here.
18559 * sysdeps/s390/s390-64/elf/configure: Delete.
18560
18561 * configure.in: Remove support for elf directories in sysdeps.
18562
18563 * configure: Regenerated.
18564 * sysdeps/i386/configure: Regenerated.
18565 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18566 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18567 * sysdeps/s390/s390-32/configure: Regenerated.
18568 * sysdeps/s390/s390-64/configure: Regenerated.
18569 * sysdeps/sh/configure: Regenerated.
18570 * sysdeps/sparc/configure: Regenerated.
18571 * sysdeps/x86_64/configure: Regenerated.
18572
a3f61311
AS
185732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18574
c876e002
AS
18575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18576
a3f61311
AS
18577 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18578 denormal result into account.
18579
ac4c54f0
RM
185802012-03-25 Roland McGrath <roland@hack.frob.com>
18581
18582 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18583 Reported by Allan McRae <allan@archlinux.org>.
18584
6a9b9c02
JL
185852012-03-23 Jeff Law <law@redhat.com>
18586
18587 * nss/getnssent.c (__nss_getent): Fix typo.
18588
4c42a0c1
DM
185892012-03-23 David S. Miller <davem@davemloft.net>
18590
18591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18592
1532c7ac
L
185932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18594
18595 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18596 to pad to uint64_t for each field.
18597 (dl_tls_index): Replace unsigned long with uint64_t.
18598
3ff42526
PP
185992012-03-23 Daniel Jacobowitz <dmj@google.com>
18600 Paul Pluzhnikov <ppluzhnikov@google.com>
18601
18602 [BZ #6528]
18603 * grp/Makefile (otherlibs): Don't set it.
18604 * inet/Makefile (otherlibs): Likewise.
18605 * login/Makefile (otherlibs): Likewise.
18606 * nscd/Makefile (otherlibs): Likewise.
18607 * posix/Makefile (otherlibs): Likewise.
18608 * pwd/Makefile (otherlibs): Likewise.
18609 * rt/Makefile (otherlibs): Likewise.
18610 * sunrpc/Makefile (otherlibs): Likewise.
18611 * nss/Makefile (otherlibs): Likewise.
18612 Add libnss_files to routines and static-only-routines.
18613 ($(objpfx)getent): Remove rule.
18614 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18615 static-only-routines.
18616
7c69cd14
JM
186172012-03-22 Joseph Myers <joseph@codesourcery.com>
18618
18619 [BZ #13892]
18620 * math/s_cexp.c: Include <float.h>.
18621 (__cexp): Handle exp result overflowing not necessarily
18622 overflowing both real and imaginary parts of result.
18623 * math/s_cexpf.c: Likewise.
18624 * math/s_cexpl.c: Likewise.
18625 * math/libm-test.inc (cexp_test): Add more tests.
18626 * sysdeps/i386/fpu/libm-test-ulps: Update.
18627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18628
81b035fe
L
186292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18630
18631 * include/link.h (ELFW): New macro.
18632 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18633 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18634
1da7940c
L
186352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18636
18637 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18638 with uint64_t.
18639
b749dbb9
L
186402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18641
18642 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18643 declaration.
18644 (struct La_x32_retval): Likewise.
18645
2ff87f3f
L
186462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18647
18648 * sysdeps/x86_64/preconfigure.in: New file.
18649 * sysdeps/x86_64/preconfigure: New generated file.
18650
c0df8e69
JM
186512012-03-22 Joseph Myers <joseph@codesourcery.com>
18652
48e44791
JM
18653 [BZ #13824]
18654 * math/e_exp2l.c: Include <float.h>.
18655 (__ieee754_exp2l): Handle overflow and underflow cases
18656 separately. Only pass fractional part of argument to
18657 __ieee754_expl.
18658 * math/libm-test.inc (exp2_test): Add more tests.
18659
c0df8e69
JM
18660 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18661 negating x to take absolute value.
18662 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18663 Likewise.
18664 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18665 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18666 Likewise.
18667 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18668 computing low part if x was negated.
18669 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18670
c8e43ba7
L
186712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18674 la_x32_gnu_pltexit.
18675 (pltexit): Cast int_retval to ptrdiff_t.
18676 * elf/tst-auditmod3b.c: Likewise.
18677 * elf/tst-auditmod4b.c: Likewise.
18678 * elf/tst-auditmod5b.c: Likewise.
18679 * elf/tst-auditmod6b.c: Likewise.
18680 * elf/tst-auditmod6c.c: Likewise.
18681 * elf/tst-auditmod7b.c: Likewise.
18682
18683 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18684 and x32_gnu_pltexit.
18685
18686 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18687 __ELF_NATIVE_CLASS.
18688 (La_x32_regs): New macro.
18689 (La_x32_retval): Likewise.
18690 (la_x32_gnu_pltenter): New function prototype.
18691 (la_x32_gnu_pltexit): Likewise.
18692
7998fa78
AS
186932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18694
dcb33988
AS
18695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18696 exponent.
18697
233fc563
AS
18698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18699
7998fa78
AS
18700 * configure.in (libc_cv_cc_nofma): Check for option to disable
18701 generation of FMA instructions.
18702 * configure: Regenerate.
18703 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18704 * sysdeps/ieee754/dbl-64/Makefile: New file.
18705 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18706 Remove brandred-fma4.
18707 (CFLAGS-brandred-fma4.c): Remove.
18708 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18709 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18710 define.
18711 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18712 define.
18713
8e95c99a
L
187142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18715
18716 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18717 LLONG_MAX != LONG_MAX.
18718 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18719 (_fitoa_word): Likewise.
18720 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18721 LLONG_MAX != LONG_MAX.
18722 * stdio-common/_itowa.h: Include <_itoa.h>.
18723 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18724 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18725 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18726 only if not defined.
18727 (_ITOA_WORD_TYPE): Likewise.
18728 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18729 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18730
6f4db457
DM
187312012-03-21 David S. Miller <davem@davemloft.net>
18732
18733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18734
7785fe5a
L
187352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18736
18737 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18738 of x86_64 when setting libc_cv_slibdir, libdir and
18739 libc_cv_localedir.
18740 * sysdeps/unix/sysv/linux/configure: Regenerated.
18741
4535cd55
JM
187422012-03-21 Joseph Myers <joseph@codesourcery.com>
18743
18744 * manual/lang.texi (Old Varargs): Remove section.
18745 (How Variadic): Update menu.
18746 (va_start): Do not mention varargs.h.
18747
17228132
TS
187482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18749 Joseph Myers <joseph@codesourcery.com>
18750
18751 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18752 link test.
18753 * configure: Regenerated.
18754
8149f976
TS
187552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18756
05f3d1f6
UD
18757 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18758 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18759 conformtest.pl
8149f976 18760
1a4ac776
JM
187612012-03-21 Joseph Myers <joseph@codesourcery.com>
18762
be22ce65
JM
18763 * NOTES: Remove.
18764 * Makefile (files-for-dist): Remove NOTES.
18765 (NOTES): Remove rule.
18766 * README: Don't refer to NOTES.
18767 * manual/creature.texi: Don't include macros.texi.
18768 * manual/intro.texi (creature.texi): Remove comment referring to
18769 NOTES.
18770
40b601fb
JM
18771 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18772 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18773 * configure: Regenerated.
18774 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18775 LIBC_TRY_CC_OPTION.
18776 (libc_cv_as_i686): Likewise.
18777 (libc_cv_cc_avx): Likewise.
18778 (libc_cv_cc_sse2avx): Likewise.
18779 (libc_cv_cc_fma4): Likewise.
18780 (libc_cv_cc_novzeroupper): Likewise.
18781 * sysdeps/i386/configure: Regenerated.
18782
1a4ac776
JM
18783 [BZ #13883]
18784 * sysdeps/i386/fpu/s_cexp.S: Remove.
18785 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18786 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18787 * math/libm-test.inc (cexp_test): Add more tests.
18788 * sysdeps/i386/fpu/libm-test-ulps: Update.
18789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18790
a458e7fe
AM
187912012-03-21 Allan McRae <allan@archlinux.org>
18792
18793 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18794
0cb7efc5
JM
187952012-03-21 Joseph Myers <joseph@codesourcery.com>
18796
18797 [BZ #13871]
18798 * math/w_exp2.c: Do not include <float.h>.
18799 (o_threshold, u_threshold): Remove.
18800 (__exp2): Calculate result before checking finiteness and calling
18801 __kernel_standard.
18802 * math/w_exp2f.c: Likewise.
18803 * math/w_exp2l.c: Likewise.
18804 * math/libm-test.inc (exp2_test): Require overflow exception for
18805 1e6 input.
2460d3aa
JM
18806
18807 [BZ #3866]
18808 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18809 range of signed 64-bit integers before using fistpll. Remove
18810 checks for whether integers fit in mantissa bits.
18811 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18812 the range of signed 32-bit integers before using fistpl. Remove
18813 checks for whether integers fit in mantissa bits.
18814 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18815 (__ieee754_powl): Test for y outside the range of signed 64-bit
18816 integers before using fistpll. Reduce 64-bit values to 63-bit
18817 ones as needed.
18818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18819 divide-by-zero is raised for zero to large negative powers.
18820 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18821 (__ieee754_powl): Test for y outside the range of signed 64-bit
18822 integers before using fistpll. Reduce 64-bit values to 63-bit
18823 ones as needed.
18824 * math/libm-test.inc (pow_test): Add more tests.
18825
eb96ffb0
L
188262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18827
18828 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18829 <stdio-common/_itoa.h>.
18830 * debug/segfault.c: Likewise.
18831 * elf/dl-cache.c: Likewise.
18832 * elf/dl-minimal.c: Likewise.
18833 * elf/dl-misc.c: Likewise.
18834 * elf/dl-sysdep.c: Likewise.
18835 * elf/dl-version.c: Likewise.
18836 * elf/rtld.c: Likewise.
18837 * hurd/hurdsock.c: Likewise.
18838 * hurd/lookup-retry.c: Likewise.
18839 * malloc/malloc.c: Likewise.
18840 * malloc/mtrace.c: Likewise.
18841 * nscd/nscd_getgr_r.c: Likewise.
18842 * nscd/nscd_getpw_r.c: Likewise.
18843 * nscd/nscd_getserv_r.c: Likewise.
18844 * posix/getopt_init.c: Likewise.
18845 * posix/wordexp.c: Likewise.
18846 * stdio-common/_itoa.c: Likewise.
18847 * stdio-common/printf_fphex.c: Likewise.
18848 * stdio-common/vfprintf.c: Likewise.
18849 * string/_strerror.c: Likewise.
18850 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18851 * sysdeps/i386/i686/hp-timing.h: Likewise.
18852 * sysdeps/mach/_strerror.c: Likewise.
18853 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18854 * sysdeps/mach/hurd/sethostid.c: Likewise.
18855 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18856 * sysdeps/mach/xpg-strerror.c: Likewise.
18857 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18858 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18859 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18860 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18861 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18862 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18863 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18864 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18865 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18866 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18867 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18868 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18869 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18870 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18871 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18872 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18873 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18874 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18875 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18876 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18877 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18878
18879 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18880
18881 * stdio-common/_itoa.h: Moved to ...
18882 * sysdeps/generic/_itoa.h: Here.
18883
18884 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18885
18886 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18887 instead of "_itoa.h" and "_itowa.h".
18888 * stdio-common/vfprintf.: Likewise.
18889
d1af992d
L
188902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18891
18892 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18893 <bits/wordsize.h>.
18894 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18895 (__signbit): Likwise.
18896 (llrintf): Likwise.
18897 (llrint): Likwise.
18898
114883e0
L
188992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18900
18901 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18902 __WORDSIZE != 64.
18903
c135cc1b
JM
189042012-03-20 Joseph Myers <joseph@codesourcery.com>
18905
18906 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18907 OVERFLOW_EXCEPTION_OK.
18908 * math/libm-test.inc ("Philosophy"): Update comment about
18909 exception testing.
18910 (OVERFLOW_EXCEPTION): Define.
18911 (OVERFLOW_EXCEPTION_OK): Likewise.
18912 (INVALID_EXCEPTION_OK): Renumber.
18913 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18914 (IGNORE_ZERO_INF_SIGN): Likewise.
18915 (test_exceptions): Handle FE_OVERFLOW.
18916 (exp10_test): Expect overflow exceptions.
18917 (exp2_test): Likewise.
18918 (expm1_test): Likewise.
18919 (nextafter_test): Likewise.
18920 (pow_test): Likewise.
18921 (scalbn_test): Likewise.
18922 (scalbln_test): Likewise.
18923
95443d88
L
189242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18925
18926 * sysdeps/x86_64/bits/atomic.h
18927 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18928 64bit integer.
18929 (atomic_exchange_acq): Likewise.
18930 (__arch_exchange_and_add_body): Likewise.
18931 (__arch_add_body): Likewise.
18932 (atomic_add_negative): Likewise.
18933 (atomic_add_zero): Likewise.
18934
490df6c4
L
189352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18936
c2722551 18937 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18938 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18939
5e52b189
L
189402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18941
18942 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18943 Check __x86_64__ instead of __WORDSIZE.
18944
a9879d4c
L
189452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18946
18947 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18948
5df98260
DM
189492012-03-19 David S. Miller <davem@davemloft.net>
18950
e1497744
DM
18951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18952
5df98260
DM
18953 * sysdeps/sparc/fpu/fenv_private.h: New file.
18954 * sysdeps/sparc/fpu/math_private.h: Use it.
18955 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18956 Remove.
18957 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18958 (libc_feholdexcept_setroundl): Remove.
18959 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18960 Remove.
18961 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18962 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18963
b4c35121
L
189642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18965
18966 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18967 int64_t instead of long int.
18968 (INSERT_WORDS64): Likwise.
18969
56965fd7
L
189702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18971
18972 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18973 _Unwind_GetCFA return to _Unwind_Ptr first.
18974
83d1aec8
JM
189752012-03-19 Joseph Myers <joseph@codesourcery.com>
18976
1897ad44
JM
18977 [BZ #13629]
18978 * math/s_clog.c: Include <float.h>.
18979 (__clog): Scale large or subnormal inputs.
18980 * math/s_clogf.c: Likewise.
18981 * math/s_clogl.c: Likewise.
18982 * math/s_clog10.c: Include <float.h>.
18983 (M_LOG10_2): Define.
18984 (__clog10): Scale large or subnormal inputs.
18985 * math/s_clog10f.c: Likewise.
18986 * math/s_clog10l.c: Likewise.
18987 * math/libm-test.inc (clog_test): Add more tests.
18988 (clog10_test): Likewise.
18989 * sysdeps/i386/fpu/libm-test-ulps: Update.
18990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18991
7726d6a9
JM
18992 [BZ #11451]
18993 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18994 x and y.
18995 * math/libm-test.inc (atan2_test): Add another test.
18996
83d1aec8
JM
18997 * Makerules (common-objdir-compile): Remove.
18998 * sysdeps/unix/Makefile (config-generated): Do not add
18999 $(unix-generated) to variable.
19000 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19001 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19002 Remove rule.
19003 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19004 Likewise.
19005 [generic bits/local_lim.h] (before-compile): Do not append to
19006 variable.
19007 [generic bits/local_lim.h] (common-generated): Likewise.
19008 [generic sys/param.h] (before-compile): Do not append to variable.
19009 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19010 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19011 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19012 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19013 include.
19014 [generic sys/param.h] (sys/param.h-includes): Remove variable.
19015 [generic sys/param.h] (sys/param.h-includes): Remove rule.
19016 [generic sys/param.h] ($(addprefix
19017 $(common-objpfx),$(sys/param.h-includes))): Likewise.
19018 [generic sys/param.h] (common-generated): Do not append to
19019 variable.
19020 [generic sys/param.h] (sysdep_headers): Likewise.
19021 [generic bits/errno.h] (before-compile): Do not append to
19022 variable.
19023 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19024 rule.
19025 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19026 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19027 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19028 [generic bits/errno.h] (common-generated): Do not append to
19029 variable.
19030 [generic bits/ioctls.h] (before-compile): Do not append to
19031 variable.
19032 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19033 rule.
19034 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19035 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19036 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19037 rule.
19038 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19039 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19040 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19041 [generic bits/ioctls.h] (common-generated): Do not append to
19042 variable.
19043 [generic sys/syscall.h] (syscall.h): Remove variable.
19044 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19045 rule.
19046 [generic sys/syscall.h] (before-compile): Do not append to
19047 variable.
19048 [generic sys/syscall.h] (common-generated): Likewise.
19049 * sysdeps/unix/errnos-tmpl.c: Remove file.
19050 * sysdeps/unix/errnos.awk: Likewise.
19051 * sysdeps/unix/ioctls-tmpl.c: Likewise.
19052 * sysdeps/unix/ioctls.awk: Likewise.
19053 * sysdeps/unix/mk-local_lim.c: Likewise.
19054 * sysdeps/unix/snarf-ioctls: Likewise.
19055
4851a949
RH
190562012-03-19 Richard Henderson <rth@twiddle.net>
19057
bd37f2ee
RH
19058 * sysdeps/i386/fpu/fenv_private.h: New file.
19059 * sysdeps/i386/fpu/math_private.h: Use it.
19060 (math_opt_barrier, math_force_eval): Remove.
19061 (libc_feholdexcept_setround_53bit): Remove.
19062 (libc_feupdateenv_53bit): Remove.
19063 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19064 (math_opt_barrier, math_force_eval): Remove.
19065 (libc_feholdexcept): Remove.
19066 (libc_feholdexcept_setround): Remove.
19067 (libc_fetestexcept, libc_fesetenv): Remove.
19068 (libc_feupdateenv_test): Remove.
19069 (libc_feupdateenv, libc_feholdsetround): Remove.
19070 (libc_feresetround): Remove.
19071
d0adc922
RH
19072 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19073 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19074
0fe0f1f8
RH
19075 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19076 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19077 (libc_feupdateenv_testl): New.
19078 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19079 (libc_feupdateenv_testf): New.
19080 (libc_feupdateenv): Use libc_feupdateenv_test.
19081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19082 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19083
eb92c487
RH
19084 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19085 (libc_feholdsetroundf, libc_feholdsetroundl): New.
19086 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19087 (libc_feresetround_noex): New.
19088 (libc_feresetround_noexf): New.
19089 (libc_feresetround_noexl): New.
19090 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19091 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19092 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19093 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19094 SET_RESTORE_ROUND.
19095 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19096 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19097 (__cos): Likewise.
19098 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19099 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19100 SET_RESTORE_ROUND_NOEX.
19101 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19102 SET_RESTORE_ROUND_NOEXF.
19103 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19104 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19105 (libc_feholdsetroundf): New.
19106 (libc_feresetround, libc_feresetroundf): New.
19107
7d2e8012
RH
19108 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19109 (libc_feholdexcept_setround_53bit): Convert from macro to function.
19110 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
19111
b4dabbb4
RH
19112 * sysdeps/generic/math_private.h: Include <fenv.h>.
19113 (default_libc_feholdexcept): New.
19114 (default_libc_feholdexcept_setround): New.
19115 (default_libc_fesetenv, default_libc_feupdateenv): New.
19116 (libc_feholdexcept): Only define if undefined.
19117 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19118 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19119 (libc_feholdexcept_setroundl): Likewise.
19120 (libc_feholdexcept_setround_53bit): Likewise.
19121 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19122 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19123 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19124 (libc_feupdateenv_53bit): Likewise.
19125 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19126 (libc_feholdexcept): Convert from macro to inline function.
19127 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19128 (libc_fesetenv, libc_feupdateenv): Likewise.
19129
4851a949
RH
19130 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19131 not previously defined.
19132 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19133 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19134 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19135 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19136 * sysdeps/ieee754/flt-32/math_private.h: New file.
19137 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19138 math_private.h below SET_FLOAT_WORD.
19139 (__isnan, __isinf_ns, __finite): Remove.
19140 (__isnanf, __isinf_nsf, __finitef): Remove.
19141
e79d442e
AS
191422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
19143
19144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19145
90b80344
DM
191462012-03-17 David S. Miller <davem@davemloft.net>
19147
19148 [BZ #6471]
19149 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19150 for 2.16.
19151
edc21804
DM
191522012-03-16 David S. Miller <davem@davemloft.net>
19153
77e927af
DM
19154 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19155 warnings.
19156
374976dd
DM
19157 [BZ #6471]
19158 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19159 properly.
19160 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19161 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19162 sysdep_routines when subdir is sysvipc.
19163 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19164 __getshmlba helper.
19165
edc21804
DM
19166 * sysdeps/sparc/fpu/libm-test/ulps: Update.
19167
473c3ef3
L
191682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19169
19170 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19171 [__LP64__].
19172
eb0f39b6
L
191732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19174
19175 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19176 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19177 (__lround): Renamed to ...
19178 (__llround): This. Replace long int with long long int.
19179 Define lround functions as aliases of llround functions.
19180 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19181
6b6cd74b
L
191822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19183
19184 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19185 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
19186 adresses to uintptr_t. Replace "long int" and "unsigned long
19187 int" with "greg_t" on va_arg.
19188
f1a77b01
L
191892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19190
19191 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19192 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19193
19194 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19195 Move e_machine check before EI_CLASS check. Handle x32
19196 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19197 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19198 SKIP_EM_IA_64 and include
19199 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19200
19201 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19202 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19203 (add_system_dir): New macro.
19204
19205 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19206 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19207
11b90b9f
JM
192082012-03-16 Joseph Myers <joseph@codesourcery.com>
19209
c36e1d23
JM
19210 [BZ #2551]
19211 [BZ #2552]
19212 [BZ #2553]
19213 [BZ #2554]
19214 [BZ #2562]
19215 [BZ #2563]
19216 [BZ #2565]
19217 [BZ #2566]
19218 [BZ #2576]
19219 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19220 (y0): Likewise.
19221 * math/w_j0f.c (j0f): Likewise.
19222 (y0f): Likewise.
19223 * math/w_j0l.c (__j0l): Likewise.
19224 (__y0l): Likewise.
19225 * math/w_j1.c (j1): Likewise.
19226 (y1): Likewise.
19227 * math/w_j1f.c (j1f): Likewise.
19228 (y1f): Likewise.
19229 * math/w_j1l.c (__j1l): Likewise.
19230 (__y1l): Likewise.
19231 * math/w_jn.c (jn): Likewise.
19232 (yn): Likewise.
19233 * math/w_jnf.c (jnf): Likewise.
19234 (ynf): Likewise.
19235 * math/w_jnl.c (__jnl): Likewise.
19236 (__ynl): Likewise.
19237 * math/libm-test.inc (j0_test): Add more tests.
19238 (j1_test): Likewise.
19239 (jn_test): Likewise. Add trailing semicolon to existing test.
19240 (y0_test): Likewise.
19241 (y1_test): Likewise.
19242 * sysdeps/i386/fpu/libm-test-ulps: Update.
19243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19244
11b90b9f
JM
19245 [BZ #13851]
19246 [BZ #13854]
19247 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19248 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19249 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19250 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19251 (__tanl): Set errno for infinite argument.
19252 * sysdeps/i386/fpu/mptan.c: Remove.
19253 * sysdeps/i386/fpu/s_tan.S: Likewise.
19254 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19255 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19256 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19257 * math/libm-test.inc (tan_test): Add more tests and enable more
19258 tests for double and long double.
19259 * sysdeps/i386/fpu/libm-test-ulps: Update.
19260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19261
6a1bd2a1
JK
192622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19263
19264 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19265 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19266
10a803e0
RM
192672012-03-16 Roland McGrath <roland@hack.frob.com>
19268
19269 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19270 * configure.in: Use it for both main tree and add-ons.
19271 * configure: Regenerated.
19272
f196c7f7
L
192732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19274
19275 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19276
8848d99d
JM
192772012-03-16 Joseph Myers <joseph@codesourcery.com>
19278
96cbe7f4
JM
19279 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19280 in comment.
19281
8848d99d
JM
19282 [BZ #13851]
19283 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19284 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19285 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19286 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19288 infinite argument.
19289 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19290 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19291 != 0 for prec == 2.
19292 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19293 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19294 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19295 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19296 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19297 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19298 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19299 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19300 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19301 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19302 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19303 * math/libm-test.inc (cos_test): Add more tests and enable more
19304 tests for long double.
19305 (sin_test): Likewise.
19306 (sincos_test): Likewise.
19307 * sysdeps/i386/fpu/libm-test-ulps: Update.
19308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19309
dd7f4703
DM
193102012-03-16 David S. Miller <davem@davemloft.net>
19311
19312 * sysdeps/sparc/fpu/math_private.h: New file.
19313
006f1daa
DM
193142012-03-15 David S. Miller <davem@davemloft.net>
19315
c0c83bc8
DM
19316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19317 file.
e6a62e18 19318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
19319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19320 file.
e6a62e18
DM
19321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19327 sysdep routines.
19328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19329
88cb87d9
DM
19330 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19331 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19332
006f1daa 19333 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19335 sparc-ifunc.h
006f1daa 19336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
19337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19338 Likewise.
19339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19340 Likewise.
006f1daa
DM
19341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
19344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19345 Likewise.
006f1daa
DM
19346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
19350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19351 Likewise.
19352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19353 Likewise.
006f1daa
DM
19354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19373 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19374 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19378
11e0098e
AS
193792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19380
19381 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19382 scaling.
19383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19384
e85b09d0
AJ
193852012-03-15 Andreas Jaeger <aj@suse.de>
19386
19387 [BZ #13852]
19388 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19389 ieee754/flt-32 implementation for sin, cos and sincos.
19390 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19391 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19392 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19393 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19394 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19395 ieee754/flt-32 implementation for tan.
19396
19397 * math/libm-test.inc (cos_test): Enable some large input tests for
19398 float as well
19399 (sin_test): Likewise.
19400 (sincos_test): Likewise.
19401 (tan_test): Add tests for large input.
19402
19403 * sysdeps/i386/fpu/libm-test-ulps: Update.
19404
81c64153
AJ
194052012-03-15 Andreas Jaeger <aj@suse.de>
19406
19407 [BZ #13658]
19408 * math/libm-test.inc (cos_test): Add more test cases.
19409 (sin_test): Likewise.
19410 (sincos_test): Likewise.
19411
7bbfa5c6
AJ
194122012-03-15 Andreas Jaeger <aj@suse.de>
19413
19414 [BZ #13837]
19415 * math/libm-test.inc (cos_test): Add a test case for large input
19416 value.
19417 (sin_test): Likewise.
19418 (sincos_test): Likewise.
19419
194202012-03-15 Andreas Jaeger <aj@suse.de>,
19421 Joseph Myers <joseph@codesourcery.com>
19422
19423 [BZ #13658]
0671f479 19424 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19425 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19426 * sysdeps/i386/fpu/branred.c: Likewise.
19427 * sysdeps/i386/fpu/dosincos.c: Likewise.
19428 * sysdeps/i386/fpu/mpa.c: Likewise.
19429 * sysdeps/i386/fpu/s_cos.S: Likewise.
19430 * sysdeps/i386/fpu/s_sin.S: Likewise.
19431 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19432 * sysdeps/i386/fpu/sincos32.c: Likewise.
19433
19434 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19435 Define.
19436 (libc_feupdateenv_53bit): Define.
19437 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19438 Define.
19439 (libc_feupdateenv_53bit): Define.
19440
19441 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19442 53 bit (without extend i386 double precision).
19443
19444 * math/libm-test.inc (sincos_test): Add tests for large input.
19445 (sin): Likewise.
19446 (cos): Likewise.
19447
19448 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19449
9cad04ea
AS
194502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19451
19452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19453
f7062b9a
DM
194542012-03-15 David S. Miller <davem@davemloft.net>
19455
19456 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19457 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19458 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19459 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19472 file.
f7062b9a 19473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19475 file.
f7062b9a 19476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19478 file.
f7062b9a 19479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19481 file.
f7062b9a
DM
19482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19484 fmin/fmax sysdep routines.
19485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19486
7bd951ff
DM
194872012-03-14 David S. Miller <davem@davemloft.net>
19488
559398ab
DM
19489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19493 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19494 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19509 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19510 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19511 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19518 routines.
19519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19520 file.
559398ab 19521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19523 file.
559398ab 19524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19526 file.
559398ab 19527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19529 file.
559398ab 19530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19532 file.
559398ab 19533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19535 file.
19536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19537 file.
19538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19539 file.
19540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19541 file.
19542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19543 New file.
19544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19545 file.
19546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19547 file.
559398ab 19548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19550 file.
559398ab 19551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19553 file.
559398ab 19554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19556 file.
559398ab 19557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19559 VIS3 routines.
559398ab
DM
19560
19561 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19562 New file.
19563
5a1c1e32
DM
19564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19565
eae47a36
DM
19566 * sysdeps/sparc/configure.in: New file.
19567 * sysdeps/sparc/configure: Generate.
19568 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19569 * configure: Regenerate.
19570 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19571 * config.make.in (have-as-vis3): New.
19572 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19573 available use -Av9d instead of -Av9a.
19574 * sysdeps/sparc/sparc64/Makefile: Likewise.
19575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
19576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19577 New file.
19578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19579 file.
19580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19581 New file.
19582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19583 file.
eae47a36
DM
19584 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19585 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19587 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19588 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19589
c0c83bc8
DM
19590 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19591 fzeros/fnegs to load 0x80000000 into a float register instead of
19592 using the stack.
7bd951ff
DM
19593 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19594
bd951ccb
JM
195952012-03-14 Joseph Myers <joseph@codesourcery.com>
19596
19597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19598 bits/syscall.h.
19599 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19600 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19601 ($(inst_includedir)/bits/syscall.h): Remove rule.
19602 ($(objpfx)bits/syscall.d): Include instead of
19603 $(objpfx)syscall-list.d.
19604 (generated): Change syscall-list.h and syscall-list.d to
19605 bits/syscall.h and bits/syscall.d.
19606
bb4e6db2
RM
196072012-03-14 Roland McGrath <roland@hack.frob.com>
19608
19609 [BZ #13846]
19610 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19611
aa4a2ae1
JM
196122012-03-14 Joseph Myers <joseph@codesourcery.com>
19613
e456826d
JM
19614 [BZ #13841]
19615 * math/s_csqrt.c: Include <float.h>.
19616 (__csqrt): Scale large or subnormal inputs.
19617 * math/s_csqrtf.c: Likewise.
19618 * math/s_csqrtl.c: Likewise.
19619 * math/libm-test.inc (csqrt_test): Add more tests.
19620 * sysdeps/i386/fpu/libm-test-ulps: Update.
19621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19622
aa4a2ae1
JM
19623 [BZ #13840]
19624 * math/libm-test.inc (hypot_test): Add more tests.
19625
7c10fd35
DM
196262012-03-13 David S. Miller <davem@davemloft.net>
19627
19628 [BZ #13840]
19629 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19630 double-precision for the calculation instead of scaling.
19631
f453b98b
JM
196322012-03-13 Joseph Myers <joseph@codesourcery.com>
19633
19634 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19635 manipulate bits before adding and subtracting TWO52[sx].
19636 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19637 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19638 Likewise.
19639 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19640
09a3453f
DM
196412012-03-13 David S. Miller <davem@davemloft.net>
19642
8e59da90
DM
19643 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19644 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19645 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19646 rtld-global-offsets.h
19647 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19648
2a8ab7f2
DM
19649 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19650 large parameters.
19651
10f62770
DM
19652 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19653
5f0bdb18
DM
19654 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19655 'err' in the ifdef scope in which it is actually used.
19656
09a3453f
DM
19657 * nss/nss_db/db-init.c: Include string.h
19658
b4b2eb5e
DM
196592012-03-12 David S. Miller <davem@davemloft.net>
19660
98bb2f1c
DM
19661 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19662 masking out of the most significant byte of random value used.
19663 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19664 Fix coding style in previous change.
19665
b4b2eb5e
DM
19666 * sysdeps/unix/sysv/linux/kernel-features.h
19667 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19668 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19669 expression.
19670 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19671 later.
19672
6e226b09
DM
196732012-03-11 David S. Miller <davem@davemloft.net>
19674
a1bcbd40
DM
19675 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19676 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19677 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19678 for 'resultvar' otherwise things get truncated on 64-bit.
19679
cb9d6174
DM
19680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19681 Fix masking out of the most significant byte of random value used.
19682
6e226b09
DM
19683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19684
058c132d
AS
196852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19686
19687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19688
2d2cd515
DM
196892012-03-09 David S. Miller <davem@davemloft.net>
19690
19691 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19692 variables with appropriate CPP guards.
19693 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19694 frame pointer, not the stack pointer. Correct layout comments. Fix test
19695 on resulting framesize and the management of the outregs buffer for pltexit.
19696 Preserve floating point return values across _dl_call_pltexit call.
19697 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19698 framesize and the management of the outregs buffer for pltexit.
19699 Preserve floating point return values across _dl_call_pltexit
19700 call.
19701 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19702 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19703 (print_exit): Fix format string for return register value.
19704
9a07f9d0
JM
197052012-03-10 Joseph Myers <joseph@codesourcery.com>
19706
19707 * sunrpc/Makefile (others): Add rpcgen.
19708 ($(objpfx)rpcgen): Remove special build rule and dependency on
19709 libc.
19710 * sunrpc/rpcgen.c: New file.
19711
547b5e30
PE
197122012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19713
c524201a
PE
19714 [BZ #13673]
19715 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19716 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19717 * sysdeps/i386/crti.S: Likewise.
19718 * sysdeps/i386/crtn.S: Likewise.
19719 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19720 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19721 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19722 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19723 * sysdeps/sh/crti.S: Likewise.
19724 * sysdeps/sh/crtn.S: Likewise.
19725 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19726
7b6235f2
PE
19727 [BZ #13673]
19728 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19729 with URL.
19730 * locale/programs/locfile-kw.gperf: Likewise.
19731 * locale/programs/charmap-kw.h: Regenerated.
19732 * locale/programs/locfile-kw.h: Likewise.
19733
547b5e30
PE
19734 [BZ #13673]
19735 * intl/plural.y: Replace FSF snail mail address with URL.
19736 * intl/plural.c: Regenerated.
19737
5f0a5dae
RH
197382012-03-09 Richard Henderson <rth@twiddle.net>
19739
19740 * include/math_private.h: Remove file.
19741 * math/math_private.h: Move file ...
19742 * sysdeps/generic/math_private.h: ... here.
19743
b8c03620
RH
19744 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19745 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19746 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19747
4e234f5d 19748 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
19749 and <math_private.h>.
19750 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19751 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19752 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19753 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19754 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19765 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19766 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19767 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19768 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19769 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19771 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19772 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19774 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19775 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19776 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19779 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19780 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19781 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19782 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19783 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19784 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19785 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19786 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19787 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19788 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19789 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19790 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19791 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19792 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19793 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19794 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19795 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19796 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19797 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19798 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19799 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19800 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19801 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19802 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19803 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19804 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19807 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19808 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19809 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19810 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19811 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19813 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19814 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19815 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19816 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19817 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19818 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19819 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19820 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19821 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19822 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19823 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19824 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19828 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19829 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19830 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19832 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19834 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19836 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19837 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19838 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19839 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19840 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19841 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19843 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19844 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19845 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19846 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19847 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19848 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19849 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19850 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19851 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19852 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19853 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19854 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19855 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19856 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19857 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19858 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19860 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19861 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19862 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19863 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19864 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19865 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19866 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19867 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19868 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19869 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19870 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19871 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19872 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19873 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19874 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19875 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19876 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19877 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19878 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19879 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19880 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19881 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19882 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19883 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19884 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19885 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19886 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19887 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19888 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19889 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19890 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19891 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19892 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19893 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19894 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19895 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19896 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19897 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19898 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19899 * sysdeps/ieee754/k_standard.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19901 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19902 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19903 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19904 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19905 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19906 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19907 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19908 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19909 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19910 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19911 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19912 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19913 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19914 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19915 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19916 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19917 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19918 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19919 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19920 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19921 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19923 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19924 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19925 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19926 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19927 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19928 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19929 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19930 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19931 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19932 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19933 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19934 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19935 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19936 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19937 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19938 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19939 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19940 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19941 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19942 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19943 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19944 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19945 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19946 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19948 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19949 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19950 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19951 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19952 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19953 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19954 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19955 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19956 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19957 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19958 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19959 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19960 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19961 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19962 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19963 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19966 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19967 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19969 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19970 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19972 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19973 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19974 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19975 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19976 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19977 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19978 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19979 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19980 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19981 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19982 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19983 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19984 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19985 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19986 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19987 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19988 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19989 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19990 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19991 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19993 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19994 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19995 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19996 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19998 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19999 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20002 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20003 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20005 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20006 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20007 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20008 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20012 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20013 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20014 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20015 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20016 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20017 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20018 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20019 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20020 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20021 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20022 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20023 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20024 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20025 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20026 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20027 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20028 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20029 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20030 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20031 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20032 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20033 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20034 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20035 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20037 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20038 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20039 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20040 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20041 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20042 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20043 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20044 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20045 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20046 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20047 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20048 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20049 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20050 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20051 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20052 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20053 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20054 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20055 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20056 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20057 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20058 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20059 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20060 * sysdeps/ieee754/s_lib_version.c: Likewise.
20061 * sysdeps/ieee754/s_matherr.c: Likewise.
20062 * sysdeps/ieee754/s_signgam.c: Likewise.
20063 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20065 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20066 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20067 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20068 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20069 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20070 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20071 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20072 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20073 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20074 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20075 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20076 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20077 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20078 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20079 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20080 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20081 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20082 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 20084
1991fa03
JM
200852012-03-09 Joseph Myers <joseph@codesourcery.com>
20086
20087 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20088 * sunrpc/rpc_main.c: Likewise.
20089 * sunrpc/rpc_svcout.c: Likewise.
20090
60d6f5a6
DM
200912012-03-09 David S. Miller <davem@davemloft.net>
20092
20093 * include/math_private.h: New file.
20094
4962050e
JM
200952012-03-09 Joseph Myers <joseph@codesourcery.com>
20096
02a6f887
JM
20097 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20098 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20099 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20100 from <bits/socket_type.h>.
20101 (enum __socket_type): Don't define here.
20102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20104 bits/socket_type.h.
20105
c6e013c1
JM
20106 [BZ #13566]
20107 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20108 checking __USE_GNU.
20109
4962050e
JM
20110 * Makerules ($(inst_includedir)/%.h): New rule.
20111 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20112 (install-others): Remove variable setting.
20113 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20114
38842f45
RH
201152012-03-08 Richard Henderson <rth@twiddle.net>
20116
67bb6da6
RH
20117 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20118 from macro to inline function; merge with the
20119 !__LIBC_INTERNAL_MATH_INLINES version.
20120 (__ieee754_sqrtf): Likewise.
20121
15194b4b
RH
20122 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20123 to inline function.
20124 (__rintf, __floor, __floorf): Likewise.
20125
64e21ede
RH
20126 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20127 macro to inline function.
20128 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20129
38842f45
RH
20130 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20131 not <math/math_private.h>.
20132
c64bf5fe
DM
201332012-03-08 David S. Miller <davem@davemloft.net>
20134
20135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20136 copyright year.
20137 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20138
82d86f28
TS
201392012-03-08 Thomas Schwinge <thomas@codesourcery.com>
20140
20141 * resolv/gai_misc.c (handle_requests): Fix struct timespec
20142 normalization.
20143 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20144 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20145
aea5d727
UD
201462012-03-08 Ulrich Drepper <drepper@gmail.com>
20147
20148 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
20149 be defined individually, they must be defined as a block. Define
20150 S for printing a string instead of hidint the different by using a
20151 macro for adding the 'l'.
20152 * stdio-common/tst-fphex-wide.c: Adjust.
20153
70bca0a3
MP
201542012-03-07 Marek Polacek <polacek@redhat.com>
20155
20156 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20157
65b81130
MP
201582012-03-08 Marek Polacek <polacek@redhat.com>
20159
20160 [BZ #13806]
20161 * stdio-common/Makefile (tests): Add tst-fphex-wide.
20162 * stdio-common/tst-fphex.c: Define a few macros to make the
20163 test reusable. Use them.
20164 * stdio-common/tst-fphex-wide.c: New file.
20165
07037eeb
JM
201662012-03-08 Joseph Myers <joseph@codesourcery.com>
20167
a7a93d50
JM
20168 [BZ #6911]
20169 * manual/macros.texi (gnusystems): New macro.
20170 (nongnusystems): Likewise.
20171 (gnulinuxhurdsystems): Likewise.
20172 (gnuhurdsystems): Likewise..
20173 (gnulinuxsystems): Likewise.
20174 * manual/charset.texi: Use new macros or @theglibc{} to refer to
20175 variants of the GNU system, not "GNU system".
20176 * manual/conf.texi: Likewise.
20177 * manual/errno.texi: Likewise. Update example of errno macro
20178 expansion.
20179 * manual/filesys.texi: Likewise.
20180 (getumask): Document as specific to GNU/Hurd.
20181 * manual/install.texi: Likewise. Reword some references to
20182 GNU/Linux.
20183 * manual/intro.texi: Likewise.
20184 * manual/io.texi: Likewise.
20185 (File Name Portability): Detail which constraints are inapplicable
20186 to all GNU systems and which are only inapplicable to GNU/Hurd.
20187 * manual/job.texi: Likewise.
20188 * manual/llio.texi: Likewise.
20189 (O_NOCTTY): Document as present on GNU/Linux.
20190 * manual/maint.texi: Likewise.
20191 * manual/memory.texi: Likewise.
20192 * manual/pattern.texi: Likewise.
20193 * manual/pipe.texi: Likewise.
20194 * manual/process.texi: Likewise.
20195 * manual/resource.texi: Likewise.
20196 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20197 child on GNU/Hurd.
20198 * manual/setjmp.texi: Likewise.
20199 * manual/signal.texi: Likewise.
20200 * manual/startup.texi: Likewise.
20201 * manual/stdio.texi: Likewise.
20202 * manual/terminal.texi: Likewise.
20203 (ONLCR): Document as POSIX.
20204 (OXTABS): Document availability on GNU/Linux as XTABS.
20205 (ONOEOT): Document availability separately from other bits.
20206 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20207 * manual/time.texi: Likewise.
20208 * manual/users.texi: Likewise.
20209 * INSTALL: Regenerated.
20210 * sysdeps/gnu/errlist.c: Regenerated.
20211
07037eeb
JM
20212 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20213 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20214 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20215 puts.
20216 * configure: Regenerated.
20217
d1d3431a
JM
202182012-03-07 Joseph Myers <joseph@codesourcery.com>
20219
af6a1e37
JM
20220 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20221 default includes instead of AC_HEADER_CHECK.
20222 * sysdeps/i386/configure: Regenerated.
20223
d1d3431a
JM
20224 [BZ #10716]
20225 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20226 * math/s_cacoshf.c (__cacoshf): Likewise.
20227 * math/s_cacoshl.c (__cacoshl): Likewise.
20228 * math/s_casinh.c (__casinh): Set signs of result from argument.
20229 * math/s_casinhf.c (__casinhf): Likewise.
20230 * math/s_casinhl.c (__casinhl): Likewise.
20231 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20232 (casinh_test): Add more tests.
20233 * sysdeps/i386/fpu/libm-test-ulps: Update.
20234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20235
482ff4da
UD
202362012-03-07 Ulrich Drepper <drepper@gmail.com>
20237
872fda05
UD
20238 * po/zh_TW.po: Update from translation team.
20239
a4300c7a
UD
20240 * login/Makefile (distribute): Remove variable.
20241 * catgets/Makefile: Likewise.
20242 * mach/Makefile: Likewise.
20243 * malloc/Makefile: Likewise.
20244 * misc/Makefile: Likewise.
20245 * iconv/Makefile: Likewise.
20246 * nscd/Makefile: Likewise.
20247 * hurd/Makefile: Likewise.
20248 * manual/Makefile: Likewise.
20249 * locale/Makefile: Likewise.
20250 * intl/Makefile: Likewise.
20251 * conform/Makefile: Likewise.
20252 * nss/Makefile: Likewise.
20253 * time/Makefile: Likewise.
20254 * soft-fp/Makefile: Likewise.
20255 * dirent/Makefile: Likewise.
20256 * gmon/Makefile: Likewise.
20257 * po/Makefile: Likewise.
20258 * rt/Makefile: Likewise.
20259 * socket/Makefile: Likewise.
20260 * math/Makefile: Likewise.
20261 * signal/Makefile: Likewise.
20262 * debug/Makefile: Likewise.
20263 * elf/Makefile: Likewise.
20264 * timezone/Makefile: Likewise.
20265 * stdlib/Makefile: Likewise.
20266 * iconvdata/Makefile: Likewise.
20267 * sunrpc/Makefile: Likewise.
20268 * io/Makefile: Likewise.
20269 * argp/Makefile: Likewise.
20270 * inet/Makefile: Likewise.
20271 * hesiod/Makefile: Likewise.
20272 * grp/Makefile: Likewise.
20273 * csu/Makefile: Likewise.
20274 * wctype/Makefile: Likewise.
20275 * crypt/Makefile: Likewise.
20276 * libio/Makefile: Likewise.
20277 * string/Makefile: Likewise.
20278 * nis/Makefile: Likewise.
20279 * resolv/Makefile: Likewise.
20280 * stdio-common/Makefile: Likewise.
20281 * wcsmbs/Makefile: Likewise.
20282 * dlfcn/Makefile: Likewise.
20283 * posix/Makefile: Likewise.
20284
3b7c4e74 20285 [BZ #6959]
482ff4da
UD
20286 * timezone/Makefile: Don't install timezone files, just the programs
20287 and scripts.
20288
f72ed77d
UD
202892012-03-06 Ulrich Drepper <drepper@gmail.com>
20290
a000466f
UD
20291 * nss/databases.def: Add missing gshadow entry.
20292
f72ed77d
UD
20293 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20294
a53b7a4e
MP
202952012-03-06 Marek Polacek <polacek@redhat.com>
20296
20297 [BZ #13726]
20298 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20299 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20300 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20301 * stdio-common/tst-long-dbl-fphex.c: New file.
20302
e9258400
DM
203032012-03-06 David S. Miller <davem@davemloft.net>
20304
20305 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20306 (set_obp_int): New function.
20307 (get_obp_int): New function.
20308 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
20309 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20310 Avoid unused variable warnings on 'val' and use builtin_expect.
20311 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20312 __builtin_expect.
e9258400
DM
20313 (INLINE_CLONE_SYSCALL): Likewise.
20314
3bd2c723
DM
203152012-03-05 David S. Miller <davem@davemloft.net>
20316
20317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20318
bbb78d03
AS
203192012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20320
884c5db4
AS
20321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20322
bbb78d03
AS
20323 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20324 only for |x| >= 40.
20325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20326
1c9f702a 203272012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
20328
20329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20330 Replace gettimeofday with __vdso_gettimeofday.
20331
7be16f82
RM
20332 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20333 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20334 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
20335
20336 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20337 time with __vdso_time.
20338
ed58a00f
JM
203392012-03-05 Joseph Myers <joseph@codesourcery.com>
20340
20341 * manual/lang.texi (size_t): Note types to which size_t may be
20342 equivalent with the GNU C Library, but do not describe when
20343 differences between them are significant.
20344
30ee4ced
AJ
203452012-03-05 Andreas Jaeger <aj@suse.de>
20346
20347 * sysdeps/i386/fpu/libm-test-ulps: Update.
20348
b7cd39e8
JM
203492012-03-05 Joseph Myers <joseph@codesourcery.com>
20350
20351 [BZ #3976]
20352 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20353 (__ieee754_pow): Save and restore rounding mode and use
20354 round-to-nearest for main computations.
20355 * math/libm-test.inc (pow_test_tonearest): New function.
20356 (pow_test_towardzero): Likewise.
20357 (pow_test_downward): Likewise.
20358 (pow_test_upward): Likewise.
20359 (main): Call the new functions.
20360 * sysdeps/i386/fpu/libm-test-ulps: Update.
20361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
20362
20363 [BZ #3976]
20364 * math/libm-test.inc (cosh_test_tonearest): New function.
20365 (cosh_test_towardzero): Likewise.
20366 (cosh_test_downward): Likewise.
20367 (cosh_test_upward): Likewise.
20368 (sinh_test_tonearest): Likewise.
20369 (sinh_test_towardzero): Likewise.
20370 (sinh_test_downward): Likewise.
20371 (sinh_test_upward): Likewise.
20372 (main): Call the new functions.
20373 * sysdeps/i386/fpu/libm-test-ulps: Update.
20374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20375
6c6a98c9
TV
203762012-03-05 Tom de Vries <tom@codesourcery.com>
20377
20378 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20379 default stack guard is set in last bytes.
20380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20381
21bb2d2e 203822012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 20383
21bb2d2e 20384 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 20385
21bb2d2e
AJ
20386 [BZ #13656]
20387 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20388 possibly allocate from heap instead of stack.
20389 * stdio-common/bug-vfprintf-nargs.c: New file.
20390 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 20391
c6922934
AS
203922012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20393
20394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20395
bc957d53
MP
203962012-03-03 Marek Polacek <polacek@redhat.com>
20397
20398 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20399 * math/math_private.h: Likewise.
20400 * stdlib/tst-strtod.c: Likewise.
20401 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20402 * sysdeps/x86_64/bits/atomic.h: Likewise.
20403
6358490d
DM
204042012-03-02 David S. Miller <davem@davemloft.net>
20405
20406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20410 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20411 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20412 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20413 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20414
01ae168d
RM
204152012-03-02 Roland McGrath <roland@hack.frob.com>
20416
d9a17c07
RM
20417 [BZ #13792]
20418 * manual/examples/README: New file, says the example source files
20419 can be used under GPL>=2.
20420 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20421 line containing just "*/".
20422 * manual/examples/add.c: Add copyright header (GPL>=2).
20423 * manual/examples/argp-ex1.c: Likewise.
20424 * manual/examples/argp-ex2.c: Likewise.
20425 * manual/examples/argp-ex3.c: Likewise.
20426 * manual/examples/argp-ex4.c: Likewise.
20427 * manual/examples/atexit.c: Likewise.
20428 * manual/examples/db.c: Likewise.
20429 * manual/examples/dir.c: Likewise.
20430 * manual/examples/dir2.c: Likewise.
20431 * manual/examples/execinfo.c: Likewise.
20432 * manual/examples/filecli.c: Likewise.
20433 * manual/examples/filesrv.c: Likewise.
20434 * manual/examples/fmtmsgexpl.c: Likewise.
20435 * manual/examples/genpass.c: Likewise.
20436 * manual/examples/inetcli.c: Likewise.
20437 * manual/examples/inetsrv.c: Likewise.
20438 * manual/examples/isockad.c: Likewise.
20439 * manual/examples/longopt.c: Likewise.
20440 * manual/examples/memopen.c: Likewise.
20441 * manual/examples/memstrm.c: Likewise.
20442 * manual/examples/mkfsock.c: Likewise.
20443 * manual/examples/mkisock.c: Likewise.
20444 * manual/examples/mygetpass.c: Likewise.
20445 * manual/examples/pipe.c: Likewise.
20446 * manual/examples/popen.c: Likewise.
20447 * manual/examples/rprintf.c: Likewise.
20448 * manual/examples/search.c: Likewise.
20449 * manual/examples/select.c: Likewise.
20450 * manual/examples/setjmp.c: Likewise.
20451 * manual/examples/sigh1.c: Likewise.
20452 * manual/examples/sigusr.c: Likewise.
20453 * manual/examples/stpcpy.c: Likewise.
20454 * manual/examples/strdupa.c: Likewise.
20455 * manual/examples/strftim.c: Likewise.
20456 * manual/examples/strncat.c: Likewise.
20457 * manual/examples/subopt.c: Likewise.
20458 * manual/examples/swapcontext.c: Likewise.
20459 * manual/examples/termios.c: Likewise.
20460 * manual/examples/testopt.c: Likewise.
20461 * manual/examples/testpass.c: Likewise.
20462 * manual/examples/timeval_subtract.c: Likewise.
20463
01ae168d
RM
20464 [BZ #13792]
20465 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20466 function to ...
20467 * manual/timeval_subtract.c.texi: ... here, new file.
20468
49efa33d
DM
204692012-03-02 David S. Miller <davem@davemloft.net>
20470
20471 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20472
28afd92d
JM
204732012-03-02 Joseph Myers <joseph@codesourcery.com>
20474
804360ed
JM
20475 [BZ #3976]
20476 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20477 (__sin): Save and restore rounding mode and use round-to-nearest
20478 for all computations.
20479 (__cos): Save and restore rounding mode and use round-to-nearest
20480 for all computations.
20481 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20482 <fenv.h>.
20483 (tan): Save and restore rounding mode and use round-to-nearest for
20484 all computations.
20485 * math/libm-test.inc (cos_test_tonearest): New function.
20486 (cos_test_towardzero): Likewise.
20487 (cos_test_downward): Likewise.
20488 (cos_test_upward): Likewise.
20489 (sin_test_tonearest): Likewise.
20490 (sin_test_towardzero): Likewise.
20491 (sin_test_downward): Likewise.
20492 (sin_test_upward): Likewise.
20493 (tan_test_tonearest): Likewise.
20494 (tan_test_towardzero): Likewise.
20495 (tan_test_downward): Likewise.
20496 (tan_test_upward): Likewise.
20497 (main): Call the new functions.
20498 * sysdeps/i386/fpu/libm-test-ulps: Update.
20499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20500
a6d06d7b
JM
20501 [BZ #10135]
20502 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20503 small n, then large n, before computing and testing k+n.
20504 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20506 Likewise.
20507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20508 Likewise.
20509 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20510 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20511 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20512 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20513 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20514 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20515 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20516 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20517 * math/libm-test.inc (scalbn_test): Add more tests.
20518 (scalbln_test): Likewise.
20519
07e12bb3
JM
20520 * manual/filesys.texi (mode_t): Describe constraints on size and
20521 signedness, not exact equivalence to a particular type.
20522 (ino_t): Likewise.
20523 (ino64_t): Likewise.
20524 (dev_t): Likewise.
20525 (nlink_t): Likewise.
20526 (blkcnt_t): Likewise.
20527 (blkcnt64_t): Likewise.
20528 * manual/llio.texi (off_t): Likewise.
20529
28afd92d
JM
20530 [BZ #3976]
20531 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20532 (__ieee754_exp): Save and restore rounding mode and use
20533 round-to-nearest for all computations.
20534 * math/libm-test.inc (exp_test_tonearest): New function.
20535 (exp_test_towardzero): Likewise.
20536 (exp_test_downward): Likewise.
20537 (exp_test_upward): Likewise.
20538 (main): Call the new functions.
20539 * sysdeps/i386/fpu/libm-test-ulps: Update.
20540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20541
b1eeb65d
CD
205422012-03-01 Chris Demetriou <cgd@google.com>
20543
20544 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20545 have predictable order.
20546
53362a4b
DM
205472012-03-01 David S. Miller <davem@davemloft.net>
20548
3c969083
DM
20549 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20550
759707de
DM
20551 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20552 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20553 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20554 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20555
dfdb8ff2
DM
20556 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20557 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20558 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20560 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20561 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20562 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20563 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20564 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20565
ead89f96
DM
20566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20567
7f66bd07
DM
20568 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20569 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20570 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20571
53362a4b
DM
20572 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20573 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20574 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20575 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20576 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20579 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20580 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20581 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20582 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20583 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20584 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20585 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20586 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20588 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20589 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20590 * sysdeps/sparc/elf/configure: Regenerated.
20591
7b1902cb
JM
205922012-03-01 Joseph Myers <joseph@codesourcery.com>
20593
bec039bc
JM
20594 * configure.in (AS, LD): Require binutils 2.20 or later.
20595 * configure: Regenerated.
20596 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20597 as required minimum version.
20598 * INSTALL: Regenerated.
20599
7b1902cb
JM
20600 [BZ #2541]
20601 [BZ #4108]
20602 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20603 before squaring exponent.
20604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20605 bottom long double and 27 bits of top long double before squaring
20606 exponent.
20607 * math/libm-test.inc (erfc_test): Add more tests.
20608 * sysdeps/i386/fpu/libm-test-ulps: Update.
20609 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20611
f775c276
KT
206122012-03-01 Kai Tietz <ktietz@redhat.com>
20613
20614 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20615 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20616 containing bit-fields.
20617 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20618 * soft-fp/single.h (_FP_UNION_S): Likewise.
20619 * soft-fp/double.h (_FP_UNION_D): Likewise.
20620
5b8a4d4a
JM
206212012-02-29 Joseph Myers <joseph@codesourcery.com>
20622
0bab47b6
JM
20623 [BZ #13786]
20624 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20625 not include ../strcmp.S.
20626 [USE_AS_STRNCASECMP_L]: Likewise.
20627 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20628 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20629 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20630 (__strncasecmp_l_ia32): Define as alias to
20631 __strncasecmp_l_nonascii.
20632
0fcad3e2
JM
20633 [BZ #5794]
20634 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20635 * sysdeps/i386/fpu/libm-test-ulps: Update.
20636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20637
5b8a4d4a
JM
20638 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20640
8fdceb2e
JL
206412012-02-29 Jeff Law <law@redhat.com>
20642
20643 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20644 out of bounds read.
20645
1f393a11
MP
206462012-02-29 Marek Polacek <polacek@redhat.com>
20647
20648 [BZ #13706]
20649 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20650 * elf/Makefile: Add rules to run tst-unused-dep.out.
20651
8847f037
DM
206522012-02-28 David S. Miller <davem@davemloft.net>
20653
20654 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20655 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20656 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20657 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20660
169d7f11
JM
206612012-02-29 Joseph Myers <joseph@codesourcery.com>
20662
20663 * math/libm-test.inc (llround_test): Move one test from
20664 lround_test. Use TEST_f_L in moved test.
20665 (lround_test): Move misplaced test to llround_test. Add testcase
20666 from bug 2561.
20667
39adf059
UD
206682012-02-28 Ulrich Drepper <drepper@gmail.com>
20669
20670 * sysdeps/x86_64/fpu/e_expf.S: New file.
20671 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20672
71b5d1c5
SB
206732012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20674
20675 [BZ #13637]
20676 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20677 of remain_len that may cause incomplete multi-byte character and
20678 false match.
20679 * posix/bug-regex33.c: New file.
20680 * posix/Makefile (tests): Add bug-regex33.
20681
1f77f049
JM
206822012-02-28 Joseph Myers <joseph@codesourcery.com>
20683
20684 * manual/macros.texi: New file.
20685 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20686 * manual/libc.texinfo: Include macros.texi.
20687 * manual/creatute.texi: Likewise.
20688 * manual/install.texi: Likewise.
20689 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20690 @glibcadj{} in references to the GNU C Library.
20691 * manual/charset.texi: Likewise.
20692 * manual/conf.texi: Likewise.
20693 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20694 when not using those macros.
20695 * manual/creature.texi: Likewise.
20696 * manual/crypt.texi: Likewise.
20697 * manual/errno.texi: Likewise.
20698 * manual/filesys.texi: Likewise.
20699 * manual/header.texi: Likewise.
20700 * manual/install.texi: Likewise.
20701 * manual/intro.texi: Likewise.
20702 * manual/io.texi: Likewise.
20703 * manual/job.texi: Likewise.
20704 * manual/lang.texi: Likewise.
20705 * manual/libc.texiinfo: Likewise.
20706 * manual/llio.texi: Likewise.
20707 * manual/locale.texi: Likewise.
20708 * manual/maint.texi: Likewise.
20709 * manual/math.texi: Likewise.
20710 * manual/memory.texi: Likewise.
20711 * manual/message.texi: Likewise.
20712 * manual/nss.texi: Likewise.
20713 * manual/pattern.texi: Likewise.
20714 * manual/process.texi: Likewise.
20715 * manual/resource.texi: Likewise.
20716 * manual/search.texi: Likewise.
20717 * manual/setjmp.texi: Likewise.
20718 * manual/signal.texi: Likewise.
20719 * manual/socket.texi: Likewise.
20720 * manual/startup.texi: Likewise.
20721 * manual/stdio.texi: Likewise.
20722 * manual/string.texi: Likewise.
20723 * manual/sysinfo.texi: Likewise.
20724 * manual/syslog.texi: Likewise.
20725 * manual/terminal.texi: Likewise.
20726 * manual/time.texi: Likewise.
20727 * manual/users.texi: Likewise.
20728 * INSTALL: Regenerated.
20729 * NOTES: Regenerated.
d40c5d54 20730 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 20731
450bf206
AS
207322012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20733
20734 * include/dirent.h: Include <dirstream.h> before
20735 <dirent/dirent.h>.
20736
741a235b
DM
207372012-02-28 David S. Miller <davem@davemloft.net>
20738
20739 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20740 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20741 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20742 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20743
d6b5aa58
DM
207442012-02-27 David S. Miller <davem@davemloft.net>
20745
1aff59a3
DM
20746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20748 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20749 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20750
d6b5aa58
DM
20751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20752 frame pointer instead of stack pointer relative arg slot.
20753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20754 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20755 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20756
433f48bf
CD
207572012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20758
20759 [BZ #3992]
20760 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20761
d674b76d
DM
207622012-02-27 David S. Miller <davem@davemloft.net>
20763
20764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20768 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20769 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20770 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20771 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20772
0e7727f7
JM
207732012-02-27 Joseph Myers <joseph@codesourcery.com>
20774
20775 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20776 later. Allow versions 5-9.
43be4ca2 20777 * configure: Regenerated.
0e7727f7
JM
20778 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20779 required minimum version and 4.6 as recommended version. Do not
20780 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20781 * INSTALL: Regenerated.
0e7727f7 20782
a78bc654
DM
207832012-02-27 David S. Miller <davem@davemloft.net>
20784
428d5830
DM
20785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20789 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20790 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20791 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20792 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20793
a78bc654
DM
20794 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20795 manipulate bits before adding and subtracting TWO112[sx].
20796 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20797
4579f81c
RM
207982012-02-27 Roland McGrath <roland@hack.frob.com>
20799
36c8acb4
RM
20800 [BZ #13775]
20801 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20802 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20803 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20804 being in POSIX, because they are in 1003.1-2008.
20805
84ad622b
RM
20806 * rt/tst-aio.c: Include <fcntl.h>.
20807 * rt/tst-aio7.c: Likewise.
20808 * rt/tst-aio64.c: Likewise.
20809
4579f81c
RM
20810 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20811
abd923db
JM
208122012-02-27 Joseph Myers <joseph@codesourcery.com>
20813
20814 * manual/install.texi (--with-headers): Describe headers as
20815 interface headers, not private headers.
20816 (Specific advice for GNU/Linux systems): Describe use of headers
20817 from "make headers_install", not private headers from older
20818 kernels.
43be4ca2 20819 * INSTALL: Regenerated.
abd923db
JM
20820 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20821 Change to 2.6.19.
20822 * sysdeps/unix/sysv/linux/configure: Regenerated.
20823
6664049b
JM
20824 * manual/llio.texi (fclean): Remove documentation.
20825
bb8b6697
JM
20826 * manual/Makefile (libc-texi-generated): New variable. Include
20827 version.texi.
20828 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20829 $(libc-texi-generated), not duplicated list of files.
20830 (version.texi, stamp-version): New rules.
20831 (realclean): Remove $(libc-texi-generated), not individual files
20832 from that list. Do not remove dir-add.texinfo.
20833 * manual/libc.texinfo: Comment out uses of edition numbers and
20834 references to printed manual. Remove last-updated dates.
20835 (EDITION): Comment out.
20836 (ISBN): Likewise.
20837 (VERSION, UPDATED): Remove.
20838 (version.texi): Include.
20839
12e5c3b9
AS
208402012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20841
20842 * sysdeps/posix/spawni.c: Include <signal.h>.
20843 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20844 * sysdeps/pthread/aio_fsync.c: Likewise.
20845
4efeffc1 208462012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20847
ba63ba08
UD
20848 * conform/Makefile (tests): Run only when not cross-compiling and
20849 when fast-check is not defined.
20850
d94a4670
UD
20851 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20852 * conform/data/limits.h-data: Fixes for POSIX2008.
20853 * conform/run-conformtest.sh: Run all tests.
20854 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20855 headers.
20856 * include/bits/dlfcn.h: Likewise.
20857 * include/langinfo.h: Likewise.
20858 * include/monetary.h: Likewise.
20859 * include/sys/poll.h: Likewise.
20860
20861 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20862 for __USE_GNU.
20863 * posix/spawn.h: Define __need_sigset_t.
20864 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20865 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20866 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20867 to get sigevent_t only.
20868 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20869 only for __USE_GNU.
20870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20871 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20872 process_vm_writev only for __USE_GNU.
20873 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20874
20875 * conform/Makefile: For now ignore errors from run-conformtest.
20876 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20877 POSIX to avoid namespace pollution. Don't prepend headers.
20878 * conform/data/aio.h-data: Fixes for POSIX testing.
20879 * conform/data/fcntl.h-data: Likewise.
20880 * conform/data/glob.h-data: Likewise.
20881 * conform/data/grp.h-data: Likewise.
20882 * conform/data/pthread.h-data: Likewise.
20883 * conform/data/pwd.h-data: Likewise.
20884 * conform/data/signal.h-data: Likewise.
20885 * conform/data/spawn.h-data: Likewise.
20886 * conform/data/stdio.h-data: Likewise.
20887 * conform/data/stdlib.h-data: Likewise.
20888 * conform/data/stropts.h-data: Likewise.
20889 * conform/data/sys/mman.h-data: Likewise.
20890 * conform/data/sys/stat.h-data: Likewise.
20891 * conform/data/sys/types.h-data: Likewise.
20892 * conform/data/sys/wait.h-data: Likewise.
20893 * conform/data/time.h-data: Likewise.
20894 * conform/data/unistd.h-data: Likewise.
20895 * conform/data/utime.h-data: Likewise.
20896
20897 * io/sys/stat.h: fchmod was always in POSIX.
20898 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20899 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20900 * rt/aio.h: Define __need_timespec before including <time.h>.
20901 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20902 struct. Add forward declaration of pthread_attr_t and use it in
20903 sigevent.
20904 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20905 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20906 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20907 always remove CLK_TCK definition.
20908
c20105c3
AS
209092012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20910
20911 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20912
7a270350
UD
209132012-02-25 Ulrich Drepper <drepper@gmail.com>
20914
31341567
UD
20915 * conform/run-conformtest.sh: New file.
20916 * conform/Makefile: Run run-conformtest for tests.
20917 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20918 support.
20919
20920 * conform/data/uchar.h-data: New file.
20921 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20922 * conform/data/arpa/inet.h-data: Likewise.
20923 * conform/data/assert.h-data: Likewise.
20924 * conform/data/complex.h-data: Likewise.
20925 * conform/data/cpio.h-data: Likewise.
20926 * conform/data/ctype.h-data: Likewise.
20927 * conform/data/dirent.h-data: Likewise.
20928 * conform/data/dlfcn.h-data: Likewise.
20929 * conform/data/errno.h-data: Likewise.
20930 * conform/data/fcntl.h-data: Likewise.
20931 * conform/data/float.h-data: Likewise.
20932 * conform/data/fmtmsg.h-data: Likewise.
20933 * conform/data/fnmatch.h-data: Likewise.
20934 * conform/data/ftw.h-data: Likewise.
20935 * conform/data/glob.h-data: Likewise.
20936 * conform/data/grp.h-data: Likewise.
20937 * conform/data/iconv.h-data: Likewise.
20938 * conform/data/inttypes.h-data: Likewise.
20939 * conform/data/langinfo.h-data: Likewise.
20940 * conform/data/libgen.h-data: Likewise.
20941 * conform/data/limits.h-data: Likewise.
20942 * conform/data/locale.h-data: Likewise.
20943 * conform/data/math.h-data: Likewise.
20944 * conform/data/monetary.h-data: Likewise.
20945 * conform/data/mqueue.h-data: Likewise.
20946 * conform/data/ndbm.h-data: Likewise.
20947 * conform/data/net/if.h-data: Likewise.
20948 * conform/data/netdb.h-data: Likewise.
20949 * conform/data/netinet/in.h-data: Likewise.
20950 * conform/data/nl_types.h-data: Likewise.
20951 * conform/data/poll.h-data: Likewise.
20952 * conform/data/pthread.h-data: Likewise.
20953 * conform/data/pwd.h-data: Likewise.
20954 * conform/data/regex.h-data: Likewise.
20955 * conform/data/sched.h-data: Likewise.
20956 * conform/data/search.h-data: Likewise.
20957 * conform/data/semaphore.h-data: Likewise.
20958 * conform/data/setjmp.h-data: Likewise.
20959 * conform/data/signal.h-data: Likewise.
20960 * conform/data/spawn.h-data: Likewise.
20961 * conform/data/stdarg.h-data: Likewise.
20962 * conform/data/stdio.h-data: Likewise.
20963 * conform/data/stdlib.h-data: Likewise.
20964 * conform/data/string.h-data: Likewise.
20965 * conform/data/strings.h-data: Likewise.
20966 * conform/data/stropts.h-data: Likewise.
20967 * conform/data/sys/ipc.h-data: Likewise.
20968 * conform/data/sys/mman.h-data: Likewise.
20969 * conform/data/sys/msg.h-data: Likewise.
20970 * conform/data/sys/resource.h-data: Likewise.
20971 * conform/data/sys/select.h-data: Likewise.
20972 * conform/data/sys/sem.h-data: Likewise.
20973 * conform/data/sys/shm.h-data: Likewise.
20974 * conform/data/sys/socket.h-data: Likewise.
20975 * conform/data/sys/stat.h-data: Likewise.
20976 * conform/data/sys/statvfs.h-data: Likewise.
20977 * conform/data/sys/time.h-data: Likewise.
20978 * conform/data/sys/timeb.h-data: Likewise.
20979 * conform/data/sys/times.h-data: Likewise.
20980 * conform/data/sys/types.h-data: Likewise.
20981 * conform/data/sys/uio.h-data: Likewise.
20982 * conform/data/sys/un.h-data: Likewise.
20983 * conform/data/sys/utsname.h-data: Likewise.
20984 * conform/data/sys/wait.h-data: Likewise.
20985 * conform/data/syslog.h-data: Likewise.
20986 * conform/data/tar.h-data: Likewise.
20987 * conform/data/termios.h-data: Likewise.
20988 * conform/data/utime.h-data: Likewise.
20989 * conform/data/utmpx.h-data: Likewise.
20990 * conform/data/varargs.h-data: Likewise.
20991 * conform/data/wchar.h-data: Likewise.
20992 * conform/data/wctype.h-data: Likewise.
20993 * conform/data/wordexp.h-data: Likewise.
20994
20995 * include/stropts.h: New file.
20996 * include/uchar.h: New file.
20997 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20998 * include/assert.h: Likewise.
20999 * include/ctype.h: Likewise.
21000 * include/dirent.h: Likewise.
21001 * include/dlfcn.h: Likewise.
21002 * include/fcntl.h: Likewise.
21003 * include/fnmatch.h: Likewise.
21004 * include/glob.h: Likewise.
21005 * include/grp.h: Likewise.
21006 * include/libio.h: Likewise.
21007 * include/locale.h: Likewise.
21008 * include/math.h: Likewise.
21009 * include/net/if.h: Likewise.
21010 * include/netdb.h: Likewise.
21011 * include/netinet/in.h: Likewise.
21012 * include/pthread.h: Likewise.
21013 * include/pwd.h: Likewise.
21014 * include/regex.h: Likewise.
21015 * include/sched.h: Likewise.
21016 * include/search.h: Likewise.
21017 * include/setjmp.h: Likewise.
21018 * include/signal.h: Likewise.
21019 * include/stdio.h: Likewise.
21020 * include/stdlib.h: Likewise.
21021 * include/string.h: Likewise.
21022 * include/sys/cdefs.h: Likewise.
21023 * include/sys/mman.h: Likewise.
21024 * include/sys/msg.h: Likewise.
21025 * include/sys/resource.h: Likewise.
21026 * include/sys/select.h: Likewise.
21027 * include/sys/socket.h: Likewise.
21028 * include/sys/stat.h: Likewise.
21029 * include/sys/statvfs.h: Likewise.
21030 * include/sys/time.h: Likewise.
21031 * include/sys/times.h: Likewise.
21032 * include/sys/uio.h: Likewise.
21033 * include/sys/utsname.h: Likewise.
21034 * include/sys/wait.h: Likewise.
21035 * include/termios.h: Likewise.
21036 * include/time.h: Likewise.
21037 * include/ulimit.h: Likewise.
21038 * include/unistd.h: Likewise.
21039 * include/utime.h: Likewise.
21040 * include/wchar.h: Likewise.
21041 * include/wctype.h: Likewise.
21042 * include/wordexp.h: Likewise.
21043
21044 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21045
7a270350
UD
21046 * time/time.h: TIME_UTC must be a macro.
21047 Make timespec_get available for ISO C11 only as well.
21048
7724defc
UD
210492012-02-24 Ulrich Drepper <drepper@gmail.com>
21050
21051 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21052 Reported by Peng Haitao <penght@cn.fujitsu.com>.
21053
6b1d1d46
JM
210542012-02-24 Joseph Myers <joseph@codesourcery.com>
21055
21056 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 21057
0f8bbd69
JM
210582012-02-24 Joseph Myers <joseph@codesourcery.com>
21059
21060 * manual/texinfo.tex: Update to version 2012-01-19.16.
21061
66ab80bc
JM
210622012-02-24 Joseph Myers <joseph@codesourcery.com>
21063
21064 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21065
74981cc5
RM
210662012-02-24 Roland McGrath <roland@hack.frob.com>
21067
ee968201
RM
21068 [BZ #13738]
21069 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21070 * manual/fdl-1.3.texi: New file.
21071 * manual/fdl-1.1.texi: File removed.
21072
74981cc5
RM
21073 [BZ #13738]
21074 * manual/libc.texinfo (FDL_VERSION): New @set.
21075 Use it for mention of FDL in cover text.
21076 (Documentation License): Use it in @include file name.
21077
7bb764bc
JM
210782012-02-22 Joseph Myers <joseph@codesourcery.com>
21079 Roland McGrath <roland@hack.frob.com>
21080
21081 [BZ #5461]
21082 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21083 not LONG_LONG_MAX and LONG_LONG_MIN.
21084 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21085 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
21086 name.
21087 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21088
6cbeae47
JM
210892012-02-22 Joseph Myers <joseph@codesourcery.com>
21090
21091 [BZ #2547]
21092 [BZ #11365]
21093 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21094 manipulate bits before adding and subtracting TWO23[sx].
21095 * math/libm-test.inc (nearbyint_test): Add more tests.
21096
fe45ce09
JM
210972012-02-22 Joseph Myers <joseph@codesourcery.com>
21098
21099 [BZ #2548]
21100 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21101 bits before adding and subtracting TWO23[sx].
21102 * math/libm-test.inc (rint_test): Add more tests.
21103 (rint_test_tonearest): Likewise.
21104 (rint_test_towardzero): Likewise.
21105 (rint_test_downward): Likewise.
21106 (rint_test_upward: Likewise.
21107
ff3b3d82
JM
211082012-02-22 Joseph Myers <joseph@codesourcery.com>
21109
21110 [BZ #10110]
21111 * include/stdc-predef.h: New file. Extracted from features.h.
21112 * include/features.h: Include stdc-predef.h.
21113 * Makefile (headers): Add stdc-predef.h.
21114 * CONFORMANCE (Compiler limitations): Update.
21115
ef0aab35
JM
211162012-02-22 Joseph Myers <joseph@codesourcery.com>
21117
21118 * manual/libc.texinfo (VERSION, UPDATED): Revert.
21119
58639409
DM
211202012-02-21 David S. Miller <davem@davemloft.net>
21121
21122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21123 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21124
c0e70b25
DM
211252012-02-20 David S. Miller <davem@davemloft.net>
21126
21127 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21128 using a normal save/restore sequence, rather than allocating a
21129 dummy stack frame just to store a frame pointer and restore.
21130 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21131
fb06851d
JM
211322012-02-21 Joseph Myers <joseph@codesourcery.com>
21133
21134 * manual/install.texi: Fix stray word in line-wrapped comment.
21135
7a8b71c3
DM
211362012-02-20 David S. Miller <davem@davemloft.net>
21137
d510c123
DM
21138 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21139 both binutils and gcc support GOTDATA.
21140
0722d7c2
DM
21141 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21142 "rd %pc" in the PIC register setup sequences.
21143
3d2b3019
DM
21144 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21145 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21146 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21147 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21148 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21150 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21151 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21153 (SYSCALL_ERROR_HANDLER): Likewise.
21154 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21155 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21157 (SYSCALL_ERROR_HANDLER): Likewise.
21158
c80098a9
DM
21159 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21160 (HAVE_GCC_GOTDATA): New.
21161 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21162 relocation support in both binutils and gcc.
21163 * sysdeps/sparc/elf/configure: Regenerate.
21164
3a2545a0
DM
21165 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21166 * sysdeps/sparc/sparc32/elf/configure: Delete.
21167 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21168 * sysdeps/sparc/sparc64/elf/configure: Delete.
21169 * sysdeps/sparc/elf/configure.in: New file.
21170 * sysdeps/sparc/elf/configure: Generate.
21171
7a8b71c3
DM
21172 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21173 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21174 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21175 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21176 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21177
f1e86fca
JM
211782012-02-21 Joseph Myers <joseph@codesourcery.com>
21179
21180 * manual/install.texi: Do not mention specific glibc version
21181 numbers.
21182 * manual/libc.texinfo (VERSION, UPDATED): Update.
21183 (@copying): Use @copyright{} and range of years.
21184
0e7dfaef
JM
211852012-02-21 Joseph Myers <joseph@codesourcery.com>
21186
21187 [BZ #13695]
21188 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21189 [crti.S not in sysdirs] (generated): Do not append.
21190 [crti.S not in sysdirs] (omit-deps): Likewise.
21191 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21192 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21193 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21194 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21195 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21196 Likewise.
21197 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21198 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21199 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21200 * csu/defs.awk: Remove file.
21201 * sysdeps/generic/initfini.c: Likewise.
21202 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21203 variable.
21204 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21205 Likewise.
21206
599af3ca
JM
212072012-02-20 Joseph Myers <joseph@codesourcery.com>
21208
21209 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21210 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21211 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21214 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21215 <bits/epoll.h>.
21216 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21217 (__EPOLL_PACKED): Define to empty if not defined by
21218 <bits/epoll.h>.
21219 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21221 bits/epoll.h.
21222
0e499750
JM
212232012-02-20 Joseph Myers <joseph@codesourcery.com>
21224
21225 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21226 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21227 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21228 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21229 <bits/timerfd.h>.
21230 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21232 bits/timerfd.h.
21233
5ad91f6e
JM
212342012-02-20 Joseph Myers <joseph@codesourcery.com>
21235
21236 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21237 in C locale.
21238 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21239 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21240 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21242
06b99b02
AJ
212432012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21244
21245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21246 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21247
7638c0fd
AS
212482012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21249
21250 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21251 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21252 defined.
21253 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21254 Likewise.
21255 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21256 entry for 2.16.
21257
92221550
AJ
212582012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21259
21260 * math/w_acos.c: Use non-signaling floating-point comparisons.
21261 * math/w_acosf.c: Likewise.
21262 * math/w_acosh.c: Likewise.
21263 * math/w_acoshf.c: Likewise.
21264 * math/w_acoshl.c: Likewise.
21265 * math/w_acosl.c: Likewise.
21266 * math/w_asin.c: Likewise.
21267 * math/w_asinf.c: Likewise.
21268 * math/w_asinl.c: Likewise.
21269 * math/w_atanh.c: Likewise.
21270 * math/w_atanhf.c: Likewise.
21271 * math/w_atanhl.c: Likewise.
21272 * math/w_exp2.c: Likewise.
21273 * math/w_exp2f.c: Likewise.
21274 * math/w_exp2l.c: Likewise.
21275 * math/w_j0.c: Likewise.
21276 * math/w_j0f.c: Likewise.
21277 * math/w_j0l.c: Likewise.
21278 * math/w_j1.c: Likewise.
21279 * math/w_j1f.c: Likewise.
21280 * math/w_j1l.c: Likewise.
21281 * math/w_jn.c: Likewise.
21282 * math/w_jnf.c: Likewise.
21283 * math/w_log.c: Likewise.
21284 * math/w_log10.c: Likewise.
21285 * math/w_log10f.c: Likewise.
21286 * math/w_log10l.c: Likewise.
21287 * math/w_log2.c: Likewise.
21288 * math/w_log2f.c: Likewise.
21289 * math/w_log2l.c: Likewise.
21290 * math/w_logf.c: Likewise.
21291 * math/w_logl.c: Likewise.
21292 * math/w_sqrt.c: Likewise.
21293 * math/w_sqrtf.c: Likewise.
21294 * math/w_sqrtl.c: Likewise.
21295 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21296 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21297 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21298 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21299 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21300
ebaf36eb
JM
213012012-02-19 Joseph Myers <joseph@codesourcery.com>
21302
21303 [BZ #9739]
21304 * manual/string.texi (strnlen): Use correct parameter name in
21305 equivalent expression.
21306
71c254a6
JM
213072012-02-19 Joseph Myers <joseph@codesourcery.com>
21308
21309 [BZ #11174]
21310 * manual/users.texi (seteuid): Consistently use neweuid for
21311 argument name.
21312
16d2c631
JM
213132012-02-19 Joseph Myers <joseph@codesourcery.com>
21314
21315 [BZ #13704]
21316 * manual/nss.texi (Services in the NSS configuration): Correct
21317 list of services in example configuration file.
21318
cd837b09
NB
213192012-02-19 Nick Bowler <nbowler@draconx.ca>
21320
21321 [BZ #11322]
21322 * manual/arith.texi: Remove statements about negative zero
21323 behaving identically to zero.
21324
02c4bbad
JM
213252012-02-18 Joseph Myers <joseph@codesourcery.com>
21326
21327 [BZ #5993]
21328 * manual/install.texi: Do not document upgrading from libc5.
21329
366842e7
JM
213302012-02-18 Joseph Myers <joseph@codesourcery.com>
21331
21332 [BZ #4596]
21333 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21334
dd54084d
DM
213352012-02-18 David S. Miller <davem@davemloft.net>
21336
21337 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21338 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21339 %o7 across the call.
21340 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21341 instead.
21342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21343 SETUP_PIC_REG_LEAF.
21344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21345 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21346 * sysdeps/sparc/crtn.S: Likewise.
21347
2bcc53a3
UD
213482012-02-17 Ulrich Drepper <drepper@gmail.com>
21349
21350 * aout/Makefile: Remove.
21351
09c093b5
RK
213522012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21353
21354 [BZ #13058]
21355 * manual/examples/argp-ex1.c (main): Format definition in GNU
21356 style.
21357 * manual/examples/argp-ex2.c (main): Likewise.
21358 * manual/examples/argp-ex3.c (main): Likewise.
21359 * manual/examples/argp-ex4.c (main): Likewise.
21360 * manual/examples/longopt.c (main): Use new-style prototype
21361 definition.
21362 * manual/examples/strncat.c (main): Specify return type and use
21363 (void) for arguments.
21364 * manual/examples/subopt.c (main): Use char **argv argument.
21365
2ee633a2
JM
213662012-02-17 Joseph Myers <joseph@codesourcery.com>
21367
21368 [BZ #5077]
21369 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21370 rounding modes.
21371
0520adde
FB
213722012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21373
21374 [BZ #6907]
21375 * manual/string.texi (strchr): Change when strchrnul is
21376 recommended.
21377
3f4081cd
DGM
213782012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21379
21380 [BZ #174]
21381 * manual/locale.texi (setlocale): Document LOCPATH.
21382
d1b10e78
JM
213832012-02-17 Joseph Myers <joseph@codesourcery.com>
21384
21385 [BZ #10210]
21386 * manual/process.texi (execle): Move @dots{} before last argument.
21387
79c6869c
PB
213882012-02-17 Paul Bolle <pebolle@tiscali.nl>
21389
21390 [BZ #12047]
21391 * manual/charset.texi (Generic Charset Conversion): Fix typo
21392 (LC_TYPE -> LC_CTYPE).
21393
cc6e48bc
NB
213942012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21395
21396 [BZ #5805]
21397 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21398 (scalbnf): Likewise.
21399 (scalbnl): Likewise.
21400 (scalbln): Likewise.
21401 (scalblnf): Likewise.
21402 (scalblnl): Likewise.
21403 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21404 (vwarnx): Likewise.
21405 (verr): Likewise.
21406 (verrx): Likewise.
21407 * manual/filesys.texi (telldir): Use braces around return type.
21408 * manual/llio.texi (mmap): Add space after comma.
21409 (mmap64): Likewise.
21410 * manual/math.texi (jn): Use @var{} on parameter names.
21411 (jnf): Likewise.
21412 (jnl): Likewise.
21413 (yn): Likewise.
21414 (ynf): Likewise.
21415 (ynl): Likewise.
21416 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21417 line.
21418 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21419 "...".
21420 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21421 (sched_get_priority_max): Likewise.
21422 * manual/signal.texi (sigvec): Add space after comma.
21423 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21424 names.
21425 (if_indextoname): Likewise.
21426 (if_freenameindex): Likewise.
21427 (sendto): Use ',' instead of '.' in prototype.
21428 * manual/startup.texi (syscall): Use @dots{} instead of literal
21429 "...".
21430 * manual/stdio.texi (__fpending): Separate initial words of
21431 paragraph from @deftypefun line.
21432 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21433 "...".
21434 (vsyslog): Use @var{} on parameter names.
21435 * manual/terminal.texi (stty): Use @var{} on parameter names.
21436 * manual/users.texi (getutmp): Use @var{} on parameter names.
21437 (getutmpx): Likewise.
21438
5b23062f
JM
214392012-02-17 Joseph Myers <joseph@codesourcery.com>
21440
21441 [BZ #6884]
21442 * manual/stdio.texi (fopen): Fix typos in description of
21443 ",ccs=STRING".
21444
8dee4833
AJ
214452012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21446
21447 [BZ #4026]
21448 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21449 get clock_id definition.
21450
9078ce93
TS
214512012-02-17 Thomas Schwinge <thomas@schwinge.name>
21452
21453 [BZ #4822]
21454 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21455 (madvise): Cast every argument to void on its own.
21456
3835c55f
JM
214572012-02-17 Joseph Myers <joseph@codesourcery.com>
21458
21459 [BZ #9902]
21460 * manual/startup.texi (Exit Status): Fix typo.
21461
35c47e37
JM
214622012-02-17 Joseph Myers <joseph@codesourcery.com>
21463
21464 [BZ #10140]
21465 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21466 * manual/examples/argp-ex2.c: Likewise.
21467 * manual/examples/argp-ex3.c: Likewise.
21468
e3b69ca7
RH
214692012-02-16 Richard Henderson <rth@redhat.com>
21470
21471 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21472 * sysdeps/s390/s390-32/initfini.c: Remove.
21473 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21474 * sysdeps/s390/s390-64/initfini.c: Remove.
21475
df83af67
KK
214762012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21477
21478 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21479 compiler output for sysdeps/generic/initfini.c.
21480 * sysdeps/sh/elf/initfini.c: Remove file.
21481
f63f3380
DM
214822012-02-16 David S. Miller <davem@davemloft.net>
21483
fb59b3a4
DM
21484 [BZ #11494]
21485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21486
f63f3380
DM
21487 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21488 * sysdeps/sparc/crti.S: New file.
21489 * sysdeps/sparc/crtn.S: New file.
21490 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21491 * sysdeps/sparc/sparc64/Makefile: Likewise.
21492
df6a4a4a
MF
214932012-02-15 Mike Frysinger <vapier@gentoo.org>
21494
6dd8f3dc 21495 [BZ #3335]
df6a4a4a
MF
21496 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21497
1cac7236
RM
214982012-02-15 Roland McGrath <roland@hack.frob.com>
21499
d2c736f8
RM
21500 [BZ #4822]
21501 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21502
1cac7236
RM
21503 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21504 (write, read, close): Likewise.
21505 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21506
8e475601
JM
215072012-02-15 Joseph Myers <joseph@codesourcery.com>
21508
21509 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21510 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21511 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21512 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21513 <bits/signalfd.h>.
21514 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21516 bits/signalfd.h.
21517
ed656b40
MP
215182012-02-14 Marek Polacek <polacek@redhat.com>
21519
21520 * sysdeps/x86_64/crti.S: New file.
21521 * sysdeps/x86_64/crtn.S: New file.
21522 * sysdeps/x86_64/elf/initfini.c: Remove file.
21523
2a979d3a
JM
215242012-02-13 Joseph Myers <joseph@codesourcery.com>
21525
21526 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21527 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21528 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21529 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21530 <bits/inotify.h>.
21531 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21533 bits/inotify.h.
21534
2a418ac3
JM
215352012-02-13 Joseph Myers <joseph@codesourcery.com>
21536
21537 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21538 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21539 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21540 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21541 <bits/eventfd.h>.
21542 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21544 bits/eventfd.h.
21545
fb779be7
TS
215462012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21547
e19e83c5
RM
21548 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21549 __feraiseexcept instead of feraiseexcept.
7c35ffed 21550
fb779be7
TS
21551 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21552 nanosleep invocations.
21553 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21554 strings, and add error checking for a nanosleep invocations.
21555
59ba27a6
PE
215562012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21557
21558 Replace FSF snail mail address with URLs, as per GNU coding standards.
21559 Most of the snail mail addresses were wrong anyway, and omitting
21560 them makes the source code easier to maintain. Almost all of the
21561 changes are to license notices and to locale LC_IDENTIFICATION
21562 addresses, except for this one:
21563 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21564 not its snail mail address.
21565
57b957eb
RH
215662012-02-09 Richard Henderson <rth@twiddle.net>
21567
af850b1c
RH
21568 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21569 of kernel-features.h.
21570
57b957eb
RH
21571 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21572
6b73181a
MP
215732012-02-08 Marek Polacek <polacek@redhat.com>
21574
21575 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21576 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21577 * sysdeps/gnu/_G_config.h: Likewise.
21578 * sysdeps/generic/_G_config.h: Likewise.
21579
26ecc33a
AS
215802012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21581
6c6dbc63
AS
21582 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21583 tests.
21584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21585
e216c012
AS
21586 * sysdeps/powerpc/powerpc32/crti.S: New file.
21587 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21588 * sysdeps/powerpc/powerpc64/crti.S: New file.
21589 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21590
26ecc33a
AS
21591 * Makeconfig (have-initfini): Don't set.
21592 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21593 * configure.in (nopic_initfini): Don't substitute.
21594 * config.h.in (HAVE_INITFINI): Don't #undef.
21595 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21596 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21597
3add8e13
JM
215982012-02-08 Joseph Myers <joseph@codesourcery.com>
21599
21600 Support crti.S and crtn.S provided directly by architectures.
21601 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21602 [crti.S in sysdirs] (omit-deps): Likewise.
21603 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21604 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21605 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21606 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21607 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21608 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21609 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21610 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21611 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21612 compiler output for sysdeps/generic/initfini.c.
21613 * sysdeps/i386/elf/Makefile: Remove file.
21614 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21615
a22f12b4
MP
216162012-02-07 Marek Polacek <polacek@redhat.com>
21617
21618 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21619 * sysdeps/gnu/_G_config.h: Likewise.
21620 * sysdeps/mach/hurd/_G_config.h: Likewise.
21621
148cf100
MP
216222012-02-07 Marek Polacek <polacek@redhat.com>
21623
21624 * math/Makefile (tests): Add tst-CMPLX2.
21625 * math/tst-CMPLX2.c: New file.
21626
cfdc0dd7
AS
216272012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21628
84ba42c4
AS
21629 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21630
cfdc0dd7
AS
21631 * math/libm-test.inc (jn_test): Add missing L suffix.
21632
622c86f4
MP
216332012-02-06 Marek Polacek <polacek@redhat.com>
21634
21635 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21636 * sysdeps/i386/fpu/e_powf.S: Likewise.
21637 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21638 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21639 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21640 * sysdeps/i386/fpu/e_pow.S: Likewise.
21641 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21642 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21643 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21644 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21645 * sysdeps/i386/fpu/e_log2.S: Likewise.
21646 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21647 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21648 * sysdeps/i386/fpu/e_powl.S: Likewise.
21649 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21650 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21651 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21652 * sysdeps/i386/fpu/e_logl.S: Likewise.
21653 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21654 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21655 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21656 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21657 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21658 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21659 * sysdeps/i386/fpu/e_log.S: Likewise.
21660 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21661 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21662 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21663 * sysdeps/i386/fpu/e_logf.S: Likewise.
21664 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21665 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21666 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21667 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21668 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21669 * sysdeps/i386/fpu/e_log10.S: Likewise.
21670 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21671 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21672 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21673 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21674 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21675 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21676 * sysdeps/i386/asm-syntax.h: Likewise.
21677 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21678 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21679 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21680 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21681 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21682 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21683 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21684 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21685 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21686 * sysdeps/powerpc/sysdep.h: Likewise.
21687 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21688 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21689
d4a54ac6
JM
216902012-02-06 Joseph Myers <joseph@codesourcery.com>
21691
21692 [BZ #411]
21693 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21694
314054ea
JM
216952012-02-06 Joseph Myers <joseph@codesourcery.com>
21696
21697 * sysdeps/i386/sysdep.h: Include <features.h>.
21698 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21699 version.
21700
d8e0ca50
JM
217012012-02-05 Joseph Myers <joseph@codesourcery.com>
21702
21703 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21704 Define.
21705 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21706 LOAD_PIC_REG_STR.
21707
b1da7dd9
JM
217082012-02-03 Joseph Myers <joseph@codesourcery.com>
21709
21710 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21711 (SETUP_PIC_REG): Use GET_PC_THUNK.
21712 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21713 macro.
21714
9a1d9254
JM
217152012-02-03 Joseph Myers <joseph@codesourcery.com>
21716
21717 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21718 for non-PIC compilation.
21719 (SETUP_PIC_REG): Add .p2align directive.
21720 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21721 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21722 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21723 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21724 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21725 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21726 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21727 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21728 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21729 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21730 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21731 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21732 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21733 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21734 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21735 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21736 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21737 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21738 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21739 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21740 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21741 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21742 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21743 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21746 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21747 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21748 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21749 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21750 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21751 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21752 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21753 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21754 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21755 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21756 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21757 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21758 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21759 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21760 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21761
65dc3b75
JM
217622012-02-03 Joseph Myers <joseph@codesourcery.com>
21763
21764 * math/tst-CMPLX.c: Include <stdio.h>.
21765
d55bf177
JM
217662012-01-31 Joseph Myers <joseph@codesourcery.com>
21767
21768 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21769 float.
21770 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21771 * sysdeps/sparc/bits/mathdef.h: Likewise.
21772
69db4f8f
MP
217732012-01-31 Marek Polacek <polacek@redhat.com>
21774
21775 * libio/libio.h: Don't define _PARAMS.
21776 * locale/programs/config.h: Don't define PARAMS.
21777 * stdlib/strtol_l.c: Likewise.
21778 (__strtol_l): Remove PARAMS from the prototype.
21779
41b81892
UD
217802012-01-31 Ulrich Drepper <drepper@gmail.com>
21781
3b49edc0
UD
21782 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21783 names. Just use the correct names. Remove unnecessary wrapper
21784 functions.
21785 * malloc/arena.c: Likewise.
21786 * malloc/hooks.c: Likewise.
21787
41b81892
UD
21788 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21789 ARENA_TEST says not to. Simplify test for creation of a new arena.
21790 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21791
27a25b6e
UD
217922012-01-30 Ulrich Drepper <drepper@gmail.com>
21793
21794 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21795 into tail calls.
21796 (update_get_addr): New function.
21797 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21798 GET_ADDR_MODULE parameter.
21799
c8a89e7d
JM
218002012-01-30 Joseph Myers <joseph@codesourcery.com>
21801
21802 * crypt/cert.c: Remove __STDC__ conditionals.
21803 * crypt/crypt-entry.c: Likewise.
21804 * crypt/crypt_util.c: Likewise.
21805 * libio/filedoalloc.c: Likewise.
21806 * libio/fileops.c: Likewise.
21807 * libio/genops.c: Likewise.
21808 * libio/iofclose.c: Likewise.
21809 * libio/iofdopen.c: Likewise.
21810 * libio/iofopen.c: Likewise.
21811 * libio/iofopen64.c: Likewise.
21812 * libio/iogetdelim.c: Likewise.
21813 * libio/iopopen.c: Likewise.
21814 * libio/obprintf.c: Likewise.
21815 * libio/oldfileops.c: Likewise.
21816 * libio/oldiofclose.c: Likewise.
21817 * libio/oldiofdopen.c: Likewise.
21818 * libio/oldiofopen.c: Likewise.
21819 * libio/oldiopopen.c: Likewise.
21820 * libio/wfiledoalloc.c: Likewise.
21821 * libio/wgenops.c: Likewise.
21822 * locale/programs/xmalloc.c: Likewise.
21823 * misc/syslog.c: Likewise.
21824 * stdio-common/xbug.c: Likewise.
21825 * string/memchr.c: Likewise.
21826 * string/memcmp.c: Likewise.
21827 * string/memrchr.c: Likewise.
21828 * string/rawmemchr.c: Likewise.
21829 * sysdeps/posix/getcwd.c: Likewise.
21830 * time/strftime_l.c: Likewise.
21831
3b100462
JM
218322012-01-30 Joseph Myers <joseph@codesourcery.com>
21833
21834 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21835 * config.make.in (config-cflags-sse2avx): Define.
21836 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21837 Fix typo.
21838
607998af
CM
218392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21840
21841 * scripts/config.guess: Update from upstream config git repository.
21842 * scripts/config.sub: Likewise.
21843
3601428f
CM
218442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21845
3ac8b282
CM
21846 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21847 (EM_NUM): Update.
21848 (R_TILEPRO_*, R_TILEGX_*): New macros.
21849
e034841e
CM
21850 * scripts/firstversions.awk: Fix bug in version range handling.
21851
540d7568
CM
21852 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21853
3601428f
CM
21854 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21855
463de862
CM
21856 * include/sys/epoll.h: New file.
21857 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21858 libc_hidden_def.
21859
73139a76
UD
218602012-01-28 Ulrich Drepper <drepper@gmail.com>
21861
96bc5b45
UD
21862 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21863 Avoid unnecessary __WORDSIZE == 64 test.
21864 (fmaxf): Use VEX format if possible.
21865 (fmax): Likewise.
21866 (fminf): Likewise.
21867 (fmin): Likewise.
21868
56f6f6a2
UD
21869 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21870 * math/math_private.h: Remove libc_fegetround* and
21871 libc_fesetround*.
21872 * sysdeps/i386/configure.in: Check for -msse2avx.
21873 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21874 also if SSE2AVX is defined.
21875 Remove libc_fegetround* and libc_fesetround*.
21876 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21877 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21879 of HAS_YMM_USABLE.
21880 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21881 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21883 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21884 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21885
73139a76
UD
21886 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21887
d73f93a4
AZ
218882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21889
21890 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21891 size is not set.
21892 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21893
6ee65ed6
UD
218942012-01-27 Ulrich Drepper <drepper@gmail.com>
21895
21896 [BZ #13618]
21897 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21898 relocation.
21899 * Makeconfig (libm): Define.
21900 * elf/Makefile: Add rules to build and run tst-relsort1.
21901 * elf/tst-relsort1.c: New file.
21902 * elf/tst-relsort1mod1.c: New file.
21903 * elf/tst-relsort1mod2.c: New file.
21904
8db21882
JM
219052012-01-27 Joseph Myers <joseph@codesourcery.com>
21906
21907 * math/s_ldexp.c: Remove __STDC__ conditionals.
21908 * math/s_ldexpf.c: Likewise.
21909 * math/s_ldexpl.c: Likewise.
21910 * math/s_nextafter.c: Likewise.
21911 * math/s_nexttowardf.c: Likewise.
21912 * math/s_significand.c: Likewise.
21913 * math/s_significandf.c: Likewise.
21914 * math/s_significandl.c: Likewise.
21915 * math/w_jnl.c: Likewise.
21916 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21917 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21918 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21919 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21920 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21929 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21931 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21932 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21933 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21935 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21936 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21937 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21938 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21939 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21940 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21941 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21942 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21946 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21947 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21948 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21949 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21950 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21951 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21952 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21953 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21954 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21955 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21956 * sysdeps/ieee754/k_standard.c: Likewise.
21957 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21958 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21959 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21964 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21965 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21966 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21967 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21968 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21969 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21970 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21971 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21972 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21973 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21974 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21978 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21979 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21982 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21988 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21989 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21990 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21994 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21996 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21997 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21998 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21999 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22001 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22002 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22004 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22005 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22006 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22007 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22008 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22009 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22010 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22011 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22012 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22013 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22014 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22015 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22016 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22017 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22018 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22019 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22020 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22021 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22022 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22023 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22024 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22025 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22026 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22027 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22028 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22029 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22030 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22031 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22032 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22033 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22034 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22035 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22036 * sysdeps/ieee754/s_matherr.c: Likewise.
22037 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22038 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22039 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22040 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22041
965a54a4
JM
220422012-01-26 Joseph Myers <joseph@codesourcery.com>
22043
22044 * crypt/md5.h: Remove __STDC__ conditionals.
22045 * libio/libioP.h: Likewise.
22046 * locale/programs/config.h: Likewise.
22047 * sysdeps/generic/sysdep.h: Likewise.
22048 * sysdeps/i386/asm-syntax.h: Likewise.
22049 * sysdeps/s390/asm-syntax.h: Likewise.
22050 * sysdeps/unix/sysdep.h: Likewise.
22051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22053
7071ad79
JM
220542012-01-26 Joseph Myers <joseph@codesourcery.com>
22055
22056 * libio/libio.h: Remove __STDC__ conditionals.
22057 * malloc/obstack.h: Likewise.
22058 * math/complex.h: Likewise.
22059 * math/math.h: Likewise.
22060 * sysdeps/generic/_G_config.h: Likewise.
22061 * sysdeps/gnu/_G_config.h: Likewise.
22062 * sysdeps/mach/hurd/_G_config.h: Likewise.
22063 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22064 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22065 * sysdeps/sparc/bits/mathdef.h: Likewise.
22066
afc5ed09
UD
220672012-01-26 Ulrich Drepper <drepper@gmail.com>
22068
22069 [BZ #13583]
22070 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 22071 Clean up HAS_* macros.
afc5ed09 22072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
22073 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22074 possible.
22075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22076 HAS_AVX.
22077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 22082
bdb6de1d
JM
220832012-01-25 Joseph Myers <joseph@codesourcery.com>
22084
22085 * elf/tst-unique3.cc (gets): Remove declaration.
22086 * elf/tst-unique3lib.cc (gets): Likewise.
22087 * elf/tst-unique3lib2.cc (gets): Likewise.
22088 * elf/tst-unique4.cc (gets): Likewise.
22089
b15549e6
UD
220902012-01-24 Ulrich Drepper <drepper@gmail.com>
22091
22092 * include/stdio.h: Add C++ protection. Add gets declarations and
22093 definitions.
22094 * debug/tst-chk1.c: Don't declare gets here.
22095 * stdio-common/tst-gets.c: Likewise.
22096
a037381f
JM
220972012-01-24 Joseph Myers <joseph@codesourcery.com>
22098
22099 * posix/glob: Remove directory.
22100
f1d4aa75
JM
221012012-01-24 Joseph Myers <joseph@codesourcery.com>
22102
22103 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22104
81c0c964
PT
221052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
22106
22107 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22108 of the non-standard EPFNOSUPPORT.
22109
0ea698ae
ST
221102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
22111
22112 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22113 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22114 ANYWHERE set to 1 only on KERN_NO_SPACE error.
22115
d220b117
UD
221162012-01-21 Ulrich Drepper <drepper@gmail.com>
22117
22118 * wcsmbs/uchar.h: Test __STDC_VERSION__.
22119
3e1aa84e
UD
221202012-01-20 Ulrich Drepper <drepper@gmail.com>
22121
22122 * nscd/aicache.c (addhstaiX): Do not cache negative results of
22123 transient errors.
22124 * nscd/grpcache.c (cache_addgr): Likewise.
22125 * nscd/hstcache.c (cache_addhst): Likewise.
22126 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22127 * nscd/pwdcache.c (cache_addpw): Likewise.
22128 * nscd/servicescache.c (cache_addserv): Likewise.
22129
400aa020
UD
221302012-01-16 Ulrich Drepper <drepper@gmail.com>
22131
d77e7869
UD
22132 * malloc/malloc.c: Various cleanups.
22133 * malloc/hooks.c: Likewise.
22134
400aa020
UD
22135 * stdlib/Makefile (tests): Add bug-fmtmsg1.
22136 * stdlib/bug-fmtmsg1.c: New file.
22137
22138 * stdlib/fmtmsg.c (init): Add missing unlock.
22139 Patch by Peng Haitao <penght@cn.fujitsu.com>.
22140
e0a309cf
MP
221412012-01-12 Marek Polacek <polacek@redhat.com>
22142
22143 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22144 and _GNU_SOURCE.
22145
929d11c7
WS
221462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22147
22148 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22149 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22150 macro to ensure uniqueness of label name.
22151 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22152 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22153
41d0e869
UD
221542012-01-11 Ulrich Drepper <drepper@gmail.com>
22155
0cc5ed3b
UD
22156 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22157
41d0e869
UD
22158 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22159 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22160 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22162
a47a831a
UD
221632012-01-10 Ulrich Drepper <drepper@gmail.com>
22164
daa891c0
UD
22165 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22166
22167 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22168 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22169 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22170
e58ef0f2
UD
22171 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22172
a47a831a 22173 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
22174 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22175 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 22176 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
22177
22178 * math/bits/math-finite.h: Add ldexp support.
22179
a0bfc9c7
MP
221802012-01-10 Marek Polacek <polacek@redhat.com>
22181
22182 * locale/programs/localedef.h (show_archive_content): Add noreturn
22183 attribute.
22184
d6e97a1d
UD
221852012-01-09 Ulrich Drepper <drepper@gmail.com>
22186
22187 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22188
d5835c26
UD
221892012-01-08 Ulrich Drepper <drepper@gmail.com>
22190
e5f484c6
UD
22191 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22192
d5835c26
UD
22193 * io/Makefile (headers): Add bits/poll2.h.
22194
d1f741e9
WS
221952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
22196
22197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22198 typo #include statement.
22199
ec09c1c4
UD
222002012-01-08 Ulrich Drepper <drepper@gmail.com>
22201
22202 * include/sys/cdefs.h: Define __attribute_alloc_size.
22203 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22204 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22205 * elf/pldd.c: Likewise.
22206 * iconv/iconv_charmap.c: Likewise.
22207 * iconv/iconvconfig.c: Likewise.
22208 * iconv/strtab.c: Likewise.
22209 * locale/programs/locale.c: Likewise.
22210 * locale/programs/localedef.h: Likewise.
22211 * locale/programs/simple-hash.c: Likewise.
22212 * nscd/nscd.h: Likewise.
22213 * nss/makedb.c: Likewise.
22214 * sysdeps/generic/ldconfig.h: Likewise.
22215 * locale/programs/localedef.c: Remove xmalloc prototype.
22216 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22217
20b38e03
PP
222182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22219
22220 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22221 appropriate.
22222
a0da5fe1
UD
222232012-01-08 Ulrich Drepper <drepper@gmail.com>
22224
1d5a644a 22225 * math/Makefile (tests): Add tst-CMPLX.
669704fd 22226 * math/tst-CMPLX.c: New file.
1d5a644a 22227
8784a6db
UD
22228 * math/complex.h (CMPLXL): Fix typo.
22229
d9a216c0
UD
22230 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22231 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22232 GLIBC_2.16.
22233 * debug/tst-chk1.c: Add poll and ppoll tests.
22234 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22235 * include/sys/poll.h: Add hidden proto for ppoll.
22236 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22237 * sysdeps/mach/hurd/ppoll.c: Likewise.
22238 * io/ppoll.c: Likewise.
22239 * debug/poll_chk.c: New file.
22240 * debug/ppoll_chk.c: New file.
22241 * include/bits/poll2.h: New file.
22242 * io/bits/poll2.h: New file.
22243
ac097f5c
UD
22244 [BZ #1350]
22245 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22246
2119dcfa
UD
22247 * configure.in: static is always set to yes. Remove.
22248 * config.make.in: Don't set build-static.
22249 * Makeconfig: Remove use of build-static.
22250 * dlfcn/Makefile: Likewise.
22251 * elf/Makefile: Likewise.
22252 * math/Makefile: Likewise.
22253 * misc/Makefile: Likewise.
22254 * nptl/Makefile: Likewise.
22255 * sysdeps/mach/hurd/Makefile: Likewise.
22256
121766a9
UD
22257 * configure.in: PWD_P is not used anymore.
22258 * config.make.in: Remove PWD_P entry.
22259
51a1d39c 22260 * configure.in: Remove last remnants of RANLIB.
8720d066 22261 No need to check for signed size_t anymore.
215f4bdc
UD
22262 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22263 and IA-64.
3857022a 22264 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
22265 * aclocal.m4: Likewise.
22266
d3ed7225
UD
22267 * wcsmbs/mbrtoc16.c: Implement using towc function.
22268 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22269 * wcsmbs/wcsmbsload.c: Likewise.
22270 * iconv/gconv_simple.c: Likewise.
22271 * iconv/gconv_int.h: Likewise.
22272 * iconv/gconv_builtin.h: Likewise.
22273 * iconv/iconv_prog.c: Remove CHAR16 handling.
22274
22275 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22276
22277 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22278
a0da5fe1
UD
22279 * configure.in: Remove --with-elf and --enable-bounded options.
22280 Dont set base_machine for ia64. More non-ELF conditions removed.
22281 Remove testing and setting of leading underscore information.
22282 * config.make.in (build-bounded): Set to no.
22283 * config.h.in: Remove NO_UNDERSCORES entry.
22284 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22285 them.
22286 * csu/start.c: Remove !NO_UNDERSCORE code.
22287 * locale/localeinfo.h: Likewise.
22288 * sysdeps/generic/machine-gmon.h: Likewise.
22289 * sysdeps/generic/sysdep.h: Likewise.
22290 * sysdeps/i386/sysdep.h: Likewise.
22291 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22292 * sysdeps/mach/sysdep.h: Likewise.
22293 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22294 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22295 * sysdeps/sh/sysdep.h: Likewise.
22296 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22297 * sysdeps/unix/i386/sysdep.S: Likewise.
22298 * sysdeps/unix/sparc/start.c: Likewise.
22299 * sysdeps/unix/sparc/sysdep.S: Likewise.
22300 * sysdeps/unix/sparc/sysdep.h: Likewise.
22301 * sysdeps/unix/start.c: Likewise.
22302 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22303 * sysdeps/x86_64/sysdep.h: Likewise.
22304
df78418a
UD
223052012-01-07 Ulrich Drepper <drepper@gmail.com>
22306
a784e502
UD
22307 [BZ #13553]
22308 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22309 for non-gcc.
22310 * argp/argp-fmtstream.h: Use const instead __const.
22311 * argp/argp.h: Likewise.
22312 * assert/assert.h: Likewise.
22313 * bits/fenv.h: Likewise.
22314 * bits/sched.h: Likewise.
22315 * bits/sigset.h: Likewise.
22316 * bits/sigthread.h: Likewise.
22317 * catgets/nl_types.h: Likewise.
22318 * conform/data/pthread.h-data: Likewise.
22319 * crypt/crypt-private.h: Likewise.
22320 * crypt/crypt.h: Likewise.
22321 * crypt/crypt_util.c: Likewise.
22322 * ctype/ctype.h: Likewise.
22323 * debug/execinfo.h: Likewise.
22324 * debug/mbsnrtowcs_chk.c: Likewise.
22325 * debug/mbsrtowcs_chk.c: Likewise.
22326 * debug/wcsnrtombs_chk.c: Likewise.
22327 * debug/wcsrtombs_chk.c: Likewise.
22328 * debug/wcstombs_chk.c: Likewise.
22329 * dirent/dirent.h: Likewise.
22330 * dlfcn/dlfcn.h: Likewise.
22331 * elf/neededtest4.c: Likewise.
22332 * grp/grp.h: Likewise.
22333 * gshadow/gshadow.h: Likewise.
22334 * iconv/gconv.h: Likewise.
22335 * iconv/gconv_int.h: Likewise.
22336 * iconv/gconv_simple.c: Likewise.
22337 * iconv/iconv.h: Likewise.
22338 * iconv/loop.c: Likewise.
22339 * iconv/skeleton.c: Likewise.
22340 * include/aio.h: Likewise.
22341 * include/aliases.h: Likewise.
22342 * include/argz.h: Likewise.
22343 * include/arpa/inet.h: Likewise.
22344 * include/assert.h: Likewise.
22345 * include/dirent.h: Likewise.
22346 * include/dlfcn.h: Likewise.
22347 * include/execinfo.h: Likewise.
22348 * include/fcntl.h: Likewise.
22349 * include/fenv.h: Likewise.
22350 * include/glob.h: Likewise.
22351 * include/grp.h: Likewise.
22352 * include/libintl.h: Likewise.
22353 * include/mntent.h: Likewise.
22354 * include/netdb.h: Likewise.
22355 * include/pwd.h: Likewise.
22356 * include/rpc/netdb.h: Likewise.
22357 * include/sched.h: Likewise.
22358 * include/search.h: Likewise.
22359 * include/shadow.h: Likewise.
22360 * include/signal.h: Likewise.
22361 * include/stdio.h: Likewise.
22362 * include/stdlib.h: Likewise.
22363 * include/string.h: Likewise.
22364 * include/sys/socket.h: Likewise.
22365 * include/sys/stat.h: Likewise.
22366 * include/sys/statfs.h: Likewise.
22367 * include/sys/statvfs.h: Likewise.
22368 * include/sys/syslog.h: Likewise.
22369 * include/sys/time.h: Likewise.
22370 * include/sys/uio.h: Likewise.
22371 * include/time.h: Likewise.
22372 * include/unistd.h: Likewise.
22373 * include/utmp.h: Likewise.
22374 * include/wchar.h: Likewise.
22375 * include/wctype.h: Likewise.
22376 * inet/aliases.h: Likewise.
22377 * inet/arpa/inet.h: Likewise.
22378 * inet/netinet/ether.h: Likewise.
22379 * inet/netinet/in.h: Likewise.
22380 * intl/libintl.h: Likewise.
22381 * io/bits/fcntl2.h: Likewise.
22382 * io/fcntl.h: Likewise.
22383 * io/ftw.h: Likewise.
22384 * io/sys/poll.h: Likewise.
22385 * io/sys/stat.h: Likewise.
22386 * io/sys/statfs.h: Likewise.
22387 * io/sys/statvfs.h: Likewise.
22388 * io/utime.h: Likewise.
22389 * libio/bits/stdio.h: Likewise.
22390 * libio/bits/stdio2.h: Likewise.
22391 * libio/libio.h: Likewise.
22392 * libio/libioP.h: Likewise.
22393 * libio/stdio.h: Likewise.
22394 * locale/lc-ctype.c: Likewise.
22395 * locale/locale.h: Likewise.
22396 * login/utmp.h: Likewise.
22397 * malloc/arena.c: Likewise.
22398 * malloc/malloc.c: Likewise.
22399 * malloc/malloc.h: Likewise.
22400 * malloc/mcheck.c: Likewise.
22401 * malloc/mtrace.c: Likewise.
22402 * math/bits/mathcalls.h: Likewise.
22403 * math/fenv.h: Likewise.
22404 * math/math_private.h: Likewise.
22405 * misc/bits/error.h: Likewise.
22406 * misc/bits/syslog.h: Likewise.
22407 * misc/err.h: Likewise.
22408 * misc/error.h: Likewise.
22409 * misc/fstab.h: Likewise.
22410 * misc/mntent.h: Likewise.
22411 * misc/regexp.h: Likewise.
22412 * misc/search.h: Likewise.
22413 * misc/sgtty.h: Likewise.
22414 * misc/sys/mman.h: Likewise.
22415 * misc/sys/syslog.h: Likewise.
22416 * misc/sys/uio.h: Likewise.
22417 * misc/sys/xattr.h: Likewise.
22418 * misc/ttyent.h: Likewise.
22419 * nis/rpcsvc/ypclnt.h: Likewise.
22420 * nss/nss.h: Likewise.
22421 * posix/bits/unistd.h: Likewise.
22422 * posix/fnmatch.h: Likewise.
22423 * posix/glob.h: Likewise.
22424 * posix/sched.h: Likewise.
22425 * posix/spawn.h: Likewise.
22426 * posix/sys/wait.h: Likewise.
22427 * posix/unistd.h: Likewise.
22428 * posix/wordexp.h: Likewise.
22429 * pwd/pwd.h: Likewise.
22430 * resolv/netdb.h: Likewise.
22431 * resource/sys/resource.h: Likewise.
22432 * rt/aio.h: Likewise.
22433 * rt/bits/mqueue2.h: Likewise.
22434 * rt/mqueue.h: Likewise.
22435 * shadow/shadow.h: Likewise.
22436 * signal/signal.h: Likewise.
22437 * socket/send.c: Likewise.
22438 * socket/sendto.c: Likewise.
22439 * socket/sys/socket.h: Likewise.
22440 * stdio-common/printf.h: Likewise.
22441 * stdlib/bits/stdlib.h: Likewise.
22442 * stdlib/fmtmsg.h: Likewise.
22443 * stdlib/monetary.h: Likewise.
22444 * stdlib/stdlib.h: Likewise.
22445 * stdlib/ucontext.h: Likewise.
22446 * streams/stropts.h: Likewise.
22447 * string/argz.h: Likewise.
22448 * string/bits/string2.h: Likewise.
22449 * string/string.h: Likewise.
22450 * string/strings.h: Likewise.
22451 * sunrpc/rpc/auth.h: Likewise.
22452 * sunrpc/rpc/auth_des.h: Likewise.
22453 * sunrpc/rpc/clnt.h: Likewise.
22454 * sunrpc/rpc/netdb.h: Likewise.
22455 * sunrpc/rpc/pmap_clnt.h: Likewise.
22456 * sunrpc/rpc/xdr.h: Likewise.
22457 * sysdeps/generic/inttypes.h: Likewise.
22458 * sysdeps/generic/net/if.h: Likewise.
22459 * sysdeps/generic/sys/swap.h: Likewise.
22460 * sysdeps/gnu/net/if.h: Likewise.
22461 * sysdeps/gnu/utmpx.h: Likewise.
22462 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22463 * sysdeps/i386/i486/bits/string.h: Likewise.
22464 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22465 * sysdeps/s390/bits/string.h: Likewise.
22466 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22467 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22468 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22469 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22470 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22471 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22472 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22473 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22474 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22475 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22476 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22477 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22478 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22479 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22480 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22481 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22482 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22484 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22485 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22486 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22487 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22488 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22489 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22490 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22491 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22492 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22494 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22495 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22496 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22497 * sysvipc/sys/ipc.h: Likewise.
22498 * sysvipc/sys/msg.h: Likewise.
22499 * sysvipc/sys/sem.h: Likewise.
22500 * sysvipc/sys/shm.h: Likewise.
22501 * termios/termios.h: Likewise.
22502 * time/sys/time.h: Likewise.
22503 * time/time.h: Likewise.
22504 * wcsmbs/bits/wchar2.h: Likewise.
22505 * wcsmbs/uchar.h: Likewise.
22506 * wcsmbs/wchar.h: Likewise.
22507 * wctype/wctype.h: Likewise.
22508
0269750c
UD
22509 [BZ #13551]
22510 * Makeconfig: Remove all but ELF support including AIX support.
22511 * Makerules: Likewise.
22512 * config.h.in: Likewise.
22513 * config.make.in: Likewise.
22514 * configure: Likewise.
22515 * configure.in: Likewise.
22516 * csu/Makefile: Likewise.
22517 * csu/version.c: Likewise.
22518 * debug/Makefile: Likewise.
22519 * dlfcn/Makefile: Likewise.
22520 * elf/Makefile: Likewise.
22521 * extra-lib.mk: Likewise.
22522 * iconv/Makefile: Likewise.
22523 * include/libc-symbols.h: Likewise.
22524 * include/shlib-compat.h: Likewise.
22525 * resolv/Makefile: Likewise.
22526 * resolv/res_libc.c: Likewise.
22527 * rt/Makefile: Likewise.
22528 * sysdeps/i386/asm-syntax.h: Likewise.
22529 * sysdeps/i386/sysdep.h: Likewise.
22530 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22531 * sysdeps/mach/sysdep.h: Likewise.
22532 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22533 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22534 * sysdeps/s390/asm-syntax.h: Likewise.
22535 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22536 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22537 * sysdeps/sh/sysdep.h: Likewise.
22538 * sysdeps/unix/sparc/sysdep.h: Likewise.
22539 * sysdeps/wordsize-32/divdi3.c: Likewise.
22540 * sysdeps/x86_64/sysdep.h: Likewise.
22541
00bbd29b
UD
22542 * argp/Versions: Remove _argp_unlock_xxx.
22543
22544 [BZ #13559]
22545 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22546 * abilist/libBrokenLocale.abilist: Likewise.
22547 * abilist/libanl.abilist: Likewise.
22548 * abilist/libc.abilist: Likewise.
22549 * abilist/libcrypt.abilist: Likewise.
22550 * abilist/libdl.abilist: Likewise.
22551 * abilist/libm.abilist: Likewise.
22552 * abilist/libnsl.abilist: Likewise.
22553 * abilist/libpthread.abilist: Likewise.
22554 * abilist/libresolv.abilist: Likewise.
22555 * abilist/librt.abilist: Likewise.
22556 * abilist/libthread_db.abilist: Likewise.
22557 * abilist/libutil.abilist: Likewise.
22558 * abilist/libnss_db.abilist: New file.
22559
22560 * scripts/abilist.awk: Add support for indirect functions.
22561
a2693a0e
UD
22562 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22563
3f05895f
UD
22564 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22565
ecb6fb48
UD
22566 * shlib-versions: Remove entries for ports architectures.
22567
664f8cb9
UD
22568 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22569 files in ports.
22570 * elf/stackguard-macros.h: Remove support for IA-64.
22571 * elf/tst-auditmod1.c: Likewise.
22572 * sysdeps/generic/ldsodefs.h: Likewise.
22573
7ae81d88
UD
22574 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22575 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22576 configure files.
22577
bdeba135
UD
22578 [BZ #13552]
22579 * configure.in: Remove --enable-omitfp support.
22580 * FAQ.in: Adjust.
22581 * config.make.in: Likewise.
22582 * Makeconfig: Likewise.
22583 * manual/install.texi: Likewise.
22584
d75a0a62
UD
22585 In case anyone cares, the IA-64 architecture could move to ports.
22586 * sysdeps/ia64/*: Removed.
22587 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 22588 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 22589
dcc9756b
UD
22590 [BZ #13555]
22591 * configure.in: Remove entries for unsupported architectures.
22592
d3761ebc 22593 [BZ #13533]
9954432e
UD
22594 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22595 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22596 routines.
22597 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22598 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22599 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22600 fall back to using wcrtomb.
22601 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22602 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22603 renaming.
22604 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22605 * wcsmbs/tst-c16c32-1.c: New file.
22606
22607 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22608 local variable.
22609
c3a87236
UD
22610 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22611
28926a1b
UD
22612 * elf/tst-unique3.cc: Add explicit declaration of gets.
22613 * elf/tst-unique3lib.cc: Likewise.
22614 * elf/tst-unique3lib2.cc: Likewise.
22615 * elf/tst-unique4.cc: Likewise.
22616
df78418a
UD
22617 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22618
8ecd6b2a
JM
226192012-01-06 Joseph Myers <joseph@codesourcery.com>
22620
22621 [BZ #13566]
22622 * assert/assert.h (static_assert): Don't define for C++.
22623 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22624 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22625
9f115170
UD
226262012-01-03 Ulrich Drepper <drepper@gmail.com>
22627
5e0d0300
UD
22628 * iconv/loop.c (single loop): Fix assertion in storing of
22629 remaining bytes.
22630
9f115170
UD
22631 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22632
81fb02b0
UD
226332012-01-01 Ulrich Drepper <drepper@gmail.com>
22634
22635 * posix/getconf.c: Update copyright year.
22636 * nss/getent.c: Likewise.
a316c1f6 22637 * nss/makedb.c: Likewise.
81fb02b0
UD
22638 * iconv/iconvconfig.c: Likewise.
22639 * iconv/iconv_prog.c: Likewise.
22640 * elf/ldconfig.c: Likewise.
a316c1f6
UD
22641 * elf/pldd.c: Likewise.
22642 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
22643 * catgets/gencat.c: Likewise.
22644 * csu/version.c: Likewise.
22645 * elf/ldd.bash.in: Likewise.
22646 * elf/sprof.c (print_version): Likewise.
22647 * locale/programs/locale.c: Likewise.
22648 * locale/programs/localedef.c: Likewise.
a316c1f6 22649 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
22650 * nscd/nscd.c (print_version): Likewise.
22651 * debug/xtrace.sh: Likewise.
22652 * malloc/memusage.sh: Likewise.
22653 * malloc/mtrace.pl: Likewise.
22654 * debug/catchsegv.sh: Likewise.
22655
2ba92745
JJ
226562011-12-30 Jakub Jelinek <jakub@redhat.com>
22657
22658 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22659 pure attribute.
22660
dadebdae
UD
226612011-12-24 Ulrich Drepper <drepper@gmail.com>
22662
d3761ebc 22663 [BZ #13533]
db6af3eb
UD
22664 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22665 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22666 transformations.
22667 * iconv/gconv_int.h: Likewise.
22668 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22669 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22670 from libc for GLIBC_2.16.
22671 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22672 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22673 * wcsmbs/uchar.h: Really define mbstate_t.
22674 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22675 * wcsmbs/c16rtomb.c: New file.
22676 * wcsmbs/mbrtoc16.c: New file.
22677 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22678 for C/POSIX locale.
22679 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22680 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22681
dadebdae
UD
22682 * wcsmbs/wchar.h: Add missing __restrict.
22683
67371b56
UD
226842011-12-23 Ulrich Drepper <drepper@gmail.com>
22685
74033a25
UD
22686 [BZ #13532]
22687 * time/Makefile (routines): Add timespec_get.
22688 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22689 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22690 timespec for ISO C11.
22691 * time/timespec_get.c: New file.
22692 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22693 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22694
380d7e87
UD
22695 [BZ #13531]
22696 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22697 * stdlib/stdlib.h: Declare aligned_alloc.
22698 * Versions.def: Add GLIBC_2.16 for libc.
22699 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22700
4e9e7a35
UD
22701 [BZ 13527]
22702 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22703 ISO C11.
22704
380d7e87 22705 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
22706 code.
22707
03a71829
UD
22708 [BZ #13528]
22709 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22710
839e283e
UD
22711 [BZ #13529]
22712 * assert/assert.h (static_assert): Define.
22713
ce5294e2 22714 * version.h: Update for 2.16 development version.
90fa7312 22715
8d44e150 22716 [BZ #13526]
d7809905
UD
22717 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22718 _ISOC11_SOURCE.
22719
c0da14cd
UD
22720 * version.h (RELEASE): Bump for 2.15 release.
22721 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22722
530a3249
MP
22723 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22724 Patch by Marek Polacek <mpolacek@redhat.com>.
22725
67371b56
UD
22726 * bits/byteswap.h: Protect long long constants with __extension__.
22727 * sysdeps/i386/bits/byteswap.h: Likewise.
22728 * sysdeps/ia64/bits/byteswap.h: Likewise.
22729 * sysdeps/s390/bits/byteswap.h: Likewise.
22730 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22731
15db4de1
LD
227322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22733
22734 [BZ #13540]
bbe315ea
LD
22735 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22736 destination buffer.
15db4de1
LD
22737 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22738
2b2596b1
MP
227392011-12-23 Marek Polacek <polacek@redhat.com>
22740
22741 * elf/dl-addr.c (determine_info): Add inline keyword.
22742 * elf/tst-auditmod4b.c (check_avx): Likewise.
22743 * elf/tst-auditmod6b.c (check_avx): Likewise.
22744 * elf/tst-auditmod6c.c (check_avx): Likewise.
22745 * elf/tst-auditmod7b.c (check_avx): Likewise.
22746
70c6c246
UD
227472011-12-23 Ulrich Drepper <drepper@gmail.com>
22748
22749 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22750 !__SSE_MATH__.
22751
c044cf14
LD
227522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22753
15db4de1 22754 [BZ #13540]
c044cf14
LD
22755 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22756 processing for last bytes.
22757
6b13d9d9
BH
227582011-08-06 Bruno Haible <bruno@clisp.org>
22759
d455f537
BH
22760 [BZ #13061]
22761 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22762 U+0385, not to U+1FEE.
22763
6b13d9d9
BH
22764 [BZ #13062]
22765 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22766 entry for U+00A5 U+0301.
22767
db910efd
UD
227682011-12-22 Ulrich Drepper <drepper@gmail.com>
22769
27deeafc
UD
22770 [BZ #13166]
22771 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22772 buffer for the output is too small.
22773
aed9d171
UD
22774 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22775 optimization.
22776
db910efd
UD
22777 [BZ #13185]
22778 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22779 SSE flags if possible.
22780
2bd779ae
LD
227812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22782
e7f9dac3 22783 [BZ #13540]
2bd779ae
LD
22784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22785 processing for last bytes.
22786
154bfc16
JM
227872011-12-22 Joseph Myers <joseph@codesourcery.com>
22788
22789 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22790 (syscall-list-default-options, syscall-list-default-condition)
22791 (syscall-list-includes): Define.
22792 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22793 list of ABIs and options and #if conditions for each ABI. Do not
22794 handle common syscalls between ABIs specially.
22795 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22796 Remove.
22797 (syscall-list-variants, syscall-list-32bit-options)
22798 (syscall-list-32bit-condition, syscall-list-64bit-options)
22799 (syscall-list-64bit-condition): Define.
22800 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22801 (syscall-list-variants, syscall-list-32bit-options)
22802 (syscall-list-32bit-condition, syscall-list-64bit-options)
22803 (syscall-list-64bit-condition): Define.
22804 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22805 Remove.
22806 (syscall-list-variants, syscall-list-32bit-options)
22807 (syscall-list-32bit-condition, syscall-list-64bit-options)
22808 (syscall-list-64bit-condition): Define.
22809 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22810 Remove.
22811 (syscall-list-variants, syscall-list-32bit-options)
22812 (syscall-list-32bit-condition, syscall-list-64bit-options)
22813 (syscall-list-64bit-condition): Define.
22814
21eaf3a5
UD
228152011-12-22 Ulrich Drepper <drepper@gmail.com>
22816
16c6f992
UD
22817 * locale/iso-639.def: Add brx entry.
22818
41043168
UD
22819 [BZ #13328]
22820 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22821 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22822
21eaf3a5
UD
22823 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22824 __feraiseexcept_renamed.
22825
e3a851a2
UD
228262011-12-21 Ulrich Drepper <drepper@gmail.com>
22827
4920765e
UD
22828 [BZ #13538]
22829 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22830 EPOLLET with unsigned values.
22831 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22832 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22833
e3a851a2
UD
22834 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22835 to large cancellation.
22836 * math/s_cacoshf.c: Likewise.
22837 * math/s_cacoshl.c: Likewise.
22838
b27e24b8
RK
228392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22840
22841 [BZ #13305]
aebefeee 22842 [BZ #12786]
b27e24b8
RK
22843 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22844 * math/s_cacoshf.c: Likewise.
22845 * math/s_cacoshl.c: Likewise.
22846
ee190f67
UD
228472011-12-21 Ulrich Drepper <drepper@gmail.com>
22848
22849 [BZ #13439]
22850 * iconv/gconv.h: Define __GCONV_SWAP.
22851 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22852 * iconvdata/utf-16.c: Likewise.
22853 * iconvdata/utf-32.c: Likewise.
22854
707f25df
AS
228552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22856
22857 [BZ #13524]
22858 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22859 numerator after shifting it by one limb.
22860
d2daaa1e
RÁE
228612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22862
22863 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22864 under [__USE_EXTERN_INLINES].
22865
a4647e72
UD
228662011-12-17 Ulrich Drepper <drepper@gmail.com>
22867
22868 [BZ #13446]
22869 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22870
f0b264f1
AZ
228712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22872
22873 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22874 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22875 optimized code.
22876 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22877 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22878 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22879 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22880 for strncasecmp/strncasecmp_l compilation.
22881 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22882 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22883
8ef4f244
MP
228842011-12-08 Marek Polacek <mpolacek@redhat.com>
22885
22886 [BZ #13484]
22887 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22888 of __asm__.
22889
97ac2654
UD
228902011-12-17 Ulrich Drepper <drepper@gmail.com>
22891
22892 [BZ #13506]
22893 * time/tzfile.c (__tzfile_read): Check values from file header.
22894
91d2a845
WS
228952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22896
22897 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22898 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22899 * powerpc/powerpc32/dl-start.S: Likewise.
22900 * powerpc/powerpc32/elf/start.S: Likewise.
22901 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22902 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22903 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22904 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22905 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22906 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22907 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22908 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22909 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22910 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22911 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22912 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22913 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22914 * powerpc/powerpc32/memset.S: Likewise.
22915 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22916 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22917 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22918 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22919 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22920 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22921 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22922 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22923 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22924 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22925 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22926 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22927 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22928
a1267ba1
AZ
229292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22930
22931 * math/libm-test.inc: Added more nearbyint tests.
22932 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22933 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22934 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22935 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22936
ad8ac1bd
RL
229372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22938
22939 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22940 FD_CLOEXEC.
22941
1d3e4b61
UD
229422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22943
22944 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22945 Add wcscpy-ssse3 wcscpy-c.
22946 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22947 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22948 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22949 * sysdeps/x86_64/wcschr.S: New file.
22950 * sysdeps/x86_64/wcsrchr.S: New file.
22951 * string/test-strcmp.c: Remove checking of wcscmp function for
22952 wrong alignments.
22953 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22954 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22955 wcsrchr-sse2 wcsrchr-c.
22956 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22957 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22958 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22959 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22960 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22961 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22962 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22963 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22964 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22965 * wcsmbc/wcschr.c (WCSCHR): New macro.
22966
5b330a2d
UD
229672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22968
22969 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22970 * wcsmbs/test-wcsrchr.c: New file.
22971 * string/test-strrchr.c: Add wcsrchr support.
22972 (WIDE): New macro.
22973 * wcsmbs/test-wcscpy.c: New file.
22974 * string/test-strcpy.c: Add wcscpy support.
22975 (WIDE): New macro.
26428b7c 22976
f039c043
UD
229772011-12-10 Ulrich Drepper <drepper@gmail.com>
22978
22979 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22980 the inner loop.
22981
850fb039
AS
229822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22983
22984 [BZ #13472]
22985 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22986
4efbd5cb
UD
229872011-12-04 Ulrich Drepper <drepper@gmail.com>
22988
52ff5dd0 22989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22990 Minor optimizations.
52ff5dd0 22991
4efbd5cb
UD
22992 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22993 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22994 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22995
8a426e12
UD
229962011-12-03 Ulrich Drepper <drepper@gmail.com>
22997
aff2453d
UD
22998 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22999 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23000 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23001 for gcc to avoid warnings.
23002 * inet/Makefile (tests): Add tst-checks.
23003 * inet/tst-checks.c: New file.
23004
23005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23006 warning.
23007
23008 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23009 __wmemcmp_sse2.
23010
23011 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23012 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23013
8a426e12
UD
23014 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23015
9bea3473
UD
230162011-12-02 Ulrich Drepper <drepper@gmail.com>
23017
3a965496
UD
23018 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23019 problem.
23020
9bea3473
UD
23021 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23022
f101631b
UD
230232011-11-29 Joseph Myers <joseph@codesourcery.com>
23024
23025 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23026 conditional on GCC version.
23027 (__arch_compare_and_exchange_val_8_acq)
23028 (__arch_compare_and_exchange_val_16_acq)
23029 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23030 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23031 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23032
a98275aa
UD
230332011-12-02 Joseph Myers <joseph@codesourcery.com>
23034
23035 * sysdeps/sh/backtrace.c: New file.
23036
d4cc29a2
AS
230372011-12-02 Andreas Schwab <schwab@redhat.com>
23038
23039 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
23040 parenthesis.
23041
6257af2d
AS
230422011-12-01 Andreas Schwab <schwab@redhat.com>
23043
23044 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23045 falling back to utime.
23046
b5f44c1a
AS
230472011-11-30 Andreas Schwab <schwab@redhat.com>
23048
23049 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23050 expectations for float.
23051
f3a6cc0a
AS
230522011-11-29 Andreas Schwab <schwab@redhat.com>
23053
23054 * locale/weight.h (findidx): Add parameter len.
23055 * locale/weightwc.h (findidx): Likewise.
23056 * posix/fnmatch_loop.c (FCT): Adjust caller.
23057 * posix/regcomp.c (build_equiv_class): Likewise.
23058 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23059 * posix/regexec.c (check_node_accept_bytes): Likewise.
23060 * string/strcoll_l.c (STRCOLL): Likewise.
23061 * string/strxfrm_l.c (STRXFRM): Likewise.
23062
9d65ea3a
UD
230632011-11-17 Ulrich Drepper <drepper@gmail.com>
23064
23065 * Makefile.in: Remove CVSOPT handling.
23066 * configure.in: Remove use of AC_REVISION.
23067 * iconvdata/Makefile (distribute): No need to filter out CVS.
23068 * scripts/list-sources.sh: Remove CVS, subversion and monotone
23069 handling.
23070
5583a086
AS
230712011-11-16 Andreas Schwab <schwab@redhat.com>
23072
23073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23074 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23075 [USE_AS_STRNCASECMP_L]: Likewise.
23076 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23077 NO_TLS_DIRECT_SEG_REFS.
23078 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23079 Fix argument offsets for non-PIC.
23080 [USE_AS_STRNCASECMP_L]: Likewise.
23081 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23082 NO_TLS_DIRECT_SEG_REFS.
23083
d62a8200
UD
230842011-11-15 Ulrich Drepper <drepper@gmail.com>
23085
9d65ea3a 23086 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
23087 O_CLOEXEC.
23088 * locale/loadlocale.c (_nl_load_locale): Likewise.
23089
09f93bd3
AS
230902011-11-15 Andreas Schwab <schwab@redhat.com>
23091
446514f9
AS
23092 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23093 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23094 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23095 (SYSCALL_GETTIME): Set errno on error.
23096
09f93bd3
AS
23097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23098 count references to noai6ai_cached.
23099
312be3f9
UD
231002011-11-15 Ulrich Drepper <drepper@gmail.com>
23101
23102 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23103
23104 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23105 FD_CLOEXEC for /proc/self/maps.
23106
23107 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23108 FD_CLOEXEC for /proc/meminfo.
23109
23110 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23111 gai.conf.
23112
23113 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
23114 FD_CLOEXEC for given file.
23115
23116 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23117
23118 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23119 FD_CLOEXEC for /etc/hosts.
23120 (_gethtent): Likewise.
23121
23122 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23123
23124 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23125 cancellation and set FD_CLOEXEC for /etc/netgroup.
23126
23127 * nss/nss_files/files-key.c (search): Don't allow cancellation when
23128 reading /etc/publickey.
23129
23130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23131 allow cancellation when reading /etc/group.
23132
23133 * nss/nss_files/files-alias.c (internal_setent): Don't allow
23134 cancellation.
23135 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
23136
23137 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23138 when using data file.
23139
23140 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23141
23142 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23143 (write_nis_obj): Use "c" and "e" in fopen.
23144
23145 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23146
23147 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23148
23149 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23150
23151 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23152
23153 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23154 locale.alias.
23155
23156 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23157
23158 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23159
23160 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23161
23162 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23163 file parsing and set FD_CLOEXEC.
23164
82af0fa8
UD
231652011-11-14 Ulrich Drepper <drepper@gmail.com>
23166
23167 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23168
a5fb313c
AS
231692011-11-14 Andreas Schwab <schwab@redhat.com>
23170
23171 * malloc/arena.c (arena_get2): Don't call reused_arena when
23172 _int_new_arena failed.
23173
6abf3465
UD
231742011-11-14 Ulrich Drepper <drepper@gmail.com>
23175
23176 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23177 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23178 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23179 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23180 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23181 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23182 to compile strcasecmp and strncasecmp.
23183 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23184 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23185
23186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23187
76e3966e
UD
231882011-11-13 Ulrich Drepper <drepper@gmail.com>
23189
23190 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23191 locale-defines.sym to gen-as-const-headers.
23192 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23193 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23195 to compile strcasecmp and strncasecmp.
23196 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23197 strcasecmp_l and strncasecmp_l.
23198 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23199 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23200 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23201 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23202 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23203 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23204 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23205 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23206 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23207 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23208 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23209
ab26144e
UD
232102011-11-12 Ulrich Drepper <drepper@gmail.com>
23211
7edb22ef
UD
23212 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23213 result of SYSDEP_GETTIME_CPU to retval.
23214 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23215 parameter list to macro. Remove trailing semicolon. Adjust users.
23216
9694fc44
UD
23217 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23218 variable.
23219
8ad89ef8
UD
23220 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23221 mantissa words.
23222 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23223
0c822ef9
UD
23224 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23225 from unused variable.
23226
874e0564
UD
23227 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23228 DWARF definitions.
23229 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23230 for assembling.
23231
3a2edc79
UD
23232 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23233 over namespaces.
23234
f3c2577f
UD
23235 * sunrpc/rpc_prot.c (rejected): Fix case value.
23236
294ce126
UD
23237 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23238 unsigned long long int to avoid warnings in shift.
23239
5e2b63c6
UD
23240 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23241 of use of trans.
23242 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23243 variable tmp.
23244
e7f4b08e
UD
23245 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23246 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23247 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23248
ab26144e
UD
23249 * nis/nis_table.c (nis_list): Use variable of correct type for
23250 result of __follow_path call.
23251
8a6d5255
AZ
232522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23253
23254 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23255 of math functions ceil, trunc, floor, round, and sqrt, when
23256 avaliable on the platform.
23257 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23258 name clash.
23259 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23260 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23261 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23262
aaddc98c
MP
232632011-10-30 Marek Polacek <mpolacek@redhat.com>
23264
23265 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23266 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23267
95b7042b
RM
232682011-11-11 Roland McGrath <roland@hack.frob.com>
23269
23270 * include/unistd.h: Fix __readlink return type.
23271 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23272
57769839
UD
232732011-11-11 Ulrich Drepper <drepper@gmail.com>
23274
23275 * stdlib/ucontext.h: Undo last change for makecontext.
23276
edc5984d
AS
232772011-11-11 Andreas Schwab <schwab@redhat.com>
23278
98591e58
AS
23279 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23280
edc5984d
AS
23281 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23282 * setjmp/setjmp.h: Mark functions as non-leaf.
23283 * setjmp/bits/setjmp2.h: Likewise.
23284 * stdlib/ucontext.h: Likewise.
23285
77cdc054
AS
232862011-11-10 Andreas Schwab <schwab@redhat.com>
23287
23288 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23289 (reused_arena): Don't check arena limit.
23290 (arena_get2): Atomically check arena limit.
23291
fe72eebd
UD
232922011-11-08 Ulrich Drepper <drepper@gmail.com>
23293
5f078c32
UD
23294 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23295 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23296
fe72eebd
UD
23297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23298 instructions.
23299
ae1bc2fa
AS
233002011-11-07 Andreas Schwab <schwab@redhat.com>
23301
7583a88d
AS
23302 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23303 handler when locking.
23304
ae1bc2fa
AS
23305 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23306 Fix size of allocated buffer.
23307
10fb0bfa
AS
233082011-11-04 Andreas Schwab <schwab@redhat.com>
23309
998832a4
AS
23310 [BZ #10103]
23311 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23312 declarations for long double functions.
23313 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23314
10fb0bfa
AS
23315 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23316
3d7ba52b
AS
233172011-11-03 Andreas Schwab <schwab@redhat.com>
23318
a9ae54a1
AS
23319 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23320 installed.
23321
3d7ba52b
AS
23322 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23323 is disabled.
23324
bc8db248
ST
233252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23326
23327 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23328
45b96dd6
AS
233292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23330
647776f6
AS
23331 * include/alloca.h (stackinfo_alloca_round): Define.
23332 (extend_alloca): Use it.
23333 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23334 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23335 here.
23336
d91a8b93
AS
23337 * scripts/check-local-headers.sh: Ignore libaudit.h.
23338
45b96dd6
AS
23339 * nscd/Makefile (extra-objs): Make recursively expanded.
23340
432d41ce
UD
233412011-11-01 Ulrich Drepper <drepper@gmail.com>
23342
34372fc6
UD
23343 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23345
fadb59f8
UD
23346 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23347 * posix/tst-rfc3484-2.c: Likewise.
23348 * posix/tst-rfc3484-3.c: Likewise.
23349
78239589
UD
23350 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23351 process_vm_writev.
23352 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23353 process_vm_writev.
23354 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23355 process_vm_writev from libc using GLIBC_2.15 version.
23356
432d41ce
UD
23357 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23358
02f9c6cf
PP
233592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23360
23361 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23362 stack usage.
23363
3a2c0242
UD
233642011-10-31 Ulrich Drepper <drepper@gmail.com>
23365
f4ec4833
UD
23366 [BZ #13367]
23367 * nss/getent.c (initgroups_keys): Show error message in case no group
23368 names are given.
23369
3a2c0242
UD
23370 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23371 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23372 __bump_nl_timestamp.
23373 * nscd/connections (nscd_init): When host database is served open
23374 netlink socket and request notification about configuration changes.
23375 (main_loop_poll): Track netlink file descriptor and bump timestamp
23376 in case data becomes available.
23377 (main_loop_epoll): Likewise.
23378 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23379 (database_pers_head): Add extra_data fileds.
23380 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23381 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23382 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23383 Adjust caller.
23384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23385 in6ai data, call __free_in6ai.
23386 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23387 Add -DHAVE_NETLINK.
23388 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23389 interface information. Reuse previous data if netlink timestamp
23390 is not changed.
23391 (__bump_nl_timestamp): New function.
23392 (__free_in6ai): New function.
23393
636064eb
UD
233942011-10-30 Ulrich Drepper <drepper@gmail.com>
23395
23396 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23397 close_not_cancel_no_status here.
23398 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23399
9beb2334
UD
234002011-10-29 Ulrich Drepper <drepper@gmail.com>
23401
6ef76f3b
UD
23402 [BZ #13276]
23403 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23404 return value.
23405
0ffc4f3e 23406 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
23407 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23408 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23409
cb95113e
UD
234102011-07-03 Andreas Jaeger <aj@suse.de>
23411
23412 [BZ #10709]
23413 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23414 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23415 * math/libm-test.inc (sin_test): Add test case.
23416
a1b560ff
UD
234172011-10-29 Ulrich Drepper <drepper@gmail.com>
23418
c9aaface
UD
23419 [BZ #13337]
23420 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23421 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23422
d272e7f1
UD
23423 * elf/chroot_canon.c (chroot_canon): Cleanups.
23424
1bc33071
UD
23425 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23426
1760874d
TJ
23427 [BZ #13335]
23428 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23429 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23430
51d91b18
UD
23431 * string/test-strchr.c: Make usable for strchrnul testing.
23432 * string/test-strchrnul.c: New file.
23433 * string/Makefile (strop-tests): Add strchrnul.
23434
a1b560ff 23435 * po/it.po: Update from translation team.
b611fb81 23436 * po/es.po: Likewise.
a1b560ff 23437
a5b81e1f
UD
234382011-10-28 Ulrich Drepper <drepper@gmail.com>
23439
fd52bc6d
UD
23440 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23441 the three constants needed as parameters. Drop the others.
23442 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23443 __m128i_strloadu_tolower.
52e4b9eb
UD
23444 Create and initialize variable zero and use it in all the places
23445 where _mm_setzero_si128 was used.
fd52bc6d 23446
a5b81e1f
UD
23447 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23448 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23449 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23450 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23451 anymore.
23452 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23453 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23454 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23455 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23456 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23457 __mpranred, __mptan.
23458 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23459 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23460 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23461 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23462 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23463 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23465 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23466 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23467
b4343346
AS
234682011-10-28 Andreas Schwab <schwab@redhat.com>
23469
0c92d8a8
AS
23470 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23471 redefine if SHARED.
23472 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23473
b4343346
AS
23474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23475 wide char related routines to wcsmbs subdir.
23476
3871f58f
AS
234772011-10-27 Andreas Schwab <schwab@redhat.com>
23478
23479 [BZ #13344]
23480 * misc/sys/cdefs.h (__THROWNL): Define.
23481 * posix/unistd.h: Use __THREADNL instead of __THREAD
23482 for memory synchronization functions.
23483
94d44d9f
RM
234842011-10-26 Roland McGrath <roland@hack.frob.com>
23485
21b64b15 23486 [BZ #13349]
94d44d9f
RM
23487 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23488 doesn't exist.
23489 * manual/stdio.texi (Obstack Streams): Node removed.
23490
f6ce9294
AS
234912011-10-26 Andreas Schwab <schwab@redhat.com>
23492
80479147
AS
23493 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23494 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23495 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23496
f6ce9294
AS
23497 * math/math_private.h (math_force_eval): Allow non-addressable
23498 arguments.
23499 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23500
618280a1
UD
235012011-10-25 Ulrich Drepper <drepper@gmail.com>
23502
e0016b11
UD
23503 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23504 file is not needed.
23505
23506 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23507 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23509 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23511 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23513 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23514 Add AVX variants.
23515 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23516 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23517 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23518 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23519 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23520 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23521 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23522 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23523 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23524 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23525 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23526 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23528 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23529 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23530 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23531 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23532 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23533 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23534
23535 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23536 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23537
618280a1
UD
23538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23539 place. Use VEX encoding when compiling for AVX.
23540
37822576
AS
235412011-10-25 Andreas Schwab <schwab@redhat.com>
23542
1f1e1947
AS
23543 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23544 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23545
37822576
AS
23546 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23547
31ea014d
UD
235482011-10-25 Ulrich Drepper <drepper@gmail.com>
23549
d7826aa1 23550 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23551 useless if() expression.
d7826aa1
UD
23552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23561 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23563 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23564 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23565 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23566 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23568 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23570 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23571
31ea014d
UD
23572 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23573
16437fec
AS
235742011-10-25 Andreas Schwab <schwab@redhat.com>
23575
23576 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23577 condition.
23578 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23579
31d3cc00
UD
235802011-10-25 Ulrich Drepper <drepper@gmail.com>
23581
23582 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23583 .text section. Avoid duplicate constants.
23584 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23586 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23587 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23592 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23593 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23594 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23596 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23598 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23599 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23600 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23601 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23602 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23604 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23605 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23606 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23607 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23608 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23609 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23610 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23611 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23612 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23613 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23614 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23615 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23616 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23617 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23618 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23619 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23620 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23621 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23622 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23623 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23624 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23625 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23626 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23627 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23628 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23629
58985aa9
UD
236302011-10-24 Ulrich Drepper <drepper@gmail.com>
23631
202c9deb
UD
23632 * sysdeps/x86_64/dla.h: Move to ...
23633 * sysdeps/x86_64/fpu/dla.h: ...here.
23634 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23635 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 23636
af968f62
UD
23637 * config.make.in: Add have-mfma4 entry.
23638 * configure.in: Substitute libc_cv_cc_fma4.
23639 * math/Makefile (dbl-only-routines): Add sincostab.
23640 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23641 Use __sincostab not sincos.
23642 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23643 name is a macro.
23644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23648 using __copysign.
23649 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23650 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23651 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23652 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23653 and __inv.
23654 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23655 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23656 __copysign.
23657 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23658 define aliases when function name is a macro.
23659 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23660 sysdeps/ieee754/dbl-64/sincos.tbl.
23661 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23662 fma4-enabled routines.
23663 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23664 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23665 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23666 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23667 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23668 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23670 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23672 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23673 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23674 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23675 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23676 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23677 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23678 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23679 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23680 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23681 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23683 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23684 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23686 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23688 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23689 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23690 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23691 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23692 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23693
58985aa9
UD
23694 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23695 rename.
23696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23702 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23704
a201fbcf
AS
237052011-10-24 Andreas Schwab <schwab@redhat.com>
23706
23707 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23708
fc2ee42a
LD
237092011-10-23 Ulrich Drepper <drepper@gmail.com>
23710
bb3129bd
UD
23711 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23712
0275fff8
UD
23713 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23714 prediction.
23715 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23716
2fa2ae85
UD
23717 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23718 Remove unused variable magic_bits.
23719 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23720
fc2ee42a
LD
23721 * string/strnlen.c: Define and use STRNLEN macro.
23722 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23723 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23725 * wcsmbs/wcslen.c: Define and use WCSLEN.
23726 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23727 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23728 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23729 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23730 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23731 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23732 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23733
ce7dd29f
LD
237342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23735
23736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23737 strnlen-sse2-no-bsf.
23738 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23739 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23740 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23741 Add strnlen support.
23742 (USE_AS_STRNLEN): New macro.
23743 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23744 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23745 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23746 * sysdeps/x86_64/wcslen.S: New file.
23747
979c70a3
MZ
237482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23749
23750 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23751 XMM-moves are used for copying on small sizes.
23752
2d09f82f
LD
237532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23754
23755 * wcsmbs/Makefile (strop-tests): Add wcschr.
23756 * wcsmbs/test-wcschr.c: New file.
23757 * string/test-strchr.c: Update.
23758 Add wcschr support.
23759 (WIDE): New macro.
23760
619fccca
LD
237612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23762
2d09f82f 23763 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23764 * wcsmbs/test-wcslen.c: New file.
23765 * string/test-strlen.c: Update.
23766 Add wcslen support.
23767 (WIDE): New macro.
23768
09f699ea
UD
237692011-10-23 Ulrich Drepper <drepper@gmail.com>
23770
23771 * po/it.po: Update from translation team.
23772
95584d3b
LD
237732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23774
23775 * sysdeps/x86_64/wcscmp.S: Update.
23776 Fix wrong comparison semantics.
23777 wcscmp shall use signed comparison not unsigned.
23778 Don't use substraction to avoid overflow bug.
23779 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23780 * wcsmbc/wcscmp.c: Likewise.
23781 * string/test-strcmp.c: Likewise.
23782 Add new tests to check cases with negative values.
23783
c8b3296b
UD
237842011-10-23 Ulrich Drepper <drepper@gmail.com>
23785
23786 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23787 * sysdeps/x86_64/dla.h: ...here. New file.
23788 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23795 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23797
246ad57a
AS
237982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23799
23800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23801 __ynl_finite aliases.
23802
a1a87169
UD
238032011-10-22 Ulrich Drepper <drepper@gmail.com>
23804
0d355eb7
UD
23805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23806
a1a87169
UD
23807 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23808 define DLA_FMA.
23809 [DLA_FMA] (EMULV): Use DLA_FMA.
23810 [DLA_FMA] (MUL12): Use EMULV.
23811 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23812 that are not needed.
23813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23820
ee2aafe0
AS
238212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23822
23823 * math/s_nan.c: Undef __nan.
23824 * math/s_nanf.c: Undef __nanf.
23825 * math/s_nanl.c: Undef __nanl.
23826 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23827 "math_private.h".
23828
bc62c2fb
UD
238292011-10-22 Ulrich Drepper <drepper@gmail.com>
23830
77425c63
UD
23831 * math/s_catan.c: Add branch predictions.
23832 * math/s_catanf.c: Likewise.
23833 * math/s_catanh.c: Likewise.
23834 * math/s_catanhf.c: Likewise.
23835 * math/s_catanhl.c: Likewise.
23836 * math/s_catanl.c: Likewise.
23837 * math/s_cexp.c: Likewise.
23838 * math/s_cexpf.c: Likewise.
23839 * math/s_cexpl.c: Likewise.
23840 * math/s_clog.c: Likewise.
23841 * math/s_clog10.c: Likewise.
23842 * math/s_clog10f.c: Likewise.
23843 * math/s_clog10l.c: Likewise.
23844 * math/s_clogf.c: Likewise.
23845 * math/s_clogl.c: Likewise.
23846 * math/s_csqrt.c: Likewise.
23847 * math/s_csqrtf.c: Likewise.
23848 * math/s_csqrtl.c: Likewise.
23849 * math/s_ctanf.c: Likewise.
23850 * math/s_ctanh.c: Likewise.
23851 * math/s_ctanhf.c: Likewise.
23852 * math/s_ctanhl.c: Likewise.
23853 * math/s_ctanl.c: Likewise.
23854
bc62c2fb
UD
23855 * math/math_private.h: Define __nan, __nanf, __nanl.
23856 * math/s_cacosh.c: Include <math_private.h>.
23857 * math/s_cacoshl.c: Likewise.
23858 * math/s_casinh.c: Likewise.
23859 * math/s_casinhf.c: Likewise.
23860 * math/s_casinhl.c: Likewise.
23861 * math/s_ccos.c: Rely entire on ccosh.
23862 * math/s_ccosf.c: Rely entire on ccoshf.
23863 * math/s_ccosl.c: Rely entirely on ccoshl.
23864 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23865 Remove tests for FE_INVALID.
23866 * math/s_ccoshf.c: Likewise.
23867 * math/s_ccoshl.c: Likewise.
23868 * math/s_csin.c: Likewise.
23869 * math/s_csinf.c: Likewise.
23870 * math/s_csinh.c Likewise.
23871 * math/s_csinhf.c: Likewise.
23872 * math/s_csinhl.c: Likewise.
23873 * math/s_csinl.c: Likewise.
23874 * math/s_ctan.c: Likewise.
23875 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23876 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23877 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23878
8ec250a4
UD
238792011-10-21 Ulrich Drepper <drepper@gmail.com>
23880
c196fed8
UD
23881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23882 compilation problems.
23883
8ec250a4
UD
23884 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23885 __builtin_expect.
23886
8d4f46c6
UD
238872011-10-20 Ulrich Drepper <drepper@gmail.com>
23888
ed72b654
UD
23889 * sysdeps/i386/configure.in: Test for -mfma4 option.
23890 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23891 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23892 COMMON_CPUID_INDEX_80000001.
23893 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23894 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23895 use it if FMA3 is not supported.
23896 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23897
8d4f46c6
UD
23898 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23899 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23900
d45c60c2
AS
239012011-10-20 Andreas Schwab <schwab@redhat.com>
23902
23903 [BZ #12892]
23904 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23905 it would create a cycle with a link time dependency.
23906
d9a4d2ab
UD
239072011-10-19 Ulrich Drepper <drepper@gmail.com>
23908
855d1560
UD
23909 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23910 instruction.
23911 * string/Makefile (strop-tests): Add rawmemchr.
23912 * string/test-rawmemchr.c: New file.
23913
d9a4d2ab
UD
23914 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23916 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23917 when compiling str{,n}casecmp and when AVX is available. Hook up
23918 new optimized code in initializers.
23919
8f3b1ffe
AS
239202011-10-19 Andreas Schwab <schwab@redhat.com>
23921
23922 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23923 __feraiseexcept instead of feraiseexcept.
23924
d38f1dba
UD
239252011-10-18 Ulrich Drepper <drepper@gmail.com>
23926
d9a8d0ab
UD
23927 * math/math_private.h: Define defaults for libc_fetestexcept and
23928 libc_feupdateenv.
23929 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23930 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23931 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23932 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23933 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23934 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23935 libc_fetestexcept and libc_feupdateenv.
23936
4855e3dd
UD
23937 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23938 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23939 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23940 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23941 libc_feholdexcept_setround.
23942
581d30e3
UD
23943 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23944 Add s_nearbyint-c and s_nearbyintf-c.
23945 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23946 nearbyintf inlines.
23947 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23948 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23949 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23950 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23951
d38f1dba
UD
23952 * math/math_private.h: Define defaults for libc_fegetround,
23953 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23954 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23955 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23957 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23958 standard functions.
23959 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23960 Remove comments and hacks for old compiler versions.
23961 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23962 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23963 libc_feholdexceptl.
23964
caa6c9d8
AS
239652011-10-18 Andreas Schwab <schwab@redhat.com>
23966
23967 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23968 (__feraiseexcept_renamed): Add __NTH.
23969 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23970 namespace violations.
23971
97c066e6
UD
239722011-10-17 Ulrich Drepper <drepper@gmail.com>
23973
99ce7b04
UD
23974 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23975
1004d182
UD
23976 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23977
228a984d
UD
23978 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23979 recently added interfaces.
23980 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23981
c8553a6a
UD
23982 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23983 about macro parameter expansion.
23984
ed22dcf6
UD
23985 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23986 __NO_MATH_INLINES is defined. Cleanups.
23987
23988 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23989 and __floorf is target has SSE4.1.
23990 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23991 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23992 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23993 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23994
b171c137
UD
23995 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23996 name.
23997 (floorf): Likewise.
23998
97c066e6
UD
23999 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24000
629f62ef
AS
240012011-10-17 Andreas Schwab <schwab@redhat.com>
24002
49a43d80
AS
24003 * misc/sys/cdefs.h: Fix last change.
24004
629f62ef
AS
24005 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24006 database lookup.
24007
e453f6cd
UD
240082011-10-16 Ulrich Drepper <drepper@gmail.com>
24009
aa78043a
UD
24010 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24011
ad0f5cad
UD
24012 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24014 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24015 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24016 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24017 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24018 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24019 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24020 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24021 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24022 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24023 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24024 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24025 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24026 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24027 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24028 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24029 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24030 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24031 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24032 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24033 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24034
24035 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24036 ceil, ceilf, floor, floorf.
24037
24038 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24039 Perform IRELATIVE relocations last.
24040
e453f6cd
UD
24041 * elf/do-rel.h: Add another parameter nrelative, replacing the
24042 local variable with the same name. Change name of the function
24043 to end in Rel or Rela (uppercase).
24044 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24045 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
24046 elf_dynamic_do_##reloc function.
24047
fd5bdc09
UD
240482011-10-15 Ulrich Drepper <drepper@gmail.com>
24049
79b195b5
UD
24050 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24051 is sufficient, at least on modern CPUs.
24052
d4a28569
UD
24053 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24054
b61099b5
UD
24055 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24056 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24057
bcf01e6d
UD
24058 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24059 __expl_finite.
24060 * math/bits/math-finite.h: Add entries for exp.
24061 * math/e_expl.c: Add __*_finite alias.
24062 * sysdeps/i386/fpu/e_exp.S: Likewise.
24063 * sysdeps/i386/fpu/e_expf.S: Likewise.
24064 * sysdeps/i386/fpu/e_expl.c: Likewise.
24065 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24066 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24069 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24070 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24071 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24072
ba1a0d59
UD
24073 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24074 is sufficient, at least on modern CPUs.
24075
fd5bdc09
UD
24076 * ctype/ctype-info.c (__ctype_init): Define.
24077 * include/ctype.h (__ctype_init): Declare.
24078 (__ctype_b_loc): The variable is always initialized.
24079 (__ctype_toupper_loc): Likewise.
24080 (__ctype_tolower_loc): Likewise.
24081 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24082 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24083
7872cfb0
AS
240842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
24085
b468825a
AS
24086 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24087
7872cfb0
AS
24088 * configure.in: Also look in $cxxmachine/include for C++ system
24089 headers.
24090
be13f7bf
LD
240912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24092
24093 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24094 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24095 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24096 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
24097 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24098 (USE_AS_WMEMCMP): New macro.
24099 Fixing indents.
24100 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24101 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24102 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24103 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24105 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24106 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24107 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24108 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24109 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24110 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24111 (USE_AS_WMEMCMP): New macro.
24112 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24113 * sysdeps/string/test-memcmp.c: Update.
24114 Fix simple_wmemcmp.
24115 Add new tests.
24116 * wcsmbs/wmemcmp.c: Update.
24117 (WMEMCMP): New macro.
24118 Fix overflow bug.
24119
556a2007
AJ
241202011-10-12 Andreas Jaeger <aj@suse.de>
24121
24122 [BZ #13268]
24123 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24124
538faaa7
UD
241252011-10-15 Ulrich Drepper <drepper@gmail.com>
24126
ab6737ff
UD
24127 * libio/iofwide.c (do_length): Avoid warning.
24128
538faaa7
UD
24129 * ctype/ctype.h (__isctype_f): Add missing __THROW.
24130
396a21b1
UD
241312011-10-14 Ulrich Drepper <drepper@gmail.com>
24132
cdf2901f
UD
24133 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24134
38ad40ce
UD
24135 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24136 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24137 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24138 * sysdeps/i386/i686/fpu/e_log.S: New file.
24139 * sysdeps/i386/i686/fpu/e_logf.S: New file.
24140 * sysdeps/i386/i686/fpu/e_logl.S: New file.
24141
396a21b1
UD
24142 * ctype/ctype.h: Add support for inlined isXXX functions when
24143 compiling C++ code.
24144
6b1f68c9
AS
241452011-10-14 Andreas Schwab <schwab@redhat.com>
24146
349290c0
AS
24147 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24148
6b1f68c9
AS
24149 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24150
f2282d42
RM
241512011-10-13 Roland McGrath <roland@hack.frob.com>
24152
24153 [BZ #13291]
24154 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24155
5298ffa8
AS
241562011-10-13 Andreas Schwab <schwab@redhat.com>
24157
714fad23
AS
24158 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24159 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24160 feraiseexcept.
24161
81dcc7fb
AS
24162 * sysdeps/x86_64/memrchr.S: Check for zero size.
24163
5298ffa8
AS
24164 * string/stratcliff.c: Add memrchr tests.
24165
951fbcec
LD
241662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24167
24168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24169 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24170 rawmemchr-sse2 rawmemchr-sse2-bsf.
24171 * sysdeps/i386/i686/multiarch/memchr.S: New file.
24172 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24173 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24174 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24175 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24176 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24177 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24178 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24179 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24180 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24181 * string/memrchr.c (MEMRCHR): New macro.
24182
0ac5ae23
UD
241832011-10-12 Ulrich Drepper <drepper@gmail.com>
24184
24185 Add integration with gcc's -ffinite-math-only and optimize wrapper
24186 functions in libm.
24187 * Versions.def: Define GLIBC_2.15 version for libm.
24188 * math/Makefile (headers): Add bits/math-finite.h.
24189 * math/bits/math-finite.h: New file.
24190 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24191 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24192 * math/e_acoshl.c: Add __*_finite alias.
24193 * math/e_acosl.c: Likewise.
24194 * math/e_asinl.c: Likewise.
24195 * math/e_atan2l.c: Likewise.
24196 * math/e_atanhl.c: Likewise.
24197 * math/e_coshl.c: Likewise.
24198 * math/e_exp10.c: Likewise.
24199 * math/e_exp10f.c: Likewise.
24200 * math/e_exp10l.c: Likewise.
24201 * math/e_exp2l.c: Likewise.
24202 * math/e_fmodl.c: Likewise.
24203 * math/e_gammal_r.c: Likewise.
24204 * math/e_hypotl.c: Likewise.
24205 * math/e_j0l.c: Likewise.
24206 * math/e_j1l.c: Likewise.
24207 * math/e_jnl.c: Likewise.
24208 * math/e_lgammal_r.c: Likewise.
24209 * math/e_log10l.c: Likewise.
24210 * math/e_log2l.c: Likewise.
24211 * math/e_logl.c: Likewise.
24212 * math/e_powl.c: Likewise.
24213 * math/e_sinhl.c: Likewise.
24214 * math/e_sqrtl.c: Likewise.
24215 * math/e_scalb.c: Completely rewritten and optimized.
24216 * math/e_scalbf.c: Likewise.
24217 * math/e_scalbl.c: Likewise.
24218 * math/w_acos.c: Likewise.
24219 * math/w_acosf.c: Likewise.
24220 * math/w_acosl.c: Likewise.
24221 * math/w_acosh.c: Likewise.
24222 * math/w_acoshf.c: Likewise.
24223 * math/w_acoshl.c: Likewise.
24224 * math/w_asin.c: Likewise.
24225 * math/w_asinf.c: Likewise.
24226 * math/w_asinl.c: Likewise.
24227 * math/w_atan2.c: Likewise.
24228 * math/w_atan2f.c: Likewise.
24229 * math/w_atan2l.c: Likewise.
24230 * math/w_atanh.c: Likewise.
24231 * math/w_atanhf.c: Likewise.
24232 * math/w_atanhl.c: Likewise.
24233 * math/w_exp10.c: Likewise.
24234 * math/w_exp10f.c: Likewise.
24235 * math/w_exp10l.c: Likewise.
24236 * math/w_fmod.c: Likewise.
24237 * math/w_fmodf.c: Likewise.
24238 * math/w_fmodl.c: Likewise.
24239 * math/w_j0.c: Likewise.
24240 * math/w_j0f.c: Likewise.
24241 * math/w_j0l.c: Likewise.
24242 * math/w_j1.c: Likewise.
24243 * math/w_j1f.c: Likewise.
24244 * math/w_j1l.c: Likewise.
24245 * math/w_jn.c: Likewise.
24246 * math/w_jnf.c: Likewise.
24247 * math/w_log.c: Likewise.
24248 * math/w_logf.c: Likewise.
24249 * math/w_logl.c: Likewise.
24250 * math/w_log10.c: Likewise.
24251 * math/w_log10f.c: Likewise.
24252 * math/w_log10l.c: Likewise.
24253 * math/w_log2.c: Likewise.
24254 * math/w_log2f.c: Likewise.
24255 * math/w_log2l.c: Likewise.
24256 * math/w_pow.c: Likewise.
24257 * math/w_powf.c: Likewise.
24258 * math/w_powl.c: Likewise.
24259 * math/w_remainder.c: Likewise.
24260 * math/w_remainderf.c: Likewise.
24261 * math/w_remainderl.c: Likewise.
24262 * math/w_scalb.c: Likewise.
24263 * math/w_scalbf.c: Likewise.
24264 * math/w_scalbl.c: Likewise.
24265 * math/w_sqrt.c: Likewise.
24266 * math/w_sqrtf.c: Likewise.
24267 * math/w_sqrtl.c: Likewise.
24268 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24269 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24270 used.
24271 * math/math_private.h: Declare __kernel_standard_f.
24272 * math/w_cosh.c: Remove cruft and optimize a bit.
24273 * math/w_coshf.c: Likewise.
24274 * math/w_coshl.c: Likewise.
24275 * math/w_exp2.c: Likewise.
24276 * math/w_exp2f.c: Likewise.
24277 * math/w_exp2l.c: Likewise.
24278 * math/w_hypot.c: Likewise.
24279 * math/w_hypotf.c: Likewise.
24280 * math/w_hypotl.c: Likewise.
24281 * math/w_lgamma.c: Likewise.
24282 * math/w_lgamma_r.c: Likewise.
24283 * math/w_lgammaf.c: Likewise.
24284 * math/w_lgammaf_r.c: Likewise.
24285 * math/w_lgammal.c: Likewise.
24286 * math/w_lgammal_r.c: Likewise.
24287 * math/w_sinh.c: Likewise.
24288 * math/w_sinhf.c: Likewise.
24289 * math/w_sinhl.c: Likewise.
24290 * math/w_tgamma.c: Likewise.
24291 * math/w_tgammaf.c: Likewise.
24292 * math/w_tgammal.c: Likewise.
24293 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24294 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24295 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24296 Minor optimizations. Pretty printing. Remove cruft.
24297 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24298 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24299 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24300 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24301 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24302 * sysdeps/i386/fpu/e_asin.S: Likewise.
24303 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24304 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24305 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24306 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24307 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24308 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24309 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24310 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24311 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24312 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24313 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24314 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24315 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24316 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24317 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24318 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24319 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24320 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24321 * sysdeps/i386/fpu/e_log.S: Likewise.
24322 * sysdeps/i386/fpu/e_log10.S: Likewise.
24323 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24324 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24325 * sysdeps/i386/fpu/e_log2.S: Likewise.
24326 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24327 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24328 * sysdeps/i386/fpu/e_logf.S: Likewise.
24329 * sysdeps/i386/fpu/e_logl.S: Likewise.
24330 * sysdeps/i386/fpu/e_pow.S: Likewise.
24331 * sysdeps/i386/fpu/e_powf.S: Likewise.
24332 * sysdeps/i386/fpu/e_powl.S: Likewise.
24333 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24334 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24335 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24336 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24337 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24338 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24339 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24340 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24341 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24342 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24343 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24344 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24345 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24346 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24347 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24348 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24349 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24350 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24351 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24352 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24353 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24355 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24356 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24358 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24359 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24362 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24363 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24364 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24365 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24366 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24367 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24368 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24369 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24370 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24371 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24372 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24373 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24374 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24375 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24376 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24377 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24378 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24379 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24380 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24381 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24382 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24383 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24384 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24385 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24386 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24387 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24388 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24389 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24390 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24391 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24392 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24393 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24394 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24395 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24396 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24397 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24398 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24399 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24400 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24401 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24402 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24403 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24404 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24405 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24406 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24407 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24408 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24410 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24412 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24413 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24414 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24416 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24417 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24418 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24419 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24421 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24422 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24423 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24424 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24425 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24426 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24427 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24428 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24429 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24430 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24431 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24432 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24433 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24434 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24435 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24436 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24437 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24438 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24439 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24440 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24441 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24442 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24443 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24444 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24445 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24446 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24447 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24448 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24449 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24450 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24451 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24452 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24453 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24454 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24455 (__isnanf): Likewise.
24456 (__isinf_ns): Likewise.
24457 (__isinf_nsf): Likewise.
24458 (__finite): Likewise.
24459 (__finitef): Likewise.
24460 (__ieee754_sqrt): Define as macro.
24461 (__ieee754_sqrtf): Define as macro.
24462 (__ieee754_sqrtl): Define as macro.
24463 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24464 inlined copy.
24465 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24466 __FINITE_MATH_ONLY__ consistent.
24467 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24468
12cc2fcd
AS
244692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24470
a843a204
AS
24471 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24472 of rawmemchr.
24473
12cc2fcd
AS
24474 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24475
c853acd5
UD
244762011-10-09 Ulrich Drepper <drepper@gmail.com>
24477
24478 * po/ja.po: Update from translation team.
24479
c658d255
RM
244802011-10-08 Roland McGrath <roland@hack.frob.com>
24481
110946e4
RM
24482 * locale/programs/locarchive.c (prepare_address_space): New function.
24483 (create_archive, enlarge_archive, open_archive): Use it.
24484
50604220
RM
24485 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24486 inside [SHARED], where it is used.
24487
c658d255
RM
24488 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24489
24490 * nss/getent.c (netgroup_keys): Remove unused variable.
24491 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24492
6a621eb7
UD
244932011-10-08 Ulrich Drepper <drepper@gmail.com>
24494
7edb55ce
UD
24495 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24496 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24498 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24499 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24500 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24501 * math/Makefile (libm-calls): Add s_isinf_ns.
24502 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24503 * math/multc3.c: Likewise.
24504 * math/s_casin.c: Likewise.
24505 * math/s_casinf.c: Likewise.
24506 * math/s_casinl.c: Likewise.
24507 * math/s_ccos.c: Likewise.
24508 * math/s_ccosf.c: Likewise.
24509 * math/s_ccosl.c: Likewise.
24510 * math/s_ctan.c: Likewise.
24511 * math/s_ctanf.c: Likewise.
24512 * math/s_ctanh.c: Likewise.
24513 * math/s_ctanhf.c: Likewise.
24514 * math/s_ctanhl.c: Likewise.
24515 * math/s_ctanl.c: Likewise.
24516 * math/w_fmod.c: Likewise.
24517 * math/w_fmodf.c: Likewise.
24518 * math/w_fmodl.c: Likewise.
24519 * math/w_remainder.c: Likewise.
24520 * math/w_remainderf.c: Likewise.
24521 * math/w_remainderl.c: Likewise.
24522 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24523 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24524 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24525 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24526 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24527 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24528 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24529 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24530
187da0ae
UD
24531 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24532 of the number.
24533 * stdio-common/printf_fphex.c: Likewise.
24534 * stdio-common/printf_size.c: Likewise.
24535
9277c064
UD
24536 * math/e_exp10.c: Include math_private.h using <...> not "...".
24537 * math/e_exp10f.c: Likewise.
24538 * math/e_exp10l.c: Likewise.
24539 * math/e_exp2l.c: Likewise.
24540 * math/e_j0l.c: Likewise.
24541 * math/e_j1l.c: Likewise.
24542 * math/e_jnl.c: Likewise.
24543 * math/e_lgammal_r.c: Likewise.
24544 * math/e_rem_pio2l.c: Likewise.
24545 * math/e_scalb.c: Likewise.
24546 * math/e_scalbf.c: Likewise.
24547 * math/e_scalbl.c: Likewise.
24548 * math/k_cosl.c: Likewise.
24549 * math/k_sinl.c: Likewise.
24550 * math/k_tanl.c: Likewise.
24551 * math/s_cacoshf.c: Likewise.
24552 * math/s_catan.c: Likewise.
24553 * math/s_catanf.c: Likewise.
24554 * math/s_catanh.c: Likewise.
24555 * math/s_catanhf.c: Likewise.
24556 * math/s_catanhl.c: Likewise.
24557 * math/s_catanl.c: Likewise.
24558 * math/s_ccosh.c: Likewise.
24559 * math/s_ccoshf.c: Likewise.
24560 * math/s_ccoshl.c: Likewise.
24561 * math/s_cexp.c: Likewise.
24562 * math/s_cexpf.c: Likewise.
24563 * math/s_cexpl.c: Likewise.
24564 * math/s_clog.c: Likewise.
24565 * math/s_clog10.c: Likewise.
24566 * math/s_clog10f.c: Likewise.
24567 * math/s_clog10l.c: Likewise.
24568 * math/s_clogf.c: Likewise.
24569 * math/s_clogl.c: Likewise.
24570 * math/s_csin.c: Likewise.
24571 * math/s_csinf.c: Likewise.
24572 * math/s_csinh.c: Likewise.
24573 * math/s_csinhf.c: Likewise.
24574 * math/s_csinhl.c: Likewise.
24575 * math/s_csinl.c: Likewise.
24576 * math/s_csqrt.c: Likewise.
24577 * math/s_csqrtf.c: Likewise.
24578 * math/s_csqrtl.c: Likewise.
24579 * math/s_ctan.c: Likewise.
24580 * math/s_ctanf.c: Likewise.
24581 * math/s_ctanh.c: Likewise.
24582 * math/s_ctanhf.c: Likewise.
24583 * math/s_ctanhl.c: Likewise.
24584 * math/s_ctanl.c: Likewise.
24585 * math/s_ldexp.c: Likewise.
24586 * math/s_ldexpf.c: Likewise.
24587 * math/s_ldexpl.c: Likewise.
24588 * math/s_significand.c: Likewise.
24589 * math/s_significandf.c: Likewise.
24590 * math/s_significandl.c: Likewise.
24591 * math/w_acos.c: Likewise.
24592 * math/w_acosf.c: Likewise.
24593 * math/w_acosh.c: Likewise.
24594 * math/w_acoshf.c: Likewise.
24595 * math/w_acoshl.c: Likewise.
24596 * math/w_acosl.c: Likewise.
24597 * math/w_asin.c: Likewise.
24598 * math/w_asinf.c: Likewise.
24599 * math/w_asinl.c: Likewise.
24600 * math/w_atan2.c: Likewise.
24601 * math/w_atan2f.c: Likewise.
24602 * math/w_atan2l.c: Likewise.
24603 * math/w_atanh.c: Likewise.
24604 * math/w_atanhf.c: Likewise.
24605 * math/w_atanhl.c: Likewise.
24606 * math/w_cosh.c: Likewise.
24607 * math/w_coshf.c: Likewise.
24608 * math/w_coshl.c: Likewise.
24609 * math/w_dremf.c: Likewise.
24610 * math/w_exp10.c: Likewise.
24611 * math/w_exp10f.c: Likewise.
24612 * math/w_exp10l.c: Likewise.
24613 * math/w_exp2.c: Likewise.
24614 * math/w_exp2f.c: Likewise.
24615 * math/w_fmod.c: Likewise.
24616 * math/w_fmodf.c: Likewise.
24617 * math/w_fmodl.c: Likewise.
24618 * math/w_hypot.c: Likewise.
24619 * math/w_hypotf.c: Likewise.
24620 * math/w_hypotl.c: Likewise.
24621 * math/w_j0.c: Likewise.
24622 * math/w_j0f.c: Likewise.
24623 * math/w_j0l.c: Likewise.
24624 * math/w_j1.c: Likewise.
24625 * math/w_j1f.c: Likewise.
24626 * math/w_j1l.c: Likewise.
24627 * math/w_jn.c: Likewise.
24628 * math/w_jnf.c: Likewise.
24629 * math/w_jnl.c: Likewise.
24630 * math/w_lgamma.c: Likewise.
24631 * math/w_lgamma_r.c: Likewise.
24632 * math/w_lgammaf.c: Likewise.
24633 * math/w_lgammaf_r.c: Likewise.
24634 * math/w_lgammal.c: Likewise.
24635 * math/w_lgammal_r.c: Likewise.
24636 * math/w_log.c: Likewise.
24637 * math/w_log10.c: Likewise.
24638 * math/w_log10f.c: Likewise.
24639 * math/w_log10l.c: Likewise.
24640 * math/w_log2.c: Likewise.
24641 * math/w_log2f.c: Likewise.
24642 * math/w_log2l.c: Likewise.
24643 * math/w_logf.c: Likewise.
24644 * math/w_logl.c: Likewise.
24645 * math/w_pow.c: Likewise.
24646 * math/w_powf.c: Likewise.
24647 * math/w_powl.c: Likewise.
24648 * math/w_remainder.c: Likewise.
24649 * math/w_remainderf.c: Likewise.
24650 * math/w_remainderl.c: Likewise.
24651 * math/w_scalb.c: Likewise.
24652 * math/w_scalbf.c: Likewise.
24653 * math/w_scalbl.c: Likewise.
24654 * math/w_sinh.c: Likewise.
24655 * math/w_sinhf.c: Likewise.
24656 * math/w_sinhl.c: Likewise.
24657 * math/w_sqrt.c: Likewise.
24658 * math/w_sqrtf.c: Likewise.
24659 * math/w_sqrtl.c: Likewise.
24660 * math/w_tgamma.c: Likewise.
24661 * math/w_tgammaf.c: Likewise.
24662 * math/w_tgammal.c: Likewise.
24663
6a621eb7
UD
24664 * po/ja.po: Update from translation team.
24665
bf582445
AJ
246662011-09-29 Andreas Jaeger <aj@suse.de>
24667
f9efbf3a
AJ
24668 [BZ #13179]
24669 * sunrpc/netname.c (netname2host): Fix logic.
24670
bf582445
AJ
24671 [BZ #6779]
24672 [BZ #6783]
24673 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24674 correctly.
24675 * math/w_remainder.c (__remainder): Likewise.
24676 * math/w_remainderf.c (__remainderf): Likewise.
24677 * math/libm-test.inc (remainder_test): Add test cases.
24678
48693bea
AK
246792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24680
24681 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24682 sdiv_qrnnd.
24683
42622229
LD
246842011-10-07 Ulrich Drepper <drepper@gmail.com>
24685
24686 * string/test-memcmp.c: Avoid unncessary #defines.
24687 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24688
093ecf92
LD
246892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24690
24691 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24692 Use new sse2 version for core i3 - i7 as it's faster
24693 than sse42 version.
24694 (bit_Prefer_PMINUB_for_stringop): New.
24695 * sysdeps/x86_64/rawmemchr.S: Update.
24696 Replace with faster SSE2 version.
24697 * sysdeps/x86_64/memrchr.S: New file.
24698 * sysdeps/x86_64/memchr.S: Update.
24699 Replace with faster SSE2 version.
24700
fde56e5c
MP
247012011-09-12 Marek Polacek <mpolacek@redhat.com>
24702
24703 * elf/dl-load.c (lose): Add cast to avoid warning.
24704
21fd49a9
UD
247052011-10-07 Ulrich Drepper <drepper@gmail.com>
24706
5a06e643
UD
24707 * po/ca.po: Update from translation team.
24708
684ae515
UD
24709 * inet/getnetgrent_r.c: Hook up nscd.
24710 * nscd/Makefile (routines): Add nscd_netgroup.
24711 (nscd-modules): Add netgroupcache.
24712 (CFLAGS-netgroupcache.c): Define.
24713 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24714 (cache_search): Add const to second parameter.
24715 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24716 INNETGR.
24717 (dbs): Add netgrdb entry.
24718 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24719 (verify_persistent_db): Handle netgrdb.
24720 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24721 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24722 GETFDNETGR.
24723 (netgroup_response_header): Define.
24724 (innetgroup_response_header): Define.
24725 (datahead): Add netgroup_response_header and innetgroup_response_header
24726 elements.
24727 * nscd/nscd.conf: Add entries for netgroup cache.
24728 * nscd/nscd.h (dbtype): Add netgrdb.
24729 (_PATH_NSCD_NETGROUP_DB): Define.
24730 (netgroup_iov_disabled): Declare.
24731 (xmalloc, xcalloc, xrealloc): Move declarations here.
24732 (cache_search): Adjust prototype.
24733 Add netgroup-related prototypes.
24734 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24735 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24736 (__nscd_innetgr): Declare.
24737 * nscd/selinux.c (perms): Use access_vector_t as element type and
24738 add netgroup-related initializers.
24739 * nscd/netgroupcache.c: New file.
24740 * nscd/nscd_netgroup.c: New file.
24741 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24742 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24743 For four parameters use innetgr.
24744 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24745 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24746 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24747 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24748
21fd49a9
UD
24749 * nscd/connections.c (register_traced_file): Don't register file
24750 for disabled databases.
24751
054c0457
UD
247522011-10-06 Ulrich Drepper <drepper@gmail.com>
24753
32b63198
UD
24754 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24755
054c0457
UD
24756 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24757 from tree and freeing node.
24758
64031225
JO
247592011-09-25 Jiri Olsa <jolsa@redhat.com>
24760
24761 * nss/nsswitch.c (__nss_database_lookup): Handle
24762 nss_parse_service_list out of memory case.
24763
0490345c
JO
247642011-09-15 Jiri Olsa <jolsa@redhat.com>
24765
24766 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24767 out of memory case.
24768
3a62d00d
AS
247692011-10-04 Andreas Schwab <schwab@redhat.com>
24770
24771 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24772 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24773 pass it down.
24774 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24775 elf_machine_rela, elf_machine_lazy_rel.
24776 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24777 (ELF_DYNAMIC_DO_REL): Likewise.
24778 (ELF_DYNAMIC_DO_RELA): Likewise.
24779 (ELF_DYNAMIC_RELOCATE): Likewise.
24780 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24781 to ELF_DYNAMIC_DO_REL.
24782 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24783 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24784 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24785 elf_machine_rela.
24786 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24787 skip_ifunc, don't call ifunc function if non-zero.
24788 (elf_machine_rela): Likewise.
24789 (elf_machine_lazy_rel): Likewise.
24790 (elf_machine_lazy_rela): Likewise.
24791 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24792 (elf_machine_lazy_rel): Likewise.
24793 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24794 Likewise.
24795 (elf_machine_lazy_rel): Likewise.
24796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24797 Likewise.
24798 (elf_machine_lazy_rel): Likewise.
24799 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24800 (elf_machine_lazy_rel): Likewise.
24801 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24802 (elf_machine_lazy_rel): Likewise.
24803 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24804 (elf_machine_lazy_rel): Likewise.
24805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24806 (elf_machine_lazy_rel): Likewise.
24807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24808 (elf_machine_lazy_rel): Likewise.
24809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24810 (elf_machine_lazy_rel): Likewise.
24811
68577918
UD
248122011-09-28 Ulrich Drepper <drepper@gmail.com>
24813
24814 * nss/nss_files/files-init.c (_nss_files_init): Use static
24815 initialization for all the *_traced_file variables.
24816
68822d74
AS
248172011-09-28 Andreas Schwab <schwab@redhat.com>
24818
24819 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24820
2056100b
RM
248212011-09-27 Roland McGrath <roland@hack.frob.com>
24822
24823 [BZ #13226]
24824 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24825
32c76b63
AS
248262011-09-27 Andreas Schwab <schwab@redhat.com>
24827
24828 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24829 Reread the line before reparsing it.
24830
bf972c9d
AS
248312011-09-26 Andreas Schwab <schwab@redhat.com>
24832
24833 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24834
e057a1b5
JM
248352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24836 Maxim Kuvyrkov <maxim@codesourcery.com>
24837 Joseph Myers <joseph@codesourcery.com>
24838
24839 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24840 if needed for __stack_chk_guard.
24841
bc7e1c36
RM
248422011-09-19 Roland McGrath <roland@hack.frob.com>
24843
ecb1482f
RM
24844 * sysdeps/posix/spawni.c (script_execute): Always define it.
24845 It will be optimized away if unused.
24846 (maybe_script_execute): New function.
24847 (__spawni): Call it.
24848
bc7e1c36
RM
24849 * Makerules: Don't include tls.make.
24850 (config-tls): Always set to thread.
24851 * tls.make.c: File removed.
24852
1c3b002b
MF
248532011-09-19 Mike Frysinger <vapier@gentoo.org>
24854
24855 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24856 * config.make.in (CPPFLAGS-config): New substituted variable.
24857
2840865d
UD
248582011-09-15 Ulrich Drepper <drepper@gmail.com>
24859
88738eb6
UD
24860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24861
cbf645a6 24862 [BZ #13192]
2840865d
UD
24863 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24864 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24865
b402e91a
RM
248662011-09-15 Roland McGrath <roland@hack.frob.com>
24867
24868 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24869 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24871 (CALL_FAIL): Likewise.
24872 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24873 (CALL_FAIL): Macro removed.
24874 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24875
4c1a1f71
UD
248762011-09-15 Ulrich Drepper <drepper@gmail.com>
24877
24878 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24879 for __FINITE_MATH_ONLY__ == 1.
24880
edc121be
AS
248812011-09-15 Andreas Schwab <schwab@redhat.com>
24882
24883 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24884 __ieee754_sqrt instead of sqrt.
24885 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24886 __ieee754_sqrtf instead of sqrtf.
24887 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24888 __floorf instead of floorf.
24889 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24890 __floorf, __truncf instead of floorf, truncf.
24891
cd205654
UD
248922011-09-14 Ulrich Drepper <drepper@gmail.com>
24893
ee4d0315
UD
24894 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24895
cd205654
UD
24896 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24897 __extern_always_inline.
24898 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24899 32-bit.
24900
48b67d71
AS
249012011-09-14 Andreas Schwab <schwab@redhat.com>
24902
24903 * elf/rtld.c (dl_main): Also relocate in dependency order when
24904 doing symbol dependency testing.
24905
1ae12c75
AS
249062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24907
24908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24909 Always define `refsym'.
24910
995a80df
AS
249112011-09-13 Andreas Schwab <schwab@redhat.com>
24912
e529793b
AS
24913 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24914 (__FD_ELT): Renamed from __FDELT.
24915 * misc/bits/select2.h (__FD_ELT): Likewise.
24916 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24917 __FD_MASK instead of __FDELT, __FDMASK.
24918 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24919 Likewise.
24920 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24921 Likewise.
24922
52d4fef8
AS
24923 * elf/Makefile (gen-ldd): Fix pattern.
24924
995a80df
AS
24925 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24926 (init_tls): Likewise.
24927
8682f8b0
UD
249282011-09-12 Ulrich Drepper <drepper@gmail.com>
24929
24930 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24931
de82006d
AS
249322011-09-12 Andreas Schwab <schwab@redhat.com>
24933
a7c8e6a1
AS
24934 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24935 `struct cmsghdr *' instead of `void *'.
24936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24937 Likewise.
24938
0f31fe77
AS
249392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24940
24941 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24942 if non-absolute.
24943 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24944 ldd_rewrite_script.
0f31fe77 24945
32b4c839
UD
249462011-09-11 Ulrich Drepper <drepper@gmail.com>
24947
83cd1420
UD
24948 * configure.in: Remove --with-tls option.
24949 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24950 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24951 out in case it is missing.
24952 * sysdeps/ia64/elf/configure.in: Likewise.
24953 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24954 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24955 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24956 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24957 * sysdeps/sh/elf/configure.in: Likewise.
24958 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24959 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24960 * sysdeps/x86_64/elf/configure.in: Likewise.
24961 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24962 * sysdeps/mach/hurd/tls.h: Likewise.
24963
633f745d
UD
24964 [BZ #13067]
24965 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24966
f318beb8
UD
24967 [BZ #13090]
24968 * configure.in: Fix use of AC_INIT.
24969
32b4c839
UD
24970 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24971
3ce1f295
UD
249722011-09-10 Ulrich Drepper <drepper@gmail.com>
24973
bb016596
UD
24974 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24975 __set_errno.
8e58439c
UD
24976 * malloc/hooks.c: Likewise.
24977
aebae053 24978 [BZ #11929]
02d46fc4
UD
24979 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24980 variables statically.
24981 (narenas): Initialize.
24982 (list_lock): Initialize.
bb016596
UD
24983 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24984 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24985 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24986 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24987 Add initializers to main_arena and mp_.
24988 (malloc_state): Remove pagesize member. Change all users to use
24989 GLRO(dl_pagesize).
24990
24991 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24992 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24993 is always initialized.
24994
22a89187
UD
24995 * malloc/malloc.c: Removed unused configurations and dead code.
24996 * malloc/arena.c: Likewise.
24997 * malloc/hooks.c: Likewise.
02d46fc4 24998 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24999
d063d164
UD
25000 * include/tls.h: Removed. USE___THREAD must always be defined.
25001 * bits/libc-tsd.h: Don't handle !USE___THREAD.
25002 * elf/dl-libc.c: Likewise.
25003 * elf/dl-tsd.c: Likewise.
25004 * include/errno.h: Likewise.
25005 * include/netdb.h: Likewise.
25006 * include/resolv.h: Likewise.
25007 * inet/herrno-loc.c: Likewise.
25008 * inet/herrno.c: Likewise.
25009 * malloc/arena.c: Likewise.
25010 * malloc/hooks.c: Likewise.
25011 * malloc/malloc.c: Likewise.
25012 * resolv/res-state.c: Likewise.
25013 * resolv/res_libc.c: Likewise.
25014 * sysdeps/i386/dl-machine.h: Likewise.
25015 * sysdeps/ia64/dl-machine.h: Likewise.
25016 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25017 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25018 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25019 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25020 * sysdeps/sh/dl-machine.h: Likewise.
25021 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25022 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25023 * sysdeps/unix/i386/sysdep.S: Likewise.
25024 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25025 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25027 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25028 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25030 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25034 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25035 * sysdeps/x86_64/dl-machine.h: Likewise.
25036 * tls.make.c: Likewise.
25037
3ce1f295
UD
25038 * configure.in: Remove --with-__thread option. Make tests for
25039 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25040 tls_model attribute fail if no support is available. Remove
25041 USE_IN_LIBIO.
25042 * Makeconfig: Adjust for dropped configure option. All features are
25043 now mandatory.
25044 * Makerules: Likewise.
25045 * Versions.def: Likewise.
25046 * argp/argp-fmtstream.c: Likewise.
25047 * argp/argp-fmtstream.h: Likewise.
25048 * argp/argp-help.c: Likewise.
25049 * assert/assert.c: Likewise.
25050 * config.h.in: Likewise.
25051 * config.make.in: Likewise.
25052 * configure: Likewise.
25053 * configure.in: Likewise.
25054 * csu/Versions: Likewise.
25055 * csu/init.c: Likewise.
25056 * elf/tst-audit2.c: Likewise.
25057 * elf/tst-tls10.c: Likewise.
25058 * elf/tst-tls10.h: Likewise.
25059 * elf/tst-tls11.c: Likewise.
25060 * elf/tst-tls12.c: Likewise.
25061 * elf/tst-tls14.c: Likewise.
25062 * elf/tst-tlsmod11.c: Likewise.
25063 * elf/tst-tlsmod12.c: Likewise.
25064 * elf/tst-tlsmod13.c: Likewise.
25065 * elf/tst-tlsmod13a.c: Likewise.
25066 * elf/tst-tlsmod14a.c: Likewise.
25067 * elf/tst-tlsmod15b.c: Likewise.
25068 * elf/tst-tlsmod16a.c: Likewise.
25069 * elf/tst-tlsmod16b.c: Likewise.
25070 * elf/tst-tlsmod7.c: Likewise.
25071 * elf/tst-tlsmod8.c: Likewise.
25072 * elf/tst-tlsmod9.c: Likewise.
25073 * gmon/gmon.c: Likewise.
25074 * grp/fgetgrent_r.c: Likewise.
25075 * grp/putgrent.c: Likewise.
25076 * hurd/fopenport.c: Likewise.
25077 * include/libc-symbols.h: Likewise.
25078 * include/tls.h: Likewise.
25079 * intl/gettextP.h: Likewise.
25080 * intl/loadinfo.h: Likewise.
25081 * locale/global-locale.c: Likewise.
25082 * locale/localeinfo.h: Likewise.
25083 * mach/devstream.c: Likewise.
25084 * malloc/arena.c: Likewise.
25085 * malloc/set-freeres.c: Likewise.
25086 * misc/err.c: Likewise.
25087 * misc/getttyent.c: Likewise.
25088 * misc/mntent_r.c: Likewise.
25089 * posix/getopt.c: Likewise.
25090 * posix/wordexp.c: Likewise.
25091 * pwd/fgetpwent_r.c: Likewise.
25092 * resolv/Versions: Likewise.
25093 * resolv/res_hconf.c: Likewise.
25094 * shadow/fgetspent_r.c: Likewise.
25095 * shadow/putspent.c: Likewise.
25096 * stdio-common/printf_fphex.c: Likewise.
25097 * stdio-common/tmpfile.c: Likewise.
25098 * stdlib/abort.c: Likewise.
25099 * stdlib/fmtmsg.c: Likewise.
25100 * sunrpc/auth_unix.c: Likewise.
25101 * sunrpc/clnt_perr.c: Likewise.
25102 * sunrpc/clnt_tcp.c: Likewise.
25103 * sunrpc/clnt_udp.c: Likewise.
25104 * sunrpc/clnt_unix.c: Likewise.
25105 * sunrpc/openchild.c: Likewise.
25106 * sunrpc/svc_simple.c: Likewise.
25107 * sunrpc/svc_tcp.c: Likewise.
25108 * sunrpc/svc_udp.c: Likewise.
25109 * sunrpc/svc_unix.c: Likewise.
25110 * sunrpc/xdr.c: Likewise.
25111 * sunrpc/xdr_array.c: Likewise.
25112 * sunrpc/xdr_rec.c: Likewise.
25113 * sunrpc/xdr_ref.c: Likewise.
25114 * sunrpc/xdr_stdio.c: Likewise.
25115
1248c1c4
PB
251162011-09-09 Ulrich Drepper <drepper@gmail.com>
25117
25118 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25119
251202011-07-03 Andreas Jaeger <aj@suse.de>
25121
25122 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25123 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25124 regenerate with gen-libm-tests.pl.
25125
251262010-05-12 Petr Baudis <pasky@suse.cz>
25127
25128 [BZ #11589]
25129 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25130 around j0() zero points by switching to j1().
25131 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25132 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25134 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25135
f22e1074
UD
251362011-09-09 Ulrich Drepper <drepper@gmail.com>
25137
f19009c1
UD
25138 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25139 instead of 0.
25140 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 25141 instead of 0.
f19009c1
UD
25142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25143 Patch in part by Pavel Roskin <proski@gnu.org>.
25144
3f8cc204
UD
25145 [BZ #13138]
25146 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25147 realloc.
25148 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
25149 Free memory block if necessary.
25150
f22e1074
UD
25151 [BZ #12847]
25152 * libio/genops.c (INTDEF): For string streams the _lock pointer can
25153 be NULL. Don't lock in this case.
25154
0a2349f9
RM
251552011-09-09 Roland McGrath <roland@hack.frob.com>
25156
25157 * elf/elf.h (ELFOSABI_GNU): New macro.
25158 (ELFOSABI_LINUX): Define to that.
25159
f3cdd467
DZ
251602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
25161
25162 * string/strncat.c (strncat): Undef the symbol in case it has been
25163 defined in bits/string.h.
25164
74718d13
UD
251652011-09-09 Ulrich Drepper <drepper@gmail.com>
25166
633e9e0f
UD
25167 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25168
0a2349f9 25169 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
25170 link map.
25171
f9924780
AJ
251722011-08-17 Andreas Jaeger <aj@suse.de>
25173
25174 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25175
7f5517aa
PP
251762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25177 Ian Lance Taylor <iant@google.com>
25178
25179 * math/libm-test.inc (lround_test): New testcase.
25180 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25181
762011fe
UD
251822011-09-08 Ulrich Drepper <drepper@gmail.com>
25183
92963737
UD
25184 * Makefile: Remove support for automatic cvs check-ins.
25185 * Makerules: Likewise.
25186 * config.make.in: Likewise.
25187 * configure.in: Likewise.
25188 * intl/Makefile: Likewise.
25189 * locale/Makefile: Likewise.
25190 * po/Makefile: Likewise.
25191 * posix/Makefile: Likewise.
25192 * sysdeps/gnu/Makefile: Likewise.
25193 * sysdeps/mach/hurd/Makefile: Likewise.
25194 * sysdeps/sparc/sparc32/Makefile: Likewise.
25195
b0727fd8
JS
25196 [BZ #13118]
25197 * posix/Makefile (bug-regex32-ENV): Define.
25198 Patch by John Stanley <jpsinthemix@verizon.net>.
25199
a0f33f99
UD
25200 * misc/Makefile (headers): Add bits/select2.h.
25201 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25202 * misc/bits/select2.h: New file.
25203 * include/bits/select2.h: New file.
25204 * debug/Makefile (routines): Add fdelt_chk.
25205 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25206 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25207 FD_ISSET.
25208 * debug/fdelt_chk.c: New file.
25209
762011fe
UD
25210 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25211 * wcsmbs/test-wmemcmp.c: Likewise.
25212 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 25213 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
25214
252152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25216
25217 * string/Makefile (strop-tests): Add memcmp.
25218 * string/test-wmemcmp.c: New file.
25219 * string/test-memcmp.c: Add wmemcmp support.
25220
7f513ec8
RM
252212011-09-08 Roland McGrath <roland@hack.frob.com>
25222
0442afb4
RM
25223 [BZ #13153]
25224 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25225 2011-07-19 change.
25226
7f513ec8
RM
25227 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25228 garbage value in a __mach_port_mod_refs call in the cases of the
25229 task-self and thread-self ports.
25230
a12b2239
ST
252312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25232
25233 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25234
610f9ab4
AS
252352011-09-08 Andreas Schwab <schwab@redhat.com>
25236
7f513ec8 25237 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 25238
48882a1a
LD
252392011-09-07 Ulrich Drepper <drepper@gmail.com>
25240
b49865be
UD
25241 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25242
fdc86bc9
UD
25243 * elf/dl-libc.c (dlerror_run): Pass back error code from
25244 dl_catch_error.
25245
c966526a
UD
25246 [BZ #13123]
25247 * elf/dl-load.c (lose): Free l_origin if it is valid.
25248
48882a1a
LD
25249 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25250 names.
25251 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25252 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25253 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25254 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25255 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25256 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25257
77a2a8b4
AZ
252582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25259
25260 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25261 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25262 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25263 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25264 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25265 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25266 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25267 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25268 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25269 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25270
24f579d8
AM
252712011-08-15 Alan Modra <amodra@gmail.com>
25272
25273 [BZ #13092]
25274 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25275 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25276 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25277 ppc_mcount to static-only-routines.
25278 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25279 __mcount_internal.
25280 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25281 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25282
3d4837df
UD
252832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25284
25285 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25286 for finite and infinity parameters.
25287
22700377
WS
252882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25289
25290 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25291 and add nop instructions for throughput optimization.
25292 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25293
5025581e
WS
252942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25295
25296 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25297 aligned copy for power7 with vector-scalar instructions.
25298 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25299
08a300c9
L
253002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25301
25302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25303 AVX check.
25304
59178ef9
AS
253052011-09-07 Andreas Schwab <schwab@redhat.com>
25306
25307 [BZ #13144]
25308 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25309 last change.
25310
e38ba7ab
UD
253112011-09-07 Ulrich Drepper <drepper@gmail.com>
25312
25313 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25314 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25315 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25316 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25317 clock_gettime.
25318
d53a73ac
UD
253192011-09-06 Ulrich Drepper <drepper@gmail.com>
25320
fc8bffcc
UD
25321 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25322 Forgot to demangle the pointer.
25323
ceaa0c5d
UD
25324 * sysdeps/i386/sysdep.h: Define atom_text_section.
25325 * sysdeps/x86_64/sysdep.h: Likewise.
25326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25327 section with atom_text_section.
25328 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25329 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25330 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25332 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25333
a77d3c17
UD
25334 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25335 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25336 already be defined. Change to take two parameters and don't assign
25337 result to variable. Adjust all users.
25338 Define INTERNAL_GETTIME if not already defined.
25339 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25340 call.
25341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25342 HAVE_CLOCK_GETTIME_VSYSCALL.
25343 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25344
d53a73ac
UD
25345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25346 gettimeofday vsyscall, just use time.
25347
a8f84144
AS
253482011-09-06 Andreas Schwab <schwab@redhat.com>
25349
25350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25351 <errno.h>.
25352
ef606249
UD
253532011-09-06 Ulrich Drepper <drepper@gmail.com>
25354
25355 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25356 syscall on x86-64.
25357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25358 syscall.
25359 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25360 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25361 syscall if possible.
25362
6585cb60
UD
253632011-09-05 Ulrich Drepper <drepper@gmail.com>
25364
25365 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25366 e_ident. Don't pass to find_mapsXX.
25367 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25368
a5f524e4
LD
253692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25370
25371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25372 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25373 * sysdeps/x86_64/multiarch/strchr.S: Update.
25374 Check bit_slow_BSF bit.
25375 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25376 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25377 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25378
554881ef
UD
253792011-09-05 Ulrich Drepper <drepper@gmail.com>
25380
d96de963
UD
25381 [BZ #13134]
25382 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25383 before glibc 2.15.
25384 (tryshell): Define.
25385 (__spawni): Change last parameter to be flag. Test
25386 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25387 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25388 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25389 * posix/spawni.c: Likewise.
25390 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25391 * posix/spawnp.c: Likewise. Change normal version to use
25392 SPAWN_XFLAGS_USE_PATH.
25393 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25394 SPAWN_XFLAGS_TRY_SHELL.
25395
d48e5868
UD
25396 [BZ #13150]
25397 * posix/glob.h: Remove gcc 1.x support.
25398
554881ef
UD
25399 [BZ #13068]
25400 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25401
693fb948
LD
254022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25403
25404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25405 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25406 strrchr-sse2-bsf
25407 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25408 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25409 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25410 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25411 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25412 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25413
1b48c537
UD
254142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25415
49d42c37
UD
25416 * sysdeps/x86_64/wcscmp.S: New file.
25417
1b48c537
UD
25418 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25419 wcscmp-c wcscmp-sse2
25420 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25421 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25422 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25423 * wcsmbs/wcscmp.c: Allow renaming.
25424
15c95c5d
DM
254252011-09-05 David S. Miller <davem@davemloft.net>
25426
25427 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25428 stack slot, rather than the struct return pointer slot.
25429 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25430 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25432 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25433
2f0ad8f3
UD
254342011-09-05 Ulrich Drepper <drepper@gmail.com>
25435
d88ae418
UD
25436 * po/ja.po: Update from translation team.
25437
2f0ad8f3
UD
25438 [BZ #13144]
25439 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25440 kernel in 64-bit binaries.
25441
5f4318d1
DM
254422011-09-01 David S. Miller <davem@davemloft.net>
25443
25444 * elf/elf.h (HWCAP_SPARC_*): Move to..
25445 * sysdeps/sparc/sysdep.h: this new file and add new values.
25446 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25447 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25448 _DL_HWCAP_COUNT to 24.
25449 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25450 entries.
25451 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25452 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25453 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25455 instead of magic constants.
25456 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25457
3ba57516
DM
254582011-08-31 David S. Miller <davem@davemloft.net>
25459
25460 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25462 Reimplement to do errno handling inline.
25463 (SYSCALL_ERROR_HANDLER): New macro.
25464 (__SYSCALL_STRING): Do not do errno handling in asm.
25465 (__CLONE_SYSCALL_STRING): Delete.
25466 (__INTERNAL_SYSCALL_STRING): Delete.
25467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25468 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25469 (PSEUDO): Reimplement to do errno handling inline.
25470 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25471 (SYSCALL_ERROR_HANDLER): New macro.
25472 (__SYSCALL_STRING): Do not do errno handling in asm.
25473 (__CLONE_SYSCALL_STRING): Delete.
25474 (__INTERNAL_SYSCALL_STRING): Delete.
25475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25476 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25477 i386.
25478 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25479 (inline_syscall*): Add 'err' argument.
25480 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25481 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25482 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25483 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25484
25485 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25486 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25487
2bc17433
AS
254882011-08-30 Andreas Schwab <schwab@redhat.com>
25489
25490 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25491
fbeb5f4d
JO
254922011-08-29 Jiri Olsa <jolsa@redhat.com>
25493
25494 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25495 directive.
25496
ad69cc26
DM
254972011-08-24 David S. Miller <davem@davemloft.net>
25498
25499 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25500
39dd69df
AS
255012011-08-24 Andreas Schwab <schwab@redhat.com>
25502
25503 * elf/Makefile: Add rules to build and run unload8 test.
25504 * elf/unload8.c: New file.
25505 * elf/unload8mod1.c: New file.
25506 * elf/unload8mod1x.c: New file.
25507 * elf/unload8mod2.c: New file.
25508 * elf/unload8mod3.c: New file.
25509
25510 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25511 it wasn't used.
25512
2c0b250a
DM
255132011-08-23 David S. Miller <davem@davemloft.net>
25514
25515 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25516 subtract stack bias.
25517 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25518 %sp not %fp in calculations.
25519 (_JMPBUF_UNWINDS_ADJ): Likewise.
25520
22044b48
DM
25521 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25522 (aio_suspend): Call it to force an exception region around the
25523 AIO_MISC_WAIT() invocation.
25524
2cae4995
AS
255252011-08-23 Andreas Schwab <schwab@redhat.com>
25526
25527 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25528 backslash.
25529
873a772e
AJ
255302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25531
25532 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25533 protection macro.
25534 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25535 and <dl-machine.h>.
25536 (Elf64_FuncDesc): Remove.
25537
25ad0df1
DM
255382011-08-22 David S. Miller <davem@davemloft.net>
25539
25540 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25541 sigaltstack check, add missing cfi directives.
25542 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25543 missing cfi directives, and sigaltstack handling.
25544
e888bcbe
AS
255452011-08-16 Andreas Schwab <schwab@redhat.com>
25546
25547 [BZ #11724]
25548 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25549 object is seen twice.
25550 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25551
25552 * elf/Makefile (distribute): Add tst-initorder2.c.
25553 (tests): Add tst-initorder2.
25554 (modules-names): Add tst-initorder2a tst-initorder2b
25555 tst-initorder2c tst-initorder2d. Add rules to build them.
25556 ($(objpfx)tst-initorder2.out): New rule.
25557 * elf/tst-initorder2.c: New file.
25558 * elf/tst-initorder2.exp: New file.
25559
87162f46
AS
255602011-08-22 Andreas Schwab <schwab@redhat.com>
25561
70538b7f
AS
25562 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25563
f55ffe58
AS
25564 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25565 dependencies back to end of function.
25566
87162f46
AS
25567 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25568 $(elfobjdir)/ld.so.
25569
91b392a4
UD
255702011-08-21 Ulrich Drepper <drepper@gmail.com>
25571
25572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25573 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25575 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25576 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25577 of __vdso_gettimeofday.
25578 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25579 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25580 attribute_hidden.
25581 (_libc_vdso_platform_setup): Remove initialization of
25582 __vdso_gettimeofday and __vdso_time.
25583
5c43483f
UD
255842011-08-20 Ulrich Drepper <drepper@gmail.com>
25585
775a77e7
UD
25586 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25587 and fgetc_unlocked.
25588 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25589 getc_unlocked.
89f447ed 25590
49c74ba9
UD
25591 * elf/dl-open.c (add_to_global): Report additions to the global scope
25592 for LD_DEBUG=scopes.
25593 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 25594 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 25595
5c43483f
UD
25596 [BZ #13114]
25597 * stdio-common/Makefile (tests): Add bug24.
25598 * stdio-common/bug24.c: New file.
25599
a101b025
AJ
256002011-08-19 Andreas Jaeger <aj@suse.de>
25601
25602 [BZ #13114]
25603 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25604 non-existant file when using close-on-exec mode.
25605
c88f1766
UD
256062011-08-20 Ulrich Drepper <drepper@gmail.com>
25607
0276a718
UD
25608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25609 the very first instruction.
25610
c88f1766
UD
25611 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25612 the CFI state in the end.
25613 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25614 inclusion of dl-trampoline.h.
25615 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25616
51ccffa0
AS
256172011-08-19 Andreas Schwab <schwab@redhat.com>
25618
94d7165f
AS
25619 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25620 expectations for long double.
25621
51ccffa0
AS
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25623 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25624
fd708658 256252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
25626
25627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25628 artificual limit depends upon the system page size.
25629
44f0a71e
UD
256302011-08-17 Ulrich Drepper <drepper@gmail.com>
25631
25632 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25633 * resolv/Makefile: Define CFLAGS-libresolv.
25634
8de79a24
AS
256352011-08-17 Andreas Schwab <schwab@redhat.com>
25636
25637 * nss/makedb.c (compute_tables): Make variables used in nested
25638 function static.
25639
27724598
UD
256402011-08-17 Ulrich Drepper <drepper@gmail.com>
25641
c5305d88
UD
25642 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25643 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25644 if buffer was too small.
25645
27724598
UD
25646 * elf/pldd.c (main): Attach to all threads in the process.
25647 Rewrite /proc handling to use *at functions.
25648
076fe015
UD
256492011-08-16 Ulrich Drepper <drepper@gmail.com>
25650
174baab3
UD
25651 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25652 specifies first scope to show.
25653 (dl_open_worker): Update callers. Move printing scope of new
25654 object to before the relocation.
44f0a71e 25655 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
25656 * sysdeps/generic/ldsodefs.h: Update declaration.
25657
076fe015
UD
25658 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25659 string for the scope number.
25660
a60df2c3
UD
256612011-08-14 Ulrich Drepper <drepper@gmail.com>
25662
25663 * nscd/servicescache.c (cache_addserv): Make sure written is always
25664 initialized.
25665
5e4287d1
RM
256662011-08-14 Roland McGrath <roland@hack.frob.com>
25667
85ae0589
RM
25668 * sysdeps/i386/i486/bits/atomic.h
25669 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25670 statement expression, so as to suppress "set but not used" warning.
25671 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25672
69f63097
RM
25673 * string/strncat.c (STRNCAT): Use prototype definition.
25674
675456ef
RM
25675 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25676 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25677 -Iprograms here.
25678 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25679 (localedef-modules): Add localedef.
25680 (locale-modules): Add locale.
25681
5e4287d1
RM
25682 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25683 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25684 to avoid a warning.
25685
9c96ff23
DM
256862011-08-14 David S. Miller <davem@davemloft.net>
25687
25688 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25689 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25690
f9ddf089
UD
256912011-08-13 Ulrich Drepper <drepper@gmail.com>
25692
44f0a71e 25693 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
25694 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25695 * elf/rtld.c (dl_main): Set l_name of vDSO.
25696 Call _dl_show_scope when DL_DEBUG_SCOPES.
25697 (process_dl_debug): Recognize scopes flag and also set it for all.
25698 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25699 Declare _dl_show_scope.
25700
1dc27704
UD
25701 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25702 (do_dlopen): Pass caller_dlopen to dl_open.
25703 (__libc_dlopen_mode): Initialize caller_dlopen.
25704
f9ddf089
UD
25705 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25706 of libc. Make tolower call locale-independent. Optimize a bit by
25707 using isdigit instead of isalnum.
25708 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25709
9ac533d3
UD
257102011-08-12 Ulrich Drepper <drepper@gmail.com>
25711
25712 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25713 was a dependency or dynamically loaded.
25714
89edf2e9
UD
257152011-08-11 Ulrich Drepper <drepper@gmail.com>
25716
8e999d29
UD
25717 * intl/l10nflist.c: Allow architecture-specific pop function.
25718 * sysdeps/x86_64/l10nflist.c: New file.
25719
89edf2e9
UD
25720 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25721 classification.
25722
14d96785
AS
257232011-08-10 Andreas Schwab <schwab@redhat.com>
25724
25725 * include/dirent.h: Add libc_hidden_proto for scandirat and
25726 scandirat64. Don't declare __scandirat64.
25727 * dirent/scandirat.c: Add libc_hidden_def.
25728 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25729 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25730
6761ac04
DM
257312011-08-10 David S. Miller <davem@davemloft.net>
25732
25733 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25734 enum.
25735 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25736 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25737 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25738
c55fbd1e
UD
257392011-08-09 Ulrich Drepper <drepper@gmail.com>
25740
25741 * Versions.def [libc]: Add GLIBC_2.15.
25742 * dirent/Makefile (routines): Add scandirat and scandirat64.
25743 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25744 GLIBC_2.15.
25745 * dirent/dirent.h: Declare scandirat and scandirat64.
25746 * dirent/scandirat.c: New file.
25747 * dirent/scandirat64.c: New file.
25748 * sysdeps/wordsize-64/scandirat.c: New file.
25749 * sysdeps/wordsize-64/scandirat64.c: New file.
25750 * dirent/opendir.c: Define opendirat.
25751 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25752 using scandirat.
25753 * dirent/scandir64.c: Adjust for scandir.c change.
25754 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25755 __scandirat64, and __scandir_cancel_handler.
25756 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25757 additional parameter and use openat instead of open (outside of ld.so).
25758 Add new __opendir as wrapper around __opendirat.
25759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25760 here without requiring old scandirat implementation.
25761
879165f2
UD
257622011-08-08 Ulrich Drepper <drepper@gmail.com>
25763
25764 * dirent/scandir.c (cancel_handler): Renamed to
25765 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25766 defined. Adjust users.
25767 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25768 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25769
cb7e923b
UD
257702011-08-04 Ulrich Drepper <drepper@gmail.com>
25771
16292edd
UD
25772 * string/test-string.h (IMPL): Use __STRING to expand name and then
25773 stringify it.
25774
cb7e923b
UD
25775 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25776 of cleanups.
25777
cff82933
LD
257782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25779
25780 * string/Makefile: Update.
25781 (strop-tests): Append strncat.
25782 * string/test-wcscmp.c: New file.
25783 New comprehensive test for wcscmp.
25784 * string/test-strcmp.c: Update.
25785 (WIDE): New define.
25786
9be9bfcc
AS
257872011-07-22 Andreas Schwab <schwab@redhat.com>
25788
25789 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25790 line.
25791
2e96f1c7
AS
257922011-07-26 Andreas Schwab <schwab@redhat.com>
25793
25794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25795 encoding to ACE if AI_IDN.
25796
85188888
JJ
257972011-08-01 Jakub Jelinek <jakub@redhat.com>
25798
25799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25800 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25801
5fa16e9b
LD
258022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25803
25804 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25805 Fix overflow bug in strncat.
25806 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25807
25808 * string/test-strncat.c: Update.
25809 Add new tests for checking overflow bugs.
25810
258112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25812
25813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25814 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25815 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25816 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25817 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25818 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25819 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25820 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25821 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25822
25823 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25824 (USE_AS_STRCAT): Define.
25825 Add strcat and strncat support.
25826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25827
8c1a459f
AS
258282011-07-25 Andreas Schwab <schwab@redhat.com>
25829
25830 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25831 __n bigger than INT_MAX+1.
25832 (__strncmp_g): Likewise.
25833
bba33c28
UD
258342011-07-23 Ulrich Drepper <drepper@gmail.com>
25835
798be72d
UD
25836 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25837 * libio/stido.h: Likewise.
25838
8accd4dc
UD
25839 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25840 (AF_NFC): Define.
25841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25842 (AF_NFC): Define.
25843
cbff0d96
UD
25844 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25845 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25846 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25847 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25849
9191c04a
UD
25850 [BZ #13021]
25851 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25852 installed.
25853
bba33c28
UD
25854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25855 typo.
25856 (_dl_x86_64_save_sse): Likewise.
25857
90f139dd
UD
258582011-07-22 Ulrich Drepper <drepper@gmail.com>
25859
1aae088a
UD
25860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25861 OSXSAVE.
25862 (_dl_x86_64_save_sse): Likewise.
25863
8e2045f5
UD
25864 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25865
90f139dd
UD
25866 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25867
1d002f25
AS
258682011-07-21 Andreas Schwab <schwab@redhat.com>
25869
25870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25871 change.
25872 (_dl_x86_64_save_sse): Use correct AVX check.
25873
21137f89
UD
258742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25875
25876 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25877 bug in strncpy/strncat.
25878 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25879
a65c0b7a
UD
258802011-07-21 Ulrich Drepper <drepper@gmail.com>
25881
25882 * string/tester.c (test_strcat): Add tests for different alignments
25883 of source and destination.
25884 (test_strncat): Likewise.
25885
6986b98a
UD
258862011-07-20 Ulrich Drepper <drepper@gmail.com>
25887
90bb2039
UD
25888 [BZ #12852]
25889 * posix/glob.c (glob): Check passed in values before using them in
25890 expressions to avoid some overflows.
25891 (glob_in_dir): Likewise.
25892
5644ef54
UD
25893 [BZ #13007]
25894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25895 check for AVX enablement so that we don't crash with old kernels and
25896 new hardware.
25897 * elf/tst-audit4.c: Add same checks here.
25898 * elf/tst-audit6.c: Likewise.
25899
25900 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25901
bfc9dc9b
AS
259022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25903
25904 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25905
702e64bb
UD
259062011-07-20 Ulrich Drepper <drepper@gmail.com>
25907
25908 * po/cs.po: Update from translation team.
25909 * po/bg.po: Likewise.
25910
295e904f
MP
259112011-07-12 Marek Polacek <mpolacek@redhat.com>
25912
25913 * misc/sys/cdefs.h: Add support for const attribute.
25914 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25915 to gnu_dev_{major,minor,makedev} functions.
25916
3ff94596
MP
259172011-07-20 Marek Polacek <mpolacek@redhat.com>
25918
25919 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25920
28b59fca
AS
259212011-07-20 Andreas Schwab <schwab@redhat.com>
25922
25923 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25924 strlen results.
25925
19df733e
AK
259262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25927
25928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25929 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25930 register in order to avoid conflicts with the soft frame pointer
25931 being held in r11 when necessary.
25932 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25933 (INTERNAL_VSYSCALL_NCS): Likewise.
25934
c8835729
MP
259352011-07-14 Marek Polacek <mpolacek@redhat.com>
25936
25937 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25938 * elf/dl-fini.c (_dl_fini): Adjust caller.
25939 * elf/dl-close.c (_dl_close_worker): Likewise.
25940 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25941
b902330c
MP
259422011-07-15 Marek Polacek <mpolacek@redhat.com>
25943
8991e135
MP
25944 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25945 "aux_cache->nlibs < 0".
25946
b902330c
MP
25947 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25948 in the reload-count case.
25949
99710781
LD
259502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25951
25952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25953 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25954 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25955 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25956 * sysdeps/x86_64/multiarch/strcat.S: New file.
25957 * sysdeps/x86_64/multiarch/strncat.S: New file.
25958 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25959 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25960 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25961 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25962 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25963 (USE_AS_STRCAT): Define.
25964 Add strcat and strncat support.
25965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25966 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25967 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25968 * string/strncat.c: Update.
25969 (USE_AS_STRNCAT): Define.
25970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25971 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25972 and i7.
25973 * sysdeps/x86_64/multiarch/init-arch.h
25974 (bit_Prefer_PMINUB_for_stringop): New.
25975 (index_Prefer_PMINUB_for_stringop): Likewise.
25976 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25977 bit_Prefer_PMINUB_for_stringop.
25978
7dc6bd90
UD
259792011-07-19 Ulrich Drepper <drepper@gmail.com>
25980
25981 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25982 buffer64.
25983 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25984 of casting of buffer.
25985 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25986 buffer32 and buffer64.
25987 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25988 writes instead of casting of buffer.
25989 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25990 buffer32.
25991 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25992 casting of buffer.
25993
e0e72284
AS
259942011-07-19 Andreas Schwab <schwab@redhat.com>
25995
25996 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25997
feb1eb0b
UD
259982011-07-19 Ulrich Drepper <drepper@gmail.com>
25999
26000 * nscd/nscd.c (termination_handler): Don't do anything for a database
26001 if it has not yet been initialized.
26002
298711ff
UD
260032011-07-18 Ulrich Drepper <drepper@gmail.com>
26004
26005 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26006
260072011-07-15 Marek Polacek <mpolacek@redhat.com>
26008
26009 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26010
f9d68389
UD
260112011-07-18 Ulrich Drepper <drepper@gmail.com>
26012
26013 * po/nl.po: Update from translation team.
26014 * po/sv.po: Likewise.
26015
db290cf5
RM
260162011-07-16 Roland McGrath <roland@hack.frob.com>
26017
26018 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26019 now disallowed by GCC.
5c550700 26020
fd5e21c7
RM
26021 * configure.in (use-default-link): Default to yes if a test -shared
26022 link meets our qualifications.
26023 * configure: Regenerated.
26024
5c550700
RM
26025 * config.make.in (output-format): New variable.
26026 * configure.in: Check for ld --print-output-format support.
26027 * configure: Regenerated.
26028 * Makerules ($(common-objpfx)format.lds)
26029 [$(output-format) != unknown]: Just use $(output-format),
26030 instead of the linker-script munging.
26031
9fa2c032
RM
260322011-07-14 Roland McGrath <roland@hack.frob.com>
26033
a6928d51
RM
26034 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26035 of $(common-objpfx)shlib.lds.
26036 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26037
661607b3
RM
26038 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26039 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26040
9fa2c032
RM
26041 * configure.in (-z relro check): Adjust test code to add a large
26042 writable data section after it.
26043 * configure: Regenerated.
26044
defe9061
RM
260452011-07-11 Roland McGrath <roland@hack.frob.com>
26046
26047 * configure.in (-z relro check): Fix test code to make the variable
26048 truly const.
26049 * configure: Regenerated.
26050
319b9ad4
UD
260512011-07-11 Ulrich Drepper <drepper@gmail.com>
26052
26053 * nscd/nscd.h (struct traced_file): Define.
26054 (struct database_dyn): Remove inotify_descr, reset_res, and filename
26055 elements. Add traced_files.
26056 (inotify_fd): Declare.
26057 (register_traced_file): Declare.
26058 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26059 (inotify_fd): Export.
26060 (resolv_conf_descr): Remove.
26061 (nscd_init): Move inotify descriptor creation to main.
26062 Don't register files for notification here.
26063 (register_traced_file): New function.
26064 (invalidate_cache): Don't use reset_res to determine whether to call
26065 res_init, go through the list of registered files.
26066 (main_loop_poll): The inotify descriptors are now stored in the
26067 structures for the traced files.
26068 (main_loop_epoll): Likewise
26069 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
26070 to __nss_disable_nscd.
26071 * nscd/cache.c (prune_cache): There is no single inotify descriptor
26072 for a database anymore. Check the records for all the registered
26073 files instead.
26074 * nss/Makefile (libnss_files-routines): Add files-init.
26075 (libnss_db-routines): Add db-init.
26076 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26077 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26078 * nss/nss_db/db-init.c: New file.
26079 * nss/nss_files/files-init.c: New file.
26080 * nss/nsswitch.c (nss_load_library): New function. Broken out of
26081 __nss_lookup_function.
26082 (__nss_lookup_function): Call nss_load_library.
26083 (nss_load_all_libraries): New function.
26084 (__nss_disable_nscd): Take parameter with callback function for files
26085 to register. Set is_nscd. Load all the DSOs for the NSS modules
26086 used for the cached services.
26087 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26088 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26089 options for features to all the files in nscd.
26090
26091 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26092
23bee3e8
RM
260932011-07-10 Roland McGrath <roland@hack.frob.com>
26094
26095 * csu/elf-init.c (__libc_csu_init): Comment typo.
26096
46a5b7f0
UD
260972011-07-09 Ulrich Drepper <drepper@gmail.com>
26098
26099 * po/pl.po: Update from translation team.
26100 * po/ja.po: Likewise.
26101 * po/ru.po: Likewise.
26102 * po/ko.po: Likewise.
26103 * po/fr.po: Likewise.
26104
d30cf5bb
RM
261052011-07-09 Roland McGrath <roland@hack.frob.com>
26106
113ddea4
RM
26107 * configure.in (.ctors/.dtors header and trailer check):
26108 Use an empirical test on a built program.
26109 * configure: Regenerated.
26110
574920b4
RM
26111 * configure.in (-z relro check): Use an empirical test on a built DSO.
26112 Detect, but do not require, on ia64.
26113 * configure: Regenerated.
26114
d30cf5bb
RM
26115 * configure.in (READELF): Find it with AC_CHECK_TOOL.
26116 Update tests that use readelf to use $READELF instead.
26117 * configure: Regenerated.
26118
8538fdb3
UD
261192011-07-08 Ulrich Drepper <drepper@gmail.com>
26120
26121 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26122 if the result is not used.
26123
04d08991
AJ
261242011-07-05 Andreas Jaeger <aj@suse.de>
26125
26126 [BZ#9696]
26127 * stdlib/tst-strtod.c: Add testcase.
26128
de283087
AD
261292011-07-07 Ulrich Drepper <drepper@gmail.com>
26130
4e5f31c8 26131 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 26132 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
26133 The latter has a higher limit. Take additional parameter to pass to
26134 the new function.
26135 (__pathconf): Pass file to __statfs_link_max.
26136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26137 __statfs_link_max.
26138 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26139 __statfs_link_max.
26140
de283087
AD
26141 [BZ #12868]
26142 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26144 Handle Lustre.
26145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26146 (__statfs_filesize_max): Likewise.
26147 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26148
c75fa153
AJ
261492011-07-05 Andreas Jaeger <aj@suse.de>
26150
26151 * resolv/res_comp.c (dn_skipname): Remove unused variable.
26152
1a544854
UD
261532011-07-06 Marek Polacek <mpolacek@redhat.com>
26154
26155 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26156 `status' variable.
26157 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26158 Likewise.
26159
6f0eec67
UD
261602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
26161
26162 * Makefile (strop-tests): Add strncat.
26163 * string/test-strncat.c: New file.
26164
aae30307
UD
261652011-06-30 Marek Polacek <mpolacek@redhat.com>
26166
26167 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26168
c0cfb5eb
UD
261692011-06-21 Andreas Jaeger <aj@suse.de>
26170
26171 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26172 Copy rule from iconvdata/Makefile.
26173
01636b21
UD
261742011-07-06 Ulrich Drepper <drepper@gmail.com>
26175
26176 [BZ #12922]
26177 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26178 but no long options are defined, just return 'W'.
26179
9895c8bc
UD
261802011-06-22 Marek Polacek <mpolacek@redhat.com>
26181
26182 [BZ #9696]
26183 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26184
5d4cf042
UD
261852011-07-06 Ulrich Drepper <drepper@gmail.com>
26186
26187 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26188 netgroups to read.
960e5535 26189 (innetgr): Likewise.
5d4cf042 26190
751eb97e
RM
261912011-07-05 Roland McGrath <roland@hack.frob.com>
26192
26193 * config.make.in (install_root): Default to $(DESTDIR).
26194
f15f1e45
UD
261952011-07-05 Ulrich Drepper <drepper@gmail.com>
26196
26197 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26198
4e34ac6a
RM
261992011-07-02 Roland McGrath <roland@hack.frob.com>
26200
5e9b6af4
RM
26201 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26202
84f9ea0f
RM
26203 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26204 containing directory rather than embedding absolute directory names.
26205
ea5ee9f7
RM
26206 * scripts/check-local-headers.sh: Rewritten using awk.
26207 Match by word, not by line. Print error messages for matches.
26208 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26209
1b74661a
RM
26210 * Makerules [shlib-lds-flags empty]:
26211 ($(common-objpfx)libc_pic.opts): New target.
26212 ($(common-objpfx)libc_pic.os.clean): New target.
26213 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26214
26215 * config.make.in (OBJCOPY): New variable.
26216 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26217 * configure: Regenerated.
26218
f781ef40
RM
26219 * config.make.in (use-default-link): New variable.
26220 * configure.in (use_default_link): Grok --with-default-link to set it.
26221 * configure: Regenerated.
26222 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26223 (shlib-lds, shlib-lds-flags): Define to empty.
26224
2d4fa81e
RM
26225 * Makerules (shlib-lds): New variable.
26226 (shlib-lds-flags): New variable.
26227 (build-shlib, build-moduile, build-module-asneeded): Use it.
26228 ($(common-objpfx)libc.so): Use $(shlib-lds).
26229 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26230 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26231
31fffa6b
RM
26232 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26233 DT_FLAGS/DT_FLAGS_1 with zero flags.
26234
4e34ac6a
RM
26235 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26236 linker script munging.
26237
fcfc776b
UD
262382011-07-02 Ulrich Drepper <drepper@gmail.com>
26239
26240 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26241 as 128-bit value.
26242 * crypt/sha512.c (sha512_process_block): Perform total addition using
26243 128-bit if possible.
26244 (__sha512_finish_ctx): Likewise.
26245 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26246 as 64-bit value.
26247 * crypt/sha256.c (SWAP64): Define.
26248 (sha256_process_block): Perform total addition using 64-bit if
26249 possible.
26250 (__sha256_finish_ctx): Likewise.
26251
99231d9a
UD
262522011-07-01 Ulrich Drepper <drepper@gmail.com>
26253
26254 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26255 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26256 * nscd/hstcache.c (cache_addhst): Likewise.
26257 * nscd/grpcache.c (cache_addgr): Likewise.
26258 * nscd/aicache.c (addhstaiX): Likewise
26259 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26260
445b4a53
TK
262612011-07-01 Thorsten Kukuk <kukuk@suse.de>
26262
26263 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26264 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26265 * nscd/hstcache.c (cache_addhst): Likewise.
26266 * nscd/grpcache.c (cache_addgr): Likewise.
26267 * nscd/aicache.c (addhstaiX): Likewise
26268
6d4d8e8e
AS
262692011-07-01 Andreas Schwab <schwab@redhat.com>
26270
26271 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26272 domain only when needed.
26273
89f654c5
AS
262742011-06-30 Andreas Schwab <schwab@redhat.com>
26275
26276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26277 is always restored.
26278
cf3b23ff
UD
262792011-06-29 Ulrich Drepper <drepper@gmail.com>
26280
26281 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26282 are re-adding the entry.
26283 * nscd/servicescache.c (cache_addserv): Likewise.
26284
751626f9
AJ
262852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26286
26287 * sysdeps/generic/dl-irel.h: fix protection against multiple
26288 inclusions.
26289 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26290
9113ea1f
UD
262912011-06-28 Ulrich Drepper <drepper@gmail.com>
26292
5c0b8d90
UD
26293 [BZ #12935]
26294 * malloc/memusage.sh: Fix quoting in message.
26295 * debug/xtrace.sh: Likewise.
26296
9113ea1f
UD
26297 * configure.in: Remove support for --experimental-malloc option, make
26298 it the default.
26299 * config.make.in: Likewise.
26300 * malloc/Makefile: Likewise.
26301
a4172181
AS
263022011-06-27 Andreas Schwab <schwab@redhat.com>
26303
26304 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26305 two-byte characters.
26306
78a7eee7
RM
263072011-06-27 Roland McGrath <roland@hack.frob.com>
26308
62bede13
RM
26309 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26310 AC_CACHE_CHECK invocation.
26311 * configure: Regenerated.
26312
78a7eee7
RM
26313 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26314
5ce33a62
UD
263152011-06-27 Ulrich Drepper <drepper@gmail.com>
26316
034807a9
UD
26317 [BZ #12350]
26318 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26319 bit from old_res_options.
26320
4902da17
UD
26321 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26322
5ce33a62
UD
26323 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26324 value type for setfct.
26325
c2344f56
L
263262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26327
26328 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26329 __gettimeofday instead of gettimeofday.
26330
68468076
UD
263312011-06-26 Ulrich Drepper <drepper@gmail.com>
26332
26333 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26334
acb0d739
L
263352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26336
26337 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26338
26339 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26340 info.
26341
8912479f
L
263422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26343
26344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26345 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26346 strcpy-sse2-unaligned strncpy-sse2-unaligned
26347 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26348 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26349 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26350 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26351 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26352 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26353 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26354 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26355 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26356 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26357 (STRCPY): Support SSE2 and SSSE3 versions.
26358
d5495a11
UD
263592011-06-24 Ulrich Drepper <drepper@gmail.com>
26360
26361 [BZ #12874]
26362 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26363 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26364 kernels which artificially limit size of requests.
26365
0b1cbaae
L
263662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26367
26368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26369 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26370 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26371 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26372 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26373 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26374 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26375 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26376 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26378 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26379 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26380 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26381 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26382 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26384 Enable unaligned load optimization for Intel Core i3, i5 and i7
26385 processors.
26386 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26387 Define.
26388 (index_Fast_Unaligned_Load): Define.
26389 (HAS_FAST_UNALIGNED_LOAD): Define.
26390
07f494a0
MP
263912011-06-23 Marek Polacek <mpolacek@redhat.com>
26392
26393 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26394
fa3fc0fe
UD
263952011-06-22 Ulrich Drepper <drepper@gmail.com>
26396
26397 [BZ #12907]
26398 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26399 until it is clear that the information is realy needed.
26400 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26401
e12df166
AS
264022011-06-22 Andreas Schwab <schwab@redhat.com>
26403
26404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26405
852eb34d
UD
264062011-06-22 Ulrich Drepper <drepper@gmail.com>
26407
84e2a551
UD
26408 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26409 /sys/devices/system/cpu/online if it is usable.
26410
852eb34d
UD
26411 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26412 reading the information from the /proc filesystem to once a second.
26413
6e502e19
UD
264142011-06-21 Andreas Jaeger <aj@suse.de>
26415
26416 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26417 NULL after inclusion of kernel headers.
26418
75d39ff2
UD
264192011-06-21 Ulrich Drepper <drepper@gmail.com>
26420
51f9aa6a
UD
26421 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26422 calls to internal_setent.
26423
c0244a9d
UD
26424 [BZ #12885]
26425 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26426 addresses using gethostbyname4_r ignore IPv4 addresses.
26427
c5e3c2ae
UD
26428 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26429 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26430
75d39ff2
UD
26431 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26432
42675c6f
DM
264332011-06-20 David S. Miller <davem@davemloft.net>
26434
26435 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26436 inclusions.
26437 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26438
26439 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26440 (elf_irel): Use it.
26441 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26442 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26443 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26444 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26445 * sysdeps/x86_64/dl-irel.h: Likewise.
26446
26447 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26448 * elf/dl-sym.c: Likewise.
26449
57912a71
UD
264502011-06-15 Ulrich Drepper <drepper@gmail.com>
26451
26452 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26453 need to dereference resplen2.
26454
ee22793d
AS
264552011-06-14 Andreas Schwab <schwab@redhat.com>
26456
26457 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26458
a9e836b0
UD
264592011-06-15 Ulrich Drepper <drepper@gmail.com>
26460
77fb9117
UD
26461 * Makeconfig: Define vardbdir and inst_vardbdir.
26462 * nss/Makefile: Add rules to install db-Makefile.
26463
40c1b22c
UD
26464 * nss/nss_db/db-XXX.c: Cleanup.
26465
9f2da732
UD
26466 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26467 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26468 GLIBC_PRIVATE.
26469 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26470 * nss/makedb.c: Implement -g option to specify that value strings
26471 are generated and should not be added to table iterated over for
26472 get*ent calls.
26473 * nss/nss_db/db-initgroups.c: New file.
26474
82e9a1f7
UD
26475 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26476 interface.
26477
c41af17e
UD
26478 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26479 (internal_getgrouplist): Adjust to name change.
26480 Update use_initgroups_entry if this is not the first call.
26481 * nss/databases.def: Add initgroups entry.
26482
a9e836b0
UD
26483 * nss/makedb.c (compute_tables): Check result of multiple hash table
26484 sizes to minimize maximum chain length.
26485
2666d441
UD
264862011-06-14 Ulrich Drepper <drepper@gmail.com>
26487
26488 * Versions.def: Add entry for libnss_db.
26489 * shlib-versions: Likewise.
26490 * nss/Makefile: Add rules to build libnss_db.
26491 * nss/Versions: Add libnss_db information. Organize libnss_files
26492 entries better.
26493 * nss/db-Makefile: Add gshadow support. Change rules for the new
26494 makedb progra. Some minor improvements to generate smaller files.
26495 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26496 here from...
26497 * nss/makedb.c: ...here.
26498 Improve database format to be smaller and require less memory at
26499 runtime.
26500 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26501 db anymore.
26502 * nss/nss_db/db-netgrp.c: Likewise.
26503 * nss/nss_db/db-open.c: Likewise.
26504 * nss/nss_files/flies-XXX.x: Adjust comments.
26505 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26506 * nss/nss_files/files-grp.c: Likewise.
26507 * nss/nss_files/files-hosts.c: Likewise.
26508 * nss/nss_files/files-network.c: Likewise.
26509 * nss/nss_files/files-proto.c: Likewise.
26510 * nss/nss_files/files-pwd.c: Likewise.
26511 * nss/nss_files/files-rpc.c: Likewise.
26512 * nss/nss_files/files-service.c: Likewise.
26513 * nss/nss_files/files-sgrp.c: Likewise.
26514 * nss/nss_files/files-spwd.c: Likewise.
26515 * nss/nss_db/db-alias.c: Removed.
26516 * nss/nss_db/dummy-db.h: Removed.
26517
9ee76b5a
UD
265182011-06-02 Ulrich Drepper <drepper@gmail.com>
26519
26520 * nss/makedb.c: Rewritten to not use database library.
26521 * nss/Makefile: Update to build new makedb program.
26522
c71ca1f8
AJ
265232011-06-14 Andreas Jaeger <aj@suse.de>
26524
26525 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26526 memset declaration.
26527
3154bfb8
UD
265282011-06-10 Andreas Schwab <schwab@redhat.com>
26529
26530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26531 tmpbuf.
26532
b350afab
RM
265332011-06-10 Roland McGrath <roland@hack.frob.com>
26534
decd4e50
RM
26535 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26536 * elf/Makefile ($(objpfx)ld.so): Likewise.
26537
5615eaf2
RM
26538 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26539 Don't list ld.so twice in dependencies.
26540
26541 * posix/bug-regex31.c: Include <stdlib.h>.
26542
26543 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26544
26545 * nis/nss_compat/compat-spwd.c
26546 (getspent_next_nss_netgr): Remove unused variable.
26547 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26548
26549 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26550 nonmembers" output to use the right array.
26551
26552 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26553
26554 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26555
26556 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26557 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26558 * catgets/gencat.c (read_input_file): Likewise.
26559 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26560
26561 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26562 variable definition inside #if's controlling its use.
26563
26564 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26565
26566 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26567
26568 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26569
26570 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26571 unreachable code.
26572
26573 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26574
b68e08db
RM
26575 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26576 * configure: Regenerated.
26577
b350afab
RM
26578 * Makerules: Revert last change.
26579 * elf/Makefile: Likewise.
26580
28368601
RM
265812011-06-09 Roland McGrath <roland@hack.frob.com>
26582
26583 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26584 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26585 (reloc-link): Likewise.
26586
11988f8f
UD
265872011-06-09 Ulrich Drepper <drepper@gmail.com>
26588
26589 * elf/Makefile: Add rules to build pldd.
26590 * elf/pldd.c: New file.
26591 * elf/pldd-xx.c: New file.
26592
e80fab37
UD
265932011-06-07 Ulrich Drepper <drepper@gmail.com>
26594
26595 * version.h: Update for 2.15 development version.
26596
9b849836
DM
265972011-06-07 David S. Miller <davem@davemloft.net>
26598
26599 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26600 ifuncs.
26601 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26602 elf_machine_lazy_rel): Likewise.
26603 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26604 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26605 elf_machine_lazy_rel): Likewise.
26606 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26607 dl_hwcap via passed in argument.
26608 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26609 Likewise.
26610
5a31b283
AK
266112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26612
26613 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26614
069e52f8
RM
266152011-06-06 Roland McGrath <roland@hack.frob.com>
26616
26617 [BZ #12849]
26618 * manual/fdl-1.1.texi: New file, verbatim from:
26619 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26620 * manual/lgpl-2.1.texi: New file, verbatim from:
26621 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26622 * manual/Makefile (licenses): New variable, list those new file names.
26623 (texis): Use it.
26624 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26625
26626 * manual/fdl.texi: File removed.
26627 * manual/lesser.texi: File removed.
26628 * manual/libc.texinfo (Copying, Documentation License):
26629 Use new @include file names, put @appendix directive before @include.
26630
f16846a5
JJ
266312011-06-04 Jakub Jelinek <jakub@redhat.com>
26632
26633 [BZ #12841]
26634 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26635 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26636 (mq_open): Add __NTH.
26637
3d29045b
L
266382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26639
26640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26641 Assume Intel Core i3/i5/i7 processor if AVX is available.
26642
8c297311
UD
266432011-05-31 Ulrich Drepper <drepper@gmail.com>
26644
26645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26646 typo.
26647
c8fc0c91
UD
266482011-05-31 Andreas Schwab <schwab@redhat.com>
26649
26650 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26651 memory. Use alloca_account. Fix memory leak when retrying.
26652
5b27a807
UD
266532011-05-31 Ulrich Drepper <drepper@gmail.com>
26654
356f8bc6
UD
26655 * version.h (RELEASE): Bump for 2.14 release.
26656 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26657
5b27a807
UD
26658 * config.make.in (RANLIB): Remove entry.
26659
01f16ab0
UD
266602011-05-30 Ulrich Drepper <drepper@gmail.com>
26661
41fce8bd
UD
26662 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26663 (libc.pot): Work around missing support for .ksh extension in xgettext.
26664
4769ae77
UD
26665 [BZ #12684]
26666 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26667 if both request failed.
26668 (send_dg): In case of server errors clear resplen or *resplen2.
26669
6b1e7d19
UD
26670 [BZ #12454]
26671 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26672 when there are multiple maps.
26673 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26674 (_dl_fini): Remove test here.
26675
01f16ab0
UD
26676 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26677
b1ebd700
UD
266782011-05-29 Ulrich Drepper <drepper@gmail.com>
26679
7ae22829
UD
26680 [BZ #12350]
26681 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26682 bit from old_res_options.
26683 (gaih_inet): Likewise.
26684
553149f6 26685 [BZ #11099]
18a84741 26686 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
26687 as signed.
26688
652ffab1
UD
26689 * resolv/res_init.c (res_setoptions): Make the code more compact.
26690
16985fd0
UD
26691 [BZ #11558]
26692 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26693 set RES_USEVC.
26694
0464f746
UD
26695 [BZ #11634]
26696 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26697
7d17596c
UD
26698 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26699
cf6bbbd7
UD
26700 [BZ #11781]
26701 * malloc/malloc.h: Declare malloc hook variables as volatile.
26702
13f1ab36
UD
26703 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26704 in last patch.
26705
b1ebd700
UD
26706 [BZ #11799]
26707 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 26708 raise in the comment.
80e2212d
UD
26709 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26711 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 26712
ce67228d
UD
267132011-05-28 Ulrich Drepper <drepper@gmail.com>
26714
8887a920
UD
26715 [BZ #12811]
26716 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26717 grow the buffers more if it already has to be sufficient.
26718 (build_wcs_upper_buffer): Likewise.
26719 * posix/regexec.c (check_matching): Likewise.
26720 (clean_state_log_if_needed): Likewise.
26721 (extend_buffers): Don't enlarge buffers beyond size of the input
26722 buffer.
26723 Patches mostly by Emil Wojak <emil@wojak.eu>.
26724 * posix/bug-regex32.c: New file.
26725 * posix/Makefile (tests): Add bug-regex32.
26726
4f031072
UD
26727 * locale/findlocale.c (_nl_find_locale): Return right away if
26728 _nl_explode_name failed.
26729 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26730
d0478f0c
UD
26731 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26732
de81b246
UD
26733 * debug/xtrace.sh: Unify messages.
26734 * malloc/memusage.sh: Likewise.
26735
c738465a
UD
26736 [BZ #12813]
26737 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26738 time symbol from vDSO. Substitute with vsyscall if not available.
26739 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26740 __vdso_time.
26741
f1f929d7
UD
26742 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26743 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26744 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26745 Add sendmmsg and internal_sendmmsg.
26746 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26747 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26749
ce67228d
UD
26750 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26751 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26753
e57420c6
UD
267542011-05-27 Ulrich Drepper <drepper@gmail.com>
26755
a8509ca5
UD
26756 [BZ #12813]
26757 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26758 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26759 available.
26760 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26761 __vdso_getcpu.
26762
e57420c6
UD
26763 [BZ #12814]
26764 * iconvdata/Makefile (tests): Add bug-iconv9.
26765 * iconvdata/bug-iconv9.c: New file.
26766
4d07db15
AS
267672011-05-27 Andreas Schwab <schwab@redhat.com>
26768
26769 [BZ #12814]
26770 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26771
ea486f69
JJ
267722011-05-25 Jakub Jelinek <jakub@redhat.com>
26773
26774 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26775 (struct user_regs_struct): Change intcs field back to cs.
26776
6f038433
UD
267772011-05-25 Ulrich Drepper <drepper@gmail.com>
26778
26779 * po/ja.po: Update from translation team.
26780
67f86a25
UD
267812011-05-23 Ulrich Drepper <drepper@gmail.com>
26782
26783 [BZ #12795]
26784 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26785 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26786
def7fbd6
AS
267872011-05-20 Andreas Schwab <schwab@redhat.com>
26788
26789 * stdlib/longlong.h: Update from GCC.
26790
f50ef8f1
AS
267912011-05-23 Andreas Schwab <schwab@redhat.com>
26792
26793 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26794 parameter name.
26795 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26796 Add parameter name.
26797 (__sysconf): Pass it down.
26798
de7ce8f1
UD
267992011-05-22 Ulrich Drepper <drepper@gmail.com>
26800
f2962a71
UD
26801 [BZ #12671]
26802 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26803 some situations.
26804 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26805 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26806 add in in __libc_use_alloca calls. Adjust callers.
26807 (glob): Use malloc in some situations.
26808
de7ce8f1
UD
26809 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26810 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26811 pltexit.
26812
aec84f53
UD
268132011-05-21 Ulrich Drepper <drepper@gmail.com>
26814
05bb4a68
UD
26815 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26816 and CLOCK_BOOTTIME_ALARM.
26817
7ea72f99
UD
26818 [BZ #12782]
26819 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26820 is returned.
26821
7e4afad5
UD
26822 * string/_strerror.c (__strerror_r): Print negative errors as signed
26823 numbers.
26824
8e211fec
UD
26825 [BZ #12777]
26826 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26827 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26828 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26829
f7d82dc9
UD
26830 * configure.in: Fix typo in redirection and correct removal of test
26831 files in two cases.
26832
cc9e536d
UD
26833 [BZ #12788]
26834 * locale/setlocale.c (new_composite_name): Fix test to check for
26835 identical name of all categories.
26836
aec84f53
UD
26837 [BZ #12792]
26838 * libio/filedoalloc.c (local_isatty): New function.
26839 (_IO_file_doallocate): Use local_isatty.
26840 * stdio-common/perror.c (perror): In case a new stream is used
26841 forward the stream error.
26842 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26843 error flag.
26844
78e64fdc
RT
268452011-05-20 Ulrich Drepper <drepper@gmail.com>
26846
34a9094f
UD
26847 [BZ #11869]
26848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26849 alloca.
26850 * include/alloca.h (extend_alloca_account): Define.
26851
78e64fdc
RT
26852 [BZ #11857]
26853 * posix/regex.h: Fix comments with documentation of user-accessible
26854 fields after compilation and describe correct free'ing of pattern
26855 after re_compile_pattern.
26856 Patch by Reuben Thomas <rrt@sc3d.org>.
26857
457bddfc
RA
268582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26859
26860 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26861 and -mno-altivec to prevent the compiler from using Altivec and/or
26862 VSX instructions when the corresponding registers are not available.
26863
a4527b51
AS
268642011-05-19 Andreas Schwab <schwab@redhat.com>
26865
26866 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26867
ed690b2f
UD
268682011-05-19 Ulrich Drepper <drepper@gmail.com>
26869
26870 * libio/freopen.c (freopen): Use __dup2, not dup2.
26871 * libio/freopen64.c (freopen64): Likewise.
26872
8db73634
L
268732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26874
26875 [BZ #12775]
26876 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26877 * math/Makefile (tests): Add test-powl.
26878 (CFLAGS-test-powl.c): Define.
26879 * math/test-powl.c: New file.
26880
0a197a9d
L
268812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26882
26883 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26884
ee30c380
UD
268852011-05-17 Ulrich Drepper <drepper@gmail.com>
26886
26887 [BZ #11837]
26888 * iconvdata/gb18030.c: Update to GB18020-2005.
26889
6ce75379
UD
268902011-05-16 Ulrich Drepper <drepper@gmail.com>
26891
a4b89fd8
AR
26892 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26893 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26894 Patch by Aharon Robbins <arnold@skeeve.com>.
26895
ea389b12
UD
26896 [BZ #11892]
26897 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26898 on the stack.
26899
68a3f91f
UD
26900 [BZ #11895]
26901 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26902 through underflows.
26903
15cc7dd1
UD
26904 [BZ #12766]
26905 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26906 point to strings before performing equality test for error_one_per_line
26907 mode.
26908
f3799213
UD
26909 [BZ #11697]
26910 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26911
d79a9c94
UD
26912 [BZ #11820]
26913 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26914 (struct user_fpregs_struct): Avoid __uint*_t types.
26915
56e5eb46
UD
26916 [BZ #6420]
26917 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26918 symbol info. Use it instead of calling _dl_addr locally.
26919 (lock_and_info): New function.
26920 (tr_freehook): Call lock_and_info and pass symbol info as additional
26921 parameter to tr_where.
26922 (tr_mallochook): Likewise.
26923 (tr_reallochook): Likewise.
26924 (tr_memalignhook): Likewise.
26925
6ce75379
UD
26926 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26927 used and couldn't be at all thread-safe.
26928
f8a3b5bf
UD
269292011-05-15 Ulrich Drepper <drepper@gmail.com>
26930
94b7cc37
UD
26931 * libio/freopen.c (freopen): Don't close old file descriptor
26932 before the new one is opened. Instead dup the new file descriptor
26933 to the old one after the new stream is created.
26934 * libio/freopen64.c (freopen64): Likewise.
26935 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26936 * libio/fileops.c (_IO_new_file_close_it): Handle new
26937 _IO_FLAGS2_NOCLOSE flag.
26938 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26939 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26940 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26941 _IO_FLAGS2_NOCLOSE flag.
26942 * include/unistd.h: Add hidden_proto for dup3.
26943 Define __have_dup3.
26944 * io/dup3.c: Define hidden symbol.
26945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26946
bd25564e
UD
26947 [BZ #7101]
26948 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26949 when an incomplete long option is used.
26950 * posix/tst-getopt_long1.c: New file.
26951 * posix/Makefile (tests): Add tst-getopt_long1.
26952
c84cfef4
UD
26953 [BZ #10138]
26954 * scripts/config.guess: Update from autoconf-2.68.
26955 * scripts/config.sub: Likewise.
26956
3b85df27
UD
26957 [BZ #10157]
26958 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26959 tests into ...
26960 (has_cpuclock): ...this. New function.
26961 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26962 macro here based on has_cpuclock code.
26963
15a856b1
UD
26964 [BZ #10149]
26965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26966 First byte (not low byte) is now always NUL.
26967 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26968
05f399e6
UD
26969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26970 Use non-cancelable interfaces.
26971
10a52685 26972 [BZ #9809]
94ecc67d
UD
26973 * locale/iso-639.def: Add entry for Sorani.
26974
f8a3b5bf
UD
26975 [BZ #11901]
26976 * include/stdlib.h: Move include protection to the right place.
26977 Define abort_msg_s. Declare __abort_msg with it.
26978 * stdlib/abort.c (__abort_msg): Adjust type.
26979 * assert/assert.c (__assert_fail_base): New function. Majority
26980 of code from __assert_fail. Allocate memory for __abort_msg with
26981 mmap.
26982 (__assert_fail): Now call __assert_fail_base.
26983 * assert/assert-perr.c: Remove bulk of implementation. Use
26984 __assert_fail_base.
26985 * include/assert.hL Declare __assert_fail_base.
26986 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26987 mmap.
26988 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26989
1af4e298
UD
269902011-05-14 Ulrich Drepper <drepper@gmail.com>
26991
f8a3b5bf 26992 [BZ #11952]
d26dfc60
MG
26993 [BZ #12453]
26994 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26995 until all modules are registered in the DTV.
26996 * elf/Makefile: Add rules to build and run tst-tls19.
26997 * elf/tst-tls19.c: New file.
26998 * elf/tst-tls19mod1.c: New file.
26999 * elf/tst-tls19mod2.c: New file.
27000 * elf/tst-tls19mod3.c: New file.
27001 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27002
2fc54d6f
UD
27003 [BZ #12083]
27004 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27005 correctly.
27006
98d76b46
UD
27007 [BZ #12601]
27008 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27009 two-byte sequence errors.
27010 * iconvdata/Makefile (tests): Add bug-iconv8.
27011 * iconvdata/bug-iconv8.c: New file.
27012
da3c19ef
UD
27013 [BZ #12626]
27014 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27015 buf2 definition.
27016
ca408c15
UD
27017 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27018
d6f67f7d
UD
27019 [BZ #12432]
27020 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27021 (dummy_getcfa): New function.
27022 (init): Get _Unwind_GetCFA address, use dummy if not found.
27023 (backtrace_helper): In recursion check, also check whether CFA changes.
27024 (__backtrace): Completely initialize arg.
27025
1af4e298 27026 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
27027 storing incomplete byte sequence in state object. Avoid testing for
27028 guaranteed too small input if we know there is enough data available.
1af4e298 27029
da62f81b
AS
270302011-05-11 Andreas Schwab <schwab@redhat.com>
27031
27032 * Makeconfig (+link-pie): Indent.
27033 * Rules (binaries-pie): Define if $(have-fpie) and
27034 $(build-shared).
27035 (binaries-shared): Also filter out $(binaries-pie).
27036 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27037 * nscd/Makefile (others-pie): Add nscd.
27038 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27039 ($(objpfx)nscd): Remove command override.
27040 * login/Makefile (others-pie): Add pt_chown.
27041 ($(objpfx)pt_chown): Remove command override.
27042 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27043 remove command overrides.
27044
fcabc0f8
UD
270452011-05-13 Ulrich Drepper <drepper@gmail.com>
27046
20030ae6
UD
27047 * libio/tst_putwc.c: Fix error messages.
27048
fcabc0f8
UD
27049 [BZ #12724]
27050 * libio/fileops.c (_IO_new_file_close_it): Always flush when
27051 currently writing and seek to current position when not.
27052 * libio/Makefile (tests): Add bug-fclose1.
27053 * libio/bug-fclose1.c: New file.
27054
320a5dc0
PB
270552011-05-12 Ulrich Drepper <drepper@gmail.com>
27056
27057 [BZ #12511]
27058 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27059 don't set DF_1_NODELETE here.
27060 (do_lookup_x): When entering new entry test for copy relocation
27061 and if necessary set DF_1_NODELETE flag.
27062 * elf/tst-unique4.cc: New file.
27063 * elf/tst-unique4.h: New file.
27064 * elf/tst-unique4lib.cc: New file.
27065 * elf/Makefile: Add rules to build and run tst-unique4.
27066 Patch by Piotr Bury <pbury@goahead.com>.
27067
22836f52
UD
270682011-05-11 Ulrich Drepper <drepper@gmail.com>
27069
f574184a
UD
27070 [BZ #12052]
27071 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27072
e1fb097f
UD
27073 [BZ #12625]
27074 * misc/mntent_r.c (addmntent): Flush the stream after the output
27075
22836f52
UD
27076 [BZ #12393]
27077 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27078 (is_trusted_path_normalize): Skip initial colon. Append slash
27079 to empty buffer. Duplicate is_trusted_path code but allow
27080 constructed patch to be prefix.
27081 (is_dst): Allow $ORIGIN followed by /.
27082 (_dl_dst_substitute): Correct clearing of check_for_trusted.
27083 Correct testing of result of is_trusted_path_normalize
27084 (decompose_rpath): Fix warning.
27085
7b3b0b2a
UD
270862011-05-10 Ulrich Drepper <drepper@gmail.com>
27087
27088 [BZ #11257]
27089 * grp/initgroups.c (internal_getgrouplist): When we found the service
27090 list through the initgroups entry in nsswitch.conf do not always
27091 continue on a successful lookup. Don't always use the
eac80ce2 27092 __nss_group_database value if it is set.
7b3b0b2a
UD
27093 * nss/nsswitch.conf (initgroups): Change action for successful db
27094 lookup to continue for compatibility.
27095
2a81eaa5
UD
270962011-05-09 Ulrich Drepper <drepper@gmail.com>
27097
be97a69e
UD
27098 [BZ #11532]
27099 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27100 and CP774 modules.
27101 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27102 and CP774 modules.
27103 * iconvdata/tst-tables.sh: Likewise.
27104 * iconvdata/cp770.c: New file.
27105 * iconvdata/cp771.c: New file.
27106 * iconvdata/cp772.c: New file.
27107 * iconvdata/cp773.c: New file.
27108 * iconvdata/cp774.c: New file.
27109 * iconvdata/testdata/CP770: New file.
27110 * iconvdata/testdata/CP770..UTF8: New file.
27111 * iconvdata/testdata/CP771: New file.
27112 * iconvdata/testdata/CP771..UTF8: New file.
27113 * iconvdata/testdata/CP772: New file.
27114 * iconvdata/testdata/CP772..UTF8: New file.
27115 * iconvdata/testdata/CP773: New file.
27116 * iconvdata/testdata/CP773..UTF8: New file.
27117 * iconvdata/testdata/CP774: New file.
27118 * iconvdata/testdata/CP774..UTF8: New file.
27119
27120 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27121 END CHARMAP line.
27122 * iconvdata/gen-8bit-gap.sh: Likewise.
27123 * iconvdata/gen-8bit.sh: Likewise.
27124
c1e9e399
UD
27125 * locale/iso-639.def: Add ary entry.
27126
24c55fb3 27127 [BZ #11258]
96b4b1b0
UD
27128 * locale/C-translit.h.in: Add U20A1 transliteration.
27129
bdc2f971
KB
27130 [BZ #12178]
27131 * locale/iso-639.def: Add wae entry.
27132 Patch by Kevin Bortis <bortis@translate-wae.ch>.
27133
2952b117
UD
27134 [BZ #12545]
27135 * locale/programs/localedef.c (construct_output_path): Use ssize_t
27136 for n.
27137
2a81eaa5
UD
27138 [BZ #12711]
27139 * locale/C-translit.h.in: Add entry for U20B9.
27140 Patch by pravin.d.s@gmail.com.
27141
28377d1b
UD
271422011-05-08 Ulrich Drepper <drepper@gmail.com>
27143
7fb90fb8
UD
27144 [BZ #12713]
27145 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27146 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
27147 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
27148 in rtld. Use *stat64.
7fb90fb8 27149 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 27150 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 27151 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
27152 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27153 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27154 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27155 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27156 __fstatat64 macros.
7fb90fb8
UD
27157 * include/dirent.h: Add libc_hidden_proto for rewinddir.
27158 * dirent/rewinddir.c: Add libc_hidden_def.
27159 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 27160 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 27161
28377d1b
UD
27162 * include/dirent.h (__alloc_dir): Add flags parameter.
27163 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27164 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27165 __alloc_dir.
27166 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
27167 from fdopendir if O_CLOEXEC is already set.
27168
66bdbaa4
AM
271692011-03-15 Alan Modra <amodra@gmail.com>
27170
27171 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27172 l_tls_firstbyte_offset non-zero. Save padding offset in
27173 l_tls_firstbyte_offset for later use.
27174 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27175 freeing static tls block.
27176
95721191
JN
271772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
27178
27179 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27180 where #ifdef was intended. The intent is to prevent ARG_MAX from
27181 being defined by the kernel headers.
27182
f87dfb1f
UD
271832011-05-07 Ulrich Drepper <drepper@gmail.com>
27184
27185 [BZ #12734]
27186 * resolv/resolv.h: Define RES_NOTLDQUERY.
27187 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27188 no-tld-query and set RES_NOTLDQUERY.
27189 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27190 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27191 modern BIND to search name as TLD unless forbidden.
27192
47c3cd7a
UD
271932011-05-07 Petr Baudis <pasky@suse.cz>
27194 Ulrich Drepper <drepper@gmail.com>
27195
27196 [BZ #12393]
27197 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27198 (is_trusted_path): ...to here.
c1e9ea35 27199 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 27200 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 27201 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 27202
8a35c912
PP
272032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27204
27205 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27206 __BEGIN/__END_DECLS.
27207
acd41f47
UD
272082011-05-06 Ulrich Drepper <drepper@gmail.com>
27209
27210 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27211 NSS_STATUS_NOTFOUND if no record was found.
27212
597df647
AS
272132011-05-05 Andreas Schwab <schwab@redhat.com>
27214
27215 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27216 (headers-not-in-tirpc): Remove rpc/netdb.h
27217 * resolv/netdb.h: Revert last change.
27218
b9af1301
PP
272192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27220
27221 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27222 circular dependency between libgcc.a and libc.a.
27223
4e34d5f5
AS
272242011-05-05 Andreas Schwab <schwab@redhat.com>
27225
27226 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27227 * nis/Makefile: Don't install rpcsvc/*.
27228 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27229 instead of <rpc/types.h>.
27230 (MAXHOSTNAMELEN): Define.
27231
00ee369c
AS
272322011-05-03 Andreas Schwab <schwab@redhat.com>
27233
27234 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27235
0b592a30
MB
272362011-04-28 Maciej Babinski <mbabinski@google.com>
27237
27238 [BZ #12714]
27239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27240 gethostbyname4_r when IPv6 results are possible.
27241
6e04cbbe
UD
272422011-05-02 Ulrich Drepper <drepper@gmail.com>
27243
27244 [BZ #12723]
27245 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27246 _PC_PIPE_BUF handling.
27247
e4ecafe0
BH
272482011-04-30 Bruno Haible <bruno@clisp.org>
27249
27250 [BZ #12717]
27251 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27252 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27253 to 'int'.
27254 * inet/getnameinfo.c (getnameinfo): Likewise.
27255
125ee683
UD
272562011-04-29 Ulrich Drepper <drepper@gmail.com>
27257
27258 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27259 to groups setting in database lookup.
27260 * nss/nsswitch.conf: Add initgroups entry.
27261
b722481a
EB
272622011-04-22 Ulrich Drepper <drepper@gmail.com>
27263
27264 [BZ #12685]
27265 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27266 mode string.
27267 Patch by Eric Blake <eblake@redhat.com>.
27268
4df46dbd
L
272692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27270
27271 * sunrpc/Makefile (need-export-routines): Add svc_run.
27272 (routines): Remove svc_run.
27273 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27274 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27275 * sunrpc/svc_run.c (svc_run): Likewise.
27276 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27277
e84142d2
UD
272782011-04-21 Ulrich Drepper <drepper@gmail.com>
27279
27280 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27281 problem in reallocation in last patch.
27282
877175d8
UD
272832011-04-20 Ulrich Drepper <drepper@gmail.com>
27284
27285 * sunrpc/Makefile: Move inclusion of Rules.
27286
ab8eed78
UD
272872011-04-19 Ulrich Drepper <drepper@gmail.com>
27288
27289 * nss/nss_files/files-initgroups.c: New file.
27290 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27291 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27292 _nss_files_initgroups_dyn.
27293
e3d8f584
RS
272942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27295
27296 * elf/elf.h (R_ARM_IRELATIVE): Define.
27297
af190f45
UD
272982011-04-19 Ulrich Drepper <drepper@gmail.com>
27299
27300 * po/ru.po: Update from translation team.
27301
53cf59ef
UD
273022011-04-17 Ulrich Drepper <drepper@gmail.com>
27303
27304 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27305 dependencies.
27306
4c559bcd
MF
273072011-02-06 Mike Frysinger <vapier@gentoo.org>
27308
27309 [BZ #12653]
27310 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27311 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27312 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27313 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27314 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27315
4420675c
AS
273162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27317
27318 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27319 differing bytes.
27320 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27322 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27323
75ea32ab
UD
273242011-04-17 Ulrich Drepper <drepper@gmail.com>
27325
27326 [BZ #12420]
27327 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27328 storing it.
27329 * stdlib/bug-getcontext.c: New file.
27330 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27331
27390476
AK
273322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27333
27334 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27335 instructions into .machine "z9-109".
27336 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27337 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27338
10442705
AK
273392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27340
27341 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27342 between environment variables and auxiliary vector.
27343
7b57bfe5
UD
273442011-04-16 Ulrich Drepper <drepper@gmail.com>
27345
27346 * Makefile: Add rules to build linkobj/libc.so.
27347 * include/libc-symbols.h: Define libc_hidden_nolink.
27348 * include/rpc/auth.h: Mark functions which are to be hidden.
27349 * include/rpc/auth_des.h: Likewise.
27350 * include/rpc/auth_unix.h: Likewise.
27351 * include/rpc/clnt.h: Likewise.
27352 * include/rpc/des_crypt.h: Likewise.
27353 * include/rpc/key_prot.h: Likewise.
27354 * include/rpc/pmap_clnt.h: Likewise.
27355 * include/rpc/pmap_prot.h: Likewise.
27356 * include/rpc/pmap_rmt.h: Likewise.
27357 * include/rpc/rpc_msg.h: Likewise.
27358 * include/rpc/svc.h: Likewise.
27359 * include/rpc/svc_auth.h: Likewise.
27360 * include/rpc/xdr.h: Likewise.
27361 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27362 * nss/Makefile: Likewise.
27363 * sunrpc/Makefile: Don't install headers. Build library with normal
27364 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27365 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27366 for the compat linking library. Remove use of INTDEF/INTUSE.
27367 * sunrpc/auth_none.c: Likewise.
27368 * sunrpc/auth_unix.c: Likewise.
27369 * sunrpc/authdes_prot.c: Likewise.
27370 * sunrpc/authuxprot.c: Likewise.
27371 * sunrpc/clnt_gen.c: Likewise.
27372 * sunrpc/clnt_perr.c: Likewise.
27373 * sunrpc/clnt_raw.c: Likewise.
27374 * sunrpc/clnt_simp.c: Likewise.
27375 * sunrpc/clnt_tcp.c: Likewise.
27376 * sunrpc/clnt_udp.c: Likewise.
27377 * sunrpc/clnt_unix.c: Likewise.
27378 * sunrpc/des_crypt.c: Likewise.
27379 * sunrpc/des_soft.c: Likewise.
27380 * sunrpc/get_myaddr.c: Likewise.
27381 * sunrpc/key_call.c: Likewise.
27382 * sunrpc/key_prot.c: Likewise.
27383 * sunrpc/netname.c: Likewise.
27384 * sunrpc/pm_getmaps.c: Likewise.
27385 * sunrpc/pm_getport.c: Likewise.
27386 * sunrpc/pmap_clnt.c: Likewise.
27387 * sunrpc/pmap_prot.c: Likewise.
27388 * sunrpc/pmap_prot2.c: Likewise.
27389 * sunrpc/pmap_rmt.c: Likewise.
27390 * sunrpc/publickey.c: Likewise.
27391 * sunrpc/rpc_cmsg.c: Likewise.
27392 * sunrpc/rpc_common.c: Likewise.
27393 * sunrpc/rpc_dtable.c: Likewise.
27394 * sunrpc/rpc_prot.c: Likewise.
27395 * sunrpc/rpc_thread.c: Likewise.
27396 * sunrpc/rtime.c: Likewise.
27397 * sunrpc/svc.c: Likewise.
27398 * sunrpc/svc_auth.c: Likewise.
27399 * sunrpc/svc_authux.c: Likewise.
27400 * sunrpc/svc_raw.c: Likewise.
27401 * sunrpc/svc_run.c: Likewise.
27402 * sunrpc/svc_simple.c: Likewise.
27403 * sunrpc/svc_tcp.c: Likewise.
27404 * sunrpc/svc_udp.c: Likewise.
27405 * sunrpc/svc_unix.c: Likewise.
27406 * sunrpc/svcauth_des.c: Likewise.
27407 * sunrpc/xcrypt.c: Likewise.
27408 * sunrpc/xdr.c: Likewise.
27409 * sunrpc/xdr_array.c: Likewise.
27410 * sunrpc/xdr_float.c: Likewise.
27411 * sunrpc/xdr_intXX_t.c: Likewise.
27412 * sunrpc/xdr_mem.c: Likewise.
27413 * sunrpc/xdr_rec.c: Likewise.
27414 * sunrpc/xdr_ref.c: Likewise.
27415 * sunrpc/xdr_sizeof.c: Likewise.
27416 * sunrpc/xdr_stdio.c: Likewise.
27417
e6c61494
UD
274182011-04-10 Ulrich Drepper <drepper@gmail.com>
27419
27420 [BZ #12650]
27421 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27422 * sysdeps/ia64/dl-tls.h: Likewise.
27423 * sysdeps/powerpc/dl-tls.h: Likewise.
27424 * sysdeps/s390/dl-tls.h: Likewise.
27425 * sysdeps/sh/dl-tls.h: Likewise.
27426 * sysdeps/sparc/dl-tls.h: Likewise.
27427 * sysdeps/x86_64/dl-tls.h: Likewise.
27428 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27429
34fe483e
AS
274302011-03-14 Andreas Schwab <schwab@redhat.com>
27431
27432 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27433 rpath element also skip the following colon.
27434 (expand_dynamic_string_token): Add is_path parameter and pass
27435 down to DL_DST_REQUIRED and _dl_dst_substitute.
27436 (decompose_rpath): Call expand_dynamic_string_token with
27437 non-zero is_path. Ignore empty rpaths.
27438 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27439 with zero is_path.
27440
f12a32e6
AS
274412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27442
27443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27444 Make cancelable.
27445
38a7d692
UD
274462011-04-09 Ulrich Drepper <drepper@gmail.com>
27447
27448 [BZ #12655]
27449 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27450 Patch by Filipe David Manana <fdmanana@apache.org>.
27451
e451d22b
AS
274522011-04-07 Andreas Schwab <schwab@redhat.com>
27453
27454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27455 Maintain aligned stack.
27456 (CHECK_RSP): Remove unused macro.
27457
dedc7c7b
UD
274582011-04-03 Ulrich Drepper <drepper@gmail.com>
27459
27460 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27461 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27462
94521213
UD
274632011-04-02 Ulrich Drepper <drepper@gmail.com>
27464
27465 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27466
8cb700c0 27467 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27468
0354e355
L
274692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27470
27471 [BZ #12518]
27472 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27473 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27474 * sysdeps/x86_64/memmove.c: New file.
27475 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27476 (memcpy): Renamed to ...
27477 (__new_memcpy): This.
27478 (memcpy): Provide GLIBC_2_14 memcpy.
27479 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27480 (memcpy): Provide GLIBC_2_2_5 memcpy.
27481
8593482f
UD
274822011-04-01 Ulrich Drepper <drepper@gmail.com>
27483
27484 [BZ #12631]
27485 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27486
81a5726b
AS
274872011-03-30 Andreas Schwab <schwab@redhat.com>
27488
27489 * misc/syncfs.c: New file.
27490 * misc/Makefile (routines): Add syncfs.
27491 * posix/unistd.h: Declare syncfs.
27492 * sysdeps/unix/syscalls.list: Add syncfs.
27493
00e5419f
AS
274942011-04-01 Andreas Schwab <schwab@redhat.com>
27495
27496 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27497 open_by_handle_at.
27498 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27499 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27501 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27503 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27505
748876bf
UD
275062011-04-01 Ulrich Drepper <drepper@gmail.com>
27507
658e451d
UD
27508 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27509 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27510 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27511 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27512 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27515
748876bf
UD
27516 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27517 sync_file_range.c with -fexceptions.
27518 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27519 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27520 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27521 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27522 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27523 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27524 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27525 sync_file_range as cancellation point
27526 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27527 now a wrapper around __call_sync_file_range with cancellation handling.
27528 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27529 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27530 function name to __call_sync_file_range.
27531 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27532 Add call_sync_file_range.
748876bf 27533
6e63d5e1
AS
275342011-04-01 Andreas Schwab <schwab@redhat.com>
27535
27536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27537 bits/timex.h.
6e63d5e1 27538
46998f74
UD
275392011-04-01 Ulrich Drepper <drepper@gmail.com>
27540
4c1423ed
UD
27541 * iconv/iconv.h: Fix typo in comment.
27542 * io/fcntl.h: Likewise.
27543 * libio/stdio.h: Likewise.
27544 * posix/spawn.h: Likewise.
27545 * posix/unistd.h: Likewise.
27546 * stdlib/stdlib.h: Likewise.
27547 * time/time.h: Likewise.
27548 * wcsmbs/wchar.h: Likewise.
27549
158648c0
UD
27550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27551 open_by_handle): Add.
27552 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27553 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27554 Augment a few comments.
27555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27559 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27560 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27561 open_by_handle.
27562
46998f74
UD
27563 * io/fcntl.h (AT_EMPTY_PATH): Define.
27564
83fe108b
UD
275652011-03-30 Ulrich Drepper <drepper@gmail.com>
27566
27567 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27568 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27569 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27570 to...
27571 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
27572 * Versions.def: Add GLIBC_2.14.
27573 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27574 Export.
83fe108b 27575
bb242059
UD
275762011-03-22 Ulrich Drepper <drepper@gmail.com>
27577
27578 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27579 round counter.
27580 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27581
c97a1282
L
275822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27583
27584 [BZ #12597]
27585 * string/test-strncmp.c (do_page_test): New function.
27586 (check2): Likewise.
27587 (test_main): Call check2.
27588 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27589
2a115601
UD
275902011-03-20 Ulrich Drepper <drepper@gmail.com>
27591
27592 [BZ #12587]
27593 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27594 Handle cache information in CPU leaf 4.
27595 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27596
8126d904
UD
275972011-03-18 Ulrich Drepper <drepper@gmail.com>
27598
042c49c6 27599 [BZ #12583]
8126d904
UD
27600 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27601 character representation.
27602 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27603
ccfe366e
RA
276042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27605
27606 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27607 END(__isnan) to END(__isnanf) to match function entry point/label
27608 EALIGN(__isnanf,...).
27609
c6e13027
JJ
276102011-03-10 Jakub Jelinek <jakub@redhat.com>
27611
27612 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27613
33f85a3f
UD
276142011-03-10 Ulrich Drepper <drepper@gmail.com>
27615
028478fa
UD
27616 [BZ #12510]
27617 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27618 copy from the symbol referenced in the relocation to initialize the
27619 used variable.
27620 Patch by Piotr Bury <pbury@goahead.com>.
27621 * elf/Makefile: Add rules to build and tst-unique3.
27622 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27623 * elf/tst-unique3.cc: New file.
27624 * elf/tst-unique3.h: New file.
27625 * elf/tst-unique3lib.cc: New file.
27626 * elf/tst-unique3lib2.cc: New file.
27627
33f85a3f
UD
27628 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27629
03592fc7
MF
276302011-03-10 Mike Frysinger <vapier@gentoo.org>
27631
27632 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27633 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27634 to _start.
03592fc7 27635
6a5ee102
UD
276362011-03-06 Ulrich Drepper <drepper@gmail.com>
27637
27638 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27639 to-be-loaded object along a path to loader is ld.so.
27640
7e4ba49c
HJ
276412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27642 Ulrich Drepper <drepper@gmail.com>
27643
27644 * sysdeps/x86_64/memset.S: After aligning destination, code
27645 branches to different locations depending on the value of
27646 misalignment, when multiarch is enabled. Fix this.
27647
276482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27649
27650 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27651 Set _x86_64_preferred_memory_instruction for AMD processsors.
27652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27653 Set bit_Prefer_SSE_for_memop for AMD processors.
27654
13a804de
UD
276552011-03-04 Ulrich Drepper <drepper@gmail.com>
27656
27657 * libio/fmemopen.c (fmemopen): Optimize a bit.
27658
9d25c392
AS
276592011-03-03 Andreas Schwab <schwab@redhat.com>
27660
27661 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27662
a5543c6a
RM
276632011-03-03 Roland McGrath <roland@redhat.com>
27664
27665 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27666
012d35f7
DM
276672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27668
7e4ba49c 27669 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
27670 __bzero_ultra1 instead of __memset_ultra1.
27671
4bff6e01
AS
276722011-02-23 Andreas Schwab <schwab@redhat.com>
27673 Ulrich Drepper <drepper@gmail.com>
27674
27675 [BZ #12509]
27676 * include/link.h (struct link_map): Add l_orig_initfini.
27677 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27678 returning unsuccessfully.
27679 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27680 close of a file loaded at startup, restore the original l_initfini
27681 list.
27682 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27683 list, store the pointer.
27684 * elf/Makefile ($(objpfx)noload-mem): New rule.
27685 (noload-ENV): Define.
27686 (tests): Add $(objpfx)noload-mem.
27687 * elf/noload.c: Include <memcheck.h>.
27688 (main): Call mtrace. Close all opened handles.
27689
f2092faf
AS
276902011-02-17 Andreas Schwab <schwab@redhat.com>
27691
27692 [BZ #12454]
27693 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27694 dependencies are missing.
27695
6c8a2e88
ST
276962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27697
f2092faf 27698 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
27699 Hurd needs munmap.
27700 * sysdeps/mach/hurd/ifreq.h: New file.
27701
84a42118
PB
277022011-01-27 Petr Baudis <pasky@suse.cz>
27703 Ulrich Drepper <drepper@gmail.com>
27704
071f805e 27705 [BZ 12445]#
84a42118
PB
27706 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27707 to extend_alloca().
27708 * stdio-common/bug23.c: New file.
27709 * stdio-common/Makefile (tests): Add bug23.
27710
e23fe25b
AS
277112010-09-28 Andreas Schwab <schwab@redhat.com>
27712 Ulrich Drepper <drepper@gmail.com>
27713
27714 [BZ #12489]
27715 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27716 before performing relro protection. At old place add assertion
27717 to make sure nothing changed.
27718
d3f02e10
NS
277192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27720 Glauber de Oliveira Costa <glommer@gmail.com>
27721
27722 * elf/elf.h: Add new ARM TLS relocs.
27723
d55fd7a5
RA
277242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27725
27726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27727 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27728 cast from r3.
27729 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27730 'tests' variable.
27731 * sysdeps/wordsize-64/tst-writev.c: New file.
27732
2206397e
RA
277332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27734
27735 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27736 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27737 insns in _dl_start to prevent a TOC reference before relocs are
27738 resolved.
27739
e9433893
UD
277402011-02-15 Ulrich Drepper <drepper@gmail.com>
27741
27742 [BZ #12469]
27743 * Makeconfig: Remove RANLIB definition.
27744 * Makerules: Don't use RANLIB.
27745 * aclocal.m4: Remove ranlib test.
27746 * configure.in: No need to check for ranlib.
27747 * elf/rtld-Rules: Don't use RANLIB.
27748
f75286c6
ST
277492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27750
8e31c82d
ST
27751 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27752 protection macro.
27753 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27754 inclusion protection macro.
27755
f75286c6
ST
27756 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27757 SIGRTMIN and SIGRTMAX and print information in that case only when
27758 SIGRTMIN is defined.
27759
c1d0e639
JJ
277602011-02-11 Jakub Jelinek <jakub@redhat.com>
27761
27762 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27763 arginfo fn returning -1.
27764
27765 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27766 and thousands string is zero terminated.
27767
edf9294e
AS
277682011-02-03 Andreas Schwab <schwab@redhat.com>
27769
27770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27771 sysdeps/unix/sysv/linux/bits/socket.h.
27772
2b7e92df
ST
277732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27774
edf9294e
AS
27775 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27776 (__CPU_COUNT): Remove old macros.
27777 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27778 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27779 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27780 (__sched_cpualloc, __sched_cpufree): Add declarations.
27781
a4c7ea7b
UD
277822011-02-05 Ulrich Drepper <drepper@gmail.com>
27783
27784 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27785 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27786 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27787 (readdhstai): Return value of addhstaiX call.
27788 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27789 (addgrbyX): Return value returned by cache_addgr.
27790 (readdgrbyname): Return value returned by addgrbyX.
27791 (readdgrbygid): Likewise.
27792 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27793 (addpwbyX): Return value returned by cache_addpw.
27794 (readdpwbyname): Return value returned by addhstbyX.
27795 (readdpwbyuid): Likewise.
27796 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27797 (addservbyX): Return value returned by cache_addserv.
27798 (readdservbyname): Return value returned by addservbyX:
27799 (readdservbyport): Likewise.
27800 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27801 (addhstbyX): Return value returned by cache_addhst.
27802 (readdhstbyname): Return value returned by addhstbyX.
27803 (readdhstbyaddr): Likewise.
27804 (readdhstbynamev6): Likewise.
27805 (readdhstbyaddrv6): Likewise.
27806 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27807 (readdinitgroups): Return value returned by addinitgroupsX.
27808 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27809 (prune_cache): Keep track of timeout value of re-added entries.
27810 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27811 * nscd/nscd.h: Adjust prototypes of readd* functions.
27812
a0bf67cc
RM
278132011-02-04 Roland McGrath <roland@redhat.com>
27814
27815 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27816 (nis_stats): Likewise.
27817 * nis/nis_modify.c (nis_modify): Likewise.
27818 * nis/nis_remove.c (nis_remove): Likewise.
27819 * nis/nis_add.c (nis_add): Likewise.
27820
27821 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27822
27823 * posix/fnmatch_loop.c: Add some consts.
27824
27825 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27826
435b95eb
L
278272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27828
27829 [BZ #12460]
27830 * config.make.in (config-cflags-novzeroupper): Define.
27831 * configure.in: Substitute libc_cv_cc_novzeroupper.
27832 * elf/Makefile (AVX-CFLAGS): Define.
27833 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27834 (CFLAGS-tst-auditmod4a.c): Likewise.
27835 (CFLAGS-tst-auditmod4b.c): Likewise.
27836 (CFLAGS-tst-auditmod6b.c): Likewise.
27837 (CFLAGS-tst-auditmod6c.c): Likewise.
27838 (CFLAGS-tst-auditmod7b.c): Likewise.
27839 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27840
8517b15e
UD
278412011-02-02 Ulrich Drepper <drepper@gmail.com>
27842
27843 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27844 function to the callback.
27845 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27846
10a656fe
AS
278472011-02-02 Andreas Schwab <schwab@redhat.com>
27848
27849 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27850 of errno.
27851
968dad0a
UD
278522011-01-19 Ulrich Drepper <drepper@gmail.com>
27853
9f94d2ea 27854 [BZ #11724]
968dad0a
UD
27855 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27856 of constructors.
27857 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27858 of destructors.
27859 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27860
27861 [BZ #11724]
27862 * elf/Makefile: Add rules to build and run new test.
27863 * elf/tst-initorder.c: New file.
27864 * elf/tst-initorder.exp: New file.
27865 * elf/tst-initordera1.c: New file.
27866 * elf/tst-initordera2.c: New file.
27867 * elf/tst-initordera3.c: New file.
27868 * elf/tst-initordera4.c: New file.
27869 * elf/tst-initorderb1.c: New file.
27870 * elf/tst-initorderb2.c: New file.
27871 * elf/tst-order-a1.c: New file.
27872 * elf/tst-order-a2.c: New file.
27873 * elf/tst-order-a3.c: New file.
27874 * elf/tst-order-a4.c: New file.
27875 * elf/tst-order-b1.c: New file.
27876 * elf/tst-order-b2.c: New file.
27877 * elf/tst-order-main.c: New file.
27878 New test case by George Gensure <werkt0@gmail.com>.
27879
86e92359
UD
278802010-10-01 Andreas Schwab <schwab@redhat.com>
27881
27882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27883 decoding ACE if AI_CANONIDN.
27884
5d5732b0
UD
278852011-01-18 Ulrich Drepper <drepper@gmail.com>
27886
27887 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27888
a77e8cbc
UD
278892011-01-17 Ulrich Drepper <drepper@gmail.com>
27890
6392473f
UD
27891 * version.h (RELEASE): Bump for 2.13 release.
27892 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27893
620a0529
UD
27894 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27895
18ba70a5
UD
27896 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27897 MADV_NOHUGEPAGE.
32465c3e
UD
27898 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27899 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27900 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27901 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27902 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27903 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27904
c0dafcf1
UD
27905 * posix/getconf.c: Update copyright year.
27906 * catgets/gencat.c: Likewise.
27907 * csu/version.c: Likewise.
27908 * debug/catchsegv.sh: Likewise.
27909 * debug/xtrace.sh: Likewise.
27910 * elf/ldconfig.c: Likewise.
27911 * elf/ldd.bash.in: Likewise.
27912 * elf/sprof.c (print_version): Likewise.
27913 * iconv/iconv_prog.c: Likewise.
27914 * iconv/iconvconfig.c: Likewise.
27915 * locale/programs/locale.c: Likewise.
27916 * locale/programs/localedef.c: Likewise.
27917 * malloc/memusage.sh: Likewise.
27918 * malloc/mtrace.pl: Likewise.
27919 * nscd/nscd.c (print_version): Likewise.
27920 * nss/getent.c: Likewise.
27921
a77e8cbc
UD
27922 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27923 PF_CAIF, and PF_ALG.
27924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27925
77e8bddf
AS
279262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27927
1f20b93a
AS
27928 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27929 (modules-names): Use them.
27930 (ifunc-test-modules, ifunc-pie-tests): Define.
27931 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27932 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27933 (test-extras): Likewise.
27934 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27935 $(compile-command.c).
27936 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27937 (all-built-dso): Define.
27938 (check-textrel.out, check-execstack.out): Depend on it.
27939
77e8bddf
AS
27940 * configure.in: Don't override --enable-multi-arch.
27941
bc425b33
UD
279422011-01-15 Ulrich Drepper <drepper@gmail.com>
27943
27944 [BZ #6812]
27945 * nscd/hstcache.c (tryagain): Define.
27946 (cache_addhst): Return tryagain not notfound for temporary errors.
27947 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27948 failed.
27949
794c3ad3
UD
279502011-01-14 Ulrich Drepper <drepper@gmail.com>
27951
70181fdd
UD
27952 [BZ #10563]
27953 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27954 to make the syscall.
27955 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27956
794c3ad3
UD
27957 [BZ #12378]
27958 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27959 and fall back to matching as normal character if the string ends before
27960 the matching ']' is found. This is what POSIX requires.
27961 * posix/testfnm.c: Adjust test result.
27962 * posix/globtest.sh: Adjust test result. Add new test.
27963 * posix/tst-fnmatch.input: Likewise.
27964 * posix/tst-fnmatch2.c: Add new test.
27965
68dc9497
AS
279662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27967
27968 * elf/Makefile (check-execstack): Revert last change. Depend on
27969 check-execstack.h.
27970 (check-execstack.h): New target.
27971 (generated): Add check-execstack.h.
27972 * elf/check-execstack.c: Include "check-execstack.h".
27973 (main): Revert last change.
27974 (handle_file): Return zero if GNU_STACK is absent and
27975 DEFAULT_STACK_PERMS doesn't include PF_X.
27976
451f001b
UD
279772011-01-13 Ulrich Drepper <drepper@gmail.com>
27978
cfa28e56
UD
27979 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27980 in child fails because the descriptor is already closed.
8cf8ce17
UD
27981 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27982 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27983 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27984
1086d70d
UD
27985 [BZ #12397]
27986 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27987 syscall.
27988
451f001b
UD
27989 [BZ #10484]
27990 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27991 temporary buffer used to handle multi lookups locally.
a85b5cb4 27992 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27993
08769175
UD
279942011-01-12 Ulrich Drepper <drepper@gmail.com>
27995
27996 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27997 loader is ld.so.
27998
5e49c52e
UD
279992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
28000
28001 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28002 alignment for SSE2.
28003
60522a5f
UD
280042011-01-12 Ulrich Drepper <drepper@gmail.com>
28005
28006 [BZ #12394]
28007 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28008 characters. When rounding increased number of integer digits recompute
28009 number of groups.
28010 * stdio-common/tst-grouping.c: New file.
28011 * stdio-common/Makefile: Add rules to build and run tst-grouping.
28012
f257bbd7
UD
280132011-01-09 Ulrich Drepper <drepper@gmail.com>
28014
28015 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28016 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
28017
28018 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28019 void.
28020 * bits/select.h: Likewise.
28021
fa9c15cb
UD
280222011-01-08 Ulrich Drepper <drepper@gmail.com>
28023
28024 * po/ja.po: Update from translation team.
28025
16c2895f
DM
280262011-01-04 David S. Miller <davem@sunset.davemloft.net>
28027
28028 [BZ #11155]
28029 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28030 implementation just like for lxstat, fxstatat, et al.
28031
2543fef2
JM
280322010-12-27 Jim Meyering <meyering@redhat.com>
28033
28034 [BZ #12348]
28035 * posix/regexec.c (build_trtable): Return failure indication upon
28036 calloc failure. Otherwise, re_search_internal could infloop on OOM.
28037
98727dbe
UD
280382010-12-25 Ulrich Drepper <drepper@gmail.com>
28039
5bd6dc5c
UD
28040 [BZ #12201]
28041 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28042 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28043 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28044 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28045
97983464
UD
28046 [BZ #12207]
28047 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28048
98727dbe
UD
28049 [BZ #12204]
28050 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28051 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28052
4a531bb0
L
280532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
28054
28055 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28056 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28057 script has SORT_BY_INIT_PRIORITY.
28058 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28059 NO_CTORS_DTORS_SECTIONS is defined.
28060 * elf/soinit.c: Likewise.
28061 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28062 NO_CTORS_DTORS_SECTIONS is defined.
28063 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28064 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28065 * sysdeps/sh/init-first.c: Likewise.
28066 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28067
07eb4b71
UD
280682010-12-24 Ulrich Drepper <drepper@gmail.com>
28069
28070 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28071 always use the slow path.
28072
30950a5f
RA
280732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
28074
28075 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28076 similar rule which adds the sysdep directories to the header search in
28077 order to pick up the correct platform stackinfo.h.
28078 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28079 perform test if it is, otherwise return successfully without testing.
28080 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28081 DEFAULT_STACK_PERMS define in stackinfo.h.
28082 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28083 defined in stackinfo.h.
28084 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28085 DEFAULT_STACK_PERMS defined in stackinfo.h.
28086 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28087 * sysdeps/ia64/stackinfo.h: Likewise.
28088 * sysdeps/s390/stackinfo.h: Likewise.
28089 * sysdeps/sh/stackinfo.h: Likewise.
28090 * sysdeps/sparc/stackinfo.h: Likewise.
28091 * sysdeps/x86_64/stackinfo.h: Likewise.
28092 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28093 PF_X for powerpc64. Retain PF_X for powerpc32.
28094
db753e2c
UD
280952010-12-19 Ulrich Drepper <drepper@gmail.com>
28096
14b697f7
UD
28097 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28098 accurately.
db753e2c
UD
28099 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28100 GETDENTS_64BIT_ALIGNED.
28101
28300719
UD
281022010-12-14 Ulrich Drepper <dreper@gmail.com>
28103
14b697f7 28104 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 28105
4f197237
AS
281062010-12-10 Andreas Schwab <schwab@redhat.com>
28107
dbb0472f
AS
28108 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28109 _GNU_SOURCE.
28110
4f197237
AS
28111 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28112 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28113 Remove __restrict.
28114 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28115 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28116
fb88ac72
UD
281172010-12-09 Ulrich Drepper <drepper@gmail.com>
28118
28119 [BZ #11655]
28120 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28121 are initialized.
28122
42acbb92
JJ
281232010-12-09 Jakub Jelinek <jakub@redhat.com>
28124
28125 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28126
c038d98d
UD
281272010-12-03 Ulrich Drepper <drepper@gmail.com>
28128
28129 * po/it.po: Update from translation team.
28130
3a4a2499
L
281312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
28132
28133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28134 unused codes.
28135
1e24cf6e
UD
281362010-11-30 Ulrich Drepper <drepper@gmail.com>
28137
28138 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28139
a7690819
AS
281402010-11-24 Andreas Schwab <schwab@redhat.com>
28141
28142 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28143 specially.
28144 (gaih_getanswer_slice): Likewise.
28145
3bf8d1b1
JJ
281462010-10-20 Jakub Jelinek <jakub@redhat.com>
28147
28148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28149
6db52fbb
PB
281502010-05-31 Petr Baudis <pasky@suse.cz>
28151
28152 [BZ #11149]
28153 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28154 silently even in the chroot mode.
28155
eaca7569
UD
281562010-11-22 Ulrich Drepper <drepper@gmail.com>
28157
28158 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28159 last patch a bit. Pretty printing
28160
3056dcdb
UD
281612010-05-31 Petr Baudis <pasky@suse.cz>
28162
28163 [BZ #10085]
28164 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28165 initialization of skip_initgroups_dyn.
28166
cf7c9078
UD
281672010-11-19 Ulrich Drepper <drepper@gmail.com>
28168
28169 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28171
a1fb5e3e
UD
281722010-11-16 Ulrich Drepper <drepper@gmail.com>
28173
28174 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28175
3540d66b
AS
281762010-11-11 Andreas Schwab <schwab@redhat.com>
28177
28178 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28179 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28180 (tst-fnmatch-ENV): Set MALLOC_TRACE.
28181 ($(objpfx)tst-fnmatch-mem): New rule.
28182 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28183 * posix/tst-fnmatch.c (main): Call mtrace.
28184
13b69574
L
281852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
28186
28187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28188 Support Intel processor model 6 and model 0x2c.
28189
da93d214
LM
281902010-11-10 Luis Machado <luisgpm@br.ibm.com>
28191
28192 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28193 signed comparison.
28194
8ca52c6e
L
281952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
28196
28197 [BZ #12205]
28198 * string/test-strncasecmp.c (check_result): New function.
28199 (do_one_test): Use it.
28200 (check1): New function.
28201 (test_main): Use it.
28202 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28203 Support strcasecmp and strncasecmp.
28204
69da074d
UD
282052010-11-08 Ulrich Drepper <drepper@gmail.com>
28206
28207 [BZ #12194]
28208 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28209 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28210
ff02d528
L
282112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28212
28213 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28214 IFUNC support.
28215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28216 memset-x86-64.
28217 * sysdeps/x86_64/multiarch/bzero.S: New file.
28218 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28219 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28220 * sysdeps/x86_64/multiarch/memset.S: New file.
28221 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28223 Set bit_Prefer_SSE_for_memop for Intel processors.
28224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28225 Define.
28226 (index_Prefer_SSE_for_memop): Define.
28227 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28228
344d0b54
LM
282292010-11-04 Luis Machado <luisgpm@br.ibm.com>
28230
28231 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28232 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28233
c0dde15b
UD
282342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28235
28236 [BZ #12191]
28237 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28238 (__x86_64_raw_data_cache_size_half): Likewise.
28239 (__x86_64_raw_shared_cache_size): Likewise.
28240 (__x86_64_raw_shared_cache_size_half): Likewise.
28241
28242 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28243 (__x86_64_raw_data_cache_size_half): Likewise.
28244 (__x86_64_raw_shared_cache_size): Likewise.
28245 (__x86_64_raw_shared_cache_size_half): Likewise.
28246 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28247 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28248 and __x86_64_raw_shared_cache_size_half. Round
28249 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28250 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28251 to multiple of 256 bytes.
28252
0e516e0e
MS
282532010-11-03 Ulrich Drepper <drepper@gmail.com>
28254
28255 [BZ #12167]
28256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28257 of inacessible symlinks. Verify result of symlink before returning it.
28258 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28259 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28260
0e012e87
ER
282612010-10-28 Erich Ritz <erichritz@gmail.com>
28262
28263 * math/math.h (isinf): Fix typo in comment.
28264
de0ff7bc
UD
282652010-11-01 Ulrich Drepper <drepper@gmail.com>
28266
28267 * po/da.po: Update from translation team.
28268
fa41c84d
UD
282692010-10-26 Ulrich Drepper <drepper@gmail.com>
28270
28271 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28272 is added to the list.
28273
f0967738
AK
282742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28275 Ulrich Drepper <drepper@gmail.com>
28276
28277 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28278 the global list here. Move code to...
28279 (_dl_add_to_namespace_list): ...here. New function.
28280 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28281 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28282 * elf/dl-load.c (lose): Don't remove the element from the list.
28283 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28284 (_dl_map_object): Likewise.
28285
282862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
28287
28288 [BZ #12159]
28289 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28290 into all bytes of SSE register.
28291 Patch by Richard Li <richardpku@gmail.com>.
28292
f0967738 282932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
28294
28295 [BZ #12140]
28296 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28297 perturbing.
28298
d0b9e94f
MB
282992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28300
28301 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28302 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28303 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28304 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28306 submachine.
28307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28308
8e9f92e9
AS
283092010-10-22 Andreas Schwab <schwab@redhat.com>
28310
28311 * include/dlfcn.h (__RTLD_SECURE): Define.
28312 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28313 mode & __RTLD_SECURE instead.
28314 (open_path): Rename preloaded parameter to secure.
28315 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28316 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28317 * elf/dl-deps.c (openaux): Likewise.
28318 * elf/rtld.c (struct map_args): Remove is_preloaded.
28319 (map_doit): Don't use it.
28320 (dl_main): Likewise.
28321 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28322 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28323
bc96fbda
AS
283242010-09-09 Andreas Schwab <schwab@redhat.com>
28325
28326 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28327 (sysd-rules-targets): Remove duplicates.
28328 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28329 rtld-%.$o dependency.
28330
22cd1c9b
AS
283312010-10-18 Andreas Schwab <schwab@redhat.com>
28332
28333 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28334 _dl_map_object do it.
28335
18edac48
UD
283362010-10-19 Ulrich Drepper <drepper@gmail.com>
28337
28338 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28339 fast fma builtins, define the macros in the C99 standard.
28340 (FP_FAST_FMAF): Likewise.
28341 (FP_FAST_FMAL): Likewise.
28342 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28343
28344 * bits/mathdef.h: Update copyright year.
28345 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28346
d2050124
MM
283472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28348
28349 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28350 builtins, define the macros in the C99 standard.
28351 (FP_FAST_FMAF): Likewise.
28352 (FP_FAST_FMAL): Likewise.
28353 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28354 multiply/add.
28355 (FP_FAST_FMAF): Likewise.
28356
475facd1
JJ
283572010-10-15 Jakub Jelinek <jakub@redhat.com>
28358
28359 [BZ #3268]
28360 * math/libm-test.inc (fma_test): Some new testcases.
28361 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28362 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28363 y and infinite z. Do multiplication by C already in long double.
28364 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28366 y and infinite z. Do bitwise or of inexact bit into u.d.
28367 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28368 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28369 * sysdeps/i386/fpu/s_fma.S: Removed.
28370 * sysdeps/i386/fpu/s_fmal.S: Removed.
28371
7c08a05c
JJ
283722010-10-16 Jakub Jelinek <jakub@redhat.com>
28373
28374 [BZ #3268]
28375 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28377 computation is not scheduled after fetestexcept. Fix value
28378 of minimum denormal long double.
28379
f3f7372d
JJ
283802010-10-14 Jakub Jelinek <jakub@redhat.com>
28381
28382 [BZ #3268]
28383 * math/libm-test.inc (fma_test): Add some more tests.
28384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28385 correctly.
28386
14d43591
AS
283872010-10-15 Andreas Schwab <schwab@redhat.com>
28388
28389 * scripts/data/localplt-s390-linux-gnu.data: New file.
28390 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28391
5e908464
JJ
283922010-10-13 Jakub Jelinek <jakub@redhat.com>
28393
28394 [BZ #3268]
28395 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28396 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28397 instead of dbl-64.
28398 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28399 inlines.
28400 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28402 if one of x and y is very large and the other is subnormal.
28403 * sysdeps/s390/fpu/s_fmaf.c: New file.
28404 * sysdeps/s390/fpu/s_fma.c: New file.
28405 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28406 * sysdeps/powerpc/fpu/s_fma.S: New file.
28407 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28408 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28409 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28410
284112010-10-12 Jakub Jelinek <jakub@redhat.com>
28412
28413 [BZ #3268]
28414 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28415 fma tests.
28416 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28417 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28418 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28419 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28420 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28421 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28422 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28423
b833d51f
UD
284242010-10-12 Ulrich Drepper <drepper@redhat.com>
28425
28426 [BZ #12078]
28427 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28428 * posix/bug-regex31.input: Add test case.
28429
1751705d
UD
284302010-10-11 Ulrich Drepper <drepper@gmail.com>
28431
e9b9cbf5
UD
28432 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28433 * posix/bug-regex31.input: New file.
28434
28435 [BZ #12078]
28436 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28437 (parse_sub_exp): Fix last change, use postorder.
28438
ef06edbe
UD
28439 * posix/bug-regex31.c: New file.
28440 * posix/Makefile: Add rules to build and run bug-regex31.
28441
a129c80d
UD
28442 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28443
28444 [BZ #12078]
28445 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28446
b76b818e
UD
28447 [BZ #12108]
28448 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28449 to have entries in sys_siglist.
28450
1751705d
UD
28451 [BZ #12093]
28452 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28453 be NULL.
28454
9ff8d36f
JJ
284552010-10-07 Jakub Jelinek <jakub@redhat.com>
28456
28457 [BZ #3268]
28458 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28459 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28460 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28461 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28462 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28463 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28464 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28465 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28466 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28467 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28468 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28469 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28470 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28471 * math/ftestexcept.c (fetestexcept): Likewise.
28472 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28473 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28474 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28475 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28476 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28477 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28478 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28479
af325969
UD
284802010-10-11 Ulrich Drepper <drepper@gmail.com>
28481
c579b202 28482 [BZ #12107]
af325969
UD
28483 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28484 newline.
28485
67a67b95
UD
284862010-10-06 Ulrich Drepper <drepper@gmail.com>
28487
28488 * string/bug-strstr1.c: New file.
28489 * string/Makefile: Add rules to build and run bug-strstr1.
28490
5fb308bc
EB
284912010-10-05 Eric Blake <eblake@redhat.com>
28492
28493 [BZ #12092]
28494 * string/str-two-way.h (two_way_long_needle): Always clear memory
28495 when skipping input due to the shift table.
28496
45db99c7
UD
284972010-10-03 Ulrich Drepper <drepper@gmail.com>
28498
3b111893
UD
28499 [BZ #12005]
28500 * malloc/mcheck.c: Handle large requests.
28501
45db99c7
UD
28502 [BZ #12077]
28503 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28504 for strncmp and strncasecmp.
28505 * string/stratcliff.c: Add tests for strcmp and strncmp.
28506 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28507
cf7a1eb8
NI
285082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28509
28510 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28511 __set_fpscr.
28512
6484ba5e
AJ
285132010-09-30 Andreas Jaeger <aj@suse.de>
28514
28515 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28516 (CGROUP_SUPER_MAGIC): Define.
28517 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28518 Handle btrfs and cgroup file systems.
28519 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28520 Likewise.
28521
91c42559
LM
285222010-09-27 Luis Machado <luisgpm@br.ibm.com>
28523
28524 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28525 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28526
87a97932
AK
285272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28528
28529 [BZ #12067]
28530 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28531 trying to locate the ELF header.
28532
c21cc9bc
AS
285332010-09-27 Andreas Schwab <schwab@redhat.com>
28534
28535 [BZ #11611]
28536 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28537 Mask out sign-bit copies when constructing f_fsid.
28538
315970f6
PB
285392010-09-24 Petr Baudis <pasky@suse.cz>
28540
28541 * debug/stack_chk_fail_local.c: Add missing licence exception.
28542 * debug/warning-nop.c: Likewise.
28543
1ac7a2c7
JM
285442010-09-15 Joseph Myers <joseph@codesourcery.com>
28545
28546 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28547 implementing getdents64 using getdents syscall, set d_type if
28548 __ASSUME_GETDENTS32_D_TYPE.
28549
56801c50
AS
285502010-09-16 Andreas Schwab <schwab@redhat.com>
28551
28552 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28553 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28554
dda51327
UD
285552010-09-21 Ulrich Drepper <drepper@redhat.com>
28556
28557 [BZ #12037]
28558 * posix/unistd.h: Undo change of feature selection for ftruncate from
28559 2010-01-11.
28560
8ffcee4a
UD
285612010-09-20 Ulrich Drepper <drepper@redhat.com>
28562
a545ecd9 28563 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28564 detection.
28565
e24f0a8b
AS
285662010-09-20 Andreas Schwab <schwab@redhat.com>
28567
28568 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28569 fanotify_mark.
28570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28571
7291c56f
AS
285722010-09-14 Andreas Schwab <schwab@redhat.com>
28573
28574 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28575 variables after CHECK_SP call.
28576 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28577
bc5fb037
AS
285782010-09-13 Andreas Schwab <schwab@redhat.com>
28579 Ulrich Drepper <drepper@redhat.com>
28580
28581 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28582 re-relocationg ld.so.
28583 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28584 _dl_init_paths call.
28585 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28586 here anymore.
28587
e66e7419
UD
285882010-09-14 Ulrich Drepper <drepper@redhat.com>
28589
28590 * resolv/res_init.c (__res_vinit): Count the default server we added.
28591
c044aa75
CLT
285922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28593 Ulrich Drepper <drepper@redhat.com>
28594
28595 [BZ #11968]
28596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28597 (____longjmp_chk): Use %ebx for saving value across system call.
28598 Add unwind info.
28599
32cf4069
AS
286002010-09-06 Andreas Schwab <schwab@redhat.com>
28601
28602 * manual/Makefile: Don't mix pattern rules with normal rules.
28603
817328ee
AS
286042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28605
28606 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28607 operation.
28608 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28609 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28610 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28611 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28613 Likewise.
28614
29fddf61
UD
286152010-09-04 Ulrich Drepper <drepper@redhat.com>
28616
28617 [BZ #11979]
28618 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28619 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28620
0959ffc9
UD
286212010-09-02 Ulrich Drepper <drepper@redhat.com>
28622
28623 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28624 * sysdeps/x86_64/addmul_1.S: Likewise.
28625 * sysdeps/x86_64/lshift.S: Likewise.
28626 * sysdeps/x86_64/mul_1.S: Likewise.
28627 * sysdeps/x86_64/rshift.S: Likewise.
28628 * sysdeps/x86_64/sub_n.S: Likewise.
28629 * sysdeps/x86_64/submul_1.S: Likewise.
28630
ece29840
ST
286312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28632
0959ffc9
UD
28633 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28634 Define __sched_param instead of SCHED_* and sched_param when
ece29840 28635 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 28636 * bits/sched.h [__need_schedparam]
ece29840 28637 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
28638 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28639 (__defined_schedparam): Define to 1.
ece29840
ST
28640 (__sched_param): New structure, identical to sched_param.
28641 (__need_schedparam): Undefine.
28642
e53a31fe
MF
286432010-08-31 Mike Frysinger <vapier@gentoo.org>
28644
fdc0c10d
MF
28645 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28646 (epoll_create1): Declare.
28647
e53a31fe
MF
28648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28649
a726d796
AS
286502010-08-31 Andreas Schwab <schwab@redhat.com>
28651
28652 [BZ #7066]
28653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28654 shifting retval into place.
28655
2f3e3dc7
UD
286562010-09-01 Ulrich Drepper <drepper@redhat.com>
28657
f2933da9
UD
28658 * nis/rpcsvc/nis.h: Update copyright notice.
28659 * nis/rpcsvc/nis.x: Likewise.
28660 * nis/rpcsvc/nis_callback.h: Likewise.
28661 * nis/rpcsvc/nis_callback.x: Likewise.
28662 * nis/rpcsvc/nis_object.x: Likewise.
28663 * nis/rpcsvc/nis_tags.h: Likewise.
28664 * nis/rpcsvc/yp.h: Likewise.
28665 * nis/rpcsvc/yp.x: Likewise.
28666 * nis/rpcsvc/ypupd.h: Likewise.
28667 * nis/yp_xdr.c: Likewise.
28668 * nis/ypupdate_xdr.c: Likewise.
28669
2f3e3dc7
UD
28670 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28671 mainly the body of pmap_getport. Add parameters to specify timeouts.
28672 (pmap_getport): Use __libc_rpc_getport.
28673 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28674 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28675 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28676
f3dcc2f9
AS
286772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28678
28679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28680 fanotify_mark.
28681
6d34eb5b
RM
286822010-08-27 Roland McGrath <roland@redhat.com>
28683
28684 * sysdeps/i386/i686/multiarch/Makefile
28685 (CFLAGS-varshift.c): New variable.
28686
9ea3de11
UD
286872010-08-27 Ulrich Drepper <drepper@redhat.com>
28688
c96d23fc
UD
28689 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28690 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28691
9ea3de11
UD
28692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28693
28694 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28695
623aac7f
L
286962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28697
28698 * sysdeps/x86_64/strlen.S: Unroll the loop.
28699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28700 strlen-sse2 strlen-sse2-bsf.
28701 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28702 __strlen_no_bsf if bit_Slow_BSF is set.
28703 (__strlen_sse42): Removed.
28704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28705 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28706
8b2b7715
RM
287072010-08-25 Roland McGrath <roland@redhat.com>
28708
28709 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28710 * sysdeps/x86_64/multiarch/varshift.c: New file.
28711 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28712 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28713 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28714 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28715
e73015f2
L
287162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28717
28718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28719 strlen-sse2 strlen-sse2-bsf.
28720 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28721 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28722 (__strlen_sse2): Removed.
28723 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28726 bit_Slow_BSF for Atom.
28727 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28728 (index_Slow_BSF): Define.
28729 (HAS_SLOW_BSF): Define.
28730
df24a73e
UD
287312010-08-25 Ulrich Drepper <drepper@redhat.com>
28732
28733 [BZ #10851]
28734 * resolv/res_init.c (__res_vinit): When no server address at all
28735 is given default to loopback.
28736
f2ac4868
RM
287372010-08-24 Roland McGrath <roland@redhat.com>
28738
09055553
RM
28739 * configure.in: Remove config-name.h generation.
28740 * configure: Regenerated.
28741 * config-name.in: File removed.
28742 * scripts/config-uname.sh: New file.
28743 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28744 ($(objdir)config-name.h): New target.
28745
f2ac4868
RM
28746 * sunrpc/rpc_parse.h: Avoid nested comment.
28747
73f27d5e
RH
287482010-08-24 Richard Henderson <rth@redhat.com>
28749 Ulrich Drepper <drepper@redhat.com>
28750 H.J. Lu <hongjiu.lu@intel.com>
28751
28752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28754 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28755 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28756 _mm_alignr_epi8 with _mm_loadu_si128.
28757 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28758 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28759 (__m128i_shift_right): Removed.
28760 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28761 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28762 * sysdeps/x86_64/multiarch/varshift.h: New file.
28763 * sysdeps/x86_64/multiarch/varshift.S: New file.
28764
84b9230c
MF
287652010-08-21 Mike Frysinger <vapier@gentoo.org>
28766
28767 * configure.in: Move assembler checks to before sysdep dir checking.
28768
9bbd0ddc
PB
287692010-08-20 Petr Baudis <pasky@suse.cz>
28770
28771 * LICENSES: Sync the sunrpc license.
28772
9da4bb31
UD
287732010-08-19 Ulrich Drepper <drepper@redhat.com>
28774
a7ab6ec8
UD
28775 * sunrpc/auth_des.c: Update copyright notice once again.
28776 * sunrpc/auth_none.c: Likewise.
28777 * sunrpc/auth_unix.c: Likewise.
28778 * sunrpc/authdes_prot.c: Likewise.
28779 * sunrpc/authuxprot.c: Likewise.
28780 * sunrpc/bindrsvprt.c: Likewise.
28781 * sunrpc/clnt_gen.c: Likewise.
28782 * sunrpc/clnt_perr.c: Likewise.
28783 * sunrpc/clnt_raw.c: Likewise.
28784 * sunrpc/clnt_simp.c: Likewise.
28785 * sunrpc/clnt_tcp.c: Likewise.
28786 * sunrpc/clnt_udp.c: Likewise.
28787 * sunrpc/clnt_unix.c: Likewise.
28788 * sunrpc/des_crypt.c: Likewise.
28789 * sunrpc/des_soft.c: Likewise.
28790 * sunrpc/get_myaddr.c: Likewise.
28791 * sunrpc/getrpcport.c: Likewise.
28792 * sunrpc/key_call.c: Likewise.
28793 * sunrpc/key_prot.c: Likewise.
28794 * sunrpc/openchild.c: Likewise.
28795 * sunrpc/pm_getmaps.c: Likewise.
28796 * sunrpc/pm_getport.c: Likewise.
28797 * sunrpc/pmap_clnt.c: Likewise.
28798 * sunrpc/pmap_prot.c: Likewise.
28799 * sunrpc/pmap_prot2.c: Likewise.
28800 * sunrpc/pmap_rmt.c: Likewise.
28801 * sunrpc/rpc/auth.h: Likewise.
28802 * sunrpc/rpc/auth_unix.h: Likewise.
28803 * sunrpc/rpc/clnt.h: Likewise.
28804 * sunrpc/rpc/des_crypt.h: Likewise.
28805 * sunrpc/rpc/key_prot.h: Likewise.
28806 * sunrpc/rpc/netdb.h: Likewise.
28807 * sunrpc/rpc/pmap_clnt.h: Likewise.
28808 * sunrpc/rpc/pmap_prot.h: Likewise.
28809 * sunrpc/rpc/pmap_rmt.h: Likewise.
28810 * sunrpc/rpc/rpc.h: Likewise.
28811 * sunrpc/rpc/rpc_des.h: Likewise.
28812 * sunrpc/rpc/rpc_msg.h: Likewise.
28813 * sunrpc/rpc/svc.h: Likewise.
28814 * sunrpc/rpc/svc_auth.h: Likewise.
28815 * sunrpc/rpc/types.h: Likewise.
28816 * sunrpc/rpc/xdr.h: Likewise.
28817 * sunrpc/rpc_clntout.c: Likewise.
28818 * sunrpc/rpc_cmsg.c: Likewise.
28819 * sunrpc/rpc_common.c: Likewise.
28820 * sunrpc/rpc_cout.c: Likewise.
28821 * sunrpc/rpc_dtable.c: Likewise.
28822 * sunrpc/rpc_hout.c: Likewise.
28823 * sunrpc/rpc_main.c: Likewise.
28824 * sunrpc/rpc_parse.c: Likewise.
28825 * sunrpc/rpc_parse.h: Likewise.
28826 * sunrpc/rpc_prot.c: Likewise.
28827 * sunrpc/rpc_sample.c: Likewise.
28828 * sunrpc/rpc_scan.c: Likewise.
28829 * sunrpc/rpc_scan.h: Likewise.
28830 * sunrpc/rpc_svcout.c: Likewise.
28831 * sunrpc/rpc_tblout.c: Likewise.
28832 * sunrpc/rpc_util.c: Likewise.
28833 * sunrpc/rpc_util.h: Likewise.
28834 * sunrpc/rpcinfo.c: Likewise.
28835 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28836 * sunrpc/rpcsvc/key_prot.x: Likewise.
28837 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28838 * sunrpc/rpcsvc/mount.x: Likewise.
28839 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28840 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28841 * sunrpc/rpcsvc/rex.x: Likewise.
28842 * sunrpc/rpcsvc/rstat.x: Likewise.
28843 * sunrpc/rpcsvc/rusers.x: Likewise.
28844 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28845 * sunrpc/rpcsvc/spray.x: Likewise.
28846 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28847 * sunrpc/rtime.c: Likewise.
28848 * sunrpc/svc.c: Likewise.
28849 * sunrpc/svc_auth.c: Likewise.
28850 * sunrpc/svc_authux.c: Likewise.
28851 * sunrpc/svc_raw.c: Likewise.
28852 * sunrpc/svc_run.c: Likewise.
28853 * sunrpc/svc_simple.c: Likewise.
28854 * sunrpc/svc_tcp.c: Likewise.
28855 * sunrpc/svc_udp.c: Likewise.
28856 * sunrpc/svc_unix.c: Likewise.
28857 * sunrpc/svcauth_des.c: Likewise.
28858 * sunrpc/xcrypt.c: Likewise.
28859 * sunrpc/xdr.c: Likewise.
28860 * sunrpc/xdr_array.c: Likewise.
28861 * sunrpc/xdr_float.c: Likewise.
28862 * sunrpc/xdr_mem.c: Likewise.
28863 * sunrpc/xdr_rec.c: Likewise.
28864 * sunrpc/xdr_ref.c: Likewise.
28865 * sunrpc/xdr_sizeof.c: Likewise.
28866 * sunrpc/xdr_stdio.c: Likewise.
28867
9da4bb31
UD
28868 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28869 handling.
28870
bdaa77bc
AS
288712010-08-19 Andreas Schwab <schwab@redhat.com>
28872
28873 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28874
fe2f79db
LM
288752010-08-19 Luis Machado <luisgpm@br.ibm.com>
28876
28877 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28878 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28879 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28880 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28881 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28882 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28883 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28884 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28885 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28886 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28887 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28888 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28889 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28890 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28891
b9b42ee0
AB
288922010-07-26 Anton Blanchard <anton@samba.org>
28893
28894 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28895 * malloc/arena.c (heap_trim): Likewise.
28896
1c06ba31
UD
288972010-08-16 Ulrich Drepper <drepper@redhat.com>
28898
28899 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28900 here. Not...
28901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28902 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28903
f8392f40
L
289042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28905
28906 * sysdeps/i386/elf/Makefile: New file.
28907
3162f12e
AS
289082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28909
28910 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28911 from fanotify_init.
28912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28914
28c90b2c
UD
289152010-08-15 Ulrich Drepper <drepper@redhat.com>
28916
28917 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28918 of strncasecmp_l.
1feccb6c 28919 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28920
ca6bb004
UD
289212010-08-14 Ulrich Drepper <drepper@redhat.com>
28922
e9f82e0d
UD
28923 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28924 strncase_l-nonascii.
28925 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28926 Add strncase_l-ssse3.
28927 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28928 * sysdeps/x86_64/strcmp.S: Likewise.
28929 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28930 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28931 * sysdeps/x86_64/strncase.S: New file.
28932 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28933 * sysdeps/x86_64/strncase_l.S: New file.
28934 * string/Makefile (strop-tests): Add strncasecmp.
28935 * string/test-strncasecmp.c: New file.
28936
28937 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28938 warning.
28939
ca6bb004
UD
28940 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28941 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28942
052fa7b3
AS
289432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28944
28945 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28946
962dba78
UD
289472010-08-12 Ulrich Drepper <drepper@redhat.com>
28948
28949 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28951 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28952
bebff237
AM
289532010-05-01 Alan Modra <amodra@gmail.com>
28954
28955 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28956 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28957 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28958 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28959 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28960 tidying. Don't tail-call __sigjmp_save for static lib.
28961 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28962 save location.
28963 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28964 (CALL_MCOUNT): Add eh info, and nop after bl.
28965 (TAIL_CALL_SYSCALL_ERROR): New macro.
28966 (PSEUDO_RET): Use it.
28967 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28968 Correct save location of integer regs and cr.
28969 (_dl_profile_resolve): Correct cr save location. Delete nops
28970 after bl when SHARED. Reduce cfi size a little by better
28971 placement of cfi directives.
28972 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28973 make a stack frame. Instead use parm save area as a temp.
28974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28975 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28977 Don't make a stack frame for parent, use parm save area.
28978 Increase child stack frame to 112 bytes. Don't save unused reg,
28979 and adjust reg usage. Set up cfi on error recovery and
28980 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28982 (__makecontext): Add dummy nop after jump to exit.
28983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28984 Use correct parm save area and cr save, reduce stack frame.
28985 Correct cfi for possible PSEUDO_RET frame setup.
28986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28987 Branch to local label emitted by PSEUDO_RET rather than
28988 __syscall_error.
28989
02637374
AS
289902010-08-12 Andreas Schwab <schwab@redhat.com>
28991
28992 [BZ #11904]
28993 * locale/programs/locale.c (print_assignment): New function.
28994 (show_locale_vars): Use it.
28995
c3e2f19b
UD
289962010-08-11 Ulrich Drepper <drepper@redhat.com>
28997
3cdaa6ad
UD
28998 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28999 field.
29000 (struct statfs64): Likewise.
29001 (_STATFS_F_FLAGS): Define.
29002 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29003 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29004 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29005 (ST_VALID): Define locally.
29006 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29007 __statvfs_getflags, use the provided value.
29008 * sysdeps/unix/sysv/linux/kernel-features.h: Define
29009 __ASSUME_STATFS_F_FLAGS.
29010
754f7da3
UD
29011 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29012
10b3bedc
UD
29013 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29014 Add sys/fanotify.h.
29015 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29016 fanotify_mask for GLIBC_2.13.
29017 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29018 fanotify_init and fanotify_mark.
29019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29020 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29021
c08fb0d7
UD
29022 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29023 Add prlimit.
29024 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29025 prlimit64 for GLIBC_2.13.
29026 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29027 prlimit64.
29028 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29029 syscall.
29030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29031 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29032 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29033 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29034 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
29035 add prlimit alias.
29036 * sysdeps/unix/sysv/linux/prlimit.c: New file.
29037
15bac72b
UD
29038 [BZ #11903]
29039 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29040 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29041
c3e2f19b
UD
29042 * nss/Makefile: Add rules to build and run tst-nss-test1.
29043 * shlib-versions: Add entry for libnss_test1.
29044 * nss/nss_test1.c: New file.
29045 * nss/tst-nss-test1.c: New file.
29046
29047 * nss/nsswitch.c (__nss_database_custom): Define new variable.
29048 (__nss_configure_lookup): Set appropriate entry in
29049 __nss_configure_lookup to true.
29050 * nss/nsswitch.h: Define enum with indeces of databases in
29051 databases and __nss_database_custom arrays. Declare
29052 __nss_database_custom.
29053 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29054 to avoid using nscd when custom rules are installed.
29055 * nss/getXXbyYY_r.c: Likewise.
29056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29057
29058 * nss/nss_files/files-parse.c: Whitespace fixes.
29059
f15ce4d8
UD
290602010-08-09 Ulrich Drepper <drepper@redhat.com>
29061
29062 [BZ #11883]
29063 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29064 * posix/fnmatch_loop.c: Likewise.
29065
d22e4cc9
AK
290662010-07-17 Andi Kleen <ak@linux.intel.com>
29067
29068 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29069 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29070 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29071 * Versions.def [GLIBC_2.13]: Add.
29072
805bc17d
UD
290732010-08-06 Ulrich Drepper <drepper@redhat.com>
29074
29075 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29076 Also fail if tpwd after pwuid call is NULL.
29077
5a42321d
ST
290782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
29079
29080 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29081 when converting to ms.
29082
fd3ebeda
ST
290832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29084
29085 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29086 EOPNOTSUPP errors with ENOTTY.
29087 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29088 EOPNOTSUPP errors with ENOTTY.
29089
73507d3a
UD
290902010-07-31 Ulrich Drepper <drepper@redhat.com>
29091
29092 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29093 Add strcasecmp_l-ssse3.
29094 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29095 strcasecmp.
29096 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29097 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29098 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29099
fe36dd02
UD
291002010-07-30 Ulrich Drepper <drepper@redhat.com>
29101
66f6765a
UD
29102 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29103
42e08a54
UD
29104 * string/Makefile (strop-tests): Add strcasecmp.
29105 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29106 strcasecmp_l-nonascii.
29107 (gen-as-const-headers): Add locale-defines.sym.
29108 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29109 * sysdeps/x86_64/strcasecmp.S: New file.
29110 * sysdeps/x86_64/strcasecmp_l.S: New file.
29111 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29112 * sysdeps/x86_64/locale-defines.sym: New file.
29113 * string/test-strcasecmp.c: New file.
29114
fe36dd02
UD
29115 * string/test-strcasestr.c: Test both ends of the range of characters.
29116 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29117
48cbc0d6
RM
291182010-07-29 Roland McGrath <roland@redhat.com>
29119
76e6d6bc 29120 [BZ #11856]
48cbc0d6
RM
29121 * manual/locale.texi (Yes-or-No Questions): Fix example code.
29122
880113d9
UD
291232010-07-27 Ulrich Drepper <drepper@redhat.com>
29124
29125 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29126 for ld.so.
29127
deb9cabb
AS
291282010-07-27 Andreas Schwab <schwab@redhat.com>
29129
29130 * manual/memory.texi (Malloc Tunable Parameters): Document
29131 M_PERTURB.
29132
1c7570ff
RM
291332010-07-26 Roland McGrath <roland@redhat.com>
29134
29135 [BZ #11840]
29136 * configure.in (-fgnu89-inline check): Set and substitute
29137 gnu89_inline, not libc_cv_gnu89_inline.
29138 * configure: Regenerated.
29139 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29140
24fb0f88
UD
291412010-07-26 Ulrich Drepper <drepper@redhat.com>
29142
29143 * string/test-strnlen.c: New file.
29144 * string/Makefile (strop-tests): Add strnlen.
29145 * string/tester.c (test_strnlen): Add a few more test cases.
29146 * string/tst-strlen.c: Better error reporting.
29147
29148 * sysdeps/x86_64/strnlen.S: New file.
29149
8e96b93a
UD
291502010-07-24 Ulrich Drepper <drepper@redhat.com>
29151
29152 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29153 lower-latency instructions.
29154
dbc676d4
UD
291552010-07-23 Ulrich Drepper <drepper@redhat.com>
29156
29157 * string/test-strcasestr.c: New file.
29158 * string/test-strstr.c: New file.
29159 * string/Makefile (strop-tests): Add strstr and strcasestr.
29160 * string/str-two-way.h: Don't undefine MAX.
29161 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29162
f6a31e0e
AS
291632010-07-21 Andreas Schwab <schwab@redhat.com>
29164
29165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29166 strcasestr-nonascii.
29167 (CFLAGS-strcasestr-nonascii.c): Define.
29168 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29169 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29170 Remove unused attribute.
29171
5dbc3b6c
RM
291722010-07-20 Roland McGrath <roland@redhat.com>
29173
29174 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29175 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
29176 ld.so.cache was broken. With it, there is no way to disable dsocaps
29177 like LD_HWCAP_MASK can disable hwcaps.
29178
23d101d8
EPM
291792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29180
29181 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29182
cc9f2e47
UD
291832010-07-16 Ulrich Drepper <drepper@redhat.com>
29184
29185 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29186 call in strcasestr.
29187 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29188 __strcasestr_sse42_nonascii.
29189 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29190 strcasestr-nonascii.c.
29191 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29192
77c1b069
LM
291932010-06-15 Luis Machado <luisgpm@br.ibm.com>
29194
29195 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29197 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29198 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29199
440566c3
UD
292002010-07-09 Ulrich Drepper <drepper@redhat.com>
29201
29202 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29203 fcntl.
29204
5be9d05d
AS
292052010-07-06 Andreas Schwab <schwab@redhat.com>
29206
c30b7ee2 29207 [BZ #11577]
5be9d05d
AS
29208 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29209 dl_signal_cerror.
29210
8a492a67
UD
292112010-07-06 Ulrich Drepper <drepper@redhat.com>
29212
29213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29214 _PC_PIPE_BUF using F_GETPIPE_SZ.
29215
713df3d5
RM
292162010-07-05 Roland McGrath <roland@redhat.com>
29217
29218 * manual/arith.texi (Rounding Functions): Fix rint description
29219 implicit in round description.
29220
702e8f14
UD
292212010-07-02 Ulrich Drepper <drepper@redhat.com>
29222
29223 * elf/Makefile: Fix linking for a few tests to make recent linker
29224 happy.
29225
52ed8be9
AS
292262010-06-30 Andreas Schwab <schwab@redhat.com>
29227
29228 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29229 $(common-objpfx)libc_nonshared.a.
29230
f47c9a11
LM
292312010-06-21 Luis Machado <luisgpm@br.ibm.com>
29232
29233 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29234 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29235 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29236 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29237 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29238 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29239 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29240 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29255 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29256 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29257 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29258 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29259 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29260 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29261 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29262 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29263 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29264 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29265 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29266 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29281
6fb8cbcb
L
292822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29283
29284 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29285 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29286 * string/memmove.c (memmove): Renamed to ...
29287 (MEMMOVE): ...this. Default to memmove.
29288 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29289 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29290 (END_CHK): Define.
29291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29292 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29293 mempcpy-ssse3-back memmove-ssse3-back.
29294 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29295 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29296 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29297 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29298 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29299 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29300 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29301 * sysdeps/x86_64/multiarch/memmove.c: New file.
29302 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29303 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29304 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29305 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29306 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29307 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29308 Define.
29309 (index_Fast_Copy_Backward): Define.
29310 (HAS_ARCH_FEATURE): Define.
29311 (HAS_FAST_REP_STRING): Define.
29312 (HAS_FAST_COPY_BACKWARD): Define.
29313
4e733bac 293142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
29315
29316 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29317 Restore proper fallback handling.
29318
63c4ed22
UD
293192010-06-19 Ulrich Drepper <drepper@redhat.com>
29320
ac2b484c
UD
29321 [BZ #11701]
29322 * posix/group_member.c (__group_member): Correct checking loop.
29323
63c4ed22
UD
29324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29325 OOM in getpwuid_r correctly. Return error number when the caller
29326 should return, otherwise -1.
29327 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29328 call returning > 0 value.
29329 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29330
765ade4b
AS
293312010-06-07 Andreas Schwab <schwab@redhat.com>
29332
29333 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29334 libc_nonshared.a from targets in modules-names.
29335
80da2e09
KS
293362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29337
29338 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29339 requires it.
29340
158db122
LM
293412010-06-10 Luis Machado <luisgpm@br.ibm.com>
29342
29343 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29344 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29345 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29346 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29347
caa78cf8
AS
293482010-06-02 Andreas Schwab <schwab@redhat.com>
29349
29350 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29351
b2ef2c01
UD
293522010-06-14 Ulrich Drepper <drepper@redhat.com>
29353
29354 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29355 and F_GETPIPE_SZ.
29356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29360 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29361 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29362
fbd643b6
RM
293632010-06-14 Roland McGrath <roland@redhat.com>
29364
29365 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29366
f32f2869
JJ
293672010-06-07 Jakub Jelinek <jakub@redhat.com>
29368
29369 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29370 __REDIRECT followed by __THROW.
29371 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29372 * posix/getopt.h (getopt): Likewise.
29373
2a50c078
EPM
293742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29375
29376 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29377 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29378 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29379 in AT_FLAGS.
29380 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29381 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29382
eb5ad2eb
LM
293832010-05-28 Luis Machado <luisgpm@br.ibm.com>
29384
29385 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29386
3c88fe1e
L
293872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29388
29389 [BZ #11640]
29390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29391 Properly check family and model.
29392
d2f73151
TY
293932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29394
29395 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29396
ebd2e13d
LM
293972010-05-24 Luis Machado <luisgpm@br.ibm.com>
29398
29399 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29400
b32b8b45
UD
294012010-05-21 Ulrich Drepper <drepper@redhat.com>
29402
29403 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29404 symbol reference.
29405
9acbe24d
AS
294062010-05-19 Andreas Schwab <schwab@redhat.com>
29407
29408 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29409 symbol reference.
29410
f0ccf6ea
AS
294112010-05-21 Andreas Schwab <schwab@redhat.com>
29412
3d04ff3a
AS
29413 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29414 and internal_recvmmsg.
29415 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29416 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29417 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29418 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29419
f0ccf6ea
AS
29420 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29421 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29422 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29423
5b08ac57
AS
294242010-05-20 Andreas Schwab <schwab@redhat.com>
29425
29426 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29427
4828935d
LM
294282010-05-17 Luis Machado <luisgpm@br.ibm.com>
29429
29430 POWER7 optimizations.
29431 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29432 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29433
373d545e
UD
294342010-05-19 Ulrich Drepper <drepper@redhat.com>
29435
29436 * version.h: Update for 2.13 development version.
29437
21a2b1ae
AS
294382010-05-12 Andrew Stubbs <ams@codesourcery.com>
29439
29440 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29441 exceptions. Return 0.
29442
3f7dcb2b
RM
294432010-05-07 Roland McGrath <roland@redhat.com>
29444
29445 * elf/ldconfig.c (main): Add a const.
29446
5f24d53a 294472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29448
a160f8d8
UD
29449 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29450 (args_options): Add no-idn option.
29451 (ahosts_keys_int): Add idn_flags to ai_flags.
29452 (parse_option): Handle 'i' option to clear idn_flags.
29453
5f24d53a
UD
29454 * malloc/malloc.c (_int_free): Possible race in the most recently
29455 added check. Only act on the data if no current modification
29456 happened.
265bb1ce
UD
29457
29458See ChangeLog.17 for earlier changes.
This page took 3.869147 seconds and 5 git commands to generate.