]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Enhance localedef --list-archive option.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
484c12fb
CD
12013-10-18 Carlos O'Donell <carlos@redhat.com>
2
3 * locale/locarchive.h (struct locarhandle): Add fname.
4 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5 if an optional argument was specified to --list-archive,
6 otherwise NULL.
7 * locale/programs/locarchive.c (show_archive_content): Take new
8 argument fname and pass it via ah.fname to open_archive.
9 * locale/programs/localedef.h: Update decl.
10 (open_archive): If AH->fname is non-null, open that file
11 rather than the default file name, and don't ignore ENOENT.
12 (create_archive): Set AH.fname to NULL.
13 (delete_locales_from_archive): Likewise.
14 (add_locales_to_archive): Likewise.
15 * locale/programs/locfile.c (write_all_categories): Likewise.
16
3c8325fb
JM
172013-10-18 Joseph Myers <joseph@codesourcery.com>
18 Aldy Hernandez <aldyh@redhat.com>
19
20 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
32 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
33 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35 Likewise.
36 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37 Likewise.
38 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
39 Likewise.
40 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41 Likewise.
42 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44 Likewise.
45 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
49 Likewise.
50 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
52 * sysdeps/powerpc/preconfigure: Likewise.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54 Likewise.
55 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
56 Replace contents of file by #include of <fenv_libc.h>.
57 * sysdeps/powerpc/soft-fp/sfp-machine.h
58 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
59 and <sys/prctl.h>.
60 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
62 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
63 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
64 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
65 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
66 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
67 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
68 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
69 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
70 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
71 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
72 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
73 Allow copysignl PLT reference to be missing.
74
5abe0682
RS
752013-10-18 Richard Sandiford <richard@codesourcery.com>
76 Joseph Myers <joseph@codesourcery.com
77
78 [BZ #15948]
79 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
80 single character.
81 (add_to_tablewc): Assert sequence of wide characters is nonempty.
82
c7738d08
SP
832013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
84
85 * elf/tst-tls-dlinfo.c: Don't include tls.h.
86 * elf/tst-tls1.c: Likewise.
87 * elf/tst-tls10.h: Likewise.
88 * elf/tst-tls14.c: Likewise.
89 * elf/tst-tls2.c: Likewise.
90 * elf/tst-tls3.c: Likewise.
91 * elf/tst-tls4.c: Likewise.
92 * elf/tst-tls5.c: Likewise.
93 * elf/tst-tls6.c: Likewise.
94 * elf/tst-tls7.c: Likewise.
95 * elf/tst-tls8.c: Likewise.
96 * elf/tst-tls9.c: Likewise.
97 * elf/tst-tlsmod1.c: Likewise.
98 * elf/tst-tlsmod13.c: Likewise.
99 * elf/tst-tlsmod13a.c: Likewise.
100 * elf/tst-tlsmod14a.c: Likewise.
101 * elf/tst-tlsmod16a.c: Likewise.
102 * elf/tst-tlsmod16b.c: Likewise.
103 * elf/tst-tlsmod2.c: Likewise.
104 * elf/tst-tlsmod3.c: Likewise.
105 * elf/tst-tlsmod4.c: Likewise.
106 * elf/tst-tlsmod5.c: Likewise.
107 * elf/tst-tlsmod6.c: Likewise.
108
0bfcf2c7
OB
1092013-10-18 Ondřej Bílka <neleai@seznam.cz>
110
111 [BZ #12486]
112 * malloc/malloc.c: remove checks for statistics.
113
264aad1e
OB
1142013-10-17 Ondřej Bílka <neleai@seznam.cz>
115
116 [BZ #15277]
117 * inet/inet_net.c (inet_network): Detect additional invalid strings.
118 * inet/tst-network.c: Add testcase.
119
b957ced8
AS
1202013-10-17 Andreas Schwab <schwab@suse.de>
121
122 [BZ #15218]
123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
124 to determine canonical name.
125
c5d5d574
OB
1262013-10-17 Ondřej Bílka <neleai@seznam.cz>
127
128 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
129 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
131 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
133 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
134 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
135 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
136 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
137 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
138 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
140 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
141 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
143 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
146 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
147 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
148 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
150 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
151 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
152 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
153 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
154 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
155 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
156 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
157 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
158 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
160 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
161 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
162 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
163 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
164 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
168 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
169 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
170 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
171 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
172 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
173 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
174 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
175 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
176 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
177 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
178 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
179 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
180 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
181 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
182 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
183 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
185 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
186
e5c2c2d0
JM
1872013-10-17 Joseph Myers <joseph@codesourcery.com>
188
189 [BZ #16041]
190 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
191 make result into a quiet NaN.
192
51ca9e29
JM
1932013-10-16 Joseph Myers <joseph@codesourcery.com>
194
195 * soft-fp/adddf3.c: Fix horizontal whitespace.
196 * soft-fp/addsf3.c: Likewise.
197 * soft-fp/addtf3.c: Likewise.
198 * soft-fp/divdf3.c: Likewise.
199 * soft-fp/divsf3.c: Likewise.
200 * soft-fp/divtf3.c: Likewise.
201 * soft-fp/double.h: Likewise.
202 * soft-fp/eqdf2.c: Likewise.
203 * soft-fp/eqsf2.c: Likewise.
204 * soft-fp/eqtf2.c: Likewise.
205 * soft-fp/extenddftf2.c: Likewise.
206 * soft-fp/extended.h: Likewise.
207 * soft-fp/extendsfdf2.c: Likewise.
208 * soft-fp/extendsftf2.c: Likewise.
209 * soft-fp/extendxftf2.c: Likewise.
210 * soft-fp/fixdfdi.c: Likewise.
211 * soft-fp/fixdfsi.c: Likewise.
212 * soft-fp/fixdfti.c: Likewise.
213 * soft-fp/fixsfdi.c: Likewise.
214 * soft-fp/fixsfsi.c: Likewise.
215 * soft-fp/fixsfti.c: Likewise.
216 * soft-fp/fixtfdi.c: Likewise.
217 * soft-fp/fixtfsi.c: Likewise.
218 * soft-fp/fixtfti.c: Likewise.
219 * soft-fp/fixunsdfdi.c: Likewise.
220 * soft-fp/fixunsdfsi.c: Likewise.
221 * soft-fp/fixunsdfti.c: Likewise.
222 * soft-fp/fixunssfdi.c: Likewise.
223 * soft-fp/fixunssfsi.c: Likewise.
224 * soft-fp/fixunssfti.c: Likewise.
225 * soft-fp/fixunstfdi.c: Likewise.
226 * soft-fp/fixunstfsi.c: Likewise.
227 * soft-fp/fixunstfti.c: Likewise.
228 * soft-fp/floatdidf.c: Likewise.
229 * soft-fp/floatdisf.c: Likewise.
230 * soft-fp/floatditf.c: Likewise.
231 * soft-fp/floatsidf.c: Likewise.
232 * soft-fp/floatsisf.c: Likewise.
233 * soft-fp/floatsitf.c: Likewise.
234 * soft-fp/floattidf.c: Likewise.
235 * soft-fp/floattisf.c: Likewise.
236 * soft-fp/floattitf.c: Likewise.
237 * soft-fp/floatundidf.c: Likewise.
238 * soft-fp/floatundisf.c: Likewise.
239 * soft-fp/floatunditf.c: Likewise.
240 * soft-fp/floatunsidf.c: Likewise.
241 * soft-fp/floatunsisf.c: Likewise.
242 * soft-fp/floatunsitf.c: Likewise.
243 * soft-fp/floatuntidf.c: Likewise.
244 * soft-fp/floatuntisf.c: Likewise.
245 * soft-fp/floatuntitf.c: Likewise.
246 * soft-fp/fmadf4.c: Likewise.
247 * soft-fp/fmasf4.c: Likewise.
248 * soft-fp/fmatf4.c: Likewise.
249 * soft-fp/gedf2.c: Likewise.
250 * soft-fp/gesf2.c: Likewise.
251 * soft-fp/getf2.c: Likewise.
252 * soft-fp/ledf2.c: Likewise.
253 * soft-fp/lesf2.c: Likewise.
254 * soft-fp/letf2.c: Likewise.
255 * soft-fp/muldf3.c: Likewise.
256 * soft-fp/mulsf3.c: Likewise.
257 * soft-fp/multf3.c: Likewise.
258 * soft-fp/negdf2.c: Likewise.
259 * soft-fp/negsf2.c: Likewise.
260 * soft-fp/negtf2.c: Likewise.
261 * soft-fp/op-1.h: Likewise.
262 * soft-fp/op-2.h: Likewise.
263 * soft-fp/op-4.h: Likewise.
264 * soft-fp/op-8.h: Likewise.
265 * soft-fp/op-common.h: Likewise.
266 * soft-fp/quad.h: Likewise.
267 * soft-fp/single.h: Likewise.
268 * soft-fp/soft-fp.h: Likewise.
269 * soft-fp/sqrtdf2.c: Likewise.
270 * soft-fp/sqrtsf2.c: Likewise.
271 * soft-fp/sqrttf2.c: Likewise.
272 * soft-fp/subdf3.c: Likewise.
273 * soft-fp/subsf3.c: Likewise.
274 * soft-fp/subtf3.c: Likewise.
275 * soft-fp/truncdfsf2.c: Likewise.
276 * soft-fp/trunctfdf2.c: Likewise.
277 * soft-fp/trunctfsf2.c: Likewise.
278 * soft-fp/trunctfxf2.c: Likewise.
279 * soft-fp/unorddf2.c: Likewise.
280 * soft-fp/unordsf2.c: Likewise.
281 * soft-fp/unordtf2.c: Likewise.
282
9ebb0332
JM
2832013-10-15 Joseph Myers <joseph@codesourcery.com>
284
285 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
286 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
287
4b1a6d8b
OB
2882013-10-15 Ondřej Bílka <neleai@seznam.cz>
289
290 * elf/dl-libc.c: Clear initfini list after freeing.
291
1e145589
JM
2922013-10-14 Joseph Myers <joseph@codesourcery.com>
293
294 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
295 * soft-fp/addsf3.c: Likewise.
296 * soft-fp/addtf3.c: Likewise.
297 * soft-fp/divdf3.c: Likewise.
298 * soft-fp/divsf3.c: Likewise.
299 * soft-fp/divtf3.c: Likewise.
300 * soft-fp/double.h: Likewise.
301 * soft-fp/eqdf2.c: Likewise.
302 * soft-fp/eqsf2.c: Likewise.
303 * soft-fp/eqtf2.c: Likewise.
304 * soft-fp/extenddftf2.c: Likewise.
305 * soft-fp/extended.h: Likewise.
306 * soft-fp/extendsfdf2.c: Likewise.
307 * soft-fp/extendsftf2.c: Likewise.
308 * soft-fp/extendxftf2.c: Likewise.
309 * soft-fp/fixdfdi.c: Likewise.
310 * soft-fp/fixdfsi.c: Likewise.
311 * soft-fp/fixdfti.c: Likewise.
312 * soft-fp/fixsfdi.c: Likewise.
313 * soft-fp/fixsfsi.c: Likewise.
314 * soft-fp/fixsfti.c: Likewise.
315 * soft-fp/fixtfdi.c: Likewise.
316 * soft-fp/fixtfsi.c: Likewise.
317 * soft-fp/fixtfti.c: Likewise.
318 * soft-fp/fixunsdfdi.c: Likewise.
319 * soft-fp/fixunsdfsi.c: Likewise.
320 * soft-fp/fixunsdfti.c: Likewise.
321 * soft-fp/fixunssfdi.c: Likewise.
322 * soft-fp/fixunssfsi.c: Likewise.
323 * soft-fp/fixunssfti.c: Likewise.
324 * soft-fp/fixunstfdi.c: Likewise.
325 * soft-fp/fixunstfsi.c: Likewise.
326 * soft-fp/fixunstfti.c: Likewise.
327 * soft-fp/floatdidf.c: Likewise.
328 * soft-fp/floatdisf.c: Likewise.
329 * soft-fp/floatditf.c: Likewise.
330 * soft-fp/floatsidf.c: Likewise.
331 * soft-fp/floatsisf.c: Likewise.
332 * soft-fp/floatsitf.c: Likewise.
333 * soft-fp/floattidf.c: Likewise.
334 * soft-fp/floattisf.c: Likewise.
335 * soft-fp/floattitf.c: Likewise.
336 * soft-fp/floatundidf.c: Likewise.
337 * soft-fp/floatundisf.c: Likewise.
338 * soft-fp/floatunsidf.c: Likewise.
339 * soft-fp/floatunsisf.c: Likewise.
340 * soft-fp/floatuntidf.c: Likewise.
341 * soft-fp/floatuntisf.c: Likewise.
342 * soft-fp/floatuntitf.c: Likewise.
343 * soft-fp/fmadf4.c: Likewise.
344 * soft-fp/fmasf4.c: Likewise.
345 * soft-fp/fmatf4.c: Likewise.
346 * soft-fp/gedf2.c: Likewise.
347 * soft-fp/gesf2.c: Likewise.
348 * soft-fp/getf2.c: Likewise.
349 * soft-fp/ledf2.c: Likewise.
350 * soft-fp/lesf2.c: Likewise.
351 * soft-fp/letf2.c: Likewise.
352 * soft-fp/muldf3.c: Likewise.
353 * soft-fp/mulsf3.c: Likewise.
354 * soft-fp/multf3.c: Likewise.
355 * soft-fp/negdf2.c: Likewise.
356 * soft-fp/negsf2.c: Likewise.
357 * soft-fp/negtf2.c: Likewise.
358 * soft-fp/op-1.h: Likewise.
359 * soft-fp/op-2.h: Likewise.
360 * soft-fp/op-4.h: Likewise.
361 * soft-fp/op-8.h: Likewise.
362 * soft-fp/op-common.h: Likewise.
363 * soft-fp/quad.h: Likewise.
364 * soft-fp/single.h: Likewise.
365 * soft-fp/soft-fp.h: Likewise.
366 * soft-fp/sqrtdf2.c: Likewise.
367 * soft-fp/sqrtsf2.c: Likewise.
368 * soft-fp/sqrttf2.c: Likewise.
369 * soft-fp/subdf3.c: Likewise.
370 * soft-fp/subsf3.c: Likewise.
371 * soft-fp/subtf3.c: Likewise.
372 * soft-fp/truncdfsf2.c: Likewise.
373 * soft-fp/trunctfdf2.c: Likewise.
374 * soft-fp/trunctfsf2.c: Likewise.
375 * soft-fp/trunctfxf2.c: Likewise.
376 * soft-fp/unorddf2.c: Likewise.
377 * soft-fp/unordsf2.c: Likewise.
378 * soft-fp/unordtf2.c: Likewise.
379
17c48a60
OB
3802013-10-14 Ondřej Bílka <neleai@seznam.cz>
381
382 [BZ #15672]
383 * misc/error.c (error_tail): Fix possible buffer overflow.
384
cabba934
OB
3852013-10-14 Aurelien Jarno <aurelien@aurel32.net>
386
387 [BZ #13028]
388 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
389 address.
390
94bf958a
PM
3912013-10-14 P. J. McDermott <pj@pehjota.net>
392
393 [BZ #832]
394 * elf/ldd.bash.in (try_trace): New function. Delete previous code
395 testing pipefail option.
396
71b4dea7
JM
3972013-10-12 Joseph Myers <joseph@codesourcery.com>
398
399 * soft-fp/double.h: Indent preprocessor directives inside #if.
400 * soft-fp/extended.h: Likewise.
401 * soft-fp/op-2.h: Likewise.
402 * soft-fp/op-4.h: Likewise.
403 * soft-fp/op-common.h: Likewise.
404 * soft-fp/quad.h: Likewise.
405 * soft-fp/single.h: Likewise.
406 * soft-fp/soft-fp.h: Likewise.
407
55602758
YC
4082013-10-12 Yuri Chornoivan <yurchor@ukr.net>
409
410 * iconv/iconv_prog.c: Fix typos.
411 * stdio-common/psiginfo-data.h: Likewise.
412
9cd83302
RT
4132013-10-12 Reuben Thomas <rrt@sc3d.org>
414
415 [BZ #15764]
416 * locale/setlocale.c: Fix typo.
417
99fd9f47
JM
4182013-10-12 Joseph Myers <joseph@codesourcery.com>
419
b7ea74f0
JM
420 [BZ #16036]
421 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
422 signaling NaN arguments.
423 * soft-fp/unordsf2.c (__unordsf2): Likewise.
424 * soft-fp/unordtf2.c (__unordtf2): Likewise.
425
8a509447
JM
426 [BZ #14910]
427 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
428 unordered operands.
429 * soft-fp/gesf2.c (__gesf2): Likewise.
430 * soft-fp/getf2.c (__getf2): Likewise.
431 * soft-fp/ledf2.c (__ledf2): Likewise.
432 * soft-fp/lesf2.c (__lesf2): Likewise.
433 * soft-fp/letf2.c (__letf2): Likewise.
434
98998e9f
JM
435 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
436 * soft-fp/eqsf2.c (__eqsf2): Likewise.
437 * soft-fp/eqtf2.c (__eqtf2): Likewise.
438 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
439 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
440 * soft-fp/fixdfti.c (__fixdfti): Likewise.
441 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
442 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
443 * soft-fp/fixsfti.c (__fixsfti): Likewise.
444 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
445 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
446 * soft-fp/fixtfti.c (__fixtfti): Likewise.
447 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
448 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
449 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
450 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
451 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
452 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
453 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
454 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
455 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
456 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
457 * soft-fp/floatdisf.c (__floatdisf): Likewise.
458 * soft-fp/floatsisf.c (__floatsisf): Likewise.
459 * soft-fp/floattidf.c (__floattidf): Likewise.
460 * soft-fp/floattisf.c (__floattisf): Likewise.
461 * soft-fp/floattitf.c (__floattitf): Likewise.
462 * soft-fp/floatundidf.c (__floatundidf): Likewise.
463 * soft-fp/floatundisf.c (__floatundisf): Likewise.
464 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
465 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
466 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
467 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
468 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
469 * soft-fp/gesf2.c (__gesf2): Likewise.
470 * soft-fp/getf2.c (__getf2): Likewise.
471 * soft-fp/ledf2.c (__ledf2): Likewise.
472 * soft-fp/lesf2.c (__lesf2): Likewise.
473 * soft-fp/letf2.c (__letf2): Likewise.
474
8edc4a11
JM
475 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
476 Undefine and redefine.
477 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
478 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
479 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
480 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
481 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
482 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
483 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
484 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
485 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
486 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
487 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
488 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
489 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
490 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
491 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
492
8399acaf
JM
493 [BZ #16032]
494 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
495 without decrementing exponent if mantissa >= that for the
496 denominator, not >.
497 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
498 denominator, not >. Decrement exponent in < case instead of
499 incrementing in >= case.
500 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
501 without decrementing exponent if mantissa >= that for the
502 denominator, not >.
503
99fd9f47
JM
504 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
505 computing saturated result for unsigned overflow.
506
10e1cf6b
SP
5072013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
508 Jeff Law <law@redhat.com>
509
510 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
511 (atan2Mp): Add systemtap probe marker.
512 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
513 (__ieee754_log): Add systemtap probe marker.
514 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
515 (atanMp): Add systemtap probe marker.
516 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
517 (tanMp): Add systemtap probe marker.
518 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
519 (__slowexp): Add systemtap probe marker.
520 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
521 (__slowpow): Add systemtap probe marker.
522 * manual/probes.texi: Document probes.
523
3d110c7c
EB
5242013-10-11 Eric Biggers <ebiggers3@gmail.com>
525
526 [BZ #15362]
527 * libio/fileops.c (_IO_new_file_write): Return count of bytes
528 written.
529 (_IO_new_file_xsputn): Don't return EOF if nothing has been
530 written.
531 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
532 written to buffer but not flushed.
533 * libio/iofwrite_u.c: Likewise.
534 * libio/iopadn.c: Return bytes returned even if EOF was
535 encountered.
536 * libio/iowpadn.c: Likewise.
537 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
538 if _IO_padn does not write the whole buffer.
539 [!COMPILE_WPRINTF] (PAD): Likewise.
540
75b4202a
DM
5412013-10-10 David S. Miller <davem@davemloft.net>
542
543 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
544 directory block.
545
6c6352e6
JM
5462013-10-10 Joseph Myers <joseph@codesourcery.com>
547
33b853c3
JM
548 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
549 instead of FSF address.
550 * soft-fp/fixdfti.c: Likewise.
551 * soft-fp/fixsfti.c: Likewise.
552 * soft-fp/fixtfti.c: Likewise.
553 * soft-fp/fixunsdfti.c: Likewise.
554 * soft-fp/fixunssfti.c: Likewise.
555 * soft-fp/fixunstfti.c: Likewise.
556 * soft-fp/floattidf.c: Likewise.
557 * soft-fp/floattisf.c: Likewise.
558 * soft-fp/floattitf.c: Likewise.
559 * soft-fp/floatuntidf.c: Likewise.
560 * soft-fp/floatuntisf.c: Likewise.
561 * soft-fp/floatuntitf.c: Likewise.
562 * soft-fp/trunctfxf2.c: Likewise.
563
6c6352e6
JM
564 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
565 * soft-fp/fixdfti.c: Likewise.
566 * soft-fp/fixsfti.c: Likewise.
567 * soft-fp/fixtfti.c: Likewise.
568 * soft-fp/fixunsdfti.c: Likewise.
569 * soft-fp/fixunssfti.c: Likewise.
570 * soft-fp/fixunstfti.c: Likewise.
571 * soft-fp/floattidf.c: Likewise.
572 * soft-fp/floattisf.c: Likewise.
573 * soft-fp/floattitf.c: Likewise.
574 * soft-fp/floatuntidf.c: Likewise.
575 * soft-fp/floatuntisf.c: Likewise.
576 * soft-fp/floatuntitf.c: Likewise.
577 * soft-fp/trunctfxf2.c: Likewise.
578
3bf78b71
DM
5792013-10-10 David S. Miller <davem@davemloft.net>
580
581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
582
6f10289e
JM
5832013-10-10 Joseph Myers <joseph@codsourcery.com>
584
bd878fc0
JM
585 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
586 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
587 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
588 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
589 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
590 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
591 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
592
6f10289e
JM
593 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
594 for NaNs before doing comparisons on argument.
595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
596 Likewise.
597
321e2684
WN
5982013-10-10 Will Newton <will.newton@linaro.org>
599
600 * malloc/hooks.c (memalign_check): Ensure the value of bytes
601 passed to _int_memalign does not overflow.
602
40fefba1
TR
6032013-10-10 Torvald Riegel <triegel@redhat.com>
604
605 * scripts/bench.pl: Add include-sources directive.
606 * benchtests/README: Update documentation.
607
2ae21ed2
JM
6082013-10-10 Joseph Myers <joseph@codesourcery.com>
609
dcc2dd3f
JM
610 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
611 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
612 instead of FP_INIT_ROUNDMODE.
613 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
614 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
615
2ae21ed2
JM
616 [BZ #16034]
617 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
618 copy class of input value.
619 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
620 not handle exceptions.
621 * soft-fp/negsf2.c (__negsf2): Likewise.
622 * soft-fp/negtf2.c (__negtf2): Likewise.
623 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
624
cb8f9562
JM
6252013-10-09 Joseph Myers <joseph@codesourcery.com>
626
627 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
628 semicolon. From Linux kernel.
629
5b60c59d
AB
6302013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
631
632 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
633
b86835ca
YC
6342013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
635
636 [BZ #156]
637 * manual/socket.texi: Added statement about buffer
638 for gethostbyname2_r.
639
e7044ea7
OB
6402013-10-08 Ondřej Bílka <neleai@seznam.cz>
641
642 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
643 Use .p2align directive instead, throughout.
644 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
645 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
646 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
647 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
648 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
649 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
650 * sysdeps/x86_64/strchr.S: Likewise.
651 * sysdeps/x86_64/strrchr.S: Likewise.
652
09544cbc
SP
6532013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
654
88576635
SP
655 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
656
e7b2d1dd
SP
657 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
658
09544cbc
SP
659 * sysdeps/generic/math_private.h (__mpsin1): Remove
660 declaration.
661 (__mpcos1): Likewise.
662 (__mpsin): New argument __range_reduce.
663 (__mpcos): Likewise.
664 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
665 (slow): Use __mpsin and __mpcos.
666 (slow1): Likewise.
667 (slow2): Likewise.
668 (sloww): Likewise.
669 (sloww1): Likewise.
670 (sloww2): Likewise.
671 (bsloww): Likewise.
672 (bsloww1): Likewise.
673 (bsloww2): Likewise.
674 (cslow2): Likewise.
675 (csloww): Likewise.
676 (csloww1): Likewise.
677 (csloww2): Likewise.
678 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
679 range_reduce. Merge in __mpsin1.
680 (__mpcos): Likewise.
681 (__mpsin1): Remove.
682 (__mpcos1): Likewise.
683
7602d070
JM
6842013-10-07 Joseph Myers <joseph@codesourcery.com>
685
686 * locale/loadlocale.c (_nl_intern_locale_data): Use
687 LOCFILE_ALIGNED_P.
688 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
689 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
690 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
691 obstack data is appropriately aligned.
692 (obstack_int32_grow_fast): Likewise.
693 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
694 * locale/programs/locfile.c (add_locale_uint32): Likewise.
695 (add_locale_uint32_array): Likewise.
696
a357259b
SP
6972013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
698
699 * benchtests/Makefile: Remove ARGLIST and RET variables.
700 ($(objpfx)bench-%.c): Pass only function name to the script.
701 * benchtests/README: Update documentation.
702 * benchtests/acos-inputs: Add new directives.
703 * benchtests/acosh-inputs: Likewise.
704 * benchtests/asin-inputs: Likewise.
705 * benchtests/asinh-inputs: Likewise.
706 * benchtests/atan-inputs: Likewise.
707 * benchtests/atanh-inputs: Likewise.
708 * benchtests/cos-inputs: Likewise.
709 * benchtests/cosh-inputs: Likewise.
710 * benchtests/exp-inputs: Likewise.
711 * benchtests/log-inputs: Likewise.
712 * benchtests/pow-inputs: Likewise.
713 * benchtests/rint-inputs: Likewise.
714 * benchtests/sin-inputs: Likewise.
715 * benchtests/sinh-inputs: Likewise.
716 * benchtests/tan-inputs: Likewise.
717 * benchtests/tanh-inputs: Likewise.
718 * scripts/bench.pl: Add support for new directives.
719
9ec1b13d
AM
7202013-10-07 Alan Modra <amodra@gmail.com>
721
722 * README: Fix careless merge.
723
8b7d57cd
AM
7242013-10-05 Alan Modra <amodra@gmail.com>
725
726 * NEWS: Mention powerpc64le support and bugs fixed.
727 * README: Both big-endian and little-endian powerpc64 supported.
728
7b7bab13
ST
7292013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
730
731 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
732 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
733 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
734 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
735
d39baad1
RA
7362013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
737
738 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
739 match prototype.
740
cd78f7e7
JM
7412013-10-04 Joseph Myers <joseph@codesourcery.com>
742
29d73d86
JM
743 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
744 Move -mhard-float appending from
745 ports/sysdeps/powerpc/powerpc32/Makefile.
746 [$(with-fp) = yes] (ASFLAGS): Likewise.
747 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
748 * sysdeps/powerpc/nofpu: Move directory from
749 ports/sysdeps/powerpc/nofpu.
750 * sysdeps/powerpc/soft-fp: Move directory from
751 ports/sysdeps/powerpc/soft-fp.
752 * sysdeps/powerpc/powerpc32/405: Move directory from
753 ports/sysdeps/powerpc/powerpc32/405.
754 * sysdeps/powerpc/powerpc32/440: Move directory from
755 ports/sysdeps/powerpc/powerpc32/440.
756 * sysdeps/powerpc/powerpc32/464: Move directory from
757 ports/sysdeps/powerpc/powerpc32/464.
758 * sysdeps/powerpc/powerpc32/476: Move directory from
759 ports/sysdeps/powerpc/powerpc32/476.
760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
761 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
763 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
765 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
767 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
769 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
770 * README: Update for powerpc-*-linux-gnu software floating point
771 support in libc.
772
e246b347
JM
773 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
774 case to powerpc/powerpc32*.
775 * sysdeps/unix/sysv/linux/configure: Regenerated.
776
89c2003e
JM
777 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
778 (_FPU_MASK_OM): Define as 0x04.
779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
781 0x00c10080.
782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
783 0x0000003c.
784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
785
cd78f7e7
JM
786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
787 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
788 getcontext_e500.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
790 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
791 setcontext_e500.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
793 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
794 and setcontext_e500.
795
c755294d
CL
7962013-10-04 Chris Leonard <cjl@sugarlabs,.org>
797
798 * locale/iso-3166.def: Update iso-1366.def and related occurrences
799
e16d221c
SP
8002013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
801
802 * manual/threads.texi (Default Thread Attributes): Fix typo.
803
215c7d43
WN
8042013-10-04 Will Newton <will.newton@linaro.org>
805
806 * malloc/Makefile: Add tst-memalign.
807 * malloc/tst-memalign.c: New file.
808
27d0461b
WN
809 * malloc/tst-posix_memalign.c: Add comments.
810 (do_test): Add comments and call free on all potentially
811 allocated pointers. Add space after cast.
812
1bc92709
WN
813 * malloc/tst-pvalloc.c: Add comments.
814 (do_test): Add comments and call free on all potentially
815 allocated pointers. Remove duplicate check for NULL pointer.
816 Add space after cast.
817
66a9be9d
WN
818 * malloc/tst-valloc.c: Add comments.
819 (do_test): Add comments and call free on all potentially
820 allocated pointers. Remove duplicate check for NULL pointer.
821 Add space after cast.
822
4cb81307
AM
8232013-10-04 Alan Modra <amodra@gmail.com>
824
825 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
826 Use stdint types in rather than __attribute__((mode())).
827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
828
f8e3e9f3
AM
8292013-10-04 Alan Modra <amodra@gmail.com>
830
831 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
832 Correct handling of unaligned relocs for little-endian.
833 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
834
8f9ebb08
AM
8352013-10-04 Alan Modra <amodra@gmail.com>
836
837 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
838 * configure: Regenerate.
839 * nptl/shlib-versions: Powerpc*le starts at 2.18.
840 * shlib-versions: Likewise.
841
0edf96c2
AM
8422013-10-04 Alan Modra <amodra@gmail.com>
843
844 * string/tester.c (test_memrchr): Increment reported test cycle.
845
e0f7a380
AM
8462013-10-04 Alan Modra <amodra@gmail.com>
847
848 * string/test-memcpy.c (do_one_test): When reporting errors, print
849 string address and don't overrun end of string.
850
466b0393
AM
8512013-10-04 Alan Modra <amodra@gmail.com>
852
853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
854 insrdi. Make better use of reg selection to speed exit slightly.
855 Schedule entry path a little better. Remove useless "are we done"
856 checks on entry to main loop. Handle wrapping around zero address.
857 Correct main loop count. Handle single left-over word from main
858 loop inline rather than by using loop_small. Remove extra word
859 case in loop_small caused by wrong loop count. Add little-endian
860 support.
861 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
863 cache hint.
864 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
865 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
866 support. Avoid rlwimi.
867 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
868
3be87c77
AM
8692013-10-04 Alan Modra <amodra@gmail.com>
870
871 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 872 insrdi. Formatting.
3be87c77
AM
873 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
874 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
875 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
876 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
877 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
878 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
879
759cfef3
AM
8802013-10-04 Alan Modra <amodra@gmail.com>
881
882 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
883 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
884 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
885 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
886 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
887 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
888 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
889 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
890 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
891 use of regs. Use power7 mtocrf. Tidy function tails.
892
fe6e95d7
AM
8932013-10-04 Alan Modra <amodra@gmail.com>
894
895 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
896 Formatting. Consistently use rXXX register defines or rN defines.
897 Use early exit labels that avoid restoring unused non-volatile regs.
898 Make cr field use more consistent with rWORDn compares. Rename
899 regs used as shift registers for unaligned loop, using rN defines
900 for short lifetime/multiple use regs.
901 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
902 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
903 addi 1,1,64 to pop stack frame. Simplify return value code.
904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
905
664318c3
AM
9062013-10-04 Alan Modra <amodra@gmail.com>
907
908 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
909 support. Correct typos, formatting. Optimize tail. Use insrdi
910 rather than rlwimi.
911 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
912 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
913 little-endian support. Correct typos.
914 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
915 rather than rlwimi.
916 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
917 in loop and entry code to keep "and." results.
918 (strchr): Add little-endian support. Comment. Move cntlzd
919 earlier in tail.
920 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
921
43b84013
AM
9222013-10-04 Alan Modra <amodra@gmail.com>
923
924 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
925 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
926 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
927 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
928
8a7413f9
AM
9292013-10-04 Alan Modra <amodra@gmail.com>
930
931 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
932 (rTMP): Define as r11.
933 (strcmp): Add little-endian support. Optimise tail.
934 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
935 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
936 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
938 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
939 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
941
33ee81de
AM
9422013-10-04 Alan Modra <amodra@gmail.com>
943
944 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
945 little-endian support. Remove unnecessary "are we done" tests.
946 Handle "s" wrapping around zero and extremely large "size".
947 Correct main loop count. Handle single left-over word from main
948 loop inline rather than by using small_loop. Correct comments.
949 Delete "zero" tail, use "end_max" instead.
950 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
951
db9b4570
AM
9522013-10-04 Alan Modra <amodra@gmail.com>
953
954 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
955 support. Don't branch over align.
956 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
957 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
958 support. Rearrange tmp reg use to suit. Comment.
959 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
960
f7c399cf
AM
9612013-10-04 Alan Modra <amodra@gmail.com>
962
963 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
964
0b2c2ace
AM
9652013-10-04 Alan Modra <amodra@gmail.com>
966
967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
968 conditional form of branch and link when obtaining pc.
969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
970
02f04a6c
AM
9712013-10-04 Alan Modra <amodra@gmail.com>
972
973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
974 HIWORD/LOWORD.
975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
977
9b874b2f
AM
9782013-10-04 Alan Modra <amodra@gmail.com>
979
980 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
981 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
982 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
983 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
984 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
985 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
986 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
987 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
988 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
989 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
990
be1e5d31
AB
9912013-10-04 Anton Blanchard <anton@au1.ibm.com>
992 Alistair Popple <alistair@ozlabs.au.ibm.com>
993 Alan Modra <amodra@gmail.com>
994
995 [BZ #15723]
996 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
997 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
998 _dl_hwcap access for little-endian.
999 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1000 destroy vmx regs when saving unaligned.
1001 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1002 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1003 destroy vmx regs when saving unaligned.
1004
fef13a78
AM
10052013-10-04 Alan Modra <amodra@gmail.com>
1006
1007 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1008 Don't use a union to pack hi/low value.
1009
76a66d51
AB
10102013-10-04 Anton Blanchard <anton@au1.ibm.com>
1011
1012 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1013 for little-endian.
1014 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1016 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1017 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1018 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1019
6a31fe7f
AM
10202013-10-04 Alan Modra <amodra@gmail.com>
1021
1022 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1023 constants to usual value for .cst8 section, and remove redundant
1024 high address load.
1025 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1026 constant for 0x1p52. Load little-endian words of double from
1027 correct stack offsets.
1028
7b88401f
AM
10292013-10-04 Alan Modra <amodra@gmail.com>
1030
1031 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1032 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1033 words of double from correct stack offsets.
1034 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1035 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1036 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1037 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1038 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1040 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1041 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1042 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1043 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1044 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1045 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1046 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1047 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1048 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1049 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1050 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1051
9c008155
AM
10522013-10-04 Alan Modra <amodra@gmail.com>
1053
1054 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1055 64-bit int/double union.
1056 (_FPU_SETCW): Likewise.
1057 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1058 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1059
da13146d
AM
10602013-10-04 Alan Modra <amodra@gmail.com>
1061
1062 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1063 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1064
603e8410
AM
10652013-10-04 Alan Modra <amodra@gmail.com>
1066
1067 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1068 use vector int constants.
1069 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1070
4a28b3ca
AB
10712013-10-04 Anton Blanchard <anton@au1.ibm.com>
1072
1073 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1074 array with long long.
1075 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1076 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1077 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1078 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1079 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1080 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1081 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1082 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1083 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1084 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1085 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1086 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1087 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1088
2ca85d2b
AB
10892013-10-04 Anton Blanchard <anton@au1.ibm.com>
1090
1091 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1092 (__signbit): Likewise. Correct for little-endian.
1093 (__signbitl): Call __signbit.
1094 (lrint): Correct for little-endian.
1095 (lrintf): Call lrint.
1096
62a728ae
AM
10972013-10-04 Alan Modra <amodra@gmail.com>
1098
1099 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1100 union 32-bit int array member with 64-bit int array.
1101 (t515, tm256): Double rather than long double.
1102 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1103
32c301df
AM
11042013-10-04 Alan Modra <amodra@gmail.com>
1105
1106 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1107 Delete.
1108 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1110 version of math_ldbl.h.
1111
650ef4bd
AM
11122013-10-04 Alan Modra <amodra@gmail.com>
1113
1114 [BZ #15734], [BZ #15735]
1115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1116 all uses of ieee875 long double macros and unions. Simplify test
1117 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1118 ldbl_extract_mantissa value for ix,iy exponents. Properly
1119 normalize after ldbl_extract_mantissa, and don't add hidden bit
1120 already handled. Don't treat low word of ieee854 mantissa like
1121 low word of IBM long double and mask off bit when testing for
1122 zero.
1123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1124 all uses of ieee875 long double macros and unions. Simplify tests
1125 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1126 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1127 two1022, instead use their values. Recognise that tests for large
1128 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1129 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1130 Rewrite all uses of ieee875 long double macros and unions. Simplify
1131 test for 0.0L and nan. Correct negation.
1132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1133 ieee875 long double macros and unions. Correct output for large
1134 magnitude x. Correct absolute value calculation.
1135 (__erfcl): Likewise.
1136 * math/libm-test.inc: Add tests for errors discovered in IBM long
1137 double versions of fmodl, remainderl, erfl and erfcl.
1138
765714ca
AM
11392013-10-04 Alan Modra <amodra@gmail.com>
1140
1141 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1142 all uses of ieee854 long double macros and unions. Simplify tests
1143 for long doubles that are fully specified by the high double.
1144 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1145 Likewise.
1146 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1147 Remove dead code too.
1148 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1149 (__ieee754_ynl): Likewise.
1150 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1151 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1152 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1153 Remove dead code too.
1154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1155 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1156 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1157 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1158 Simplify.
1159 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1160 Simplify.
1161 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1162 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1163 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1164 Comment on variable precision.
1165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1167 Likewise.
1168 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1171 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1172 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1173
4ebd120c
AM
11742013-10-04 Alan Modra <amodra@gmail.com>
1175
1176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1177 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1178 all uses of ieee854 long double macros and unions.
1179 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1180 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1181 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1182 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1183 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1184 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1185 Likewise.
1186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1187 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1188 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1192 Simplify sign and nan test too.
1193 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1195 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1196 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1197 Likewise.
1198 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1199 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1200 Likewise.
1201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1202 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1203 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1204 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1206 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1207
1b6adf88
AM
12082013-10-04 Alan Modra <amodra@gmail.com>
1209
1210 * stdio-common/printf_size.c (__printf_size): Don't use
1211 union ieee854_long_double in fpnum union.
1212 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1213 signbit macro to retrieve sign from long double.
1214 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1215 retrieve sign from long double.
1216 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1217 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1218 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1219 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1220 * math/test-misc.c (main): Don't use union ieee854_long_double.
1221
4cf69995
AM
12222013-10-04 Alan Modra <amodra@gmail.com>
1223
1224 [BZ #15680]
1225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1227 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1228 calculation. Remove unnecessary test for denormal exponent.
1229 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1230 Correct handling of denormals. Avoid undefined shift behaviour.
1231 Correct normalisation of low mantissa when low double is denormal.
1232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1233 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1234 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1235 Correct normalisation of low mantissa. Test for overflow of high
1236 mantissa and normalise.
1237 (ldbl_nearbyint): Use more readable constant for two52.
1238 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1239 (__mpn_construct_long_double): Fix test for overflow of high
1240 mantissa and correct normalisation. Avoid undefined shift.
1241
9605ca6c
AM
12422013-10-04 Alan Modra <amodra@gmail.com>
1243
1244 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1245 (union ibm_extended_long_double): Define as an array of ieee754_double.
1246 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1247 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1248 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1249 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1252 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1253 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1257
975569d0
JM
12582013-10-03 Joseph Myers <joseph@codesourcery.com>
1259
d3d23756
JM
1260 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1261 page size instead of calling getpagesize.
1262
975569d0
JM
1263 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1264 (LOCFILE_ALIGN_MASK): Likewise.
1265 (LOCFILE_ALIGN_UP): Likewise.
1266 (LOCFILE_ALIGNED_P): Likewise.
1267 * locale/programs/ld-collate.c (collate_output): Use the new
1268 macros instead of __alignof__ (int32_t).
1269 * locale/weight.h (findidx): Likewise.
1270
b1fe1f2b
OB
12712013-10-03 Ondřej Bílka <neleai@seznam.cz>
1272
1273 [BZ #431]
1274 * manual/string.texi: Fix strncat and wcsncat.
1275
5f855e35
BM
12762013-10-03 Brooks Moses <bmoses@google.com>
1277
1278 [BZ #15915]
1279 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1280 * Makerules: ...here, and adjust associated comments.
1281
3cef6009
WN
12822013-10-02 Will Newton <will.newton@linaro.org>
1283
1284 * malloc/Makefile: Add tst-pvalloc.
1285 * malloc/tst-pvalloc.c: New file.
1286
7815420b
WN
12872013-10-02 Will Newton <will.newton@linaro.org>
1288
1289 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1290 improve test coverage.
1291
4868b204
WN
12922013-10-02 Will Newton <will.newton@linaro.org>
1293
1294 * malloc/Makefile: Add tst-posix_memalign.
1295 * malloc/tst-posix_memalign.c: New file.
1296
29c793b3
EB
12972013-10-01 Eric Blake <eblake@redhat.com>
1298
1299 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1300 Use __THROWNL rather than __THROW on static functions.
1301
fd967522
PM
13022013-09-30 Petr Machata <pmachata@redhat.com>
1303
1304 * elf/elf.h (R_AARCH64_ABS16): New macro.
1305 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1306 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1307 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1308 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1309 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1310 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1311 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1312 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1313 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1314 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1315 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1316 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1317 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1318 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1319 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1320 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1321 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1322 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1323 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1324 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1325 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1326 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1327 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1328 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1329 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1330 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1331 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1332 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1333 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1334 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1335 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1336 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1337 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1338 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1339 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1340 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1341 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1342 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1343 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1344 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1345 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1346 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1347 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1348 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1349 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1350 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1351 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1352 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1353 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1354 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1355 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1356 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1357 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1358 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1359 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1360 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1361 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1362 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1363 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1364 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1365 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1366 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1367 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1368 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1369 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1370 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1371 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1372 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1373 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1374 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1375 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1376 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1377 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1378 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1379 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1380 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1381 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1382 (R_AARCH64_TLSDESC_LDR): Likewise.
1383 (R_AARCH64_TLSDESC_ADD): Likewise.
1384 (R_AARCH64_TLSDESC_CALL): Likewise.
1385
b2179107
AS
13862013-09-30 Andreas Schwab <schwab@suse.de>
1387
1388 [BZ #15048]
1389 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1390 the nss database lookup.
1391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1393
47f28d0a
MF
13942013-09-28 Mike Frysinger <vapier@gentoo.org>
1395
1396 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1397
13982013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1399
1400 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1401 ${Bash-specific parameter/pattern/string} parameter expansion.
1402 * sysdeps/unix/make-syscalls.sh: Likewise.
1403
f4518a17
KK
14042013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1405
1406 * sysdeps/sh/stackguard-macros.h: New file.
1407
dc1a95c7
OB
14082013-09-26 Ondřej Bílka <neleai@seznam.cz>
1409
1410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1412 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1413 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1414 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1415 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1416
5ebbff8f
AZ
14172013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418
1419 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1420 Fix thread ID register.
1421
4fd2cf9f
JM
14222013-09-25 Joseph Myers <joseph@codesourcery.com>
1423
1424 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1425 [POSIX || UNIX98]: Require rather than permitting all symbols from
1426 <time.h>.
1427 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1428 element of struct sched_param.
1429 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1430 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1431 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1432 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1433 constant.
1434
12c22bc4
OL
14352013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1436
1437 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1438 argument calculation.
1439
a03d8ea7
JM
14402013-09-24 Joseph Myers <joseph@codesourcery.com>
1441
1442 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1443 Expect macro.
1444 [POSIX] (pthread_attr_t): Do not require type.
1445 [POSIX] (pthread_cond_t): Likewise.
1446 [POSIX] (pthread_condattr_t): Likewise.
1447 [POSIX] (pthread_key_t): Likewise.
1448 [POSIX] (pthread_mutex_t): Likewise.
1449 [POSIX] (pthread_mutexattr_t): Likewise.
1450 [POSIX] (pthread_once_t): Likewise.
1451 [POSIX] (pthread_t): Likewise.
1452 [POSIX-based standards] (pthread_atfork): Expect function.
1453
6055173a
JM
14542013-09-24 Joseph Myers <joseph@codesourcery.com>
1455 Richard Sandiford <richard@codesourcery.com>
1456
1457 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1458 (swap_endianness_p): New extern variable.
1459 (set_big_endian): New inline function.
1460 (maybe_swap_uint32): Likewise.
1461 (maybe_swap_uint32_array): Likewise.
1462 (maybe_swap_uint32_obstack): Likewise.
1463 * locale/programs/locfile.c: Include <stdbool.h>.
1464 (swap_endianness_p): New variable.
1465 (add_locale_uint32): Call maybe_swap_uint32.
1466 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1467 (write_locale_data): Call maybe_swap_uint32_array.
1468 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1469 maybe_swap_uint32.
1470 (obstack_int32_grow_fast): Likewise.
1471 (output_weightwc): Call maybe_swap_uint32_obstack.
1472 (collate_output): Likewise.
1473 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1474 (OPT_LITTLE_ENDIAN): Likewise.
1475 (options): Add --little-endian and --big-endian options.
1476 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1477 * locale/programs/locarchive.c: Include "locfile.h".
1478 (GET): New macro.
1479 (SET): Likewise.
1480 (INC): Likewise.
1481 (create_archive): Use the new macros to access fields of
1482 structures directly mapped from or written to locale archives.
1483 (oldlocrecentcmp): Likewise.
1484 (enlarge_archive): Likewise.
1485 (insert_name): Likewise.
1486 (add_alias): Likewise.
1487 (add_locale): Likewise.
1488 (delete_locales_from_archive): Likewise.
1489 (show_archive_content): Likewise.
1490 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1491 locale data.
1492
39bf0bb4
RM
14932013-09-24 Roland McGrath <roland@hack.frob.com>
1494
1495 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1496 http://www.gnu.org/doc/freemanuals.texi.
1497 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1498
f02eed10
WN
14992013-09-24 Will Newton <will.newton@linaro.org>
1500
1501 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1502 macro.
1503
a3a6c312
JM
15042013-09-23 Joseph Myers <joseph@codesourcery.com>
1505
1506 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1507 unsigned char.
1508
107375ac
MR
15092013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1510
1511 * manual/threads.texi (POSIX Threads): Fix a typo.
1512
141f3a77
SP
15132013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1514
303e567a
SP
1515 [BZ #14547]
1516 * string/tst-strcoll-overflow.c: New test case.
1517 * string/Makefile (xtests): Add tst-strcoll-overflow.
1518 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1519 cache if string sizes may cause integer overflow.
1520
141f3a77
SP
1521 [BZ #14547]
1522 * string/strcoll_l.c (coll_seq): New members rule, idx,
1523 save_idx and back_us.
1524 (get_next_seq_nocache): New function.
1525 (do_compare_nocache): New function.
1526 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1527 when malloc fails.
1528
c61b4d41
CD
15292013-09-23 Carlos O'Donell <carlos@redhat.com>
1530
0b1f8e35
CD
1531 [BZ #15754]
1532 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1533 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1534 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1535
c61b4d41
CD
1536 [BZ #15754]
1537 * elf/Makefile (tests): Add tst-ptrguard1.
1538 (tests-static): Add tst-ptrguard1-static.
1539 (tst-ptrguard1-ARGS): Define.
1540 (tst-ptrguard1-static-ARGS): Define.
1541 * elf/tst-ptrguard1.c: New file.
1542 * elf/tst-ptrguard1-static.c: New file.
1543 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1544 * sysdeps/i386/stackguard-macros.h: Likewise.
1545 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1546 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1547 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1548 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1549 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1550 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1551
15522013-09-23 Hector Marco <hecmargi@upv.es>
1553 Ismael Ripoll <iripoll@disca.upv.es>
1554 Carlos O'Donell <carlos@redhat.com>
1555
1556 [BZ #15754]
1557 * sysdeps/generic/stackguard-macros.h: Define
1558 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1559 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1560 Define __pointer_chk_guard_local.
1561 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1562 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1563
f5f4e7b4
VV
15642013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1565
1566 [BZ #15859]
1567 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1568
5bb43a43
AS
15692013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1570
1571 * include/string.h (__ffs): Declare as hidden.
1572 * string/ffs.c (__ffs): Define as hidden.
1573 * sysdeps/i386/ffs.c (__ffs): Likewise.
1574 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1575 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1576 * sysdeps/s390/ffs.c (__ffs): Likewise.
1577 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1578
3ea5be54
AO
15792013-09-20 Alexandre Oliva <aoliva@redhat.com>
1580
ffb89e53
AO
1581 * NEWS: Mention malloc probes.
1582
322dea08
AO
1583 * malloc/arena.c (new_heap): New memory_heap_new probe.
1584 (grow_heap): New memory_heap_more probe.
1585 (shrink_heap): New memory_heap_less probe.
1586 (heap_trim): New memory_heap_free probe.
1587 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1588 (systrim): New memory_sbrk_less probe.
1589 * manual/probes.texi: Document them.
1590
655673f3
AO
1591 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1592 * manual/probes.texi: Document it.
1593
35fed6f1
AO
1594 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1595 (__libc_realloc): Add memory_realloc_retry probe.
1596 (__libc_memalign): Add memory_memalign_retry probe.
1597 (__libc_valloc): Add memory_valloc_retry probe.
1598 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1599 (__libc_calloc): Add memory_calloc_retry probe.
1600 * manual/probes.texi: Document them.
1601
6999d38c
AO
1602 * malloc/arena.c (get_free_list): Add probe
1603 memory_arena_reuse_free_list.
1604 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1605 and memory_arena_reuse.
1606 (arena_get2) [!PER_THREAD]: Likewise.
1607 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1608 memory_arena_reuse_realloc.
1609 * manual/probes.texi: Document them.
1610
0653427f
AO
1611 * malloc/malloc.c (__libc_free): Add
1612 memory_mallopt_free_dyn_thresholds probe.
1613 (__libc_mallopt): Add multiple memory_mallopt probes.
1614 * manual/probes.texi: Document them.
1615
3ea5be54
AO
1616 * malloc/malloc.c: Include stap-probe.h.
1617 (__libc_mallopt): Add memory_mallopt probe.
1618 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1619 * manual/probes.texi: New.
1620 * manual/Makefile (chapters): Add probes.
1621 * manual/threads.texi: Set next node.
1622
e35696c3 16232013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1624
e35696c3
CL
1625 [BZ #15963, #13985]
1626 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1627 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1628 Add `Chinese' to `nan' entry name.
1629
4aafb73c
SP
16302013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1631
1632 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1633 (POLYNOMIAL): Likewise.
1634 (TAYLOR_SINCOS): Likewise.
1635 (TAYLOR_SLOW): Likewise.
1636 (__sin): Use TAYLOR_SINCOS.
1637 (__cos): Likewise.
1638 (slow): Use TAYLOR_SLOW.
1639 (sloww): Likewise.
1640 (bsloww): Likewise.
1641 (csloww): Likewise.
1642
d84f25c7
LD
16432013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1644
1645 * stdlib/strtod_l.c: Fix buffer overrun.
1646
5eea0404
SP
16472013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1648
7849ff93
SP
1649 * benchtests/Makefile (bench): Add sincos.
1650 * benchtests/bench-sincos.c: New file.
1651
cfa3c886
SP
1652 * math/libm-test.inc (cos_test_data): New test inputs.
1653 (sin_test_data): Likewise.
1654
b348e1e3
SP
1655 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1656 macro.
1657 (__sin): Use it.
1658 (__cos): Likewise.
1659 (slow1): Likewise.
1660 (slow2): Likewise.
1661 (sloww1): Likewise.
1662 (sloww2): Likewise.
1663 (bsloww1): Likewise.
1664 (bsloww2): Likewise.
1665 (cslow2): Likewise.
1666 (csloww1): Likewise.
1667 (csloww2): Likewise.
1668
6cce25f8
SP
1669 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1670 function.
1671 (__sin): Use it.
1672 (__cos): Likewise.
1673
5eea0404
SP
1674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1675 gotos.
1676 (__cos): Likewise.
1677
9c21573c
MR
16782013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1679
1680 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1681 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1682 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1683 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1684 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1685 * elf/cache.c (print_entry): Handle the new cache flags.
1686
24d22e65
JM
16872013-09-18 Joseph Myers <joseph@codesourcery.com>
1688 Aldy Hernandez <aldyh@redhat.com>
1689
1690 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1691 Change condition to [_SOFT_FLOAT].
1692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1704 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1707 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1708 declaration.
1709
d13ef066
JM
17102013-09-18 Joseph Myers <joseph@codesourcery.com>
1711
2e071de0
JM
1712 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1713 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1714 (__longjmp): Use LOAD_GP to load saved GPRs.
1715 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1716 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1717 (__sigsetjmp): Use SAVE_GP to save GPRs.
1718
d13ef066
JM
1719 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1720 Do not append -msoft-float.
1721 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1722
97a0650b
SP
17232013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1724
1725 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1726
11ca09e9
JM
17272013-09-17 Joseph Myers <joseph@codesourcery.com>
1728
1729 [BZ #15966]
1730 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1731 (_FPU_GETCW): Use initial "__" on variable and field names but not
1732 on macro parameter name.
1733 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1734 parentheses around reference to macro parameter.
1735
08ffcf34
RS
17362013-09-13 Richard Sandiford <richard@codesourcery.com>
1737
1738 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1739 prototype.
1740 (ctype_startup): Use uint32_t in cast and sizeof for
1741 ctype->charnames.
1742
ae7080d3
JL
17432013-09-11 Jia Liu <proljc@gmail.com>
1744
1745 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1746 __daddr_t_defined.
1747 [__FreeBSD__]: Likewise.
1748
5905e7b3
OB
17492013-09-11 Ondřej Bílka <neleai@seznam.cz>
1750
1751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1752 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1753 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1754 (strchr): Remove __strchr_sse42 ifunc selection.
1755 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1756 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1757
b987c776
WN
17582013-09-11 Will Newton <will.newton@linaro.org>
1759
1760 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1761 parameter to RES. Remove hardcoded 1000 value.
1762 * benchtests/bench-skeleton.c (main): Pass RES parameter
1763 to TIMING_INIT and multiply result by 1000.
1764
ddf985af
AZ
17652013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766
1767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1768
ffdd3181
AS
17692013-09-11 Andreas Schwab <schwab@suse.de>
1770
1771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1772 if not defined.
1773 (O_TMPFILE) [__USE_GNU]: Define.
1774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1775 Define.
1776
b73ed247
WN
17772013-09-11 Will Newton <will.newton@linaro.org>
1778
1779 [BZ #15857]
1780 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1781 does not overflow.
1782
55e17aad
WN
17832013-09-11 Will Newton <will.newton@linaro.org>
1784
1785 [BZ #15856]
1786 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1787 does not overflow.
1788
1159a193
WN
17892013-09-11 Will Newton <will.newton@linaro.org>
1790
1791 [BZ #15855]
1792 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1793 does not overflow.
1794
5905e7b3 17952013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1796
1797 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1798 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1799 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1801 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1802
cdfc721b
AM
18032013-09-10 Allan McRae <allan@archlinux.org>
1804
aa04af00
AM
1805 [BZ #15748]
1806 * manual/arith.texi (Parsing of Floats): Clarify
1807 cross-reference.
1808
cdfc721b
AM
1809 [BZ #15849]
1810 * manual/install.texi (Running make install): Mention
1811 --enable-pt-chown.
1812 * INSTALL: Regenerated.
1813
95e7cf29
MR
18142013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1815
1816 * csu/init-first.c (_init): Remove the !SHARED condition around
1817 FPU control word initialization.
1818 * elf/dl-support.c (_dl_fpu_control): New variable.
1819 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1820 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1821 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1822 * math/test-fpucw-static.c: New file.
1823 * math/test-fpucw-ieee.c: New file.
1824 * math/test-fpucw-ieee-static.c: New file.
1825 * math/Makefile (tests): Add `test-fpucw-ieee' and
1826 `$(tests-static)'.
1827 (tests-static): New variable.
1828 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1829 dependency to...
1830 [($(build-shared),yes)]
1831 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1832 ... this.
1833 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1834 New dependency.
1835
83e43bf0
AM
18362013-09-09 Allan McRae <allan@archlinux.org>
1837
a9f5ce09
AM
1838 [BZ #15939]
1839 * manual/string.texi (Collation Functions): Fix typo in
1840 strcoll example.
1841 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1842
34829bc2
AM
1843 [BZ #15893]
1844 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1845
3932737d
AM
1846 [BZ #15892]
1847 * libio/memstream.c (open_memstream): Fix memory leak.
1848 * libio/wmemstream.c (open_wmemstream): Likewise.
1849
83e43bf0
AM
1850 [BZ #15895]
1851 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1852
0c66b8e9
WN
18532013-09-09 Will Newton <will.newton@linaro.org>
1854
1855 * malloc/Makefile: Add tst-realloc to tests.
1856 * malloc/tst-realloc.c: New file.
1857
f6b00fd1
AM
18582013-09-09 Allan McRae <allan@archlinux.org>
1859
1860 [BZ #15844]
1861 * COPYING: Update from GNU website to fix FSF address.
1862 * COPYING.LIB: Likewise.
1863
eec55e16
DM
18642013-09-06 David S. Miller <davem@davemloft.net>
1865
1866 * po/zh_TW.po: Update Chinese (traditional) translation from
1867 translation project.
1868
1ecbb381
RS
18692013-09-06 Richard Sandiford <richard@codesourcery.com>
1870 Joseph Myers <joseph@codesourcery.com>
1871
1872 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1873 "localeinfo.h".
1874 (obstack_chunk_alloc): New macro.
1875 (obstack_chunk_free): Likewise.
1876 (record_offset): New function.
1877 (init_locale_data): Likewise.
1878 (align_locale_data): Likewise.
1879 (add_locale_empty): Likewise.
1880 (add_locale_raw_data): Likewise.
1881 (add_locale_raw_obstack): Likewise.
1882 (add_locale_string): Likewise.
1883 (add_locale_wstring): Likewise.
1884 (add_locale_uint32): Likewise.
1885 (add_locale_uint32_array): Likewise.
1886 (add_locale_char): Likewise.
1887 (start_locale_structure): Likewise.
1888 (end_locale_structure): Likewise.
1889 (start_locale_prelude): Likewise.
1890 (end_locale_prelude): Likewise.
1891 (write_locale_data): Take locale_file structure rather than an
1892 iovec.
1893 * locale/programs/locfile.h: Include "obstack.h".
1894 (struct locale_file): Change to store locale file contents instead
1895 of header.
1896 (init_locale_data): New prototype.
1897 (align_locale_data): Likewise.
1898 (add_locale_empty): Likewise.
1899 (add_locale_raw_data): Likewise.
1900 (add_locale_raw_obstack): Likewise.
1901 (add_locale_string): Likewise.
1902 (add_locale_wstring): Likewise.
1903 (add_locale_uint32): Likewise.
1904 (add_locale_uint32_array): Likewise.
1905 (add_locale_char): Likewise.
1906 (start_locale_structure): Likewise.
1907 (end_locale_structure): Likewise.
1908 (start_locale_prelude): Likewise.
1909 (end_locale_prelude): Likewise.
1910 (write_locale_data): Update prototype.
1911 * locale/programs/3level.h (struct TABLE): Remove result field.
1912 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1913 Use new locale_file interface.
1914 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1915 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1916 * locale/programs/ld-address.c (address_output): Use new
1917 locale_file interface.
1918 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1919 NO_ADD_LOCALE.
1920 (collate_finish): Don't call collseq_table_finalize.
1921 (collate_output): Use new locale_file interface.
1922 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1923 in file.
1924 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1925 (TABLE): Move defines earlier in file.
1926 (ELEMENT): Likewise.
1927 (DEFAULT): Likewise.
1928 (wctrans_table_add): Move macro and inline function earlier in
1929 file.
1930 (struct wctype_table): Move type earlier in file.
1931 (add_locale_wctype_table): New static prototype.
1932 (struct locale_ctype_t): Use logical types instead of struct iovec
1933 pointers for members.
1934 (ctype_output): Use new locale_file interface.
1935 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1936 new locale_file interface.
1937 (allocate_arrays): Update for use of new locale_file interface.
1938 * locale/programs/ld-identification.c (identification_output): Use
1939 new locale_file interface.
1940 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1941 * locale/programs/ld-messages.c (messages_output): Likewise.
1942 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1943 * locale/programs/ld-name.c (name_output): Likewise.
1944 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1945 * locale/programs/ld-paper.c (paper_output): Likewise.
1946 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1947 * locale/programs/ld-time.c (time_output): Likewise.
1948
e029e2e5
AZ
19492013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1950
1951 * benchtests/Makefile: Add memrchr benchmark.
1952 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1953 benchmark as memrchr.
1954 * benchtests/bench-memrchr-ifunc.c: New file.
1955 * benchtests/bench-memrchr.c: New file.
1956
bbf6e8e4
WN
19572013-09-06 Will Newton <will.newton@linaro.org>
1958
1959 * benchtests/Makefile (string-bench): Add memcpy.
1960
6c82a2f8
CD
19612013-09-05 Carlos O'Donell <carlos@redhat.com>
1962 Cong Wang <amwang@redhat.com>
1963
1964 * sysdeps/unix/sysv/linux/bits/in.h
1965 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1966 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1967 before __USE_KERNEL_IPV6_DEFS uses.
1968 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1969 IPPROTO_BEETPH.
1970 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1971 sockaddr_in6, or ipv6_mreq.
1972
5430fc65
AZ
19732013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1974
1975 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1976 memory access for final bytes in some large inputs.
1977 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1978
4660856c
AZ
19792013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980
1981 * string/test-memrchr.c: New file.
1982 * string/test-memrchr-ifunc.c: New file.
1983 * string/Makefile: Add new memrchr testcase.
1984
bb8ea713
MF
19852013-09-05 Mike Frysinger <vapier@gentoo.org>
1986
1987 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1988 fanotify_init returns EPERM.
1989
b92a20b5
JM
19902013-09-04 Joseph Myers <joseph@codesourcery.com>
1991
1992 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1993 errors.
1994 (top level): Treat second token from macro or constant entries for
1995 allowed headers as allowed.
1996 * include/complex.h: Condition internal declarations on
1997 [!_ISOMAC].
1998 * include/fenv.h: Condition include of <stdbool.h> and internal
1999 declarations on [!_ISOMAC].
7447ccd9
CL
2000
20012013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2002
3e181dda 2003 [BZ #15923]
7447ccd9
CL
2004 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2005
3f2e46a4
JM
20062013-09-04 Joseph Myers <joseph@codesourcery.com>
2007
2008 * configure.in (--enable-versioning): Remove configure option.
2009 (libc_cv_asm_symver_directive): Remove configure test.
2010 (libc_cv_ld_version_script_option): Likewise.
2011 (VERSIONING): Remove variable and AC_SUBST.
2012 (DO_VERSIONING): Remove AC_DEFINE.
2013 * configure: Regenerated.
2014 * config.h.in (DO_VERSIONING): Remove macro.
2015 * Makerules [$(versioning) = yes]: Change conditionals to
2016 [$(build-shared) = yes].
2017 * config.make.in (versioning): Remove variable.
2018 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2019 [$(build-shared) = yes].
2020 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2021 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2022 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2023 [$(build-shared) = yes].
2024 * extra-lib.mk [$(versioning) = yes]: Likewise.
2025 * hurd/Makefile [$(versioning) = yes]: Likewise.
2026 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2027 [SHARED].
2028 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2029 [SHARED].
2030 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2031 [SHARED && !NO_HIDDEN].
2032 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2033 [SHARED].
2034 [SHARED && DO_VERSIONING]: Likewise..
2035 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2036 [$(build-shared) = yes].
2037 * manual/install.texi (--disable-versioning): Remove
2038 documentation.
2039 * INSTALL: Regenerated.
2040 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2041 to [SHARED].
2042 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2043 [$(build-shared) = yes].
2044 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2045 * sysdeps/i386/i686/multiarch/strstr-c.c
2046 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2047 [SHARED && !NO_HIDDEN].
2048 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2049 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2050 * sysdeps/powerpc/powerpc32/dl-machine.c
2051 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2052 * sysdeps/powerpc/powerpc32/sysdep.h
2053 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2054 to [SHARED && PIC && !NO_HIDDEN].
2055 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2056 conditional to [SHARED].
2057
44558701
WN
20582013-09-04 Will Newton <will.newton@linaro.org>
2059
2060 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2061 * benchtests/bench-string.h: Include bench-timing.h instead
2062 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2063 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2064 call to HP_TIMING_DIFF_INIT.
2065 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2066 instead of hp-timing.h macros.
2067 * benchtests/bench-memchr.c: Likewise.
2068 * benchtests/bench-memcmp.c: Likewise.
2069 * benchtests/bench-memcpy.c: Likewise.
2070 * benchtests/bench-memmem.c: Likewise.
2071 * benchtests/bench-memmove.c: Likewise.
2072 * benchtests/bench-memset.c: Likewise.
2073 * benchtests/bench-rawmemchr.c: Likewise.
2074 * benchtests/bench-strcasecmp.c: Likewise.
2075 * benchtests/bench-strcasestr.c: Likewise.
2076 * benchtests/bench-strcat.c: Likewise.
2077 * benchtests/bench-strchr.c: Likewise.
2078 * benchtests/bench-strcmp.c: Likewise.
2079 * benchtests/bench-strcpy.c: Likewise.
2080 * benchtests/bench-strcpy_chk.c: Likewise.
2081 * benchtests/bench-strlen.c: Likewise.
2082 * benchtests/bench-strncasecmp.c: Likewise.
2083 * benchtests/bench-strncat.c: Likewise.
2084 * benchtests/bench-strncmp.c: Likewise.
2085 * benchtests/bench-strncpy.c: Likewise.
2086 * benchtests/bench-strnlen.c: Likewise.
2087 * benchtests/bench-strpbrk.c: Likewise.
2088 * benchtests/bench-strrchr.c: Likewise.
2089 * benchtests/bench-strspn.c: Likewise.
2090 * benchtests/bench-strstr.c: Likewise.
2091
cae16d66
WN
20922013-09-04 Will Newton <will.newton@linaro.org>
2093
2094 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2095
ffa3cd7f
JM
20962013-09-03 Joseph Myers <joseph@codesourcery.com>
2097
2098 [BZ #15427]
2099 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2100 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2101 * math/libm-test.inc (lgamma_test_data): Add more tests.
2102 * sysdeps/i386/fpu/libm-test-ulps: Update.
2103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2104
8f02859f
OB
21052013-09-03 Ondřej Bílka <neleai@seznam.cz>
2106
2107 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2109 Add ifunc.
2110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2111 Add strcmp-sse2-unaligned
2112 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2113
18d43716
MF
21142013-09-02 Mike Frysinger <vapier@gentoo.org>
2115
2116 * Versions.def (libc): Add GLIBC_2.19.
2117
ac444012
MF
21182013-09-02 Mike Frysinger <vapier@gentoo.org>
2119
2120 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2121 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2122
b7835e32
JM
21232013-09-02 Joseph Myers <joseph@codesourcery.com>
2124
2125 [BZ #14155]
2126 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2127 intermediate calculations in recurrence.
2128 (__ieee754_ynf): Likewise.
2129 * math/libm-test.inc (jn_test_data): Do not allow spurious
2130 underflow exception. Add more tests.
2131 (yn_test_data): Add more tests.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2134
8220f4f0
OB
21352013-09-02 Ondřej Bílka <neleai@seznam.cz>
2136
2137 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2138
f24a6d08
OB
21392013-08-30 Ondřej Bílka <neleai@seznam.cz>
2140
2141 * csu/init-first.c: Fix then/than typos.
2142 * locale/programs/ld-collate.c: Likewise.
2143 * locale/programs/linereader.h: Likewise.
2144 * manual/charset.texi: Likewise.
2145 * manual/filesys.texi: Likewise.
2146 * manual/stdio.texi: Likewise.
2147 * manual/string.texi: Likewise.
2148 * stdlib/fmtmsg.c: Likewise.
2149 * sysdeps/i386/stpncpy.S: Likewise.
2150 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2151 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2152 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2153 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2154
382466e0
OB
21552013-08-30 Ondřej Bílka <neleai@seznam.cz>
2156
2157 * elf/dl-open.c: Fix typos.
2158 * iconvdata/gbbig5.c: Likewise.
2159 * iconvdata/iso-2022-jp.c: Likewise.
2160 * iconv/gconv_int.h: Likewise.
2161 * iconv/loop.c: Likewise.
2162 * nis/rpcsvc/nis.h: Likewise.
2163 * resolv/ns_name.c: Likewise.
2164 * stdio-common/vfscanf.c: Likewise.
2165 * streams/stropts.h: Likewise.
2166 * sunrpc/rpc_thread.c: Likewise.
2167 * sysdeps/i386/strpbrk.S: Likewise.
2168 * sysdeps/ieee754/k_standard.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2171 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2172 * sysdeps/mach/hurd/profil.c: Likewise.
2173 * sysdeps/s390/dl-procinfo.h: Likewise.
2174 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2175 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2176 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2177 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2178 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2179
0186c6e9
OB
21802013-08-30 Ondřej Bílka <neleai@seznam.cz>
2181
2182 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2184
d4e16af1
OB
21852013-08-29 Ondřej Bílka <neleai@seznam.cz>
2186
2187 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2188 aix specific files.
2189 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2192 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2196 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2197
88335980
TS
21982013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2199 Roland McGrath <roland@hack.frob.com>
2200
2201 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2202 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2203
ed479b02
ST
22042013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2205
2206 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2207 __executable_start symbol instead of _start.
2208
f1cc4c86
TS
22092013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2210
d821f07c
TS
2211 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2212 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2213 Move macros to...
2214 * sysdeps/gnu/ldsodefs.h: ... this new file.
2215
c54290cf
TS
2216 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2217 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2218 instead of ELFOSABI_LINUX.
2219
0007fc9b 2220 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2221 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2222 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2223 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2224 Likewise.
2225 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2226 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2227 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2228 Likewise.
2229 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2230 (ibm_extended_long_double): Add ieee_nan member.
2231 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2232 (do_test): New function.
2233
f1cc4c86
TS
2234 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2235 TEST_TRUNC.
2236 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2237 functions, renamed from truncdfsf_test, trunctfsf_test,
2238 trunctfdf_test.
2239 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2240 functions.
2241 (do_test): Run all these.
2242
6f65e668
OB
22432013-08-29 Ondřej Bílka <neleai@seznam.cz>
2244
2245 * argp/argp-help.c: Fix typos.
2246 * argp/argp-parse.c: Likewise.
2247 * debug/backtracesyms.c: Likewise.
2248 * elf/elf.h: Likewise.
2249 * malloc/malloc.c: Likewise.
2250 * nis/nis_print.c: Likewise.
2251 * resolv/res_comp.c: Likewise.
2252 * stdlib/stdlib.h: Likewise.
2253 * sunrpc/clnt_tcp.c: Likewise.
2254 * sunrpc/clnt_udp.c: Likewise.
2255 * sunrpc/clnt_unix.c: Likewise.
2256 * sysdeps/unix/bsd/ptsname.c: Likewise.
2257 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2258 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2260 Likewise.
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2262 Likewise.
2263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2264 Likewise.
6f65e668
OB
2265 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2266
3a309239
SP
22672013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2268
2269 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2271
3b813b29
MF
22722013-08-27 Mike Frysinger <vapier@gentoo.org>
2273
2274 [BZ #15897]
2275 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2276 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2277 ($(objpfx)bug-dl-leaf): New rule.
2278 ($(objpfx)bug-dl-leaf.so): Likewise.
2279 ($(objpfx)bug-dl-leaf.out): Likewise.
2280 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2281 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2282 * dlfcn/bug-dl-leaf.c: New test.
2283 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2284 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2285 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2286 (dlclose): Likewise.
2287 (dlmopen): Likewise.
2288
8cc3269f
RM
22892013-08-27 Roland McGrath <roland@hack.frob.com>
2290
7f9d0034
RM
2291 * include/netdb.h [!_ISOMAC]:
2292 Don't include <tls.h>.
2293 (h_errno, __libc_h_errno): Move declaration and macros out of
2294 [_LIBC_REENTRANT].
2295
fb431262
RM
2296 * include/resolv.h [_RESOLV_H_]:
2297 Don't include <tls.h>.
2298 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2299 * resolv/res_libc.c: Don't include <tls.h>.
2300 (_res): Use __attribute__ ((nocommon)) in place of
2301 __attribute__ ((section (".bss"))).
2302
bd81123a
RM
2303 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2304 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2305
c4e42566
RM
2306 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2307
f890a59b
RM
2308 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2309 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2310
2311 * resolv/res_mkquery.c: Include <sys/time.h>.
2312
5d1f0a09
RM
2313 * inet/ifreq.c: Moved to ...
2314 * sysdeps/unix/ifreq.c: ... here.
2315 * inet/ifreq.c: New file, true stub version.
2316
6fcf28b3
RM
2317 * socket/sa_len.c: New file.
2318 * socket/Makefile (aux): Add it.
2319 * sysdeps/unix/sysv/linux/Makefile
2320 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2321 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2322 and #include <socket/sa_len.c>.
2323 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2324 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2325
e041fb8b
RM
2326 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2327 * bits/socket.h: ... here.
2328
8cc3269f
RM
2329 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2330 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2331 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2332
5d228a43
AS
23332013-08-27 Andreas Schwab <schwab@suse.de>
2334
45b8accc
AS
2335 [BZ #15736]
2336 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2337 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2338 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2339 * string/test-strcasecmp.c (test_main): Run tests in several
2340 locales.
2341 * string/test-strncasecmp.c (test_main): Likewise.
2342
5d228a43
AS
2343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2344 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2345 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2347 (__strncasecmp_ssse3) [PIC]: Likewise.
2348
59d112a4
RM
23492013-08-26 Roland McGrath <roland@hack.frob.com>
2350
53234cc3
RM
2351 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2352
59d112a4
RM
2353 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2354 instead of explicitly declaring xdecrypt.
2355 * nis/nss_nis/nis-publickey.c: Likewise.
2356
595aba70
SP
23572013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2358
2359 [BZ #15890]
2360 * nscd/aicache.c: Include res_hconf.h.
2361 (addhstaiX): Initialize res_hconf.
2362
ffabd393
AS
23632013-08-26 Andreas Schwab <schwab@suse.de>
2364
2365 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2366 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2367
e0a69f5c
SP
23682013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2369
2370 * nscd/aicache.c (addhstaiX): Fix indentation.
2371
8c12f01d
MF
23722013-08-25 Mike Frysinger <vapier@gentoo.org>
2373
2374 * configure.ac: Quote $build_pt_chown test.
2375 * configure: Regenerated.
2376
8fe89494
JM
23772013-08-23 Joseph Myers <joseph@codesourcery.com>
2378
2379 [BZ #15532]
2380 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2381 * math/s_cexpf.c (__cexpf): Likewise.
2382 * math/s_cexpl.c (__cexpl): Likewise.
2383 * math/libm-test.inc (cexp_test_data): Correct expected return
2384 value for NaN + i0. Add another test.
2385
75b181d6
DM
23862013-08-22 David S. Miller <davem@davemloft.net>
2387
2388 * po/ca.po: Update Catalan translation from translation project.
936241e4 2389 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2390
acd06bb1
JM
23912013-08-21 Joseph Myers <joseph@codesourcery.com>
2392
2393 [BZ #15797]
2394 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2395 is infinite, not alongside NaN test.
2396 * math/s_fdimf.c (__fdimf): Likewise.
2397 * math/s_fdiml.c (__fdiml): Likewise.
2398 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2399 errno is unchanged.
2400
c0c3f78a
OB
24012013-08-21 Ondřej Bílka <neleai@seznam.cz>
2402
2403 * argp/argp-help.c: Fix typos.
2404 * crypt/speeds.c: Likewise.
2405 * csu/check_fds.c: Likewise.
2406 * elf/dl-load.c: Likewise.
2407 * elf/dl-open.c: Likewise.
2408 * elf/reldep3.c: Likewise.
2409 * elf/reldep.c: Likewise.
2410 * elf/sprof.c: Likewise.
2411 * iconv/iconv_charmap.c: Likewise.
2412 * iconv/skeleton.c: Likewise.
2413 * iconv/strtab.c: Likewise.
2414 * io/lockf64.c: Likewise.
2415 * libio/libioP.h: Likewise.
2416 * resolv/gai_notify.c: Likewise.
2417 * resolv/ns_name.c: Likewise.
2418 * resolv/ns_samedomain.c: Likewise.
2419 * resolv/res_send.c: Likewise.
2420 * stdlib/random.c: Likewise.
2421 * sunrpc/rpc/xdr.h: Likewise.
2422 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2423 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2424 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2425 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2426 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2427 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2429 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2430 * sysdeps/mach/hurd/check_fds.c: Likewise.
2431 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2432 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2433 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2435 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2436 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2437 * sysdeps/pthread/aio_notify.c: Likewise.
2438 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2439 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2440 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2442 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2443
46ed1038
LD
24442013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2445
2446 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2447 version if bit_Slow_SSE4_2 is set.
2448 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2449 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2450
d400dcac
AZ
24512013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2452
2453 [BZ #15867]
2454 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2455 trampoline stack frame information.
2456 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2457 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2458 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2459 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2460 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2461 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2462 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2463 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2464 sa_flags value.
2465 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2466 interrupting a syscall and set with option SA_SIGINFO.
2467
42c8fdd8
JM
24682013-08-20 Joseph Myers <joseph@codesourcery.com>
2469
c980f2f4
JM
2470 [BZ #15531]
2471 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2472 argument is infinite.
2473 * math/s_cprojf.c (__cprojf): Likewise.
2474 * math/s_cprojl.c (__cprojl): Likewise.
2475 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2476 * math/libm-test.inc (cproj_test_data): Add more tests.
2477
0716c4fc
JM
2478 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2479
42c8fdd8
JM
2480 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2481 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2482 size. Use __ffs to determine corresponding shift.
2483
b31469d0
JM
24842013-08-20 Joseph Myers <joseph@codesourcery.com>
2485 Roland McGrath <roland@hack.frob.com>
2486
2487 * Makefile (INSTALL): Remove trailing blank lines from output of
2488 makeinfo.
2489
4e39af6e
AK
24902013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2491
2492 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2493 Align 32 bit compat elf_greg to 8 bytes.
2494
f315524e
AA
24952013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2496
2497 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2498
1326ba1a
SP
24992013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2500
2501 * string/strcoll_l.c (coll_seq): New structure.
2502 (get_next_seq_cached): New function.
2503 (get_next_seq): New function.
2504 (do_compare): New function.
2505 (STRCOLL): Use GNU style definition. Simplify implementation
2506 by using get_next_seq, get_next_seq_cached and do_compare.
2507
91ce4085
FW
25082013-08-16 Florian Weimer <fweimer@redhat.com>
2509
2510 [BZ #14699]
2511 CVE-2013-4237
2512 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2513 member.
2514 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2515 member.
2516 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2517 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2518 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2519 conditional.
2520 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2521 GETDENTS_64BIT_ALIGNED.
2522 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2523 * manual/filesys.texi (Reading/Closing Directory): Document
2524 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2525 strongly.
2526 * manual/conf.texi (Limits for Files): Add portability note to
2527 NAME_MAX, PATH_MAX.
2528 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2529
ca0a6bc4
AS
25302013-08-13 Andreas Schwab <schwab@suse.de>
2531
2532 [BZ #15749]
2533 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2534 of fabs.
2535 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2536 LDBL_MAX_EXP >= 16384]: Add tests for it.
2537
6c1fd795
DM
25382013-08-12 David S. Miller <davem@davemloft.net>
2539
2540 * version.h (RELEASE): Set to "development".
2541 (VERSION): Set to "2.18.90".
2542 * NEWS: Add 2.19 section.
2543
31ad488d
DM
25442013-08-03 David S. Miller <davem@davemloft.net>
2545
2546 * po/ko.po: Update Korean translation from translation project.
2547
db24e684
DM
25482013-08-01 David S. Miller <davem@davemloft.net>
2549
2550 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2551 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2552 Bilka.
2553
f723285b
DM
25542013-07-30 David S. Miller <davem@davemloft.net>
2555
2556 * po/fr.po: Update French translation from translation project.
2557
3cbc52db
DM
25582013-07-28 David S. Miller <davem@davemloft.net>
2559
30bbc0cc
DM
2560 * po/cs.po: Update Czech translation from translation project.
2561
3cbc52db
DM
2562 * po/sv.po: Update Swedish translation from translation project.
2563
d492e6d0
DM
25642013-07-27 David S. Miller <davem@davemloft.net>
2565
f1a7f492
DM
2566 * po/eo.po: Update Esperanto translation from translation project.
2567
90e62a4a
DM
2568 * po/vi.po: Update Vietnamese translation from translation project.
2569
d492e6d0
DM
2570 * po/de.po: Update German translation from translation project.
2571
d4baa62d
DM
25722013-07-26 David S. Miller <davem@davemloft.net>
2573
641aa7b4
DM
2574 * po/bg.po: Update Bulgarian translation from translation project.
2575
d4baa62d
DM
2576 * po/nl.po: Update Dutch translation from translation project.
2577 * po/pl.po: Update Polish translation from translation project.
2578 * po/ru.po: Update Russian translation from translation project.
2579
61a9dcb9
DM
25802013-07-24 David S. Miller <davem@davemloft.net>
2581
2582 * po/libc.pot: Update.
2583
7b1f8b58
AZ
25842013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2585
2586 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2587 variable page size.
2588 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2589 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2590 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2591
a8fc7a03
AK
25922013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2593
2594 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2595
e4608715
CD
25962013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2597 Andreas Schwab <schwab@suse.de>
2598 Roland McGrath <roland@hack.frob.com>
2599 Joseph Myers <joseph@codesourcery.com>
2600 Carlos O'Donell <carlos@redhat.com>
2601
2602 [BZ #15755]
2603 * config.h.in: Define HAVE_PT_CHOWN.
2604 * config.make.in (build-pt-chown): New variable.
2605 * configure.in (--enable-pt_chown): New configure option.
2606 * configure: Regenerate.
2607 * login/Makefile: Include Makeconfig. Build pt_chown only if
2608 build-pt-chown is enabled.
2609 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2610 pt_chown to fix pty ownership.
2611 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2612 CLOSE_ALL_FDS.
2613 * manual/install.texi (Configuring and compiling): Mention
2614 --enable-pt_chown. Add @findex for grantpt.
2615 * INSTALL: Regenerate.
2616
da2d62df
DM
26172013-07-20 David S. Miller <davem@davemloft.net>
2618
2619 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2620 difference between 32-bit and 64-bit.
2621
d7e06450
CD
26222013-07-15 Carlos O'Donell <carlos@redhat.com>
2623
2624 [BZ #15711]
2625 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2626 Avoid system header dependency with -ffreestanding.
2627 ($(objpfx)bits/syscall%d): Likewise.
2628
f959cfd7
DM
26292013-07-13 David S. Miller <davem@davemloft.net>
2630
2631 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2632 underflows from atanl/atan2l due to bug 15319.
2633 (casinh_test_data): Likewise.
2634
c61f8513
DM
26352013-07-07 David S. Miller <davem@davemloft.net>
2636
2637 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2638
72c90ed0
JA
26392013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2640
2641 * sysdeps/i386/fpu/libm-test-ulps: Update.
2642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2643
52dfbe13
SP
26442013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2645
2646 * configure.in (--enable-lock-elision): Fix message text.
2647 * INSTALL: Regenerate.
2648 * configure: Regenerate.
2649
3f169543
AZ
26502013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2651
2652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2653
521c6785
AJ
26542013-07-03 Andreas Jaeger <aj@suse.de>
2655
2656 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2657 define.
2658 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2659 (ptrace_peeksiginfo_args): Add.
2660 (__ptrace_peeksiginfo_flags): Add.
2661 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2662 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2663 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2664
d2cc15cb
AM
26652013-07-03 Allan McRae <allan@archlinux.org>
2666
2667 * sysdeps/i386/fpu/libm-test-ulps: Update.
2668
3aaeeca7
DM
26692013-07-02 David S. Miller <davem@davemloft.net>
2670
2671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2672
5314ed1a
MT
26732013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2674
2675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2676
67338156
JM
26772013-07-02 Joseph Myers <joseph@codesourcery.com>
2678
2679 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2681
1717da59
AK
26822013-07-02 Andi Kleen <ak@linux.intel.com>
2683
2684 * config.h.in (ENABLE_LOCK_ELISION): Add.
2685 * configure.in (--enable-lock-elision): Add option.
2686 * manual/install.texi: Document --enable lock elision.
2687 * configure: Regenerate
2688 * INSTALL: Regenerate.
2689
1c81621c
L
26902013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2691
2692 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2693 SSE4.2 strcasecmp for libc.a.
2694 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2695
77f01ab5
JM
26962013-07-02 Joseph Myers <joseph@codesourcery.com>
2697
2698 [BZ #13304]
2699 * soft-fp/op-common.h (_FP_FMA): New macro.
2700 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2701 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2702 (_FP_MUL_MEAT_1_imm): ... here.
2703 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2704 (_FP_MUL_MEAT_1_wide): ... here.
2705 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2706 (_FP_MUL_MEAT_1_hard): ... here.
2707 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2708 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2709 (_FP_MUL_MEAT_2_wide): ... here.
2710 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2711 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2712 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2713 (_FP_MUL_MEAT_2_gmp): ... here.
2714 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2715 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2716 (_FP_MUL_MEAT_4_wide): ... here.
2717 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2718 (_FP_MUL_MEAT_4_gmp): ... here.
2719 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2720 (_FP_WFRACBITS_DW_S): Likewise.
2721 (_FP_WFRACXBITS_DW_S): Likewise.
2722 (_FP_HIGHBIT_DW_S): Likewise.
2723 (FP_FMA_S): Likewise.
2724 (_FP_FRAC_HIGH_DW_S): Likewise.
2725 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2726 (_FP_WFRACBITS_DW_D): Likewise.
2727 (_FP_WFRACXBITS_DW_D): Likewise.
2728 (_FP_HIGHBIT_DW_D): Likewise.
2729 (FP_FMA_D): Likewise.
2730 (_FP_FRAC_HIGH_DW_D): Likewise.
2731 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2732 (_FP_WFRACBITS_DW_E): Likewise.
2733 (_FP_WFRACXBITS_DW_E): Likewise.
2734 (_FP_HIGHBIT_DW_E): Likewise.
2735 (FP_FMA_E): Likewise.
2736 (_FP_FRAC_HIGH_DW_E): Likewise.
2737 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2738 (_FP_WFRACBITS_DW_Q): Likewise.
2739 (_FP_WFRACXBITS_DW_Q): Likewise.
2740 (_FP_HIGHBIT_DW_Q): Likewise.
2741 (FP_FMA_Q): Likewise.
2742 (_FP_FRAC_HIGH_DW_Q): Likewise.
2743 * soft-fp/fmasf4.c: New file.
2744 * soft-fp/fmadf4.c: Likewise.
2745 * soft-fp/fmatf4.c: Likewise.
2746
6308fd9a
LD
27472013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2748
2749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2750 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2751 Silvermont.
2752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2753 macro.
2754 (index_Slow_SSE4_2): Likewise.
2755 (index_Prefer_PMINUB_for_stringop): Likewise.
2756 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2757 bit_Slow_SSE4_2 is set.
2758 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2759 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2760
89cd9569
RA
27612013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2762
2763 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2764 rtld_global._dl_hwcap2.
2765 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2766 POWER8.
2767 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2768 POWER8 feature descriptions defined in _dl_hwcap2.
2769 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2770 string handling for POWER8 feature bits.
2771 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2772 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2773 _dl_powerpc_cap_flags.
2774 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2775 * sysdeps/powerpc/rtld-global-offsets.sym
2776 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2777 _dl_hwcap2 in the rtld_global_ro structure.
2778
1ae8bfe0
RA
27792013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2780
2781 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2782 hardware capabilities in support of AT_HWCAP2.
2783 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2784 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2785 GLRO(dl_hwcap2).
2786 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2787 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2788 explicitly the unknown a_type display mechanism is used.
2789 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2790 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2791 struct member.
2792 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2793 to macro prototype for AT_HWCAP2 support.
2794 * sysdeps/i386/dl-procinfo.h: Likewise.
2795 * sysdeps/s390/dl-procinfo.h: Likewise.
2796 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2797 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2798 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2799 return -1 for unknown a_type display fallback.
2800 * sysdeps/sparc/dl-procinfo.h: Likewise.
2801 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2802 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2803
8fbec010
JM
28042013-06-28 Joseph Myers <joseph@codesourcery.com>
2805
2806 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2807 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2808
0432680e
PY
28092013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2810
2811 [BZ #12492]
2812 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2813 mprotect making __stack_prot writable.
2814
ce61a2ad
NF
28152013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2816 Joseph Myers <joseph@codesourcery.com>
2817
2818 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2819 as being properly aligned.
2820
f91f1c0f
MR
28212013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2822
3d0f5d0c
MR
2823 * dlfcn/modstatic5.c: New file.
2824 * dlfcn/tststatic5.c: New file.
2825 * dlfcn/Makefile (tests): Add tststatic5.
2826 (tests-static): Likewise.
2827 (modules-names): Add modstatic5.
2828 (tststatic5-ENV): New variable.
2829 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2830
f91f1c0f
MR
2831 [BZ #15022]
2832 * elf/dl-support.c (_dl_main_map): New variable.
2833 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2834 (_dl_nns, _dl_load_adds): Set to 1.
2835 (_dl_initial_searchlist): Refer to _dl_main_map.
2836 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2837 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2838 call to _dl_get_origin.
2839 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2840 around call_map.
2841 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2842 * dlfcn/modstatic3.c: New file.
2843 * dlfcn/tststatic3.c: New file.
2844 * dlfcn/tststatic4.c: New file.
2845 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2846 (tests-static): Likewise.
2847 (modules-names): Add modstatic3.
2848 (tststatic3-ENV, tststatic4-ENV): New variables.
2849 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2850 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2851
cbe7d24b
JM
28522013-06-26 Joseph Myers <joseph@codesourcery.com>
2853
2854 * configure.in (CC): Require GCC version 4.4 or later.
2855 * configure: Regenerated.
2856 * manual/install.texi (Tools for Compilation): Update GCC version
2857 requirement.
2858 * INSTALL: Regenerated.
2859
11b8a0e1
LD
28602013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2861
2862 [BZ #15674]
bb5bb87c
L
2863 * string/test-memcmp.c (check2): New.
2864 (main): Call check2.
2865
11b8a0e1
LD
2866 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2867
b0037103
MR
28682013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2869
2870 [BZ #15022]
2871 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2872 over to...
2873 (dl_open_worker) [!SHARED]: ... here.
2874
c18c701d
RA
28752013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2876
2877 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2878
1d17fa5f
RH
28792013-06-25 Richard Henderson <rth@redhat.com>
2880
2881 * locale/programs/locarchive.c: Include <libc-internal.h>
2882
8fcb833a
JM
28832013-06-25 Joseph Myers <joseph@codesourcery.com>
2884
2885 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2886 trailing whitespace removed.
2887
17db6e8d
MF
28882013-06-24 Mike Frysinger <vapier@gentoo.org>
2889
2890 [BZ #10283]
17db6e8d
MF
2891 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2892 * locale/programs/locarchive.c: Include libc-mmap.h.
2893 (prepare_address_space): Take two new outputs (the mmap base and len).
2894 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2895 values.
2896 (create_archive): Declare new mmap base and len values for
2897 prepare_address_space, and store the result in ah.
2898 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2899 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2900 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2901 Declare new mmap base and len values for
2902 prepare_address_space, and store the result in new_ah.
2903 (open_archive): Declare new mmap base and len values for
2904 prepare_address_space, and store the result in ah.
2905 (close_archive): If ah->mmap_base is not NULL, use that and
2906 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2907 * sysdeps/generic/libc-mmap.h: New file.
2908
d605071e
MF
29092013-06-24 Mike Frysinger <vapier@gentoo.org>
2910
2911 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2912 (ALIGN_UP): Likewise.
2913 (PTR_ALIGN_DOWN): Likewise.
2914 (PTR_ALIGN_UP): Likewise.
2915
2f063a6e
RA
29162013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2917
2918 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2919 entry mapped to PPC_PLATFORM_POWER8.
2920 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2921 POWER8.
2922 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2923 (_dl_string_platform): Add case for exporting platform position for
2924 POWER8.
2925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2926 search path to sysdeps/powerpc/powerpc32/power8 directory.
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2928 search path to sysdeps/powerpc/powerpc64/power8 directory.
2929 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2930 power7 directories.
2931 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2932 power7 directories.
2933
a31ee4b3
SP
29342013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2935
a74ca98f
SP
2936 * INSTALL: Regenerate.
2937
a31ee4b3
SP
2938 * nscd/connections.c (nscd_init): Fix comment.
2939
695c378f
JM
29402013-06-22 Joseph Myers <joseph@codesourcery.com>
2941
d8412221
JM
2942 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2943
695c378f
JM
2944 [BZ #15667]
2945 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2946 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2947
d1d54715
MR
29482013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2949
2950 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2951 DL_DST_REQ_STATIC.
2952 (DL_DST_REQ_STATIC): Remove macro.
2953
8fdda7af
JM
29542013-06-21 Joseph Myers <joseph@codesourcery.com>
2955
2956 [BZ #7006]
2957 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2958 with a shift of 0 bits.
2959
f3bc5e5a
MR
29602013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2961
2962 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2963 $(tststatic-ENV).
2964
be09e8c9
KK
29652013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2966
2967 [BZ #15655]
2968 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2969
85c2e611
AZ
29702013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2971
2972 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2973 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2974 accepts -fno-tree-loop-distribute-patterns.
2975 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2976 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2977 recursive call.
2978 * string/memset.c (memset): Likewise.
2979 * string/test-memmove.c (simple_memmove): Disable loop transformation
2980 to library calls.
2981 * string/test-memset.c (simple_memset): Likewise.
2982 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2983 * benchtests/bench-memset.c (simple_memset): Likewise.
2984 * configure: Regenerated.
2985
c91e0825
JM
29862013-06-20 Joseph Myers <joseph@codesourcery.com>
2987
b8c792af
JM
2988 * math/test-misc.c (main): Ignore fesetround failure when failures
2989 of subsequent rounding tests would be ignored.
2990
c91e0825
JM
2991 [BZ #15654]
2992 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2993 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2994 * math/fegetenv.c (__fegetenv): Return 0.
2995 * math/fegetexcept.c (fegetexcept): Return 0.
2996 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2997 FE_TONEAREST.
2998 * math/feholdexcpt.c (feholdexcept): Return 0.
2999 * math/fesetenv.c (__fesetenv): Return 0.
3000 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3001 argument FE_TONEAREST.
3002 * math/feupdateenv.c (__feupdateenv): Return 0.
3003 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3004
bfcacbde
RM
30052013-06-18 Roland McGrath <roland@hack.frob.com>
3006
3007 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3008 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3009 ($(objpfx)rtld-%.os rules): Use them.
3010
e55a9b25
AZ
30112013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3012
3013 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3014 fields.
3015
346d65b3
RM
30162013-06-17 Roland McGrath <roland@hack.frob.com>
3017
12086fb4
RM
3018 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3019 length of target pattern, then descending length of dependency pattern.
3020 * configure.in (AWK): Require gawk 3.1.2 or newer.
3021 * manual/install.texi (Tools for Compilation): Say that we do.
3022 * configure: Regenerated.
3023
346d65b3
RM
3024 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3025 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3026 * scripts/sysd-rules.awk: ... this new script.
3027 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3028 than a glob-style pattern.
3029
1a846317
JM
30302013-06-17 Joseph Myers <joseph@codesourcery.com>
3031
3032 * math/test-misc.c (main): Do not treat incorrectly rounded
3033 conversions as failure unless ROUNDING_TESTS passes.
3034
8fc75e6f
JM
30352013-06-15 Joseph Myers <joseph@codesourcery.com>
3036
3711a167
JM
3037 [BZ #15631]
3038 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3039 restore exception state around main square root computation, then
3040 check for inexactness explicitly.
3041
8fc75e6f
JM
3042 * math/libm-test.inc (fma_test_data): Add another test.
3043
61dd6208
SP
30442013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3045
adf23d2c
SP
3046 * manual/threads.texi (Non-POSIX Extensions): New document
3047 node. Document pthread_getattr_default_np and
3048 pthread_setattr_default_np.
3049
61dd6208
SP
3050 * Versions.def (libpthread): Add GLIBC_2.18.
3051 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3053 Likewise.
3054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3055 Likewise.
3056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3057 Likewise.
3058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3059 Likewise.
3060 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3061 Likewise.
3062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3063 Likewise.
3064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3065 Likewise.
3066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3067 Likewise.
3068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3069 Likewise.
3070
d086fc7b
LD
30712013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3072
3073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3074 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3075
747ef469
SP
30762013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3077 H.J. Lu <hjl.tools@gmail.com>
3078
3079 [BZ #15627]
3080 * sysdeps/x86_64/rtld-memset.c: Remove file.
3081 * sysdeps/x86_64/rtld-memset.S: New file.
3082
1b2feed2
JM
30832013-06-14 Joseph Myers <joseph@codesourcery.com>
3084
3085 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3086 (test_in_one_mode): Take arguments for whether the rounding mode
3087 is supported for each floating-point type.
3088 (do_test): Pass new arguments to test_in_one_mode using
3089 ROUNDING_TESTS.
3090
a58ad3f8
RM
30912013-06-13 Roland McGrath <roland@hack.frob.com>
3092
3093 * posix/tst-waitid.c (do_test): Distinguish different instances of
3094 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3095 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3096 before entering the kernel for waitpid.
3097
c204ab28
SP
30982013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3099
3100 * NEWS: Fix note on clock function precision. Text by Roland
3101 McGrath.
3102
f4a29fba
RM
31032013-06-13 Roland McGrath <roland@hack.frob.com>
3104
3105 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3106 it into place only when and if the sanity check passes.
3107
1f24b9ad
JM
31082013-06-13 Joseph Myers <joseph@codesourcery.com>
3109
3110 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3111 output for whether conversion result is exact. Take argument
3112 indicating whether type is IBM long double.
3113 (round_for_all): Change need_exact field to ibm_ld.
3114 * stdlib/tst-strtod-round.c (struct exactness): New type.
3115 (struct test): Change bool ld_ok field to struct exactness exact.
3116 (TEST): Update all definitions for change to field.
3117 (tests): Regenerate array contents.
3118 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3119 field value. Check for IBM long double here.
3120 (do_test): Update calls to test_in_one_mode.
3121
58206c68
SP
31222013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3123
3124 [BZ #12515]
3125 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3126 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3127
2d6f4c5b 31282013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3129
3130 [BZ #15605]
3131 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3132 generated by the compiler on loop optimizations.
3133 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3134 general definitions.
3135
94f2c076
JM
31362013-06-12 Joseph Myers <joseph@codesourcery.com>
3137
3138 * math/bug-nextafter.c: Include <math-tests.h>.
3139 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3140 the relevant type.
3141 * math/bug-nexttoward.c: Include <math-tests.h>.
3142 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3143 the relevant type.
3144 * math/test-misc.c: Include <math-tests.h>.
3145 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3146 the relevant type.
3147
e0e50a0a
AJ
31482013-06-12 Andreas Jaeger <aj@suse.de>
3149
3150 * po/ia.po: Update Interlingua translation from translation
3151 project.
3152
25061094
SP
31532013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3154
3155 * include/fenv.h: Include stdbool.h.
3156 (struct rm_ctx): New structure.
3157 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3158 Define macro.
3159 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3160 (SET_RESTORE_ROUNDF): Likewise.
3161 (SET_RESTORE_ROUNDL): Likewise.
3162 (SET_RESTORE_ROUND_NOEX): Likewise.
3163 (SET_RESTORE_ROUND_NOEXF): Likewise.
3164 (SET_RESTORE_ROUND_NOEXL): Likewise.
3165 (SET_RESTORE_ROUND_53BIT): Likewise.
3166 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3167 (libc_feresetround_noexf_ctx): Likewise.
3168 (libc_feresetround_noexl_ctx): Likewise.
3169 (libc_feholdsetround_53bit_ctx): Likewise.
3170 (libc_feresetround_53bit_ctx): Likewise.
3171 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3172 (libc_feholdexcept_setround_sse_ctx): New function.
3173 (libc_fesetenv_sse_ctx): Likewise.
3174 (libc_feupdateenv_sse_ctx): Likewise.
3175 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3176 (libc_feholdexcept_setround_387_ctx): Likewise.
3177 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3178 (libc_feholdsetround_387_prec_ctx): Likewise.
3179 (libc_feholdsetround_387_ctx): Likewise.
3180 (libc_feholdsetround_387_53bit_ctx): Likewise.
3181 (libc_feholdsetround_sse_ctx): Likewise.
3182 (libc_feresetround_sse_ctx): Likewise.
3183 (libc_feresetround_387_ctx): Likewise.
3184 (libc_feupdateenv_387_ctx): Likewise.
3185 (libc_feholdexcept_setroundf_ctx): Define macro.
3186 (libc_fesetenvf_ctx): Likewise.
3187 (libc_feupdateenvf_ctx): Likewise.
3188 (libc_feholdsetroundf_ctx): Likewise.
3189 (libc_feresetroundf_ctx): Likewise.
3190 (libc_feholdexcept_setround_ctx): Likewise.
3191 (libc_fesetenv_ctx): Likewise.
3192 (libc_feupdateenv_ctx): Likewise.
3193 (libc_feholdsetround_ctx): Likewise.
3194 (libc_feresetround_ctx): Likewise.
3195 (libc_feholdexcept_setroundl_ctx): Likewise.
3196 (libc_feupdateenvl_ctx): Likewise.
3197 (libc_feholdsetroundl_ctx): Likewise.
3198 (libc_feresetroundl_ctx): Likewise.
3199 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3200 (libc_feresetround_53bit_ctx): Likewise.
3201
59b30555
SP
32022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3203
3204 * locale/iso-639.def: Convert to UTF-8.
3205
f1d73d30
JM
32062013-06-11 Joseph Myers <joseph@codesourcery.com>
3207
3208 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3209 (EXCEPTION_TESTS_double): Likewise.
3210 (EXCEPTION_TESTS_long_double): Likewise.
3211 (EXCEPTION_TESTS): Likewise.
3212 * math/libm-test.inc (test_exceptions): Only test exceptions if
3213 EXCEPTION_TESTS (FLOAT).
3214
94aca5e7
SP
32152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3216
3217 * benchtests/Makefile (string-bench): Add strcpy_chk and
3218 stpcpy_chk.
3219 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3220 * benchtests/bench-stpcpy_chk.c: New file.
3221 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3222 * benchtests/bench-strcpy_chk.c: New file.
3223 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3224 code.
3225 (do_test): Likewise.
3226
fac0c5f2
RA
32272013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3228
3229 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3230 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3231 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3232 with tabs where appropriate.
3233 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3234 dl-procinfo.h.
3235 [PPC_PLATFORM_PPC440]: Likewise.
3236 [PPC_PLATFORM_PPC464]: Likewise.
3237 [PPC_PLATFORM_PPC476]: Likewise.
3238 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3239 ppc464, and ppc476 platform strings merging from ports/
3240 dl-procinfo.h.
3241
f22bc486
AS
32422013-06-11 Andreas Schwab <schwab@suse.de>
3243
3244 [BZ #14991]
3245 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3246 (from_ucs4_idx): Regenerate.
3247 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3248 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3249 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3250 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3251 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3252 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3253 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3254 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3255 from FROM_LOOP and TO_LOOP specific macros.
3256 (BODY): Handle combining characters.
3257 * iconvdata/BIG5HKSCS.irreversible: Update.
3258 * iconvdata/BIG5HKSCS.precomposed: New file.
3259 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3260 characters.
3261 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3262
c1f75dc3
SP
32632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3264
4eacded2
SP
3265 * include/sys/time.h: Fix indentation and add copyright header.
3266
fec799f8
SP
3267 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3268 (do_test): Likewise.
3269 * string/test-memchr.c (do_one_test): Likewise.
3270 (do_test): Likewise.
3271 * string/test-memcmp.c (do_one_test): Likewise.
3272 (do_test): Likewise.
3273 * string/test-memcpy.c (do_one_test): Likewise.
3274 (do_test): Likewise.
3275 * string/test-memmem.c (do_one_test): Likewise.
3276 (do_test): Likewise.
3277 (do_random_tests): Likewise.
3278 * string/test-memmove.c (do_one_test): Likewise.
3279 (do_test): Likewise.
3280 * string/test-memset.c (do_one_test): Likewise.
3281 (do_test): Likewise.
3282 * string/test-rawmemchr.c (do_one_test): Likewise.
3283 (do_test): Likewise.
3284 * string/test-strcasecmp.c (do_one_test): Likewise.
3285 (do_test): Likewise.
3286 * string/test-strcasestr.c (do_one_test): Likewise.
3287 (do_test): Likewise.
3288 * string/test-strcat.c (do_one_test): Likewise.
3289 (do_test): Likewise.
3290 * string/test-strchr.c (do_one_test): Likewise.
3291 (do_test): Likewise.
3292 * string/test-strcmp.c (do_one_test): Likewise.
3293 (do_test): Likewise.
3294 * string/test-strcpy.c (do_one_test): Likewise.
3295 (do_test): Likewise.
3296 * string/test-string.h: Likewise.
3297 (test_init): Likewise.
3298 * string/test-strlen.c (do_one_test): Likewise.
3299 (do_test): Likewise.
3300 * string/test-strncasecmp.c (do_one_test): Likewise.
3301 (do_test): Likewise.
3302 * string/test-strncat.c (do_one_test): Likewise.
3303 (do_test): Likewise.
3304 * string/test-strncmp.c (do_one_test): Likewise.
3305 (do_test_limit): Likewise.
3306 (do_test): Likewise.
3307 * string/test-strncpy.c (do_one_test): Likewise.
3308 (do_test): Likewise.
3309 * string/test-strnlen.c (do_one_test): Likewise.
3310 (do_test): Likewise.
3311 * string/test-strpbrk.c (do_one_test): Likewise.
3312 (do_test): Likewise.
3313 * string/test-strrchr.c (do_one_test): Likewise.
3314 (do_test): Likewise.
3315 * string/test-strspn.c (do_one_test): Likewise.
3316 (do_test): Likewise.
3317 * string/test-strstr.c (do_one_test): Likewise.
3318 (do_test): Likewise.
3319
97020474
SP
3320 * benchtests/Makefile (string-bench): Add string benchmarks.
3321 * benchtests/bench-bcopy-ifunc.c: New file.
3322 * benchtests/bench-bcopy.c: New file.
3323 * benchtests/bench-bzero-ifunc.c: New file.
3324 * benchtests/bench-bzero.c: New file.
3325 * benchtests/bench-memccpy-ifunc.c: New file.
3326 * benchtests/bench-memccpy.c: New file.
3327 * benchtests/bench-memchr-ifunc.c: New file.
3328 * benchtests/bench-memchr.c: New file.
3329 * benchtests/bench-memcmp-ifunc.c: New file.
3330 * benchtests/bench-memcmp.c: New file.
3331 * benchtests/bench-memmem-ifunc.c: New file.
3332 * benchtests/bench-memmem.c: New file.
3333 * benchtests/bench-memmove-ifunc.c: New file.
3334 * benchtests/bench-memmove.c: New file.
3335 * benchtests/bench-mempcpy-ifunc.c: New file.
3336 * benchtests/bench-mempcpy.c: New file.
3337 * benchtests/bench-memset-ifunc.c: New file.
3338 * benchtests/bench-memset.c: New file.
3339 * benchtests/bench-rawmemchr-ifunc.c: New file.
3340 * benchtests/bench-rawmemchr.c: New file.
3341 * benchtests/bench-stpcpy-ifunc.c: New file.
3342 * benchtests/bench-stpcpy.c: New file.
3343 * benchtests/bench-stpncpy-ifunc.c: New file.
3344 * benchtests/bench-stpncpy.c: New file.
3345 * benchtests/bench-strcasecmp-ifunc.c: New file.
3346 * benchtests/bench-strcasecmp.c: New file.
3347 * benchtests/bench-strcasestr-ifunc.c: New file.
3348 * benchtests/bench-strcasestr.c: New file.
3349 * benchtests/bench-strcat-ifunc.c: New file.
3350 * benchtests/bench-strcat.c: New file.
3351 * benchtests/bench-strchr-ifunc.c: New file.
3352 * benchtests/bench-strchr.c: New file.
3353 * benchtests/bench-strchrnul-ifunc.c: New file.
3354 * benchtests/bench-strchrnul.c: New file.
3355 * benchtests/bench-strcmp-ifunc.c: New file.
3356 * benchtests/bench-strcmp.c: New file.
3357 * benchtests/bench-strcpy-ifunc.c: New file.
3358 * benchtests/bench-strcpy.c: New file.
3359 * benchtests/bench-strcspn-ifunc.c: New file.
3360 * benchtests/bench-strcspn.c: New file.
3361 * benchtests/bench-strlen-ifunc.c: New file.
3362 * benchtests/bench-strlen.c: New file.
3363 * benchtests/bench-strncasecmp-ifunc.c: New file.
3364 * benchtests/bench-strncasecmp.c: New file.
3365 * benchtests/bench-strncat-ifunc.c: New file.
3366 * benchtests/bench-strncat.c: New file.
3367 * benchtests/bench-strncmp-ifunc.c: New file.
3368 * benchtests/bench-strncmp.c: New file.
3369 * benchtests/bench-strncpy-ifunc.c: New file.
3370 * benchtests/bench-strncpy.c: New file.
3371 * benchtests/bench-strnlen-ifunc.c: New file.
3372 * benchtests/bench-strnlen.c: New file.
3373 * benchtests/bench-strpbrk-ifunc.c: New file.
3374 * benchtests/bench-strpbrk.c: New file.
3375 * benchtests/bench-strrchr-ifunc.c: New file.
3376 * benchtests/bench-strrchr.c: New file.
3377 * benchtests/bench-strspn-ifunc.c: New file.
3378 * benchtests/bench-strspn.c: New file.
3379 * benchtests/bench-strstr-ifunc.c: New file.
3380 * benchtests/bench-strstr.c: New file.
3381
c1f75dc3
SP
3382 * benchtests/Makefile: Disable parallel execution of targets.
3383 (string-bench): Add memcpy.
3384 (benchset): New variable to store a list of benchmark sets.
3385 (bench-func): Renamed from bench.
3386 (bench-set): New target.
3387 (bench): Depend on bench-func and bench-set.
3388 * benchtests/README: Add section on benchmark sets.
3389 * benchtests/bench-memcpy-ifunc.c: New file.
3390 * benchtests/bench-memcpy.c: New file.
3391 * benchtests/bench-string.h: New file.
3392
50fd745b
AS
33932013-06-11 Andreas Schwab <schwab@suse.de>
3394
3395 [BZ #15577]
3396 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3397 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3398 values in the triple.
3399 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3400 terminator in the group key.
3401
3ee7e9fe
AJ
34022013-06-11 Andreas Jaeger <aj@suse.de>
3403
3404 * po/zh_TW.po: Update Chinese (traditional) translation from
3405 translation project.
3406
89fb6835
SP
34072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3408
3409 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3410 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3411 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3413 (clock_getcpuclockid): Likewise.
3414 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3415 Add weak_alias and libc_hidden_def.
3416 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3417 * rt/clock_gettime.c (clock_gettime): Rename to
3418 __clock_gettime. Add weak_alias and libc_hidden_def.
3419 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3420 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3421 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3422 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3423 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3424 Likewise.
3425 * rt/clock_settime.c (clock_settime): Rename to
3426 __clock_settime. Add weak_alias and libc_hidden_def.
3427 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3428
0efa6f8b
JM
34292013-06-10 Joseph Myers <joseph@codesourcery.com>
3430
b8c61b4b
JM
3431 * mach/err_boot.sub: Remove trailing whitespace.
3432 * mach/err_ipc.sub: Likewise.
3433 * mach/err_mach.sub: Likewise.
3434
0efa6f8b
JM
3435 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3436 (ROUNDING_TESTS_double): Likewise.
3437 (ROUNDING_TESTS_long_double): Likewise.
3438 (ROUNDING_TESTS): Likewise.
3439 * math/libm-test.inc: Include <math-tests.h>.
3440 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3441 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3442 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3443 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3444
50b818bf
SP
34452013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3446
3447 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3448 of assigning.
3449
60d2f8f3
JM
34502013-06-08 Joseph Myers <joseph@codesourcery.com>
3451
4902d2c3
JM
3452 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3453 otherwise empty TRANS lines.
3454 * sysdeps/gnu/errlist.c: Regenerated.
3455
60d2f8f3
JM
3456 * catgets/gencat.c (error_print): Use (void) in function
3457 definition.
3458 * crypt/crypt_util.c (__init_des): Likewise.
3459 * crypt/speeds.c (Stop): Likewise.
3460 (main): Likewise.
3461 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3462 * inet/ruserpass.c (token): Likewise.
3463 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3464 * intl/localealias.c (extend_alias_table): Likewise.
3465 * intl/plural-exp.c (init_germanic_plural): Likewise.
3466 * libio/fcloseall.c (__fcloseall): Likewise.
3467 * libio/genops.c (_IO_flush_all): Likewise.
3468 (_IO_flush_all_linebuffered): Likewise.
3469 (_IO_cleanup): Likewise.
3470 (_IO_iter_begin): Likewise.
3471 (_IO_iter_end): Likewise.
3472 (_IO_list_lock): Likewise.
3473 (_IO_list_unlock): Likewise.
3474 (_IO_list_resetlock): Likewise.
3475 * libio/getchar.c (getchar): Likewise.
3476 * libio/getchar_u.c (getchar_unlocked): Likewise.
3477 * libio/getwchar.c (getwchar): Likewise.
3478 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3479 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3480 * login/getpt.c (__getpt): Likewise.
3481 * login/tst-utmp.c (main): Likewise.
3482 * malloc/hooks.c (__malloc_check_init): Likewise.
3483 * malloc/malloc.c (__malloc_stats): Likewise.
3484 * malloc/mtrace.c (tr_break): Likewise.
3485 (mtrace): Likewise.
3486 (muntrace): Likewise.
3487 * misc/fstab.c (endfsent): Likewise.
3488 * misc/getclktck.c (__getclktck): Likewise.
3489 * misc/getdtsz.c (__getdtablesize): Likewise.
3490 * misc/gethostid.c (gethostid): Likewise.
3491 * misc/getpagesize.c (__getpagesize): Likewise.
3492 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3493 (__get_nprocs): Likewise.
3494 (__get_phys_pages): Likewise.
3495 (__get_avphys_pages): Likewise.
3496 * misc/getttyent.c (getttyent): Likewise.
3497 (setttyent): Likewise.
3498 (endttyent): Likewise.
3499 * misc/getusershell.c (getusershell): Likewise.
3500 (endusershell): Likewise.
3501 (setusershell): Likewise.
3502 (initshells): Likewise.
3503 * misc/hsearch.c (__hdestroy): Likewise.
3504 * misc/sync.c (sync): Likewise.
3505 * misc/syslog.c (closelog_internal): Likewise.
3506 (closelog): Likewise.
3507 * misc/ttyslot.c (ttyslot): Likewise.
3508 * misc/vhangup.c (vhangup): Likewise.
3509 * posix/fork.c (__fork): Likewise.
3510 * posix/getegid.c (__getegid): Likewise.
3511 * posix/geteuid.c (__geteuid): Likewise.
3512 * posix/getgid.c (__getgid): Likewise.
3513 * posix/getpid.c (__getpid): Likewise.
3514 * posix/getppid.c (__getppid): Likewise.
3515 * posix/getuid.c (__getuid): Likewise.
3516 * posix/pause.c (pause): Likewise.
3517 * posix/setpgrp.c (setpgrp): Likewise.
3518 * posix/setsid.c (__setsid): Likewise.
3519 * posix/test-vfork.c (noop): Likewise.
3520 * resolv/gethnamaddr.c (_endhtent): Likewise.
3521 (_gethtent): Likewise.
3522 (ht_endhostent): Likewise.
3523 (gethostent): Likewise.
3524 (dns_service): Likewise.
3525 * stdlib/drand48.c (drand48): Likewise.
3526 * stdlib/lrand48.c (lrand48): Likewise.
3527 * stdlib/mrand48.c (mrand48): Likewise.
3528 * stdlib/rand.c (rand): Likewise.
3529 * stdlib/random.c (__random): Likewise.
3530 * stdlib/setenv.c (clearenv): Likewise.
3531 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3532 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3533 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3534 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3535 (__get_nprocs): Likewise.
3536 (__get_phys_pages): Likewise.
3537 (__get_avphys_pages): Likewise.
3538 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3539 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3540 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3541 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3542 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3543 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3544 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3545 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3546 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3547 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3548 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3549 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3550 * sysdeps/posix/clock.c (clock): Likewise.
3551 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3552 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3553 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3554 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3555 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3556 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3557 (__get_nprocs_conf): Likewise.
3558 (__get_phys_pages): Likewise.
3559 (__get_avphys_pages): Likewise.
3560 * time/clock.c (clock): Likewise.
3561 * time/tzset.c (__tzname_max): Likewise.
3562
2e09a79a
JM
35632013-06-07 Joseph Myers <joseph@codesourcery.com>
3564
3565 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3566 (__bswap_32): Do not use "register".
3567 * crypt/crypt.c (_ufc_doit_r): Likewise.
3568 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3569 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3570 * gmon/gmon.c (__monstartup): Likewise.
3571 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3572 * hurd/hurdmalloc.c (more_memory): Likewise.
3573 (malloc): Likewise.
3574 (free): Likewise.
3575 (realloc): Likewise.
3576 (malloc_fork_prepare): Likewise.
3577 (malloc_fork_parent): Likewise.
3578 (malloc_fork_child): Likewise.
3579 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3580 (_svcauth_des): Likewise.
3581 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3582 * inet/inet_net.c (inet_network): Likewise.
3583 * inet/inet_netof.c (inet_netof): Likewise.
3584 * inet/rcmd.c (__validuser2_sa): Likewise.
3585 * io/fts.c (fts_open): Likewise.
3586 (fts_load): Likewise.
3587 (fts_close): Likewise.
3588 (fts_read): Likewise.
3589 (fts_children): Likewise.
3590 (fts_build): Likewise.
3591 (fts_stat): Likewise.
3592 (fts_sort): Likewise.
3593 (fts_alloc): Likewise.
3594 (fts_lfree): Likewise.
3595 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3596 (_IO_file_xsgetn): Likewise.
3597 (_IO_file_xsgetn_mmap): Likewise.
3598 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3599 (_IO_cookie_write): Likewise.
3600 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3601 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3602 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3603 * malloc/obstack.c (_obstack_begin): Likewise.
3604 (_obstack_begin_1): Likewise.
3605 (_obstack_newchunk): Likewise.
3606 (_obstack_allocated_p): Likewise.
3607 (obstack_free): Likewise.
3608 (_obstack_memory_used): Likewise.
3609 * misc/getttyent.c (getttynam): Likewise.
3610 (getttyent): Likewise.
3611 (skip): Likewise.
3612 (value): Likewise.
3613 * misc/getusershell.c (initshells): Likewise.
3614 * misc/syslog.c (__vsyslog_chk): Likewise.
3615 * misc/ttyslot.c (ttyslot): Likewise.
3616 * nis/nis_hash.c (__nis_hash): Likewise.
3617 * posix/fnmatch_loop.c (FCT): Likewise.
3618 * posix/getconf.c (print_all): Likewise.
3619 (main): Likewise.
3620 * posix/getopt.c (exchange): Likewise.
3621 * posix/glob.c (globfree): Likewise.
3622 (prefix_array): Likewise.
3623 (__glob_pattern_type): Likewise.
3624 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3625 (NS_GET32): Likewise.
3626 (NS_PUT16): Likewise.
3627 (NS_PUT32): Likewise.
3628 * resolv/gethnamaddr.c (getanswer): Likewise.
3629 (gethostbyname2): Likewise.
3630 (gethostbyaddr): Likewise.
3631 (_gethtent): Likewise.
3632 (_gethtbyname2): Likewise.
3633 (_gethtbyaddr): Likewise.
3634 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3635 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3636 * resolv/res_init.c (__res_vinit): Likewise.
3637 (net_mask): Likewise.
3638 * resolv/res_mkquery.c (outchar): Likewise.
3639 (PRINT): Likewise.
3640 * stdio-common/printf_fp.c (outchar): Likewise.
3641 (PRINT): Likewise.
3642 * stdio-common/printf_fphex.c (outchar): Likewise.
3643 (PRINT): Likewise.
3644 * stdio-common/printf_size.c (outchar): Likewise.
3645 (PRINT): Likewise.
3646 * stdio-common/test_rdwr.c (main): Likewise.
3647 * stdio-common/tfformat.c (matches): Likewise.
3648 * stdio-common/vfprintf.c (outchar): Likewise.
3649 (printf_unknown): Likewise.
3650 (buffered_vfprintf): Likewise.
3651 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3652 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3653 (ReadFile): Likewise.
3654 * stdlib/qsort.c (SWAP): Likewise.
3655 (_quicksort): Likewise.
3656 * stdlib/setenv.c (__add_to_environ): Likewise.
3657 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3658 * stdlib/strtol_l.c (__strtol_l): Likewise.
3659 * stdlib/tst-strtod.c (main): Likewise.
3660 * stdlib/tst-strtol.c (main): Likewise.
3661 * stdlib/tst-strtoll.c (main): Likewise.
3662 * string/bits/string2.h (__strcmp_cc): Likewise.
3663 (__strcmp_cg): Likewise.
3664 (__strcspn_c1): Likewise.
3665 (__strcspn_c2): Likewise.
3666 (__strcspn_c3): Likewise.
3667 (__strspn_c1): Likewise.
3668 (__strspn_c2): Likewise.
3669 (__strspn_c3): Likewise.
3670 (__strsep_1c): Likewise.
3671 (__strsep_2c): Likewise.
3672 (__strsep_3c): Likewise.
3673 * string/memccpy.c (__memccpy): Likewise.
3674 * string/stpcpy.c (__stpcpy): Likewise.
3675 * string/strcmp.c (strcmp): Likewise.
3676 * string/strrchr.c (strrchr): Likewise.
3677 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3678 Likewise.
3679 * sysdeps/mach/hurd/getcwd.c
3680 (_hurd_canonicalize_directory_name_internal): Likewise.
3681 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3682 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3683 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3684 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3685 Likewise, in both definitions.
3686 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3687 definitions.
3688 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3689 64] (__bswap_64): Likewise.
3690 * time/test_time.c (main): Likewise.
3691 * time/tzfile.c (__tzfile_read): Likewise.
3692 (__tzfile_compute): Likewise.
3693 * time/tzset.c (__tzset_parse_tz): Likewise.
3694 (tzset_internal): Likewise.
3695 (compute_change): Likewise.
3696 * wcsmbs/wcscat.c (__wcscat): Likewise.
3697 * wcsmbs/wcschr.c (wcschr): Likewise.
3698 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3699 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3700 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3701 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3702 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3703 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3704 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3705 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3706 * wcsmbs/wmemset.c (wmemset): Likewise.
3707
9e54314b
JM
37082013-06-06 Joseph Myers <joseph@codesourcery.com>
3709
3710 * scripts/config.guess: Update to version 2013-05-16.
3711 * scripts/config.sub: Update to version 2013-04-24.
3712 * scripts/install-sh: Update to version 2011-11-20.07.
3713 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3714 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3715
350635a5
OB
37162013-06-06 Ondřej Bílka <neleai@seznam.cz>
3717
3718 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3719 * elf/sln.c: Likewise.
3720 * hurd/hurd/ioctl.h: Likewise.
3721 * hurd/hurdmalloc.c: Likewise.
3722 * hurd/xattr.c: Likewise.
3723 * include/shlib-compat.h: Likewise.
3724 * inet/ruserpass.c: Likewise.
3725 * libio/iofgets_u.c: Likewise.
3726 * libio/iofgetws_u.c: Likewise.
3727 * locale/programs/ld-identification.c: Likewise.
3728 * locale/programs/ld-time.c: Likewise.
3729 * mach/msg-destroy.c: Likewise.
3730 * nss/nss_files/files-netgrp.c: Likewise.
3731 * resolv/res_data.c: Likewise.
3732 * soft-fp/op-1.h: Likewise.
3733 * soft-fp/op-2.h: Likewise.
3734 * soft-fp/op-4.h: Likewise.
3735 * soft-fp/op-common.h: Likewise.
3736 * stdio-common/printf_fphex.c: Likewise.
3737 * stdlib/strtod_l.c: Likewise.
3738 * sunrpc/rpc/clnt.h: Likewise.
3739 * sysdeps/generic/framestate.c: Likewise.
3740 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3741 * sysdeps/i386/bsd-setjmp.S: Likewise.
3742 * sysdeps/i386/__longjmp.S: Likewise.
3743 * sysdeps/i386/setjmp.S: Likewise.
3744 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3745 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3746 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3751 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3762 * sysdeps/ieee754/support.c: Likewise.
3763 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3764 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3765 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3766 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3767 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3768 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3769 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3770 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3771 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3772 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3773 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3774 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3775 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3776 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3777 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3778 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3779 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3781
44a988af
OB
37822013-06-05 Ondřej Bílka <neleai@seznam.cz>
3783
25506f09 3784 * posix/transbug.c: Remove executable mode.
44a988af 3785
9c84384c
JM
37862013-06-05 Joseph Myers <joseph@codesourcery.com>
3787
3788 * crypt/speeds.c: Remove trailing whitespace.
3789 * dlfcn/default.c: Likewise.
3790 * elf/ifuncdep2.c: Likewise.
3791 * elf/ifuncmain1.c: Likewise.
3792 * elf/ifuncmain1vis.c: Likewise.
3793 * elf/testobj.h: Likewise.
3794 * elf/tst-stackguard1.c: Likewise.
3795 * gmon/sys/gmon.h: Likewise.
3796 * hurd/hurdmsg.c: Likewise.
3797 * hurd/new-fd.c: Likewise.
3798 * hurd/ports-get.c: Likewise.
3799 * iconvdata/ibm1008_420.c: Likewise.
3800 * inet/tst-getni1.c: Likewise.
3801 * inet/tst-getni2.c: Likewise.
3802 * libio/ioungetc.c: Likewise.
3803 * libio/wfiledoalloc.c: Likewise.
3804 * manual/libm-err-tab.pl: Likewise.
3805 * math/w_dremf.c: Likewise.
3806 * misc/ftruncate.c: Likewise.
3807 * posix/bug-glob2.c: Likewise.
3808 * posix/tst-pcre.c: Likewise.
3809 * posix/wait4.c: Likewise.
3810 * resolv/README: Likewise.
3811 * resolv/res_debug.h: Likewise.
3812 * resolv/tst-inet_ntop.c: Likewise.
3813 * setjmp/bug269-setjmp.c: Likewise.
3814 * soft-fp/extended.h: Likewise.
3815 * soft-fp/op-1.h: Likewise.
3816 * soft-fp/op-2.h: Likewise.
3817 * soft-fp/op-4.h: Likewise.
3818 * soft-fp/op-8.h: Likewise.
3819 * soft-fp/testit.c: Likewise.
3820 * stdio-common/bug16.c: Likewise.
3821 * stdlib/random.c: Likewise.
3822 * sunrpc/rpcsvc/rquota.x: Likewise.
3823 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3824 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3825 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3826 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3827 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3828 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3829 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3830 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3831 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3832 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3833 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3850 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3852 * sysdeps/ieee754/s_lib_version.c: Likewise.
3853 * sysdeps/mach/hurd/check_fds.c: Likewise.
3854 * sysdeps/mach/hurd/getsockname.c: Likewise.
3855 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3856 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3857 * sysdeps/powerpc/bits/link.h: Likewise.
3858 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3859 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3860 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3861 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3862 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3863 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3864 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3865 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3866 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3867 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3868 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3869 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3870 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3871 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3872 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3873 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3874 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3875 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3876 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3877 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3878 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3879 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3880 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3881 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3882 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3883 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3884 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3885 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3886 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3887 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3888 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3889 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3890 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3892 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3893 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3894 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3895 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3896 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3897 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3898 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3899 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3900 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3901 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3902 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3903 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3904 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3905 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3906 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3907 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3910 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3911 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3913 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3916 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3917 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3922 * sysdeps/powerpc/sysdep.h: Likewise.
3923 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3924 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3925 * sysdeps/sh/dl-trampoline.S: Likewise.
3926 * sysdeps/sh/memset.S: Likewise.
3927 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3928 * sysdeps/sh/strlen.S: Likewise.
3929 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3930 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3931 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3932 * sysdeps/sparc/sparc32/rem.S: Likewise.
3933 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3934 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3935 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3936 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3937 * sysdeps/sparc/sparc32/urem.S: Likewise.
3938 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3939 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3940 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3941 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3942 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3943 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3944 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3945 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3946 * sysdeps/unix/bsd/times.c: Likewise.
3947 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3948 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3954 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3956 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3957 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3958 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3959 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3960 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3961 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3962 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3963 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3964 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3965 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3966 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3967 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3968 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3969 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3970 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3971 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3972 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3974 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3975 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3976 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3977 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3978 * sysdeps/x86_64/strcspn.S: Likewise.
3979
869378a5
RA
39802013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3981
3982 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3983 generated file. Regenerate properly from gen-translit.pl.
3984 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3985 locale/C-translit.h.
3986
840e2943
AS
39872013-06-05 Andreas Schwab <schwab@suse.de>
3988
3989 [BZ #15100]
3990 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3991 week as 6 instead of -1.
3992 * time/tst-strptime.c (day_tests): Add test case.
3993
4c60cb0c
SP
39942013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3995
3996 * sysdeps/generic/math_private.h
3997 (libc_feholdexcept_setround_53bit): Replace with
3998 libc_feholdsetround_53bit.
3999 (libc_feupdateenv_53bit): Replace with
4000 libc_feresetround_53bit.
4001 (SET_RESTORE_ROUND_53BIT): Adjust.
4002
d180203e
SP
40032013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4004
96df079a
SP
4005 * string/test-strchrnul.c: Add copyright header.
4006
d180203e
SP
4007 * posix/tst-getaddrinfo4.c: Increase test timeout.
4008
8b0ccb2d
CD
40092013-06-03 Carlos O'Donell <carlos@redhat.com>
4010
4011 [BZ #15536]
4012 * math/libm-test.inc (MAX_EXP): Remove
4013 (MIN_EXP): Define.
4014 (ulp): Use MIN_EXP - MANT_DIG.
4015 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4016
3b3c4d40
CD
40172013-05-31 Carlos O'Donell <carlos@redhat.com>
4018
4019 * po/be.po: Revert last change.
4020 * po/zh_CN.po: Likewise.
4021 * po/header.pot: Likewise.
4022
fab7ce3f
JM
40232013-05-31 Joseph Myers <joseph@codesourcery.com>
4024
4025 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4026 link-libc-deps to empty as target-specific variable.
4027 * Makerules (link-libc-args): New variable.
4028 (libc-for-link): Likewise.
4029 (link-libc-deps): Likewise.
4030 (lib%.so): Depend on $(link-libc-deps). Link with
4031 $(link-libc-args).
4032 (build-module): Link with $(link-libc-args).
4033 (build-module-asneeded): Likewise.
4034 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4035 list of objects.
4036 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4037 target-specific variable.
4038 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4039 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4040 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4041 libc.
4042 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4043 libc and ld.so.
4044 ($(objpfx)libpcprofile.so): Likewise.
4045 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4046 libc_nonshared.a.
4047 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4048 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4049 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4050 $(link-libc-deps).
4051 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4052 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4053 * login/Makefile ($(objpfx)libutil.so): Likewise.
4054 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4055 * math/Makefile ($(objpfx)libm.so): Likewise.
4056 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4057 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4058 variable instead of depending directly on libc.
4059 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4060 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4061 $(link-libc-deps).
4062 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4063 libc.
4064 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4065 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4066 ($(objpfx)libanl.so): Likewise.
4067 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4068 ld.so.
4069 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4070 $(link-libc-deps).
4071 * sysdeps/i386/fpu/Makefile: Remove file.
4072 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4073 ($(objpfx)libm.so): Remove dependency on ld.so.
4074
eca5920c
PF
40752013-05-30 Patsy Franklin <pfrankli@redhat.com>
4076
4077 [BZ # 15553]
4078 * nis/yp_xdr.c (XDRMAXNAME): Define.
4079 (XDRMAXRECORD): Define.
4080 (xdr_domainname): Use XDRMAXNAME.
4081 (xdr_mapname): Likewise.
4082 (xdr_peername): Likewise.
4083 (xdr_keydat): Use XDRMAXRECORD.
4084 (xdr_valdat): Likewise.
4085
40862013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4087
4088 [BZ #14256]
4089 * manual/errno.texi (ESTALE): Update to account for more than
4090 just NFS file systems.
4091 * sysdeps/gnu/errlist.c: Regenerated.
4092
b9375348
SP
40932013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4094
4095 [BZ #15465]
4096 * elf/Makefile (tests): Add tst-null-argv.
4097 (modules-names): Add tst-null-argv-lib.
4098 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4099 (tst-null-argv-ENV): Set environment for tst-null-argv.
4100 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4101 (RTLD_PROGNAME): New macro.
4102 * elf/tst-null-argv.c: New test case.
4103 * elf/tst-null-argv-lib.c: Library for test case.
4104 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4105 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4106 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4107 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4108 * elf/dl-init.c (call_init): Likewise.
4109 (_dl_init): Likewise.
4110 * elf/dl-load.c (print_search_path): Likewise.
4111 (_dl_map_object): Likewise.
4112 * elf/dl-lookup.c (do_lookup_x): Likewise.
4113 (add_dependency): Likewise.
4114 (_dl_lookup_symbol_x): Likewise.
4115 (_dl_debug_bindings): Likewise.
4116 * elf/dl-open.c (_dl_show_scope): Likewise.
4117 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4118 * elf/dl-version.c (match_symbol): Likewise.
4119 (_dl_check_map_versions): Likewise.
4120 * elf/rtld.c (dl_main): Likewise.
4121 (print_unresolved): Use RTLD_PROGNAME.
4122 (print_missing_version): Likewise.
4123 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4124 (elf_machine_rela): Likewise.
4125 * sysdeps/powerpc/powerpc32/dl-machine.c
4126 (__process_machine_rela): Likewise.
4127 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4128 Likewise.
4129 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4130 Likewise.
4131 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4132 Likewise.
4133 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4135 Likewise.
4136 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4137 Likewise.
4138 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4139
8a9f20c8
CD
41402013-05-28 Carlos O'Donell <carlos@redhat.com>
4141
4142 * po/be.po: Add descriptive title.
4143 * po/zh_CN.po: Likewise.
4144 * po/header.pot: Likewise.
4145
0e60d68e
MF
41462013-05-28 Mike Frysinger <vapier@gentoo.org>
4147
4148 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4149 error message.
4150 (enlarge_archive): Likewise.
4151
56b672e9
BN
41522013-05-28 Ben North <ben@redfrontdoor.org>
4153
4154 * manual/arith.texi (frexp): It is the magnitude of the return
4155 value which lies in [0.5, 1), not the return value itself.
4156
5e056687
AZ
41572013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4158
4159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4160
2b66ef5d
TS
41612013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4162
528c2405
TS
4163 * stdio-common/bug26.c (main): Correct fscanf template.
4164
07b4c13d
TS
4165 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4166 declare _dl_skip_args.
4167
ec9dd97c
TS
4168 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4169 Don't declare.
4170
2b66ef5d
TS
4171 * manual/platform.texi: Add missing @end deftypefun.
4172
4f8dfe27
JM
41732013-05-24 Joseph Myers <joseph@codesourcery.com>
4174
0323d086
JM
4175 [BZ #15529]
4176 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4177 bit of mantissa of 2^16382.
4178 * math/libm-test.inc (hypot_test_data): Add more tests.
4179
dd4259b9
JM
4180 * math/libm-test.inc: Add drem and pow10 to list of tested
4181 functions.
4182 (pow10_test): New function.
4183 (drem_test): Likewise.
4184 (drem_test_tonearest): Likewise.
4185 (drem_test_towardzero): Likewise.
4186 (drem_test_downward): Likewise.
4187 (drem_test_upward): Likewise.
4188 (main): Call the new functions.
4189
4f8dfe27
JM
4190 * math/libm-test.inc (finite_test_data): Remove.
4191 (finite_test): Run tests from isfinite_test_data.
4192 (gamma_test_data): Remove.
4193 (gamma_test): Run tests from lgamma_test_data.
4194 * sysdeps/i386/fpu/libm-test-ulps: Update.
4195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4196
d116b7c4
AZ
41972013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4198
4199 * manual/platform.texi: Add PowerPC PPR function set documentation.
4200 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4201 implementation.
4202
e96e3767
CD
42032013-05-24 Carlos O'Donell <carlos@redhat.com>
4204
4205 * math/libm-test.inc (MAX_EXP): Define.
4206 (ULPDIFF): Define.
4207 (ulp): New function.
4208 (check_float_internal): Use ULPDIFF.
4209 (cpow_test): Disable failing test.
4210 (check_ulp): Test ulp() implemetnation.
4211 (main): Call check_ulp before starting tests.
4212
b679a606
JM
42132013-05-24 Joseph Myers <joseph@codesourcery.com>
4214
e8bdba36
JM
4215 * math/gen-libm-test.pl (generate_testfile): Do not handle
4216 START_DATA and END_DATA.
4217 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4218 END_DATA.
4219 (acos_tonearest_test_data): Likewise.
4220 (acos_towardzero_test_data): Likewise.
4221 (acos_downward_test_data): Likewise.
4222 (acos_upward_test_data): Likewise.
4223 (acosh_test_data): Likewise.
4224 (asin_test_data): Likewise.
4225 (asin_tonearest_test_data): Likewise.
4226 (asin_towardzero_test_data): Likewise.
4227 (asin_downward_test_data): Likewise.
4228 (asin_upward_test_data): Likewise.
4229 (asinh_test_data): Likewise.
4230 (atan_test_data): Likewise.
4231 (atanh_test_data): Likewise.
4232 (atan2_test_data): Likewise.
4233 (cabs_test_data): Likewise.
4234 (cacos_test_data): Likewise.
4235 (cacosh_test_data): Likewise.
4236 (carg_test_data): Likewise.
4237 (casin_test_data): Likewise.
4238 (casinh_test_data): Likewise.
4239 (catan_test_data): Likewise.
4240 (catanh_test_data): Likewise.
4241 (cbrt_test_data): Likewise.
4242 (ccos_test_data): Likewise.
4243 (ccosh_test_data): Likewise.
4244 (ceil_test_data): Likewise.
4245 (cexp_test_data): Likewise.
4246 (cimag_test_data): Likewise.
4247 (clog_test_data): Likewise.
4248 (clog10_test_data): Likewise.
4249 (conj_test_data): Likewise.
4250 (copysign_test_data): Likewise.
4251 (cos_test_data): Likewise.
4252 (cos_tonearest_test_data): Likewise.
4253 (cos_towardzero_test_data): Likewise.
4254 (cos_downward_test_data): Likewise.
4255 (cos_upward_test_data): Likewise.
4256 (cosh_test_data): Likewise.
4257 (cosh_tonearest_test_data): Likewise.
4258 (cosh_towardzero_test_data): Likewise.
4259 (cosh_downward_test_data): Likewise.
4260 (cosh_upward_test_data): Likewise.
4261 (cpow_test_data): Likewise.
4262 (cproj_test_data): Likewise.
4263 (creal_test_data): Likewise.
4264 (csin_test_data): Likewise.
4265 (csinh_test_data): Likewise.
4266 (csqrt_test_data): Likewise.
4267 (ctan_test_data): Likewise.
4268 (ctan_tonearest_test_data): Likewise.
4269 (ctan_towardzero_test_data): Likewise.
4270 (ctan_downward_test_data): Likewise.
4271 (ctan_upward_test_data): Likewise.
4272 (ctanh_test_data): Likewise.
4273 (ctanh_tonearest_test_data): Likewise.
4274 (ctanh_towardzero_test_data): Likewise.
4275 (ctanh_downward_test_data): Likewise.
4276 (ctanh_upward_test_data): Likewise.
4277 (erf_test_data): Likewise.
4278 (erfc_test_data): Likewise.
4279 (exp_test_data): Likewise.
4280 (exp_tonearest_test_data): Likewise.
4281 (exp_towardzero_test_data): Likewise.
4282 (exp_downward_test_data): Likewise.
4283 (exp_upward_test_data): Likewise.
4284 (exp10_test_data): Likewise.
4285 (exp2_test_data): Likewise.
4286 (expm1_test_data): Likewise.
4287 (fabs_test_data): Likewise.
4288 (fdim_test_data): Likewise.
4289 (finite_test_data): Likewise.
4290 (floor_test_data): Likewise.
4291 (fma_test_data): Likewise.
4292 (fma_towardzero_test_data): Likewise.
4293 (fma_downward_test_data): Likewise.
4294 (fma_upward_test_data): Likewise.
4295 (fmax_test_data): Likewise.
4296 (fmin_test_data): Likewise.
4297 (fmod_test_data): Likewise.
4298 (fpclassify_test_data): Likewise.
4299 (frexp_test_data): Likewise.
4300 (gamma_test_data): Likewise.
4301 (hypot_test_data): Likewise.
4302 (ilogb_test_data): Likewise.
4303 (isfinite_test_data): Likewise.
4304 (isgreater_test_data): Likewise.
4305 (isgreaterequal_test_data): Likewise.
4306 (isinf_test_data): Likewise.
4307 (isless_test_data): Likewise.
4308 (islessequal_test_data): Likewise.
4309 (islessgreater_test_data): Likewise.
4310 (isnan_test_data): Likewise.
4311 (isnormal_test_data): Likewise.
4312 (issignaling_test_data): Likewise.
4313 (isunordered_test_data): Likewise.
4314 (j0_test_data): Likewise.
4315 (j1_test_data): Likewise.
4316 (jn_test_data): Likewise.
4317 (ldexp_test_data): Likewise.
4318 (lgamma_test_data): Likewise.
4319 (lrint_test_data): Likewise.
4320 (lrint_tonearest_test_data): Likewise.
4321 (lrint_towardzero_test_data): Likewise.
4322 (lrint_downward_test_data): Likewise.
4323 (lrint_upward_test_data): Likewise.
4324 (llrint_test_data): Likewise.
4325 (llrint_tonearest_test_data): Likewise.
4326 (llrint_towardzero_test_data): Likewise.
4327 (llrint_downward_test_data): Likewise.
4328 (llrint_upward_test_data): Likewise.
4329 (log_test_data): Likewise.
4330 (log10_test_data): Likewise.
4331 (log1p_test_data): Likewise.
4332 (log2_test_data): Likewise.
4333 (logb_test_data): Likewise.
4334 (logb_downward_test_data): Likewise.
4335 (lround_test_data): Likewise.
4336 (llround_test_data): Likewise.
4337 (modf_test_data): Likewise.
4338 (nearbyint_test_data): Likewise.
4339 (nextafter_test_data): Likewise.
4340 (nexttoward_test_data): Likewise.
4341 (pow_test_data): Likewise.
4342 (pow_tonearest_test_data): Likewise.
4343 (pow_towardzero_test_data): Likewise.
4344 (pow_downward_test_data): Likewise.
4345 (pow_upward_test_data): Likewise.
4346 (remainder_test_data): Likewise.
4347 (remainder_tonearest_test_data): Likewise.
4348 (remainder_towardzero_test_data): Likewise.
4349 (remainder_downward_test_data): Likewise.
4350 (remainder_upward_test_data): Likewise.
4351 (remquo_test_data): Likewise.
4352 (rint_test_data): Likewise.
4353 (rint_tonearest_test_data): Likewise.
4354 (rint_towardzero_test_data): Likewise.
4355 (rint_downward_test_data): Likewise.
4356 (rint_upward_test_data): Likewise.
4357 (round_test_data): Likewise.
4358 (scalb_test_data): Likewise.
4359 (scalbn_test_data): Likewise.
4360 (scalbln_test_data): Likewise.
4361 (signbit_test_data): Likewise.
4362 (sin_test_data): Likewise.
4363 (sin_tonearest_test_data): Likewise.
4364 (sin_towardzero_test_data): Likewise.
4365 (sin_downward_test_data): Likewise.
4366 (sin_upward_test_data): Likewise.
4367 (sincos_test_data): Likewise.
4368 (sinh_test_data): Likewise.
4369 (sinh_tonearest_test_data): Likewise.
4370 (sinh_towardzero_test_data): Likewise.
4371 (sinh_downward_test_data): Likewise.
4372 (sinh_upward_test_data): Likewise.
4373 (sqrt_test_data): Likewise.
4374 (tan_test_data): Likewise.
4375 (tan_tonearest_test_data): Likewise.
4376 (tan_towardzero_test_data): Likewise.
4377 (tan_downward_test_data): Likewise.
4378 (tan_upward_test_data): Likewise.
4379 (tanh_test_data): Likewise.
4380 (tgamma_test_data): Likewise.
4381 (trunc_test_data): Likewise.
4382 (y0_test_data): Likewise.
4383 (y1_test_data): Likewise.
4384 (yn_test_data): Likewise.
4385 (significand_test_data): Likewise.
4386
b679a606
JM
4387 * math/gen-libm-test.pl (@functions): Remove variable.
4388 (generate_testfile): Don't handle START and END lines.
4389 * math/libm-test.inc (START): New macro.
4390 (END): Likewise.
4391 (END_COMPLEX): Likewise.
4392 (acos_test): Use END macro without arguments.
4393 (acos_test_tonearest): Likewise.
4394 (acos_test_towardzero): Likewise.
4395 (acos_test_downward): Likewise.
4396 (acos_test_upward): Likewise.
4397 (acosh_test): Likewise.
4398 (asin_test): Likewise.
4399 (asin_test_tonearest): Likewise.
4400 (asin_test_towardzero): Likewise.
4401 (asin_test_downward): Likewise.
4402 (asin_test_upward): Likewise.
4403 (asinh_test): Likewise.
4404 (atan_test): Likewise.
4405 (atanh_test): Likewise.
4406 (atan2_test): Likewise.
4407 (cabs_test): Likewise.
4408 (cacos_test): Use END_COMPLEX macro without arguments.
4409 (cacosh_test): Likewise.
4410 (carg_test): Use END macro without arguments.
4411 (casin_test): Use END_COMPLEX macro without arguments.
4412 (casinh_test): Likewise.
4413 (catan_test): Likewise.
4414 (catanh_test): Likewise.
4415 (cbrt_test): Use END macro without arguments.
4416 (ccos_test): Use END_COMPLEX macro without arguments.
4417 (ccosh_test): Likewise.
4418 (ceil_test): Use END macro without arguments.
4419 (cexp_test): Use END_COMPLEX macro without arguments.
4420 (cimag_test): Use END macro without arguments.
4421 (clog_test): Use END_COMPLEX macro without arguments.
4422 (clog10_test): Likewise.
4423 (conj_test): Likewise.
4424 (copysign_test): Use END macro without arguments.
4425 (cos_test): Likewise.
4426 (cos_test_tonearest): Likewise.
4427 (cos_test_towardzero): Likewise.
4428 (cos_test_downward): Likewise.
4429 (cos_test_upward): Likewise.
4430 (cosh_test): Likewise.
4431 (cosh_test_tonearest): Likewise.
4432 (cosh_test_towardzero): Likewise.
4433 (cosh_test_downward): Likewise.
4434 (cosh_test_upward): Likewise.
4435 (cpow_test): Use END_COMPLEX macro without arguments.
4436 (cproj_test): Likewise.
4437 (creal_test): Use END macro without arguments.
4438 (csin_test): Use END_COMPLEX macro without arguments.
4439 (csinh_test): Likewise.
4440 (csqrt_test): Likewise.
4441 (ctan_test): Likewise.
4442 (ctan_test_tonearest): Likewise.
4443 (ctan_test_towardzero): Likewise.
4444 (ctan_test_downward): Likewise.
4445 (ctan_test_upward): Likewise.
4446 (ctanh_test): Likewise.
4447 (ctanh_test_tonearest): Likewise.
4448 (ctanh_test_towardzero): Likewise.
4449 (ctanh_test_downward): Likewise.
4450 (ctanh_test_upward): Likewise.
4451 (erf_test): Use END macro without arguments.
4452 (erfc_test): Likewise.
4453 (exp_test): Likewise.
4454 (exp_test_tonearest): Likewise.
4455 (exp_test_towardzero): Likewise.
4456 (exp_test_downward): Likewise.
4457 (exp_test_upward): Likewise.
4458 (exp10_test): Likewise.
4459 (exp2_test): Likewise.
4460 (expm1_test): Likewise.
4461 (fabs_test): Likewise.
4462 (fdim_test): Likewise.
4463 (finite_test): Likewise.
4464 (floor_test): Likewise.
4465 (fma_test): Likewise.
4466 (fma_test_towardzero): Likewise.
4467 (fma_test_downward): Likewise.
4468 (fma_test_upward): Likewise.
4469 (fmax_test): Likewise.
4470 (fmin_test): Likewise.
4471 (fmod_test): Likewise.
4472 (fpclassify_test): Likewise.
4473 (frexp_test): Likewise.
4474 (gamma_test): Likewise.
4475 (hypot_test): Likewise.
4476 (ilogb_test): Likewise.
4477 (isfinite_test): Likewise.
4478 (isgreater_test): Likewise.
4479 (isgreaterequal_test): Likewise.
4480 (isinf_test): Likewise.
4481 (isless_test): Likewise.
4482 (islessequal_test): Likewise.
4483 (islessgreater_test): Likewise.
4484 (isnan_test): Likewise.
4485 (isnormal_test): Likewise.
4486 (issignaling_test): Likewise.
4487 (isunordered_test): Likewise.
4488 (j0_test): Likewise.
4489 (j1_test): Likewise.
4490 (jn_test): Likewise.
4491 (ldexp_test): Likewise.
4492 (lgamma_test): Likewise.
4493 (lrint_test): Likewise.
4494 (lrint_test_tonearest): Likewise.
4495 (lrint_test_towardzero): Likewise.
4496 (lrint_test_downward): Likewise.
4497 (lrint_test_upward): Likewise.
4498 (llrint_test): Likewise.
4499 (llrint_test_tonearest): Likewise.
4500 (llrint_test_towardzero): Likewise.
4501 (llrint_test_downward): Likewise.
4502 (llrint_test_upward): Likewise.
4503 (log_test): Likewise.
4504 (log10_test): Likewise.
4505 (log1p_test): Likewise.
4506 (log2_test): Likewise.
4507 (logb_test): Likewise.
4508 (logb_test_downward): Likewise.
4509 (lround_test): Likewise.
4510 (llround_test): Likewise.
4511 (modf_test): Likewise.
4512 (nearbyint_test): Likewise.
4513 (nextafter_test): Likewise.
4514 (nexttoward_test): Likewise.
4515 (pow_test): Likewise.
4516 (pow_test_tonearest): Likewise.
4517 (pow_test_towardzero): Likewise.
4518 (pow_test_downward): Likewise.
4519 (pow_test_upward): Likewise.
4520 (remainder_test): Likewise.
4521 (remainder_test_tonearest): Likewise.
4522 (remainder_test_towardzero): Likewise.
4523 (remainder_test_downward): Likewise.
4524 (remainder_test_upward): Likewise.
4525 (remquo_test): Likewise.
4526 (rint_test): Likewise.
4527 (rint_test_tonearest): Likewise.
4528 (rint_test_towardzero): Likewise.
4529 (rint_test_downward): Likewise.
4530 (rint_test_upward): Likewise.
4531 (round_test): Likewise.
4532 (scalb_test): Likewise.
4533 (scalbn_test): Likewise.
4534 (scalbln_test): Likewise.
4535 (signbit_test): Likewise.
4536 (sin_test): Likewise.
4537 (sin_test_tonearest): Likewise.
4538 (sin_test_towardzero): Likewise.
4539 (sin_test_downward): Likewise.
4540 (sin_test_upward): Likewise.
4541 (sincos_test): Likewise.
4542 (sinh_test): Likewise.
4543 (sinh_test_tonearest): Likewise.
4544 (sinh_test_towardzero): Likewise.
4545 (sinh_test_downward): Likewise.
4546 (sinh_test_upward): Likewise.
4547 (sqrt_test): Likewise.
4548 (tan_test): Likewise.
4549 (tan_test_tonearest): Likewise.
4550 (tan_test_towardzero): Likewise.
4551 (tan_test_downward): Likewise.
4552 (tan_test_upward): Likewise.
4553 (tanh_test): Likewise.
4554 (tgamma_test): Likewise.
4555 (trunc_test): Likewise.
4556 (y0_test): Likewise.
4557 (y1_test): Likewise.
4558 (yn_test): Likewise.
4559 (significand_test): Likewise.
4560
bae143d2
OB
45612013-05-24 Ondřej Bílka <neleai@seznam.cz>
4562
4563 [BZ #15381]
4564 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4565
9323d39b
EM
45662013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4567
d4ea44a0 4568 [BZ #14894]
9323d39b
EM
4569 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4570 __ppc_mdoio and __ppc_mdoom.
4571 * manual/platform.texi: Document new functions __ppc_yield,
4572 __ppc_mdoio and __ppc_mdoom.
4573
13e23af7
CD
45742013-05-22 Carlos O'Donell <carlos@redhat.com>
4575
4576 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4577 (main): Mention "tls" pseudo-hwcap is legacy.
4578 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4579
351fe550
JM
45802013-05-22 Joseph Myers <joseph@codesourcery.com>
4581
4582 * math/gen-libm-test.pl (parse_args): Output only string of
4583 arguments as text for test name, not full call or descriptions of
4584 tests for extra outputs.
4585 (generate_testfile): Do not pass function name to parse_args.
4586 Generate this_func variable from START.
4587 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4588 field to arg_str.
4589 (struct test_ff_f_data): Likewise.
4590 (test_ff_f_data_nexttoward): Likewise.
4591 (struct test_fi_f_data): Likewise.
4592 (struct test_fl_f_data): Likewise.
4593 (struct test_if_f_data): Likewise.
4594 (struct test_fff_f_data): Likewise.
4595 (struct test_c_f_data): Likewise.
4596 (struct test_f_f1_data): Likewise. Remove field extra_name.
4597 (struct test_fF_f1_data): Likewise.
4598 (struct test_ffI_f1_data): Likewise.
4599 (struct test_c_c_data): Rename test_name field to arg_str.
4600 (struct test_cc_c_data): Likewise.
4601 (struct test_f_i_data): Likewise.
4602 (struct test_ff_i_data): Likewise.
4603 (struct test_f_l_data): Likewise.
4604 (struct test_f_L_data): Likewise.
4605 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4606 and extra2_name.
4607 (COMMON_TEST_SETUP): New macro.
4608 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4609 (COMMON_TEST_CLEANUP): Likewise.
4610 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4611 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4612 macros.
4613 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4614 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4615 macros.
4616 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4617 (RUN_TEST_fff_f): Take argument string. Call new setup and
4618 cleanup macros.
4619 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4620 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4621 macros.
4622 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4623 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4624 macros.
4625 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4626 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4627 cleanup macros.
4628 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4629 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4630 cleanup macros.
4631 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4632 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4633 cleanup macros.
4634 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4635 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4636 macros.
4637 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4638 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4639 macros.
4640 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4641 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4642 macros.
4643 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4644 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4645 cleanup macros.
4646 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4647 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4648 cleanup macros.
4649 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4650 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4651 macros.
4652 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4653 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4654 cleanup macros.
4655 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4656 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4657 macros.
4658 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4659 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4660 macros.
4661 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4662 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4663 cleanup macros.
4664 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4665
85118d4d
EBM
46662013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4667
4668 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4669 to _sifields.sigfault.
4670 (si_addr_lsb): Define new macro.
4671 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4672 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4673 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4674
7a44c18f
CD
46752013-05-03 Carlos O'Donell <carlos at redhat.com>
4676
4677 [BZ #15441]
4678 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4679 returns -1.
4680 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4681 null return -1.
4682 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4683 loading the domain.
4684
b50a7181
JM
46852013-05-22 Joseph Myers <joseph@codesourcery.com>
4686
4687 * math/gen-libm-test.pl (parse_args): Do not include expected
4688 result in test name.
4689 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4691 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4692 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4693 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4695
051063c8
SP
46962013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4697
3ce9e010
SP
4698 * benchtests/Makefile: Sort function entries.
4699
051063c8
SP
4700 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4701 tanh, asinh, acosh, atanh.
4702 * benchtests/acos-inputs: New file.
4703 * benchtests/acosh-inputs: New file.
4704 * benchtests/asin-inputs: New file.
4705 * benchtests/asinh-inputs: New file.
4706 * benchtests/atanh-inputs: New file.
4707 * benchtests/cosh-inputs: New file.
4708 * benchtests/log-inputs: New file.
4709 * benchtests/sinh-inputs: New file.
4710 * benchtests/tanh-inputs: New file.
4711
47c22455
DL
47122013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4713
4714 [BZ #15339]
4715 * posix/tst-getaddrinfo4.c: New test.
4716 * posix/Makefile (tests): Add it.
4717
3d04f5db
SP
47182013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4719
4720 [BZ #15339]
4721 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4722 when no services were used.
4723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4724 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4725
d5dd6189
AS
47262013-05-21 Andreas Schwab <schwab@suse.de>
4727
4728 [BZ #15014]
4729 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4730 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4731 successful.
4732 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4733 redundant variable declarations and reallocation of buffer when
4734 parsing as IPv6 address. Always set NSS status when called from
4735 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4736 buffer too small. Correct computation of needed size.
4737 * nss/Makefile (tests): Add test-digits-dots.
4738 * nss/test-digits-dots.c: New test.
4739
fef94eab
SP
47402013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4741
4742 * benchtests/Makefile: Remove instructions for adding
4743 benchmark tests.
4744 * benchtests/README: New file to explain how to execute and
4745 enhance the benchmark tests.
4746
e39adf43
AS
47472013-05-21 Andreas Schwab <schwab@suse.de>
4748
4749 [BZ #15493]
4750 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4751 * setjmp/tst-sigsetjmp.c: New test.
4752
b2b671b6
OB
47532013-05-20 Ondřej Bílka <neleai@seznam.cz>
4754
4755 * sysdeps/x86_64/memset.S (memset): New implementation.
4756 (__bzero): Likewise.
4757 (__memset_tail): New function.
4758
2d48b41c
OB
47592013-05-20 Ondřej Bílka <neleai@seznam.cz>
4760
4761 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4762 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4763 __memcpy_sse2_unaligned ifunc selection.
4764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4765 Add memcpy-sse2-unaligned.S.
4766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4767 Add: __memcpy_sse2_unaligned.
4768
f16cc3eb
JM
47692013-05-19 Joseph Myers <joseph@codesourcery.com>
4770
3e694268
JM
4771 [BZ #15490]
4772 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4773 math_force_eval before restoring floating-point envrionment.
4774 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4776 Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4778 <math_private.h>.
4779 (__nearbyintl): Use math_force_eval before restoring
4780 floating-point environment.
4781 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4782
db62a907
JM
4783 * math/gen-libm-test.pl (special_functions): Remove.
4784 (parse_args): Don't handle TEST_extra. Handle functions with no
4785 return value.
4786 * math/libm-test.inc (struct test_sincos_data): Replace with
4787 struct test_fFF_11_data.
4788 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4789 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4790 (sincos_test_data): Change element type to struct
4791 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4792 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4793 RUN_TEST_LOOP_sincos.
4794 * math/README.libm-test: Don't mention special handling of
4795 individual functions.
4796 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4797 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4798 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4799 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4800 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4802
f16cc3eb
JM
4803 * math/gen-libm-test.pl (get_variable): Remove function.
4804 (parse_args): Don't show pointer parameters to call in test
4805 names. Use "extra output N" in test names for extra outputs
4806 rather than naming variables.
4807
3779b5b6
JM
48082013-05-18 Joseph Myers <joseph@codesourcery.com>
4809
2ee094ff
JM
4810 [BZ #15488]
4811 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4812 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4813 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4814 double tests.
4815 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4816 disable.
4817 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4818 check_long_double.
4819
3779b5b6
JM
4820 * math/gen-libm-test.pl (@tests): Remove variable.
4821 ($count): Likewise.
4822 (new_test): Remove function.
4823 (show_exceptions): New function.
4824 (special_functions): Use show_exceptions instead of new_test.
4825 (parse_args): Likewise.
4826 (generate_testfile): Pass only function name in generated call to
4827 print_max_error or print_complex_max_error.
4828 (get_ulps): Do not handle complex tests specially.
4829 (output_test): Rename to ...
4830 (get_all_ulps_for_test): ... this. Return a string rather than
4831 printing to a file. Require ulps to be present.
4832 (output_ulps): Generate arrays rather than #defines.
4833 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4834 (struct ulp_data): New type.
4835 (BUILD_COMPLEX_ULP): Remove macro.
4836 (compare_ulp_data): New function.
4837 (find_ulps): Likewise.
4838 (find_test_ulps): Likewise.
4839 (find_function_ulps): Likewise.
4840 (find_complex_function_ulps): Likewise.
4841 (print_max_error): Determine allowed ulps using
4842 find_function_ulps.
4843 (print_complex_max_error): Determine allowed ulps using
4844 find_complex_function_ulps.
4845 (check_float_internal): Determine max ulps using find_test_ulps.
4846 (check_float): Do not take max_ulp parameter. Update call to
4847 check_float_internal.
4848 (check_complex): Likewise.
4849 (check_int): Do not take max_ulp parameter.
4850 (check_long): Likewise.
4851 (check_bool): Likewise.
4852 (check_longlong): Likewise.
4853 (struct test_f_f_data): Remove max_ulp field.
4854 (struct test_ff_f_data): Likewise.
4855 (struct test_ff_f_data_nexttoward): Likewise.
4856 (struct test_fi_f_data): Likewise.
4857 (struct test_fl_f_data): Likewise.
4858 (struct test_if_f_data): Likewise.
4859 (struct test_fff_f_data): Likewise.
4860 (struct test_c_f_data): Likewise.
4861 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4862 (struct test_fF_f1_data): Likewise.
4863 (struct test_ffI_f1_data): Likewise.
4864 (struct test_c_c_data): Remove max_ulp field.
4865 (struct test_cc_c_data): Likewise.
4866 (struct test_f_i_data): Likewise.
4867 (struct test_ff_i_data): Likewise.
4868 (struct test_f_l_data): Likewise.
4869 (struct test_f_L_data): Likewise.
4870 (struct test_sincos_data): Likewise.
4871 (RUN_TEST_f_f): Do not handle ulps.
4872 (RUN_TEST_LOOP_f_f): Likewise.
4873 (RUN_TEST_2_f): Likewise.
4874 (RUN_TEST_LOOP_2_f): Likewise.
4875 (RUN_TEST_fff_f): Likewise.
4876 (RUN_TEST_LOOP_fff_f): Likewise.
4877 (RUN_TEST_c_f): Likewise.
4878 (RUN_TEST_LOOP_c_f): Likewise.
4879 (RUN_TEST_f_f1): Likewise.
4880 (RUN_TEST_LOOP_f_f1): Likewise.
4881 (RUN_TEST_fF_f1): Likewise.
4882 (RUN_TEST_LOOP_fF_f1): Likewise.
4883 (RUN_TEST_fI_f1): Likewise.
4884 (RUN_TEST_LOOP_fI_f1): Likewise.
4885 (RUN_TEST_ffI_f1): Likewise.
4886 (RUN_TEST_LOOP_ffI_f1): Likewise.
4887 (RUN_TEST_c_c): Likewise.
4888 (RUN_TEST_LOOP_c_c): Likewise.
4889 (RUN_TEST_cc_c): Likewise.
4890 (RUN_TEST_LOOP_cc_c): Likewise.
4891 (RUN_TEST_f_i): Likewise.
4892 (RUN_TEST_LOOP_f_i): Likewise.
4893 (RUN_TEST_f_i_tg): Likewise.
4894 (RUN_TEST_LOOP_f_i_tg): Likewise.
4895 (RUN_TEST_ff_i_tg): Likewise.
4896 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4897 (RUN_TEST_f_b): Likewise.
4898 (RUN_TEST_LOOP_f_b): Likewise.
4899 (RUN_TEST_f_b_tg): Likewise.
4900 (RUN_TEST_LOOP_f_b_tg): Likewise.
4901 (RUN_TEST_f_l): Likewise.
4902 (RUN_TEST_LOOP_f_l): Likewise.
4903 (RUN_TEST_f_L): Likewise.
4904 (RUN_TEST_LOOP_f_L): Likewise.
4905 (RUN_TEST_sincos): Likewise.
4906 (RUN_TEST_LOOP_sincos): Likewise.
4907
8269107f
JM
49082013-05-17 Joseph Myers <joseph@codesourcery.com>
4909
bb38759d
JM
4910 [BZ #15480]
4911 [BZ #15485]
4912 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4913 main case of finite arguments, set rounding mode to FE_TONEAREST
4914 and discard exceptions.
4915 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4916 exceptions.
4917 (remainder_tonearest_test_data): New variable.
4918 (remainder_test_tonearest): New function.
4919 (remainder_towardzero_test_data): New variable.
4920 (remainder_test_towardzero): New function.
4921 (remainder_downward_test_data): New variable.
4922 (remainder_test_downward): New function.
4923 (remainder_upward_test_data): New variable.
4924 (remainder_test_upward): New function.
4925 (main): Call the new test functions.
4926
a00bdcf0
JM
4927 * math/libm-test.inc (struct test_f_f1_data): Remove field
4928 extra_init.
4929 (struct test_fF_f1_data): Likewise.
4930 (struct test_ffI_f1_data): Likewise.
4931 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4932 based on value of EXTRA_EXPECTED.
4933 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4934 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4935 EXTRA_VAR based on value of EXTRA_EXPECTED.
4936 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4937 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4938 EXTRA_VAR based on value of EXTRA_EXPECTED.
4939 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4940 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4941 EXTRA_VAR based on value of EXTRA_EXPECTED.
4942 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4943 * math/gen-libm-test.pl (parse_args): Don't output initializers
4944 for extra output values.
4945
de407f79
JM
4946 * math/libm-test.inc (check_int): Expect result to be exactly
4947 equal to expected value and do not handle ulps.
4948 (check_long): Likewise.
4949 (check_longlong): Likewise.
4950
8269107f
JM
4951 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4952 exceptions.
4953 (cimag_test_data): Likewise.
4954 (conj_test_data): Likewise.
4955 (copysign_test_data): Likewise.
4956 (cproj_test_data): Likewise.
4957 (creal_test_data): Likewise.
4958 (fabs_test_data): Likewise.
4959 (fdim_test_data): Likewise.
4960 (finite_test_data): Likewise.
4961 (floor_test_data): Likewise.
4962 (fmax_test_data): Likewise.
4963 (fmin_test_data): Likewise.
4964 (fmod_test_data): Likewise.
4965 (fpclassify_test_data): Likewise.
4966 (frexp_test_data): Likewise.
4967 (ilogb_test_data): Likewise.
4968 (isfinite_test_data): Likewise.
4969 (isgreater_test_data): Likewise.
4970 (isgreaterequal_test_data): Likewise.
4971 (isinf_test_data): Likewise.
4972 (isless_test_data): Likewise.
4973 (islessequal_test_data): Likewise.
4974 (islessgreater_test_data): Likewise.
4975 (isnan_test_data): Likewise.
4976 (isnormal_test_data): Likewise.
4977 (issignaling_test_data): Likewise.
4978 (isunordered_test_data): Likewise.
4979 (ldexp_test_data): Likewise.
4980 (lrint_test_data): Likewise.
4981 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4982 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4983 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4984 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4985 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4986 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4987 test input.
4988 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4989 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4990 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4991 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4992 that test input.
4993 (lrint_downward_test_data): Test for "inexact" exceptions.
4994 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4995 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4996 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4997 test input.
4998 (lrint_upward_test_data): Test for "inexact" exceptions.
4999 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5000 test input.
5001 (llrint_test_data): Test for "inexact" exceptions.
5002 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5003 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5004 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5005 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5006 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5007 (llrint_downward_test_data): Test for "inexact" exceptions.
5008 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5009 (llrint_upward_test_data): Test for "inexact" exceptions.
5010 (logb_test_data): Likewise.
5011 (logb_downward_test_data): Likewise.
5012 (nextafter_test_data): Likewise.
5013 (nexttoward_test_data): Likewise.
5014 (remainder_test_data): Likewise.
5015 (remquo_test_data): Likewise.
5016 (scalbn_test_data): Likewise.
5017 (scalbln_test_data): Likewise.
5018 (signbit_test_data): Likewise.
5019 (sqrt_test_data): Likewise.
5020 (significand_test_data): Likewise.
5021
48a18de1
SP
50222013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5023
5024 [BZ #15424]
5025 * benchtests/bench-modf.c (struct args): Mark arg0 as
5026 volatile.
5027 * scripts/bench.pl: Mark members of struct args as volatile.
5028
13d3b41a
AZ
50292013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5030
68191c1d 5031 [BZ # 15497]
13d3b41a
AZ
5032 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5033 negative infinity on POWER6 or lower.
5034 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5035
2848b105
MR
50362013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5037
5038 [BZ #15442]
5039 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5040 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5041 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5042 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5043 (_FP_SETQNAN): New macro.
5044 (_FP_SETQNAN_SEMIRAW): Likewise.
5045 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5046 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5047 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5048 (FP_EXTEND): Use _FP_FRAC_SNANP.
5049 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5050 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5051 into account.
5052 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5053 New macro.
5054 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5055 Likewise.
5056
323e5cb7
JM
50572013-05-16 Joseph Myers <joseph@codesourcery.com>
5058
c58b274f
JM
5059 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5060 with DIVIDE_BY_ZERO_EXCEPTION.
5061 (gamma_test_data): Likewise.
5062 (lgamma_test_data): Likewise.
5063 (log_test_data): Likewise.
5064 (log10_test_data): Likewise.
5065 (log2_test_data): Likewise.
5066 (tgamma_test_data): Likewise.
5067
0ab34904
JM
5068 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5069 (acos_test_tonearest): Likewise.
5070 (acos_test_towardzero): Likewise.
5071 (acos_test_downward): Likewise.
5072 (acos_test_upward): Likewise.
5073 (acosh_test): Likewise.
5074 (asin_test): Likewise.
5075 (asin_test_tonearest): Likewise.
5076 (asin_test_towardzero): Likewise.
5077 (asin_test_downward): Likewise.
5078 (asin_test_upward): Likewise.
5079 (asinh_test): Likewise.
5080 (atan_test): Likewise.
5081 (atanh_test): Likewise.
5082 (atan2_test): Likewise.
5083 (cabs_test): Likewise.
5084 (cacos_test): Likewise.
5085 (cacosh_test): Likewise.
5086 (casin_test): Likewise.
5087 (casinh_test): Likewise.
5088 (catan_test): Likewise.
5089 (catanh_test): Likewise.
5090 (cbrt_test): Likewise.
5091 (ccos_test): Likewise.
5092 (ccosh_test): Likewise.
5093 (cexp_test): Likewise.
5094 (clog_test): Likewise.
5095 (clog10_test): Likewise.
5096 (cos_test): Likewise.
5097 (cos_test_tonearest): Likewise.
5098 (cos_test_towardzero): Likewise.
5099 (cos_test_downward): Likewise.
5100 (cos_test_upward): Likewise.
5101 (cosh_test): Likewise.
5102 (cosh_test_tonearest): Likewise.
5103 (cosh_test_towardzero): Likewise.
5104 (cosh_test_downward): Likewise.
5105 (cosh_test_upward): Likewise.
5106 (cpow_test): Likewise.
5107 (csin_test): Likewise.
5108 (csinh_test): Likewise.
5109 (csqrt_test): Likewise.
5110 (ctan_test): Likewise.
5111 (ctan_test_tonearest): Likewise.
5112 (ctan_test_towardzero): Likewise.
5113 (ctan_test_downward): Likewise.
5114 (ctan_test_upward): Likewise.
5115 (ctanh_test): Likewise.
5116 (ctanh_test_tonearest): Likewise.
5117 (ctanh_test_towardzero): Likewise.
5118 (ctanh_test_downward): Likewise.
5119 (ctanh_test_upward): Likewise.
5120 (erf_test): Likewise.
5121 (erfc_test): Likewise.
5122 (exp_test): Likewise.
5123 (exp_test_tonearest): Likewise.
5124 (exp_test_towardzero): Likewise.
5125 (exp_test_downward): Likewise.
5126 (exp_test_upward): Likewise.
5127 (exp10_test): Likewise.
5128 (exp2_test): Likewise.
5129 (expm1_test): Likewise.
5130 (fmod_test): Likewise.
5131 (gamma_test): Likewise.
5132 (hypot_test): Likewise.
5133 (j0_test): Likewise.
5134 (j1_test): Likewise.
5135 (jn_test): Likewise.
5136 (lgamma_test): Likewise.
5137 (log_test): Likewise.
5138 (log10_test): Likewise.
5139 (log1p_test): Likewise.
5140 (log2_test): Likewise.
5141 (logb_test_downward): Likewise.
5142 (pow_test): Likewise.
5143 (pow_test_tonearest): Likewise.
5144 (pow_test_towardzero): Likewise.
5145 (pow_test_downward): Likewise.
5146 (pow_test_upward): Likewise.
5147 (remainder_test): Likewise.
5148 (remquo_test): Likewise.
5149 (sin_test): Likewise.
5150 (sin_test_tonearest): Likewise.
5151 (sin_test_towardzero): Likewise.
5152 (sin_test_downward): Likewise.
5153 (sin_test_upward): Likewise.
5154 (sincos_test): Likewise.
5155 (sinh_test): Likewise.
5156 (sinh_test_tonearest): Likewise.
5157 (sinh_test_towardzero): Likewise.
5158 (sinh_test_downward): Likewise.
5159 (sinh_test_upward): Likewise.
5160 (sqrt_test): Likewise.
5161 (tan_test): Likewise.
5162 (tan_test_tonearest): Likewise.
5163 (tan_test_towardzero): Likewise.
5164 (tan_test_downward): Likewise.
5165 (tan_test_upward): Likewise.
5166 (tanh_test): Likewise.
5167 (tgamma_test): Likewise.
5168 (y0_test): Likewise.
5169 (y1_test): Likewise.
5170 (yn_test): Likewise.
5171
323e5cb7
JM
5172 * math/gen-libm-test.pl (adjust_arg): Remove function.
5173 (special_function): Remove argument $in_func. Only handle
5174 generating output for tables of tests, not inside functions.
5175 (parse_args): Likewise.
5176 (generate_testfile): Remove variable $in_func. Update call to
5177 parse_args.
5178 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5179 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5180 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5181 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5182 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5183 (MAX_VALUE_INIT): Rename macro to max_value.
5184 (MIN_VALUE_INIT): Rename macro to min_value.
5185 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5186 (plus_zero): Remove variable.
5187 (minus_zero): Likewise.
5188 (plus_infty): Likewise.
5189 (minus_infty): Likewise.
5190 (qnan_value): Likewise.
5191 (max_value): Likewise.
5192 (min_value): Likewise.
5193 (min_subnorm_value): Likewise.
5194
e054f494
RA
51952013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5196
5197 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5198 uint64_t or uint32_t usage.
5199 * crypt/sha256-block.c: Likewise.
5200 * crypt/sha256-crypt.c: Likewise.
5201 * crypt/sha256.c: Likewise.
5202 * crypt/sha512-block.c: Likewise.
5203 * crypt/sha512-crypt.c: Likewise.
5204 * crypt/sha512.c: Likewise.
5205 * debug/backtrace-tst.c: Likewise.
5206 * debug/pcprofiledump.c: Likewise.
5207 * elf/cache.c: Likewise.
5208 * elf/dl-cache.c: Likewise.
5209 * elf/dl-misc.c: Likewise.
5210 * elf/dl-profile.c: Likewise.
5211 * elf/dl-support.c: Likewise.
5212 * elf/ldconfig.c: Likewise.
5213 * elf/sprof.c: Likewise.
5214 * iconv/dummy-repertoire.c: Likewise.
5215 * iconv/iconv_charmap.c: Likewise.
5216 * iconv/skeleton.c: Likewise.
5217 * iconvdata/8bit-generic.c: Likewise.
5218 * iconvdata/cp737.h: Likewise.
5219 * iconvdata/cp775.h: Likewise.
5220 * iconvdata/ibm1008.h: Likewise.
5221 * iconvdata/ibm1025.h: Likewise.
5222 * iconvdata/ibm1046.h: Likewise.
5223 * iconvdata/ibm1097.h: Likewise.
5224 * iconvdata/ibm1112.h: Likewise.
5225 * iconvdata/ibm1122.h: Likewise.
5226 * iconvdata/ibm1123.h: Likewise.
5227 * iconvdata/ibm1124.h: Likewise.
5228 * iconvdata/ibm1129.h: Likewise.
5229 * iconvdata/ibm1130.h: Likewise.
5230 * iconvdata/ibm1132.h: Likewise.
5231 * iconvdata/ibm1133.h: Likewise.
5232 * iconvdata/ibm1137.h: Likewise.
5233 * iconvdata/ibm1140.h: Likewise.
5234 * iconvdata/ibm1141.h: Likewise.
5235 * iconvdata/ibm1142.h: Likewise.
5236 * iconvdata/ibm1143.h: Likewise.
5237 * iconvdata/ibm1144.h: Likewise.
5238 * iconvdata/ibm1145.h: Likewise.
5239 * iconvdata/ibm1146.h: Likewise.
5240 * iconvdata/ibm1147.h: Likewise.
5241 * iconvdata/ibm1148.h: Likewise.
5242 * iconvdata/ibm1149.h: Likewise.
5243 * iconvdata/ibm1153.h: Likewise.
5244 * iconvdata/ibm1154.h: Likewise.
5245 * iconvdata/ibm1155.h: Likewise.
5246 * iconvdata/ibm1156.h: Likewise.
5247 * iconvdata/ibm1157.h: Likewise.
5248 * iconvdata/ibm1158.h: Likewise.
5249 * iconvdata/ibm1160.h: Likewise.
5250 * iconvdata/ibm1161.h: Likewise.
5251 * iconvdata/ibm1162.h: Likewise.
5252 * iconvdata/ibm1163.h: Likewise.
5253 * iconvdata/ibm1164.h: Likewise.
5254 * iconvdata/ibm1166.h: Likewise.
5255 * iconvdata/ibm1167.h: Likewise.
5256 * iconvdata/ibm12712.h: Likewise.
5257 * iconvdata/ibm1390.h: Likewise.
5258 * iconvdata/ibm1399.h: Likewise.
5259 * iconvdata/ibm16804.h: Likewise.
5260 * iconvdata/ibm4517.h: Likewise.
5261 * iconvdata/ibm4899.h: Likewise.
5262 * iconvdata/ibm4909.h: Likewise.
5263 * iconvdata/ibm4971.h: Likewise.
5264 * iconvdata/ibm5347.h: Likewise.
5265 * iconvdata/ibm803.h: Likewise.
5266 * iconvdata/ibm856.h: Likewise.
5267 * iconvdata/ibm901.h: Likewise.
5268 * iconvdata/ibm902.h: Likewise.
5269 * iconvdata/ibm9030.h: Likewise.
5270 * iconvdata/ibm9066.h: Likewise.
5271 * iconvdata/ibm921.h: Likewise.
5272 * iconvdata/ibm922.h: Likewise.
5273 * iconvdata/ibm9448.h: Likewise.
5274 * iconvdata/isiri-3342.h: Likewise.
5275 * iconvdata/jis0201.h: Likewise.
5276 * include/link.h: Likewise.
5277 * include/netdb.h: Likewise.
5278 * inet/check_native.c: Likewise.
5279 * inet/check_pf.c: Likewise.
5280 * inet/getipv4sourcefilter.c: Likewise.
5281 * inet/getnameinfo.c: Likewise.
5282 * inet/getsourcefilter.c: Likewise.
5283 * inet/htonl.c: Likewise.
5284 * inet/setipv4sourcefilter.c: Likewise.
5285 * inet/setsourcefilter.c: Likewise.
5286 * inet/test-inet6_opt.c: Likewise.
5287 * inet/tst-network.c: Likewise.
5288 * locale/C-collate.c: Likewise.
5289 * locale/C-ctype.c: Likewise.
5290 * locale/C-time.c: Likewise.
5291 * locale/C-translit.h: Likewise.
5292 * locale/loadarchive.c: Likewise.
5293 * locale/programs/3level.h: Likewise.
5294 * locale/programs/charmap.c: Likewise.
5295 * locale/programs/charmap.h: Likewise.
5296 * locale/programs/ld-address.c: Likewise.
5297 * locale/programs/ld-collate.c: Likewise.
5298 * locale/programs/ld-ctype.c: Likewise.
5299 * locale/programs/ld-identification.c: Likewise.
5300 * locale/programs/ld-measurement.c: Likewise.
5301 * locale/programs/ld-messages.c: Likewise.
5302 * locale/programs/ld-monetary.c: Likewise.
5303 * locale/programs/ld-name.c: Likewise.
5304 * locale/programs/ld-numeric.c: Likewise.
5305 * locale/programs/ld-paper.c: Likewise.
5306 * locale/programs/ld-telephone.c: Likewise.
5307 * locale/programs/ld-time.c: Likewise.
5308 * locale/programs/linereader.c: Likewise.
5309 * locale/programs/locale.c: Likewise.
5310 * locale/programs/locarchive.c: Likewise.
5311 * locale/programs/locfile.h: Likewise.
5312 * locale/programs/repertoire.c: Likewise.
5313 * locale/programs/simple-hash.c: Likewise.
5314 * locale/programs/simple-hash.h: Likewise.
5315 * malloc/memusage.c: Likewise.
5316 * malloc/memusagestat.c: Likewise.
5317 * nis/nis_defaults.c: Likewise.
5318 * nis/nis_hash.c: Likewise.
5319 * nis/nis_print.c: Likewise.
5320 * nis/nis_xdr.c: Likewise.
5321 * nscd/connections.c: Likewise.
5322 * nscd/hstcache.c: Likewise.
5323 * nscd/nscd_gethst_r.c: Likewise.
5324 * nscd/nscd_getserv_r.c: Likewise.
5325 * nscd/nscd_helper.c: Likewise.
5326 * nscd/servicescache.c: Likewise.
5327 * nss/makedb.c: Likewise.
5328 * nss/nss_db/db-XXX.c: Likewise.
5329 * nss/nss_db/db-initgroups.c: Likewise.
5330 * nss/nss_db/db-netgrp.c: Likewise.
5331 * nss/nss_files/files-network.c: Likewise.
5332 * nss/nss_files/files-parse.c: Likewise.
5333 * posix/bug-regex5.c: Likewise.
5334 * posix/fnmatch_loop.c: Likewise.
5335 * posix/regcomp.c: Likewise.
5336 * posix/regexec.c: Likewise.
5337 * posix/tst-rfc3484-2.c: Likewise.
5338 * posix/tst-rfc3484-3.c: Likewise.
5339 * posix/tst-rfc3484.c: Likewise.
5340 * resolv/nss_dns/dns-canon.c: Likewise.
5341 * resolv/nss_dns/dns-network.c: Likewise.
5342 * resolv/res_init.c: Likewise.
5343 * resolv/res_mkquery.c: Likewise.
5344 * resolv/tst-aton.c: Likewise.
5345 * stdlib/cxa_atexit.c: Likewise.
5346 * stdlib/cxa_finalize.c: Likewise.
5347 * stdlib/gen-fpioconst.c: Likewise.
5348 * stdlib/strtol_l.c: Likewise.
5349 * string/tst-endian.c: Likewise.
5350 * sunrpc/auth_des.c: Likewise.
5351 * sunrpc/clnt_udp.c: Likewise.
5352 * sunrpc/rtime.c: Likewise.
5353 * sunrpc/svcauth_des.c: Likewise.
5354 * sunrpc/xdr.c: Likewise.
5355 * sunrpc/xdr_intXX_t.c: Likewise.
5356 * sunrpc/xdr_rec.c: Likewise.
5357 * sysdeps/generic/ldconfig.h: Likewise.
5358 * sysdeps/generic/ldsodefs.h: Likewise.
5359 * sysdeps/generic/memusage.h: Likewise.
5360 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5363 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5369 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5370 * sysdeps/posix/getaddrinfo.c: Likewise.
5371 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5372 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5373 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5374 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5375 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5376 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5377 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5378 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5379 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5380 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5381 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5382 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5383 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5384 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5385 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5386 * sysdeps/x86_64/dl-tls.h: Likewise.
5387 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5388 * time/alt_digit.c: Likewise.
5389 * time/era.c: Likewise.
5390 * wcsmbs/tst-c16c32-1.c: Likewise.
5391
8c75f674
JM
53922013-05-16 Joseph Myers <joseph@codesourcery.com>
5393
5394 * math/libm-test.inc (struct test_sincos_data): New type.
5395 (RUN_TEST_LOOP_sincos): New macro.
5396 (sincos_test_data): New variable.
5397 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5398
e6e49e59
RH
53992013-05-16 Richard Henderson <rth@redhat.com>
5400
5401 * math/atest-exp2.c (LIMB64): New macro.
5402 (CONSTSZ): New macro.
5403 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5404 (hexdig): Move ...
5405 (print_mpn_fp): ... to function scope.
5406 (read_mpn_hex): Remove.
5407 (get_log2): Remove.
5408 (exp2_mpn): Use mp_log2.
5409 (main): Use mp_exp1.
5410
15c7c18d
JM
54112013-05-16 Joseph Myers <joseph@codesourcery.com>
5412
105a07df
JM
5413 * math/libm-test.inc: Remove comment about not testing "inexact"
5414 exceptions.
5415 (INEXACT_EXCEPTION): New macro.
5416 (NO_INEXACT_EXCEPTION): Likewise.
5417 (INVALID_EXCEPTION_OK): Update value.
5418 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5419 (OVERFLOW_EXCEPTION_OK): Likewise.
5420 (UNDERFLOW_EXCEPTION_OK): Likewise.
5421 (IGNORE_ZERO_INF_SIGN): Likewise.
5422 (ERRNO_UNCHANGED): Likewise.
5423 (ERRNO_EDOM): Likewise.
5424 (ERRNO_ERANGE): Likewise.
5425 (test_exceptions): Handle testing "inexact" exceptions.
5426 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5427 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5428 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5429 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5430 INEXACT_EXCEPTION.
5431 (rint_towardzero_test_data): Likewise.
5432 (rint_downward_test_data): Likewise.
5433 (rint_upward_test_data): Likewise.
5434
e9eee333
JM
5435 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5436 with OVERFLOW_EXCEPTION.
5437 (exp10_test_data): Likewise.
5438 (exp2_test_data): Likewise.
5439 (expm1_test_data): Likewise.
5440 (lgamma_test_data): Likewise.
5441 (pow_test_data): Likewise.
5442 (tgamma_test_data): Likewise.
5443 (yn_test_data): Remove duplicate test of overflow.
5444
1c38ff73
JM
5445 * math/libm-test.inc (struct test_cc_c_data): New type.
5446 (RUN_TEST_LOOP_cc_c): New macro.
5447 (cpow_test_data): New variable.
5448 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5449
15c7c18d
JM
5450 * math/libm-test.inc (struct test_f_L_data): New type.
5451 (RUN_TEST_LOOP_f_L): New macro.
5452 (llrint_test_data): New variable.
5453 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5454 (llrint_tonearest_test_data): New variable.
5455 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5456 (llrint_towardzero_test_data): New variable.
5457 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5458 (llrint_downward_test_data): New variable.
5459 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5460 (llrint_upward_test_data): New variable.
5461 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5462 (llround_test_data): New variable.
5463 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5464
f137ff13
PC
54652013-05-13 Peter Collingbourne <pcc@google.com>
5466
5467 * math/atest-exp2.c (get_log2): Remove const attribute.
5468
3608cb24
JM
54692013-05-15 Joseph Myers <joseph@codesourcery.com>
5470
5471 * math/libm-test.inc (struct test_f_l_data): New type.
5472 (RUN_TEST_LOOP_f_l): New macro.
5473 (lrint_test_data): New variable.
5474 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5475 (lrint_tonearest_test_data): New variable.
5476 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5477 (lrint_towardzero_test_data): New variable.
5478 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5479 (lrint_downward_test_data): New variable.
5480 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5481 (lrint_upward_test_data): New variable.
5482 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5483 (lround_test_data): New variable.
5484 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5485
39b1f617
PC
54862013-05-15 Peter Collingbourne <pcc@google.com>
5487
1deff3dc
PC
5488 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5489 (EXTRACT_WORDS64) Use where appropriate.
5490 (INSERT_WORDS64) Likewise.
5491
791f3ba0
PC
5492 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5493 constraints with x constraints.
5494 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5495
39b1f617
PC
5496 * malloc/obstack.c (_obstack_compat): Add initializer.
5497
12fba011
EM
54982013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5499
5500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5501 si_trapno and add si_addr_lsb to _sifields.sigfault.
5502 (si_trapno): Remove macro.
5503 (si_addr_lsb): Define new macro.
5504 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5505
d369f531
JM
55062013-05-15 Joseph Myers <joseph@codesourcery.com>
5507
b861c6c4
JM
5508 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5509 instead of TEST_f_l.
5510 (llrint_test_tonearest): Likewise.
5511 (llrint_test_towardzero): Likewise.
5512 (llrint_test_downward): Likewise.
5513 (llrint_test_upward): Likewise.
5514 (llround_test): Likewise.
5515
7abeee12
JM
5516 * math/libm-test.inc (struct test_f_i_data): Add comment.
5517 (RUN_TEST_LOOP_f_b): New macro.
5518 (RUN_TEST_LOOP_f_b_tg): Likewise.
5519 (finite_test_data): New variable.
5520 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5521 (isfinite_test_data): New variable.
5522 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5523 (isinf_test_data): New variable.
5524 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5525 (isnan_test_data): New variable.
5526 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5527 (isnormal_test_data): New variable.
5528 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5529 (issignaling_test_data): New variable.
5530 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5531 (signbit_test_data): New variable.
5532 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5533
cbe8c4d3
JM
5534 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5535 with INVALID_EXCEPTION.
5536 (acosh_test_data): Likewise.
5537 (asin_test_data): Likewise.
5538 (atanh_test_data): Likewise.
5539 (fmod_test_data): Likewise.
5540 (log_test_data): Likewise.
5541 (log10_test_data): Likewise.
5542 (log2_test_data): Likewise.
5543 (pow_test_data): Likewise.
5544 (sqrt_test_data): Likewise.
5545 (y0_test_data): Likewise.
5546 (y1_test_data): Likewise.
5547 (yn_test_data): Likewise.
5548
5575c0e5
JM
5549 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5550 function contents.
5551
d369f531
JM
5552 * math/libm-test.inc (struct test_ff_i_data): New type.
5553 (RUN_TEST_LOOP_ff_i_tg): New macro.
5554 (isgreater_test_data): New variable.
5555 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5556 (isgreaterequal_test_data): New variable.
5557 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5558 (isless_test_data): New variable.
5559 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5560 (islessequal_test_data): New variable.
5561 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5562 (islessgreater_test_data): New variable.
5563 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5564 (isunordered_test_data): New variable.
5565 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5566
781fd748
DM
55672013-05-14 David S. Miller <davem@davemloft.net>
5568
5569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5570
87aa21df
JM
55712013-05-14 Joseph Myers <joseph@codesourcery.com>
5572
5e908270
JM
5573 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5574
f71172e5
JM
5575 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5576 extra_test to int.
5577 (struct test_f_i_data): Change type of max_ulp to int.
5578
8cfa635a
JM
5579 * math/libm-test.inc (test_ffI_f1_data): New type.
5580 (RUN_TEST_LOOP_ffI_f1): New macro.
5581 (remquo_test_data): New variable.
5582 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5583
2bcb36b2
JM
5584 * setjmp/tst-setjmp-fp.c: New file.
5585 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5586 (link-libm): New variable.
5587 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5588
acbd839a
JM
5589 * math/libm-test.inc (struct test_f_i_data): New type.
5590 (RUN_TEST_LOOP_f_i): New macro.
5591 (RUN_TEST_LOOP_f_i_tg): Likewise.
5592 (fpclassify_test_data): New variable.
5593 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5594 (ilogb_test_data): New variable.
5595 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5596
e414d745
JM
5597 * math/libm-test.inc (scalbln_test): Correct function name in END
5598 call.
5599
d9c2a0fd
JM
5600 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5601 (RUN_TEST_LOOP_fI_f1): New macro.
5602 (frexp_test_data): New variable.
5603 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5604
9dc9095d
JM
5605 * math/libm-test.inc (struct test_fF_f1_data): New type.
5606 (RUN_TEST_LOOP_fF_f1): New macro.
5607 (modf_test_data): New variable.
5608 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5609
87aa21df
JM
5610 * math/libm-test.inc (struct test_f_f1_data): New type.
5611 (RUN_TEST_LOOP_f_f1): New macro.
5612 (gamma_test_data): New variable.
5613 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5614 (lgamma_test_data): New variable.
5615 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5616
141af660
CD
56172013-05-13 Carlos O'Donell <carlos@redhat.com>
5618
5619 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5620 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5621 (main): Comment "tls" pseudo-hwcap.
5622
6d33265c
JM
56232013-05-13 Joseph Myers <joseph@codesourcery.com>
5624
68fc074c
JM
5625 * math/libm-test.inc (struct test_fl_f_data): New type.
5626 (RUN_TEST_LOOP_fl_f): New variable.
5627 (scalbln_test_data): New variable.
5628 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5629
243216e1
JM
5630 * math/libm-test.inc (struct test_fi_f_data): New type.
5631 (RUN_TEST_LOOP_fi_f): New macro.
5632 (ldexp_test_data): New variable.
5633 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5634 (scalbn_test_data): New variable.
5635 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5636
6a1992e2
JM
5637 * math/libm-test.inc (struct test_c_f_data): New type.
5638 (RUN_TEST_LOOP_c_f): New macro.
5639 (cabs_test_data): New variable.
5640 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5641 (carg_test_data): New variable.
5642 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5643 (cimag_test_data): New variable.
5644 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5645 (creal_test_data): New variable.
5646 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5647
0e400df5
JM
5648 * math/libm-test.inc (struct test_if_f_data): New type.
5649 (RUN_TEST_LOOP_if_f): New macro.
5650 (jn_test_data): New variable.
5651 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5652 (yn_test_data): New variable.
5653 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5654
6d33265c
JM
5655 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5656
f98ece5f
AZ
56572013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5658
5659 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5660 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5661
0f7d347b
SP
56622013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5663
43fe811b
SP
5664 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5665 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5666 (bench-deps): Add bench-timing.h.
5667 * benchtests-bench-skeleton.c: Include bench-timing.h.
5668 (main): Use TIMING_* macros instead of clock_gettime.
5669 * benchtests/bench-timing.h: New file.
5670
0f7d347b
SP
5671 [BZ #14582]
5672 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5673 Renamed from _LIB_VERSION.
5674 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5675
601a3a5f
JM
56762013-05-12 Joseph Myers <joseph@codesourcery.com>
5677
4f184d30
JM
5678 * math/libm-test.inc (struct test_fff_f_data): New type.
5679 (RUN_TEST_LOOP_fff_f): New macro.
5680 (fma_test_data): New variable.
5681 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5682 (fma_towardzero_test_data): New variable.
5683 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5684 (fma_downward_test_data): New variable.
5685 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5686 (fma_upward_test_data): New variable.
5687 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5688
08198877
JM
5689 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5690 (struct test_c_c_data): New type.
5691 (RUN_TEST_LOOP_c_c): New macro.
5692 (cacos_test_data): New variable.
5693 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5694 (cacosh_test_data): New variable.
5695 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5696 (casin_test_data): New variable.
5697 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5698 (casinh_test_data): New variable.
5699 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5700 (catan_test_data): New variable.
5701 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5702 (catanh_test_data): New variable.
5703 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5704 (ccos_test_data): New variable.
5705 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5706 (ccosh_test_data): New variable.
5707 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5708 (cexp_test_data): New variable.
5709 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5710 (clog_test_data): New variable.
5711 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5712 (clog10_test_data): New variable.
5713 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5714 (conj_test_data): New variable.
5715 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5716 (cproj_test_data): New variable.
5717 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5718 (csin_test_data): New variable.
5719 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5720 (csinh_test_data): New variable.
5721 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5722 (csqrt_test_data): New variable.
5723 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5724 (ctan_test_data): New variable.
5725 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5726 (ctan_tonearest_test_data): New variable.
5727 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5728 (ctan_towardzero_test_data): New variable.
5729 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5730 (ctan_downward_test_data): New variable.
5731 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5732 (ctan_upward_test_data): New variable.
5733 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5734 (ctanh_test_data): New variable.
5735 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5736 (ctanh_tonearest_test_data): New variable.
5737 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5738 (ctanh_towardzero_test_data): New variable.
5739 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5740 (ctanh_downward_test_data): New variable.
5741 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5742 (ctanh_upward_test_data): New variable.
5743 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5744 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5745 of BUILD_COMPLEX.
5746
601a3a5f
JM
5747 * math/libm-test.inc (struct test_ff_f_data): New type.
5748 (struct test_ff_f_data_nexttoward): Likewise.
5749 (RUN_TEST_LOOP_2_f): New macro.
5750 (RUN_TEST_LOOP_ff_f): Likewise.
5751 (atan2_test_data): New variable.
5752 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5753 (copysign_test_data): New variable.
5754 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5755 (fdim_test_data): New variable.
5756 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5757 (fmax_test_data): New variable.
5758 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5759 (fmin_test_data): New variable.
5760 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5761 (fmod_test_data): New variable.
5762 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5763 (hypot_test_data): New variable.
5764 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5765 (nextafter_test_data): New variable.
5766 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5767 (nexttoward_test_data): New variable.
5768 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5769 (pow_test_data): New variable.
5770 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5771 (pow_tonearest_test_data): New variable.
5772 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5773 (pow_towardzero_test_data): New variable.
5774 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5775 (pow_downward_test_data): New variable.
5776 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5777 (pow_upward_test_data): New variable.
5778 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5779 (remainder_test_data): New variable.
5780 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5781 (scalb_test_data): New variable.
5782 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5783 * sysdeps/i386/fpu/libm-test-ulps: Update.
5784
74c57478
JM
57852013-05-11 Joseph Myers <joseph@codesourcery.com>
5786
8329e4da
JM
5787 * math/libm-test.inc (fma_test): Use max_value instead of local
5788 variable fltmax.
5789 (nextafter_test): Likewise.
5790
74c57478
JM
5791 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5792 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5793 (acos_downward_test_data): New variable.
5794 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5795 (acos_upward_test_data): New variable.
5796 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5797 (acosh_test_data): New variable.
5798 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5799 (asin_test_data): New variable.
5800 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5801 (asin_tonearest_test_data): New variable.
5802 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5803 (asin_towardzero_test_data): New variable.
5804 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5805 (asin_downward_test_data): New variable.
5806 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5807 (asin_upward_test_data): New variable.
5808 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5809 (asinh_test_data): New variable.
5810 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5811 (atan_test_data): New variable.
5812 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5813 (atanh_test_data): New variable.
5814 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5815 (cbrt_test_data): New variable.
5816 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5817 (ceil_test_data): New variable.
5818 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5819 (cos_test_data): New variable.
5820 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5821 (cos_tonearest_test_data): New variable.
5822 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5823 (cos_towardzero_test_data): New variable.
5824 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5825 (cos_downward_test_data): New variable.
5826 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5827 (cos_upward_test_data): New variable.
5828 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5829 (cosh_test_data): New variable.
5830 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5831 (cosh_tonearest_test_data): New variable.
5832 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5833 (cosh_towardzero_test_data): New variable.
5834 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5835 (cosh_downward_test_data): New variable.
5836 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5837 (cosh_upward_test_data): New variable.
5838 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5839 (erf_test_data): New variable.
5840 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5841 (erfc_test_data): New variable.
5842 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5843 (exp_test_data): New variable.
5844 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5845 (exp_tonearest_test_data): New variable.
5846 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5847 (exp_towardzero_test_data): New variable.
5848 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5849 (exp_downward_test_data): New variable.
5850 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5851 (exp_upward_test_data): New variable.
5852 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5853 (exp10_test_data): New variable.
5854 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5855 (exp2_test_data): New variable.
5856 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5857 (expm1_test_data): New variable.
5858 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5859 (fabs_test_data): New variable.
5860 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5861 (floor_test_data): New variable.
5862 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5863 (j0_test_data): New variable.
5864 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5865 (j1_test_data): New variable.
5866 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5867 (log_test_data): New variable.
5868 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5869 (log10_test_data): New variable.
5870 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5871 (log1p_test_data): New variable.
5872 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5873 (log2_test_data): New variable.
5874 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5875 (logb_test_data): New variable.
5876 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5877 (logb_downward_test_data): New variable.
5878 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5879 (nearbyint_test_data): New variable.
5880 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5881 (rint_test_data): New variable.
5882 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5883 (rint_tonearest_test_data): New variable.
5884 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5885 (rint_towardzero_test_data): New variable.
5886 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5887 (rint_downward_test_data): New variable.
5888 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5889 (rint_upward_test_data): New variable.
5890 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5891 (round_test_data): New variable.
5892 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5893 (sin_test_data): New variable.
5894 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5895 (sin_tonearest_test_data): New variable.
5896 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5897 (sin_towardzero_test_data): New variable.
5898 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5899 (sin_downward_test_data): New variable.
5900 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5901 (sin_upward_test_data): New variable.
5902 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5903 (sinh_test_data): New variable.
5904 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5905 (sinh_tonearest_test_data): New variable.
5906 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5907 (sinh_towardzero_test_data): New variable.
5908 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5909 (sinh_downward_test_data): New variable.
5910 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5911 (sinh_upward_test_data): New variable.
5912 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5913 (sqrt_test_data): New variable.
5914 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5915 (tan_test_data): New variable.
5916 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5917 (tan_tonearest_test_data): New variable.
5918 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5919 (tan_towardzero_test_data): New variable.
5920 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5921 (tan_downward_test_data): New variable.
5922 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5923 (tan_upward_test_data): New variable.
5924 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5925 (tanh_test_data): New variable.
5926 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5927 (tgamma_test_data): New variable.
5928 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5929 (trunc_test_data): New variable.
5930 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5931 (y0_test_data): New variable.
5932 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5933 (y1_test_data): New variable.
5934 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5935 (significand_test_data): New variable.
5936 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5937
7187d844
CG
59382013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5939
5940 [BZ #12387]
5941 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5942
f63fae73
PT
59432013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5944
5945 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5946
8a67a4b3
AJ
59472013-05-10 Andreas Jaeger <aj@suse.de>
5948
5949 [BZ #15448]
5950 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5951 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5952
51df539d
JM
59532013-05-10 Joseph Myers <joseph@codesourcery.com>
5954
5955 * math/gen-libm-test.pl (adjust_arg): New function.
5956 (special_functions): Handle generating output in both functions
5957 and arrays.
5958 (parse_args): Likewise.
5959 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5960 $in_func argument to parse_args.
5961 * math/libm-test.inc (struct test_f_f_data): New type.
5962 (IF_ROUND_INIT_): New macro.
5963 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5964 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5965 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5966 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5967 (ROUND_RESTORE_): Likewise.
5968 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5969 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5970 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5971 (ROUND_RESTORE_FE_UPWARD): Likewise.
5972 (RUN_TEST_LOOP_f_f): New macro.
5973 (acos_test_data): New variable.
5974 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5975 (acos_tonearest_test_data): New variable.
5976 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5977
5c637fe5
SP
59782013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5979
5980 * benchtests/bench-skeleton.c (startup): Fix coding style.
5981
ab2b9461
JM
59822013-05-10 Joseph Myers <joseph@codesourcery.com>
5983
5984 [BZ #6809]
5985 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5986 negative infinity argument.
5987 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5988 negative infinity argument.
5989 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5990 negative infinity argument.
5991 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5992 domain errors.
5993
4c0fe6fe
FW
59942013-05-10 Florian Weimer <fweimer@redhat.com>
5995
5996 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5997 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5998 * iconv/iconv_prog.c (main): Likewise.
5999 * locale/programs/charmap-dir.c (charmap_readdir)
6000 (fopen_uncompressed): Likewise.
6001 * locale/programs/locfile.c (siblings_uncached)
6002 (write_locale_data): Use lstat64 instead of lstat.
6003 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6004 stat.
6005
a3375d29
AJ
60062013-05-10 Andreas Jaeger <aj@suse.de>
6007
6008 [BZ #15395]
6009 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6010 localization.
6011 Include <locale.h>.
6012
36129722
CD
60132013-05-09 Carlos O'Donell <carlos@redhat.com>
6014
6015 * elf/dl-close.c (_dl_close_worker): Add comments.
6016
faa7f811
JM
60172013-05-09 Joseph Myers <joseph@codesourcery.com>
6018
ed41ffef
JM
6019 [BZ #15359]
6020 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6021 high part of pi/2.
6022 (__ieee754_rem_pio2l): Update comments.
6023
d0213cd0
JM
6024 [BZ #15429]
6025 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6026 high part of pi/2.
6027 (__ieee754_rem_pio2l): Update comments.
6028
0d3e777a
JM
6029 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6030 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6031
24f56066
JM
6032 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6033 M_PI_4l.
6034
faa7f811
JM
6035 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6036 (M_PI_34_LOG10El): Likewise.
6037 (M_PI2_LOG10El): Likewise.
6038 (M_PI4_LOG10El): Likewise.
6039 (M_PI_LOG10El): Likewise.
6040
e9a5e0fd
AZ
60412013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042
6043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6044
d8cd06db
JM
60452013-05-08 Joseph Myers <joseph@codesourcery.com>
6046
a0d9f9d7
JM
6047 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6048 (MINUS_ZERO_INIT): Likewise.
6049 (PLUS_INFTY_INIT): Likewise.
6050 (MINUS_INFTY_INIT): Likewise.
6051 (QNAN_VALUE_INIT): Likewise.
6052 (MAX_VALUE_INIT): Likewise.
6053 (MIN_VALUE_INIT): Likewise.
6054 (MIN_SUBNORM_VALUE_INIT): Likewise.
6055 (plus_zero): Initialize with PLUS_ZERO_INIT.
6056 (minus_zero): Initialize with MINUS_ZERO_INIT.
6057 (plus_infty): Initialize with PLUS_INFTY_INIT.
6058 (minus_infty): Initialize with MINUS_INFTY_INIT.
6059 (qnan_value): Initialize with QNAN_VALUE_INIT.
6060 (max_value): Initialize with MAX_VALUE_INIT.
6061 (min_value): Initialize with MIN_VALUE_INIT.
6062 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6063
ae08db3b
JM
6064 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6065 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6066 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6067 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6068
f44bf14a
JM
6069 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6070 (RUN_TEST_2_f): Likewise.
6071 (RUN_TEST_ff_f): Likewise.
6072 (RUN_TEST_fi_f): Likewise.
6073 (RUN_TEST_fl_f): Likewise.
6074 (RUN_TEST_fff_f): Likewise.
6075 (RUN_TEST_c_f): Likewise.
6076 (RUN_TEST_f_f1): Likewise.
6077 (RUN_TEST_fF_f1): Likewise.
6078 (RUN_TEST_fI_f1): Likewise.
6079 (RUN_TEST_ffI_f1): Likewise.
6080 (RUN_TEST_c_c): Likewise.
6081 (RUN_TEST_cc_c): Likewise.
6082 (RUN_TEST_f_i): Likewise.
6083 (RUN_TEST_f_i_tg): Likewise.
6084 (RUN_TEST_ff_i_tg): Likewise.
6085 (RUN_TEST_f_b): Likewise.
6086 (RUN_TEST_f_b_tg): Likewise.
6087 (RUN_TEST_f_l): Likewise.
6088 (RUN_TEST_f_L): Likewise.
6089 (RUN_TEST_sincos): Likewise.
6090 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6091 whether to show exceptions. Do not include ");\n" in return
6092 value.
6093 (special_functions): Output call to RUN_TEST_sincos instead of
6094 check_float calls. Update calls to new_test.
6095 (parse_args): Output call to single RUN_TEST_* macro instead of
6096 check_* calls and other assignments. Update calls to new_test.
6097
d8cd06db
JM
6098 [BZ #2546]
6099 [BZ #2560]
6100 [BZ #5159]
6101 [BZ #15426]
6102 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6103 input to result for tgamma overflow.
6104 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6105 (gamma_coeff): New variable.
6106 (NCOEFF): New macro.
6107 (gamma_positive): New function.
6108 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6109 underflow here. Use gamma_positive instead of exp (lgamma) for
6110 other arguments.
6111 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6112 (gamma_coeff): New variable.
6113 (NCOEFF): New macro.
6114 (gammaf_positive): New function.
6115 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6116 underflow here. Use gamma_positive instead of exp (lgamma) for
6117 other arguments.
6118 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6119 (gamma_coeff): New variable.
6120 (NCOEFF): New macro.
6121 (gammal_positive): New function.
6122 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6123 underflow here. Use gamma_positive instead of exp (lgamma) for
6124 other arguments.
6125 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6126 (gamma_coeff): New variable.
6127 (NCOEFF): New macro.
6128 (gammal_positive): New function.
6129 (__ieee754_gammal_r): Handle positive infinity, overflow and
6130 underflow here. Handle NaN the same as positive infinity. Remove
6131 check x < 0xffffffff for negative integers. Use gamma_positive
6132 instead of exp (lgamma) for other arguments.
6133 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6134 (gamma_coeff): New variable.
6135 (NCOEFF): New macro.
6136 (gammal_positive): New function.
6137 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6138 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6142 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6143 * sysdeps/generic/math_private.h (__gamma_productf): New
6144 prototype.
6145 (__gamma_product): Likewise.
6146 (__gamma_productl): Likewise.
6147 * math/Makefile (libm-calls): Add gamma_product.
6148 * math/libm-test.inc (tgamma_test): Add more tests.
6149 * sysdeps/i386/fpu/libm-test-ulps: Update.
6150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6151
bb7cf681
OB
61522013-05-08 Ondřej Bílka <neleai@seznam.cz>
6153
6154 * benchtests/bench-skeleton.c (main): Preheat CPU.
6155
ba853947
AJ
61562013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6157
6158 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6159
8347c74c
RM
61602013-05-07 Roland McGrath <roland@hack.frob.com>
6161
6162 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6163 and _dl_skip_args_internal.
6164
e8dd4791
CD
61652013-05-07 Carlos O'Donell <carlos@redhat.com>
6166
6167 * manual/message.texi (Message Translation): Talk about users.
6168 Message to key mapping impacts design.
6169
c7405830
RM
61702013-05-06 Roland McGrath <roland@hack.frob.com>
6171
a9173057
RM
6172 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6173
976e2f03
RM
6174 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6175
9723ffc5
RM
6176 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6177 * sysdeps/wordsize-64/glob64.c: ... here.
6178
962e6658
RM
6179 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6180 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6181 New macros.
6182
ee586a6d
RM
6183 * debug/getlogin_r_chk.c: Moved to ...
6184 * login/getlogin_r_chk.c: ... here.
6185 * debug/Makefile (routines): Move getlogin_r_chk to ...
6186 * login/Makefile (routines): ... here.
6187 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6188 * login/Versions (libc: GLIBC_2.4): ... here.
6189
355f9165
RM
6190 * io/poll.c (__poll): Renamed from poll.
6191 Add libc_hidden_def.
6192 (poll): Define as weak alias.
6193
bd9ffde6
RM
6194 * debug/ptsname_r_chk.c: Moved to ...
6195 * login/ptsname_r_chk.c: ... here.
6196 * debug/Makefile (routines): Move ptsname_r_chk to ...
6197 * login/Makefile (routines): ... here.
6198 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6199 * login/Versions (libc: GLIBC_2.4): ... here.
6200
8fb16a04
RM
6201 * posix/getlogin.c: Moved to ...
6202 * login/getlogin.c: ... here.
6203 * posix/getlogin_r.c: Moved to ...
6204 * login/getlogin_r.c: ... here.
6205 * posix/getlogin_r.c: Moved to ...
6206 * login/getlogin_r.c: ... here.
6207 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6208 * login/Makefile (routines): ... here.
6209 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6210 * login/Versions (libc: GLIBC_2.0): ... here.
6211
b99b892f
RM
6212 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6213 (setrlimit): Define as weak alias.
6214
c7405830
RM
6215 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6216 Call __ names for open, ftruncate, and close.
6217 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6218 (truncate): Define as weak alias.
6219
5bf96de5
JM
62202013-05-06 Joseph Myers <joseph@codesourcery.com>
6221
9ea3513c
JM
6222 * math/gen-libm-test.pl (parse_args): Initialize x before each
6223 test of frexp, modf and remquo.
6224
5bf96de5
JM
6225 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6226 test signgam value.
6227
16e616a7
AZ
62282013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6229
6230 [BZ #15418]
6231 [BZ #15419]
6232 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6233 internal tests.
6234 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6235
d5e82754
RM
62362013-05-06 Roland McGrath <roland@hack.frob.com>
6237
6238 * elf/dl-writev.h: New file.
6239 * elf/dl-misc.c: Include it.
6240 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6241 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6242
a7548d41
JM
62432013-05-04 Joseph Myers <joseph@codesourcery.com>
6244
b7dab1e4
JM
6245 * math/libm-test.inc (noXFails): Remove variable.
6246 (noXPasses): Likewise.
6247 (BUILD_COMPLEX_INT): Remove macro.
6248 (print_screen): Remove xfail argument.
6249 (print_screen_max_error): Likewise.
6250 (update_stats): Likewise.
6251 (print_max_error): Likewise. Update calls to other affected
6252 functions.
6253 (print_complex_max_error): Likewise.
6254 (test_single_exception): Update calls to print_screen.
6255 (test_single_errno): Likewise.
6256 (check_float_internal): Remove xfail argument. Update calls to
6257 other affected functions.
6258 (check_float): Likewise.
6259 (check_complex): Likewise.
6260 (check_int): Likewise.
6261 (check_long): Likewise.
6262 (check_bool): Likewise.
6263 (check_longlong): Likewise.
6264 (main): Don't print noXFails and noXPasses.
6265 * math/gen-libm-test.pl (top level): Don't mention expected
6266 failure handling in comment.
6267 (new_test): Don't handle expected failures.
6268 (parse_args): Don't mention expected failure handling in comment.
6269 (generate_testfile): Don't handle expected failures.
6270 (parse_ulps): Likewise.
6271 (print_ulps_file): Likewise.
6272 (get_failure): Remove function.
6273 (output_test): Don't handle expected failures.
6274 * make/README.libm-test: Don't mention expected failure handling.
6275
a7548d41
JM
6276 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6277 (minus_zero): Likewise.
6278 (plus_infty): Likewise.
6279 (minus_infty): Likewise.
6280 (qnan_value): Likewise.
6281 (max_value): Likewise.
6282 (min_value): Likewise.
6283 (min_subnorm_value): Likewise.
6284 (initialize): Do not initialize those variables dynamically.
6285
60bfd54c
RM
62862013-05-03 Roland McGrath <roland@hack.frob.com>
6287
cc0e6ed8
RM
6288 * io/open.c (__open_2): Moved to ...
6289 * io/open_2.c: ... this new file.
6290 * io/open64.c (__open64_2): Moved to ...
6291 * io/open64_2.c: ... this new file.
6292 * io/openat.c (__openat_2): Moved to ...
6293 * io/openat_2.c: ... this new file.
6294 * io/openat64.c (__openat64_2): Moved to ...
6295 * io/openat64_2.c: ... this new file.
6296 * io/Makefile (routines): Add them.
6297 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6298 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6299 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6300 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6301 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6302 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6303 (__openat64): Add hidden_ver.
6304 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6305 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6306
60bfd54c
RM
6307 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6308 Separately conditionalize setting of GLRO(dl_sysinfo) so
6309 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6310 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6311
83e7640f
AZ
63122013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6313
6314 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6315 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6316 definition.
6317 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6318 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6319 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6320 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6321 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6322
d5dc2af3
JM
63232013-05-03 Joseph Myers <joseph@codesourcery.com>
6324
c31a5b1e
JM
6325 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6326 test signgam value.
6327
d5dc2af3
JM
6328 * math/libm-test.inc (hypot_test): Do not use
6329 IGNORE_ZERO_INF_SIGN.
6330
164fd39d
AJ
63312013-05-03 Andreas Jaeger <aj@suse.de>
6332
6333 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6334 Linux 3.9.
6335 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6336 (PF_MAX): Adjust for VSOCK change.
6337
8237f48c
AZ
63382013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339
6340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6341
9df02941
CD
63422013-05-02 Carlos O'Donell <carlos@redhat.com>
6343
6344 [BZ #15264]
6345 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6346 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6347 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6348
d422395e
DM
63492013-05-02 David S. Miller <davem@davemloft.net>
6350
6351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6352
a07c5731
OB
63532013-05-01 Ondřej Bílka <neleai@seznam.cz>
6354
6355 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6356
1324e37f
RM
63572013-05-01 Roland McGrath <roland@hack.frob.com>
6358
6359 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6360
0695940b
RS
63612013-05-01 Richard Smith <richard@metafoo.co.uk>
6362
bb5f27ad 6363 [BZ #14952]
0695940b
RS
6364 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6365 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6366 Use __attribute__ ((__gnu_inline__)).
6367 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6368 Don't use __attribute__ ((__gnu_inline__)).
6369
10de07f5
JM
63702013-05-01 Joseph Myers <joseph@codesourcery.com>
6371
6372 [BZ #15423]
6373 * math/s_catan.c (__catan): Handle small real or imaginary part of
6374 input specially to avoid spurious underflow.
6375 * math/s_catanf.c (__catanf): Likewise.
6376 * math/s_catanh.c (__catanh): Likewise.
6377 * math/s_catanhf.c (__catanhf): Likewise.
6378 * math/s_catanhl.c (__catanhl): Likewise.
6379 * math/s_catanl.c (__catanl): Likewise.
6380 * math/libm-test.inc (catan_test): Add more tests.
6381 (catanh_test): Likewise.
6382 * sysdeps/i386/fpu/libm-test-ulps: Update.
6383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6384
cb4d5414
AZ
63852013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6386
6387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6388
caf84319
JM
63892013-04-30 Joseph Myers <joseph@codesourcery.com>
6390
6391 [BZ #15416]
6392 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6393 accurately for denominator in atan2.
6394 * math/s_catanf.c (__catanf): Likewise.
6395 * math/s_catanh.c (__catanh): Likewise.
6396 * math/s_catanhf.c (__catanhf): Likewise.
6397 * math/s_catanhl.c (__catanhl): Likewise.
6398 * math/s_catanl.c (__catanl): Likewise.
6399 * math/libm-test.inc (catan_test): Add more tests.
6400 (catanh_test): Likewise.
6401 * sysdeps/i386/fpu/libm-test-ulps: Update.
6402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6403
d569c6ee
SP
64042013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6405
6dbe713d
SP
6406 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6407
f0ee064b
SP
6408 * benchtests/Makefile (bench): Remove slow benchmarks.
6409 * benchtests/atan-inputs: Add slow benchmark inputs.
6410 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6411 (BENCH_FUNC): Accept variant offset.
6412 (VARIANT): Define.
6413 * benchtests/bench-skeleton.c (main): Run benchmark for each
6414 variant.
6415 * benchtests/cos-inputs: Add slow benchmark inputs.
6416 * benchtests/exp-inputs: Likewise.
6417 * benchtests/pow-inputs: Likewise.
6418 * benchtests/sin-inputs: Likewise.
6419 * benchtests/slowatan-inputs: Remove.
6420 * benchtests/slowatan.c: Remove.
6421 * benchtests/slowcos-inputs: Remove.
6422 * benchtests/slowcos.c: Remove.
6423 * benchtests/slowexp-inputs: Remove.
6424 * benchtests/slowexp.c: Remove.
6425 * benchtests/slowpow-inputs: Remove.
6426 * benchtests/slowpow.c: Remove.
6427 * benchtests/slowsin-inputs: Remove.
6428 * benchtests/slowsin.c: Remove.
6429 * benchtests/slowtan-inputs: Remove.
6430 * benchtests/slowtan.c: Remove.
6431 * benchtests/tan-inputs: Add slow benchmark inputs.
6432 * scripts/bench.pl: Parse comments and directives.
6433
d569c6ee
SP
6434 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6435 in CPPFLAGS.
6436 ($(objpfx)bench-%.c): Remove *-ITER.
6437 * benchtests/bench-modf.c: Remove definition of ITER.
6438 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6439 (main): Loop for DURATION seconds instead of fixed number of
6440 iterations.
6441 * scripts/bench.pl: Don't expect iterations in parameters.
6442
a6a242fe
RM
64432013-04-29 Roland McGrath <roland@hack.frob.com>
6444
6445 * io/fchdir.c (__fchdir): Renamed from fchdir.
6446 (fchdir): Define as weak alias.
6447
f2da7793
JM
64482013-04-29 Joseph Myers <joseph@codesourcery.com>
6449
6450 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6451 (ERRNO_EDOM): Likewise.
6452 (ERRNO_ERANGE): Likewise.
6453 (noErrnoTests): New variable.
6454 (init_max_error): Set errno to 0.
6455 (test_single_errno): New function.
6456 (test_errno): Likewise.
6457 (check_float_internal): Call test_errno. Set errno to 0.
6458 (check_complex): Refer to errno tests in comment.
6459 (check_int): Call test_errno. Set errno to 0.
6460 (check_long): Likewise.
6461 (check_bool): Likewise.
6462 (check_longlong): Likewise.
6463 (cos_test): Use ERRNO_* flags for errno tests instead of
6464 check_int.
6465 (expm1_test): Likewise.
6466 (fmod_test): Likewise.
6467 (ilogb_test): Likewise.
6468 (lgamma_test): Likewise.
6469 (pow_test): Likewise.
6470 (remainder_test): Likewise.
6471 (sin_test): Likewise.
6472 (tan_test): Likewise.
6473 (yn_test): Likewise.
6474 (initialize): Set errno to 0.
6475 (main): Print number of errno tests.
6476 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6477
b1a36ceb
AJ
64782013-04-29 Andreas Jaeger <aj@suse.de>
6479
c3ed8088
AJ
6480 [BZ #15084]
6481 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6482 and RES_USEVC.
6483
f1a24198
AJ
6484 [BZ #15085]
6485 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6486 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6487 unimplemented.
6488
9ce3b2cb
AJ
6489 [BZ #15380]
6490 * stdlib/random.c (__initstate): Return NULL if
6491 __initstate fails.
6492
f1a24198 6493 [BZ #15086]
b1a36ceb
AJ
6494 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6495 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6496 RES_SNGLKUPREOP.
6497
7e7b6f36
AZ
64982013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6499
6500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6501
4d14f449
JM
65022013-04-29 Joseph Myers <joseph@codesourcery.com>
6503
6504 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6505 of individual tests.
6506 (casin_test): Likewise.
6507 (casinh_test): Likewise.
6508
5b4217d7
JM
65092013-04-27 Joseph Myers <joseph@codesourcery.com>
6510
6511 [BZ #15409]
6512 * math/s_catan.c (__catan): Handle arguments with large real or
6513 imaginary part separately without squaring.
6514 * math/s_catanf.c (__catanf): Likewise.
6515 * math/s_catanh.c (__catanh): Likewise.
6516 * math/s_catanhf.c (__catanhf): Likewise.
6517 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6518 and redefine.
6519 (__catanhl): Handle arguments with large real or imaginary part
6520 separately without squaring.
6521 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6522 and redefine.
6523 (__catanl): Handle arguments with large real or imaginary part
6524 separately without squaring.
6525 * math/libm-test.inc (catan_test): Add more tests.
6526 (catanh_test): Likewise.
6527 * sysdeps/i386/fpu/libm-test-ulps: Update.
6528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6529
4220c3ef
AJ
65302013-04-27 Andreas Jaeger <aj@suse.de>
6531
6532 [BZ #15007]
6533 * stdlib/stdlib.h: Update guards for qecvt.
6534 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6535 <stdlib.h>.
6536
4721b2d1
AM
65372013-04-27 Allan McRae <allan@archlinux.org>
6538
6539 * sysdeps/i386/fpu/libm-test-ulps: Update.
6540
f0302940
JM
65412013-04-26 Joseph Myers <joseph@codesourcery.com>
6542
9457fd95
JM
6543 [BZ #15406]
6544 * math/s_catan.c: Include <float.h>.
6545 (__catan): Ensure underflow exception occurs for underflowed
6546 result.
6547 * math/s_catanf.c: Include <float.h>.
6548 (__catanf): Ensure underflow exception occurs for underflowed
6549 result.
6550 * math/s_catanh.c: Include <float.h>.
6551 (__catanh): Ensure underflow exception occurs for underflowed
6552 result.
6553 * math/s_catanhf.c: Include <float.h>.
6554 (__catanhf): Ensure underflow exception occurs for underflowed
6555 result.
6556 * math/s_catanhl.c: Include <float.h>.
6557 (__catanhl): Ensure underflow exception occurs for underflowed
6558 result.
6559 * math/s_catanl.c: Include <float.h>.
6560 (__catanl): Ensure underflow exception occurs for underflowed
6561 result.
6562 * math/libm-test.inc (catan_test): Add more tests.
6563 (catanh_test): Likewise.
6564
f0302940
JM
6565 [BZ #15405]
6566 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6567 underflowed result.
6568 * math/s_ccoshf.c (__ccoshf): Likewise.
6569 * math/s_ccoshl.c (__ccoshl): Likewise.
6570 * math/s_csin.c (__csin): Likewise.
6571 * math/s_csinf.c (__csinf): Likewise.
6572 * math/s_csinh.c (__csinh): Likewise.
6573 * math/s_csinhf.c (__csinhf): Likewise.
6574 * math/s_csinhl.c (__csinhl): Likewise.
6575 * math/s_csinl.c (__csinl): Likewise.
6576 * math/libm-test.inc (ccos_test): Add more tests.
6577 (ccosh_test): Likewise.
6578 (csin_test): Likewise.
6579 (csinh_test): Likewise.
6580
aa630f59
AZ
65812013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6582
6583 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6584 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6585 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6586 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6587 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6588 powerpc/power5+/fpu folders.
6589 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6590
6591
1b835983
MT
65922013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6593
6594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6595
73709b26
JM
65962013-04-25 Joseph Myers <joseph@codesourcery.com>
6597
6598 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6599 additions to variable.
6600 [$(config-machine) = x86_64] (modules-names): Likewise.
6601 ($(objpfx)tst-audit3): Remove dependency.
6602 ($(objpfx)tst-audit3.out): Likewise.
6603 ($(objpfx)tst-audit4): Likewise.
6604 ($(objpfx)tst-audit4.out): Likewise.
6605 ($(objpfx)tst-audit5): Likewise.
6606 ($(objpfx)tst-audit5.out): Likewise.
6607 ($(objpfx)tst-audit6): Likewise.
6608 ($(objpfx)tst-audit6.out): Likewise.
6609 ($(objpfx)tst-audit7): Likewise.
6610 ($(objpfx)tst-audit7.out): Likewise.
6611 (tst-audit3-ENV): Remove variable.
6612 (tst-audit4-ENV): Likewise.
6613 (tst-audit5-ENV): Likewise.
6614 (tst-audit6-ENV): Likewise.
6615 (tst-audit7-ENV): Likewise.
6616 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6617 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6618 addition to variable.
6619 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6620 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6621 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6622 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6623 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6624 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6625 tst-audit3, tst-audit4 and tst-audit5.
6626 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6627 tst-audit6 and tst-audit7.
6628 [$(subdir) = elf] (modules-names): Add audit modules for those
6629 tests.
6630 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6631 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6632 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6633 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6634 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6635 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6636 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6637 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6638 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6639 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6640 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6641 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6642 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6643 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6644 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6645 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6646 Likewise.
6647 [$(subdir) = elf && $(config-cflags-avx) = yes]
6648 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6649 [$(subdir) = elf && $(config-cflags-avx) = yes]
6650 (CFLAGS-tst-auditmod4a.c): Likewise.
6651 [$(subdir) = elf && $(config-cflags-avx) = yes]
6652 (CFLAGS-tst-auditmod4b.c): Likewise.
6653 [$(subdir) = elf && $(config-cflags-avx) = yes]
6654 (CFLAGS-tst-auditmod6b.c): Likewise.
6655 [$(subdir) = elf && $(config-cflags-avx) = yes]
6656 (CFLAGS-tst-auditmod6c.c): Likewise.
6657 [$(subdir) = elf && $(config-cflags-avx) = yes]
6658 (CFLAGS-tst-auditmod7b.c): Likewise.
6659 * elf/tst-audit3.c: Move to ...
6660 * sysdeps/x86_64/tst-audit3.c: ... here.
6661 * elf/tst-audit4.c: Move to ...
6662 * sysdeps/x86_64/tst-audit4.c: ... here.
6663 * elf/tst-audit5.c: Move to ...
6664 * sysdeps/x86_64/tst-audit5.c: ... here.
6665 * elf/tst-audit6.c: Move to ...
6666 * sysdeps/x86_64/tst-audit6.c: ... here.
6667 * elf/tst-audit7.c: Move to ...
6668 * sysdeps/x86_64/tst-audit7.c: ... here.
6669 * elf/tst-auditmod3a.c: Move to ...
6670 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6671 * elf/tst-auditmod3b.c: Move to ...
6672 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6673 * elf/tst-auditmod4a.c: Move to ...
6674 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6675 * elf/tst-auditmod4b.c: Move to ...
6676 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6677 * elf/tst-auditmod5a.c: Move to ...
6678 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6679 * elf/tst-auditmod5b.c: Move to ...
6680 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6681 * elf/tst-auditmod6a.c: Move to ...
6682 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6683 * elf/tst-auditmod6b.c: Move to ...
6684 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6685 * elf/tst-auditmod6c.c: Move to ...
6686 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6687 * elf/tst-auditmod7a.c: Move to ...
6688 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6689 * elf/tst-auditmod7b.c: Move to ...
6690 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6691
1ef74943
PP
66922013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6693
6694 [BZ #15366]
6695 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6696 define unconditionally.
6697 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6698 define unconditionally.
6699 (INT8_C, INT16_C, etc.): Likewise.
6700
93fd48c5
MR
67012013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6702
ae9552cf
MR
6703 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6704 __ehdr_start with hidden visibility.
6705
93fd48c5
MR
6706 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6707
418601aa
CD
67082013-04-24 Carlos O'Donell <carlos@redhat.com>
6709
6710 * math/libm-test.inc (cos_test): Use accurate hex constants.
6711 (sincost_test): Likewise.
6712
2f38fbfe
JM
67132013-04-24 Joseph Myers <joseph@codesourcery.com>
6714
5e221800
JM
6715 * math/libm-test.inc (catan_test): Add more tests.
6716 (catanh_test): Likewise.
6717
77f143fd
JM
6718 * math/s_catanf.c (__catanf): Use suffixed floating-point
6719 constants.
6720 * math/s_catanhf.c (__catanhf): Likewise.
6721 * math/s_catanhl.c (__catanhl): Likewise.
6722 * math/s_catanl.c (__catanl): Likewise.
6723
2f38fbfe
JM
6724 [BZ #15394]
6725 * math/s_catan.c (__catan): Calculate imaginary part of result
6726 with log1p not log unless computing log of number close to 0.
6727 * math/s_catanf.c (__catanf): Likewise.
6728 * math/s_catanl.c (__catanl): Likewise.
6729 * math/s_catanh.c (__catanh): Calculate real part of result with
6730 log1p not log unless computing log of number close to 0.
6731 * math/s_catanhf.c (__catanhf): Likewise.
6732 * math/s_catanhl.c (__catanhl): Likewise.
6733 * math/libm-test.inc (catan_test): Add more tests.
6734 (catanh_test): Likewise.
6735 * sysdeps/i386/fpu/libm-test-ulps: Update.
6736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6737
45d69176
SP
67382013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6739
6740 * benchtests/Makefile: Mention files in which fast and slow
6741 paths of math functions are implemented.
6742
87f51853
RM
67432013-04-23 Roland McGrath <roland@hack.frob.com>
6744
6745 * sysdeps/posix/timespec_get.c: New file.
6746
3c026539
AZ
67472013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6748
6749 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6750 POWER.
6751 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6752 for POWER.
6753 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6754 powerpc/power5/fpu folders.
6755 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6756 * benchtests/Makefile: Add modf testcase.
6757 * benchtests/bench-modf.c: New file: Benchmark test for mo
6758
ff491d14
SP
67592013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6760
6761 [BZ #14888]
6762 * time/Makefile (tests): Add tst-strptime-whitespace.
6763 * time/strptime_l.c (get_number): Use ISSPACE.
6764 (__strptime_internal): Likewise.
6765 * time/tst-strptime-whitespace.c: New test case.
6766
7ed3f4e8
AS
67672013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6768
6769 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6770 member.
6771 (_nss_files_init): Set it here.
6772
5c95f7b6
HC
67732013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6774
6775 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6776 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6777 unsigned.
6778
d34c9158
JBG
67792013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6780
6781 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6782
2169712d
SP
67832013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6784
6785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6786 size just once.
6787
29c5de99
DM
67882013-04-21 David S. Miller <davem@davemloft.net>
6789
6790 * po/ru.po: Update Russion translation from translation project.
6791
ccdad15d
AC
67922013-04-17 Adam Conrad <adconrad@0c3.net>
6793
6794 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6795 and setfsgid.
6796
0f122b8d
CD
67972013-04-17 Carlos O'Donell <carlos@redhat.com>
6798
5c5b07da 6799 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6800 * configure: Regenerate.
5c5b07da 6801 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6802 Add example to error message.
6803 * sysdeps/i386/configure: Regenerate.
6804
037714dd
SP
68052013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6806
6807 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6808 slowtan.
6809 * benchtests/cos-inputs: New file.
6810 * benchtests/slowcos-inputs: New file.
6811 * benchtests/slowcos.c: New file.
6812 * benchtests/slowtan-inputs: New file.
6813 * benchtests/slowtan.c: New file.
6814 * benchtests/tan-inputs: New file.
6815
e913141d
RM
68162013-04-16 Roland McGrath <roland@hack.frob.com>
6817
6818 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6819 considered kosher.
6820
a2964074
SP
68212013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6822
4856bcd2
SP
6823 * benchtests/Makefile: Include cppflags-iterator.mk to add
6824 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6825
a2964074
SP
6826 * Makefile.in (bench-clean): New target.
6827 * benchtests/Makefile (bench-clean): Likewise.
6828
9fbf9aca
DH
68292013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6830
6831 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6832
207d1e2a
TS
68332013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6834
6835 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6836
306dfba9
AS
68372013-04-15 Andreas Schwab <schwab@suse.de>
6838
6839 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6840 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6841 * nscd/pwdcache.c (cache_addpw): Likewise.
6842 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6843 more than recsize.
6844
206a6699
SP
68452013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6846
6847 * benchtests/Makefile (bench): Write all output to
6848 bench-out.tmp together.
6849
0582f6b3
AS
68502013-04-15 Andreas Schwab <schwab@suse.de>
6851
6852 * nscd/nscd.c (main): Don't fork again after closing files.
6853
acb4325f
SP
68542013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6855
5cb26d0a
SP
6856 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6857
acb4325f
SP
6858 * benchtests/Rules (bench-deps): Collect dependencies into a
6859 single variable. Add Makefile to dependencies.
6860 ($(objpfx)bench-%.c): Depend on bench-deps.
6861
47792506
RM
68622013-04-12 Roland McGrath <roland@hack.frob.com>
6863 Xavier Roche <roche+kml2@exalead.com>
6864
6865 [BZ #15361]
6866 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6867 just that it's a file descriptor.
6868 * manual/llio.texi (Synchronizing AIO Operations): Update description
6869 for EBADF error from aio_fsync.
6870
8fc1bee5
SP
68712013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6872
6873 * Rules (bench): Move target definition...
6874 * benchtests/Makefile: ... here.
6875
aba5e333
CD
68762013-04-11 Carlos O'Donell <carlos@redhat.com>
6877
6878 * math/libm-test.inc (cos_test): Fix PI/2 test.
6879 (sincos_test): Likewise.
6880 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6881 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6882
273cdee8
AS
68832013-04-11 Andreas Schwab <schwab@suse.de>
6884
6ecec3b6
AS
6885 [BZ #13988]
6886 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6887 accept exponent character only when digits were seen.
6888 * stdio-common/Makefile (tests): Add bug26.
6889 * stdio-common/bug26.c: New file.
6890
273cdee8
AS
6891 [BZ #14293]
6892 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6893 non-freeable.
6894
8da491f5
SP
68952013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6896
01dc6df9
SP
6897 * Makeconfig (rtld-prefix): Define built linker prefix.
6898 * Rules (run-bench): Use it.
6899 * math/Makefile (run-regen-ulps): Likewise.
6900
8da491f5
SP
6901 * Rules (bench): Remove eval.
6902
abe7f530
SP
69032013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6904 Roland McGrath <roland@hack.frob.com>
6905 Ondrej Bilka <neleai@seznam.cz>
6906
6907 [BZ #15346]
6908 * time/getdate.c: Include ctype.h and alloca.h.
6909 (__getdate_r): Trim leading and trailing spaces of input.
6910 * time/tst-getdate.c (tests): Add tests with leading and
6911 trailing spaces.
6912
61c23e62
RM
69132013-04-08 Roland McGrath <roland@hack.frob.com>
6914
6915 [BZ #14280]
6916 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6917 when computing value.
6918
7208a313
CD
69192013-04-06 Carlos O'Donell <carlos@redhat.com>
6920
085b2d41
CD
6921 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6922 Use testrun.sh to run libm tests.
6923
7208a313
CD
6924 [BZ #15309]
6925 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6926
872c0acd
MM
69272013-04-06 Marko Myllynen <myllynen@redhat.com>
6928
6929 [BZ #15264]
6930 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6931
26510bdd
CD
69322013-04-06 Carlos O'Donell <carlos@redhat.com>
6933
6934 * Makefile.in (regen-ulps): New target.
6935 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6936 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6937 [ifneq (no,$(PERL)] (regen-ulps): New target.
6938 [ifeq (no,$(PERL)] (regen-ulps): New target.
6939 * math/libm-test.inc (ulps_file_name): Define.
6940 (output_dir): New variable.
6941 (options): Add "output-dir" option.
6942 (parse_opt): Handle 'o' case.
6943 (main): If output_dir is non-NULL use it as a prefix
6944 otherwise use "".
6945 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6946
a01f19c8
CD
69472013-04-06 Carlos O'Donell <carlos@redhat.com>
6948
6949 [BZ #10060, #10062]
6950 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6951 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6952 fail configure if __sync_val_compare_and_swap is not inlined.
6953 * sysdeps/i386/configure: Regenerate.
6954 * configure.in: Build for i686 when configured for i386.
6955 * configure: Regenerate.
6956 * README: Remove i386 reference.
6957
b7a329a5
CD
69582013-04-06 Carlos O'Donell <carlos@redhat.com>
6959
6960 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6961 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6962
bf0f50df
TS
69632013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6964
ee091edf
TS
6965 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6966 (lmsnanval): New variables.
6967 (F): Add conversion tests.
6968 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6969 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6970
a8b792d6
TS
6971 * stdio-common/tstdiomisc.c (F): Properly collect individual
6972 tests' results.
6973
a1cbf437
TS
6974 [BZ #14686, #15336]
6975 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6976 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6977 Instead, use input NaN values or generate a qNaN by arithmetic
6978 operation. Also fix bugs to comply with the standard.
6979 * math/libm-test.inc (remainder_test): Add more tests.
6980
8b43a0c9
TS
6981 [BZ #15335, #15342]
6982 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6983 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6984 input NaN values or generate a qNaN by arithmetic operation.
6985
d91da4ce
TS
6986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6987 unreachable code.
6988
bf0f50df
TS
6989 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6990 definitions.
6991
05e166c8
JM
69922013-04-03 Joseph Myers <joseph@codesourcery.com>
6993
6994 [BZ #14478]
6995 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6996 underflowed result.
6997 * math/s_cexpf.c (__cexpf): Likewise.
6998 * math/s_cexpl.c (__cexpl): Likewise.
6999 * math/libm-test.inc (cexp_test): Add more tests.
7000
1cef1b19
AS
70012013-04-03 Andreas Schwab <schwab@suse.de>
7002
7003 [BZ #15330]
7004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7005 order arrays from heap if bigger than alloca cutoff.
7006
74d87055
TS
70072013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7008
7009 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7010 (SNAN_TESTS_double): Refer to GCC PR56831.
7011 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7012 GCC PR56828.
7013
d755bba4
SP
70142013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7015
90d5d5bb
SP
7016 * Rules (bench): Move bench.out after the run is complete.
7017
73e0cd5d
SP
7018 * Rules (bench): Echo currently running benchmark.
7019
64aabd4b
SP
7020 * benchtests/Makefile (bench): Add atan and slowatan.
7021 * benchtests/atan-inputs: New file.
7022 * benchtests/slowatan-inputs: New file.
7023 * benchtests/slowatan.c: New file.
7024
c871eccd
SP
7025 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7026 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7027 its value.
7028
d755bba4
SP
7029 [BZ #15305]
7030 * sysdeps/unix/sysv/linux/kernel-features.h
7031 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7032 __ASSUME_XFS_RESTRICTED_CHOWN.
7033 * sysdeps/unix/sysv/linux/pathconf.c
7034 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7035 Save and restore errno.
7036
52ce4860
JM
70372013-04-02 Joseph Myers <joseph@codesourcery.com>
7038
7039 [BZ #15327]
7040 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7041 arguments using __kernel_casinh.
7042 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7043 arguments using __kernel_casinhf.
7044 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7045 arguments using __kernel_casinhl.
7046 * math/libm-test.inc (cacosh_test): Add more tests.
7047 * sysdeps/i386/fpu/libm-test-ulps: Update.
7048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7049
81f311c2
SP
70502013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7051
e7906a47
SP
7052 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7053 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7054
92e3664b
SP
7055 * bench/Makefile (bench): Add sin and slowsin.
7056 * benchtests/sin-inputs: New file.
7057 * benchtests/slowsin-inputs: New file.
7058 * benchtests/slowsin.c: New file.
7059
81f311c2
SP
7060 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7061 (bench): Add slowexp and slowpow.
7062 (exp-ITER): Increase iterations.
7063 (pow-ITER): Likewise.
7064 * benchtests/exp-inputs: Change input.
7065 * benchtests/pow-inputs: Likewise.
7066 * benchtests/slowexp-inputs: New file.
7067 * benchtests/slowexp.c: New file.
7068 * benchtests/slowpow-inputs: New file.
7069 * benchtests/slowpow.c: New file.
7070
ab0f1aa9
AZ
70712013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7072
7073 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7074 instructions.
7075 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7076 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7077 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7078 * benchtests/Makefile: Add rint benchtest.
7079 * benchtests/rint-inputs: Input for rint benchtest.
7080
57267616
TS
70812013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7082
7083 * Versions.def (libm): Add GLIBC_2.18.
7084 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7085 hidden libm prototypes.
7086 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7087 * math/Makefile (libm-calls): Add s_issignaling.
7088 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7089 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7090 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7091 declaration.
7092 * math/math.h [__USE_GNU] (issignaling): New macro.
7093 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7094 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7095 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7096 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7099 * manual/arith.texi (issignaling): New section.
7100 * manual/libm-err-tab.pl (@all_functions): Update comment.
7101 * math/gen-libm-test.pl (parse_args): Apply special handling for
7102 issignaling.
7103 * math/libm-test.inc (print_float, issignaling_test): New
7104 functions.
7105 (check_float_internal): Add issignaling checks.
7106 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7107 default definition.
7108 * sysdeps/powerpc/math-tests.h: New file.
7109 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7110 tests.
7111 * math/test-snan.c (TEST_FUNC): Likewise.
7112
6142896d
DM
71132013-03-30 David S. Miller <davem@davemloft.net>
7114
7115 * po/de.po: Update from translation team.
7116
ccc8cadf
JM
71172013-03-30 Joseph Myers <joseph@codesourcery.com>
7118
7119 [BZ #10357]
7120 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7121 imaginary part less than 1.0 and real part less than 0.5
7122 specially.
7123 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7124 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7125 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7126 (cacos_test): Add more tests.
7127 (casin_test): Likewise.
7128 (casinh_test): Likewise.
7129 * sysdeps/i386/fpu/libm-test-ulps: Update.
7130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7131
0f6a8d4b
SP
71322013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7133
0d1029de
SP
7134 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7135 ONE with its value.
7136
c2d94018
SP
7137 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7138 (__pow_mp): Replace ONE and MONE with their values.
7139 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7141 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7142 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7143 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7144 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7145
27ec37f1
SP
7146 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7147
a64d7e0e
SP
7148 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7149 (__pow_mp): Replace ZERO and MZERO with their values.
7150 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7152 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7154 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7155 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7156 (__sqr): Likewise.
7157
d26dd3eb
SP
7158 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7159
0f6a8d4b
SP
7160 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7161
e57b0c61
RM
71622013-03-28 Roland McGrath <roland@hack.frob.com>
7163
7164 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7165 Declare with __attribute__ ((weak)).
7166 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7167 Call __call_tls_dtors only if it's not NULL.
7168
356b3480
RM
71692013-03-28 Roland McGrath <roland@hack.frob.com>
7170
288f7d79
RM
7171 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7172 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7173 magic __ehdr_start linker symbol if it's defined.
7174 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7175 them up here if it was already done.
7176
dc0a0263
RM
7177 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7178 (_dl_aux_init): Use const in cast when setting it.
7179 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7180 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7181 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7182
3d3436ae
RM
7183 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7184 Declare them here.
7185 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7186 * csu/libc-tls.c: Nor here.
7187 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7188
356b3480
RM
7189 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7190 (__libc_message): Never call vsyslog.
7191
b0f1246a
AM
71922013-03-28 Alan Modra <amodra@gmail.com>
7193
7194 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7195 Define as empty.
7196 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7197 Likewise.
7198
fbbe2b9a
AZ
71992013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7200
7201 [BZ #15214]
7202 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7203 underflow.
7204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7205
1728ab37
SP
72062013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7207
7a86be6e
SP
7208 [BZ #15304]
7209 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7210 Don't add gid passed as argument.
7211
1728ab37
SP
7212 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7213
3a7182a1
JM
72142013-03-27 Joseph Myers <joseph@codesourcery.com>
7215
7216 [BZ #15307]
7217 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7218 imaginary part between 1.0 and 1.5 and real part less than 0.5
7219 specially.
7220 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7221 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7222 * math/libm-test.inc (cacos_test): Add more tests.
7223 (casin_test): Likewise.
7224 (casinh_test): Likewise.
7225 * sysdeps/i386/fpu/libm-test-ulps: Update.
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227
6f2e90e7
SP
72282013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7229
5739f705
SP
7230 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7231 constants.
7232 (norm): Likewise.
7233 (denorm): Likewise.
7234 (__dbl_mp): Likewise.
7235 (add_magnitudes): Likewise.
7236 (sub_magnitudes): Likewise.
7237 (__add): Likewise.
7238 (__sub): Likewise.
7239 (__mul): Likewise.
7240 (__sqr): Likewise.
7241 (__inv): Likewise.
7242 (__dvd): Likewise.
7243
e375e83d
SP
7244 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7245 commented code.
7246 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7247 (__dubcos): Likewise.
7248 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7249 (__ieee754_acos): Likewise.
7250 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7251 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7252 (__exp1): Likewise.
7253 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7255 (log1): Likewise.
7256 (my_log2): Likewise.
7257 (checkint): Likewise.
7258 * sysdeps/ieee754/dbl-64/e_remainder.c
7259 (__ieee754_remainder): Likewise.
7260 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7261 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7262 (bsloww): Likewise.
7263 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7264
6f2e90e7
SP
7265 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7266 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7267 MANTISSA_STORE_T to store computations on mantissa. Use
7268 macros for rounding and division.
7269 (denorm): Likewise.
7270 (__dbl_mp): Likewise.
7271 (add_magnitudes): Likewise.
7272 (sub_magnitudes): Likewise.
7273 (__mul): Likewise.
7274 (__sqr): Likewise.
7275 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7276 powers of two in terms of TWOPOW macro.
7277 (mp_no): Make type of mantissa as MANTISSA_T.
7278 [!RADIXI]: Define RADIXI.
7279 [!TWO52]: Define TWO52.
7280 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7281
fce14d4e
AZ
72822013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7283
7284 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7285 llroundl symbol when building for PPC32.
7286
9ad027fb
MW
72872013-03-24 Mark H Weaver <mhw@netris.org>
7288
7289 * manual/arith.texi (Normalization Functions): Fix prototypes for
7290 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7291
e42a38dd
AZ
72922013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7293
7294 [BZ #13889]
7295 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7296 high value to check if expl overflow.
7297 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7298 to check for underflow and overflow.
7299 * math/libm-test.inc: Add exp test.
7300
2e0fb521
DL
73012013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7302
7303 [BZ #11120]
7304 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7305 with NOT_IN_libc.
7306
b5784d95
AZ
73072013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7308
7309 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7310 symbol.
7311
5aa4a1a1
TS
73122013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7313
bdef0be7
TS
7314 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7315 wrap blocks consisting of several statements.
7316
5aa4a1a1
TS
7317 * sysdeps/generic/math-tests.h: New file.
7318 * sysdeps/i386/fpu/math-tests.h: Likewise.
7319 * math/test-snan.c: Include it.
7320 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7321
98c48fe5
JM
73222013-03-21 Joseph Myers <joseph@codesourcery.com>
7323
7324 [BZ #15285]
7325 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7326 (__ieee754_j0l): Do not improve calculations using cos of twice
7327 input for inputs above LDBL_MAX / 2.0L.
7328 (__ieee754_y0l): Likewise.
7329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7330 (__ieee754_j1l): Do not improve calculations using cos of twice
7331 input for inputs above LDBL_MAX / 2.0L.
7332 (__ieee754_y1l): Likewise.
7333 * math/libm-test.inc (j0_test): Add another test.
7334 (j1_test): Likewise.
7335 (y0_test): Likewise.
7336 (y1_test): Likewise.
7337 * sysdeps/i386/fpu/libm-test-ulps: Update.
7338
3775a8bc
SP
73392013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7340
7341 * Rules ($(objpfx)bench-%.c): Include code from a C source
7342 file.
7343
0a1b2ae6
JM
73442013-03-21 Joseph Myers <joseph@codesourcery.com>
7345
7346 [BZ #15287]
7347 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7348 imaginary part 1.0 and real part less than 0.5 specially.
7349 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7350 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7351 * math/libm-test.inc (cacos_test): Add more tests.
7352 (casin_test): Likewise.
7353 (casinh_test): Likewise.
7354 * sysdeps/i386/fpu/libm-test-ulps: Update.
7355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7356
b33d4ce4
SP
73572013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7358
7359 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7360 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7361
bef0b507
JM
73622013-03-20 Joseph Myers <joseph@codesourcery.com>
7363
7364 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7365 * config.make.in (config-cflags-sse4): Remove variable.
7366 (config-cflags-avx): Likewise.
7367 (config-cflags-sse2avx): Likewise.
7368 (config-cflags-novzeroupper): Likewise.
7369 (config-asflags-i686): Likewise.
7370 (have-mfma4): Likewise.
7371 (have-as-vis3): Likewise.
7372 (MIG): Likewise.
7373 * configure.in (MIG): Do not AC_SUBST.
7374 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7375 (libc_cv_cc_sse4): Do not AC_SUBST.
7376 (libc_cv_cc_avx): Likewise.
7377 (libc_cv_cc_sse2avx): Likewise.
7378 (libc_cv_cc_novzeroupper): Likewise.
7379 (libc_cv_cc_fma4): Likewise.
7380 (libc_cv_as_i686): Likewise.
7381 (libc_cv_sparc_as_vis3): Likewise.
7382 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7383 LIBC_CONFIG_VAR.
7384 (config-asflags-i686): Likewise.
7385 (config-cflags-avx): Likewise.
7386 (config-cflags-sse2avx): Likewise.
7387 (have-mfma4): Likewise.
7388 (config-cflags-novzeroupper): Likewise.
7389 * sysdeps/mach/configure.in (MIG): Likewise.
7390 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7391 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7392 LIBC_CONFIG_VAR.
7393 (config-cflags-avx): Likewise.
7394 (config-cflags-sse2avx): Likewise.
7395 (have-mfma4): Likewise.
7396 (config-cflags-novzeroupper): Likewise.
7397 * configure: Regenerated.
7398 * sysdeps/i386/configure: Likewise.
7399 * sysdeps/mach/configure: Likewise.
7400 * sysdeps/sparc/configure: Likewise.
7401 * sysdeps/x86_64/configure: Likewise.
7402
912cc4b3
RM
74032013-03-20 Roland McGrath <roland@hack.frob.com>
7404
7405 [BZ #14812]
7406 * locale/programs/localedef.c (options): Put N_ translation marker
7407 on argument names, not just descriptions.
7408
04eed2b0
MS
74092013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7410
7411 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7412
a065ceff
OB
74132013-03-20 Ondřej Bílka <neleai@seznam.cz>
7414
9bb2a810 7415 [BZ #14176]
a065ceff
OB
7416 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7417
a600e5ce
RM
74182013-03-19 Roland McGrath <roland@hack.frob.com>
7419
7420 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7421 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7422 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7423 [!BEFORE_ABORT] (before_abort): New function.
7424 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7425 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7426 (writev_for_fatal): New function.
7427 (WRITEV_FOR_FATAL): New macro; call that.
7428 (backtrace_and_maps): New function.
7429 (BEFORE_ABORT): New macro; call that.
7430 (struct str_list): Type removed.
7431 (__libc_message, __libc_fatal): Functions removed.
7432 Include <sysdeps/posix/libc_fatal.c> instead.
7433
6b18bea6
JM
74342013-03-19 Joseph Myers <joseph@codesourcery.com>
7435
7436 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7437 constants.
7438 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7439 double constants.
7440
aaa8cb4b
AS
74412013-03-19 Andreas Schwab <schwab@suse.de>
7442
44673770
AS
7443 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7444 * sysdeps/gnu/configure: Regenerate.
7445
aaa8cb4b
AS
7446 * configure.in: Substitute libc_cv_rtlddir.
7447 * configure: Regenerate.
7448 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7449 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7450 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7451 * elf/Makefile (install-others, CFLAGS-interp.c)
7452 (ldso_install, common-ldd-rewrite): Likewise.
7453 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7454 $(inst_slibdir)/$(rtld-installed-name).
7455 * scripts/rellns-sh: Add -p option.
7456 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7457 for source.
7458
d3cfc668
SP
74592013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7460
7461 * manual/nptl.texi: Renamed to ...
7462 * manual/threads.texi: ... this.
7463 * manual/Makefile (chapters): Update.
7464
0e2b9cdd
RM
74652013-03-18 Roland McGrath <roland@hack.frob.com>
7466
7467 [BZ #14812]
7468 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7469 on argument names, not just descriptions.
0e2b9cdd
RM
7470 * malloc/memusagestat.c (options): Likewise.
7471 * nss/getent.c (options): Likewise.
63270c24
RM
7472
74732013-03-18 Benno Schulenberg <bensberg@justemail.net>
7474
7475 [BZ #14812]
7476 * iconv/iconv_prog.c (options): Put N_ translation marker
7477 on argument names, not just descriptions.
7478 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7479
b2e1393c
OB
74802013-03-18 Ondrej Bilka <neleai@seznam.cz>
7481
7482 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7483 implementation which is faster on all x86_64 architectures.
7484 Tested on AMD, Intel Nehalem, SNB, IVB.
7485 * sysdeps/x86_64/strnlen.S: Likewise.
7486
7487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7488 Remove all multiarch strlen and strnlen versions.
7489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7490 Remove strlen and strnlen related parts.
7491
7492 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7493 Inline strlen part.
7494 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7495
7496 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7497 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7498 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7499 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7500 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7501 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7502
ec4ff04d
CD
75032013-03-17 Carlos O'Donell <carlos@redhat.com>
7504
7505 * manual/memory.texi (Malloc Tunable Parameters):
7506 Sort parameters alphabetically. Add comments for missing entries.
7507
cd18e90a
DM
75082013-03-17 David S. Miller <davem@davemloft.net>
7509
7510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7511
2a185d32
JM
75122013-03-16 Joseph Myers <joseph@codesourcery.com>
7513
d2f9799e
JM
7514 [BZ #15283]
7515 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7516 for arguments at most half maximum finite value.
7517 * math/libm-test.inc (j0_test): Add more tests.
7518 (j1_test): Likewise.
7519 (y0_test): Likewise.
7520 (y1_test): Likewise.
7521 * sysdeps/i386/fpu/libm-test-ulps: Update.
7522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7523
2a185d32
JM
7524 [BZ #14155]
7525 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7526 1 / x and functions P and Q for arguments above 0x1p256L.
7527 (__ieee754_y0l): Likewise.
7528 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7529 (__ieee754_y1l): Likewise.
7530 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7531 (j1_test): Likewise.
7532 (y0_test): Likewise.
7533 (y1_test): Likewise.
7534
6cbec759
TS
75352013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7536
7537 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7538 variable.
7539
bc16e260
RM
75402013-03-15 Roland McGrath <roland@hack.frob.com>
7541
aefc9b8c
RM
7542 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7543 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7544 zero since it's initialized to EXEC_PAGESIZE.
7545
bc16e260
RM
7546 * sysdeps/unix/sysv/linux/ldsodefs.h
7547 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7548 * sysdeps/generic/ldsodefs.h: ... here.
7549
a57da955
TS
75502013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7551
af00a34d
TS
7552 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7553
495ded2c
TS
7554 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7555 math/test-snan.c.
7556 * math/test-snan.c: Renamed from
7557 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7558 * math/Makefile (tests): Add test-snan.
7559 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7560 test-powerpc-snan.
7561
777b0332
TS
7562 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7563 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7564 functions.
7565 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7566 __builtin_nan family of functions.
7567 * math/libm-test.inc (initialize): Initialize qnan_value with
7568 __builtin_nan family of functions.
7569 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7570 Remove variables.
7571 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7572 Remove functions.
7573 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7574 storage class. Initialize qNaN_var and sNaN_var with
7575 __builtin_nan and __builtin_nans families of functions,
7576 respectively.
7577
64d063b8
TS
7578 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7579 (sqrt_test): Remove duplicate test with qNaN input.
7580 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7581 (round_test, signbit_test, significand_test): Note missing +/-Inf
7582 as well as qNaN tests.
7583
67e971f1
TS
7584 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7585 qNaN_var. Fix a few strings, too.
7586 * math/libm-test.inc (nan_value): Rename to qnan_value.
7587 * math/gen-libm-test.pl (%beautify): Adjust to that.
7588 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7589 * math/test-misc.c (main): Likewise.
7590 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7591 to __qnan_bytes, and __qnan_union, respectively.
7592 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7593 Likewise.
7594 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7595 and lqnanval, respectively.
7596 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7597 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7598 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7599 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7600
64487e12
TS
7601 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7602 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7603 doubles.
7604
e015e27b
TS
7605 * math/test-misc.c (main): Fix copy'n'pastos.
7606 * misc/tst-efgcvt.c (special): Likewise.
7607
a57da955
TS
7608 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7609 Remove declarations.
7610
1e380345
SP
76112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7612
7613 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7614 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7615 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7616 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7617
ef26eece
AZ
76182013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7619
7620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7621 macro to return vdso values correctly in IFUNC implementations.
7622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7623 Optimization by using IFUNC.
7624
8cfdb7e0
SP
76252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7626 Richard Henderson <rth@redhat.com>
7627 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7628
7629 * Makefile.in (bench): New target.
7630 * NEWS: Mention the benchmark framework.
7631 * Rules (bench): Likewise.
7632 (binaries-bench): Generate binaries for functions to
7633 benchmark.
7634 * benchtests/Makefile: New makefile for benchmark tests.
7635 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7636 programs.
7637 * benchtests/exp-inputs: New input file for EXP function.
7638 * benchtests/pow-inputs: New input file for POW function.
7639 * scripts/bench.pl: New script to generate source files for
7640 benchmark programs.
7641
bcda9880
SP
76422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7643
d22ca8cd
SP
7644 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7645 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7646 computations on mantissa. Use macros for rounding and
7647 division.
7648 (denorm): Likewise.
7649 (__dbl_mp): Likewise.
7650 (add_magnitudes): Likewise.
7651 (sub_magnitudes): Likewise.
7652 (__mul): Likewise.
7653 (__sqr): Likewise.
7654 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7655 powers of two in terms of TWOPOW macro.
7656 (mp_no): Make type of mantissa as MANTISSA_T.
7657 [!RADIXI]: Define RADIXI.
7658 [!TWO52]: Define TWO52.
7659 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7660
bcda9880
SP
7661 * manual/nptl.texi (cindex): Modify threads to pthreads.
7662
06d5adfb
JM
76632013-03-15 Joseph Myers <joseph@codesourcery.com>
7664
7665 * sysdeps/x86_64/preconfigure: Regenerated.
7666
41c7328e
JM
76672013-03-14 Joseph Myers <joseph@codesourcery.com>
7668
7669 [BZ #14155]
7670 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7671 0x1p28 and above.
7672 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7673 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7674 0x1p28 and above.
7675 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7676 * math/libm-test.inc (j0_test): Do not allow one spurious
7677 underflow exception.
7678 (y1_test): Likewise.
7679
e25cfa60
SP
76802013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7681
0409959c
SP
7682 * manual/Makefile (chapters): Add nptl.
7683 * manual/debug.texi (Debugging Support): Add link to Threads
7684 chapter.
7685 * manual/nptl.texi: New file.
7686
e25cfa60
SP
7687 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7688
58a1335e
PB
76892013-03-14 Petr Baudis <pasky@ucw.cz>
7690
7691 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7692 for non-NULL pointer before the memory validity test. Pointed
7693 out by Holger Brunck <holger.brunck@keymile.com>.
7694
9dc7c64f
AS
76952013-03-13 Andreas Schwab <schwab@suse.de>
7696
7697 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7698 instead of .os.
7699
54206aa6
JM
77002013-03-13 Joseph Myers <joseph@codesourcery.com>
7701
7702 * timezone/zic.c: Update from tzcode 2013b.
7703
e98cdb38
CD
77042013-03-12 Carlos O'Donell <carlos@redhat.com>
7705
7706 * manual/install.texi (Configuring and compiling):
7707 Mention i686 and i586.
7708 * INSTALL: Regenerate.
7709
9967e003
RM
77102013-03-12 Roland McGrath <roland@hack.frob.com>
7711
7712 * sysdeps/init_array/elf-init.c: New file.
7713 * csu/elf-init.c
7714 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7715 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7716
7717 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7718 __gmon_start__ as global, but as static with a .preinit_array pointer.
7719 * sysdeps/init_array/gmon-start.c: New file. Use that.
7720 * sysdeps/init_array/crti.S: New file, empty except for comments.
7721 * sysdeps/init_array/crtn.S: Likewise.
7722
e6b5a293 77232013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7724
7725 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7726 definining bcopy.
80f844c9
OB
7727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7728 Remove Prefer_SSE_for_memop.
7729 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7730 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7731 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7733 memset-x86-64.
80f844c9 7734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7735 Remove bzero, memset ifunc support.
80f844c9
OB
7736 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7737 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7738 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7739 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7740
fb6b0fcb
AS
77412013-03-11 Andreas Schwab <schwab@suse.de>
7742
7743 [BZ #15234]
7744 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7745 by SHLIB_COMPAT.
7746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7747 (GLIBC_2.16): Remove pthread_atfork.
7748
3e6bd4b1
PP
77492013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7750
7751 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7752 (ptestcases.h): Likewise.
7753
222d7f00
RM
77542013-03-08 Roland McGrath <roland@hack.frob.com>
7755
7756 * Makeconfig ($(common-objpfx)config.status): Depend on
7757 sysdeps/*/preconfigure{,.in} too.
7758
1ba4f030
JM
77592013-03-08 Joseph Myers <joseph@codesourcery.com>
7760
a222d91a
JM
7761 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7762 (__free_hook): Use void * instead of __malloc_ptr_t.
7763 (__malloc_hook): Likewise.
7764 (__realloc_hook): Likewise.
7765 (__memalign_hook): Likewise.
7766 (__after_morecore_hook): Likewise.
7767 * malloc/arena.c (save_malloc_hook): Likewise.
7768 (save_free_hook): Likewise.
7769 * malloc/hooks.c (malloc_hook_ini): Likewise.
7770 (realloc_hook_ini): Likewise.
7771 (memalign_hook_ini): Likewise.
7772 * malloc/malloc.c (malloc_hook_ini): Likewise.
7773 (realloc_hook_ini): Likewise.
7774 (memalign_hook_ini): Likewise.
7775 (__free_hook): Likewise.
7776 (__malloc_hook): Likewise.
7777 (__realloc_hook): Likewise.
7778 (__memalign_hook): Likewise.
7779 (__libc_malloc): Likewise.
7780 (__libc_free): Likewise.
7781 (__libc_realloc): Likewise.
7782 (__libc_memalign): Likewise.
7783 (__libc_valloc): Likewise.
7784 (__libc_pvalloc): Likewise.
7785 (__libc_calloc): Likewise.
7786 (__posix_memalign): Likewise.
7787 * malloc/morecore.c (__sbrk): Likewise.
7788 (__default_morecore): Likewise.
7789
5cc45e10
JM
7790 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7791
dd54b864
JM
7792 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7793 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7794 __malloc_ptrdiff_t.
7795
1ba4f030
JM
7796 * malloc/malloc.h (__malloc_size_t): Remove macro.
7797 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7798 __malloc_size_t.
7799 (old_memalign_hook): Likewise.
7800 (old_realloc_hook): Likewise.
7801 (struct hdr): Likewise.
7802 (flood): Likewise.
7803 (mallochook): Likewise.
7804 (memalignhook): Likewise.
7805 (reallochook): Likewise.
7806 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7807 (tr_old_realloc_hook): Likewise.
7808 (tr_old_memalign_hook): Likewise.
7809 (tr_mallochook): Likewise.
7810 (tr_reallochook): Likewise.
7811 (tr_memalignhook): Likewise.
7812
edf66e57
AZ
78132013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7814
7815 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7816 default_ldbl_pack and using as default implementation.
7817 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7818 implementation.
7819 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7820 redundant definition.
7821 (ldbl_insert_mantissa): Likewise.
7822 (ldbl_canonicalize): Likewise.
7823 (ldbl_nearbyint): Likewise.
7824 (ldbl_pack): Rename to ldbl_pack_ppc.
7825 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7826 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7827 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7828
6d9145d8
SP
78292013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7830
7831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7832 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7833 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7834 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7836 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7837 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7838 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7839
4dd4e157
AJ
78402013-03-07 Andreas Jaeger <aj@suse.de>
7841
7842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7843 bits/mman-linux.h.
7844
adbb8027
SP
78452013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7846
ce544b5b
SP
7847 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7848 Include mpa.h and declare __MPEXP.
7849 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7850 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7851 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7852 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7853 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7854 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7855 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7856
4cc149fd
SP
7857 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7858 (__slowpow): Use long double EXPL and LOGL functions to
7859 compute POW.
7860 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7861 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7862 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7863 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7864 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7865 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7866
e6ebd4a7
SP
7867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7868 intermediate variable to calculate exponent.
7869 (__sqr): Likewise.
7870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7871 Likewise.
7872 (__sqr): Likewise.
7873
82a9811d
SP
7874 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7875 [!NO__SQR]: Define __sqr.
7876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7877 and NO__SQR. Remove all code except __mul and __sqr. Include
7878 sysdeps/ieee754/dbl-64/mpa.c.
7879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7880
adbb8027
SP
7881 [BZ #12723]
7882 * posix/Makefile (tests): Add tst-pathconf.
7883 * posix/tst-pathconf.c: New test case.
7884 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7885 _PC_PIPE_BUF.
7886 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7887
39120df9
PF
78882013-03-06 Patsy Franklin <pfrankli@redhat.com>
7889
7890 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7891
67525cb8
AJ
78922013-03-06 Andreas Jaeger <aj@suse.de>
7893
664a9ce4
AJ
7894 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7895 definition via __MAP_ANONYMOUS.
7896
8e39047d
AJ
7897 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7898 it's not part of Linux headers.
7899
67525cb8
AJ
7900 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7901 (MAP_HUGE_MASK): Define.
7902
7903 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7904 Define.
7905 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7906 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7907 Define.
7908 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7909 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7910 Define.
7911 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7912 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7913 Define.
7914 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7915
7916 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7917 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7918 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7919 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7920 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7921 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7922
7923 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7924 Handle f2fs.
7925
7926 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7927 Handle f2fs and efivarfs.
7928
7929 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7930 f2fs.
7931
7932 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7933 (EFIVARFS_MAGIC): Add.
7934 (F2FS_LINK_MAX): Add.
7935
e1b42695
PP
79362013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7937
7938 * stdio-common/vfprintf.c: Replace __builtin_expect with
7939 __glibc_unlikely.
7940
2d67d91a
JM
79412013-03-06 Joseph Myers <joseph@codesourcery.com>
7942
7943 [BZ #13550]
7944 * sysdeps/generic/bp-sym.h: Remove file.
7945 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7946 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7947 <bp-sym.h> and <bp-asm.h>.
7948 (__longjmp): Don't use BP_SYM.
7949 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7950 and <bp-asm.h>.
7951 (memcpy): Don't use BP_SYM.
7952 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7953 <bp-sym.h> and <bp-asm.h>.
7954 (memcpy): Don't use BP_SYM.
7955 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7956 <bp-asm.h>.
7957 (memcpy): Don't use BP_SYM.
7958 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7959 <bp-asm.h>.
7960 (memset): Don't use BP_SYM.
7961 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7962 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7963 (__bzero): Don't use BP_SYM.
7964 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7965 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7966 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7967 <bp-sym.h> and <bp-asm.h>.
7968 (memcmp): Don't use BP_SYM. Remove comment about bounded
7969 pointers.
7970 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7971 <bp-sym.h> and <bp-asm.h>.
7972 (memcpy): Don't use BP_SYM.
7973 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7974 <bp-sym.h> and <bp-asm.h>.
7975 (memset): Don't use BP_SYM.
7976 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7977 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7978 (__bzero): Don't use BP_SYM.
7979 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7980 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7981 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7982 <bp-sym.h> and <bp-asm.h>.
7983 (strncmp): Don't use BP_SYM. Remove comment about bounded
7984 pointers.
7985 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7986 <bp-sym.h> and <bp-asm.h>.
7987 (memcpy): Don't use BP_SYM.
7988 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7989 <bp-sym.h> and <bp-asm.h>.
7990 (memset): Don't use BP_SYM.
7991 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7992 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7993 (__bzero): Don't use BP_SYM.
7994 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7995 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7996 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7997 <bp-sym.h> and <bp-asm.h>.
7998 (__memchr): Don't use BP_SYM.
7999 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8000 <bp-sym.h> and <bp-asm.h>.
8001 (memcmp): Don't use BP_SYM. Remove comment about bounded
8002 pointers.
8003 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8004 <bp-sym.h> and <bp-asm.h>.
8005 (memcpy): Don't use BP_SYM.
8006 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8007 <bp-sym.h> and <bp-asm.h>.
8008 (__mempcpy): Don't use BP_SYM.
8009 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8010 <bp-sym.h> and <bp-asm.h>.
8011 (__memrchr): Don't use BP_SYM.
8012 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8013 <bp-sym.h> and <bp-asm.h>.
8014 (memset): Don't use BP_SYM.
8015 (__bzero): Likewise.
8016 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8017 <bp-sym.h> and <bp-asm.h>.
8018 (__rawmemchr): Don't use BP_SYM.
8019 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8020 <bp-sym.h> and <bp-asm.h>.
8021 (__STRCMP): Don't use BP_SYM.
8022 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8023 <bp-sym.h> and <bp-asm.h>.
8024 (strchr): Don't use BP_SYM.
8025 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8026 <bp-sym.h> and <bp-asm.h>.
8027 (__strchrnul): Don't use BP_SYM.
8028 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8029 <bp-sym.h> and <bp-asm.h>.
8030 (strlen): Don't use BP_SYM.
8031 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8032 <bp-sym.h> and <bp-asm.h>.
8033 (strncmp): Don't use BP_SYM. Remove comment about bounded
8034 pointers.
8035 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8036 <bp-sym.h> and <bp-asm.h>.
8037 (__strnlen): Don't use BP_SYM.
8038 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8039 <bp-sym.h> and <bp-asm.h>.
8040 (__GI__setjmp): Don't use BP_SYM.
8041 (_setjmp): Likewise.
8042 (__sigsetjmp): Likewise.
8043 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8044 (L(start_addresses)): Don't use BP_SYM.
8045 (_start): Likewise.
8046 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8047 <bp-asm.h>.
8048 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8049 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8050 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8051 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8052 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8053 <bp-asm.h>.
8054 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8055 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8056 about bounded pointers.
8057 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8058 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8059 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8060 <bp-asm.h>.
8061 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8062 about bounded pointers. Remove GKM FIXME comments.
8063 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8064 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8065 <bp-asm.h>.
8066 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8067 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8068 Remove GKM FIXME comments.
8069 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8070 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8071 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8072 <bp-asm.h>.
8073 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8074 about bounded pointers. Remove GKM FIXME comment.
8075 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8076 and <bp-asm.h>.
8077 (strncmp): Don't use BP_SYM. Remove comment about bounded
8078 pointers.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8080 <bp-sym.h> and <bp-asm.h>.
8081 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8083 <bp-sym.h> and <bp-asm.h>.
8084 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8085 comment.
8086
cdcf361f
PP
80872013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8088
8089 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8090 call free(NULL).
8091
3c4a2b15
DM
80922013-03-05 David S. Miller <davem@davemloft.net>
8093
8094 * po/es.po: Update from translation team.
8095
cdcf361f 80962013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8097
8098 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8099 <bits/mman-linux.h>.
8100 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8101 is fine.
8102 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8103 <bits/mman-linux.h> to end of file.
8104 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8105 is fine.
8106 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8107 <bits/mman-linux.h> to end of file.
8108 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8109 is fine.
8110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8111 <bits/mman-linux.h> to end of file.
8112
8113 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8114 (MCL_CURRENT, MCL_FUTURE): Define here.
8115
5f67c04f
AK
81162013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8117
8a4473cc 8118 [BZ #15232]
5f67c04f
AK
8119 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8120 attribute_hidden.
8121 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8122
c3e94a95
AK
81232013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8124
8125 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8126 fourth parameter needed for rt_sigprocmask syscall.
8127 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8128 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8129 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8130 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8131 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8132 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8133
cfb6382a
JM
81342013-03-04 Joseph Myers <joseph@codesourcery.com>
8135
8136 [BZ #13550]
8137 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8138 comment about bounded pointers.
8139 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8140 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8141
539d8e01
AJ
81422013-03-04 Andreas Jaeger <aj@suse.de>
8143
8144 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8145 common definitions.
8146
8147 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8148 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8149 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8150 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8151 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8153
2e167a70 81542013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8155
8156 [BZ #15055]
8157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8158 __ieee754_sqrl instead of __sqrl.
8159
68508633
JM
81602013-03-01 Joseph Myers <joseph@codesourcery.com>
8161
8162 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8163 * sysdeps/powerpc/fpu_control.h: ... here.
8164 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8165 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8166 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8167 * sysdeps/powerpc/bits/mathinline.h: ... here.
8168
7775448e
RM
81692013-03-01 Roland McGrath <roland@hack.frob.com>
8170
8171 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8172 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8173 to just [NEED_DL_SYSINFO_DSO].
8174 * elf/dl-support.c: Likewise.
8175 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8176 * elf/rtld.c (dl_main): Likewise.
8177 * elf/setup-vdso.h (setup_vdso): Likewise.
8178 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8179 * sysdeps/unix/sysv/linux/dl-sysdep.c
8180 (_dl_discover_osversion): Likewise.
8181
4e9b5995
CD
81822013-03-01 Carlos O'Donell <carlos@redhat.com>
8183
8184 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8185 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8186
e23872c8
SP
81872013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8188
e5c74c63
SP
8189 * NEWS: Mention libm performance improvements and non-x86 PI
8190 futex support.
8191
e23872c8
SP
8192 * csu/libc-start.c (__pthread_initialize_minimal): Change
8193 function arguments.
8194 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8195
b5510883
JM
81962013-02-28 Joseph Myers <joseph@codesourcery.com>
8197
8198 [BZ #13550]
8199 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8200 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8201 <bp-sym.h> and <bp-asm.h>.
8202 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8203 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8204 and <bp-asm.h>.
8205 (memcpy): Don't use BP_SYM.
8206 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8207 <bp-asm.h>.
8208 (__mpn_add_n): Don't use BP_SYM.
8209 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8210 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8211 and <bp-asm.h>.
8212 (__mpn_addmul_1): Don't use BP_SYM.
8213 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8214 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8215 <bp-sym.h>.
8216 (_setjmp): Don't use BP_SYM.
8217 (__novmx_setjmp): Likewise.
8218 (__GI__setjmp): Likewise.
8219 (__vmx_setjmp): Likewise.
8220 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8221 <bp-sym.h>.
8222 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8223 (__bzero): Don't use BP_SYM.
8224 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8225 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8226 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8227 <bp-sym.h> and <bp-asm.h>.
8228 (memcpy): Don't use BP_SYM.
8229 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8230 <bp-sym.h> and <bp-asm.h>.
8231 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8232 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8233 <bp-sym.h> and <bp-asm.h>.
8234 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8235 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8236 <bp-asm.h>.
8237 (__mpn_lshift): Don't use BP_SYM.
8238 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8239 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8240 <bp-asm.h>.
8241 (memset): Don't use BP_SYM.
8242 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8243 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8244 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8245 <bp-asm.h>.
8246 (__mpn_mul_1): Don't use BP_SYM.
8247 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8248 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8249 <bp-sym.h> and <bp-asm.h>.
8250 (memcmp): Don't use BP_SYM.
8251 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8252 <bp-sym.h> and <bp-asm.h>.
8253 (memcpy): Don't use BP_SYM.
8254 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8255 <bp-sym.h> and <bp-asm.h>.
8256 (memset): Don't use BP_SYM.
8257 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8258 <bp-sym.h> and <bp-asm.h>.
8259 (strncmp): Don't use BP_SYM.
8260 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8261 <bp-sym.h> and <bp-asm.h>.
8262 (memcpy): Don't use BP_SYM.
8263 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8264 <bp-sym.h> and <bp-asm.h>.
8265 (memset): Don't use BP_SYM.
8266 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8267 <bp-sym.h> and <bp-asm.h>.
8268 (__memchr): Don't use BP_SYM.
8269 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8270 <bp-sym.h> and <bp-asm.h>.
8271 (memcmp): Don't use BP_SYM.
8272 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8273 <bp-sym.h> and <bp-asm.h>.
8274 (memcpy): Don't use BP_SYM.
8275 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8276 <bp-sym.h> and <bp-asm.h>.
8277 (__mempcpy): Don't use BP_SYM.
8278 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8279 <bp-sym.h> and <bp-asm.h>.
8280 (__memrchr): Don't use BP_SYM.
8281 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8282 <bp-sym.h> and <bp-asm.h>.
8283 (memset): Don't use BP_SYM.
8284 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8285 <bp-sym.h> and <bp-asm.h>.
8286 (__rawmemchr): Don't use BP_SYM.
8287 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8288 <bp-sym.h> and <bp-asm.h>.
8289 (__STRCMP): Don't use BP_SYM.
8290 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8291 <bp-sym.h> and <bp-asm.h>.
8292 (strchr): Don't use BP_SYM.
8293 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8294 <bp-sym.h> and <bp-asm.h>.
8295 (__strchrnul): Don't use BP_SYM.
8296 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8297 <bp-sym.h> and <bp-asm.h>.
8298 (strlen): Don't use BP_SYM.
8299 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8300 <bp-sym.h> and <bp-asm.h>.
8301 (strncmp): Don't use BP_SYM.
8302 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8303 <bp-sym.h> and <bp-asm.h>.
8304 (__strnlen): Don't use BP_SYM.
8305 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8306 <bp-asm.h>.
8307 (__mpn_rshift): Don't use BP_SYM.
8308 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8309 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8310 <bp-sym.h> and <bp-asm.h>.
8311 (__sigsetjmp): Don't use BP_SYM.
8312 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8313 (L(start_addresses)): Don't use BP_SYM.
8314 (_start): Likewise.
8315 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8316 <bp-asm.h>.
8317 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8318 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8319 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8320 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8321 <bp-asm.h>.
8322 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8323 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8324 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8325 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8326 <bp-asm.h>.
8327 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8328 comments.
8329 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8330 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8331 <bp-asm.h>.
8332 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8333 FIXME comments.
8334 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8335 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8336 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8337 <bp-asm.h>.
8338 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8339 comment.
8340 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8341 and <bp-asm.h>.
8342 (strncmp): Don't use BP_SYM,
8343 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8344 <bp-asm.h>.
8345 (__mpn_sub_n): Don't use BP_SYM.
8346 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8347 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8348 and <bp-asm.h>.
8349 (__mpn_submul_1): Don't use BP_SYM.
8350 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8352 <bp-sym.h> and <bp-asm.h>.
8353 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8355 <bp-sym.h> and <bp-asm.h>.
8356 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8357 comment.
8358
8d19fe64
SP
83592013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8360
8361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8362 Use ZK to minimize writes to Z.
8363 (sub_magnitudes): Simplify code a bit.
8364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8365 Use ZK to minimize writes to Z.
8366 (sub_magnitudes): Simplify code a bit.
8367
85bd816a
RM
83682013-02-27 Roland McGrath <roland@hack.frob.com>
8369
8370 * csu/gmon-start.c: Add special exception to license text.
8371
b5977bf2
RH
83722013-02-27 Richard Henderson <rth@redhat.com>
8373
8374 * scripts/config.guess: Update from config.git.
8375 * scripts/config.sub: Likewise.
8376
11d6e2f2
SP
83772013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8378
09c14ed2
SP
8379 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8380
a688864e
SP
8381 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8382
6295157a
SP
8383 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8384
b8de2202
SP
8385 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8386
11d6e2f2
SP
8387 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8388
7e80ddb8
RM
83892013-02-26 Roland McGrath <roland@hack.frob.com>
8390
8391 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8392 [$(build-shared = yes].
7e80ddb8 8393
7da6d9ed
SP
83942013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8395
45f05884
SP
8396 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8397 (__mul): Reduce iterations for calculating mantissa.
8398
2236d359
SP
8399 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8400 MPTWO.
8401 (__mpranred): Likewise.
8402
7da6d9ed
SP
8403 [BZ #15160]
8404 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8405 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8406
b7688c42
PE
84072013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8408
8409 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8410 Define __attribute__.
8411
53a5c423
SP
84122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8413
8414 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8415 unused.
8416 * posix/regex_internal.h (__attribute): Remove.
8417 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8418 (re_string_context_at): Likewise.
8419 (bitset_not): Use __attribute__ and mark function as possibly
8420 unused.
8421 (bitset_merge): Likewise.
8422 (bitset_mask): Likewise.
8423 (re_string_char_size_at): Likewise.
8424 (re_string_wchar_at): Likewise.
8425 (re_string_elem_size_at): Likewise.
8426
60f5a8b5
SP
84272013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8428
2a983a2e
SP
8429 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8430 code.
8431 (cc32): Likewise.
8432
e69804d1
SP
8433 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8434 (__acr): Likewise.
8435 (__cpy): Likewise.
8436 (norm): Likewise.
8437 (denorm): Likewise.
8438 (__dbl_mp): Likewise.
8439 (add_magnitudes): Likewise.
8440 (sub_magnitudes): Likewise.
8441 (__mul): Likewise.
8442 (__inv): Likewise.
8443
2f22a1e8
SP
8444 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8445 style.
8446
8930ddc7
SP
8447 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8448 style.
8449
dc60cb11
SP
8450 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8451 code.
8452
60f5a8b5
SP
8453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8454 up changes with default code.
8455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8456 Likewise.
8457
b4d1fd33
AM
84582013-02-24 Allan McRae <allan@archlinux.org>
8459
faf6f8bc
AM
8460 * manual/socket.texi (The Internet Namespace): Order menu items
8461 to match that in the file.
8462
b4d1fd33
AM
8463 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8464 node listing of the info page menu.
8465
2366713d
JM
84662013-02-21 Joseph Myers <joseph@codesourcery.com>
8467
8468 [BZ #13550]
8469 * sysdeps/i386/bp-asm.h: Remove file.
8470 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8471 (PARMS): Do not use macros from bp-asm.h.
8472 (S1): Likewise.
8473 (S2): Likewise.
8474 (SIZE): Likewise.
8475 (__mpn_add_n): Do not use BP_SYM
8476 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8477 "bp-asm.h".
8478 (PARMS): Do not use macros from bp-asm.h.
8479 (S1): Likewise.
8480 (SIZE): Likewise.
8481 (__mpn_addmul_1): Do not use BP_SYM
8482 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8483 "bp-asm.h".
8484 (PARMS): Do not use macros from bp-asm.h.
8485 (SIGMSK): Likewise.
8486 (_setjmp): Likewise. Do not use BP_SYM.
8487 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8488 "bp-asm.h".
8489 (PARMS): Do not use macros from bp-asm.h.
8490 (SIGMSK): Likewise.
8491 (setjmp): Likewise. Do not use BP_SYM.
8492 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8493 "bp-asm.h".
8494 (PARMS): Do not use macros from bp-asm.h.
8495 (__frexp): Do not use BP_SYM.
8496 (frexp): Likewise.
8497 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8498 "bp-asm.h".
8499 (PARMS): Do not use macros from bp-asm.h.
8500 (__frexpf): Do not use BP_SYM.
8501 (frexpf): Likewise.
8502 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8503 "bp-asm.h".
8504 (PARMS): Do not use macros from bp-asm.h.
8505 (__frexpl): Do not use BP_SYM.
8506 (frexpl): Likewise.
8507 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8508 "bp-asm.h".
8509 (PARMS): Do not use macros from bp-asm.h.
8510 (__remquo): Do not use BP_SYM.
8511 (remquo): Likewise.
8512 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8513 "bp-asm.h".
8514 (PARMS): Do not use macros from bp-asm.h.
8515 (__remquof): Do not use BP_SYM.
8516 (remquof): Likewise.
8517 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8518 "bp-asm.h".
8519 (PARMS): Do not use macros from bp-asm.h.
8520 (__remquol): Do not use BP_SYM.
8521 (remquol): Likewise.
8522 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8523 "bp-asm.h".
8524 (PARMS): Do not use macros from bp-asm.h.
8525 (DEST): Likewise.
8526 (SRC): Likewise.
8527 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8528 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8529 "bp-asm.h".
8530 (PARMS): Do not use macros from bp-asm.h.
8531 (strlen): Do not use BP_SYM.
8532 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8533 "bp-asm.h".
8534 (PARMS): Do not use macros from bp-asm.h.
8535 (S1): Likewise.
8536 (S2): Likewise.
8537 (SIZE): Likewise.
8538 (__mpn_add_n): Do not use BP_SYM.
8539 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8540 "bp-asm.h".
8541 (PARMS): Do not use macros from bp-asm.h.
8542 (S1): Likewise.
8543 (SIZE): Likewise.
8544 (__mpn_addmul_1): Do not use BP_SYM.
8545 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8546 weak_alias.
8547 (bzero): Likewise.
8548 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8549 "bp-asm.h".
8550 (PARMS): Do not use macros from bp-asm.h.
8551 (S): Likewise.
8552 (SIZE): Likewise.
8553 (__mpn_lshift): Do not use BP_SYM.
8554 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8555 "bp-asm.h".
8556 (PARMS): Do not use macros from bp-asm.h.
8557 (DEST): Likewise.
8558 (SRC): Likewise.
8559 (LEN): Likewise.
8560 (memcpy): Likewise. Do not use BP_SYM.
8561 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8562 libc_hidden_def and weak_alias.
8563 (mempcpy): Do not use BP_SYM in weak_alias.
8564 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8565 "bp-asm.h".
8566 (PARMS): Do not use macros from bp-asm.h.
8567 (DEST): Likewise.
8568 (LEN): Likewise.
8569 [!BZERO_P] (CHR): Likewise.
8570 (memset): Likewise. Do not use BP_SYM.
8571 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8572 "bp-asm.h".
8573 (PARMS): Do not use macros from bp-asm.h.
8574 (S1): Likewise.
8575 (SIZE): Likewise.
8576 (__mpn_mul_1): Do not use BP_SYM.
8577 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8578 "bp-asm.h".
8579 (PARMS): Do not use macros from bp-asm.h.
8580 (S): Likewise.
8581 (SIZE): Likewise.
8582 (__mpn_rshift): Do not use BP_SYM.
8583 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8584 "bp-asm.h".
8585 (PARMS): Do not use macros from bp-asm.h.
8586 (STR): Likewise.
8587 (CHR): Likewise.
8588 (strchr): Likewise. Do not use BP_SYM.
8589 (index): Do not use BP_SYM in weak_alias.
8590 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8591 "bp-asm.h".
8592 (PARMS): Do not use macros from bp-asm.h.
8593 (DEST): Likewise.
8594 (SRC): Likewise.
8595 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8596 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8597 "bp-asm.h".
8598 (PARMS): Do not use macros from bp-asm.h.
8599 (strlen): Do not use BP_SYM.
8600 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8601 "bp-asm.h".
8602 (PARMS): Do not use macros from bp-asm.h.
8603 (S1): Likewise.
8604 (S2): Likewise.
8605 (SIZE): Likewise.
8606 (__mpn_sub_n): Do not use BP_SYM.
8607 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8608 "bp-asm.h".
8609 (PARMS): Do not use macros from bp-asm.h.
8610 (S1): Likewise.
8611 (SIZE): Likewise.
8612 (__mpn_submul_1): Do not use BP_SYM.
8613 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8614 "bp-asm.h".
8615 (PARMS): Do not use macros from bp-asm.h.
8616 (S1): Likewise.
8617 (S2): Likewise.
8618 (SIZE): Likewise.
8619 (__mpn_add_n): Do not use BP_SYM.
8620 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8621 weak_alias.
8622 (bzero): Likewise.
8623 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8624 "bp-asm.h".
8625 (PARMS): Do not use macros from bp-asm.h.
8626 (BLK2): Likewise.
8627 (LEN): Likewise.
8628 (memcmp): Do not use BP_SYM.
8629 (bcmp): Do not use BP_SYM in weak_alias.
8630 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8631 "bp-asm.h".
8632 (PARMS): Do not use macros from bp-asm.h.
8633 (DEST): Likewise.
8634 (SRC): Likewise.
8635 (LEN): Likewise.
8636 (memcpy): Likewise. Do not use BP_SYM.
8637 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8638 "bp-asm.h".
8639 (PARMS): Do not use macros from bp-asm.h.
8640 (DEST): Likewise.
8641 (SRC): Likewise.
8642 (LEN): Likewise.
8643 (memmove): Likewise. Do not use BP_SYM.
8644 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8645 "bp-asm.h".
8646 (PARMS): Do not use macros from bp-asm.h.
8647 (DEST): Likewise.
8648 (SRC): Likewise.
8649 (LEN): Likewise.
8650 (__mempcpy): Likewise. Do not use BP_SYM.
8651 (mempcpy): Do not use BP_SYM in weak_alias.
8652 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8653 "bp-asm.h".
8654 (PARMS): Do not use macros from bp-asm.h.
8655 (DEST): Likewise.
8656 (LEN): Likewise.
8657 [!BZERO_P] (CHR): Likewise.
8658 (memset): Likewise. Do not use BP_SYM.
8659 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8660 "bp-asm.h".
8661 (PARMS): Do not use macros from bp-asm.h.
8662 (STR2): Likewise.
8663 (strcmp): Do not use BP_SYM.
8664 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8665 "bp-asm.h".
8666 (PARMS): Do not use macros from bp-asm.h.
8667 (STR): Likewise.
8668 (DELIM): Likewise.
8669 [USE_AS_STRTOK_R] (SAVE): Likewise.
8670 (FUNCTION): Likewise. Do not use BP_SYM.
8671 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8672 aliases.
8673 (strtok_r): Likewise.
8674 (__GI___strtok_r): Likewise.
8675 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8676 (PARMS): Do not use macros from bp-asm.h.
8677 (S): Likewise.
8678 (SIZE): Likewise.
8679 (__mpn_lshift): Do not use BP_SYM.
8680 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8681 (PARMS): Do not use macros from bp-asm.h.
8682 (STR): Likewise.
8683 (CHR): Likewise.
8684 (__memchr): Do not use BP_SYM.
8685 (memchr): Do not use BP_SYM in weak_alias.
8686 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8687 (PARMS): Do not use macros from bp-asm.h.
8688 (BLK2): Likewise.
8689 (LEN): Likewise.
8690 (memcmp): Do not use BP_SYM.
8691 (bcmp): Do not use BP_SYM in weak_alias.
8692 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8693 (PARMS): Do not use macros from bp-asm.h.
8694 (S1): Likewise.
8695 (SIZE): Likewise.
8696 (__mpn_mul_1): Do not use BP_SYM.
8697 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8698 "bp-asm.h".
8699 (PARMS): Do not use macros from bp-asm.h.
8700 (STR): Likewise.
8701 (CHR): Likewise.
8702 (__rawmemchr): Do not use BP_SYM.
8703 (rawmemchr): Do not use BP_SYM in weak_alias.
8704 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8705 (PARMS): Do not use macros from bp-asm.h.
8706 (S): Likewise.
8707 (SIZE): Likewise.
8708 (__mpn_rshift): Do not use BP_SYM.
8709 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8710 (PARMS): Do not use macros from bp-asm.h.
8711 (SIGMSK): Likewise.
8712 (__sigsetjmp): Likewise. Do not use BP_SYM.
8713 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8714 (_start): Do not use BP_SYM.
8715 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8716 (PARMS): Do not use macros from bp-asm.h.
8717 (DEST): Likewise.
8718 (SRC): Likewise.
8719 (__stpcpy): Likewise. Do not use BP_SYM.
8720 (stpcpy): Do not use BP_SYM in weak_alias.
8721 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8722 "bp-asm.h".
8723 (PARMS): Do not use macros from bp-asm.h.
8724 (DEST): Likewise.
8725 (SRC): Likewise.
8726 (LEN): Likewise.
8727 (__stpncpy): Likewise. Do not use BP_SYM.
8728 (stpncpy): Do not use BP_SYM in weak_alias.
8729 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8730 (PARMS): Do not use macros from bp-asm.h.
8731 (STR): Likewise.
8732 (CHR): Likewise.
8733 (strchr): Likewise. Do not use BP_SYM.
8734 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8735 "bp-asm.h".
8736 (PARMS): Do not use macros from bp-asm.h.
8737 (STR): Likewise.
8738 (CHR): Likewise.
8739 (__strchrnul): Likewise. Do not use BP_SYM.
8740 (strchrnul): Do not use BP_SYM in weak_alias.
8741 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8742 "bp-asm.h".
8743 (PARMS): Do not use macros from bp-asm.h.
8744 (STOP): Likewise.
8745 (strcspn): Do not use BP_SYM.
8746 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8747 "bp-asm.h".
8748 (PARMS): Do not use macros from bp-asm.h.
8749 (STR): Likewise.
8750 (STOP): Likewise.
8751 (strpbrk): Likewise. Do not use BP_SYM.
8752 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8753 "bp-asm.h".
8754 (PARMS): Do not use macros from bp-asm.h.
8755 (STR): Likewise.
8756 (CHR): Likewise.
8757 (strrchr): Likewise. Do not use BP_SYM.
8758 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8759 (PARMS): Do not use macros from bp-asm.h.
8760 (SKIP): Likewise.
8761 (strspn): Do not use BP_SYM.
8762 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8763 (PARMS): Do not use macros from bp-asm.h.
8764 (STR): Likewise.
8765 (DELIM): Likewise.
8766 (SAVE): Likewise.
8767 (FUNCTION): Likewise. Do not use BP_SYM.
8768 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8769 aliases.
8770 (strtok_r): Likewise.
8771 (__GI___strtok_r): Likewise.
8772 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8773 (PARMS): Do not use macros from bp-asm.h.
8774 (S1): Likewise.
8775 (S2): Likewise.
8776 (SIZE): Likewise.
8777 (__mpn_sub_n): Do not use BP_SYM.
8778 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8779 "bp-asm.h".
8780 (PARMS): Do not use macros from bp-asm.h.
8781 (S1): Likewise.
8782 (SIZE): Likewise.
8783 (__mpn_submul_1): Do not use BP_SYM.
8784 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8785 <bp-sym.h>.
8786 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8787 and <bp-asm.h>.
8788 (PARMS): Do not use macros from bp-asm.h.
8789 (FLAGS): Likewise.
8790 (PTID): Likewise.
8791 (TLS): Likewise.
8792 (CTID): Likewise.
8793 (__clone): Do not use BP_SYM.
8794 (clone): Do not use BP_SYM in weak_alias.
8795 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8796 and <bp-asm.h>.
8797 (PARMS): Do not use macros from bp-asm.h.
8798 (LEN): Likewise.
8799 (__mmap64): Do not use BP_SYM.
8800 (mmap64): Do not use BP_SYM in weak_alias.
8801 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8802 <bp-sym.h> and <bp-asm.h>.
8803 (PARMS): Do not use macros from bp-asm.h.
8804 (__posix_fadvise64_l64): Do not use BP_SYM.
8805 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8806 (PARMS): Do not use macros from bp-asm.h.
8807 (NSOPS): Likewise.
8808 (semtimedop): Do not use BP_SYM.
8809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8810 and <bp-asm.h>.
8811
582a3cff
AM
88122013-02-21 Allan McRae <allan@archlinux.org>
8813
8814 * manual/message.texi (Charset conversion in gettext):
8815 Move @end statement to beginning of line.
8816
bab8a695
SP
88172013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8818
80945231
SP
8819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8820 static.
8821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8822 Likewise.
8823
bab8a695
SP
8824 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8825 (denorm): Likewise.
8826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8828
e21d7aa7
AK
88292013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8830
8831 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8832 tail-call to the resolved function if pltexit isn't needed.
8833
4c7a4263
SP
88342013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8835
8836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8837 or Y being zero as being unlikely.
8838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8839 Likewise.
8840
41f49342
CD
88412013-02-20 Carlos O'Donell <carlos@redhat.com>
8842
8843 * manual/nss.texi (System Databases and Name Service Switch):
8844 Remove frobnicate @pxref.
8845
50022a93
TS
88462013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8847
8848 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8849 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8850
08cbd996
PM
88512013-02-20 Petr Machata <pmachata@redhat.com>
8852
8853 * elf/elf.h (R_ARM_TARGET1): New macro.
8854 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8855 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8856 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8857 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8858 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8859 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8860 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8861 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8862 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8863 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8864 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8865 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8866 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8867 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8868 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8869 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8870 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8871 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8872 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8873 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8874 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8875 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8876 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8877 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8878 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8879 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8880 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8881 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8882 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8883 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8884 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8885 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8886 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8887 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8888 (R_ARM_THM_GOT_BREL12): Likewise.
8889 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8890 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8891 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8892 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8893 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8894 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8895 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8896 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8897 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8898
c7b275d6
TS
88992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8900
8901 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8902 __attribute_used__ to __attribute__ ((unused)).
8903
20cd7fb3
SP
89042013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8905
8906 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8907 powerpc mpa.c.
8908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8909 comment formatting.
8910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8911
92945b52
JM
89122013-02-19 Joseph Myers <joseph@codesourcery.com>
8913
8914 [BZ #13550]
8915 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8916 Remove macro.
8917 (ENTER): Remove both macro definitions.
8918 (LEAVE): Likewise.
8919 (CHECK_BOUNDS_LOW): Likewise.
8920 (CHECK_BOUNDS_HIGH): Likewise.
8921 (CHECK_BOUNDS_BOTH): Likewise.
8922 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8923 (RETURN_BOUNDED_POINTER): Likewise.
8924 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8925 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8926 (POP_ERRNO_LOCATION_RETURN): Likewise.
8927 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8928 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8929 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8930 macros.
8931 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8932 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8933 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8934 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8935 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8936 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8937 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8938 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8939 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8940 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8941 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8942 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8943 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8944 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8945 removed macros.
8946 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8947 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8948 macros.
8949 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8950 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8951 * sysdeps/i386/i586/memset.S (memset): Likewise.
8952 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8953 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8954 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8955 macros.
8956 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8957 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8958 Change uses of L(2) to L(out).
8959 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8960 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8961 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8962 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8963 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8964 removed macros.
8965 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8966 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8967 macros.
8968 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8969 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8970 (RETURN): Do not use macro LEAVE.
8971 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8972 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8973 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8974 * sysdeps/i386/i686/memset.S (memset): Likewise.
8975 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8976 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8977 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8978 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8979 Likewise.
8980 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8981 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8982 L(1_2) and L(1_3) into L(1).
8983 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8984 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8985 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8986 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8987 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8988 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8989 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8990 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8991 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8992 macros.
8993 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8994 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8995 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8996 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8997 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8998 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8999 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9000 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9001 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9002 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9003 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9004 * sysdeps/i386/strspn.S (strspn): Likewise.
9005 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9006 conditional code.
9007 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9008 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9009 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9010 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9011 L(1_3) into L(1_1).
9012 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9013 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9014 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9015 macros.
9016 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9017
2389741a
JJ
90182013-02-19 Jakub Jelinek <jakub@redhat.com>
9019
9020 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9021 macro.
9022
2016b3cd
SP
90232013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9024
e4f22324
SP
9025 * math/atest-exp.c (exp_mpn): Remove ROUND.
9026 * math/atest-exp2.c (exp_mpn): Likewise.
9027 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9028
2016b3cd
SP
9029 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9030 * stdlib/tst-tls-atexit-lib.c: Likewise.
9031 * stdlib/tst-tls-atexit.c: Likewise.
9032
4be9b544
MF
90332013-02-18 Mike Frysinger <vapier@gentoo.org>
9034
9035 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9036 and __attribute_alloc_size__.
9037
2f62b9ee
MF
90382013-02-18 Mike Frysinger <vapier@gentoo.org>
9039
9040 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9041 __attribute_alloc_size__.
9042 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9043 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9044
6ff444c4
MF
90452013-02-18 Mike Frysinger <vapier@gentoo.org>
9046
9047 * include/programs/xmalloc.h: New file.
9048 * catgets/gencat.c: Include it.
9049 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9050 * elf/pldd.c: Likewise.
9051 * iconv/iconv_charmap.c: Likewise.
9052 * iconv/iconvconfig.c: Likewise.
9053 * iconv/strtab.c: Likewise.
9054 * locale/programs/locale.c: Likewise.
9055 * locale/programs/localedef.h: Likewise.
9056 * locale/programs/simple-hash.c: Likewise.
9057 * nscd/nscd.h: Likewise.
9058 * nss/makedb.c: Likewise.
9059 * sysdeps/generic/ldconfig.h: Likewise.
9060
be179c8a
SP
90612013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9062
ba384f6e
SP
9063 * Versions.def: Add GLIBC_2.18.
9064 * include/link.h (struct link_map): New member l_tls_dtor_count.
9065 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9066 (__call_tls_dtors): Likewise.
9067 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9068 __cxa_thread_atexit_impl.
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9070 Likewise.
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9072 Likewise.
9073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9074 Likewise.
9075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9076 Likewise.
9077 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9079 Likewise.
9080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9081 Likewise.
9082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9084 Likewise.
9085 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9086 (tests): Add test case tst-tls-atexit.
9087 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9088 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9089 (GLIBC_PRIVATE): Add __call_tls_dtors.
9090 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9091 for libstdc++.
9092 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9093 * stdlib/tst-tls-atexit.c: New test case.
9094 * stdlib/tst-tls-atexit-lib.c: New test case.
9095
ffaa74cf 9096 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9097
be179c8a
SP
9098 * elf/Versions (ld): Add _dl_find_dso_for_object.
9099 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9100 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9101 (dl_open_worker): Use _dl_find_dso_for_object.
9102 * elf/dl-sym.c (do_sym): Likewise.
9103 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9104
f78b5caa
AK
91052013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9106
9107 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9108 Syntactic changes only.
9109 (_dl_runtime_profile): Do a tail-call to the resolved function.
9110
29691210
JM
91112013-02-17 Joseph Myers <joseph@codesourcery.com>
9112
9113 [BZ #13550]
9114 * sysdeps/x86_64/bp-asm.h: Remove file.
9115 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9116 <bp-sym.h> and <bp-asm.h>.
9117 (__clone): Do not use BP_SYM.
9118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9119 <bp-sym.h> and <bp-asm.h>.
9120 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9121 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9122 "bp-asm.h".
9123 (_setjmp): Do not use BP_SYM.
9124 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9125 "bp-asm.h".
9126 (setjmp): Do not use BP_SYM.
9127 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9128 libc_hidden_def.
9129 (mempcpy): Do not use BP_SYM in weak_alias.
9130 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9131 "bp-asm.h".
9132 (strchr): Do not use BP_SYM.
9133 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9134 "bp-asm.h".
9135 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9136 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9137 (_start): Do not use BP_SYM.
9138 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9139 "bp-asm.h".
9140 (strcat): Do not use BP_SYM.
9141 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9142 "bp-asm.h".
9143 (STRCMP): Do not use BP_SYM.
9144 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9145 "bp-asm.h".
9146 (STRCPY): Do not use BP_SYM.
9147 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9148 "bp-asm.h".
9149 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9150 "bp-asm.h".
9151 (FUNCTION): Do not use BP_SYM.
9152 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9153 weak_alias.
9154 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9155
f238fd19
AJ
91562013-02-17 Andreas Jaeger <aj@suse.de>
9157
9158 * time/Versions: Sort entries.
9159 * string/Versions: Likewise.
9160 * resolv/Versions: Likewise.
9161 * posix/Versions: Likewise.
9162 * iconv/Versions: Likewise.
9163 * elf/Versions: Likewise.
9164 * wcsmbs/Versions: Likewise.
9165
bd07f23c 91662013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9167
22af19f9
SP
9168 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9169 loop termination condition.
9170
4709fe76
SP
9171 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9172 variable to calculate EZ.
9173 (__sqr): Likewise.
2d0e0f29
SP
9174
9175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9176 the lower precision input.
9177
daaa7713
JM
91782013-02-15 Joseph Myers <joseph@codesourcery.com>
9179
9180 [BZ #13550]
9181 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9182 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9183 (run-via-rtld-prefix): Do not handle %-bp tests.
9184 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9185 (all-object-suffixes): Remove .ob.
9186 (bppfx): Remove variable.
9187 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9188 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9189 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9190 [$(build-bounded) = yes] (libtype.ob): Likewise.
9191 * Makerules (elide-routines.ob): Remove variable.
9192 (do-tests-clean): Do not handle *-bp.out.
9193 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9194 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9195 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9196 (tests): Do not include $(tests-bp.out).
9197 (xtests): Do not include $(xtests-bp.out).
9198 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9199 [$(build-bounded) = yes] ($(addprefix
9200 $(objpfx),$(binaries-bounded))): Remove rule.
9201 ($(objpfx)%-bp.out): Remove rule.
9202 * config.make.in (build-bounded): Remove variable.
9203 * crypt/Makefile [$(build-bounded) = yes]
9204 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9205 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9206 append to variable.
9207 [$(build-bounded) = yes] (install-lib): Likewise.
9208 [$(build-bounded) = yes] (generated): Likewise.
9209 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9210 Remove rule.
9211 * intl/Makefile [$(build-bounded) = yes]
9212 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9213 * math/Makefile [$(build-bounded) = yes]
9214 ($(tests:%=$(objpfx)%-bp): Likewise.
9215 * misc/Makefile [$(build-bounded) = yes]
9216 ($(objpfx)tst-tsearch-bp): Likewise.
9217 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9218 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9219 Remove dependency.
9220 * string/Makefile (o-objects.ob): Remove variable.
9221 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9222 (CFLAGS-.ob): Remove variable.
9223 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9224 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9225 both definitions of variable.
9226 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9227 (ASFLAGS-.ob): Remove variable.
9228
e97ed6dd
JM
92292013-02-14 Joseph Myers <joseph@codesourcery.com>
9230
2bdd4ca6
JM
9231 [BZ #13550]
9232 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9233 Remove __BOUNDED_POINTERS__ from condition.
9234 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9235 * string/bits/string2.h [!__NO_STRING_INLINES &&
9236 !__BOUNDED_POINTERS__]: Likewise.
9237 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9238 Likewise.
9239 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9240 Remove conditional code.
9241 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9242 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9243 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9244 condition.
9245
e97ed6dd
JM
9246 [BZ #13550]
9247 * csu/libc-start.c: Do not include <bp-sym.h>.
9248 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9249 * elf/dl-open.c: Do not include <bp-sym.h>.
9250 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9251 * math/fegetenv.c: Do not include <bp-sym.h>.
9252 (fegetenv): Do not use BP_SYM in versioned symbols.
9253 * nptl/sysdeps/pthread/bits/libc-lockP.h
9254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9255 <bp-sym.h>.
9256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9257 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9259 (__pthread_mutex_destroy): Likewise.
9260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9261 (__pthread_mutex_lock): Likewise.
9262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9263 (__pthread_mutex_trylock): Likewise.
9264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9265 (__pthread_mutex_unlock): Likewise.
9266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9267 (__pthread_mutexattr_init): Likewise.
9268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9269 (__pthread_mutexattr_destroy): Likewise.
9270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9271 (__pthread_mutexattr_settype): Likewise.
9272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9273 (__pthread_rwlock_init): Likewise.
9274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9275 (__pthread_rwlock_destroy): Likewise.
9276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9277 (__pthread_rwlock_rdlock): Likewise.
9278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9279 (__pthread_rwlock_tryrdlock): Likewise.
9280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9281 (__pthread_rwlock_wrlock): Likewise.
9282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9283 (__pthread_rwlock_trywrlock): Likewise.
9284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9285 (__pthread_rwlock_unlock): Likewise.
9286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9287 (__pthread_key_create): Likewise.
9288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9289 (__pthread_setspecific): Likewise.
9290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9291 (__pthread_getspecific): Likewise.
9292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9293 Likewise.
9294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9295 (_pthread_cleanup_push_defer): Likewise.
9296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9297 (_pthread_cleanup_pop_restore): Likewise.
9298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9299 (pthread_setcancelstate): Likewise.
9300 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9301 <bp-sym.h>.
9302 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9303 (memchr): Do not use BP_SYM in weak_alias.
9304 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9305 (fegetenv): Do not use BP_SYM in versioned symbols.
9306 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9307 (fesetenv): Do not use BP_SYM in versioned symbols.
9308 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9309 (feupdateenv): Do not use BP_SYM in versioned symbols.
9310 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9311 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9312 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9313 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9314 (open64): Do not use BP_SYM in weak_alias.
9315 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9316 (fegetenv): Do not use BP_SYM in versioned symbols.
9317 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9318 (fesetenv): Do not use BP_SYM in versioned symbols.
9319 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9320 (feupdateenv): Do not use BP_SYM in versioned symbols.
9321 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9322 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9323 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9324 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9325 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9326 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9327 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9328 <bp-sym.h>.
9329 (__libc_start_main): Do not use BP_SYM.
9330
d6752ccd
SP
93312013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9332
cb57ce60
SP
9333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9334 redundant return line.
9335 (norm): Likewise.
9336 (denorm): Likewise.
9337 (dbl_mp): Likewise.
9338 (sub_magnitudes): Likewise.
9339 (__add): Likewise.
9340 (__sub): Likewise.
9341 (__mul): Likewise.
9342 (__inv): Likewise.
9343 (__dvd): Likewise.
9344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9345 (norm): Likewise.
9346 (denorm): Likewise.
9347 (dbl_mp): Likewise.
9348 (sub_magnitudes): Likewise.
9349 (__add): Likewise.
9350 (__sub): Likewise.
9351 (__mul): Likewise.
9352 (__inv): Likewise.
9353 (__dvd): Likewise.
9354
f414520d
SP
9355 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9356 instead of __mul.
9357 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9358 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9359 (cc32): Likewise.
9360
d6752ccd
SP
9361 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9362 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9364 of __mul for squares.
9365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9366 function
9367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9368 Likewise.
9369 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9370 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9371
70d9946a
JM
93722013-02-13 Joseph Myers <joseph@codesourcery.com>
9373
9374 [BZ #13550]
9375 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9376 code.
9377 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9378 prototype or function definition. Rename ubp_* variables and
9379 parameters. Remove argv definitions conditional on
9380 [__BOUNDED_POINTERS__].
9381 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9382 * elf/dl-runtime.c (_dl_fixup): Likewise.
9383 * include/set-hooks.h (RUN_HOOK): Likewise.
9384 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9385 definition.
9386 * string/strcpy.c (strcpy): Do not use __unbounded.
9387 * sysdeps/generic/frame.h (struct layout): Likewise.
9388 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9389 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9390 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9391 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9392 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9393 (__backtrace): Likewise.
9394 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9395 use __ptrvalue.
9396 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9397 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9398 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9399 Likewise.
9400 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9401 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9402 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9403 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9404 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9405 Do not use __unbounded.
9406 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9407 Rename __unboundedrlimits parameter to rlimits in prototype.
9408 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9409 Do not use __unbounded.
9410 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9411 not use __ptrvalue.
9412 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9413 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9414 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9415 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9416 __ptrvalue or __unbounded.
9417 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9418 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9419 use __unbounded.
9420 (__new_msgctl): Do not use __ptrvalue.
9421 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9422 __unbounded.
9423 (__libc_msgrcv): Do not use __ptrvalue.
9424 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9425 startup_info): Do not use __unbounded.
9426 (__libc_start_main): Likewise. Rename ubp_* variables and
9427 parameters. Remove argv definitions conditional on
9428 [__BOUNDED_POINTERS__].
9429 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9430 __ptrvalue.
9431 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9432 use __unbounded.
9433 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9434 or __ptrvalue.
9435 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9436 use __unbounded.
9437 (__new_shmctl): Do not use __ptrvalue.
9438 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9439 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9440 Likewise.
9441 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9442 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9443 (__libc_sigaction): Likewise.
9444 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9445 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9446 Likewise.
9447 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9448
cc7834d6
OB
94492013-02-13 Ondřej Bílka <neleai@seznam.cz>
9450
ffb1ec7b 9451 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9452
9453 * string/mempcpy.c: Implement by calling memcpy.
9454
bdf02814
SP
94552013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9456
c2af38aa
SP
9457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9458
4e92d59e
SP
9459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9460 evaluation.
9461
909279a5
SP
9462 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9463 values in the mantissa.
9464
bdf02814
SP
9465 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9466 minimize writes to Z.
9467 (sub_magnitudes): Simplify code a bit.
9468
cd525923
RM
94692013-02-12 Roland McGrath <roland@hack.frob.com>
9470
9471 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9472 from the message. The linker prefixes all warnings with that already.
9473
7e2f0d2d
AS
94742013-02-12 Andreas Schwab <schwab@suse.de>
9475
a445af0b
AS
9476 [BZ #15078]
9477 * posix/regexec.c (extend_buffers): Add parameter min_len.
9478 (check_matching): Pass minimum needed length.
9479 (clean_state_log_if_needed): Likewise.
9480 (get_subexp): Likewise.
9481 * posix/Makefile (tests): Add bug-regex34.
9482 (bug-regex34-ENV): Define.
9483 * posix/bug-regex34.c: New file.
9484
7e2f0d2d
AS
9485 [BZ #11561]
9486 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9487 elements compare against the byte sequence of it, not its name.
9488 * posix/Makefile (tests): Add bug-regex35.
9489 (bug-regex35-ENV): Define.
9490 * posix/bug-regex35.c: New file.
9491
a175b684
TV
94922013-02-11 Tom de Vries <tom@codesourcery.com>
9493
9494 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9495 comment.
9496 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9497 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9498 (CHECK_EOL): Add undef.
9499
310998fe 95002013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9501
9502 * bits/stdlib-bsearch.h: New file.
9503 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9504 * stdlib/stdlib.h: Likewise.
41eda41d 9505
8ded91fb
RM
95062013-02-11 Roland McGrath <roland@hack.frob.com>
9507
9508 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9509 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9510 declaration.
9511 * manual/search.texi (Array Search Function): Add missing const in
9512 lfind prototype.
9513 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9514 declaration to use rlim_t.
9515 (Basic Scheduling Functions): Remove erroneous const from
9516 sched_getparam prototype. Remove erroneous * from
9517 sched_get_priority_max and sched_get_priority_min prototypes.
9518 (Resource Usage): Fix summary @comment on vtimes to refer to
9519 sys/vtimes.h rather than vtimes.h.
9520 Add missing *s in vtimes prototype.
9521 (Limits on Resources): Fix ulimit prototype to return long int.
9522 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9523 prototypes to use long int rather than double.
9524 (BSD Random): Fix initstate and setstate to use char *, not void *.
9525 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9526 prototype to make second argument 'struct aiocb64 *const[]'.
9527 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9528 (Status of AIO Operations): Remove erroneous const in aio_return and
9529 aio_return64 prototypes.
9530 (Synchronizing I/O): Fix sync prototype to return void.
9531 * manual/startup.texi (Suboptions): Remove an erroneous const in
9532 getsubopt prototype.
9533 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9534 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9535 use size_t rather than int.
9536 (Scanning All Users): Likewise for getpwent_r.
9537 (Setting Groups): Add missing const to setgroups prototype.
9538 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9539 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9540 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9541 'const void *' rather than 'const char *'.
9542 (Host Address Functions): Likewise for inet_ntop.
9543 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9544 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9545 ssize_t for return value.
9546 (Sending Data): Likewise for send, sendto, sendmsg.
9547 (Socket Option Functions): Add a missing const in setsockopt prototype.
9548 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9549 use wchar_t for the argument.
9550 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9551 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9552 take no arguments.
9553 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9554 double/float/long double for second argument.
9555 Fix return types of significand, significandf, significandl.
9556 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9557 argument in fchmod prototype.
9558 (File Owner): Use uid_t and gid_t in fchown prototype.
9559 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9560 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9561 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9562 use 'const struct dirent **' as argument types to CMP function pointer
9563 argument.
9564 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9565 (File Times): Fix summary magic @comment for struct utimbuf and utime
9566 to refer to utime.h, not time.h.
9567 * manual/string.texi (Argz Functions): Add missing const in
9568 argz_extract and argz_next prototypes.
9569 (Finding Tokens in a String): Likewise for basename.
9570 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9571 (Copying and Concatenation): Fix typo in wmemmove prototype.
9572 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9573 (Signal Stack): Remove erroneous const in sigstack prototype.
9574 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9575 prototype.
9576 (Simple Calendar Time): Likewise for stime.
9577 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9578 prototype.
9579 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9580 say sys/sysctl.h instead.
9581 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9582 and vsyslog prototypes.
9583
fe77fe6d
TV
95842013-02-11 Tom de Vries <tom@codesourcery.com>
9585
9586 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9587 Remove.
9588
3a09b620
RM
95892013-02-11 Roland McGrath <roland@hack.frob.com>
9590
9591 * misc/sys/mman.h: Fix typo in mremap comment.
9592
550a0b89
RM
95932013-02-08 Roland McGrath <roland@hack.frob.com>
9594
9595 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9596 the '\0' terminator.
9597
a2da1673
JM
95982013-02-08 Joseph Myers <joseph@codesourcery.com>
9599
9600 [BZ #13550]
9601 * debug/segfault.c: Don't include <bp-checks.h>.
9602 * sysdeps/generic/bp-checks.h: Remove file.
9603 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9604 (__GETDENTS): Don't use CHECK_N.
9605 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9606 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9607 (__getgroups): Don't use CHECK_N.
9608 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9609 (setgroups): Don't use CHECK_N.
9610 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9611 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9612 (__libc_msgrcv): Don't use CHECK_N.
9613 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9614 (__libc_msgsnd): Don't use CHECK_N.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9616 <bp-checks.h>.
9617 (__libc_pread): Don't use CHECK_N.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9619 include <bp-checks.h>.
9620 (__libc_pread64): Don't use CHECK_N.
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9622 include <bp-checks.h>.
9623 (__libc_pwrite): Don't use CHECK_N.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9625 include <bp-checks.h>.
9626 (__libc_pwrite64): Don't use CHECK_N.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9628 <bp-checks.h>.
9629 (__libc_pread): Don't use CHECK_N.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9631 include <bp-checks.h>.
9632 (__libc_pread64): Don't use CHECK_N.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9634 include <bp-checks.h>.
9635 (__libc_pwrite): Don't use CHECK_N.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9637 include <bp-checks.h>.
9638 (__libc_pwrite64): Don't use CHECK_N.
9639 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9640 (do_pread): Don't use CHECK_N.
9641 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9642 (do_pread64): Don't use CHECK_N.
9643 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9644 (do_pwrite): Don't use CHECK_N.
9645 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9646 (do_pwrite64): Don't use CHECK_N.
9647 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9648 (__libc_readv): Don't use CHECK_N.
9649 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9650 (semop): Don't use CHECK_N.
9651 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9652 <bp-checks.h>.
9653 (semtimedop): Don't use CHECK_N.
9654 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9655 (__libc_pread): Don't use CHECK_N.
9656 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9657 <bp-checks.h>.
9658 (__libc_pread64): Don't use CHECK_N.
9659 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9660 <bp-checks.h>.
9661 (__libc_pwrite): Don't use CHECK_N.
9662 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9663 <bp-checks.h>.
9664 (__libc_pwrite64): Don't use CHECK_N.
9665 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9666 <bp-checks.h>.
9667 (__libc_msgrcv): Don't use CHECK_N.
9668 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9669 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9670 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9671 (__libc_writev): Don't use CHECK_N.
9672
b84660a8
RM
96732013-02-08 Roland McGrath <roland@hack.frob.com>
9674
7f3e75f8
RM
9675 * string/strcpy.c: Removed unused variable.
9676
b84660a8
RM
9677 * Makeconfig (+sysdep-includes): Define with := rather than =.
9678 Use an existing include/ subdir of each sysdeps dir before it.
9679
471514d3
CD
96802013-02-08 Carlos O'Donell <carlos@redhat.com>
9681
9682 * nscd/connection.c (register_traced_file): Comment function.
9683 [HAVE_INOTIFY] (union __inev): Define.
9684 [HAVE_INOTIFY] (inotify_check_files): New function.
9685 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9686 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9687 clear_db_cache.
9688 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9689
b2d3c3be
CD
96902013-02-08 Carlos O'Donell <carlos@redhat.com>
9691
9692 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9693 loaded if not already and that a failure is permanent.
9694
b39949d2
CD
96952013-02-08 Carlos O'Donell <carlos@redhat.com>
9696
ddacd1db 9697 [BZ #15006]
b39949d2
CD
9698 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9699 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9700
b2c9eff4
JM
97012013-02-08 Joseph Myers <joseph@codesourcery.com>
9702
f3aae3f3
JM
9703 [BZ #13550]
9704 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9705 (CHECK_1_NULL_OK): Likewise.
9706 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9707 (__fxstat): Do not use CHECK_1.
9708 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9709 <bp-checks.h>.
9710 (___fxstat64): Do not use CHECK_1.
9711 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9712 <bp-checks.h>.
9713 (__fxstatat): Do not use CHECK_1.
9714 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9715 <bp-checks.h>.
9716 (__fxstatat64): Do not use CHECK_1.
9717 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9718 <bp-checks.h>.
9719 (__fxstat): Do not use CHECK_1.
9720 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9721 <bp-checks.h>.
9722 (__fxstatat): Do not use CHECK_1.
9723 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9724 <bp-checks.h>.
9725 (__getresgid): Do not use CHECK_1.
9726 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9727 <bp-checks.h>.
9728 (__getresuid): Do not use CHECK_1.
9729 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9730 <bp-checks.h>.
9731 (__lxstat): Do not use CHECK_1.
9732 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9733 <bp-checks.h>.
9734 (__old_msgctl): Do not use CHECK_1.
9735 (__new_msgctl): Likewise.
9736 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9737 <bp-checks.h>.
9738 (__new_setrlimit): Do not use CHECK_1.
9739 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9740 <bp-checks.h>.
9741 (__old_shmctl): Do not use CHECK_1.
9742 (__new_shmctl): Likewise.
9743 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9744 <bp-checks.h>.
9745 (__xstat): Do not use CHECK_1.
9746 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9747 (__lxstat): Do not use CHECK_1.
9748 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9749 <bp-checks.h>.
9750 (___lxstat64): Do not use CHECK_1.
9751 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9752 (__old_msgctl): Do not use CHECK_1.
9753 (__new_msgctl): Likewise.
9754 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9755 <bp-checks.h>.
9756 (__gettimeofday): Do not use CHECK_1.
9757 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9758 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9759 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9760 <bp-checks.h>.
9761 (__gettimeofday): Do not use CHECK_1.
9762 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9763 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9764 (__new_shmctl): Do not use CHECK_1.
9765 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9766 <bp-checks.h>.
9767 (do_sigtimedwait): Do not use CHECK_1.
9768 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9769 <bp-checks.h>.
9770 (do_sigwaitinfo): Do not use CHECK_1.
9771 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9772 <bp-checks.h>.
9773 (msgctl): Do not use CHECK_1.
9774 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9775 <bp-checks.h>.
9776 (shmctl): Do not use CHECK_1.
9777 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9778 (ustat): Do not use CHECK_1.
9779 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9780 <bp-checks.h>.
9781 (__fxstat): Do not use CHECK_1.
9782 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9783 <bp-checks.h>.
9784 (__fxstatat): Do not use CHECK_1.
9785 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9786 <bp-checks.h>.
9787 (__lxstat): Do not use CHECK_1.
9788 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9789 <bp-checks.h>.
9790 (__xstat): Do not use CHECK_1.
9791 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9792 (__xstat): Do not use CHECK_1.
9793 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9794 (___xstat64): Do not use CHECK_1.
9795
b2c9eff4
JM
9796 [BZ #13550]
9797 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9798 definitions.
9799 (CHECK_BOUNDS_HIGH): Likewise.
9800 * string/strcpy.c: Do not include <bp-checks.h>.
9801 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9802
f1d70dad
RM
98032013-02-07 Roland McGrath <roland@hack.frob.com>
9804
9805 * nscd/nscd-client.h (__nscd_drop_map_ref):
9806 Add __attribute__ ((unused)).
9807 * nis/nss-nisplus.h (niserr2nss): Likewise.
9808
9809 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9810 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9811
9812 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9813 Remove inline keyword.
9814 * include/rounding-mode.h (round_away): Likewise.
9815 * libio/wfileops.c (adjust_wide_data): Likewise.
9816 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9817 (__m128i_strloadu_tolower): Likewise.
9818 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9819 (__m128i_strloadu_tolower): Likewise.
9820 * time/mktime.c (ydhms_diff): Likewise.
9821 * locale/elem-hash.h (elem_hash): Likewise.
9822 * locale/setlocale.c (setdata): Likewise.
9823 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9824 (re_string_wchar_at): Likewise.
9825 (bitset_not, bitset_merge, bitset_mask): Likewise.
9826 [!(__GNUC__ > 3)] (inline): Remove macro.
9827 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9828 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9829 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9830 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9831 * string/memcmp.c (memcmp_bytes): Likewise.
9832 * locale/programs/locarchive.c (compute_hashval): Likewise.
9833 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9834 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9835 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9836 * nss/getent.c (print_rpc, print_protocols): Likewise.
9837 (print_passwd, print_group, print_aliases): Likewise.
9838 * nis/nss-nisplus.h (niserr2nss): Likewise.
9839 * nscd/connections.c (restart_p): Likewise.
9840 Change return type to bool.
9841
eab55bfb
RM
98422013-02-05 Roland McGrath <roland@hack.frob.com>
9843
7bd642f5
RM
9844 * Makeconfig (all-Depend-files): Add existing
9845 $(sorted-subdirs:=/Depend) files.
9846 (all-subdirs): Remove nss.
9847 * sysdeps/unix/inet/Subdirs: Add it here instead.
9848 * hesiod/Depend: New file.
9849
573c29b2
RM
9850 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9851 instead of calling alloca.
9852
b2e25af0
RM
9853 * io/lseek.c (__lseek): Rename to __libc_lseek.
9854 Define __lseek as an alias.
9855
eab55bfb
RM
9856 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9857
9a0d1941
CD
98582013-02-04 Carlos O'Donell <carlos@redhat.com>
9859
9860 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9861 else clause and remove check for non-standard endianness.
9862
b83bbec4
DM
98632013-02-04 David S. Miller <davem@davemloft.net>
9864
9865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9866
6277fdab
JM
98672013-02-04 Joseph Myers <joseph@codesourcery.com>
9868
9869 [BZ #13550]
9870 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9871 (__ubp_memchr): Remove prototype.
9872 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9873 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9874 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9875 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9876 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9877 Remove alias.
9878 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9879 (__ubp_memchr): Likewise.
9880 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9881 (__ubp_memchr): Likewise.
9882 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9883 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9884 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9885 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9886 CHECK_STRING.
9887 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9888 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9889 (__getcwd): Do not use CHECK_STRING.
9890 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9891 <bp-checks.h>.
9892 (__real_chown): Do not use CHECK_STRING.
9893 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9894 <bp-checks.h>.
9895 (fchownat): Do not use CHECK_STRING.
9896 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9897 CHECK_STRING.
9898 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9899 <bp-checks.h>.
9900 (__lchown): Do not use CHECK_STRING.
9901 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9902 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9903 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9904 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9906 include <bp-checks.h>.
9907 (truncate64): Do not use CHECK_STRING.
9908 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9909 <bp-checks.h>.
9910 (__real_chown): Do not use CHECK_STRING.
9911 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9912 <bp-checks.h>.
9913 (__lchown): Do not use CHECK_STRING.
9914 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9915 <bp-checks.h>.
9916 (__chown): Do not use CHECK_STRING.
9917 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9918 <bp-checks.h>.
9919 (truncate64): Do not use CHECK_STRING.
9920 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9921 Likewise.
9922 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9923 (__xmknod): Do not use CHECK_STRING.
9924 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9925 <bp-checks.h>.
9926 (__xmknodat): Do not use CHECK_STRING.
9927 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9928 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9929
903ae060
AS
99302013-02-04 Andreas Schwab <schwab@suse.de>
9931
9932 [BZ #14142]
9933 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9934 * include/netdb.h: Likewise for h_errno.
9935 * elf/tst-stackguard1.c: Include <tls.h>.
9936
542f9466
JK
99372013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9938
9939 * elf/link.h (struct link_map): Extend the l_addr comment.
9940 * include/link.h (struct link_map): Likewise.
9941
e782a927
JM
99422013-02-01 Joseph Myers <joseph@codesourcery.com>
9943
9944 [BZ #13550]
9945 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9946 (BOUNDED_1): Remove macro.
9947 * debug/backtrace.c: Don't include <bp-checks.h>.
9948 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9949 (__backtrace): Likewise.
9950 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9951 <bp-checks.h>.
9952 (__backtrace): Don't use BOUNDED_1.
9953 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9954 <bp-checks.h>.
9955 (__backtrace): Don't use BOUNDED_1.
9956 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9957 (__backtrace): Don't use BOUNDED_1.
9958 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9959 (shmat): Don't use BOUNDED_N.
9960
8cf28c5e
JM
99612013-01-31 Joseph Myers <joseph@codesourcery.com>
9962
3a7ac8a0
JM
9963 [BZ #13550]
9964 * sysdeps/generic/bp-start.h: Remove file.
9965 * csu/libc-start.c: Don't include <bp-start.h>.
9966 (LIBC_START_MAIN): Set up __environ directly instead of using
9967 INIT_ARGV_and_ENVIRON.
9968 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9969 <bp-start.h>.
9970
f3499f95
JM
9971 [BZ #13550]
9972 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9973 definitions.
9974 (CHECK_FCNTL): Likewise.
9975 (CHECK_N_PAGES): Likewise.
9976
32a45bea
JM
9977 [BZ #13550]
9978 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9979 definitions.
9980 (CHECK_SIGSET_NULL_OK): Likewise.
9981 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9982 <bp-checks.h>.
9983 (sigpending): Don't use CHECK_SIGSET.
9984 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9985 <bp-checks.h>.
9986 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9987 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9988 <bp-checks.h>.
9989 (do_sigsuspend): Don't use CHECK_SIGSET.
9990 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9991 use CHECK_SIGSET.
9992 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9993 (do_sigwait): Don't use CHECK_SIGSET.
9994 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9995 use CHECK_SIGSET.
9996 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9997 include <bp-checks.h>.
9998 (sigpending): Don't use CHECK_SIGSET.
9999 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10000 include <bp-checks.h>.
10001 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10002 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10003 <bp-checks.h>.
10004 (sigpending): Don't use CHECK_SIGSET.
10005 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10006 <bp-checks.h>.
10007 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10008
2e8a5c8c
JM
10009 [BZ #13550]
10010 * sysdeps/generic/bp-semctl.h: Remove file.
10011 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10012 <bp-checks.h> and <bp-semctl.h>.
10013 (__old_semctl): Don't use CHECK_SEMCTL.
10014 (__new_semctl): Likewise.
10015 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10016 and <bp-semctl.h>.
10017 (__old_semctl): Don't use CHECK_SEMCTL.
10018 (__new_semctl): Likewise.
10019 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10020 <bp-checks.h> and <bp-semctl.h>.
10021 (__old_semctl): Don't use CHECK_SEMCTL.
10022 (__new_semctl): Likewise.
10023 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10024 <bp-checks.h> and <bp-semctl.h>.
10025 (semctl): Don't use CHECK_SEMCTL.
10026
c2d54929
JM
10027 [BZ #13550]
10028 * Makerules (elide-bp-thunks): Remove variable.
10029 (elide-routines.oS): Don't use $(elide-bp-thunks).
10030 (elide-routines.os): Likewise.
10031 (elide-routines.o): Likewise.
10032 (elide-routines.op): Likewise.
10033 (elide-routines.og): Likewise.
10034 (objects): Don't use $(bp-thunks).
10035 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10036 include.
10037 (common-generated): Do not add s-proto-bp.d.
10038 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10039 (int): Likewise.
10040 (typ): Likewise.
10041 Do not generate makefile rules for bounded-pointer thunks.
10042 * sysdeps/generic/bp-thunks.h: Remove file.
10043 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10044 * sysdeps/unix/s-proto-bp.S: Likewise.
10045
8cf28c5e
JM
10046 [BZ #15062]
10047 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10048 parts of result separately when argument is not close to line from
10049 -i to i and one part of argument is small.
10050 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10051 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10052 * math/libm-test.inc (cacos_test): Add more tests.
10053 (casin_test): Likewise.
10054 (casinh_test): Likewise.
10055 * sysdeps/i386/fpu/libm-test-ulps: Update.
10056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10057
c4e33b8d
DM
100582013-01-31 David S. Miller <davem@davemloft.net>
10059
10060 * po/de.po: Update from translation team.
10061
3b60b421
MK
100622013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10063
10064 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10065
bb931195
TS
100662013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10067
b5a5da23
TS
10068 * configure.in (_AC_PROG_CC_C89): New definition.
10069 * configure: Regenerate.
10070
bb931195
TS
10071 * configure.in (AC_PROG_CPP): New definition.
10072 * configure: Regenerate.
10073
8c53a12c
JM
100742013-01-23 Joseph Myers <joseph@codesourcery.com>
10075
10076 * debug/tst-backtrace.h: New file.
10077 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10078 (ret): Remove variable.
10079 (x): Likewise.
10080 (FAIL): Remove macro.
10081 (NO_INLINE): Likewise.
10082 (fn1): Use match function instead of strstr.
10083 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10084 (ret): Remove variable.
10085 (x): Likewise.
10086 (FAIL): Remove macro.
10087 (NO_INLINE): Likewise.
10088 (fn): Use match function instead of strstr.
10089 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10090 (ret): Remove variable.
10091 (x): Likewise.
10092 (FAIL): Remove macro.
10093 (NO_INLINE): Likewise.
10094 (handle_signal): Use match function instead of strstr.
10095 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10096 (ret): Remove variable.
10097 (x): Likewise.
10098 (FAIL): Remove macro.
10099 (NO_INLINE): Likewise.
10100 (handle_signal): Use match function instead of strstr.
10101
4858fa2a
RM
101022013-01-23 Roland McGrath <roland@hack.frob.com>
10103
10104 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10105
bae8e7f5
DM
101062013-01-23 David S. Miller <davem@davemloft.net>
10107
10108 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10109 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10110 argument of CAS if possible.
10111 * sysdeps/sparc/sparc64/bits/atomic.h
10112 (__arch_compare_and_exchange_val_32_acq): Likewise.
10113 (__arch_compare_and_exchange_val_64_acq): Likewise.
10114
9cbbc4ae
PT
101152013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10116
10117 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10118 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10119 Include <limits.h>.
67b3f58c 10120 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10121
5655a0b5
AC
101222013-01-23 Adam Conrad <adconrad@0c3.net>
10123
10124 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10125 (LDFLAGS-tst-array5): Likewise.
10126
052aff95
JM
101272013-01-23 Joseph Myers <joseph@codesourcery.com>
10128
10129 [BZ #15036]
10130 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10131 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10132 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10133 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10134
7c1e01aa
DM
101352013-01-21 David S. Miller <davem@davemloft.net>
10136
10137 * sysdeps/sparc/backtrace.c: New file.
10138 * sysdeps/sparc/sparc32/backtrace.h: New file.
10139 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10140 * sysdeps/sparc/sparc64/backtrace.h: New file.
10141 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10142 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10143 -funwind-tables.
10144
ab087e0a
AS
101452013-01-21 Andreas Schwab <schwab@suse.de>
10146
10147 [BZ #15020]
10148 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10149 closed its stdout.
10150
ed689c2f
AS
101512013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10152
10153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10154 "mpa2.h".
10155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10156
31d470ac
JM
101572013-01-18 Joseph Myers <joseph@codesourcery.com>
10158 Mark Mitchell <mark@codesourcery.com>
10159 Tom de Vries <tom@codesourcery.com>
10160 Paul Pluzhnikov <ppluzhnikov@google.com>
10161
10162 * debug/tst-backtrace2.c: New file.
10163 * debug/tst-backtrace3.c: Likewise.
10164 * debug/tst-backtrace4.c: Likewise.
10165 * debug/tst-backtrace5.c: Likewise.
10166 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10167 (CFLAGS-tst-backtrace3.c): Likewise.
10168 (CFLAGS-tst-backtrace4.c): Likewise.
10169 (CFLAGS-tst-backtrace5.c): Likewise.
10170 (LDFLAGS-tst-backtrace2): Likewise.
10171 (LDFLAGS-tst-backtrace3): Likewise.
10172 (LDFLAGS-tst-backtrace4): Likewise.
10173 (LDFLAGS-tst-backtrace5): Likewise.
10174 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10175 tst-backtrace4 and tst-backtrace5.
10176
90567f30 101772013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10178 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10179
10180 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10181 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10182 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10183 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10185 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10186 "+r" and remove output regs list as redundant. Add explicit inline
10187 asm to specify register of return val to work around compiler codegen
10188 bug. Remove (int) cast on return value. Add return type parameter to
10189 use in macro so that this macro does not truncate return value for
10190 64-bit values.
10191 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10192 pass to INTERNAL_VSYSCALL_NCS.
10193 (INLINE_VSYSCALL): Add 'long int' as return type to
10194 INTERNAL_VSYSCALL_NCS macro invocation.
10195 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10196 INTERNAL_VSYSCALL_NCS macro invocation.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10198
d3b9ea61
SP
101992013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10200
0b57daeb
SP
10201 [BZ #14496]
10202 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10203 Fix application of SIMD FP exception mask.
10204
caa99d06
SP
10205 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10206 mp_no from a power of two.
10207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10208 __mpexp_twomm1. Use __pow_mp.
10209
d3b9ea61
SP
10210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10211 multiplication.
10212
1dbaee3c
DM
102132013-01-17 David S. Miller <davem@davemloft.net>
10214
10215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10216
728d7b43
JM
102172013-01-17 Joseph Myers <joseph@codesourcery.com>
10218
10219 [BZ #15023]
10220 * include/complex.h: Condition contents on [!_COMPLEX_H].
10221 (__kernel_casinhf): New prototype.
10222 (__kernel_casinh): Likewise.
10223 (__kernel_casinhl): Likewise.
10224 * math/Makefile (libm_calls): Add k_casinh.
10225 * math/k_casinh.c: New file.
10226 * math/k_casinhf.c: Likewise.
10227 * math/k_casinhl.c: Likewise.
10228 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10229 finite nonzero arguments.
10230 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10231 finite nonzero arguments.
10232 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10233 finite nonzero arguments.
10234 * math/s_casinh.c: Do not include <float.h>.
10235 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10236 * math/s_casinhf.c: Do not include <float.h>.
10237 (__casinhf): Move code for finite nonzero arguments to
10238 k_casinhf.c.
10239 * math/s_casinhl.c: Do not include <float.h>.
10240 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10241 redefine.
10242 (__casinhl): Move code for finite nonzero arguments to
10243 k_casinhl.c.
10244 * math/libm-test.inc (cacos_test): Add more tests.
10245 * sysdeps/i386/fpu/libm-test-ulps: Update.
10246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10247
2a26ef3a
PT
102482013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10249
10250 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10251 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10252 [!HAVE_MREMAP]: Remove [defined linux] case.
10253 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10254
a897655d
SP
102552013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10256
10257 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10258
881ebe89 102592013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10260
10261 * elf/elf.h (R_386_SIZE32): New relocation.
10262 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10263 R_386_SIZE32.
10264 (elf_machine_rela): Likewise.
10265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10266 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10267
59981e9b
JM
102682013-01-17 Joseph Myers <joseph@codesourcery.com>
10269
10270 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10271 (FP_FAST_FMA): Do not define.
10272 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10273 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10274 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10275 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10276 !_SOFT_FLOAT]: Likewise.
10277 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10278 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10279 value.
10280 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10281 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10282 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10283 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10284 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10285 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10286 file.
10287
cfa8054f
AS
102882013-01-16 Andreas Schwab <schwab@suse.de>
10289
10290 [BZ #14327]
10291 * include/stdlib.h (__mktemp): Add declaration.
10292 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10293 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10294
dd930cc5
SP
102952013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10296
881ebe89
SP
10297 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10298 definitions.
10299 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10300 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10301 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10302 definitions here.
10303 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10304 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10305 definitions.
10306 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10307 and ONE.
10308 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10309 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10310 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10311 definitions.
10312 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10313 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10314 definitions.
10315 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10316
dd930cc5
SP
10317 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10318
c19a9f89
DM
103192013-01-15 David S. Miller <davem@davemloft.net>
10320
1aa61767
DM
10321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10322 trunc{,f} to libm-sysdep_routes.
10323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10325 file.
10326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10328 file.
10329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10330 file.
10331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10333 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10334 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10335 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10336 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10337 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10338 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10339
c42d5e98
DM
10340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10341 nearbyint{,f} to libm-sysdep_routes.
10342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10344 New file.
10345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10346 file.
10347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10348 New file.
10349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10350 file.
10351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10353 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10354 file.
10355 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10356 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10357 file.
10358 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10359 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10360 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10361
c19a9f89
DM
10362 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10363 libc_feholdexcept and libc_fesetenv.
10364
357679d2
MF
103652013-01-15 Mike Frysinger <vapier@gentoo.org>
10366
10367 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10368
65a82e3d
DM
103692013-01-14 David S. Miller <davem@davemloft.net>
10370
8b954ab9
DM
10371 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10372 (SPARC_ASM_VIS2_IFUNC): Likewise.
10373 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10375 use of 'siam' instruction.
10376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10377 Likewise.
10378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10379 Likewise.
10380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10381 Likewise.
10382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10387 file.
10388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10389 file.
10390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10391 file.
10392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10393 file.
10394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10399 new VIS2 routines.
10400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10403 Likewise.
10404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10409 routines to libm-sysdep_routines.
10410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10411
65a82e3d
DM
10412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10413 fdim/fdimf to libm-sysdep_routines.
10414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10415 file.
10416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10418 file.
10419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10422 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10423 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10424 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10425 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10426
e34ab705
SP
104272013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10428
2a91b573
SP
10429 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10430 to optimize copies.
10431
1066a534
SP
10432 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10435
e34ab705
SP
10436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10437 local variable MPTWO.
10438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10439 Likewise.
10440
aba5e596
MF
104412013-01-13 Mike Frysinger <vapier@gentoo.org>
10442
10443 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10444 GLOB_NOESCAPE.
10445
e557e9e5
MF
104462013-01-13 Mike Frysinger <vapier@gentoo.org>
10447
10448 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10449
0428cec9
MF
104502013-01-13 Mike Frysinger <vapier@gentoo.org>
10451
10452 * manual/pattern.texi (glob_t): Document gl_flags.
10453 (glob64_t): Likewise.
10454
8794a964
DM
104552013-01-11 David S. Miller <davem@davemloft.net>
10456
66438c3f
RM
10457 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10458 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10459 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10460 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10461 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10462 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10463 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10464 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10465 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10466 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10467 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10468 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10469 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10470
4ae4244d
DM
10471 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10472 sparc V9 rather than using V8 code.
10473 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10474 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10475
8794a964
DM
10476 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10477 Move to...
10478 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10479 Here.
10480
6270516e
RM
104812013-01-11 Roland McGrath <roland@hack.frob.com>
10482
10483 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10484 not in the main loop.
10485 * configure: Regenerated.
10486
6a57d931
JM
104872013-01-11 Joseph Myers <joseph@codesourcery.com>
10488
10489 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10490 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10491 to just #else.
10492 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10493 [!__GLIBC_HAVE_LONG_LONG] case.
10494 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10495 condition to just #else.
10496 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10497 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10498 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10499 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10500 unconditional.
10501 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10502 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10503 #elif condition to just #else.
10504 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10505 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10506 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10507 #elif condition to just #else.
10508
0e8529e9
SE
105092013-01-11 Steve Ellcey <sellcey@mips.com>
10510
10511 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10512 (EF_MIPS_ARCH_64): Fix value.
10513 (EF_MIPS_ARCH_32R2): New.
10514 (EF_MIPS_ARCH_64R2): New.
10515
740b3dbe
L
105162013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10517
10518 * Makeconfig (+link-pie-before-libc): New.
10519 (+link-pie-after-libc): Likewise.
10520 (+link-pie-tests): Likewise.
10521 (+link-pie): Rewritten.
10522 (link-before-libc): Remove $(config-LDFLAGS).
10523 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10524 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10525 (config-LDFLAGS): Renamed to ...
10526 (rtld-LDFLAGS): This.
10527 (rtld-tests-LDFLAGS): New macro.
10528 (link-libc-rpath-link): Likewise.
10529 (link-libc-tests-rpath-link): Likewise.
10530 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10531 (link-libc): Prepand $(link-libc-rpath-link).
10532 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10533 (test-program-prefix): New macro.
10534 (test-via-rtld-prefix): Likewise.
10535 (test-program-cmd): Likewise.
10536 (host-test-program-cmd): Likewise.
10537 * Makefile ($(common-objpfx)testrun.sh): Replace
10538 $(run-program-prefix) with $(test-program-prefix).
10539 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10540 $(rtld-LDFLAGS).
10541 ($(common-objpfx)shlib.lds): Likewise.
10542 (build-module-helper): Likewise.
10543 ($(common-objpfx)format.lds): Likewise.
10544 * Rules (binaries-pie-tests): New.
10545 (binaries-pie-notests): Likewise.
10546 (binaries-pie): Rewritten.
10547 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10548 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10549 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10550 (make-test-out): Replace $(host-built-program-cmd) with
10551 $(host-test-program-cmd).
10552 * config.make.in (build-hardcoded-path-in-tests): New variable.
10553 * configure.in (--enable-hardcoded-path-in-tests): New configure
10554 option.
10555 (hardcoded_path_in_tests): New AC_SUBST.
10556 * configure: Regenerated.
10557 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10558 $(built-program-cmd) with $(test-program-cmd).
10559 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10560 (test_program_cmd): This.
10561 * elf/Makefile ($(objpfx)order.out): Run test with
10562 $(test-program-prefix).
10563 ($(objpfx)order2.out): Likewise.
10564 ($(objpfx)tst-initorder.out): Likewise.
10565 ($(objpfx)tst-initorder2.out): Likewise.
10566 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10567 $(test-program-cmd).
10568 ($(objpfx)tst-array1-static.out): Likewise.
10569 ($(objpfx)tst-array2.out): Likewise.
10570 ($(objpfx)tst-array3.out): Likewise.
10571 ($(objpfx)tst-array4.out): Likewise.
10572 ($(objpfx)tst-array5.out): Likewise.
10573 ($(objpfx)tst-array5-static.out): Likewise.
10574 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10575 $(test-program-cmd).
10576 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10577 $(run-program-prefix) with $(test-program-prefix).
10578 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10579 (test_program_prefix): This.
10580 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10581 $(run-program-prefix) with $(test-program-prefix).
10582 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10583 (test_program_prefix): This.
10584 * iconvdata/tst-tables.sh: Likewise.
10585 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10586 $(run-program-prefix) with $(test-program-prefix).
10587 ($(objpfx)tst-translit.out): Likewise.
10588 ($(objpfx)tst-gettext2.out): Likewise.
10589 ($(objpfx)tst-gettext4.out): Likewise.
10590 ($(objpfx)tst-gettext6.out): Likewise.
10591 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10592 (test_program_prefix): This.
10593 * intl/tst-gettext2.sh: Likewise.
10594 * intl/tst-gettext4.sh Likewise.
10595 * intl/tst-gettext6.sh: Likewise.
10596 * intl/tst-translit.sh: Likewise.
10597 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10598 with $(test-program-cmd).
10599 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10600 $(run-program-prefix) with $(test-program-prefix).
10601 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10602 (test_program_prefix): This.
10603 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10604 $(run-program-prefix) with $(test-program-prefix).
10605 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10606 (test_program_prefix): This.
10607 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10608 * posix/Makefile ($(objpfx)globtest.out): Replace
10609 $(run-via-rtld-prefix) and $(test-wrapper) with
10610 $(test-program-prefix) and $(test-via-rtld-prefix).
10611 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10612 $(test-program-prefix).
10613 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10614 $(host-test-program-cmd).
10615 (tst-spawn-ARGS): Likewise.
10616 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10617 $(test-program-prefix).
10618 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10619 (test_via_rtld_prefix): This.
10620 (test_wrapper): Renamed to ...
10621 (test_program_prefix): This.
10622 (run_program_prefix): Replaced by test_program_prefix.
10623 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10624 (test_program_prefix): This.
10625 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10626 with $(host-test-program-cmd).
10627 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10628 $(run-program-prefix) with $(test-program-prefix).
10629 ($(objpfx)tst-printf.out): Likewise.
10630 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10631 $(test-program-cmd).
10632 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10633 (test_program_prefix): This.
10634 * stdio-common/tst-unbputc.sh: Likewise.
10635 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10636 $(run-program-prefix) with $(test-program-prefix).
10637 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10638 (test_program_prefix): This.
10639 * string/Makefile ($(objpfx)tst-svc.out): Replace
10640 $(built-program-cmd) with $(test-program-cmd).
10641
c6fe55cf
AJ
106422013-01-11 Andreas Jaeger <aj@suse.de>
10643
10644 [BZ #15003]
10645 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10646 value. Sync with Linux 3.7.
10647
9e6919c8
DM
106482013-01-10 David S. Miller <davem@davemloft.net>
10649
10650 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10651 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10652 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10653
1c9f1a02
RM
106542013-01-10 Roland McGrath <roland@hack.frob.com>
10655
10656 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10657 never set.
10658 * configure: Regenerated.
10659
b9de2dde
DM
106602013-01-10 David S. Miller <davem@davemloft.net>
10661
10662 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10663 sparc V9 rather than using V8 code.
10664 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10665 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10666
e7f68ef4
RM
106672013-01-10 Roland McGrath <roland@hack.frob.com>
10668
10669 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10670 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10671 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10672 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10673 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10674 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10675 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10676 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10677 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10678 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10679 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10680 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10681 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10682 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10683 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10684 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10685 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10686 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10687 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10688 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10689 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10690 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10691 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10692 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10693 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10694 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10695 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10696
5a47cc9c
DM
106972013-01-10 David S. Miller <davem@davemloft.net>
10698
10699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10700
4cf8f209
L
107012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10702
10703 * posix/Makefile (tests-static): New variable.
10704 (tests): Add $(tests-static).
10705 (tst-exec-static-ARGS): New variable.
10706 (tst-spawn-static-ARGS): Likewise.
10707 * posix/tst-exec-static.c: New file.
10708 * posix/tst-spawn-static.c: Likewise.
10709 * posix/tst-exec.c: Support run directly.
10710 * posix/tst-spawn.c: Likewise.
10711
fed0faa1
JM
107122013-01-10 Joseph Myers <joseph@codesourcery.com>
10713
828beb13
JM
10714 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10715 long.
10716 * math/bits/mathcalls.h (llrint): Likewise.
10717 (llround): Likewise.
10718 * stdlib/stdlib.h (struct drand48_data): Likewise.
10719 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10720 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10721 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10722 Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10724 Likewise.
10725 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10726 (elf_greg_t): Likewise.
10727 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10728 (__jmp_buf): Likewise.
10729 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10730 definitions.
10731 (llrint): Likewise, for all definitions.
10732 (llrintl): Likewise.
10733
fed0faa1
JM
10734 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10735 Remove [__GNUC__] condition.
10736 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10737 condition to just [__USE_ISOC99].
10738 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10739
1a20cb20
L
107402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10741
10742 [BZ #14200]
10743 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10744 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10745 defined.
10746 (_POSIX_V6_ILP32_OFF32): Likewise.
10747 (_XBS5_ILP32_OFF32): Likewise.
10748 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10749 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10750
751b85f7
SP
107512013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10752
7490eb81
SP
10753 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10754
751b85f7
SP
10755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10756 doubles __mpexp_twomm1. Adjust usage.
10757 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10758 Remove.
10759
988197f0
AS
107602013-01-10 Andreas Schwab <schwab@suse.de>
10761
10762 [BZ #14964]
10763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10764 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10765
e83d7298
DM
107662013-01-09 David S. Miller <davem@davemloft.net>
10767
034ed64b 10768 [BZ #15003]
e83d7298
DM
10769 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10770 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10771 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10772 TCP_FASTOPEN): Define.
10773 (tcp_repair_opt): New structure.
10774 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10775 enum values.
10776 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10777 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10778 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10779 (tcp_cookie_transactions): New structure.
10780
d5e0b9bd
AB
107812013-01-09 Anton Blanchard <anton@samba.org>
10782
10783 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10784 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10785 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10786 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10787
0c07e3ea
JM
107882013-01-09 Joseph Myers <joseph@codesourcery.com>
10789
10790 * include/features.h (__USE_ANSI): Remove.
10791
232f7002
RM
107922013-01-09 Roland McGrath <roland@hack.frob.com>
10793
ad98e30c
RM
10794 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10795
232f7002
RM
10796 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10797
950c99ca
SP
107982013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10799
b5792741
SP
10800 * sysdeps/s390/fpu/libm-test-ulps: Update.
10801
47cf2278
SP
10802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10803
950c99ca
SP
10804 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10805 (__acr): Likewise.
10806 (__cpy): Likewise.
10807 (norm): Likewise.
10808 (denorm): Likewise.
10809 (__mp_dbl): Likewise.
10810 (__dbl_mp): Likewise.
10811 (add_magnitudes): Likewise.
10812 (sub_magnitudes): Likewise.
10813 (__add): Likewise.
10814 (__sub): Likewise.
10815 (__mul): Likewise.
10816 (__inv): Likewise.
10817 (__dvd): Likewise.
10818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10819 (__acr): Likewise.
10820 (__cpy): Likewise.
10821 (norm): Likewise.
10822 (denorm): Likewise.
10823 (__mp_dbl): Likewise.
10824 (__dbl_mp): Likewise.
10825 (add_magnitudes): Likewise.
10826 (sub_magnitudes): Likewise.
10827 (__add): Likewise.
10828 (__sub): Likewise.
10829 (__mul): Likewise.
10830 (__inv): Likewise.
10831 (__dvd): Likewise.
10832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10833 (__acr): Likewise.
10834 (__cpy): Likewise.
10835 (norm): Likewise.
10836 (denorm): Likewise.
10837 (__mp_dbl): Likewise.
10838 (__dbl_mp): Likewise.
10839 (add_magnitudes): Likewise.
10840 (sub_magnitudes): Likewise.
10841 (__add): Likewise.
10842 (__sub): Likewise.
10843 (__mul): Likewise.
10844 (__inv): Likewise.
10845 (__dvd): Likewise.
10846
eede9df9
JM
108472013-01-08 Joseph Myers <joseph@codesourcery.com>
10848
10849 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10850 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10851 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10852 2 && __USE_EXTERN_INLINES]: Likewise.
10853
c40ea3d9
AJ
108542013-01-08 Andreas Jaeger <aj@suse.de>
10855
10856 [BZ# 14985]
10857 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10858 Remove.
10859 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10860 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10861
2ccdea26
AB
108622013-01-07 Anton Blanchard <anton@samba.org>
10863
10864 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10865 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10866 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10867 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10868 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10869 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10870 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10871 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10873 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10874 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10875 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10876 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10877 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10878 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10879 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10880 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10881 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10882 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10883 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10884 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10885 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10887 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10888 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10889 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10890 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10891 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10893 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10894 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10897 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10898 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10899 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10901 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10902 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10903 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10904 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10905 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10906 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10907
a9708fed
JM
109082013-01-07 Joseph Myers <joseph@codesourcery.com>
10909
375607b9
JM
10910 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10911 (__MALLOC_PMT): Likewise.
10912 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10913 [__GNUC__], only on [_LIBC].
10914 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10915 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10916 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10917 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10918 forward declaration.
10919 (realloc_hook_ini): Likewise.
10920 (memalign_hook_ini): Likewise.
10921 (__libc_memalign): Do not use __MALLOC_PMT in variable
10922 declaration.
10923 (__libc_valloc): Likewise.
10924 (__libc_pvalloc): Likewise.
10925 (__libc_calloc): Likewise.
10926 (__posix_memalign): Likewise.
10927
a9708fed
JM
10928 [BZ #14996]
10929 * math/s_casinh.c: Include <float.h>.
10930 (__casinh): Do not do computation with squaring and square root
10931 for large arguments.
10932 * math/s_casinhf.c: Include <float.h>.
10933 (__casinhf): Do not do computation with squaring and square root
10934 for large arguments.
10935 * math/s_casinhl.c: Include <float.h>.
10936 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10937 (__casinhl): Do not do computation with squaring and square root
10938 for large arguments.
10939 * math/libm-test.inc (casin_test): Add more tests.
10940 (casinh_test): Likewise.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10943
afec409a
L
109442013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10947 (__x86_64_raw_data_cache_size): Likewise.
10948 (__x86_64_data_cache_size_half): Likewise.
10949 (__x86_64_raw_data_cache_size_half): Likewise.
10950 (__x86_64_shared_cache_size): Likewise.
10951 (__x86_64_raw_shared_cache_size): Likewise.
10952 (__x86_64_shared_cache_size_half): Likewise.
10953 (__x86_64_raw_shared_cache_size_half): Likewise.
10954 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10955 to ...
10956 (__x86_data_cache_size): This.
10957 (__x86_64_raw_data_cache_size): Renamed to ...
10958 (__x86_raw_data_cache_size): This.
10959 (__x86_64_data_cache_size_half): Renamed to ...
10960 (__x86_data_cache_size_half): This.
10961 (__x86_64_raw_data_cache_size_half): Renamed to ...
10962 (__x86_raw_data_cache_size_half): This.
10963 (__x86_64_shared_cache_size): Renamed to ...
10964 (__x86_shared_cache_size): This.
10965 (__x86_64_raw_shared_cache_size): Renamed to ...
10966 (__x86_raw_shared_cache_size): This.
10967 (__x86_64_shared_cache_size_half): Renamed to ...
10968 (__x86_shared_cache_size_half): This.
10969 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10970 (__x86_raw_shared_cache_size_half): This.
10971 * sysdeps/x86_64/memcpy.S: Updated.
10972 * sysdeps/x86_64/memset.S: Likewise.
10973 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10974 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10975 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10976
0b3986d0
DM
109772013-01-04 David S. Miller <davem@davemloft.net>
10978
10979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10980
e47686e9
AS
109812013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10982
d643bac1
AS
10983 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10984 1 to avoid redefinition warning.
10985 (__USE_GNU): Don't define.
10986 (init_signaling_nan): Protoize.
10987
e47686e9
AS
10988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10989
b18decba
SP
109902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10991
fffb407f
SP
10992 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10994 (__cpymn): Likewise.
10995 (norm): Remove commented code.
10996 (denorm): Likewise.
10997 (__mp_dbl): Likewise.
10998 (__inv): Likewise.
10999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11000 (__cpymn): Likewise.
11001 (norm): Remove commented code.
11002 (denorm): Likewise.
11003 (__mp_dbl): Likewise.
11004 (__inv): Likewise.
11005
b18decba
SP
11006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11007 mp_no value for 1.0 and 2.0.
11008 (norm): Use RADIXI instead of radixi.d.
11009 (denorm): Likewise.
11010 (__mul): Use 0.0 instead of zero.d.
11011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11012 mp_no value for 1.0 and 2.0.
11013 (norm): Use RADIXI instead of radixi.d.
11014 (denorm): Likewise.
11015 (__mul): Use 0.0 instead of zero.d.
11016
cdc1c96f
JM
110172013-01-04 Joseph Myers <joseph@codesourcery.com>
11018
11019 [BZ #14994]
11020 * math/s_casinh.c (__casinh): Reduce finite argument to first
11021 quadrant then set signs of results at the end.
11022 * math/s_casinhf.c (__casinhf): Likewise.
11023 * math/s_casinhl.c (__casinhl): Likewise.
11024 * math/libm-test.inc (casin_test): Add more tests.
11025 (casinh_test): Likewise.
11026 * sysdeps/i386/fpu/libm-test-ulps: Update.
11027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11028
302913e1
SP
110292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11030
6420d207
SP
11031 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11032
a9e48ab4
SP
11033 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11034
b7837264
SP
11035 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11036 declarations.
11037 (denorm): Likewise.
11038 (__mp_dbl): Likewise.
11039 (__inv): Likewise.
11040
f8af25d2
SP
11041 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11042 and adjust the header comment.
11043
302913e1
SP
11044 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11045 variable name from declaration.
11046
5d7dd1ca
L
110472013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11048
11049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11050 Initialize COMMON_CPUID_INDEX_7 element.
11051 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11052 (CPUID_RTM): Likewise.
11053 (HAS_RTM): Likewise.
11054 (COMMON_CPUID_INDEX_7): New enum.
11055
2f5f40f4
AS
110562013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11057
11058 [BZ #14981]
11059 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11060 size is zero, record memory as freed.
11061
4056f4a0
AJ
110622013-01-03 Andreas Jaeger <aj@suse.de>
11063
11064 * po/ia.po: Add new Interlingua translation.
11065
ab15736f 110662012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11067
11068 * locale/programs/localedef.c: Fix description of '--posix' flag.
11069
568035b7
JM
110702013-01-02 Joseph Myers <joseph@codesourcery.com>
11071
e6898b8d
JM
11072 * NEWS: Update dates in second copyright notice.
11073 * README: Update copyright dates in example.
11074 * manual/libc.texinfo: Update copyright dates.
11075 * scripts/test-installation.pl: Update copyright date in --version
11076 output.
11077
0e2f9562
JM
11078 * hurd/ctty-input.c: Fix copyright notice formatting.
11079 * hurd/ctty-output.c: Likewise.
11080 * hurd/dtable.c: Likewise.
11081 * hurd/hurd-raise.c: Likewise.
11082 * hurd/hurdprio.c: Likewise.
11083 * hurd/msgportdemux.c: Likewise.
11084 * misc/sys/file.h: Likewise.
11085 * misc/sys/ioctl.h: Likewise.
11086 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11087 * sysdeps/mach/hurd/chdir.c: Likewise.
11088 * sysdeps/mach/hurd/fchdir.c: Likewise.
11089 * sysdeps/mach/hurd/rename.c: Likewise.
11090 * sysdeps/mach/hurd/rmdir.c: Likewise.
11091 * sysdeps/mach/hurd/seekdir.c: Likewise.
11092 * sysdeps/mach/hurd/setsid.c: Likewise.
11093 * sysdeps/posix/wait3.c: Likewise.
11094
568035b7
JM
11095 * All files with FSF copyright notices: Update copyright dates
11096 using scripts/update-copyrights.
11097 * intl/plural.c: Regenerated.
11098 * locale/programs/charmap-kw.h: Likewise.
11099 * locale/programs/locfile-kw.h: Likewise.
11100
da08f647
SP
111012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11102
0f5477af
SP
11103 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11104 four values.
11105
44e0d4c2
SP
11106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11107 calculation loop and add branch prediction.
11108
4d55b4e5
SP
11109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11110 check access beyond bounds of m1np.
11111
da08f647
SP
11112 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11113 MPTWO.
11114 (__inv): Remove local variable MPTWO to use the global
11115 constant.
11116 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11118 variable MPTWO.
11119 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11120 MP3HALFS static const.
11121
8e051029
DM
111222013-01-01 David S. Miller <davem@davemloft.net>
11123
11124 * po/ca.po: Update from translation team.
11125
f4cf5f2d
JM
111262013-01-01 Joseph Myers <joseph@codesourcery.com>
11127
11128 * scripts/update-copyrights: New file.
11129 * Makeconfig: Reformat copyright notice.
11130 * ctype/ctype.h: Likewise.
11131 * debug/swprintf_chk.c: Likewise.
11132 * elf/dl-cache.c: Likewise.
11133 * elf/dl-debug.c: Likewise.
11134 * elf/dl-object.c: Likewise.
11135 * grp/initgroups.c: Likewise.
11136 * hurd/Makefile: Likewise.
11137 * hurd/hurd/signal.h: Likewise.
11138 * hurd/hurdfault.c: Likewise.
11139 * hurd/hurdioctl.c: Likewise.
11140 * hurd/hurdlookup.c: Likewise.
11141 * hurd/intr-msg.c: Likewise.
11142 * iconv/gconv_open.c: Likewise.
11143 * libio/swprintf.c: Likewise.
11144 * locale/lc-ctype.c: Likewise.
11145 * locale/nl_langinfo.c: Likewise.
11146 * mach/Machrules: Likewise.
11147 * mach/Makefile: Likewise.
11148 * malloc/obstack.h: Likewise.
11149 * manual/Makefile: Likewise.
11150 * manual/tsort.awk: Likewise.
11151 * misc/bits/stab.def: Likewise.
11152 * nis/nis_print_group_entry.c: Likewise.
11153 * nis/nis_table.c: Likewise.
11154 * nis/nss_compat/compat-pwd.c: Likewise.
11155 * nis/nss_compat/compat-spwd.c: Likewise.
11156 * po/Makefile: Likewise.
11157 * posix/fnmatch.c: Likewise.
11158 * posix/regex.h: Likewise.
11159 * resolv/Makefile: Likewise.
11160 * resolv/nss_dns/dns-network.c: Likewise.
11161 * resolv/res_hconf.c: Likewise.
11162 * scripts/gen-sorted.awk: Likewise.
11163 * soft-fp/soft-fp.h: Likewise.
11164 * stdio-common/printf.h: Likewise.
11165 * stdlib/monetary.h: Likewise.
11166 * stdlib/random.c: Likewise.
11167 * stdlib/random_r.c: Likewise.
11168 * sysdeps/generic/Makefile: Likewise.
11169 * sysdeps/gnu/Makefile: Likewise.
11170 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11190 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11198 * sysdeps/mach/hurd/errnos.awk: Likewise.
11199 * sysdeps/mach/hurd/fork.c: Likewise.
11200 * sysdeps/mach/hurd/getcwd.c: Likewise.
11201 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11202 * sysdeps/mach/hurd/mmap.c: Likewise.
11203 * sysdeps/mach/hurd/utimes.c: Likewise.
11204 * sysdeps/mach/hurd/xmknod.c: Likewise.
11205 * sysdeps/posix/profil.c: Likewise.
11206 * sysdeps/posix/readdir_r.c: Likewise.
11207 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11208 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11209 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11210 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11212 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11213 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11214 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11216 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11217 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11218 * sysdeps/pthread/lio_listio.c: Likewise.
11219 * sysdeps/sparc/dl-procinfo.h: Likewise.
11220 * sysdeps/unix/i386/sysdep.S: Likewise.
11221 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11222 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11223 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11224 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11226 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11227 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11228 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11229 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11230 * sysdeps/wordsize-32/divdi3.c: Likewise.
11231 * time/sys/time.h: Likewise.
11232 * wcsmbs/Makefile: Likewise.
11233
0549fbba
DM
112342013-01-01 David S. Miller <davem@davemloft.net>
11235
a141f1a7
DM
11236 * po/fr.po: Update from translation team.
11237
0549fbba
DM
11238 * catgets/gencat.c: Update copyright year.
11239 * csu/version.c: Likewise.
11240 * debug/catchsegv.sh: Likewise.
11241 * debug/pcprofiledump.c: Likewise.
11242 * debug/xtrace.sh: Likewise.
11243 * elf/ldconfig.c: Likewise.
11244 * elf/ldd.bash.in: Likewise.
11245 * elf/pldd.c: Likewise.
11246 * elf/sotruss.ksh: Likewise.
11247 * elf/sprof.c: Likewise.
11248 * iconv/iconv_prog.c: Likewise.
11249 * iconv/iconvconfig.c: Likewise.
11250 * locale/programs/locale.c: Likewise.
11251 * locale/programs/localedef.c: Likewise.
11252 * login/programs/pt_chown.c: Likewise.
11253 * malloc/memusage.sh: Likewise.
11254 * malloc/memusagestat.c: Likewise.
11255 * malloc/mtrace.pl: Likewise.
11256 * nscd/nscd.c: Likewise.
11257 * nss/getent.c: Likewise.
11258 * nss/makedb.c: Likewise.
11259 * posix/getconf.c: Likewise.
11260
18ea052c
SP
112612012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11262
11263 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11264 numbers.
11265
9c89fca6
MF
112662012-12-30 Mike Frysinger <vapier@gentoo.org>
11267
11268 * math/bits/mathcalls.h (modf): Use __nonnull.
11269
085ec079
SP
112702012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11271
11272 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11273 (split): Use macro CN instead of the bare value.
11274 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11275 could be used.
11276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11277 instead of the bare value.
11278 (power1): Likewise.
11279
6d9f97e1
SP
112802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11281
d63f73be
SP
11282 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11283 __ATAN_TWOM.
11284 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11285
6d9f97e1
SP
11286 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11287 their values.
11288 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11289 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11290 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11291 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11292
4c4febf5
AJ
112932012-12-28 Andreas Jaeger <aj@suse.de>
11294
af5843ef
AJ
11295 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11296 values are from Linux 3.7.
11297
4c4febf5
AJ
11298 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11299 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11300
99136f82
SP
113012012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11302
2f216c3c 11303 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11304 TRUE case.
11305
99136f82
SP
11306 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11307 (norm): Likewise.
11308 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11309 variables with preprocessor constants.
11310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11311 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11312 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11313
7fffbdff
BH
113142012-12-27 Bruno Haible <bruno@clisp.org>
11315
11316 [BZ #14317]
11317 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11318 only if needed.
11319
b76eb5f0
SP
113202012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11321
31a7fe5c
SP
11322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11323 and use variable directly.
11324 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11325
b76eb5f0
SP
11326 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11327 MPONE.
11328 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11330 variable MPONE.
11331 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11333 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11334 include directive. Remove local variable MPONE.
11335 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11336 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11337 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11338
2c8bfe7d
DM
113392012-12-25 David S. Miller <davem@davemloft.net>
11340
11341 * version.h (RELEASE): Set to "development".
11342 (VERSION): Set to "2.17.90".
11343 * NEWS: Add 2.18 section.
11344
147d03b0
DM
113452012-12-21 David S. Miller <davem@davemloft.net>
11346
11347 * po/hr.po: Update from translation team.
11348
a8ebb2b9
AK
113492012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11350
11351 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11352
95b4f1b6
SE
113532012-12-19 Steve Ellcey <sellcey@mips.com>
11354
b2d94007 11355 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11356
cedb2a90
MS
113572012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11358
11359 * manual/contrib.texi (Contributors): Spelling correction.
11360
bbf527d6
DM
113612012-12-15 David S. Miller <davem@davemloft.net>
11362
11363 * po/ru.po: Update from translation team.
11364
bc38c906
DM
113652012-12-13 David S. Miller <davem@davemloft.net>
11366
85429b1a
DM
11367 * NEWS: Mention IFUNC testsuite enhancements.
11368
d283e353
DM
11369 * po/pl.po: Update from translation team.
11370 * po/bg.po: Likewise.
11371
bc38c906
DM
11372 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11373 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11374
a181b0d7
DM
113752012-12-11 David S. Miller <davem@davemloft.net>
11376
4641d57e
DM
11377 * po/sv.po: Update from translation team.
11378
f7bc6495
DM
11379 * po/vi.po: Update from translation team.
11380
6fc9048f
DM
11381 * po/cs.po: Update from translation team.
11382
a181b0d7
DM
11383 * po/de.po: Update from translation team.
11384 * po/eo.po: Likewise.
11385 * po/nl.po: Likewise.
11386
f70bfe80
SP
113872012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11388
3c8b4190
SP
11389 [BZ #14246]
11390 * manual/argp.texi (Argp Helper Functions): Move node to follow
11391 Argp Parsing State.
11392
f70bfe80
SP
11393 [BZ #14872]
11394 * manual/conf.texi (Limits on File System Capacity): Mention if
11395 terminating null is included in the max size.
11396
188f0adf
AJ
113972012-12-10 Andreas Jaeger <aj@suse.de>
11398
11399 * po/cs.po: Update from translation team.
11400
56e7d3ad
SP
114012012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11402
11403 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11404 void pointer and cast to uintptr_t.
11405 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11406 path.
11407 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11408 * sysdeps/s390/s390-64/memset.S: Likewise.
11409
76f2d2ea 114102012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11411
11412 [BZ #14833]
11413 * menual/message.texi (Message Translation): Fix typos.
11414 (Helper programs for gettext): Likewise.
11415
67cbf9a2
AS
114162012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11417
11418 [BZ #14898]
11419 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11420 Change to -1.
11421
682d0e9a
DM
114222012-12-07 David S. Miller <davem@davemloft.net>
11423
11424 * po/libc.pot: Update.
11425
573cd484
RH
114262012-12-07 Richard Henderson <rth@redhat.com>
11427
7e9da188 11428 [BZ #10114]
573cd484
RH
11429 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11430 normal/normal case to before the switch.
11431 (_FP_DIV): Likewise.
11432
e933a943
MF
114332012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11434 Mike Frysinger <vapier@gentoo.org>
11435
11436 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11437 check for __NR_fadvise64_64.
11438
82123268
CM
114392012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11440
11441 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11442 0, not just to plain "0" as a statement.
11443 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11444 with cw.
11445
d9814526
JM
114462012-12-06 Joseph Myers <joseph@codesourcery.com>
11447
11448 * NEWS: Use sourceware.org in Bugzilla URL.
11449
7728c574
SP
114502012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11451
f16946dd
SP
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11453 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11454
5704bbcb
SP
11455 * stdio-common/tst-put-error.c (do_test): Add newline to the
11456 padded test to ensure flush.
11457
17aa0516
JL
114582012-12-05 Jeff Law <law@redhat.com>
11459
11460 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11461
363313b5
JM
114622012-12-05 Joseph Myers <joseph@codesourcery.com>
11463
effbd42a
JM
11464 * README: Don't refer to ports add-on as distributed separately.
11465 Mention AArch64 in list of systems supported in the ports add-on.
11466
87600365
JM
11467 * LICENSES: Add more non-FSF copyright and license notices.
11468
a0d7066a
JM
11469 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11470 ((unused)).
11471
66ca5a5b
JM
11472 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11473
363313b5
JM
11474 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11475 10000 as width of padded output.
11476
b37984ad
JM
114772012-12-04 Joseph Myers <joseph@codesourcery.com>
11478
9003570a
JM
11479 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11480
b37984ad
JM
11481 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11482 variable LX with __attribute__ ((unused)).
11483 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11484 Likewise.
11485 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11486 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11487 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11488 with __attribute__ ((unused)).
11489
c8df52ec
DM
114902012-12-04 David S. Miller <davem@abraco.davemloft.net>
11491
11492 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11493
b3b099af
JM
114942012-12-04 Joseph Myers <joseph@codesourcery.com>
11495
c33aa6e3
JM
11496 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11497 (CFLAGS-nldbl-acos.c): New variable.
11498 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11499 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11500 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11501 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11502 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11503 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11504 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11505 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11506 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11507 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11508 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11509 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11510 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11511 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11512 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11513 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11514 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11515 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11516 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11517 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11518 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11519 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11520 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11521 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11522 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11523 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11524 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11525 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11526 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11527 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11528 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11529 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11530 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11531 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11532 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11533 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11534 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11535 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11536 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11537 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11538 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11539 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11540 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11541 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11542 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11543 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11544 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11545 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11546 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11547 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11548 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11549 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11550 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11551 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11552 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11553 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11554 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11555 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11556 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11557 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11558 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11559 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11560 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11561 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11562 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11563 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11564 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11565 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11566 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11567 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11568 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11569 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11570 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11571 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11572 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11573 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11574 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11575 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11576 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11577 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11578 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11579 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11580 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11581 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11582 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11583 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11584 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11585 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11586 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11587 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11588 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11589 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11590 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11591 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11592 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11593 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11594 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11595
20f0018d
JM
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11597 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11598
b3b099af
JM
11599 [BZ #14914]
11600 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11601 whole low double instead of just low 47 bits when splitting values
11602 into two parts.
11603
029264d1
AM
116042012-12-03 Allan McRae <allan@archlinux.org>
11605
11606 * manual/stdio.texi (Predefined Printf Handlers): Remove
11607 @hsep and @vsep usage.
11608
c9d6789e
MF
116092012-12-03 Mike Frysinger <vapier@gentoo.org>
11610
11611 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11612 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11613
4b7634a5
JL
116142012-12-03 Jeff Law <law@redhat.com>
11615
11616 * time/sys/time.h (settimeofday): Do not mark TV argument
11617 as __nonnull.
11618
eb6cbd24
MF
116192012-12-01 Mike Frysinger <vapier@gentoo.org>
11620
11621 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11622 when currently writing and seek to current position when not.
11623 * libio/Makefile (tests): Remove bug-fclose1.
11624 * libio/bug-fclose1.c: Delete.
11625
f638872a
JM
116262012-12-01 Joseph Myers <joseph@codesourcery.com>
11627
11628 * manual/arith.texi (feenableexcept): Fix typo.
11629 (fedisableexcept): Likewise.
11630
48085d14
RM
116312012-11-30 Roland McGrath <roland@hack.frob.com>
11632
11633 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11634 second, differently-typed declaration, rather than a cast.
11635
1a538b9f
SP
116362012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11637
11638 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11639 * include/rpc/svc.h: ... here.
11640
d07f2ff1 116412012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11642
11643 [BZ #13013]
11644 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11645 depending n and resplen2 to catch cases where answer
11646 equals answerp2.
11647
c93ec1f0
CD
116482012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11649
11650 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11651 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11652
37db69de
MF
116532012-11-29 Mike Frysinger <vapier@gentoo.org>
11654
11655 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11656
e10c4e4f
RM
116572012-11-29 Roland McGrath <roland@hack.frob.com>
11658
11659 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11660
2af1b328
JL
116612012-11-28 Jeff Law <law@redhat.com>
11662
11663 [BZ #13761]
11664 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11665 dataset_temporary. Track alloca usage into alloca_used.
11666 If dataset is large allocate and release it via malloc/free.
11667
111db5b1
FW
116682012-06-04 Florian Weimer <fweimer@redhat.com>
11669
f06cc227 11670 [BZ #14197]
111db5b1
FW
11671 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11672
dd694abd
DM
116732012-11-28 David S. Miller <davem@davemloft.net>
11674
11675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11676
9984dd01
JM
116772012-11-28 Joseph Myers <joseph@codesourcery.com>
11678
11679 [BZ #14803]
11680 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11681 of pi/2 rounded to nearest to 64 bits.
11682 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11683 nearest to 64 bits.
11684 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11685 bits.
11686
14bc93a9
JL
116872012-11-28 Jeff Law <law@redhat.com>
11688 Martin Osvald <mosvald@redhat.com>
11689
11690 [BZ #14889]
11691 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11692 * sunrpc/svc.c: Include time.h.
11693 (__svc_accept_failed): New function.
11694 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11695 any reason other than EINTR, call __svc_accept_failed.
11696 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11697 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11698
e3c6aa3a
AS
116992012-11-28 Andreas Schwab <schwab@suse.de>
11700
11701 * scripts/abilist.awk: Also handle indirect functions in .opd
11702 section.
11703
1bead169
JM
117042012-11-28 Joseph Myers <joseph@codesourcery.com>
11705
11706 [BZ #13881]
11707 * sysdeps/x86/fpu/powl_helper.c: New file.
11708 * sysdeps/x86/fpu/Makefile: Likewise.
11709 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11710 (p3): New object.
11711 (__ieee754_powl): Use __powl_helper for finite arguments except
11712 integer exponents below 8.
11713 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11714 (p3): New object.
11715 (__ieee754_powl): Use __powl_helper for finite arguments except
11716 integer exponents below 8.
11717 * math/libm-test.inc (pow_test): Add more tests and enable some
11718 previously disabled tests.
11719 * sysdeps/i386/fpu/libm-test-ulps: Update.
11720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11721
0817d63d
SP
117222012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11723 Carlos O'Donell <carlos_odonell@mentor.com>
11724
11725 * nss/makedb.c (is_prime): Assert that input is odd and greater
11726 than 4. Note that fact in a comment too.
11727 (next_prime): Add 4 to input.
11728
de2fd463
SP
117292012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11730
11731 [BZ #11741]
11732 * libio/Makefile (tests): Add test case tst-fwrite-error.
11733 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11734 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11735 * libio/tst-fwrite-error.c: New test case.
11736
c515fb51
L
117372012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11738
11739 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11740 before casting to void *.
11741 * include/libc-internal.h (__pointer_type): New macro.
11742 (__integer_if_pointer_type_sub): Likewise.
11743 (__integer_if_pointer_type): Likewise.
11744 (cast_to_integer): Likewise.
11745 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11746 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11747 before casting to atomic64_t.
11748 (atomic_exchange_acq): Likewise.
11749 (__arch_exchange_and_add_body): Likewise.
11750 (__arch_add_body): Likewise.
11751 (atomic_add_negative): Likewise.
11752 (atomic_add_zero): Likewise.
11753
4cf77aa9
JM
117542012-11-26 Joseph Myers <joseph@codesourcery.com>
11755
11756 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11757 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11758 (add_fdes): Likewise.
11759 (linear_search_fdes): Likewise.
11760 (binary_search_unencoded_fdes): Likewise.
11761
d260b3b4
AS
117622012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11763
11764 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11765
67060746
AC
117662012-11-24 Adam Conrad <adconrad@0c3.net>
11767
11768 * configure.in: Autodetect C++ header directories.
11769 * configure: Regenerated.
11770
800938a1
MF
117712012-11-23 Mike Frysinger <vapier@gentoo.org>
11772
11773 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11774
4e6e34e6
AS
117752012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11776
11777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11778
7c7feb47
JM
117792012-11-22 Joseph Myers <joseph@codesourcery.com>
11780
7184dcdf
JM
11781 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11782 LDBL_MANT_DIG == 106]: Disable some tests.
11783 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11784 Likewise.
11785 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11786 Likewise.
11787
0a42601f
JM
11788 [BZ #14871]
11789 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11790 input for small inputs. Return +/- pi/2 for large inputs.
11791 * math/libm-test.inc (atan_test): Add more tests.
11792
79c9b9fe
JM
11793 * sysdeps/generic/unwind-dw2-fde-glibc.c
11794 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11795 __attribute__ ((unused)).
11796
c60d3bf2
JM
11797 [BZ #14645]
11798 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11799 x * y if x and y are nonzero and z is zero.
11800
ef1e0867
JM
11801 [BZ #14811]
11802 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11803 nonzero exponents with absolute value below 0x1p-117 to +/-
11804 0x1p-117.
11805
1468ded3
JM
11806 [BZ #14869]
11807 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11808 up arguments below 2**-450, not just those below 2**-500.
11809 * math/libm-test.inc (hypot_test): Add another test.
11810
8e27e3cc
JM
11811 [BZ #14868]
11812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11813 Return a+b for ratio over 2**120, not 2**60.
11814 * math/libm-test.inc (hypot_test): Add another test.
11815
c9c0279b
JM
11816 * math/libm-test.inc (clog_test): Use
11817 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11818 (clog10_test): Likewise.
11819
7c7feb47
JM
11820 [BZ #6778]
11821 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11822
fff1530e
AS
118232012-11-22 Andreas Schwab <schwab@suse.de>
11824
11825 * sysdeps/i386/fpu/libm-test-ulps: Update.
11826
94558d30
PT
118272012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11828
11829 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11830 printf output with newline.
11831
7e1be741
L
118322012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11833
6bfea974
L
11834 [BZ #14865]
11835 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11836 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11837 -z nodlopen, -z initfirst and -z execstack support.
11838 * configure: Regenerated.
11839
7e1be741
L
11840 * elf/elf.h (DF_1_NODIRECT): New macro.
11841 (DF_1_IGNMULDEF): Likewise.
11842 (DF_1_NOKSYMS): Likewise.
11843 (DF_1_NOHDR): Likewise.
11844 (DF_1_EDITED): Likewise.
11845 (DF_1_NORELOC): Likewise.
11846 (DF_1_SYMINTPOSE): Likewise.
11847 (DF_1_GLOBAUDIT): Likewise.
11848 (DF_1_SINGLETON): Likewise.
11849 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11850 DT_1_SUPPORTED_MASK bits.
11851 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11852
105ce2ce
CD
118532012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11854
11855 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11856
123be9de
TS
118572012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11858
d072f3f7
TS
11859 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11860 macro.
11861
123be9de
TS
11862 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11863 (sendmmsg): Move declarations...
11864 * socket/sys/socket.h: ... here.
11865 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11866 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11867 include it from...
11868 * socket/recvmmsg.c: ... this new file.
11869 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11870 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11871 definition of __sendmmsg hidden.
11872 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11873 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11874 Move ENOSYS stub into and include it from...
11875 * socket/sendmmsg.c: ... this new file.
11876 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11877 (sysdep_routines): Move recvmmsg and sendmmsg...
11878 * socket/Makefile (routines): ... here.
11879 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11880 (GLIBC_PRIVATE): Add __sendmmsg.
11881 * include/sys/socket.h (__sendmmsg): Add declarations.
11882 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11883 sendmmsg.
11884
cf9a5d18
JM
118852012-11-20 Joseph Myers <joseph@codesourcery.com>
11886
11887 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11888 variable I1 with __attribute__ ((unused)).
11889 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11890
ecd4caf9
JM
118912012-11-19 Joseph Myers <joseph@codesourcery.com>
11892
be14d48f
JM
11893 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11894 DUMMY variables with __attribute__ ((unused)).
11895
ecd4caf9
JM
11896 * bits/byteswap.h: Include <bits/types.h>.
11897 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11898
986cab95
PT
118992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11900
11901 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11902 string_t. Do not manually set errno.
11903 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11904 length with __strnlen. Make sure to both set errno and return it on
11905 failure.
11906
6d33cc9d
DM
119072012-11-19 David S. Miller <davem@davemloft.net>
11908
11909 With help from Joseph Myers.
11910 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11911 very large arguments properly.
11912 * math/libm-test.inc (atan_test): New tests.
11913 (atan2_test): New tests.
11914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11916
ee663277
JM
119172012-11-19 Joseph Myers <joseph@codesourcery.com>
11918
877f2d8e
JM
11919 [BZ #14856]
11920 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11921 Define to 3.
11922
116fc08a
JM
11923 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11924 [POSIX] (EADDRNOTAVAIL): Likewise.
11925 [POSIX] (EAFNOSUPPORT): Likewise.
11926 [POSIX] (EALREADY): Likewise.
11927 [POSIX] (ECONNABORTED): Likewise.
11928 [POSIX] (ECONNREFUSED): Likewise.
11929 [POSIX] (ECONNRESET): Likewise.
11930 [POSIX] (EDESTADDRREQ): Likewise.
11931 [POSIX] (EDQUOT): Likewise.
11932 [POSIX] (EHOSTUNREACH): Likewise.
11933 [POSIX] (EIDRM): Likewise.
11934 [POSIX] (EISCONN): Likewise.
11935 [POSIX] (ELOOP): Likewise.
11936 [POSIX] (EMULTIHOP): Likewise.
11937 [POSIX] (ENETDOWN): Likewise.
11938 [POSIX] (ENETUNREACH): Likewise.
11939 [POSIX] (ENOBUFS): Likewise.
11940 [POSIX] (ENODATA): Likewise.
11941 [POSIX] (ENOLINK): Likewise.
11942 [POSIX] (ENOMSG): Likewise.
11943 [POSIX] (ENOPROTOOPT): Likewise.
11944 [POSIX] (ENOSR): Likewise.
11945 [POSIX] (ENOSTR): Likewise.
11946 [POSIX] (ENOTCONN): Likewise.
11947 [POSIX] (ENOTSOCK): Likewise.
11948 [POSIX] (EOPNOTSUPP): Likewise.
11949 [POSIX] (EOVERFLOW): Likewise.
11950 [POSIX] (EPROTO): Likewise.
11951 [POSIX] (EPROTONOSUPPORT): Likewise.
11952 [POSIX] (EPROTOTYPE): Likewise.
11953 [POSIX] (ESTALE): Likewise.
11954 [POSIX] (ETIME): Likewise.
11955 [POSIX] (ETXTBSY): Likewise.
11956 [POSIX] (EWOULDBLOCK): Likewise.
11957 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11958 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11959 [POSIX] (SEEK_CUR): Likewise.
11960 [POSIX] (SEEK_END): Likewise.
11961 [POSIX || UNIX98] (mode_t): Do not require.
11962 [POSIX] (off_t): Likewise.
11963 [POSIX] (pid_t): Likewise.
11964 [POSIX] (sys/stat.h): Do not allow header.
11965 [POSIX] (unistd.h): Likewise.
11966 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11967 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11968 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11969 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11970 require.
11971 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11972 sigevent): Specify elements.
11973 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11974 entry.
11975 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11976 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11977
a483863f
JM
11978 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11979 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11980 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11981 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11982 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11983 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11984 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11985 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11986 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11987 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11988 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11989 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11990 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11991 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11992 Likewise.
11993 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11994 Likewise.
11995 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11996 Likewise.
11997 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11998 Likewise.
11999 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12000 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12001 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12002 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12003 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12004 Specify lower bound on value.
12005 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12006 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12007 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12008 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12009 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12010 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12011 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12012 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12013 value.
12014 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12015 as optional.
12016 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12017 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12018 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12019 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12020 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12021 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12022 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12023 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12024 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12025 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12026 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12027 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12028 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12029 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12030 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12031 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12032 entry.
12033 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12034 optional.
12035 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12036 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12037 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12038 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12039 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12040 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12041 Likewise.
12042 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12043 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12044 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12045 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12046 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12047 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12048 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12049 as optional.
12050 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12051 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12052 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12053 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12054 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12055 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12056 specify as optional.
12057 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12058 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12059 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12060 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12061 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12062 [XPG3] (NL_LANGMAX): Likewise.
12063 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12064 [POSIX || XPG3] (NL_NMAX): Likewise.
12065 [POSIX || XPG3] (NL_SETMAX): Likewise.
12066 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12067 [XPG3] (NZERO): Likewise.
12068 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12069 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12070 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12071 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12072 (REG_ERANGE): Expect.
12073 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12074 optional-constant.
12075 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12076 Use (void) in prototype.
12077 [POSIX] (*_t): Allow.
12078 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12079 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12080 (WRDE_BADVAL): Expect.
12081
5ba924e3
JM
12082 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12083 expect.
12084 [XPG3 || XPG4] (O_RSYNC): Likewise.
12085 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12086 Likewise.
12087 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12088 [XPG3 || XPG4] (sigqueue): Likewise.
12089 [XPG3 || XPG4] (sigtimedwait): Likewise.
12090 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12091 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12092 [XPG3 || XPG4] (vsnprintf): Likewise.
12093 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12094 Likewise.
12095 [XPG3 || XPG4] (blksize_t): Likewise.
12096 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12097 Likewise.
12098 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12099 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12100 [XPG3 || XPG4] (struct itimerspec): Likewise.
12101 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12102 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12103 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12104 [XPG3 || XPG4] (clockid_t): Likewise.
12105 [XPG3 || XPG4] (timer_t): Likewise.
12106 [XPG3 || XPG4] (clock_getres): Likewise.
12107 [XPG3 || XPG4] (clock_gettime): Likewise.
12108 [XPG3 || XPG4] (clock_settime): Likewise.
12109 [XPG3 || XPG4] (nanosleep): Likewise.
12110 [XPG3 || XPG4] (timer_create): Likewise.
12111 [XPG3 || XPG4] (timer_delete): Likewise.
12112 [XPG3 || XPG4] (timer_gettime): Likewise.
12113 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12114 [XPG3 || XPG4] (timer_settime): Likewise.
12115 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12116 [XPG3 || XPG4] (getlogin_r): Likewise.
12117 [XPG3 || XPG4] (pread): Likewise.
12118 [XPG3 || XPG4] (pthread_atfork): Likewise.
12119 [XPG3 || XPG4] (pwrite): Likewise.
12120
ee663277
JM
12121 [BZ #14835]
12122 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12123 <bits/siginfo.h>.
12124
942caa16
PT
121252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12126
e19af380
PT
12127 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12128 finalizing MALLSTREAM.
12129
942caa16
PT
12130 * sysdeps/mach/hurd/syncfs.c: New file.
12131
cfde9b46
SP
121322012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12133
12134 [BZ #14719]
12135 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12136 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12137 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12138 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12139 (_nss_dns_gethostbyname4_r): Likewise.
12140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12141 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12142
f6da27e5
PH
121432012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12144
12145 [BZ #13763]
12146 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12147
6665d4a2
SM
121482012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12149
1f51ee92
SM
12150 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12151 * elf/cache.c (print_entry): Print ",AArch64" for
12152 FLAG_AARCH64_LIB64
12153
6665d4a2
SM
12154 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12155 * elf/cache.c (print_entry): Print ",hard-float" for
12156 FLAG_ARM_LIBHF.
12157
05b227bd
DM
121582012-11-18 David S. Miller <davem@davemloft.net>
12159
12160 With help from Joseph Myers.
12161 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12162 cutoff to 2**-13.
12163 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12164 cutoff to 2**-25.
12165 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12166 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12167 small.
12168 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12169 * math/libm-test.inc (y0_test): New tests.
12170 (y1_test): New tests.
12171 * sysdeps/i386/fpu/libm-test-ulps: Update.
12172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12174
786b0b67
AS
121752012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12176
12177 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12178 64-bit targets.
12179 * configure: Regenerated.
12180
8e18b86d
DM
121812012-11-17 David S. Miller <davem@davemloft.net>
12182
12183 [BZ #14811]
12184 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12185 nonzero exponents with absolute value below 0x1p-128 to +/-
12186 0x1p-128.
12187
531f1ae0
JM
121882012-11-17 Joseph Myers <joseph@codesourcery.com>
12189
12df29e2
JM
12190 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12191
150dc1a0
JM
12192 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12193
531f1ae0
JM
12194 * posix/getconf-speclist.c: New file.
12195 * posix/posix-envs.def: Likewise.
12196 * posix/confstr.c (START_ENV_GROUP): New macro.
12197 (END_ENV_GROUP): Likewise.
12198 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12199 (KNOWN_PRESENT_ENV_STRING): Likewise.
12200 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12201 (UNKNOWN_ENVIRONMENT): Likewise.
12202 (confstr): Include posix-envs.def instead of handling
12203 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12204 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12205 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12206 (END_ENV_GROUP): Likewise.
12207 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12208 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12209 (UNKNOWN_ENVIRONMENT): Likewise.
12210 (__sysconf): Include posix-envs.def instead of handling associated
12211 cases directly here.
12212 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12213 preprocessing getconf-speclist.c rather than running getconf or
12214 generating empty file.
12215
a93f9cbc
PT
122162012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12217
12218 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12219
d64d9f87
AL
122202012-11-16 Andrej Lajovic <natrij@gmail.com>
12221
12222 [BZ #14672]
12223 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12224
447885eb
DM
122252012-11-16 David S. Miller <davem@davemloft.net>
12226
12227 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12228 smaller than LDBL_EPSILON/2.0L, just return xm1.
12229
bcbf9830
L
122302012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12231
12232 * elf/tst-array1.c (init): Set constructor priority to 1000.
12233 (fini): Set destructor priority to 1000.
12234 * elf/tst-array2dep.c: Likewise.
12235
2b766585
SP
122362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12237
12238 [BZ #11741]
12239 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12240 (_IO_new_file_xsputn): Also return EOF if none of the input
12241 data was written when overflow failed.
12242 * libio/iopadn.c (_IO_padn): Likewise.
12243 * libio/iowpadn.c (_IO_wpadn): Likewise.
12244 * stdio-common/tst-put-error.c: Add copyright notice.
12245 (do_test): Add case for printing padded string.
12246 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12247 _IO_padn returned error.
12248 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12249 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12250 return EOF.
12251
b1848fde
SP
122522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12253
12254 * libio/libioP.h: Add comment note that the references to C++
12255 bits are now obsolete.
12256
2fd89785
MS
122572012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12258
12259 * math/libm-test.inc (check_complex): Use asprintf.
12260
e3ea5409
JM
122612012-11-14 Joseph Myers <joseph@codesourcery.com>
12262
12263 * debug/pcprofiledump.c (print_version): Update copyright year.
12264 * malloc/memusagestat.c (print_version): Likewise.
12265
2e64d265
L
122662012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12267
12268 [BZ #14831]
12269 * elf/Makefile (tests): Add tst-audit8.
12270 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12271 ($(objpfx)tst-audit8.out): New target.
12272 (tst-audit8-ENV): New variable.
12273 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12274 audit if l_reloc_result is NULL.
12275 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12276 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12277 * elf/tst-audit8.c: New file.
12278
c485e4d2
MS
122792012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12280
12281 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12282 * misc/Makefile (CFLAGS-select.c): Define.
12283 * posix/Makefile (CFLAGS-pause.c): Define.
12284
3a0d900a
DM
122852012-11-13 David S. Miller <davem@davemloft.net>
12286
12287 * crypt/Makefile: Move test targets after toplevel Rules
12288 inclusion. Grab any necessary sysdep routines when linking.
12289 * crypt/md5.c (md5_process_block): Remove define, we will always
12290 name it __md5_process_block.
12291 (md5_finish_ctx): Update md5_process_block call.
12292 (md5_stream): Likewise.
12293 (md5_process_bytes): Likewise.
12294 (md5_process_block): Rename to __md5_process_block and move to ...
12295 * crypt/md5-block.c: ... here.
12296 * crypt/sha256.c (sha256_process_block): Move to ...
12297 * crypt/sha256-block.c: ... here.
12298 * crypt/sha512.c (sha512_process_block): Move to ...
12299 * crypt/sha512-block.c: ... here.
12300 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12301 path.
12302 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12303 * sysdeps/sparc/sparc64/multiarch/Makefile
12304 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12305 crypt subdir.
12306 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12307 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12308 multiarch changes.
12309 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12310 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12311 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12312 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12313 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12314 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12315 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12316 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12317 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12318 file.
12319 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12320 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12321 file.
12322 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12323
8ca89318
JM
123242012-11-13 Joseph Myers <joseph@codesourcery.com>
12325
e27d476a
JM
12326 * timezone/tzselect.ksh: Update from tzcode git revision
12327 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12328 * timezone/zdump.c: Likewise.
12329 * timezone/zic.c: Likewise.
12330 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12331 in TZVERSION setting, not $(PKGVERSION).
12332 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12333 REPORT_BUGS_TO settings.
12334
8ca89318
JM
12335 [BZ #14838]
12336 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12337 macro.
12338
47594329
MS
123392012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12340
12341 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12342 detection to immediately after _FP_ROUND().
12343 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12344 bits are 0.
12345
640ac3f1
DM
123462012-11-11 David S. Miller <davem@davemloft.net>
12347
12348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12349 inttypes.h
12350 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12351 __close rather than their public counterparts.
12352
3d2577bb
JM
123532012-11-10 Joseph Myers <joseph@codesourcery.com>
12354
12355 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12356 file.
12357 [UNIX98] (sem_timedwait): Do not expect.
12358 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12359 [XPG4 || UNIX98] (sockatmark): Do not expect.
12360 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12361 (clock_getcpuclockid): Do not expect.
12362 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12363 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12364 Do not expect.
12365 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12366 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12367 [UNIX98] (vwscanf): Likewise.
12368 [UNIX98] (vswscanf): Likewise.
12369
fb1ae1ee
JM
123702012-11-09 Joseph Myers <joseph@codesourcery.com>
12371
9ec6f8bd
JM
12372 * timezone/version.h: Remove file.
12373 * timezone/README: Do not refer to version.h.
12374 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12375 $(objpfx)version.h.
12376 ($(objpfx)zdump.o): Likewise.
c3f81911 12377 ($(objpfx)version.h): New target.
9ec6f8bd 12378
0aa8f8a1
JM
12379 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12380 2012i.
12381 * timezone/README: Don't mention modification to tzselect.ksh.
12382 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12383 work on unmodified tzselect.ksh. Substitute version numbers in
12384 tzselect.ksh.
12385
4e87147f
JM
12386 * Makefile (format-me): Remove.
12387 (INSTALL): Adjust indentation. Use commands directly instead of
12388 using $(format-me).
12389
8b748aed
JM
12390 * aclocal.m4 (ACX_PKGVERSION): New macro.
12391 (ACX_BUGURL): Likewise.
12392 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12393 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12394 (REPORT_BUGS_TO): Likewise.
12395 * configure: Regenerated.
12396 * config.h.in (PKGVERSION): New macro.
12397 (REPORT_BUGS_TO): Likewise.
12398 * config.make.in (PKGVERSION): New variable.
12399 (PKGVERSION_TEXI): Likewise.
12400 (REPORT_BUGS_TO): Likewise.
12401 (REPORT_BUGS_TEXI): Likewise.
12402 * Makefile (format-me): Use -I$(common-objpfx)manual.
12403 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12404 ($(common-objpfx)manual/%): New target.
12405 (manual/%): Remove target.
12406 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12407 (print_version): Use PKGVERSION.
12408 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12409 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12410 and REPORT_BUGS_TO.
12411 ($(objpfx)xtrace): Likewise.
12412 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12413 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12414 (print_version): Use PKGVERSION.
12415 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12416 (do_version): Use PKGVERSION.
12417 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12418 REPORT_BUGS_TO.
12419 (common-ldd-rewrite): Likewise.
12420 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12421 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12422 (print_version): Use PKGVERSION.
12423 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12424 * elf/pldd.c (argp_program_bug_address): Remove variable.
12425 (more_help): New function.
12426 (argp): Use more_help.
12427 (print_version): Use PKGVERSION.
12428 * elf/sln.c (main): Use PKGVERSION.
12429 (usage): Use REPORT_BUGS_TO.
12430 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12431 (top level): Use PKGVERSION.
12432 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12433 (print_version): Use PKGVERSION.
12434 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12435 (print_version): Use PKGVERSION.
12436 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12437 (print_version): Use PKGVERSION.
12438 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12439 (print_version): Use PKGVERSION.
12440 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12441 (print_version): Use PKGVERSION.
12442 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12443 (print_version): Use PKGVERSION.
12444 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12445 and BUGURL.
12446 ($(objpfx)memusage): Likewise.
12447 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12448 (do_version): Use PKGVERSION.
12449 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12450 (print_version): Use PKGVERSION.
12451 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12452 ($PKGVERSION): New variable.
12453 ($REPORT_BUGS_TO): Likewise.
12454 (usage): Use $REPORT_BUGS_TO.
12455 (top level): Use $PKGVERSION.
12456 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12457 ($(objpfx)pkgvers.texi): New rule.
12458 ($(objpfx)stamp-pkgvers): Likewise.
12459 * manual/install.texi: Include pkgvers.texi.
12460 (--with-pkgversion): Document new configure option.
12461 (--with-bugurl): Likewise.
12462 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12463 than necessarily for this particular distribution. Use
12464 REPORT_BUGS_TO for where to report bugs.
12465 * INSTALL: Regenerated.
12466 * manual/libc.texinfo: Include pkgvers.texi.
12467 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12468 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12469 (print_version): Use PKGVERSION.
12470 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12471 (print_version): Use PKGVERSION.
12472 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12473 (print_version): Use PKGVERSION.
12474 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12475 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12476 macro.
12477 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12478 (print_version): Use PKGVERSION.
12479 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12480 (print_version): Use PKGVERSION.
12481 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12482 and PKGVERSION.
12483
92e4b6a9
JM
12484 * timezone/checktab.awk: Update from tzcode 2012i.
12485 * timezone/ialloc.c: Likewise.
12486 * timezone/private.h: Likewise.
12487 * timezone/scheck.c: Likewise.
12488 * timezone/tzfile.h: Likewise.
12489 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12490 (TZVERSION): Hardcode tzcode version number.
12491 * timezone/zdump.c: Update from tzcode 2012i.
12492 * timezone/zic.c: Likewise.
12493 * timezone/version.h: New file.
12494 * timezone/README: Describe version.h. Update upstream location.
12495
9bde902c
JM
12496 [BZ #14824]
12497 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12498 (mktemp): Enable declaration.
12499 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12500 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12501 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12503 Likewise.
12504 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12505 Likewise.
12506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12507 Likewise.
12508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12509 Likewise.
12510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12511 Likewise.
12512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12513 Likewise.
12514
fb1ae1ee
JM
12515 [BZ #14821]
12516 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12517 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12518 for copies of such integer values.
12519 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12520 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12521
2c1adbcb
AJ
125222012-11-09 Andreas Jaeger <aj@suse.de>
12523
12524 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12525 definitions and declarations that are provided by
12526 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12527
d0f8457e
AK
125282012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12529
3a235abb 12530 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12531 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12532 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12533 definition.
12534
57241e26
MS
125352012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12536
12537 * elf/elf.h: Update comment before AArch64 relocations.
12538
60e8270d
DM
125392012-11-07 David S. Miller <davem@davemloft.net>
12540
12541 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12542 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12543 (__start_context): Declare.
12544 (__makecontext_ret): Delete.
12545 (__makecontext): Hook up __start_context instead of
12546 __makecontext_ret.
12547 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12548 (sysdep_routines): Add __start_context when in stdlib.
12549
0fbb0fbc
JM
125502012-11-07 Joseph Myers <joseph@codesourcery.com>
12551
12552 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12553 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12554 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12555 hardcoded "nm".
12556 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12557 (READELF): New variable. Use it instead of hardcoded "readelf".
12558
eb48db7e
L
125592012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12560
12561 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12562 * sysdeps/x86/Makefile: Here.
12563 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12564 * sysdeps/x86/tst-xmmymm.sh: This.
12565
05bcf62a
JM
125662012-11-07 Joseph Myers <joseph@codesourcery.com>
12567
c4b6cf53
JM
12568 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12569 expectations.
12570 [UNIX98] (pthread_barrier_t): Do not expect.
12571 [UNIX98] (pthread_barrierattr_t): Likewise.
12572 [UNIX98] (pthread_spinlock_t): Likewise.
12573 [UNIX98] (pthread_barrier_destroy): Likewise.
12574 [UNIX98] (pthread_barrier_init): Likewise.
12575 [UNIX98] (pthread_barrier_wait): Likewise.
12576 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12577 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12578 [UNIX98] (pthread_barrierattr_init): Likewise.
12579 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12580 [UNIX98] (pthread_getcpuclockid): Likewise.
12581 [UNIX98] (pthread_mutex_timedlock): Likewise.
12582 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12583 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12584 [UNIX98] (pthread_sigmask): Likewise.
12585 [UNIX98] (pthread_spin_destroy): Likewise.
12586 [UNIX98] (pthread_spin_init): Likewise.
12587 [UNIX98] (pthread_spin_lock): Likewise.
12588 [UNIX98] (pthread_spin_trylock): Likewise.
12589 [UNIX98] (pthread_spin_unlock): Likewise.
12590 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12591 Do not expect.
12592 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12594 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12595 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12596 [XPG3 || XPG4] (pthread_key_t): Likewise.
12597 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12598 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12599 [XPG3 || XPG4] (pthread_once_t): Likewise.
12600 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12601 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12602 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12603 [XPG3 || XPG4] (pthread_t): Likewise.
12604
cbe6e120
JM
12605 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12606 not expect.
12607 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12608
1b126443
JM
12609 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12610 Change function return type to int.
12611
b961a573
JM
12612 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12613 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12614 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12615 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12616 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12617 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12618 [!POSIX] (posix_madvise): Likewise.
12619 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12620 && !UNIX98].
12621 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12622 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12623 (mode_t): Likewise.
12624 (posix_mem_offset): Likewise.
12625 (posix_typed_mem_get_info): Likewise.
12626 (posix_typed_mem_open): Likewise.
12627
9e188909
JM
12628 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12629 Change condition to [XOPEN2K8].
12630
05bcf62a
JM
12631 * conform/conformtest.pl: Preprocess allow-header data with -x c
12632 instead of from stdin.
12633 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12634 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12635 [C99-based standards] (cerfc): Likewise.
12636 [C99-based standards] (cexp2): Likewise.
12637 [C99-based standards] (cexpm1): Likewise.
12638 [C99-based standards] (clog10): Likewise.
12639 [C99-based standards] (clog1p): Likewise.
12640 [C99-based standards] (clog2): Likewise.
12641 [C99-based standards] (clgamma): Likewise.
12642 [C99-based standards] (ctgamma): Likewise.
12643 [C99-based standards] (cerff): Likewise.
12644 [C99-based standards] (cerfcf): Likewise.
12645 [C99-based standards] (cexp2f): Likewise.
12646 [C99-based standards] (cexpm1f): Likewise.
12647 [C99-based standards] (clog10f): Likewise.
12648 [C99-based standards] (clog1pf): Likewise.
12649 [C99-based standards] (clog2f): Likewise.
12650 [C99-based standards] (clgammaf): Likewise.
12651 [C99-based standards] (ctgammaf): Likewise.
12652 [C99-based standards] (cerfl): Likewise.
12653 [C99-based standards] (cerfcl): Likewise.
12654 [C99-based standards] (cexp2l): Likewise.
12655 [C99-based standards] (cexpm1l): Likewise.
12656 [C99-based standards] (clog10l): Likewise.
12657 [C99-based standards] (clog1pl): Likewise.
12658 [C99-based standards] (clog2l): Likewise.
12659 [C99-based standards] (clgammal): Likewise.
12660 [C99-based standards] (ctgammal): Likewise.
12661 * conform/data/inttypes.h-data [C99-based standards]: Include
12662 stdint.h-data. Remove all expectations for stdint.h contents.
12663 [C99-based standards] (PRI*): Do not allow.
12664 [C99-based standards] (SCN*): Likewise.
12665 [C99-based standards] (*_t): Likewise.
12666 [C99-based-standards] (PRId8): Expect macro.
12667 [C99-based-standards] (PRIi8): Likewise.
12668 [C99-based-standards] (PRIo8): Likewise.
12669 [C99-based-standards] (PRIu8): Likewise.
12670 [C99-based-standards] (PRIx8): Likewise.
12671 [C99-based-standards] (PRIX8): Likewise.
12672 [C99-based-standards] (SCNd8): Likewise.
12673 [C99-based-standards] (SCNi8): Likewise.
12674 [C99-based-standards] (SCNo8): Likewise.
12675 [C99-based-standards] (SCNu8): Likewise.
12676 [C99-based-standards] (SCNx8): Likewise.
12677 [C99-based-standards] (PRIdLEAST8): Likewise.
12678 [C99-based-standards] (PRIiLEAST8): Likewise.
12679 [C99-based-standards] (PRIoLEAST8): Likewise.
12680 [C99-based-standards] (PRIuLEAST8): Likewise.
12681 [C99-based-standards] (PRIxLEAST8): Likewise.
12682 [C99-based-standards] (PRIXLEAST8): Likewise.
12683 [C99-based-standards] (SCNdLEAST8): Likewise.
12684 [C99-based-standards] (SCNiLEAST8): Likewise.
12685 [C99-based-standards] (SCNoLEAST8): Likewise.
12686 [C99-based-standards] (SCNuLEAST8): Likewise.
12687 [C99-based-standards] (SCNxLEAST8): Likewise.
12688 [C99-based-standards] (PRIdFAST8): Likewise.
12689 [C99-based-standards] (PRIiFAST8): Likewise.
12690 [C99-based-standards] (PRIoFAST8): Likewise.
12691 [C99-based-standards] (PRIuFAST8): Likewise.
12692 [C99-based-standards] (PRIxFAST8): Likewise.
12693 [C99-based-standards] (PRIXFAST8): Likewise.
12694 [C99-based-standards] (SCNdFAST8): Likewise.
12695 [C99-based-standards] (SCNiFAST8): Likewise.
12696 [C99-based-standards] (SCNoFAST8): Likewise.
12697 [C99-based-standards] (SCNuFAST8): Likewise.
12698 [C99-based-standards] (SCNxFAST8): Likewise.
12699 [C99-based-standards] (PRId16): Likewise.
12700 [C99-based-standards] (PRIi16): Likewise.
12701 [C99-based-standards] (PRIo16): Likewise.
12702 [C99-based-standards] (PRIu16): Likewise.
12703 [C99-based-standards] (PRIx16): Likewise.
12704 [C99-based-standards] (PRIX16): Likewise.
12705 [C99-based-standards] (SCNd16): Likewise.
12706 [C99-based-standards] (SCNi16): Likewise.
12707 [C99-based-standards] (SCNo16): Likewise.
12708 [C99-based-standards] (SCNu16): Likewise.
12709 [C99-based-standards] (SCNx16): Likewise.
12710 [C99-based-standards] (PRIdLEAST16): Likewise.
12711 [C99-based-standards] (PRIiLEAST16): Likewise.
12712 [C99-based-standards] (PRIoLEAST16): Likewise.
12713 [C99-based-standards] (PRIuLEAST16): Likewise.
12714 [C99-based-standards] (PRIxLEAST16): Likewise.
12715 [C99-based-standards] (PRIXLEAST16): Likewise.
12716 [C99-based-standards] (SCNdLEAST16): Likewise.
12717 [C99-based-standards] (SCNiLEAST16): Likewise.
12718 [C99-based-standards] (SCNoLEAST16): Likewise.
12719 [C99-based-standards] (SCNuLEAST16): Likewise.
12720 [C99-based-standards] (SCNxLEAST16): Likewise.
12721 [C99-based-standards] (PRIdFAST16): Likewise.
12722 [C99-based-standards] (PRIiFAST16): Likewise.
12723 [C99-based-standards] (PRIoFAST16): Likewise.
12724 [C99-based-standards] (PRIuFAST16): Likewise.
12725 [C99-based-standards] (PRIxFAST16): Likewise.
12726 [C99-based-standards] (PRIXFAST16): Likewise.
12727 [C99-based-standards] (SCNdFAST16): Likewise.
12728 [C99-based-standards] (SCNiFAST16): Likewise.
12729 [C99-based-standards] (SCNoFAST16): Likewise.
12730 [C99-based-standards] (SCNuFAST16): Likewise.
12731 [C99-based-standards] (SCNxFAST16): Likewise.
12732 [C99-based-standards] (PRId32): Likewise.
12733 [C99-based-standards] (PRIi32): Likewise.
12734 [C99-based-standards] (PRIo32): Likewise.
12735 [C99-based-standards] (PRIu32): Likewise.
12736 [C99-based-standards] (PRIx32): Likewise.
12737 [C99-based-standards] (PRIX32): Likewise.
12738 [C99-based-standards] (SCNd32): Likewise.
12739 [C99-based-standards] (SCNi32): Likewise.
12740 [C99-based-standards] (SCNo32): Likewise.
12741 [C99-based-standards] (SCNu32): Likewise.
12742 [C99-based-standards] (SCNx32): Likewise.
12743 [C99-based-standards] (PRIdLEAST32): Likewise.
12744 [C99-based-standards] (PRIiLEAST32): Likewise.
12745 [C99-based-standards] (PRIoLEAST32): Likewise.
12746 [C99-based-standards] (PRIuLEAST32): Likewise.
12747 [C99-based-standards] (PRIxLEAST32): Likewise.
12748 [C99-based-standards] (PRIXLEAST32): Likewise.
12749 [C99-based-standards] (SCNdLEAST32): Likewise.
12750 [C99-based-standards] (SCNiLEAST32): Likewise.
12751 [C99-based-standards] (SCNoLEAST32): Likewise.
12752 [C99-based-standards] (SCNuLEAST32): Likewise.
12753 [C99-based-standards] (SCNxLEAST32): Likewise.
12754 [C99-based-standards] (PRIdFAST32): Likewise.
12755 [C99-based-standards] (PRIiFAST32): Likewise.
12756 [C99-based-standards] (PRIoFAST32): Likewise.
12757 [C99-based-standards] (PRIuFAST32): Likewise.
12758 [C99-based-standards] (PRIxFAST32): Likewise.
12759 [C99-based-standards] (PRIXFAST32): Likewise.
12760 [C99-based-standards] (SCNdFAST32): Likewise.
12761 [C99-based-standards] (SCNiFAST32): Likewise.
12762 [C99-based-standards] (SCNoFAST32): Likewise.
12763 [C99-based-standards] (SCNuFAST32): Likewise.
12764 [C99-based-standards] (SCNxFAST32): Likewise.
12765 [C99-based-standards] (PRId64): Likewise.
12766 [C99-based-standards] (PRIi64): Likewise.
12767 [C99-based-standards] (PRIo64): Likewise.
12768 [C99-based-standards] (PRIu64): Likewise.
12769 [C99-based-standards] (PRIx64): Likewise.
12770 [C99-based-standards] (PRIX64): Likewise.
12771 [C99-based-standards] (SCNd64): Likewise.
12772 [C99-based-standards] (SCNi64): Likewise.
12773 [C99-based-standards] (SCNo64): Likewise.
12774 [C99-based-standards] (SCNu64): Likewise.
12775 [C99-based-standards] (SCNx64): Likewise.
12776 [C99-based-standards] (PRIdLEAST64): Likewise.
12777 [C99-based-standards] (PRIiLEAST64): Likewise.
12778 [C99-based-standards] (PRIoLEAST64): Likewise.
12779 [C99-based-standards] (PRIuLEAST64): Likewise.
12780 [C99-based-standards] (PRIxLEAST64): Likewise.
12781 [C99-based-standards] (PRIXLEAST64): Likewise.
12782 [C99-based-standards] (SCNdLEAST64): Likewise.
12783 [C99-based-standards] (SCNiLEAST64): Likewise.
12784 [C99-based-standards] (SCNoLEAST64): Likewise.
12785 [C99-based-standards] (SCNuLEAST64): Likewise.
12786 [C99-based-standards] (SCNxLEAST64): Likewise.
12787 [C99-based-standards] (PRIdFAST64): Likewise.
12788 [C99-based-standards] (PRIiFAST64): Likewise.
12789 [C99-based-standards] (PRIoFAST64): Likewise.
12790 [C99-based-standards] (PRIuFAST64): Likewise.
12791 [C99-based-standards] (PRIxFAST64): Likewise.
12792 [C99-based-standards] (PRIXFAST64): Likewise.
12793 [C99-based-standards] (SCNdFAST64): Likewise.
12794 [C99-based-standards] (SCNiFAST64): Likewise.
12795 [C99-based-standards] (SCNoFAST64): Likewise.
12796 [C99-based-standards] (SCNuFAST64): Likewise.
12797 [C99-based-standards] (SCNxFAST64): Likewise.
12798 [C99-based-standards] (PRIdMAX): Likewise.
12799 [C99-based-standards] (PRIiMAX): Likewise.
12800 [C99-based-standards] (PRIoMAX): Likewise.
12801 [C99-based-standards] (PRIuMAX): Likewise.
12802 [C99-based-standards] (PRIxMAX): Likewise.
12803 [C99-based-standards] (PRIXMAX): Likewise.
12804 [C99-based-standards] (SCNdMAX): Likewise.
12805 [C99-based-standards] (SCNiMAX): Likewise.
12806 [C99-based-standards] (SCNoMAX): Likewise.
12807 [C99-based-standards] (SCNuMAX): Likewise.
12808 [C99-based-standards] (SCNxMAX): Likewise.
12809 [C99-based-standards] (PRIdPTR): Likewise.
12810 [C99-based-standards] (PRIiPTR): Likewise.
12811 [C99-based-standards] (PRIoPTR): Likewise.
12812 [C99-based-standards] (PRIuPTR): Likewise.
12813 [C99-based-standards] (PRIxPTR): Likewise.
12814 [C99-based-standards] (PRIXPTR): Likewise.
12815 [C99-based-standards] (SCNdPTR): Likewise.
12816 [C99-based-standards] (SCNiPTR): Likewise.
12817 [C99-based-standards] (SCNoPTR): Likewise.
12818 [C99-based-standards] (SCNuPTR): Likewise.
12819 [C99-based-standards] (SCNxPTR): Likewise.
12820 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12821 allow.
12822 * conform/data/stdint.h-data: Update comments to clarify
12823 requirements.
12824 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12825 type.
12826 [C99-based standards] (INT8_MAX): Likewise.
12827 [C99-based standards] (INT16_MIN): Likewise.
12828 [C99-based standards] (INT16_MAX): Likewise.
12829 [C99-based standards] (INT32_MIN): Likewise.
12830 [C99-based standards] (INT32_MAX): Likewise.
12831 [C99-based standards] (INT64_MIN): Likewise.
12832 [C99-based standards] (INT64_MAX): Likewise.
12833 [C99-based standards] (UINT8_MAX): Likewise.
12834 [C99-based standards] (UINT16_MAX): Likewise.
12835 [C99-based standards] (UINT32_MAX): Likewise.
12836 [C99-based standards] (UINT64_MAX): Likewise.
12837 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12838 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12839 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12840 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12841 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12842 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12843 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12844 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12845 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12846 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12847 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12848 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12849 [C99-based standards] (INT_FAST8_MIN): Likewise.
12850 [C99-based standards] (INT_FAST8_MAX): Likewise.
12851 [C99-based standards] (INT_FAST16_MIN): Likewise.
12852 [C99-based standards] (INT_FAST16_MAX): Likewise.
12853 [C99-based standards] (INT_FAST32_MIN): Likewise.
12854 [C99-based standards] (INT_FAST32_MAX): Likewise.
12855 [C99-based standards] (INT_FAST64_MIN): Likewise.
12856 [C99-based standards] (INT_FAST64_MAX): Likewise.
12857 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12858 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12859 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12860 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12861 [C99-based standards] (INTPTR_MIN): Likewise.
12862 [C99-based standards] (INTPTR_MAX): Likewise.
12863 [C99-based standards] (UINTPTR_MAX): Likewise.
12864 [C99-based standards] (INTMAX_MIN): Likewise.
12865 [C99-based standards] (INTMAX_MAX): Likewise.
12866 [C99-based standards] (UINTMAX_MAX): Likewise.
12867 [C99-based standards] (PTRDIFF_MIN): Likewise.
12868 [C99-based standards] (PTRDIFF_MAX): Likewise.
12869 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12870 [C99-based standards] (SIZE_MAX): Likewise.
12871 [C99-based standards] (WCHAR_MAX): Likewise.
12872 [C99-based standards] (WINT_MAX): Likewise.
12873 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12874 constraint on value.
12875 [C99-based standards] (WCHAR_MIN): Likewise.
12876 [C99-based standards] (WINT_MIN): Likewise.
12877 [C99-based standards] (*_t): Allow.
12878 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12879 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12880 Include math.h-data and complex.h-data. Remove all expectations
12881 of math.h and complex.h contents.
12882 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12883 at end of line.
12884 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12885 (struct tm): Expect tag.
12886 [C99-based-standards] (wcstof): Expect function.
12887 [C99-based-standards] (wcstold): Likewise.
12888 [C99-based-standards] (wcstoll): Likewise.
12889 [C99-based-standards] (wcstoull): Likewise.
12890 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12891 macro-int-constant. Specify type.
12892 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12893 constraint on value.
12894 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12895 Specify type.
12896 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12897 Specify value.
12898 [ISO C standards]: Do not allow headers.
12899 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12900 wcs[abcdefghijklmnopqrstuvwxyz]*.
12901 [ISO C standards] (*_t): Do not allow.
12902 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12903 Expect function.
12904 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12905 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12906 Specify type.
12907 [ISO C standards]: Do not allow headers.
12908 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12909 is[abcdefghijklmnopqrstuvwxyz]*.
12910 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12911 to[abcdefghijklmnopqrstuvwxyz]*.
12912 [ISO C standards] (*_t): Do not allow.
12913 * conform/data/stdalign.h-data: New file.
12914 * conform/data/stdbool.h-data: Likewise.
12915 * conform/data/stdnoreturn.h-data: Likewise.
12916
7514feb8
RM
129172012-11-07 Roland McGrath <roland@hack.frob.com>
12918
12919 [BZ #14815]
12920 * manual/filesys.texi (Directory Entries): Typo fix.
12921 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12922
19b2ecfc
MS
129232012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12924
12925 * elf/elf.h (EM_AARCH64): New macro.
12926 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12927 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12928 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12929 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12930 (R_AARCH64_TLSDESC): Likewise.
12931 (NT_ARM_TLS): Likewise.
12932 (NT_ARM_HW_BREAK): Likewise.
12933 (NT_ARM_HW_WATCH): Likewise.
12934
60e235ee
JM
129352012-11-07 Joseph Myers <joseph@codesourcery.com>
12936
12937 [BZ #14811]
12938 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12939 (__ieee754_powl): Saturate nonzero exponents with absolute value
12940 below 0x1p-79 to +/- 0x1p-79.
12941 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12942 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12943 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12944 nonzero exponents with absolute value below 0x1p-32 to +/-
12945 0x1p-32.
12946 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12947 (__ieee754_powl): Saturate nonzero exponents with absolute value
12948 below 0x1p-79 to +/- 0x1p-79.
12949 * math/libm-test.inc (pow_test): Add more tests.
12950
0ab234b7
AK
129512012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12952
12953 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12954 _dl_s390_cap_flags with kernel. Increase string length.
12955 (_dl_s390_platforms): Add z196 and zEC12.
12956
45832f74
JM
129572012-11-07 Joseph Myers <joseph@codesourcery.com>
12958
12959 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12960 Change XOPEN21K to XOPEN2K.
12961
19218757
MK
129622012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12963
12964 * string/memmove.c: Use memcpy when possible.
12965
c5f45721
AJ
129662012-11-06 Andreas Jaeger <aj@suse.de>
12967
12968 * po/eo.po: Update from translation team.
12969
82477c28
JM
129702012-11-06 Joseph Myers <joseph@codesourcery.com>
12971
12972 [BZ #14793]
12973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12974 exponent and small x and y exponents, scale x or y up. Increase
12975 by 2 the exponent used in scaling up.
12976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12978 * math/libm-test.inc (fma_test): Add more tests.
12979 (fma_test_towardzero): Likewise.
12980 (fma_test_downward): Likewise.
12981 (fma_test_upward): Likewise.
12982
99252c8c
JM
129832012-11-05 Joseph Myers <joseph@codesourcery.com>
12984
acfa885f
JM
12985 [BZ #14805]
12986 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12987 fenv_t *.
12988
99252c8c
JM
12989 [BZ #14801]
12990 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12991 namespace for names of struct fields.
12992 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12993 fenv_t fields.
12994 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12995 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12996
d6d98dea
ST
129972012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12998
12999 [BZ #3665]
13000 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13001
e10bb107
TS
130022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13003
13004 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13005 PTR_DEMANGLE.
13006
13007 [BZ #5246]
13008 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13009 PTR_DEMANGLE.
13010
a0c2940d
JM
130112012-11-04 Joseph Myers <joseph@codesourcery.com>
13012
13013 [BZ #14797]
13014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13015 definitely overflow as x * y not x * y + z.
13016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13018 * math/libm-test.inc (fma_test): Add more tests.
13019 (fma_test_towardzero): Likewise.
13020 (fma_test_downward): Likewise.
13021 (fma_test_upward): Likewise.
13022
b830319d
TS
130232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13024
13025 [BZ #157]
13026
13027 * include/stub-tag.h: Remove file.
13028 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13029 '#include' of it.
13030 * manual/maint.texi (Porting): Don't reference it.
13031 * Makerules ($(objpfx)stubs): Likewise.
13032 * dirent/closedir.c: Don't include <stub-tag.h>.
13033 * dirent/dirfd.c: Likewise.
13034 * dirent/fdopendir.c: Likewise.
13035 * dirent/getdents.c: Likewise.
13036 * dirent/getdents64.c: Likewise.
13037 * dirent/opendir.c: Likewise.
13038 * dirent/readdir.c: Likewise.
13039 * dirent/readdir64.c: Likewise.
13040 * dirent/readdir64_r.c: Likewise.
13041 * dirent/readdir_r.c: Likewise.
13042 * dirent/rewinddir.c: Likewise.
13043 * dirent/seekdir.c: Likewise.
13044 * dirent/telldir.c: Likewise.
13045 * gmon/profil.c: Likewise.
13046 * grp/setgroups.c: Likewise.
13047 * inet/if_index.c: Likewise.
13048 * io/access.c: Likewise.
13049 * io/chdir.c: Likewise.
13050 * io/chmod.c: Likewise.
13051 * io/chown.c: Likewise.
13052 * io/close.c: Likewise.
13053 * io/dup.c: Likewise.
13054 * io/dup2.c: Likewise.
13055 * io/dup3.c: Likewise.
13056 * io/euidaccess.c: Likewise.
13057 * io/faccessat.c: Likewise.
13058 * io/fchdir.c: Likewise.
13059 * io/fchmod.c: Likewise.
13060 * io/fchmodat.c: Likewise.
13061 * io/fchown.c: Likewise.
13062 * io/fchownat.c: Likewise.
13063 * io/fcntl.c: Likewise.
13064 * io/flock.c: Likewise.
13065 * io/fstatfs.c: Likewise.
13066 * io/fstatfs64.c: Likewise.
13067 * io/fstatvfs.c: Likewise.
13068 * io/fstatvfs64.c: Likewise.
13069 * io/futimens.c: Likewise.
13070 * io/fxstat.c: Likewise.
13071 * io/fxstat64.c: Likewise.
13072 * io/fxstatat.c: Likewise.
13073 * io/fxstatat64.c: Likewise.
13074 * io/getcwd.c: Likewise.
13075 * io/isatty.c: Likewise.
13076 * io/lchmod.c: Likewise.
13077 * io/lchown.c: Likewise.
13078 * io/link.c: Likewise.
13079 * io/linkat.c: Likewise.
13080 * io/lseek.c: Likewise.
13081 * io/lseek64.c: Likewise.
13082 * io/lxstat64.c: Likewise.
13083 * io/mkdir.c: Likewise.
13084 * io/mkdirat.c: Likewise.
13085 * io/mkfifo.c: Likewise.
13086 * io/mkfifoat.c: Likewise.
13087 * io/open.c: Likewise.
13088 * io/open64.c: Likewise.
13089 * io/openat.c: Likewise.
13090 * io/openat64.c: Likewise.
13091 * io/pipe.c: Likewise.
13092 * io/pipe2.c: Likewise.
13093 * io/poll.c: Likewise.
13094 * io/posix_fadvise.c: Likewise.
13095 * io/posix_fadvise64.c: Likewise.
13096 * io/posix_fallocate.c: Likewise.
13097 * io/posix_fallocate64.c: Likewise.
13098 * io/read.c: Likewise.
13099 * io/readlink.c: Likewise.
13100 * io/readlinkat.c: Likewise.
13101 * io/rmdir.c: Likewise.
13102 * io/sendfile.c: Likewise.
13103 * io/sendfile64.c: Likewise.
13104 * io/statfs.c: Likewise.
13105 * io/statfs64.c: Likewise.
13106 * io/statvfs.c: Likewise.
13107 * io/statvfs64.c: Likewise.
13108 * io/symlink.c: Likewise.
13109 * io/symlinkat.c: Likewise.
13110 * io/ttyname.c: Likewise.
13111 * io/ttyname_r.c: Likewise.
13112 * io/umask.c: Likewise.
13113 * io/unlink.c: Likewise.
13114 * io/unlinkat.c: Likewise.
13115 * io/utime.c: Likewise.
13116 * io/utimensat.c: Likewise.
13117 * io/write.c: Likewise.
13118 * io/xmknod.c: Likewise.
13119 * io/xmknodat.c: Likewise.
13120 * io/xstat.c: Likewise.
13121 * io/xstat64.c: Likewise.
13122 * login/getpt.c: Likewise.
13123 * login/grantpt.c: Likewise.
13124 * login/unlockpt.c: Likewise.
13125 * math/e_acoshl.c: Likewise.
13126 * math/e_acosl.c: Likewise.
13127 * math/e_asinl.c: Likewise.
13128 * math/e_atan2l.c: Likewise.
13129 * math/e_atanhl.c: Likewise.
13130 * math/e_coshl.c: Likewise.
13131 * math/e_expl.c: Likewise.
13132 * math/e_fmodl.c: Likewise.
13133 * math/e_gammal_r.c: Likewise.
13134 * math/e_hypotl.c: Likewise.
13135 * math/e_j0l.c: Likewise.
13136 * math/e_j1l.c: Likewise.
13137 * math/e_jnl.c: Likewise.
13138 * math/e_lgammal_r.c: Likewise.
13139 * math/e_log10l.c: Likewise.
13140 * math/e_log2l.c: Likewise.
13141 * math/e_logl.c: Likewise.
13142 * math/e_powl.c: Likewise.
13143 * math/e_rem_pio2l.c: Likewise.
13144 * math/e_sinhl.c: Likewise.
13145 * math/e_sqrtl.c: Likewise.
13146 * math/fclrexcpt.c: Likewise.
13147 * math/fedisblxcpt.c: Likewise.
13148 * math/feenablxcpt.c: Likewise.
13149 * math/fegetenv.c: Likewise.
13150 * math/fegetexcept.c: Likewise.
13151 * math/fegetround.c: Likewise.
13152 * math/feholdexcpt.c: Likewise.
13153 * math/fesetenv.c: Likewise.
13154 * math/fesetround.c: Likewise.
13155 * math/feupdateenv.c: Likewise.
13156 * math/fgetexcptflg.c: Likewise.
13157 * math/fraiseexcpt.c: Likewise.
13158 * math/fsetexcptflg.c: Likewise.
13159 * math/ftestexcept.c: Likewise.
13160 * math/k_cosl.c: Likewise.
13161 * math/k_rem_pio2l.c: Likewise.
13162 * math/k_sinl.c: Likewise.
13163 * math/k_tanl.c: Likewise.
13164 * math/s_asinhl.c: Likewise.
13165 * math/s_atanl.c: Likewise.
13166 * math/s_cbrtl.c: Likewise.
13167 * math/s_erfl.c: Likewise.
13168 * math/s_expm1l.c: Likewise.
13169 * math/s_log1pl.c: Likewise.
13170 * math/s_tanhl.c: Likewise.
13171 * misc/acct.c: Likewise.
13172 * misc/brk.c: Likewise.
13173 * misc/chflags.c: Likewise.
13174 * misc/chroot.c: Likewise.
13175 * misc/fchflags.c: Likewise.
13176 * misc/fgetxattr.c: Likewise.
13177 * misc/flistxattr.c: Likewise.
13178 * misc/fremovexattr.c: Likewise.
13179 * misc/fsetxattr.c: Likewise.
13180 * misc/fsync.c: Likewise.
13181 * misc/ftruncate.c: Likewise.
13182 * misc/futimes.c: Likewise.
13183 * misc/futimesat.c: Likewise.
13184 * misc/getdomain.c: Likewise.
13185 * misc/getdtsz.c: Likewise.
13186 * misc/gethostid.c: Likewise.
13187 * misc/gethostname.c: Likewise.
13188 * misc/getloadavg.c: Likewise.
13189 * misc/getpagesize.c: Likewise.
13190 * misc/getsysstats.c: Likewise.
13191 * misc/getxattr.c: Likewise.
13192 * misc/gtty.c: Likewise.
13193 * misc/ioctl.c: Likewise.
13194 * misc/lgetxattr.c: Likewise.
13195 * misc/listxattr.c: Likewise.
13196 * misc/llistxattr.c: Likewise.
13197 * misc/lremovexattr.c: Likewise.
13198 * misc/lsetxattr.c: Likewise.
13199 * misc/lutimes.c: Likewise.
13200 * misc/madvise.c: Likewise.
13201 * misc/mincore.c: Likewise.
13202 * misc/mlock.c: Likewise.
13203 * misc/mlockall.c: Likewise.
13204 * misc/mmap.c: Likewise.
13205 * misc/mprotect.c: Likewise.
13206 * misc/msync.c: Likewise.
13207 * misc/munlock.c: Likewise.
13208 * misc/munlockall.c: Likewise.
13209 * misc/munmap.c: Likewise.
13210 * misc/preadv.c: Likewise.
13211 * misc/preadv64.c: Likewise.
13212 * misc/ptrace.c: Likewise.
13213 * misc/pwritev.c: Likewise.
13214 * misc/pwritev64.c: Likewise.
13215 * misc/readv.c: Likewise.
13216 * misc/reboot.c: Likewise.
13217 * misc/remap_file_pages.c: Likewise.
13218 * misc/removexattr.c: Likewise.
13219 * misc/revoke.c: Likewise.
13220 * misc/select.c: Likewise.
13221 * misc/setdomain.c: Likewise.
13222 * misc/setegid.c: Likewise.
13223 * misc/seteuid.c: Likewise.
13224 * misc/sethostid.c: Likewise.
13225 * misc/sethostname.c: Likewise.
13226 * misc/setregid.c: Likewise.
13227 * misc/setreuid.c: Likewise.
13228 * misc/setxattr.c: Likewise.
13229 * misc/sstk.c: Likewise.
13230 * misc/stty.c: Likewise.
13231 * misc/swapoff.c: Likewise.
13232 * misc/swapon.c: Likewise.
13233 * misc/sync.c: Likewise.
13234 * misc/syncfs.c: Likewise.
13235 * misc/syscall.c: Likewise.
13236 * misc/truncate.c: Likewise.
13237 * misc/ualarm.c: Likewise.
13238 * misc/usleep.c: Likewise.
13239 * misc/ustat.c: Likewise.
13240 * misc/utimes.c: Likewise.
13241 * misc/vhangup.c: Likewise.
13242 * misc/writev.c: Likewise.
13243 * posix/_exit.c: Likewise.
13244 * posix/alarm.c: Likewise.
13245 * posix/execve.c: Likewise.
13246 * posix/fexecve.c: Likewise.
13247 * posix/fork.c: Likewise.
13248 * posix/fpathconf.c: Likewise.
13249 * posix/getaddrinfo.c: Likewise.
13250 * posix/getegid.c: Likewise.
13251 * posix/geteuid.c: Likewise.
13252 * posix/getgid.c: Likewise.
13253 * posix/getgroups.c: Likewise.
13254 * posix/getlogin.c: Likewise.
13255 * posix/getlogin_r.c: Likewise.
13256 * posix/getpgid.c: Likewise.
13257 * posix/getpid.c: Likewise.
13258 * posix/getppid.c: Likewise.
13259 * posix/getresgid.c: Likewise.
13260 * posix/getresuid.c: Likewise.
13261 * posix/getsid.c: Likewise.
13262 * posix/getuid.c: Likewise.
13263 * posix/glob64.c: Likewise.
13264 * posix/nanosleep.c: Likewise.
13265 * posix/pathconf.c: Likewise.
13266 * posix/pause.c: Likewise.
13267 * posix/posix_madvise.c: Likewise.
13268 * posix/pread.c: Likewise.
13269 * posix/pread64.c: Likewise.
13270 * posix/pwrite.c: Likewise.
13271 * posix/pwrite64.c: Likewise.
13272 * posix/sched_getaffinity.c: Likewise.
13273 * posix/sched_getp.c: Likewise.
13274 * posix/sched_gets.c: Likewise.
13275 * posix/sched_primax.c: Likewise.
13276 * posix/sched_primin.c: Likewise.
13277 * posix/sched_rr_gi.c: Likewise.
13278 * posix/sched_setaffinity.c: Likewise.
13279 * posix/sched_setp.c: Likewise.
13280 * posix/sched_sets.c: Likewise.
13281 * posix/sched_yield.c: Likewise.
13282 * posix/setgid.c: Likewise.
13283 * posix/setlogin.c: Likewise.
13284 * posix/setpgid.c: Likewise.
13285 * posix/setresgid.c: Likewise.
13286 * posix/setresuid.c: Likewise.
13287 * posix/setsid.c: Likewise.
13288 * posix/setuid.c: Likewise.
13289 * posix/sleep.c: Likewise.
13290 * posix/spawni.c: Likewise.
13291 * posix/sysconf.c: Likewise.
13292 * posix/times.c: Likewise.
13293 * posix/wait.c: Likewise.
13294 * posix/wait3.c: Likewise.
13295 * posix/wait4.c: Likewise.
13296 * posix/waitpid.c: Likewise.
13297 * resolv/gai_sigqueue.c: Likewise.
13298 * resource/getpriority.c: Likewise.
13299 * resource/getrlimit.c: Likewise.
13300 * resource/getrusage.c: Likewise.
13301 * resource/nice.c: Likewise.
13302 * resource/setpriority.c: Likewise.
13303 * resource/setrlimit.c: Likewise.
13304 * resource/ulimit.c: Likewise.
13305 * rt/aio_cancel.c: Likewise.
13306 * rt/aio_fsync.c: Likewise.
13307 * rt/aio_read.c: Likewise.
13308 * rt/aio_sigqueue.c: Likewise.
13309 * rt/aio_suspend.c: Likewise.
13310 * rt/aio_write.c: Likewise.
13311 * rt/clock_getres.c: Likewise.
13312 * rt/clock_gettime.c: Likewise.
13313 * rt/clock_nanosleep.c: Likewise.
13314 * rt/clock_settime.c: Likewise.
13315 * rt/lio_listio.c: Likewise.
13316 * rt/mq_close.c: Likewise.
13317 * rt/mq_getattr.c: Likewise.
13318 * rt/mq_notify.c: Likewise.
13319 * rt/mq_open.c: Likewise.
13320 * rt/mq_receive.c: Likewise.
13321 * rt/mq_send.c: Likewise.
13322 * rt/mq_setattr.c: Likewise.
13323 * rt/mq_timedreceive.c: Likewise.
13324 * rt/mq_timedsend.c: Likewise.
13325 * rt/mq_unlink.c: Likewise.
13326 * rt/shm_open.c: Likewise.
13327 * rt/shm_unlink.c: Likewise.
13328 * rt/timer_create.c: Likewise.
13329 * rt/timer_delete.c: Likewise.
13330 * rt/timer_getoverr.c: Likewise.
13331 * rt/timer_gettime.c: Likewise.
13332 * rt/timer_settime.c: Likewise.
13333 * setjmp/__longjmp.c: Likewise.
13334 * setjmp/setjmp.c: Likewise.
13335 * signal/kill.c: Likewise.
13336 * signal/killpg.c: Likewise.
13337 * signal/raise.c: Likewise.
13338 * signal/sigaction.c: Likewise.
13339 * signal/sigaltstack.c: Likewise.
13340 * signal/sigblock.c: Likewise.
13341 * signal/sigignore.c: Likewise.
13342 * signal/sigintr.c: Likewise.
13343 * signal/signal.c: Likewise.
13344 * signal/sigpause.c: Likewise.
13345 * signal/sigpending.c: Likewise.
13346 * signal/sigqueue.c: Likewise.
13347 * signal/sigreturn.c: Likewise.
13348 * signal/sigset.c: Likewise.
13349 * signal/sigsetmask.c: Likewise.
13350 * signal/sigstack.c: Likewise.
13351 * signal/sigsuspend.c: Likewise.
13352 * signal/sigtimedwait.c: Likewise.
13353 * signal/sigvec.c: Likewise.
13354 * signal/sigwait.c: Likewise.
13355 * signal/sigwaitinfo.c: Likewise.
13356 * signal/sysv_signal.c: Likewise.
13357 * socket/accept.c: Likewise.
13358 * socket/accept4.c: Likewise.
13359 * socket/bind.c: Likewise.
13360 * socket/connect.c: Likewise.
13361 * socket/getpeername.c: Likewise.
13362 * socket/getsockname.c: Likewise.
13363 * socket/getsockopt.c: Likewise.
13364 * socket/isfdtype.c: Likewise.
13365 * socket/listen.c: Likewise.
13366 * socket/recv.c: Likewise.
13367 * socket/recvfrom.c: Likewise.
13368 * socket/recvmsg.c: Likewise.
13369 * socket/send.c: Likewise.
13370 * socket/sendmsg.c: Likewise.
13371 * socket/sendto.c: Likewise.
13372 * socket/setsockopt.c: Likewise.
13373 * socket/shutdown.c: Likewise.
13374 * socket/sockatmark.c: Likewise.
13375 * socket/socket.c: Likewise.
13376 * socket/socketpair.c: Likewise.
13377 * stdio-common/ctermid.c: Likewise.
13378 * stdio-common/cuserid.c: Likewise.
13379 * stdio-common/remove.c: Likewise.
13380 * stdio-common/rename.c: Likewise.
13381 * stdio-common/renameat.c: Likewise.
13382 * stdio-common/tempname.c: Likewise.
13383 * stdlib/getcontext.c: Likewise.
13384 * stdlib/makecontext.c: Likewise.
13385 * stdlib/setcontext.c: Likewise.
13386 * stdlib/swapcontext.c: Likewise.
13387 * stdlib/system.c: Likewise.
13388 * streams/fattach.c: Likewise.
13389 * streams/fdetach.c: Likewise.
13390 * streams/getmsg.c: Likewise.
13391 * streams/getpmsg.c: Likewise.
13392 * streams/putmsg.c: Likewise.
13393 * streams/putpmsg.c: Likewise.
13394 * sysdeps/unix/bsd/getpt.c: Likewise.
13395 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13396 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13397 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13399 Likewise.
13400 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13401 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13402 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13403 * sysvipc/msgctl.c: Likewise.
13404 * sysvipc/msgget.c: Likewise.
13405 * sysvipc/msgrcv.c: Likewise.
13406 * sysvipc/msgsnd.c: Likewise.
13407 * sysvipc/semctl.c: Likewise.
13408 * sysvipc/semget.c: Likewise.
13409 * sysvipc/semop.c: Likewise.
13410 * sysvipc/semtimedop.c: Likewise.
13411 * sysvipc/shmat.c: Likewise.
13412 * sysvipc/shmctl.c: Likewise.
13413 * sysvipc/shmdt.c: Likewise.
13414 * sysvipc/shmget.c: Likewise.
13415 * termios/tcdrain.c: Likewise.
13416 * termios/tcflow.c: Likewise.
13417 * termios/tcflush.c: Likewise.
13418 * termios/tcgetattr.c: Likewise.
13419 * termios/tcgetpgrp.c: Likewise.
13420 * termios/tcsendbrk.c: Likewise.
13421 * termios/tcsetattr.c: Likewise.
13422 * termios/tcsetpgrp.c: Likewise.
13423 * time/adjtime.c: Likewise.
13424 * time/clock.c: Likewise.
13425 * time/getitimer.c: Likewise.
13426 * time/gettimeofday.c: Likewise.
13427 * time/setitimer.c: Likewise.
13428 * time/settimeofday.c: Likewise.
13429 * time/stime.c: Likewise.
13430 * time/time.c: Likewise.
13431
134322012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13433
a20492cf
PT
13434 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13435 /usr/old/bin.
13436
72e182e3
PT
13437 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13438 instead of spaces.
13439 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13440
fbeafede
JM
134412012-11-03 Joseph Myers <joseph@codesourcery.com>
13442
5b5b04d6
JM
13443 [BZ #14796]
13444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13445 FE_TONEAREST before applying Dekker multiplication and Knuth
13446 addition. Clear inexact exceptions and check for exact zero
13447 results afterwards.
13448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13449 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13451 * math/libm-test.inc (fma_test): Add more tests.
13452 (fma_test_towardzero): Likewise.
13453 (fma_test_downward): Likewise.
13454 (fma_test_upward): Likewise.
13455 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13456 function.
13457 (libc_fesetround): New macro.
13458 (libc_fesetroundf): Likewise.
13459 (libc_fesetroundl): Likewise.
13460 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13461 function.
13462 (libc_fesetround_387): Likewise.
13463 (libc_fesetroundf): New macro.
13464 (libc_fesetround): Likewise.
13465 (libc_fesetroundl): Likewise.
13466 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13467 function.
13468 (libc_fesetroundf): New macro.
13469 (libc_fesetround): Likewise.
13470 (libc_fesetroundl): Likewise.
13471 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13472 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13473 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13474 libm_hidden_ver.
13475 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13476 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13477 libm_hidden_def.
13478 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13479 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13480 libm_hidden_ver.
13481 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13482 libm_hidden_def.
13483
fbeafede
JM
13484 [BZ #3439]
13485 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13486 integer constant usable in #if and use that to give value to enum
13487 constant.
13488 (FE_DIVBYZERO): Likewise.
13489 (FE_UNDERFLOW): Likewise.
13490 (FE_OVERFLOW): Likewise.
13491 (FE_INVALID): Likewise.
13492 (FE_INVALID_SNAN): Likewise.
13493 (FE_INVALID_ISI): Likewise.
13494 (FE_INVALID_IDI): Likewise.
13495 (FE_INVALID_ZDZ): Likewise.
13496 (FE_INVALID_IMZ): Likewise.
13497 (FE_INVALID_COMPARE): Likewise.
13498 (FE_INVALID_SOFTWARE): Likewise.
13499 (FE_INVALID_SQRT): Likewise.
13500 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13501 (FE_TONEAREST): Likewise.
13502 (FE_TOWARDZERO): Likewise.
13503 (FE_UPWARD): Likewise.
13504 (FE_DOWNWARD): Likewise.
13505 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13506 (FE_DIVBYZERO): Likewise.
13507 (FE_OVERFLOW): Likewise.
13508 (FE_UNDERFLOW): Likewise.
13509 (FE_INEXACT): Likewise.
13510 (FE_TONEAREST): Likewise.
13511 (FE_DOWNWARD): Likewise.
13512 (FE_UPWARD): Likewise.
13513 (FE_TOWARDZERO): Likewise.
13514 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13515 (FE_UNDERFLOW): Likewise.
13516 (FE_OVERFLOW): Likewise.
13517 (FE_DIVBYZERO): Likewise.
13518 (FE_INVALID): Likewise.
13519 (FE_TONEAREST): Likewise.
13520 (FE_TOWARDZERO): Likewise.
13521 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13522 (FE_OVERFLOW): Likewise.
13523 (FE_UNDERFLOW): Likewise.
13524 (FE_DIVBYZERO): Likewise.
13525 (FE_INEXACT): Likewise.
13526 (FE_TONEAREST): Likewise.
13527 (FE_TOWARDZERO): Likewise.
13528 (FE_UPWARD): Likewise.
13529 (FE_DOWNWARD): Likewise.
13530 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13531 (FE_DIVBYZERO): Likewise.
13532 (FE_OVERFLOW): Likewise.
13533 (FE_UNDERFLOW): Likewise.
13534 (FE_INEXACT): Likewise.
13535 (FE_TONEAREST): Likewise.
13536 (FE_DOWNWARD): Likewise.
13537 (FE_UPWARD): Likewise.
13538 (FE_TOWARDZERO): Likewise.
13539
105ca950
CM
135402012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13541
13542 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13543
a542b389
AS
135442012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13545
13546 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13547 commands. Quote $PWD.
13548 (blacklist_exports): Don't use remove_newlines. Replace "declare
13549 -x" by "export".
13550 (remove_newlines): Remove.
13551
f62c8abc
L
135522012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13553
13554 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13555 * stdlib/stdlib.h (atof): Moved to ...
13556 * include/bits/stdlib-float.h: Here. New file.
13557 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13558 * stdlib/bits/stdlib-float.h: New file.
13559 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13560 -mno-sse -mno-mmx.
13561 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13562 <xmmintrin.h>.
13563
0155d5b2
JM
135642012-11-02 Joseph Myers <joseph@codesourcery.com>
13565
a68d0680
JM
13566 * conform/conformtest.pl (@headers): Add fenv.h.
13567 * conform/data/fenv.h-data: New file.
13568 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13569 include of <math/fenv.h>.
13570
caf7f573
JM
13571 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13572 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13573 && !UNIX98]. Enables tests for XOPEN2K8.
13574 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13575 POSIX2008]: Likewise.
13576
6c073ad6
JM
13577 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13578 (struct rusage): Do not expect type or its members.
13579
0155d5b2
JM
13580 [BZ #3439]
13581 * math/math.h (FP_NAN): Define macro to integer constant usable in
13582 #if and use that to give value to enum constant.
13583 (FP_INFINITE): Likewise.
13584 (FP_ZERO): Likewise.
13585 (FP_SUBNORMAL): Likewise.
13586 (FP_NORMAL): Likewise.
13587
b5dcacb4
AS
135882012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13589
13590 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13591 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13592 arguments.
13593
f7934be8
RM
135942012-11-02 Roland McGrath <roland@hack.frob.com>
13595
13596 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13597 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13598 autoconf-time if not.
13599 * configure.in: Remove AC_PREREQ.
13600
d7d08bde
TMQMF
136012012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13602
13603 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13604 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13605 of the internal implementation.
13606
dcdae19a
JM
136072012-11-02 Joseph Myers <joseph@codesourcery.com>
13608
13609 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13610 except include of <misc/sys/syslog.h>.
13611
d6cffd3e
AS
136122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13613
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13615 function returns with a NULL context exit with zero.
13616
b3563932
TMQMF
136172012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13618
13619 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13620
b288a93d
L
136212012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13622
13623 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13624 (run_program_cmd): This.
13625 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13626 (tst_langinfo): New variable. Use it.
13627
a2421a68
SAS
136282012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13629
13630 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13631 floating point opcodes.
13632
6f796e1b
TS
136332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13634
7402596b
TS
13635 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13636 variable.
13637
d0d4f868
TS
13638 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13639
6f796e1b
TS
13640 * sysdeps/mach/hurd/powerpc: Remove directory.
13641 * sysdeps/mach/powerpc: Likewise.
13642
4da224a2
AS
136432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13644
13645 * scripts/check-local-headers.sh: Ignore c++ headers.
13646
341dd673
TS
136472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13648
13649 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13650 __libc_cleanup_region_start argument.
13651
473611b2
JM
136522012-11-01 Joseph Myers <joseph@codesourcery.com>
13653
13654 [BZ #14784]
13655 [BZ #14785]
13656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13657 x * y using scaling, not as x * y + z.
13658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13659 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13660 * math/libm-test.inc (fma_test): Add more tests.
13661 (fma_test_towardzero): Likewise.
13662 (fma_test_downward): Likewise.
13663 (fma_test_upward): Likewise.
13664
4078da3d
TS
136652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13666
13667 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13668
903252aa
JM
136692012-10-31 Joseph Myers <joseph@codesourcery.com>
13670
13671 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13672 New variable.
13673
cbc818d0
TS
136742012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13675
13676 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13677
5a03cb1e
AS
136782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13679
13680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13681 Fix sort order.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13683 Likewise.
13684
90aff2ff
TMQMF
136852012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13686
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13688 Fix the order of the list for glibc 2.17.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13690 Likewise.
13691
1818fcb7
AS
136922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13693
13694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13695
ef82f4da
JM
136962012-10-31 Joseph Myers <joseph@codesourcery.com>
13697
16a0e2ec
JM
13698 [BZ #14610]
13699 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13700 for low part of x being zero before using __atanl (y).
13701 * math/libm-test.inc (atan2_test): Add another test.
13702
0eb69512
JM
13703 * manual/install.texi (Configuring and compiling): Document
13704 general use of test-wrapper and test-wrapper-env.
13705 * INSTALL: Regenerated.
13706
ef82f4da
JM
13707 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13708 (__fma): Do not extract and scale down low bits on after-rounding
13709 systems when result rounded to normal precision would have normal
13710 exponent.
13711 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13712 (__fmal): Do not extract and scale down low bits on after-rounding
13713 systems when result rounded to normal precision would have normal
13714 exponent.
13715 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13716 (__fmal): Do not extract and scale down low bits on after-rounding
13717 systems when result rounded to normal precision would have normal
13718 exponent.
13719 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13720 macro.
13721 (fma_test): Add more tests.
13722 (fma_test_towardzero): Likewise.
13723 (fma_test_downward): Likewise.
13724 (fma_test_upward): Likewise.
13725
954ef0d9
L
137262012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13727
13728 * sysdeps/i386/tininess.h: Renamed to ...
13729 * sysdeps/x86/tininess.h: This.
13730 * sysdeps/x86_64/tininess.h: Removed.
13731
df61ffb2
JM
137322012-10-30 Joseph Myers <joseph@codesourcery.com>
13733
13734 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13735 input. Use $(build-program-cmd).
13736 ($(objpfx)tst-array1-static.out): Likewise.
13737 ($(objpfx)tst-array2.out): Likewise.
13738 ($(objpfx)tst-array3.out): Likewise.
13739 ($(objpfx)tst-array4.out): Likewise.
13740 ($(objpfx)tst-array5.out): Likewise.
13741 ($(objpfx)tst-array5-static.out): Likewise.
13742
01767843
CM
137432012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13744
47cc1490
CM
13745 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13746 if defined.
13747
01767843
CM
13748 * nss/nsswitch.h (nss_interface_function): Provide new
13749 macro for use with NSS functions.
13750 * grp/initgroups.c: Use new macro.
13751 * nss/getXXbyYY.c: Likewise.
13752 * nss/getXXbyYY_r.c: Likewise.
13753 * nss/getXXent.c: Likewise.
13754 * nss/getXXent_r.c: Likewise.
13755 * sysdeps/posix/getaddrinfo.c: Likewise.
13756
8321aa97
AJ
137572012-10-30 Andreas Jaeger <aj@suse.de>
13758
13759 * po/ru.po: Update Russion translation from translation project.
13760
2a27fd6d
JM
137612012-10-30 Joseph Myers <joseph@codesourcery.com>
13762
8627a232
JM
13763 [BZ #14152]
13764 [BZ #14783]
13765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13766 result and shift together with sticky bit instead of replicating
13767 round-to-nearest rounding.
13768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13770 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13771 missing underflow exceptions.
13772 (fma_test_towardzero): Add more tests.
13773 (fma_test_downward): Likewise.
13774 (fma_test_upward): Likewise.
13775
2a27fd6d
JM
13776 [BZ #14047]
13777 * sysdeps/generic/tininess.h: New file.
13778 * sysdeps/i386/tininess.h: Likewise.
13779 * sysdeps/sh/tininess.h: Likewise.
13780 * sysdeps/x86_64/tininess.h: Likewise.
13781 * stdlib/tst-strtod-underflow.c: Likewise.
13782 * stdlib/tst-tininess.c: Likewise.
13783 * stdlib/strtod_l.c: Include <tininess.h>.
13784 (round_and_return): Do not set errno for exact underflow cases.
13785 Force an underflow exception when setting errno for underflow.
13786 Determine underflow based on rounding to normal precision if
13787 TININESS_AFTER_ROUNDING.
13788 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13789 ERANGE for exact underflow cases.
13790 * stdlib/Makefile (tests): Add tst-tininess and
13791 tst-strtod-underflow.
13792 ($(objpfx)tst-tininess): Use $(link-libm).
13793 ($(objpfx)tst-strtod-underflow): Likewise.
13794
e7170363
AJ
137952012-10-30 Andreas Jaeger <aj@suse.de>
13796
e5088dc6
AJ
13797 [BZ#14767]
13798 * elf/Makefile (tests): Remove conditional for have-initfini-array
13799 since this is now always required and the variable does not exist
13800 anymore.
13801 (tests-static): Likewise.
13802 (modules-names): Likewise.
13803
e7170363 13804 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13805
13806 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13807 merged with constructor/destructor.
13808 (init_array): Likewise.
13809 * elf/tst-array2dep.c (fini_array): Likewise.
13810 (init_array): Likewise.
13811
60457d8a
MF
138122012-10-29 Mike Frysinger <vapier@gentoo.org>
13813
13814 * manual/message.texi: Delete @cartouche tags.
13815
8bece752
PT
138162012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13817
94ce799f
PT
13818 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13819 EOPNOTSUPP.
13820 * sysdeps/mach/hurd/fsync.c: Likewise.
13821
8bece752
PT
13822 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13823 [_POSIX_REALTIME_SIGNALS]: Change condition to
13824 [_POSIX_REALTIME_SIGNALS > 0].
13825
86ebe6b1
AJ
138262012-10-27 Andreas Jaeger <aj@suse.de>
13827
13828 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13829 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13831 [__WORDSIZE != 64]: Likewise.
13832
54399c08
L
138332012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13834
13835 * iconvdata/tst-table.sh: Remove ${SHELL}.
13836 * iconvdata/tst-tables.sh: Likewise.
13837
e2211bed
DM
138382012-10-25 David S. Miller <davem@davemloft.net>
13839
13840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13841 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13842 of strtoull.
13843
f303f97c
DM
13844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13845 ifunc-impl-list.c
13846 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13847 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13848 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13849 file.
13850
1e9d84cd
RM
138512012-10-25 Roland McGrath <roland@hack.frob.com>
13852
13853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13854 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13855 __getdirentries.
13856
df381762
JM
138572012-10-25 Joseph Myers <joseph@codesourcery.com>
13858 Jim Blandy <jimb@codesourcery.com>
13859
13860 * scripts/cross-test-ssh.sh: New file.
13861 * manual/install.texi (Configuring and compiling): Document use of
13862 cross-test-ssh.sh.
13863 * INSTALL: Regenerated.
13864
bff64913
PT
138652012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13866
13867 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13868 EOPNOTSUPP.
13869
25fe8932
JM
138702012-10-25 Joseph Myers <joseph@codesourcery.com>
13871
13872 * Makeconfig (run-program-prefix): Fix comment.
13873
cc1290d0
JM
138742012-10-24 Joseph Myers <joseph@codesourcery.com>
13875 Jim Blandy <jimb@codesourcery.com>
13876
13877 * Makeconfig (test-wrapper): New variable,
13878 (test-wrapper-env): Likewise.
13879 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13880 (run-built-tests): Define to yes.
13881 (run-program-prefix): Use $(test-wrapper).
13882 (built-program-cmd): Likewise.
13883 * Rules (make-test-out): Use $(test-wrapper-env) and
13884 $(host-built-program-cmd).
13885 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13886 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13887 tst-pathopt.sh.
13888 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13889 $(test-wrapper-env) to tst-rtld-load-self.sh.
13890 ($(objpfx)order2.out): Use $(test-wrapper).
13891 ($(objpfx)tst-initorder.out): Likewise.
13892 ($(objpfx)tst-initorder2.out): Likewise.
13893 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13894 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13895 (test_wrapper_env): New variable. Use it to run ld.so.
13896 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13897 Use it to run ld.so.
13898 (test_wrapper_env): Likewise.
13899 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13900 $(test-wrapper) to run-iconv-test.sh.
13901 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13902 (ICONV): Use $test_wrapper.
13903 * posix/Makefile ($(objpfx)globtest.out): Pass
13904 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13905 globtest.sh, not $(run-program-prefix).
13906 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13907 (test_wrapper): Likewise.
13908 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13909 set together with run_via_rtld_prefix.
13910 (run_program_prefix): Define in terms of test_wrapper and
13911 run_via_rtld_prefix.
13912
6e6249d0
RM
139132012-10-24 Roland McGrath <roland@hack.frob.com>
13914
13915 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13916 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13917 Targets removed.
13918
13919 [BZ #14743]
13920 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13921 Declare __clock_getres, __clock_gettime, __clock_settime,
13922 __clock_nanosleep, and __clock_getcpuclockid.
13923 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13924 Remove librt_hidden_def (clock_gettime).
13925 * sysdeps/unix/clock_gettime.c: Likewise.
13926 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13928 * rt/clock_getres.c: Define __clock_getres as an alias.
13929 * sysdeps/posix/clock_getres.c: Likewise.
13930 * rt/clock_settime.c: Define __clock_settime as an alias.
13931 * sysdeps/unix/clock_settime.c: Likewise.
13932 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13933 * sysdeps/unix/clock_nanosleep.c: Likewise.
13934 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13935 * rt/clock-compat.c: New file.
13936 * rt/Makefile (librt-routines): Add clock-compat and move
13937 $(clock-routines) to ...
13938 (routines): ... here, new variable.
13939 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13940 Don't add get_clockfreq here.
13941 * rt/Versions (libc: GLIBC_2.17): New version set.
13942 Add clock_* symbols here.
13943 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13945 (GLIBC_2.17): Add clock_* symbols.
13946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13950 Likewise.
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13952 Likewise.
13953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13957 * NEWS: Mention the move.
13958
13959 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13960 Use __open, __read, __close rather than their public counterparts.
13961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13962 (__get_clockfreq_via_cpuinfo): Likewise.
13963 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13964 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13965
13966 * config.h.in (HAVE_IFUNC): New #undef.
13967 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13968 was successful.
13969 * configure: Regenerated.
13970
0cae3f4b
MF
139712012-10-24 Mike Frysinger <vapier@gentoo.org>
13972
13973 * configure.in: Move READELF check to start of file.
13974 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13975 libc_cv_asm_gnu_indirect_function in the process.
13976 * configure: Regenerated.
13977
8175a253
MF
139782012-10-24 Mike Frysinger <vapier@gentoo.org>
13979
13980 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13981 send the output to /dev/null.
13982 (libc_cv_cc_with_libunwind): Likewise.
13983 (libc_cv_as_noexecstack): Likewise.
13984 * configure: Regenerate.
13985
0708a7d1
JM
139862012-10-24 Joseph Myers <joseph@codesourcery.com>
13987
10b40d85
JM
13988 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13989
0708a7d1
JM
13990 * posix/globtest.sh (TMPDIR): Do not set.
13991 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13992 (testout): Likewise.
13993
9fddec1a
AJ
139942012-10-24 Andreas Jaeger <aj@suse.de>
13995
3a8db22f
AJ
13996 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13997 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13998 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13999 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14000 posix_fadvise64, posix_fallocate64.
14001
9fddec1a
AJ
14002 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14003 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14004 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14005 Likewise.
14006 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14007 Likewise.
14008 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14009
14010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14011 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14012 <bits/fcntl-linux.h>.
14013 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14014
14015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14016 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14017 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14018 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14019 [__WORDSIZE != 64]: Likewise.
14020
ebfd1bbd
JM
140212012-10-23 Joseph Myers <joseph@codesourcery.com>
14022
03ac099f
JM
14023 * Makeconfig (run-built-tests): New variable.
14024 * Rules [$(cross-compiling) = yes]: Change condition to
14025 [$(run-built-tests) = no].
14026 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14027 to [$(run-built-tests) = yes].
14028 * elf/Makefile [$(cross-compiling) = no]: Likewise
14029 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14030 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14031 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14032 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14033 * io/Makefile [$(cross-compiling) = no]: Likewise.
14034 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14035 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14036 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14037 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14038 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14039 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14040 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14041 * string/Makefile [$(cross-compiling) = no]: Likewise.
14042
ebfd1bbd
JM
14043 * posix/Makefile ($(objpfx)globtest.out): Pass
14044 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14045 $(rtld-installed-name).
14046 * posix/globtest.sh (elf_objpfx): Remove variable.
14047 (rtld_installed_name): Likewise.
14048 (library_path): Likewise.
14049 (run_program_prefix): New variable. Use for running globtest
14050 binary.
14051
166bca24
JB
140522012-10-23 Jim Blandy <jimb@codesourcery.com>
14053 Joseph Myers <joseph@codesourcery.com>
14054
14055 * Makeconfig (host-built-program-cmd): New variable.
14056 * elf/Makefile (tst-stackguard1-ARGS): Use
14057 $(host-built-program-cmd).
14058 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14059 (tst-spawn-ARGS): Likewise.
14060 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14061
88866099
JM
140622012-10-23 Joseph Myers <joseph@codesourcery.com>
14063 Jim Blandy <jimb@codesourcery.com>
14064
14065 * Makeconfig (run-via-rtld-prefix): New variable.
14066 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14067 (built-program-cmd): Likewise.
14068
b4b4c296
AJ
140692012-10-22 Andreas Jaeger <aj@suse.de>
14070
14071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14072 __O_RSYNC if it exists, otherwise to O_SYNC.
14073
6fb54a22
JB
140742012-10-22 Jim Blandy <jimb@codesourcery.com>
14075 Joseph Myers <joseph@codesourcery.com>
14076
14077 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14078 /dev/null.
14079 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14080 from /dev/null
14081 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14082 /dev/null.
14083
481b90b9
AJ
140842012-10-22 Andreas Jaeger <aj@suse.de>
14085
2a0e2669
AJ
14086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14087 Define always.
14088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14089
76e38f9a
AJ
14090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14091 bits/fcntl-linux.h.
14092
7cd37b43
AJ
14093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14094 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14095
481b90b9
AJ
14096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14097 to __O_LARGEFILE.
14098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14099 to __O_LARGEFILE.
14100
aba75984
JB
141012012-10-21 Jim Blandy <jimb@codesourcery.com>
14102 Joseph Myers <joseph@codesourcery.com>
14103
14104 * config.make.in (NM): New variable.
14105
88d4247f
AJ
141062012-10-21 Andreas Jaeger <aj@suse.de>
14107
14108 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14109 definitions and declarations that are provided by
14110 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14111
f2eed205
L
141122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 [BZ #14683]
14115 * elf/Makefile (tests-static): Add tst-leaks1-static.
14116 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14117 ($(objpfx)tst-leaks1-static): New rule.
14118 ($(objpfx)tst-leaks1-static-mem): Likewise.
14119 (tst-leaks1-static-ENV): New macro.
14120 * elf/dl-open.c (dl_open_worker): Check the main application
14121 only if SHARED is defined.
14122 * elf/tst-leaks1-static.c: New file.
14123
335e6931
AJ
141242012-10-20 Andreas Jaeger <aj@suse.de>
14125
14126 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14127 generic values for Linux.
14128 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14129 and declarations that are provided by <bits/fcntl-linux.h> and
14130 include <bits/fcntl-linux.h>.
14131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14133
ac5c94d3
RM
141342012-10-20 Roland McGrath <roland@hack.frob.com>
14135
14136 * io/fcntl.h: Move include of <bits/types.h> to the top and
14137 include it unconditionally.
14138
de54b33a
L
141392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14140
228cfb01
L
14141 * wcsmbs/Makefile (tests-ifunc): New variable.
14142 (tests): Add $(tests-ifunc).
14143 * wcsmbs/test-wcschr-ifunc.c: New file.
14144 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14145 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14146 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14147 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14148 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14149
69f07e5f
L
14150 * string/Makefile (tests-ifunc): New variable.
14151 (tests): Add $(tests-ifunc).
14152 * string/test-memccpy.c (TEST_NAME): New macro.
14153 * string/test-memchr.c (TEST_NAME): Likewise.
14154 * string/test-memcmp.c (TEST_NAME): Likewise.
14155 * string/test-memcpy.c (TEST_NAME): Likewise.
14156 * string/test-memmem.c (TEST_NAME): Likewise.
14157 * string/test-memmove.c (TEST_NAME): Likewise.
14158 * string/test-memset.c (TEST_NAME): Likewise.
14159 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14160 * string/test-stpcpy.c (TEST_NAME): Likewise.
14161 * string/test-stpncpy.c (TEST_NAME): Likewise.
14162 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14163 * string/test-strcasestr.c (TEST_NAME): Likewise.
14164 * string/test-strcat.c (TEST_NAME): Likewise.
14165 * string/test-strchr.c (TEST_NAME): Likewise.
14166 * string/test-strcmp.c(TEST_NAME): Likewise.
14167 * string/test-strcpy.c (TEST_NAME): Likewise.
14168 * string/test-strcspn.c (TEST_NAME): Likewise.
14169 * string/test-strlen.c (TEST_NAME): Likewise.
14170 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14171 * string/test-strncmp.c (TEST_NAME): Likewise.
14172 * string/test-strncpy.c (TEST_NAME): Likewise.
14173 * string/test-strnlen.c (TEST_NAME): Likewise.
14174 * string/test-strpbrk.c (TEST_NAME): Likewise.
14175 * string/test-strrchr.c (TEST_NAME): Likewise.
14176 * string/test-strspn.c (TEST_NAME): Likewise.
14177 * string/test-strstr.c (TEST_NAME): Likewise.
14178 * string/test-bcopy-ifunc.c: New file.
14179 * string/test-bzero-ifunc.c: Likewise.
14180 * string/test-memccpy-ifunc.c: Likewise.
14181 * string/test-memchr-ifunc.c: Likewise.
14182 * string/test-memcmp-ifunc.c: Likewise.
14183 * string/test-memcpy-ifunc.c: Likewise.
14184 * string/test-memmem-ifunc.c: Likewise.
14185 * string/test-memmove-ifunc.c: Likewise.
14186 * string/test-mempcpy-ifunc.c: Likewise.
14187 * string/test-memset-ifunc.c: Likewise.
14188 * string/test-rawmemchr-ifunc.c: Likewise.
14189 * string/test-stpcpy-ifunc.c: Likewise.
14190 * string/test-stpncpy-ifunc.c: Likewise.
14191 * string/test-strcasecmp-ifunc.c: Likewise.
14192 * string/test-strcasestr-ifunc.c: Likewise.
14193 * string/test-strcat-ifunc.c: Likewise.
14194 * string/test-strchr-ifunc.c: Likewise.
14195 * string/test-strchrnul-ifunc.c: Likewise.
14196 * string/test-strcmp-ifunc.c: Likewise.
14197 * string/test-strcpy-ifunc.c: Likewise.
14198 * string/test-strcspn-ifunc.c: Likewise.
14199 * string/test-strlen-ifunc.c: Likewise.
14200 * string/test-strncasecmp-ifunc.c: Likewise.
14201 * string/test-strncat-ifunc.c: Likewise.
14202 * string/test-strncmp-ifunc.c: Likewise.
14203 * string/test-strncpy-ifunc.c: Likewise.
14204 * string/test-strnlen-ifunc.c: Likewise.
14205 * string/test-strpbrk-ifunc.c: Likewise.
14206 * string/test-strrchr-ifunc.c: Likewise.
14207 * string/test-strspn-ifunc.c: Likewise.
14208 * string/test-strstr-ifunc.c: Likewise.
14209
de54b33a
L
14210 * debug/Makefile (tests-ifunc): New variable.
14211 (tests): Add $(tests-ifunc).
14212 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14213 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14214 * debug/test-stpcpy_chk-ifunc.c: New file.
14215 * debug/test-strcpy_chk-ifunc.c: Likewise.
14216
88481c16
SP
142172012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14218
14219 [BZ #13601]
14220 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14221 header is not read in.
14222
135948bd
JM
142232012-10-19 Joseph Myers <joseph@codesourcery.com>
14224
89f1c388
JM
14225 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14226 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14227 directly. Pass built executable to script as
14228 $(built-program-cmd).
14229 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14230 $testprogram without using LD_LIBRARY_PATH and $ldso.
14231
e40a0d21
JM
14232 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14233 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14234 $(rtld-installed-name).
14235 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14236 (rtld_installed_name): Likewise.
14237 (library_path): Likewise.
14238 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14239 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14240 $(run-program-prefix) to tst-tables.sh.
14241 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14242 it to run tst-table-from and tst-table-to.
14243 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14244 Pass it to tst-table.sh.
14245 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14246 $(run-program-prefix) to tst-gettext.sh.
14247 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14248 tst-translit.sh.
14249 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14250 tst-gettext2.sh.
14251 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14252 to run tst-gettext.
14253 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14254 to run tst-gettext2.
14255 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14256 to run tst-translit.
14257 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14258 $(run-program-prefix) to tst-mtrace.sh.
14259 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14260 to run tst-mtrace.
14261 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14262 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14263 $(rtld-installed-name).
14264 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14265 (rtld_installed_name): Likewise.
14266 (run_program_prefix): New variable. Use it to run wordexp-test.
14267
728e272a
JM
14268 * Makeconfig (ARCH): Remove all definitions.
14269 (machine): Likewise.
14270 [ARCH]: Remove conditional code.
14271 [!objdir]: Give error.
14272 [!objdir] (objpfx): Remove.
14273 [!objdir] (common-objpfx): Likewise.
14274 [!objdir] (common-objdir): Likewise.
14275 * configure.in (config_makefile): Remove. Hardcode Makefile in
14276 AC_CONFIG_FILES call.
14277 * configure: Regenerated.
14278
d528cdcf
JM
14279 [BZ #13888]
14280 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14281 or TMPDIR.
14282 (testout): Likewise.
14283
135948bd
JM
14284 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14285 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14286 $(rtld-installed-name).
14287 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14288 (rtld_installed_name): Likwise.
14289 (runit): Remove function.
14290 (run_getconf): New variable, Use it for running getconf binary.
14291
38c78296
L
142922012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14293
14294 [BZ #14716]
14295 * string/test-memmem.c (check_result): New function.
14296 (do_one_test): Use it.
14297 (check1): New function.
14298 (test_main): Use it.
14299
d077f65f
MT
143002012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14301
14302 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14303
ced52c71
JM
143042012-10-18 Joseph Myers <joseph@codesourcery.com>
14305
14306 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14307 (_G_LSEEK64): Likewise.
14308 (_G_MMAP64): Likewise.
14309 (_G_FSTAT64): Likewise.
14310 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14311 (_G_LSEEK64): Likewise.
14312 (_G_MMAP64): Likewise.
14313 (_G_FSTAT64): Likewise.
14314 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14315 unconditional. Call __mmap64 directly.
14316 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14317 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14318 __lseek64 directly.
14319 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14320 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14321 __mmap64 directly.
14322 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14323 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14324 __lseek64 directly.
14325 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14326 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14327 __lseek64 directly.
14328 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14329 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14330 __lseek64 directly.
14331 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14332 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14333 __fxstat64 directly.
14334 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14335 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14336 unconditional.
14337 (freopen64) [!_G_OPEN64]: Remove conditional code.
14338 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14339 unconditional.
14340 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14341 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14342 unconditional.
14343 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14344 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14345 unconditional.
14346 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14347 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14348 unconditional.
14349 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14350 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14351 unconditional.
14352 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14353 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14354 unconditional.
14355 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14356 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14357 unconditional.
14358 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14359
b741de23
SP
143602012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14361
14362 [BZ #12140]
14363 * manual/memory.texi (Malloc Tunable Parameters): Add note
14364 about free list pointers overwriting some perturb bytes.
14365 Wording suggested by Roland McGrath.
14366
f9b9d9c9
JM
143672012-10-17 Joseph Myers <joseph@codesourcery.com>
14368
14369 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14370 (lgamma_test): Likewise.
14371 (tgamma_test): Likewise.
14372
172a631a
FW
143732012-10-16 Florian Weimer <fweimer@redhat.com>
14374
14375 [BZ #14700]
14376 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14377 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14378
e9f37252
MK
143792012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14380
14381 * NEWS: Mention BZ #14716.
14382 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14383 when removing AVAILABLE1_USES_J macro.
14384
d394eb74
L
143852012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14386
14387 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14388 (__bswap_64): __uint64_t for unsigned 64-bit int.
14389
ca38dc17
AS
143902012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14391
14392 * include/string.h (memmem): Declare libc hidden alias.
14393 * string/memmem.c (memmem): Define libc hidden alias.
14394 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14395 __read, __close instead of open, read, close.
14396
9a387d1f
L
143972012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14398
ac49ecaf
L
14399 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14400 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14401 global and hidden.
14402 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14403 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14404 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14405 Likewise.
14406 (__rawmemchr_sse2): Likewise.
14407 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14408 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14409 (__strchr_sse2): Likewise.
14410 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14411 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14412 (__strcasecmp_sse2): Likewise.
14413 (__strncasecmp_sse2): Likewise.
14414 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14415 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14416 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14417 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14418 (__strrchr_sse2): Likewise.
14419 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14420 ifunc-impl-list.c.
14421 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14422 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14423 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14424 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14425 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14426 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14427 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14428 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14429 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14430 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14431 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14432 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14433 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14434 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14435 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14436 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14437 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14438 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14439 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14440 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14441 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14442 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14443 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14444 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14445 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14446 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14447 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14448 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14449 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14450 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14451
b090e8ea
L
14452 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14453 global and hidden.
14454 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14455 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14456 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14457 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14458 Likewise.
14459 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14460 Likewise.
14461 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14462 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14463 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14464 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14465 ifunc-impl-list.c.
14466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14467 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14468 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14469 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14470 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14471 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14472 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14473 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14474 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14475 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14476 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14477 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14478 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14479 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14480 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14481 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14482 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14483 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14484 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14485 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14486 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14487 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14488 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14489 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14490 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14491 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14492 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14493 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14494 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14495 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14496 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14497 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14498 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14499 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14500 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14501 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14502 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14503 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14504 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14505 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14506 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14507
11dd4af6
L
14508 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14509 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14510 * include/ifunc-impl-list.h: New file.
14511 * misc/ifunc-impl-list.c: Likewise.
14512 * misc/Makefile (routines): Add ifunc-impl-list.
14513 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14514 * string/test-string.h: Include <ifunc-impl-list.h>.
14515 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14516 impl_array): New variables.
14517 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14518 are defined.
14519 (test_init): Call __libc_ifunc_impl_list to initialize
14520 func_list if TEST_IFUNC and TEST_NAME are defined.
14521
9a387d1f
L
14522 * string/Makefile (strop-tests): Add bcopy and bzero.
14523 * string/test-bcopy.c: New file.
14524 * string/test-bzero.c: Likewise.
14525 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14526 defined.
14527 * string/test-memset.c: Support bzero test if TEST_BZERO is
14528 defined.
14529 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14530 __libc_memmove.
14531 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14532 __libc_memset.
14533 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14534 of memset.
14535
472371b9
JM
145362012-10-10 Joseph Myers <joseph@codesourcery.com>
14537
1e4a9536
JM
14538 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14539 * configure: Regenerated.
14540
d173d12e
JM
14541 * Makeconfig (+link-static-before-libc): Don't include
14542 $(link-static-libc).
14543
472371b9
JM
14544 * libio/libio.h (_IO_pos_t): Remove.
14545
89a3ad0b
AO
145462012-10-10 Alexandre Oliva <aoliva@redhat.com>
14547
14548 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14549 McGrath.
14550
e7451425
AO
145512012-10-10 Alexandre Oliva <aoliva@redhat.com>
14552
14553 * crypt/crypt-entry.c: Include fips-private.h.
14554 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14555 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14556 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14557 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14558
4ba74a35
AO
145592012-10-10 Alexandre Oliva <aoliva@redhat.com>
14560
14561 * crypt/crypt-private.h: Include stdbool.h.
14562 (_ufc_setup_salt_r): Return bool.
14563 * crypt/crypt-entry.c: Include errno.h.
14564 (__crypt_r): Return NULL with EINVAL for bad salt.
14565 * crypt/crypt_util.c (bad_for_salt): New.
14566 (_ufc_setup_salt_r): Check that salt is long enough and within
14567 the specified alphabet.
14568 * crypt/badsalttest.c: New file.
14569 * crypt/Makefile (tests): Add it.
14570 ($(objpfx)badsalttest): New.
14571
f96f1242
MK
145722012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14573
14574 * NEWS: Add entry for BZ #14602.
14575
0e8e0c1c
JM
145762012-10-09 Joseph Myers <joseph@codesourcery.com>
14577
14578 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14579 type-generic.
14580 * math/libm-test.inc: Update comment listing what functions and
14581 macros are tested.
14582 (isgreater_test): New function.
14583 (isgreaterequal_test): Likewise.
14584 (isless_test): Likewise.
14585 (islessequal_test): Likewise.
14586 (islessgreater_test): Likewise.
14587 (isunordered_test): Likewise.
14588 (main): Call the new functions.
14589
273edc5e
RM
145902012-10-09 Roland McGrath <roland@hack.frob.com>
14591
b8493de0
RM
14592 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14593 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14594 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14595 * sysdeps/i386/configure: Regenerated.
14596 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14597 * sysdeps/mach/configure: Regenerated.
14598 * sysdeps/mach/hurd/configure: Regenerated.
14599 * sysdeps/powerpc/configure: Regenerated.
14600 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14601 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14602 * sysdeps/s390/s390-32/configure: Regenerated.
14603 * sysdeps/s390/s390-64/configure: Regenerated.
14604 * sysdeps/sh/configure: Regenerated.
14605 * sysdeps/sparc/configure: Regenerated.
14606 * sysdeps/unix/sysv/linux/configure: Regenerated.
14607 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14608 * sysdeps/x86_64/configure: Regenerated.
14609
273edc5e
RM
14610 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14611 defined. Don't check if MAP is NULL.
14612
c8450f70
JM
146132012-10-09 Joseph Myers <joseph@codesourcery.com>
14614
14615 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14616 (_G_stat64): Likewise.
14617 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14618 (_G_stat64): Likewise.
14619 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14620 instead of struct _G_stat64.
14621 * libio/fileops.c (mmap_remap_check): Likewise.
14622 (decide_maybe_mmap): Likewise.
14623 (_IO_new_file_seekoff): Likewise.
14624 (_IO_file_stat): Likewise.
14625 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14626 _G_off64_t.
14627 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14628 instead of struct _G_stat64.
14629 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14630
57e605ba
MK
146312012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14632
14633 [BZ #14602]
14634 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14635 Replace with ...
14636 (CHECK_EOL): New macro.
14637 (two_way_short_needle): Check beginning of haystack for EOL. Use
14638 CHECK_EOL.
14639 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14640 Replace with CHECK_EOL.
14641 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14642 Replace with CHECK_EOL.
14643
ef1bb361
JM
146442012-10-08 Joseph Myers <joseph@codesourcery.com>
14645
14646 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14647 type-generic.
14648 * math/libm-test.inc: Update comment listing what functions and
14649 macros are tested.
14650 (finite_test): New function.
14651 (isinf_test): Likewise.
14652 (isnan_test): Likewise.
14653 (fpclassify_test): Test subnormal input.
14654 (isfinite_test): Likewise.
14655 (isnormal_test): Likewise.
14656 (main): Call the new functions.
14657
55f11534
JN
146582012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14659
14660 [BZ #14660]
14661 * Makerules (%.dynsym): Force C locale when running
14662 $(OBJDUMP) --dynamic-syms.
14663
1ab29350
AS
146642012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14665
14666 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14667 <stdint.h>.
14668
f1ecb7ef
DM
146692012-10-06 David S. Miller <davem@davemloft.net>
14670
14671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14672 upper 32-bits of the length value in %o2 since we use branch-on-register
14673 tests which consider the entire 64-bit register.
14674
5d41d91a
L
146752012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14676
14677 * string/test-strstr.c (check2): Add a test for page boundary.
14678
3baddb72
DM
146792012-10-05 David S. Miller <davem@davemloft.net>
14680
14681 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14682 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14683 file.
14684 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14685 sysdep_routines.
14686 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14687 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14688 and bzero when HWCAP_SPARC_CRYPTO is present.
14689
9cee5585
L
146902012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14691
d7e0dab9
L
14692 [BZ #14602]
14693 * string/test-strstr.c (check2): New function.
14694 (test_main): Call check2.
14695
03759f47
L
14696 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14697 and bug-strchr1.
14698 * string/bug-strcasestr1.c (do_test): Moved to ...
14699 * string/test-strcasestr.c (check1): Here. New function.
14700 (do_one_test): Break out result checking code into ...
14701 (check_result): This. New function.
14702 (do_one_test): Call check_result.
14703 (test_main): Call check1.
14704 * string/bug-strchr1.c (do_test): Moved to ...
14705 * string/test-strchr.c (check1): Here. New function.
14706 (do_one_test): Break out result checking code into ...
14707 (check_result): This. New function.
14708 (do_one_test): Call check_result.
14709 (test_main): Call check1.
14710 * string/bug-strstr1.c (main): Moved to ...
046f153e 14711 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14712 (do_one_test): Break out result checking code into ...
14713 (check_result): This. New function.
14714 (do_one_test): Call check_result.
14715 (test_main): Call check1.
14716 * string/bug-strcasestr1.c: Removed.
14717 * string/bug-strchr1.c: Likewise.
14718 * string/bug-strstr1.c: Likewise.
14719
53cea63e
L
14720 * elf/Makefile (dl-routines): Add hwcaps.
14721 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14722 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14723 (_dl_important_hwcaps): Moved to ...
14724 * elf/dl-hwcaps.c: Here. New file.
14725 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14726
9cee5585 14727 [BZ #14557]
bb859b06
L
14728 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14729 if IS_IN_rtld isn't defined.
14730
9cee5585
L
14731 * elf/dl-support.c (_dl_sysinfo_map): New.
14732 Include "get-dynamic-info.h" and "setup-vdso.h".
14733 (_dl_non_dynamic_init): Call setup_vdso.
14734 * elf/dynamic-link.h: Don't include <assert.h>.
14735 (elf_get_dynamic_info): Moved to ...
14736 * elf/get-dynamic-info.h: Here. New file.
14737 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14738 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14739 * elf/setup-vdso.h: Here. New file.
14740 * elf/rtld.c: Include "setup-vdso.h".
14741 (dl_main): Call setup_vdso.
14742
23c31b76
JM
147432012-10-05 Joseph Myers <joseph@codesourcery.com>
14744
28234b07
JM
14745 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14746 creal in comment listing functions tested. List finite, isinf,
14747 isnan, isless, islessequal, isgreater, isgreaterequal,
14748 islessgreater, isunordered, lgamma_r and pow10 as functions and
14749 macros not tested. Mention which functions not tested are aliases
14750 for other functions. Fix typo. Note that signs of NaNs are not
14751 tested.
14752
23c31b76
JM
14753 * scripts/config.guess: Update from config.git.
14754 * scripts/config.sub: Likewise.
14755
9043e228
RM
147562012-10-04 Roland McGrath <roland@hack.frob.com>
14757
14758 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14759 * misc/madvise.c (madvise): Renamed to __madvise.
14760 Make madvise a weak alias.
14761 * include/sys/mman.h: Declare __madvise.
14762 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14763 * sysdeps/unix/syscalls.list
14764 (madvise): Make __madvise the strong name, and madvise a weak alias.
14765 * sysdeps/unix/sysv/linux/syscalls.list
14766 (madvise, mmap): Remove redundant entries.
14767 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14768 * malloc/malloc.c (mtrim): Likewise.
14769 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14770
f57f8055
RM
147712012-10-03 Roland McGrath <roland@hack.frob.com>
14772
14773 * sysdeps/mach/hurd/dl-cache.c: File removed.
14774 * config.h.in (USE_LDCONFIG): New #undef.
14775 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14776 * configure: Regenerated.
14777 * elf/Makefile (dl-routines): Add dl-cache only under
14778 [$(use-ldconfig) = yes].
14779 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14780 cache on [USE_LDCONFIG].
14781 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14782 [USE_LDCONFIG].
14783 * elf/rtld.c (dl_main): Likewise.
14784
5bb0c10a
PT
147852012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14786
14787 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14788 _SC_LEVEL4_CACHE_LINESIZE.
14789
010188c6
RM
147902012-10-03 Roland McGrath <roland@hack.frob.com>
14791
14792 * sysdeps/unix/bsd/confstr.h: File removed.
14793
b6c5ec07
AO
147942012-10-02 Alexandre Oliva <aoliva@redhat.com>
14795
14796 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14797 sys/sdt-config.h.
14798
408223d4
RM
147992012-10-02 Roland McGrath <roland@hack.frob.com>
14800
14801 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14802 Make 'mapoff' field ElfW(Off) rather than off_t.
14803
bb9510dc
DL
148042012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14805
fc997c6e
DL
14806 * nscd/Makefile: Remove nscd-cflags and all its users.
14807 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14808 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14809
bb9510dc
DL
14810 [BZ #10631]
14811 * malloc.c (malloc_printerr): Clarify error message.
14812
05699367
L
148132012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14814
14815 [BZ #14648]
14816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14817 Set bit_FMA_Usable if FMA is supported.
14818 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14819 macro.
14820 (bit_FMA4_Usable): Updated.
14821 (index_FMA_Usable): New macro.
14822 (CPUID_FMA): Likewise
14823 (HAS_FMA): Defined with bit_FMA_Usable.
14824
51367701
RM
148252012-10-01 Roland McGrath <roland@hack.frob.com>
14826
14827 * bits/types.h (__swblk_t): Type removed.
14828 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14829 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14831 (__SWBLK_T_TYPE): Likewise.
14832 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14833 (__SWBLK_T_TYPE): Likewise.
14834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14835 (__SWBLK_T_TYPE): Likewise.
14836 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14837 (__SWBLK_T_TYPE): Likewise.
14838
4d57bf63 148392012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14840 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14841
14842 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14843 (xdr_mapname): Use YPMAXMAP as maxsize.
14844 (xdr_peername): Use YPMAXPEER as maxsize.
14845 (xdr_keydat): Use YPAXRECORD as maxsize.
14846 (xdr_valdat): Use YPMAXRECORD as maxsize.
14847
93c65d43
RM
148482012-10-01 Roland McGrath <roland@hack.frob.com>
14849
497a03d6
RM
14850 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14851
93c65d43
RM
14852 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14853 * csu/init-first.c: ... here.
14854 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14855 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14856 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14857 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14858 * sysdeps/i386/init-first.c: File removed.
14859 * sysdeps/sh/init-first.c: File removed.
14860
bec749fd
JM
148612012-10-01 Joseph Myers <joseph@codesourcery.com>
14862
14863 [BZ #14645]
14864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14865 if x * y might underflow to zero and z is zero.
14866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14868 * math/libm-test.inc (min_subnorm_value): New variable.
14869 (fma_test): Add more tests.
14870 (fma_test_towardzero): Likewise.
14871 (fma_test_downward): Likewise
14872 (fma_test_upward): Likewise.
14873 (initialize): Set min_subnorm_value.
14874
8ec5b013
JM
148752012-09-29 Joseph Myers <joseph@codesourcery.com>
14876
14877 [BZ #14638]
14878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14879 0 + 0.
14880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14881 mode for addition resulting in exact zero.
14882 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14884 exact 0 + 0.
14885 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14887 * math/libm-test.inc (fma_test): Add more tests.
14888 (fma_test_towardzero): New function.
14889 (fma_test_downward): Likewise.
14890 (fma_test_upward): Likewise.
14891 (main): Call the new functions.
14892
b1fa802e
DM
148932012-09-28 David S. Miller <davem@davemloft.net>
14894
14895 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14896
d3b9fd9e
RM
148972012-09-28 Roland McGrath <roland@hack.frob.com>
14898
ea4d37b3
RM
14899 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14900 instead of SIGALRM.
14901
ac51c949
RM
14902 * sysdeps/gnu/_G_config.h: Moved to ...
14903 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14904 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14905 * sysdeps/generic/_G_config.h: ... here.
14906
28c195f7
RM
14907 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14908
848917f9
RM
14909 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14910
6bacf05b
RM
14911 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14912 Conditionalize target on [libnss_test1.so-version].
14913
91363dbb
RM
14914 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14915
cc87f7d8
RM
14916 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14917 (elfobjdir): Move out of conditionals.
14918
b1c608fe
RM
14919 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14920 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14921 (__nss_lookup_function): Conditionalize label remove_from_tree on
14922 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14923
1d9a6d96
DM
149242012-09-28 David S. Miller <davem@davemloft.net>
14925
14926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14927 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14928 file.
14929 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14930 sysdep_routines.
14931 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14933 when HWCAP_SPARC_CRYPTO is present.
14934
72581615
PT
149352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14936
14937 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14938
715a900c
JL
149392012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14940
14941 [BZ #6530]
14942 * stdio-common/vfprintf.c (process_string_arg): Revert
14943 2000-07-22 change.
14944
149452011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14946
14947 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14948 for testcase.
14949 * stdio-common/tst-sprintf.c: Include <locale.h>
14950 (main): Test sprintf's handling of incomplete multibyte
14951 characters.
14952
9bac1d86
L
149532012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14954
14955 * elf/dl-runtime.c (VERSYMIDX): Removed.
14956 * elf/dl-version.c (VERSYMIDX): Likewise.
14957 * elf/do-rel.h (VERSYMIDX): Likewise.
14958 (VALIDX): Likewise.
14959 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14960 * elf/rtld.c (VALIDX): Likewise.
14961 (ADDRIDX): Likewise.
9bac1d86
L
14962 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14963 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14964 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14965 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14966 (VALIDX): Likewise.
14967 (ADDRIDX): Likewise.
9bac1d86 14968
b31606c0
PT
149692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14970
14971 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14972
11541177
JL
149732012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14974
14975 [BZ #11438]
14976 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14977 to global scope.
14978 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14979 addresses are in the same scope as 192.0.2/24.
14980 * posix/gai.conf: Document new scope table defaults.
14981
adb26fae
SP
149822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14983
14984 [BZ #5298]
14985 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14986 for ftell. Compute offsets from write pointers instead.
14987 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14988
4573c6b0
SP
149892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14990
14991 [BZ #14543]
14992 * libio/Makefile (tests): New test case tst-fseek.
14993 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14994 combination works in wide mode.
14995 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14996 state when the external buffer state changes.
14997
aa9bbfe6
DM
149982012-09-27 David S. Miller <davem@davemloft.net>
14999
15000 [BZ #14376]
15001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15002 pass reloc->r_addend in as the 'high' argument to
15003 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15004
784421e7
DM
15005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15006
c39bc8b8
PT
150072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15008
15009 * rt/tst-aio2.c: Include <pthread.h>.
15010 * rt/tst-aio3.c: Likewise.
15011
1ccc2399
SE
150122012-09-27 Steve Ellcey <sellcey@mips.com>
15013
15014 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15015
31ed4153
L
150162012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15017
25f5f885
L
15018 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15019 contents on [SHARED].
31ed4153 15020
b7bfe116
MP
150212012-09-26 Marek Polacek <polacek@redhat.com>
15022
15023 [BZ #14530]
15024 [BZ #13741]
15025 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15026 for C++ and GCC <4.3 as well as for non GCC compilers.
15027
43c4edba
MT
150282012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15029
15030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15031
6a1bf82f
RM
150322012-09-25 Roland McGrath <roland@hack.frob.com>
15033
15034 * Makefile.in (all, install): Declare with .PHONY.
15035 Reported by Michael Hope <michael.hope@linaro.org>.
15036
8ad11b9a
TMQMF
150372012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15038
15039 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15040 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15041 system header.
15042 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15043 Likewise.
15044 (sydep_routines): Add the new and the internal functions.
15045 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15046 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15048 (GLIBC_2.17): Add the new function.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15050 (GLIBC_2.17): Likewise.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15052 (GLIBC_2.17): Likewise.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15054 (GLIBC_2.17): Likewise.
15055 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15056
7e2fca8d
AM
150572012-09-25 Alan Modra <amodra@gmail.com>
15058
15059 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15060 Add release barrier before setting once_control to say
15061 initialisation is done. Add hints on lwarx. Use macro in
15062 place of isync.
15063 (clear_once_control): Add release barrier.
15064
b87c4b24
JM
150652012-09-25 Joseph Myers <joseph@codesourcery.com>
15066
d032e0d2
JM
15067 [BZ #13629]
15068 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15069 specially.
15070 * math/s_clog10.c (__clog10): Likewise.
15071 * math/s_clog10f.c (__clog10f): Likewise.
15072 * math/s_clog10l.c (__clog10l): Likewise.
15073 * math/s_clogf.c (__clogf): Likewise.
15074 * math/s_clogl.c (__clogl): Likewise.
15075 * math/Makefile (libm-calls): Add x2y2m1.
15076 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15077 (__x2y2m1): Likewise.
15078 (__x2y2m1l): Likewise.
15079 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15080 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15081 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15082 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15083 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15084 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15085 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15086 * sysdeps/i386/fpu/libm-test-ulps: Update.
15087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15088
b87c4b24
JM
15089 [BZ #14621]
15090 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15091 int as type of variable DEPTH.
15092 (glob): Use size_t instead of int as type of variables NEWCOUNT
15093 and OLD_PATHC.
15094
6d3bf199
LD
150952012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15096
22bf5c17
LD
15097 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15098 Add s_sincosf-sse2.
15099 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15100 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15101 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15102 macros for using routine as __sincosf_ia32.
15103 Use macro for function declaration and weak_alias.
15104 * sysdeps/i386/fpu/libm-test-ulps: Update.
15105
15106 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15108
15109 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15110 subnormal argument.
15111 * math/s_cexpf.c (__cexpf): Likewise.
15112 * math/s_csinf.c (__csinf): Likewise.
15113 * math/s_csinhf.c (__csinhf): Likewise.
15114 * math/s_ctanf.c (__ctanf): Likewise.
15115 * math/s_ctanhf.c (__ctanhf): Likewise.
15116 * math/s_ccosh.c (__ccoshf): Likewise.
15117 * math/s_cexp.c (__cexpl): Likewise.
15118 * math/s_csin.c (__csin): Likewise.
15119 * math/s_csinh.c (__csinh): Likewise.
15120 * math/s_ctan.c (__ctan): Likewise.
15121 * math/s_ctanh.c (ctanh): Likewise.
15122 * math/s_ccoshl.c (__ccoshl): Likewise.
15123 * math/s_cexpl.c (__cexpl): Likewise.
15124 * math/s_csinl.c (__csinl): Likewise.
15125 * math/s_csinhl.c (__csinhl): Likewise.
15126 * math/s_ctanl.c (__ctanl): Likewise.
15127 * math/s_ctanhl.c (__ctanhl): Likewise.
15128
203e5603
JM
151292012-09-25 Joseph Myers <joseph@codesourcery.com>
15130
15131 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15132 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15133 (_IO_off_t): Define to __off_t, not _G_off_t.
15134 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15135 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15136 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15137 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15138 type of __dummy and __dummy2 fields.
15139 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15140 (_G_ssize_t): Likewise.
15141 (_G_off_t): Likewise.
15142 (_G_pid_t): Likewise.
15143 (_G_uid_t): Likewise.
15144 (_G_wchar_t): Likewise.
15145 (_G_wint_t): Likewise.
15146 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15147 (_G_ssize_t): Likewise.
15148 (_G_off_t): Likewise.
15149 (_G_pid_t): Likewise.
15150 (_G_uid_t): Likewise.
15151 (_G_wchar_t): Likewise.
15152 (_G_wint_t): Likewise.
15153 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15154 (_G_ssize_t): Likewise.
15155 (_G_off_t): Likewise.
15156 (_G_pid_t): Likewise.
15157 (_G_uid_t): Likewise.
15158 (_G_wchar_t): Likewise.
15159 (_G_wint_t): Likewise.
15160
9fab36eb
SP
151612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15162
15163 * malloc/arena.c: Include malloc-sysdep.h.
15164 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15165 is sufficient to shrink the heap or an unmap is needed.
15166 * sysdeps/generic/malloc-sysdep.h: New file. Define
15167 new function check_may_shrink_heap.
15168 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15169 new function check_may_shrink_heap.
15170
2b4f00d1
SP
151712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15172
15173 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15174 comments.
15175
9a9028b1
DL
151762012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15177
57c69bef
DL
15178 * catgets/test-gencat.sh: Add "set -e".
15179 * elf/tst-pathopt.sh: Likewise.
15180 * grp/tst_fgetgrent.sh: Likewise.
15181 * iconvdata/run-iconv-test.sh: Likewise.
15182 * intl/tst-gettext.sh: Likewise.
15183 * intl/tst-gettext2.sh: Likewise.
15184 * intl/tst-gettext4.sh: Likewise.
15185 * intl/tst-gettext6.sh: Likewise.
15186 * intl/tst-translit.sh: Likewise.
15187 * io/ftwtest-sh: Likewise.
15188 * libio/test-freopen.sh: Likewise.
15189 * malloc/tst-mtrace.sh: Likewise.
15190 * posix/globtest.sh: Likewise.
15191 * posix/tst-getconf.sh: Likewise.
15192 * posix/wordexp-tst.sh: Likewise.
15193 * stdio-common/tst-printf.sh: Likewise.
15194 * stdio-common/tst-unbputc.sh: Likewise.
15195 * stdlib/tst-fmtmsg.sh: Likewise.
15196 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15197 * catgets/Makefile: Do not specify -e option when running
15198 testsuite shell scripts.
15199 * elf/Makefile: Likewise.
15200 * grp/Makefile: Likewise.
15201 * iconvdata/Makefile: Likewise.
15202 * intl/Makefile: Likewise.
15203 * io/Makefile: Likewise.
15204 * libio/Makefile: Likewise.
15205 * malloc/Makefile: Likewise.
15206 * posix/Makefile: Likewise.
15207 * stdio-common/Makefile: Likewise.
15208 * stdlib/Makefile: Likewise.
15209 * sysdeps/x86_64/Makefile: Likewise.
15210
9a9028b1
DL
15211 * io/ftwtest-sh: Add copyright header.
15212 * posix/globtest.sh: Likewise.
15213 * posix/tst-getconf.sh: Likewise.
15214 * posix/wordexp-tst.sh: Likewise.
15215 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15216
ced6f16e
L
152172012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15218
94b32c39
L
15219 [BZ #13679]
15220 * Makeconfig (+link): Defined as $(+link-static) if
15221 $(build-shared) isn't yes.
15222 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15223 isn't yes.
15224 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15225
189e935b
L
15226 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15227
ced6f16e
L
15228 [BZ #14562]
15229 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15230 new chunk size with MALLOC_ALIGN_MASK.
15231
a9f8e53a
JM
152322012-09-24 Joseph Myers <joseph@codesourcery.com>
15233
15234 [BZ #5044]
15235 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15236 <rounding-mode.h>.
15237 (__printf_fphex): Determine rounding using get_rounding_mode and
15238 round_away.
15239 * stdio-common/tst-printf-round.c (struct hex_test): New
15240 structure.
15241 (hex_tests): New variable.
15242 (test_hex_in_one_mode): New function.
15243 (do_test): Also run tests for hex float output.
15244
43153109
JM
152452012-09-21 Joseph Myers <joseph@codesourcery.com>
15246
15247 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15248 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15249 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15250 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15251 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15252 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15253 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15254 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15255
8a26625d
JM
152562012-09-20 Joseph Myers <joseph@codesourcery.com>
15257
15258 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15259 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15260 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15261 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15262
f3fd569c
DL
152632012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15264
15265 [BZ #14579]
15266 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15267 mode only.
15268 * elf/tst-rtld-load-self.sh: New test.
15269 * elf/Makefile: Run it.
15270
63bbedd4
JM
152712012-09-18 Joseph Myers <joseph@codesourcery.com>
15272
15273 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15274 (tst-writev-ENV): Remove.
15275 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15276
626f8b6a
CM
152772012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15278
15279 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15280
b7aaa4d6
JM
152812012-09-17 Joseph Myers <joseph@codesourcery.com>
15282
15283 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15284 unconditional.
15285 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15286 Likewise.
15287 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15288 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15289 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15290 Likewise.
15291
65513990
L
152922012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15293
15294 [BZ #14587]
15295 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15296 * config.make.in (have-cpp-asm-debuginfo): Removed.
15297 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15298 * configure: Regenerated.
15299
784761be
JM
153002012-09-14 Joseph Myers <joseph@codesourcery.com>
15301
15302 [BZ #5044]
15303 * stdio-common/printf_fp.c: Include <stdbool.h> and
15304 <rounding-mode.h>.
15305 (___printf_fp): Determine rounding using get_rounding_mode and
15306 round_away.
15307 * stdio-common/tst-printf-round.c: New file.
15308 * stdio-common/Makefile (tests): Add tst-printf-round.
15309 (link-libm): New variable.
15310 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15311
9503345f
L
153122012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15313
15314 [BZ #14576]
15315 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15316 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15317 Likewise.
15318 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15319 Likewise.
15320
ad35fc00
JM
153212012-09-13 Joseph Myers <joseph@codesourcery.com>
15322
15323 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15324 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15325 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15326 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15327
6c9b0f68
JM
153282012-09-12 Joseph Myers <joseph@codesourcery.com>
15329
15330 [BZ #14518]
15331 * include/rounding-mode.h: New file.
15332 * sysdeps/generic/get-rounding-mode.h: Likewise.
15333 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15334 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15335 (MAX_VALUE): New macro.
15336 (MIN_VALUE): Likewise.
15337 (overflow_value): New function.
15338 (underflow_value): Likewise.
15339 (round_and_return): Use overflow_value and underflow_value to
15340 determine return values in overflow and underflow cases. Use
15341 round_away to determine rounding depending on rounding mode.
15342 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15343 determine return values in overflow and underflow cases.
15344 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15345 (struct test_results): New structure.
15346 (struct test): Use struct test_results to store expected results
15347 for all rounding modes.
15348 (TEST): Include expected results for all rounding modes.
15349 (test_in_one_mode): New function.
15350 (do_test): Use test_in_one_mode to compute and check results.
15351 Check results for all rounding modes.
15352 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15353 $(link-libm).
15354
19fcedd5
AM
153552012-12-09 Allan McRae <allan@archlinux.org>
15356
1e9d84cd 15357 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15358
8bbfd2f1
JM
153592012-09-11 Joseph Myers <joseph@codesourcery.com>
15360
15361 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15362 (_G_int32_t): Likewise.
15363 (_G_uint16_t): Likewise.
15364 (_G_uint32_t): Likewise.
15365 (_G_HAVE_BOOL): Likewise.
15366 (_G_HAVE_ATEXIT): Likewise.
15367 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15368 (_G_HAVE_IO_FILE_OPEN): Likewise.
15369 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15370 (_G_int32_t): Likewise.
15371 (_G_uint16_t): Likewise.
15372 (_G_uint32_t): Likewise.
15373 (_G_HAVE_BOOL): Likewise.
15374 (_G_HAVE_ATEXIT): Likewise.
15375 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15376 (_G_HAVE_IO_FILE_OPEN): Likewise.
15377 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15378 (_G_int32_t): Likewise.
15379 (_G_uint16_t): Likewise.
15380 (_G_uint32_t): Likewise.
15381 (_G_HAVE_BOOL): Likewise.
15382 (_G_HAVE_ATEXIT): Likewise.
15383 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15384 (_G_HAVE_IO_FILE_OPEN): Likewise.
15385
b1dc5912
L
153862012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15387
15388 * csu/libc-tls.c: Update copyright years.
15389
0e886ef9
JM
153902012-09-10 Joseph Myers <joseph@codesourcery.com>
15391
28361c5e
JM
15392 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15393 [!_G_USING_THUNKS]: Remove conditional code.
15394 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15395 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15396
0e886ef9
JM
15397 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15398 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15399 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15400 (_G_VTABLE_LABEL_PREFIX): Likewise.
15401 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15402 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15403 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15404 (_G_VTABLE_LABEL_PREFIX): Likewise.
15405 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15406 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15407 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15408 (_G_VTABLE_LABEL_PREFIX): Likewise.
15409 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15410
bcba7aa2
L
154112012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15412
15413 * libio/Makefile: Include ../Makeconfig before tests.
15414 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15415 only if $(build-shared) is yes.
15416
06585ee8
L
15417 * iconv/gconv_db.c: Update copyright years.
15418
80ccd52c
LD
154192012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15420
15421 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15422 unwind info if defined PIC. Fix special cases description.
15423 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15424
15425 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15426 DP_HI_MASK entry.
15427 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15428
691bc9c1
L
154292012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15430
3d9b46b3
L
15431 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15432
de2139a9
L
15433 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15434 is NULL.
15435
5ca78dd0
L
15436 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15437 (LDLIBS-tst-chk4): This.
15438 (LDFLAGS-tst-chk5): Renamed to ...
15439 (LDLIBS-tst-chk5): This.
15440 (LDFLAGS-tst-chk6): Renamed to ...
15441 (LDLIBS-tst-chk6): This.
15442 (LDFLAGS-tst-lfschk4): Renamed to ...
15443 (LDLIBS-tst-lfschk4): This.
15444 (LDFLAGS-tst-lfschk5): Renamed to ...
15445 (LDLIBS-tst-lfschk5): This.
15446 (LDFLAGS-tst-lfschk6): Renamed to ...
15447 (LDLIBS-tst-lfschk6): This.
15448
691bc9c1
L
15449 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15450 on $(common-objpfx)soversions.mk.
15451
65cafb1c
JM
154522012-09-07 Joseph Myers <joseph@codesourcery.com>
15453
15454 [BZ #10014]
15455 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15456 example host name.
15457
c78ab094
SP
154582012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15459
15460 * malloc/arena.c (arena_get_retry): New function that gets
15461 another arena for the caller to try its request on.
15462 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15463 current arena cannot fulfill the request.
15464 (__libc_memalign): Likewise.
15465 (__libc_memalign): Likewise.
15466 (__libc_pvalloc): Likewise.
15467 (__libc_calloc): Likewise.
15468
01f49f59
JT
154692012-09-05 John Tobey <john.tobey@gmail.com>
15470
15471 [BZ #13542]
15472 * manual/arith.texi (Operations on Complex): Fix description
15473 of carg branch cut.
15474
4c23fed5
JM
154752012-09-06 Joseph Myers <joseph@codesourcery.com>
15476
1d3c8572
JM
15477 [BZ #10014]
15478 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15479 host name.
15480
4c23fed5
JM
15481 [BZ #10038]
15482 * manual/memory.texi (Memory): Make order of menu items match
15483 order of sections.
15484
04570aaa
L
154852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15486
15487 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15488 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15489 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15490
b80af2f4
L
154912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15492
15493 * csu/libc-tls.c (static_dtv): Renamed to ...
15494 (_dl_static_dtv): This. Make it global.
15495 (_dl_initial_dtv): Removed.
15496 (__libc_setup_tls): Updated.
15497 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15498 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15499 DL_INITIAL_DTV.
15500
2abe9f15
PM
155012012-09-06 Petr Machata <pmachata@redhat.com>
15502
15503 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15504 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15505 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15506 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15507
0948c3af
L
155082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15509
15510 [BZ #14545]
15511 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15512 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15513 freeing dtv[-1].
15514
a5055ad1
L
155152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15516
15517 [BZ #14544]
15518 * Makeconfig (link-static-before-libc): Replace $(+prector)
15519 with $(+prectorT).
15520 (link-static-after-libc): Replace $(+postctor) with
15521 $(+postctorT).
15522 (link-bounded): Replace $(+prector)/$(+postctor) with
15523 $(+prectorT)/$(+postctorT).
15524 (+prectorT): New macro.
15525 (+postctorT): Likewise.
15526
ed8c2ecd
JM
155272012-09-06 Joseph Myers <joseph@codesourcery.com>
15528
15529 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15530 (round_str): Handle values above the maximum for IBM long double
15531 as inexact.
15532 * stdlib/tst-strtod-round.c (tests): Regenerated.
15533
14c996c8
AK
155342012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15535
15536 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15537 assembler flag.
15538 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15539 zarch_nohighgprs around the zarch optimized routines.
15540 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15541 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15542 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15543 for zarch.
15544
430d6ce6
DM
155452012-09-05 David S. Miller <davem@davemloft.net>
15546
15547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15548
ff04dda4
DM
15549 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15550 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15551 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15552 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15553 entries.
15554
24d4e01b
AO
155552012-09-05 Alexandre Oliva <aoliva@redhat.com>
15556
15557 * malloc/arena.c: Fold copyright years.
15558 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15559
61d58174
AO
155602012-09-05 Alexandre Oliva <aoliva@redhat.com>
15561
15562 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15563
20196a5e
AO
155642012-09-05 Alexandre Oliva <aoliva@redhat.com>
15565
15566 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15567
5c447383
AO
155682012-09-05 Alexandre Oliva <aoliva@redhat.com>
15569
15570 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15571 change internal state upon failure.
15572
fad64255
AO
155732012-09-05 Alexandre Oliva <aoliva@redhat.com>
15574
15575 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15576 * malloc/memusage.c (mmap): Likewise.
15577 (mmap64, mremap): Likewise. Adjust name in comment.
15578
1ffb8c90
SP
155792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15580
15581 * libio/fileops.c: Fix typos in comments.
15582 * libio/oldfileops.c: Likewise.
15583 * libio/wfileops.c: Likewise.
15584
6ef9cc37
SP
155852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15586
15587 [BZ #1349]
15588 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15589 (tst-malloc-usable-ENV): Set environment for test case.
15590 * malloc/hooks.c (malloc_check_get_size): New function to get
15591 requested size.
15592 * malloc/malloc.c (musable): Use malloc_check_get_size.
15593 * malloc/tst-malloc-usable.c: New test case.
15594
4d038ae3
AS
155952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15596
15597 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15598
c4e85184
AM
155992012-09-05 Allan McRae <allan@archlinux.org>
15600
b9dafc56 15601 [BZ #13966]
c4e85184
AM
15602 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15603 determine header location.
15604 * configure: Regenerated.
15605
e1343020
AS
156062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15607
15608 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15609 float format.
15610 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15611 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15612 format.
e1343020
AS
15613 (test): Regenerate.
15614
0a9f1987
DM
156152012-09-04 David S. Miller <davem@davemloft.net>
15616
15617 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15618 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15619 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15620
29237804
FW
156212012-09-04 Florian Weimer <fweimer@redhat.com>
15622
15623 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15624 failures.
15625
edb3cb88
FW
15626 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15627
60160d83
JM
156282012-09-04 Joseph Myers <joseph@codesourcery.com>
15629
15630 [BZ #9914]
15631 * libio/iogetdelim.c: Include <limits.h>.
15632 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15633 + len + 1 would overflow.
15634
bcd6c8dc
AJ
156352012-09-03 Andreas Jaeger <aj@suse.de>
15636
15637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15638 * sysdeps/i386/fpu/libm-test-ulps: Update.
15639
4ffffbd2
LD
156402012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15641
15642 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15643 Add s_sinf-sse2, s_conf-sse2.
15644
15645 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15646 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15647 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15648 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15649
15650 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15651 for using routine as __sinf_ia32.
15652 Use macro for function declaration and weak_alias.
15653 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15654 for using routine as __cosf_ia32.
15655 Use macro for function declaration and weak_alias.
15656
15657 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15658 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15659
15660 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15661 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15663
15664 * math/libm-test.inc (cos_test): Add more test cases.
15665 (sin_test): Likewise.
15666 (sincos_test): Likewise.
15667
511fa286
AK
156682012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15669
15670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15671 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15672 hidden.
15673 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15674
5f30cfec
L
156752012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15676
15677 [BZ #14538]
15678 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15679 first element of the GOT.
15680 (elf_machine_load_address): Return the difference between
15681 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15682
0786794f
AM
156832012-09-01 Allan McRae <allan@archlinux.org>
15684
5f30cfec
L
15685 [BZ #13412]
15686 * configure.in (AWK): Require gawk version 3.0 or later.
15687 * configure: Regenerated.
0786794f 15688
26889eac
JM
156892012-09-01 Joseph Myers <joseph@codesourcery.com>
15690
15691 * sysdeps/unix/sysv/linux/kernel-features.h
15692 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15694 [__NR_clock_getres]: Make code unconditional.
15695 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15696 (clock_getcpuclockid): Remove code left unreachable by removal of
15697 conditionals.
15698 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15699 code unconditional.
15700 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15701 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15702 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15703 Make code unconditional.
15704 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15705 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15706 * sysdeps/unix/sysv/linux/clock_settime.c
15707 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15708 conditional code.
15709 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15710 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15711
d22e28b0
L
157122012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15713
15714 [BZ #14476]
15715 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15716 scripts/test-installation.pl.
15717
15718 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15719 and $ld_so_version if it is set.
15720
050af9c4
SP
157212012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15722
15723 [BZ #14516]
15724 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15725 failure if reading from procfs failed.
15726 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15727
ad845c0b
JM
157282012-08-27 Joseph Myers <joseph@codesourcery.com>
15729
15730 * sysdeps/unix/sysv/linux/kernel-features.h
15731 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15732 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15733 Remove conditional code.
15734 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15735 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15736 Remove conditional code.
15737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15738 * sysdeps/unix/sysv/linux/i386/fxstat.c
15739 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15740 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15741 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15742 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15743 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15744 * sysdeps/unix/sysv/linux/i386/lxstat.c
15745 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15747 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15748 Remove conditional code.
15749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15750 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15751 Remove conditional code.
15752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15753 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15754 <kernel-features.h>.
15755 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15756 Remove.
15757 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15758 Remove conditional code.
15759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15760 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15761 Remove conditional.
15762
5dbf56af
MF
157632012-08-27 Mike Frysinger <vapier@gentoo.org>
15764
15765 [BZ #5400]
15766 * NEWS: Add fixed bug number.
15767
d6e70f43
JM
157682012-08-27 Joseph Myers <joseph@codesourcery.com>
15769
7efb4737
JM
15770 [BZ #14519]
15771 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15772 underflowing exponent in case of negative sign.
15773 * stdlib/tst-strtod-round-data: Add more tests.
15774 * stdlib/tst-strtod-round.c (tests): Regenerated.
15775
af92131a
JM
15776 [BZ #3479]
15777 * stdlib/strtod_l.c (NDIG): Remove.
15778 (HEXNDIG): Likewise.
15779 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15780 smallest representable value.
15781 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15782 lie within an exact representation of 1/2 ulp of the result.
15783 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15784 unconditionally.
15785 (TENS_P9_IDX): Define unconditionally.
15786 (TENS_P9_SIZE): Likewise.
15787 (TENS_P10_IDX): Likewise.
15788 (TENS_P10_SIZE): Likewise.
15789 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15790 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15791 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15792 entries for 10^2^13 and 10^2^14.
15793 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15794 (TENS_P13_IDX): Define.
15795 (TENS_P13_SIZE): Likewise.
15796 (TENS_P14_IDX): Likewise.
15797 (TENS_P14_SIZE): Likewise.
15798 (_fpioconst_pow10): Change array size to
15799 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15800 unconditional.
15801 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15802 1024]: Add entries for 10^2^13 and 10^2^14.
15803 [LAST_POW10 > _LAST_POW10]: Remove #error.
15804 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15805 (_fpioconst_pow10): Change array size to
15806 FPIOCONST_POW10_ARRAY_SIZE.
15807 * stdlib/gen-fpioconst.c: New file.
15808 * stdlib/gen-tst-strtod-round.c: Likewise.
15809 * stdlib/tst-strtod-round-data: Likewise.
15810 * stdlib/tst-strtod-round.c: Likewise.
15811 * stdlib/Makefile (tests): Add tst-strtod-round.
15812
d6e70f43
JM
15813 [BZ #14459]
15814 * stdlib/strtod_l.c: Include <stdint.h>.
15815 (NDEBUG): Do not define.
15816 (round_and_return): Change EXPONENT parameter to type intmax_t.
15817 Rearrange calculations to avoid internal overflow possibilities.
15818 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15819 Rearrange calculations to avoid internal overflow possibilities.
15820 Assert that number fits inside MPNSIZE limbs.
15821 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15822 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15823 calculations and add assertions to avoid internal overflow
15824 possibilities. Add casts to avoid signed/unsigned operations.
15825 * stdlib/tst-strtod-overflow.c: New file.
15826 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15827
1f529f7d
MP
158282012-08-25 Marek Polacek <polacek@redhat.com>
15829
15830 * time/time.h: Fix some typos in comments.
15831
59a629f1
RM
158322012-08-23 Roland McGrath <roland@hack.frob.com>
15833
15834 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15835 * posix/tst-rfc3484-2.c: Likewise.
15836 * posix/tst-rfc3484-3.c: Likewise.
15837
d3bafbc9
SM
158382012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15839
15840 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15841 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15842
4efcc022
JM
158432012-08-23 Joseph Myers <joseph@codesourcery.com>
15844
15845 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15846 #include of fxstatat64.c.
15847
3cc3ef96
RM
158482012-08-22 Roland McGrath <roland@hack.frob.com>
15849
f04e2132
RM
15850 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15851 * shadow/getspent_r.c: Likewise.
15852 * shadow/getspnam.c: Likewise.
15853 * shadow/getspnam_r.c: Likewise.
15854 * gshadow/getsgent.c: Likewise.
15855 * gshadow/getsgent_r.c: Likewise.
15856 * gshadow/getsgnam.c: Likewise.
15857 * gshadow/getsgnam_r.c: Likewise.
15858 * inet/getnetbyad.c: Likewise.
15859 * inet/getnetbyad_r.c: Likewise.
15860 * inet/getnetbynm.c: Likewise.
15861 * inet/getnetbynm_r.c: Likewise.
15862 * inet/getnetent.c: Likewise.
15863 * inet/getnetent_r.c: Likewise.
15864 * inet/getproto.c: Likewise.
15865 * inet/getproto_r.c: Likewise.
15866 * inet/getprtent.c: Likewise.
15867 * inet/getprtent_r.c: Likewise.
15868 * inet/getprtname.c: Likewise.
15869 * inet/getprtname_r.c: Likewise.
15870 * inet/getrpcbyname.c: Likewise.
15871 * inet/getrpcbyname_r.c: Likewise.
15872 * inet/getrpcbynumber.c: Likewise.
15873 * inet/getrpcbynumber_r.c: Likewise.
15874 * inet/getrpcent.c: Likewise.
15875 * inet/getrpcent_r.c: Likewise.
15876 * inet/getaliasent.c: Likewise.
15877 * inet/getaliasent_r.c: Likewise.
15878 * inet/getaliasname.c: Likewise.
15879 * inet/getaliasname_r.c: Likewise.
15880 * nscd/getgrgid_r.c: Likewise.
15881 * nscd/getgrnam_r.c: Likewise.
15882 * nscd/gethstbyad_r.c: Likewise.
15883 * nscd/gethstbynm3_r.c: Likewise.
15884 * nscd/getpwnam_r.c: Likewise.
15885 * nscd/getpwuid_r.c: Likewise.
15886 * nscd/getsrvbynm_r.c: Likewise.
15887 * nscd/getsrvbypt_r.c: Likewise.
15888 * nscd/gai.c: Likewise.
15889
c53d909c
RM
15890 * configure.in (build_nscd): New substituted variable, set
15891 by --disable-build-nscd and defaults to $use_nscd.
15892 * configure: Regenerated.
15893 * config.make.in (build-nscd): New substituted variable.
15894 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15895 Change conditional to require [$(build-nscd) = yes] as well.
15896 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15897
3cc3ef96
RM
15898 [BZ# 13696]
15899 * configure.in (use_nscd): New substituted variable, set by
15900 --disable-nscd. If enabled, define USE_NSCD.
15901 * configure: Regenerated.
15902 * config.h.in: Add USE_NSCD.
15903 * config.make.in (use-nscd): New substituted variable.
15904 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15905 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15906 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15907 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15908 (CFLAGS-getgrnam_r.c): Likewise.
15909 (CFLAGS-initgroups.c): Likewise.
15910 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15911 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15912 Variables removed.
15913 * inet/getnetgrent_r.c
15914 (nscd_setnetgrent): New function, broken out of ...
15915 (setnetgrent): ... here. Call it.
15916 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15917 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15918 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15919 * nscd/Makefile (routines, aux): Move definitions after include of
15920 Makeconfig. Conditionalize on [$(use-nscd) != no].
15921 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15922 Conditionalize on [USE_NSCD].
15923 (is_nscd, nscd_init_cb): Likewise.
15924 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15925 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15926 * nss/nss_db/db-init.c: Likewise.
15927 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15928 [USE_NSCD].
15929 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15930 (make_request): Use it.
15931 (cache_valid_p): New function.
15932 (__check_pf): Use it.
15933 * NEWS: Add item for --disable-nscd.
15934
07e51550
DL
159352012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15936
15937 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15938 to support sed >= 4.2.1-20-ga9bf076.
15939 * configure: Regenerated.
15940
35a5b08b
RM
159412012-08-22 Roland McGrath <roland@hack.frob.com>
15942
15943 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15944 Conditionalize whole body on [IREL].
15945
8479f23a
JL
159462012-08-22 Jeff Law <law@redhat.com>
15947
15948 [BZ #14505]
15949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15950 if the family is PF_UNSPEC.
15951
48da0b21
MF
159522012-08-22 Mike Frysinger <vapier@gentoo.org>
15953
15954 * Makerules (lib-version): Rename from V.
15955 (install-lib-nosubdir): Change V to lib-version.
15956
15d0da8c
WS
159572012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15958
15959 [BZ #14252]
15960 * powerpc32/power6/wcschr.c: New file.
15961 * powerpc32/power6/wcscpy.c: New file.
15962 * powerpc32/power6/wcsrchr.c: New file.
15963 * powerpc64/power6/wcschr.c: New file.
15964 * powerpc64/power6/wcscpy.c: New file.
15965 * powerpc64/power6/wcsrchr.c: New file.
15966
bcca0895
MK
159672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15968
15969 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15970 (two_way_short_needle): Use it.
5a4aaa33
RM
15971 * string/strstr.c (AVAILABLE1_USES_J): Define.
15972 * string/strcasestr.c: Likewise.
99677e57
MK
15973
15974 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15975 array references.
15976 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15977
400726de
MK
15978 [BZ #11607]
15979 * NEWS: Add an entry.
15980 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15981 define their defaults.
15982 (two_way_short_needle): Detect end-of-string on-the-fly.
15983 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15984 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15985 * string/bug-strcasestr1.c: New test.
15986 * string/Makefile: Run it.
15987
20a71f2c
MK
159882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15989
15990 [BZ #11607]
15991 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15992 the first character.
15993
21ad0558
RM
159942012-08-21 Roland McGrath <roland@hack.frob.com>
15995
15996 * csu/elf-init.c (__libc_csu_irel): Function removed.
15997 * csu/libc-start.c (apply_irel): New function.
15998 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15999
0e1d9911
JM
160002012-08-21 Joseph Myers <joseph@codesourcery.com>
16001
16002 * sysdeps/unix/sysv/linux/kernel-features.h
16003 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16004 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16005 <kernel-features.h>.
16006 [__NR_fadvise64_64]: Make code unconditional.
16007 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16008 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16009 !__NR_fadvise64_64)]: Likewise.
16010 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16011 !__NR_fadvise64_64))]: Likewise.
16012 [__NR_fadvise64]: Make code unconditional.
16013 [!__NR_fadvise64]: Remove conditional code.
16014 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16015 <kernel-features.h>.
16016 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16017 unconditional.
16018 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16019 conditional code.
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16021 not include <kernel-features.h>.
16022 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16023 unconditional.
16024 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16025 conditional code.
16026 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16027 include <kernel-features.h>.
16028 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16029 unconditional.
16030 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16031 conditional code.
16032
14a50c9d
WS
160332012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16034
16035 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16036 slight instruction rearrangements per scrollpipe analysis.
16037 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16038
c0f4faf0
RM
160392012-08-20 Roland McGrath <roland@hack.frob.com>
16040
696da859
RM
16041 * manual/syslog.texi (syslog; vsyslog, closelog):
16042 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16043 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16044
c0f4faf0
RM
16045 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16046 DSOCAPS to match condition on defining it.
16047
348363b2
JM
160482012-08-20 Joseph Myers <joseph@codesourcery.com>
16049
a35cbf28
JM
16050 * sysdeps/unix/sysv/linux/kernel-features.h
16051 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16053 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16054 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16056 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16057 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16059 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16060 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16061
445f7ecd
JM
16062 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16063 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16064
348363b2
JM
16065 * sysdeps/unix/sysv/linux/kernel-features.h
16066 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16067 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16068 unconditional.
16069 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16070 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16071 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16072 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16073 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16074 Make code unconditional.
16075 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16076 (__mmap64) [!__NR_mmap2]: Likewise.
16077 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16078 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16079 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16080 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16081 [__NR_mmap2]: Make code unconditional.
16082 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16083 (__mmap64) [!__NR_mmap2]: Likewise.
16084
bc5bc0e5
AK
160852012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16086
16087 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16088
88d506de
AJ
160892012-08-18 Andreas Jaeger <aj@suse.de>
16090
16091 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16092
493387d2
MF
160932012-08-18 Mike Frysinger <vapier@gentoo.org>
16094
16095 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16096 * include/unistd.h (__have_sock_cloexec): Likewise.
16097 (__have_pipe2): Likewise.
16098 (__have_dup3): Likewise.
16099
a277af22
MF
161002012-08-18 Mike Frysinger <vapier@gentoo.org>
16101
16102 [BZ #9685]
16103 * include/unistd.h (__have_pipe2): Change define into an extern int.
16104 (__have_dup3): Likewise.
16105 * socket/have_sock_cloexec.c: Include fcntl.h.
16106 (__have_pipe2): New variable.
16107 (__have_dup3): Likewise.
16108
fdab8fd3
MF
161092012-08-17 Mike Frysinger <vapier@gentoo.org>
16110
16111 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16112
31035e80
MP
161132012-08-17 Marek Polacek <polacek@redhat.com>
16114
16115 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16116 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16117
3bd9e993
RM
161182012-08-17 Roland McGrath <roland@hack.frob.com>
16119
c91c505f
RM
16120 * configure.in: Add AC_SUBST for sysheaders.
16121 * configure: Regenerated.
16122 * config.make.in (sysheaders): New substituted variable.
16123
7c6f9d53
RM
16124 * sysdeps/unix/mkfifo.c: Moved ...
16125 * sysdeps/posix/mkfifo.c: ... here.
16126 * sysdeps/unix/mkfifoat.c: Moved ...
16127 * sysdeps/posix/mkfifoat.c: ... here.
16128
16129 * sysdeps/unix/utime.c: Moved ...
16130 * sysdeps/posix/utime.c: ... here.
16131
16132 * sysdeps/unix/time.c: Moved ...
16133 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16134 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16135 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16136
16137 * sysdeps/unix/nice.c: Moved ...
16138 * sysdeps/posix/nice.c: ... here.
16139
16140 * sysdeps/unix/alarm.c: Moved ...
16141 * sysdeps/posix/alarm.c: ... here.
16142
3bd9e993
RM
16143 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16144
d1f09384
JL
161452012-08-17 Jeff Law <law@redhat.com>
16146
16147 * intl/Makefile (codeset_mo): New variable.
16148 ($(codeset_mo)): New target.
16149 (tst-codeset.out): Depend on that. Remove explicit rule.
16150 (tst-gettext3.out, tst-gettext5.out): Likewise.
16151 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16152 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16153 * intl/tst-codeset.sh: Remove.
16154 * intl/tst-gettext3.sh: Likewise.
16155 * intl/tst-gettext5.sh: Likewise.
16156
2ae1ae5c
RM
161572012-08-17 Roland McGrath <roland@hack.frob.com>
16158
c31fdb83
RM
16159 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16160 * sysdeps/unix/syscalls.list: ... here.
16161
a0844057
RM
16162 * sysdeps/posix/getaddrinfo.c
16163 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16164 (gaiconf_init, gaiconf_reload): Use them.
16165 [!_STATBUF_ST_NSEC]
16166 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16167 Define using time_t rather than struct timespec.
16168
750c1f2a
RM
16169 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16170 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16171 Macros removed.
16172 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16173 [!NO_THREADS].
16174 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16175 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16176 Likewise.
16177
2ae1ae5c
RM
16178 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16179 __libc_cleanup_push argument.
16180
e66a42f5
RM
16181 * bits/param.h: New file.
16182 * misc/sys/param.h: New file.
16183 * include/sys/param.h: New file.
16184 * misc/Makefile (headers): Add bits/param.h.
16185 * sysdeps/generic/sys/param.h: File removed.
16186 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16187 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16188 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16189 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16190
b7c08a66
RM
16191 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16192 last change.
16193
b2e1c562
RM
16194 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16195 [_IO_MTSAFE_IO].
16196 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16197 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16198 New macros.
16199
c75ccd4c
RM
16200 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16201 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16202 rather than -D_IO_MTSAFE_IO conditionally.
16203 * stdio-common/Makefile (CPPFLAGS): Likewise.
16204 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16205 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16206 Use $(libio-mtsafe).
16207 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16208 of -D_IO_MTSAFE_IO.
16209 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16210 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16211 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16212 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16213 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16214 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16215 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16216 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16217 (CFLAGS-fread_u_chk.c): Likewise.
16218 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16219 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16220 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16221 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16222 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16223 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16224 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16225 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16226 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16227
16228 * libio/Makefile: Test [$(libc-reentrant) = yes]
16229 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16230
16231 * Makeconfig
16232 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16233 * sysdeps/pthread/configure: File removed.
16234 * sysdeps/pthread/Makeconfig: New file.
16235 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16236 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16237
d9195db8
GB
162382012-08-16 Gary Benson <gbenson@redhat.com>
16239
16240 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16241 unmapping the first object in a namespace.
16242
86466cd9
RM
162432012-08-16 Roland McGrath <roland@hack.frob.com>
16244
16245 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16246 (__internal_setnetgrent): ... this. Add internal_function to
16247 definition. Add libc_hidden_def.
16248 (setnetgrent): Update caller.
16249 (internal_endnetgrent): Renamed to ...
16250 (__internal_endnetgrent): ... this. Add internal_function to
16251 definition. Add libc_hidden_def.
16252 (endnetgrent): Update caller.
16253 (internal_getnetgrent_r): Renamed to ...
16254 (__internal_getnetgrent_r): ... this. Add internal_function to
16255 definition. Add libc_hidden_def.
16256 (__getnetgrent_r): Update caller.
16257 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16258
c3c8283c
JM
162592012-08-16 Joseph Myers <joseph@codesourcery.com>
16260
16261 * stdlib/longlong.h: Update from GCC.
16262
db1ee0a8
RM
162632012-08-16 Roland McGrath <roland@hack.frob.com>
16264
16265 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16266 on _QL, which is set by umul_ppmm but never used.
16267 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16268 variables, which are set by GMP macros but never used.
16269 * stdio-common/_itowa.c (_itowa): Likewise.
16270 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16271 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16272
30f69637
CD
162732012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16274
16275 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16276 struct La_sh_regs is not constant.
16277 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16278 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16279 and struct La_sparc64_regs are not constant.
16280
93a78ac4
JM
162812012-08-16 Joseph Myers <joseph@codesourcery.com>
16282
16283 * sysdeps/unix/sysv/linux/kernel-features.h
16284 (__ASSUME_POSIX_TIMERS): Remove.
16285 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16286 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16287 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16288 Make code unconditional.
16289 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16290 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16291 Make code unconditional.
16292 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16293 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16294 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16295 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16296 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16297 Make code unconditional.
16298 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16299 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16300 (__libc_missing_posix_timers): Remove.
16301
dd924cd7
RM
163022012-08-15 Roland McGrath <roland@hack.frob.com>
16303
4b4f2771
RM
16304 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16305 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16306
601c888b
RM
16307 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16308
176790a7
RM
16309 * elf/dl-sym.c: Include <stdlib.h>.
16310
329bc018
RM
16311 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16312 constants, which avoids warnings in 32-bit builds.
16313
e04e272d
RM
16314 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16315 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16316
952bf94a
RM
16317 * misc/lseek.c: File moved to ...
16318 * io/lseek.c: ... here.
16319
7c99b50a
RM
16320 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16321
dd924cd7
RM
16322 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16323 shifting LEN more than 31 bits at once.
16324
b3f479a8
LD
163252012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16326
16327 [BZ #14195]
8c4ae0d4
RM
16328 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16329 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16330 * string/test-strncasecmp.c (check1): Renamed to...
16331 (bz12205): ...this.
16332 (bz14195): Add new testcase for two empty input strings and N > 0.
16333 (test_main): Call new testcase, adapt for renamed function.
16334
9c55864e
AJ
163352012-08-15 Andreas Jaeger <aj@suse.de>
16336
16337 [BZ #14090]
16338 * crypt/md5test2.c: New test, based on test supplied by Serge
16339 Belyshev <belyshev@depni.sinp.msu.ru>.
16340 * crypt/Makefile (xtests): Add md5test-giant..
16341 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16342
02dcb6c5
PE
163432012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16344
16345 [BZ #14090]
16346 * crypt/md5.c (md5_process_block): Don't assume the buffer
16347 length is less than 2**32.
16348 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16349 length is less than 2**64.
16350
a3f95dcc
RM
163512012-08-15 Roland McGrath <roland@hack.frob.com>
16352
be75d758
RM
16353 * string/str-two-way.h: Include <sys/param.h>.
16354 (MAX): Macro removed.
16355
7312ca90
RM
16356 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16357 Move #define and #undef of memmove to just before and after
16358 including <string.h>.
16359
9a0a5486
RM
16360 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16361 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16362 and after including <string.h>. Move declarations of
16363 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16364 to before #include "string/memmove.c".
16365
67cc348d
RM
16366 * include/dirent.h: Declare __getdirentries.
16367
a3f95dcc
RM
16368 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16369 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16370
ca98e171
MF
163712012-08-14 Mike Frysinger <vapier@gentoo.org>
16372
16373 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16374 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16375 * sysdeps/i386/configure: Regenerated.
16376 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16377 STABS_CURRENT_FILE, and STABS_FUN.
16378 (END): Remove call to STABS_FUN_END.
16379 (STABS_CURRENT_FILE1): Delete.
16380 (STABS_CURRENT_FILE): Likewise.
16381 (STABS_FUN): Likewise.
16382 (STABS_FUN_END): Likewise.
16383 (STABS_FUN2): Likewise.
16384 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16385 * sysdeps/x86_64/configure: Regenerated.
16386
5908bf46
RM
163872012-08-14 Roland McGrath <roland@hack.frob.com>
16388
16389 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16390 * elf/dl-lookup.c: Likewise.
5908bf46 16391
f2c05b9e
JM
163922012-08-14 Joseph Myers <joseph@codesourcery.com>
16393
16394 * sysdeps/unix/sysv/linux/kernel-features.h
16395 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16396 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16397 unconditionally.
16398 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16399 unconditionally.
16400 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16401 condition on __ASSUME_CLONE_THREAD_FLAGS.
16402
e11f5155
AJ
164032012-08-14 Andreas Jaeger <aj@suse.de>
16404
16405 * sysdeps/i386/fpu/libm-test-ulps: Update.
16406
51a9ba86
MK
164072012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16408
2fdd4f78
AJ
16409 * include/atomic.h (atomic_exchange_and_add): Split into ...
16410 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16411 New atomic macros.
51a9ba86 16412
ba6cba9e
MT
164132012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16414
16415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16416
42443a47
JL
164172012-08-13 Jeff Law <law@redhat.com>
16418
16419 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16420 null byte in the output string.
16421
121dce05
JM
164222012-08-10 Joseph Myers <joseph@codesourcery.com>
16423
16424 * sysdeps/unix/sysv/linux/kernel-features.h
16425 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16426 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16427 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16428 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16429 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16430 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16431 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16432
bf51f568
JL
164332012-08-09 Jeff Law <law@redhat.com>
16434
16435 [BZ #13939]
16436 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16437 When avoid_arena is set, don't retry in the that arena. Pick the
16438 next one, whatever it might be.
16439 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16440 (arena_lock): Pass in new parameter to arena_get2.
16441 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16442 arena_get2.
16443 (__libc_malloc): Unify retrying after main arena failure with
16444 __libc_memalign version.
16445 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16446
f85fa270
L
164472012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16448
16449 [BZ #14166]
16450 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16451 to __redirect_strstr.
16452 (__strstr_sse42): Use typeof __redirect_strstr.
16453 (__strstr_ia32): Likewise.
16454 (__libc_strstr): New prototype.
16455 (strstr): Renamed to ...
16456 (__libc_strstr): This.
16457 (strstr): New strong alias of __libc_strstr.
16458 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16459 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16460 __redirect_time.
16461 Include <time.h>.
16462 (__libc_time): New prototype.
16463 (time_ifunc): Replace time with __libc_time.
16464 (time): New strong alias and hidden definition of __libc_time.
16465 (__GI_time): Remove strong alias.
16466 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16467 Include <stddef.h>.
16468 (memmove): Redefined to __redirect_memmove.
16469 (__memmove_sse2): Use typeof __redirect_memmove.
16470 (__memmove_ssse3): Likewise.
16471 (__memmove_ssse3_back): Likewise.
16472 (__libc_memmove): New prototype.
16473 (memmove): Renamed to ...
16474 (__libc_memmove): This.
16475 (memmove): New strong alias of __libc_memmove.
16476
33b4a91e
MS
164772012-08-08 Mark Salter <msalter@redhat.com>
16478
16479 * elf/elf.h
16480 (R_MN10300_TLS_GD): Define.
16481 (R_MN10300_TLS_LD): Likewise.
16482 (R_MN10300_TLS_LDO): Likewise.
16483 (R_MN10300_TLS_GOTIE): Likewise.
16484 (R_MN10300_TLS_IE): Likewise.
16485 (R_MN10300_TLS_LE): Likewise.
16486 (R_MN10300_TLS_DTPMOD): Likewise.
16487 (R_MN10300_TLS_DTPOFF): Likewise.
16488 (R_MN10300_TLS_TPOFF): Likewise.
16489 (R_MN10300_SYM_DIFF): Likewise.
16490 (R_MN10300_ALIGN): Likewise.
16491 (R_MN10300_NUM): Update.
16492
b36137f1
JM
164932012-08-08 Joseph Myers <joseph@codesourcery.com>
16494
16495 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16496 Remove.
16497
cdd915fd
RM
164982012-08-08 Roland McGrath <roland@hack.frob.com>
16499
a2433aac
RM
16500 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16501
cdd915fd
RM
16502 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16503 sysdeps/unix -> sysdeps/posix move.
16504 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16505
bf9b740a
AM
165062012-08-07 Allan McRae <allan@archlinux.org>
16507
16508 [BZ #14303]
16509 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16510 (SUNOS_CPP): Likewise.
16511 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16512 not found.
16513 (open_input): Call CPP using execvp.
16514
93df14ee
JM
165152012-08-07 Joseph Myers <joseph@codesourcery.com>
16516
16517 * sysdeps/unix/sysv/linux/kernel-features.h
16518 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16519 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16520 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16521 (__ASSUME_WAITID_SYSCALL): Likewise.
16522 * sysdeps/unix/sysv/linux/dl-execstack.c
16523 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16524 code unconditional.
16525 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16526 conditional code.
16527 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16528 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16529 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16530 code.
16531 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16532 unconditional.
16533 [__ASSUME_WAITID_SYSCALL]: Likewise.
16534 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16535
d34689de
RM
165362012-08-07 Roland McGrath <roland@hack.frob.com>
16537
a281decc
RM
16538 * sysdeps/unix/closedir.c: Renamed to ...
16539 * sysdeps/posix/closedir.c: ... here.
16540 * sysdeps/unix/dirfd.c: Renamed to ...
16541 * sysdeps/posix/dirfd.c: ... here.
16542 * sysdeps/unix/dirstream.h: Renamed to ...
16543 * sysdeps/posix/dirstream.h: ... here.
16544 * sysdeps/unix/fdopendir.c: Renamed to ...
16545 * sysdeps/posix/fdopendir.c: ... here.
16546 * sysdeps/unix/opendir.c: Renamed to ...
16547 * sysdeps/posix/opendir.c: ... here.
16548 * sysdeps/unix/readdir.c: Renamed to ...
16549 * sysdeps/posix/readdir.c: ... here.
16550 * sysdeps/unix/readdir_r.c: Renamed to ...
16551 * sysdeps/posix/readdir_r.c: ... here.
16552 * sysdeps/unix/rewinddir.c: Renamed to ...
16553 * sysdeps/posix/rewinddir.c: ... here.
16554 * sysdeps/unix/seekdir.c: Renamed to ...
16555 * sysdeps/posix/seekdir.c: ... here.
16556 * sysdeps/unix/telldir.c: Renamed to ...
16557 * sysdeps/posix/telldir.c: ... here.
16558 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16559 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16560 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16561 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16562
22895b47
RM
16563 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16564 * bits/fcntl.h: ... here.
16565
707a53b6
RM
16566 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16567 not 0.
16568 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16569 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16570 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16571 (struct flock): Move l_start, l_len to the beginning.
16572 Use __pid_t for l_pid.
16573 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16574 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16575 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16576 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16577 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16578 [__USE_LARGEFILE64] (struct flock64): New type.
16579 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16580
f0bd3e25
RM
16581 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16582 * bits/dirent.h: ... here.
16583
d34689de
RM
16584 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16585 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16586
6dad2c06
JM
165872012-08-07 Joseph Myers <joseph@codesourcery.com>
16588
16589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16590 Change from 2.6.0 to 2.6.16.
16591 * sysdeps/unix/sysv/linux/configure: Regenerated.
16592 * sysdeps/unix/sysv/linux/kernel-features.h
16593 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16594 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16595 version.
16596 (__ASSUME_UTIMES): Likewise.
16597 (__ASSUME_CLONE_STOPPED): Remove.
16598 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16599 architectures, not kernel version.
16600 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16601 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16602 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16603 (__ASSUME_WAITID_SYSCALL): Likewise.
16604 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16605 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16606 * README: State 2.6.16 as minimum Linux kernel version. Do not
16607 refer to older versions.
16608
03af9520
RM
166092012-08-06 Roland McGrath <roland@hack.frob.com>
16610
8e49df1d
RM
16611 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16612 Define alphasort64 as an alias.
16613 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16614 Define versionsort64 as an alias.
16615 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16616 Define scandir64 as an alias.
16617 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16618 Define scandirat64 as an alias.
16619 * dirent/alphasort64.c (alphasort64):
16620 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16621 * dirent/versionsort64.c: Likewise.
16622 * dirent/scandir64.c: Likewise.
16623 * dirent/scandirat64.c: Likewise.
16624 * sysdeps/wordsize-64/alphasort.c: File removed.
16625 * sysdeps/wordsize-64/alphasort64.c: File removed.
16626 * sysdeps/wordsize-64/scandir.c: File removed.
16627 * sysdeps/wordsize-64/scandir64.c: File removed.
16628 * sysdeps/wordsize-64/scandirat.c: File removed.
16629 * sysdeps/wordsize-64/scandirat64.c: File removed.
16630 * sysdeps/wordsize-64/versionsort.c: File removed.
16631 * sysdeps/wordsize-64/versionsort64.c: File removed.
16632 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16634 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16635 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16636 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16637 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16638 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16640
16641 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16643 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16645 [defined __arch64__ || defined __sparcv9]
16646 (__INO_T_MATCHES_INO64_T): New macro.
16647 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16648 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16649 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16650 * sysdeps/unix/sysv/linux/bits/dirent.h
16651 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16652 (_DIRENT_MATCHES_DIRENT64): New macro.
16653
03af9520
RM
16654 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16655 Define lockf64 as an alias.
16656 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16657 Define fseeko64 as an alias.
16658 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16659 Define ftello64 as an alias.
16660 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16661 Define _IO_fgetpos64 and fgetpos64 as aliases.
16662 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16663 Define _IO_fsetpos64 and fsetpos64 as aliases.
16664 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16665 Conditionalize body on this.
16666 * libio/fseeko64.c: Likewise.
16667 * libio/ftello64.c: Likewise.
16668 * libio/iofgetpos64.c: Likewise.
16669 * libio/iofsetpos64.c: Likewise.
16670 * sysdeps/wordsize-64/lockf.c: File removed.
16671 * sysdeps/wordsize-64/lockf64.c: File removed.
16672 * sysdeps/wordsize-64/fseeko.c: File removed.
16673 * sysdeps/wordsize-64/fseeko64.c: File removed.
16674 * sysdeps/wordsize-64/ftello.c: File removed.
16675 * sysdeps/wordsize-64/ftello64.c: File removed.
16676 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16677 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16678 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16679 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16680 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16681 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16682 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16684 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16686 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16688 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16689 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16690
16691 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16693 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16695 [defined __arch64__ || defined __sparcv9]
16696 (__OFF_T_MATCHES_OFF64_T): New macro.
16697 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16698 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16700 (__OFF_T_MATCHES_OFF64_T): New macro.
16701
c5757acd
L
167022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16703
16704 * stdlib/secure-getenv.c (__secure_getenv): Replace
16705 GLIBC_2_16 with GLIBC_2_17.
16706
3a31811e
L
167072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16708
16709 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16710 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16711
faa2bccb
DM
167122012-08-03 David S. Miller <davem@davemloft.net>
16713
16714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16715
85fe1997
JM
167162012-08-03 Joseph Myers <joseph@codesourcery.com>
16717
16718 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16719 Remove.
16720 (__ASSUME_CORRECT_SI_PID): Likewise.
16721 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16722 (__ASSUME_TMPFS_NAME): Likewise.
16723 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16724 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16725 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16726 (HAVE_AUX_SECURE): Make definition unconditional.
16727 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16728 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16729
4f75b7a0
RM
167302012-08-03 Roland McGrath <roland@hack.frob.com>
16731
16732 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16733 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16734 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16735 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16736 __eloop_threshold instead of SYMLOOP_MAX.
16737
16738 * sysdeps/generic/eloop-threshold.h: New file.
16739 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16740 of MAXSYMLINKS.
16741 * elf/chroot_canon.c (chroot_canon): Likewise.
16742
7aab07e4
JM
167432012-08-03 Joseph Myers <joseph@codesourcery.com>
16744
16745 [BZ #13717]
16746 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16747 Change to 2.6.0 everywhere.
16748 * sysdeps/unix/sysv/linux/configure: Regenerated.
16749 * sysdeps/unix/sysv/linux/kernel-features.h
16750 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16751 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16752 kernel versions.
16753 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16754 (__ASSUME_FUTEX_REQUEUE): Remove.
16755 (__ASSUME_STATFS64): Define unconditionally.
16756 (__ASSUME_AT_SECURE): Likewise.
16757 (__ASSUME_CORRECT_SI_PID): Likewise.
16758 (__ASSUME_TGKILL): Define without depending on kernel version for
16759 i386.
16760 (__ASSUME_UTIMES): Likewise.
16761 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16762 kernel version.
16763 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16764 (__ASSUME_TMPFS_NAME): Likewise.
16765 * README: Update reference to Linux kernel versions.
16766
b67e9372
MP
167672012-08-02 Marek Polacek <polacek@redhat.com>
16768
1f529f7d 16769 [BZ# 14150]
b67e9372
MP
16770 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16771 libc_cv_asm_type_prefix with %.
16772 * configure: Regenerated.
d2441631
RM
16773 * include/libc-symbols.h: Remove comment about
16774 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16775 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16776 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16777 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16778 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16779 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16780 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16781 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16782 * elf/tst-unique2mod1.c: Likewise.
16783 * elf/tst-unique1mod2.c: Likewise.
16784 * elf/tst-unique1mod1.c: Likewise.
16785 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16786 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16787 Replace ASM_TYPE_DIRECTIVE with .type.
16788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16789 * sysdeps/i386/sysdep.h: Likewise.
16790 * sysdeps/x86_64/sysdep.h: Likewise.
16791 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16793 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16794 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16795 * sysdeps/powerpc/powerpc32/sysdep.h:
16796 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16797 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16798 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16799 * sysdeps/i386/fpu/e_powf.S: Likewise.
16800 * sysdeps/i386/fpu/e_expl.S: Likewise.
16801 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16802 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16803 * sysdeps/i386/fpu/e_pow.S: Likewise.
16804 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16805 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16806 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16807 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16808 * sysdeps/i386/fpu/e_log2.S: Likewise.
16809 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16810 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16811 * sysdeps/i386/fpu/e_powl.S: Likewise.
16812 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16813 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16814 * sysdeps/i386/fpu/e_logl.S: Likewise.
16815 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16816 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16817 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16818 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16819 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16820 * sysdeps/i386/fpu/e_log.S: Likewise.
16821 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16822 * sysdeps/i386/fpu/e_logf.S: Likewise.
16823 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16824 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16825 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16826 * sysdeps/i386/fpu/e_log10.S: Likewise.
16827 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16828 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16829 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16830 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16831 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16832 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16833 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16834 * sysdeps/i386/i686/strtok.S: Likewise.
16835 * sysdeps/i386/i386-mcount.S: Likewise.
16836 * sysdeps/i386/strtok.S: Likewise.
16837 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16838 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16839 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16840 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16841 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16842 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16843 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16844 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16845 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16846 * sysdeps/x86_64/_mcount.S: Likewise.
16847 * sysdeps/x86_64/strtok.S: Likewise.
16848 * sysdeps/sh/_mcount.S: Likewise.
16849
2747bf9a
RM
168502012-08-01 Roland McGrath <roland@hack.frob.com>
16851
16852 * libio/iofopen.c: Include <fcntl.h>.
16853 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16854 (_IO_fopen64, fopen64): Define as aliases.
16855 * libio/iofopen64.c: Include <fcntl.h>.
16856 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16857 Conditionalize body on this.
16858 * sysdeps/wordsize-64/iofopen.c: File removed.
16859 * sysdeps/wordsize-64/iofopen64.c: File removed.
16860
3fb791b8
MP
168612012-08-01 Marek Polacek <polacek@redhat.com>
16862
16863 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16864 Use dlfcn directly instead of a variable.
16865 (binfmt-subdir): Do not define.
16866 (dlfcn): Likewise.
16867
a9f1039f
JM
168682012-08-01 Joseph Myers <joseph@codesourcery.com>
16869
23bddc06
JM
16870 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16871 Remove all definitions.
16872 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16873 <kernel-features.h>.
16874 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16875 (miss_F_GETOWN_EX): Remove all definitions.
16876 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16877 macro definition.
16878 [!__ASSUME_FCNTL64]: Remove conditional code.
16879 [__ASSUME_FCNTL64]: Make code unconditional.
16880 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16881 <kernel-features.h>.
16882 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16883 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16884 (lockf64) [__NR_fcntl64]: Make code unconditional.
16885 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16886
a9f1039f
JM
16887 * sysdeps/unix/sysv/linux/kernel-features.h
16888 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16889 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16890 Make code unconditional.
16891 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16892 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16894 [__NR_vfork]: Make code unconditional.
16895 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16896 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16898 [__NR_vfork]: Make code unconditional.
16899 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16900 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16901
09c0ee5f
RM
169022012-08-01 Roland McGrath <roland@hack.frob.com>
16903
48aec5b9
RM
16904 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16905 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16906
cd97c966
RM
16907 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16908 Define mkstemp64 as an alias.
3f55550c
RM
16909 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16910 Define mkstemps64 as an alias.
cd97c966
RM
16911 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16912 Define mkostemp64 as an alias.
b8625cfc
RM
16913 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16914 Define mkostemps64 as an alias.
cd97c966
RM
16915 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16916 Conditionalize body on this.
16917 * misc/mkostemp64.c: Likewise.
b8625cfc 16918 * misc/mkostemps64.c: Likewise.
3f55550c 16919 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16920 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16921 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16922 * sysdeps/wordsize-64/mkostemp.c: File removed.
16923 * sysdeps/wordsize-64/mkstemp.c: File removed.
16924 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16925 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16927 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16928
09c0ee5f
RM
16929 [BZ #14138]
16930 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16931 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16932 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16933 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16934
16935 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16936 compat_symbol macros from <shlib-compat.h> rather than the underlying
16937 default_symbol_version and symbol_version macros, so that DEFAULT
16938 lines in shlib-versions are respected.
16939 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16940
7e66ee51
FW
169412012-08-01 Florian Weimer <fweimer@redhat.com>
16942
16943 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16944 Declare with warn_unused_result.
16945 (setgid, setregid, setegid, setresgid): Likewise.
16946 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16947 Likewise.
16948 * WUR-REPORT: Remove set*id functions.
16949
d2a54255
PT
169502012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16951
16952 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16953
7ecdb005
RM
169542012-07-31 Roland McGrath <roland@hack.frob.com>
16955
b4180a5e 16956 [BZ #10191]
789bd351
RM
16957 * include/sys/socket.h (__libc_accept, __libc_accept4):
16958 Add attribute_hidden.
16959 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16960
40ce302d
RM
16961 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16962 use of PTR_MANGLE.
16963 * inet/getnetgrent_r.c (setup): Likewise.
16964
7ecdb005
RM
16965 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16966
e2eabb2c
DM
169672012-07-31 David S. Miller <davem@davemloft.net>
16968
16969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16970
d0419dbf
JM
169712012-07-31 Joseph Myers <joseph@codesourcery.com>
16972
16973 [BZ #13629]
16974 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16975 value between 1.0 and 2.0 and smaller part has absolute value less
16976 than 1.0.
16977 * math/s_clog10.c (__clog10): Likewise.
16978 * math/s_clog10f.c (__clog10f): Likewise.
16979 * math/s_clog10l.c (__clog10l): Likewise.
16980 * math/s_clogf.c (__clogf): Likewise.
16981 * math/s_clogl.c (__clogl): Likewise.
16982 * math/libm-test.inc (clog_test): Add more tests.
16983 (clog10_test): Likewise.
16984 * sysdeps/i386/fpu/libm-test-ulps: Update.
16985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16986
2bc13872
FW
169872012-07-31 Florian Weimer <fweimer@redhat.com>
16988
16989 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16990 Exit with zero in case no suitable GID is found, and write a
16991 message to standard error.
16992
bea9b193
RM
169932012-07-30 Roland McGrath <roland@hack.frob.com>
16994
16995 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16996 rather than to 1.
16997 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16998 (MAXPATHLEN): Removed.
16999 (NOGROUP, NODEV): New macros.
17000 (setbit, clrbit, isset, isclr): New macros.
17001 (howmany, roundup, powerof2): New macros.
17002 (DEV_BSIZE): New macro.
17003
17004 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17005 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17006
17007 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17008 definition on [!__NO_LONG_DOUBLE_MATH].
17009
17010 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17011 PTR_MANGLE and PTR_DEMANGLE.
17012
17013 * socket/accept4.c (accept4): Rename to __libc_accept4.
17014 Define accept4 as a weak alias.
17015
17016 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17017 on [_DIRENT_HAVE_D_TYPE].
17018 * io/ftw.c (ftw_dir): Likewise.
17019
17020 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17021
17022 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17023
17024 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17025 Use the BSD numbers rather than the arbitrary ones we had.
17026 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17027 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17028 (SIGXCPU, SIGXFSZ): New macros.
17029 (_NSIG): Now 32.
17030
17031 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17032 initializer on [_LIBC_REENTRANT].
17033
17034 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17035 definitions inside [_POSIX_MAPPED_FILES].
17036
17037 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17038
17039 * dirent/opendir.c: Include <fcntl.h>.
17040
17041 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17042 (__libc_getspecific): Likewise.
17043 (__libc_key_create): Likewise.
17044
17045 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17046 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17047 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17048 (tmpfile64): Define as alias.
17049 * sysdeps/wordsize-64/tmpfile.c: File removed.
17050 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17053
17054 * stdio-common/vfscanf.c: Include <stdbool.h>.
17055 * nss/makedb.c: Likewise.
17056 * stdio-common/_i18n_number.h: Likewise.
17057 * argp/argp-help.c: Likewise.
17058 * posix/wordexp.c: Likewise.
17059 * sysdeps/posix/spawni.c: Likewise.
17060 * nss/nss_files/files-initgroups.c: Likewise.
17061 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17062 * nss/nss_files/files-initgroups.c: Likewise.
17063 * nss/nss_db/db-netgrp.c: Likewise.
17064 * nss/nss_db/db-initgroups.c: Likewise.
17065 * io/fchmodat.c: Include <sys/stat.h>.
17066
17067 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17068 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17069
17070 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17071 [HAVE_MMAP].
17072
17073 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17074 Add multiple inclusion protection.
17075
e5abc686
DM
170762012-07-27 David S. Miller <davem@davemloft.net>
17077
17078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17079
815e6fa3
GB
170802012-07-27 Gary Benson <gbenson@redhat.com>
17081
17082 [BZ #14298]
17083 * elf/rtld.c: Include <stap-probe.h>.
17084 (dl_main): Added static probes "init_start" and "init_complete".
17085 * elf/dl-load.c: Include <stap-probe.h>.
17086 (lose): Take new parameter "nsid".
17087 Added static probe "map_failed".
17088 (_dl_map_object_from_fd): Pass namespace id to lose.
17089 Added static probe "map_start".
17090 (open_verify): Pass namespace id to lose.
17091 * elf/dl-open.c: Include <stap-probe.h>.
17092 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17093 and "reloc_complete".
17094 * elf/dl-close.c: Include <stap-probe.h>.
17095 (_dl_close_worker): Added static probes "unmap_start" and
17096 "unmap_complete".
17097 * elf/rtld-debugger-interface.txt: New file documenting the above.
17098
9f98c16c
RM
170992012-07-26 Roland McGrath <roland@hack.frob.com>
17100
17101 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17102 rather than a string variable.
17103 * sunrpc/rpc_main.c (h_output): Likewise.
17104 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17105
f3c22df3
PT
171062012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17107
17108 * inet/check_native.c: New file.
17109
3129cfc6
JM
171102012-07-26 Joseph Myers <joseph@codesourcery.com>
17111
da865e95
JM
17112 [BZ #13629]
17113 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17114 if larger part has absolute value 1.0.
17115 * math/s_clog10.c (__clog10): Likewise.
17116 * math/s_clog10f.c (__clog10f): Likewise.
17117 * math/s_clog10l.c (__clog10l): Likewise.
17118 * math/s_clogf.c (__clogf): Likewise.
17119 * math/s_clogl.c (__clogl): Likewise.
17120 * math/libm-test.inc (clog_test): Add more tests.
17121 (clog10_test): Likewise.
17122 * sysdeps/i386/fpu/libm-test-ulps: Update.
17123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124
3129cfc6
JM
17125 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17126 (pltexit): Likewise.
17127 (La_regs): Likewise.
17128 (La_retval): Likewise.
17129 (int_retval): Likewise.
17130 Update #error for removed macros to refer only to definitions in
17131 tst-audit.h.
17132 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17133 macro.
17134 (pltexit): Likewise.
17135 (La_regs): Likewise.
17136 (La_retval): Likewise.
17137 (int_retval): Likewise.
17138 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17139 macro.
17140 (pltexit): Likewise.
17141 (La_regs): Likewise.
17142 (La_retval): Likewise.
17143 (int_retval): Likewise.
17144 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17145 macro.
17146 (pltexit): Likewise.
17147 (La_regs): Likewise.
17148 (La_retval): Likewise.
17149 (int_retval): Likewise.
17150 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17151 macro.
17152 (pltexit): Likewise.
17153 (La_regs): Likewise.
17154 (La_retval): Likewise.
17155 (int_retval): Likewise.
17156 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17157 macro.
17158 (pltexit): Likewise.
17159 (La_regs): Likewise.
17160 (La_retval): Likewise.
17161 (int_retval): Likewise.
17162 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17163 macro.
17164 (pltexit): Likewise.
17165 (La_regs): Likewise.
17166 (La_retval): Likewise.
17167 (int_retval): Likewise.
17168 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17169 macro definitions in tst-audit.h.
17170 * sysdeps/i386/tst-audit.h: New file.
17171 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17172 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17173 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17174 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17175 * sysdeps/sh/tst-audit.h: Likewise.
17176 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17177 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17178 * sysdeps/x86_64/tst-audit.h: Likewise.
17179
bfc07087
AJ
171802012-07-26 Andreas Jaeger <aj@suse.de>
17181
b1b2aaf8
AJ
17182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17183 ptrace.
17184
17185 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17186 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17187 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17188 PTRACE_O_MASK.
17189 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17190 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17191 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17192
bfc07087
AJ
17193 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17194 value.
17195
17196 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17197 _sigsys.
17198 (si_call_addr, si_syscall, si_arch): Define new macro.
17199 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17200 _sigsys.
17201 (si_call_addr, si_syscall, si_arch): Define new marcro.
17202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17203 _sigsys.
17204 (si_call_addr, si_syscall, si_arch): Define new macro.
17205 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17206 _sigsys.
17207 (si_call_addr, si_syscall, si_arch): Define new macro.
17208
89b4b02f
JM
172092012-07-25 Joseph Myers <joseph@codesourcery.com>
17210
17211 [BZ #13717]
17212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17213 Change to 2.4.21 where previously 2.4.1.
17214 * sysdeps/unix/sysv/linux/configure: Regenerated.
17215 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17216 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17217 Linux kernel version.
17218 (__ASSUME_STD_AUXV): Remove.
17219 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17220 kernel version.
17221 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17222 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17223 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17224 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17225 (__ASSUME_NETLINK_SUPPORT): Likewise.
17226 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17227 (__no_netlink_support): Remove conditional definition.
17228 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17229 Remove.
17230 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17231 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17232 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17233 (if_nameindex_ioctl): Remove.
17234 (if_nameindex_netlink): Do not handle __no_netlink_support.
17235 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17236 code.
17237 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17238 Remove conditional code.
17239 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17240 code.
17241 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17242 unconditional.
17243 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17244 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17245 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17246 Remove.
17247 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17248 [!__ASSUME_STD_AUXV]: Remove conditional code.
17249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17250 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17251 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17253 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17254 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17255 code.
17256 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17258 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17259 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17260 conditional code.
17261 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17263 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17264 code.
17265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17266 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17267 conditional code.
17268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17269 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17270 code unconditional.
17271 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17272 conditional code.
17273 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17274 unconditional.
17275 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17276 conditional code.
17277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17278 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17279 unconditional.
17280 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17281 conditional code.
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17283 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17284 code unconditional.
17285 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17286 conditional code.
17287 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17288 unconditional.
17289 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17290 conditional code.
17291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17292 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17293 code unconditional.
17294 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17295 conditional code.
17296 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17297 unconditional.
17298 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17299 conditional code.
17300
842a39cd
AS
173012012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17302
17303 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17304 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17305 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17306 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17307 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17308 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17309 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17310 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17311 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17312 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17313 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17314 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17315 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17316 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17317 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17318 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17319 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17321 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17323 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17324 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17326
84b3fd84
FW
173272012-07-25 Florian Weimer <fweimer@redhat.com>
17328
17329 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17330 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17331 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17332 Introduce __libc_secure_getenv.
0c7936d5
FW
17333 * stdlib/Versions (2.17): Add secure_getenv
17334 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17335 * stdlib/secure-getenv.c: Rename __secure_getenv to
17336 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17337 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17338 * stdlib/tst-secure-getenv.c: New.
17339 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17340 * manual/startup.texi (Environment Access): Document
17341 secure_getenv.
84b3fd84
FW
17342 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17343 __libc_secure_getenv.
17344 * inet/ruserpass.c (ruserpass): Likewise.
17345 * malloc/mtrace.c (mtrace): Likewise.
17346 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17347 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17348 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17349 * sysdeps/posix/tempname.c: Likewise. Evaluate
17350 HAVE_SECURE_GETENV.
17351 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17352 __secure_getenv to __libc_secure_getenv.
84b3fd84 17353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17355 Likewise.
17356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17357 Likewise.
17358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17365
56e49b71
JM
173662012-07-25 Joseph Myers <joseph@codesourcery.com>
17367
17368 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17369 (struct La_i86_retval): Likewise.
17370 (struct La_x86_64_regs): Likewise.
17371 (struct La_x86_64_retval): Likewise.
17372 (struct La_x32_regs): Likewise.
17373 (struct La_x32_retval): Likewise.
17374 (struct La_ppc32_regs): Likewise.
17375 (struct La_ppc32_retval): Likewise.
17376 (struct La_ppc64_regs): Likewise.
17377 (struct La_ppc64_retval): Likewise.
17378 (struct La_sh_regs): Likewise.
17379 (struct La_sh_retval): Likewise.
17380 (struct La_s390_32_regs): Likewise.
17381 (struct La_s390_32_retval): Likewise.
17382 (struct La_s390_64_regs): Likewise.
17383 (struct La_s390_64_retval): Likewise.
17384 (struct La_sparc32_regs): Likewise.
17385 (struct La_sparc32_retval): Likewise.
17386 (struct La_sparc64_regs): Likewise.
17387 (struct La_sparc64_retval): Likewise.
17388 (struct audit_ifaces): Remove architecture-specific pltenter and
17389 pltexit members.
17390 * sysdeps/i386/ldsodefs.h: New file.
17391 * sysdeps/powerpc/ldsodefs.h: Likewise.
17392 * sysdeps/s390/ldsodefs.h: Likewise.
17393 * sysdeps/sh/ldsodefs.h: Likewise.
17394 * sysdeps/sparc/ldsodefs.h: Likewise.
17395 * sysdeps/x86_64/ldsodefs.h: Likewise.
17396
354691b7
MP
173972012-07-25 Marek Polacek <polacek@redhat.com>
17398
17399 [BZ #6808]
17400 * math/libm-test.inc (yn_test): Add another test.
17401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17402 to ERANGE when the result is +-Inf.
17403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17404 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17405 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17406 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17407
bf9e2071
JM
174082012-07-24 Joseph Myers <joseph@codesourcery.com>
17409
17410 * conform/data/time.h-data (NULL): Use macro-constant. Require
17411 equal to 0.
17412 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17413 clock_t.
17414 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17415
57633811
TS
174162012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17417
17418 * configure.in <sysdeps resolving>: Correct printing
17419 Implies_before.
17420 * configure: Regenerate.
17421
c23c33b0
TS
174222012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17423
17424 * math/w_ilogb.c: Include <limits.h>.
17425 * math/w_ilogbl.c: Likewise.
17426
b5982523
JM
174272012-07-20 Joseph Myers <joseph@codesourcery.com>
17428
17429 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17430 va_copy. Document allowing for unavailable va_copy only as
17431 pre-C99 compatibility.
17432 * manual/string.texi (Copying and Concatenation): Use va_copy
17433 instead of __va_copy in concat example.
17434
ac4ea442
PT
174352012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17436
17437 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17438 (__sendto): Use create_address_port. Initialize APORT and deallocate
17439 it if not null.
17440
f98eafbd
PT
17441 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17442 with O_NOLINK passed to __file_name_lookup.
17443
898c7aab
PT
17444 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17445 with O_NOLINK passed to __file_name_lookup.
17446
0ced335a
PT
17447 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17448 negative N or less than NGIDS.
17449
b3404dbd
PT
17450 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17451 type to string_t. Set ERANGE as errno and return it if NAME is not big
17452 enough. Use memcpy instead of strncpy.
17453
0f48659e
JM
174542012-07-20 Joseph Myers <joseph@codesourcery.com>
17455
17456 * elf/Makefile (check-data): Remove.
17457 (localplt.data): New vpath directive.
17458 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17459 instead of $(check-data).
17460 * scripts/data/localplt-generic.data: Move to ...
17461 * sysdeps/generic/localplt.data: ... here.
17462 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17463 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17464 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17466 ... here.
17467 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17469 ... here.
17470 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17472 ... here.
17473 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17475 ... here.
17476 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17478 ... here.
17479 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17481 ... here.
17482
d37cbdaa
AZ
174832012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17484
17485 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17486 PPC32 and PPC64 files.
17487 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17488 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17489
46f85fc2
AK
174902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17491
17492 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17493 __makecontext_ret to ...
17494 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17495 ... here and call exit if uc_link is NULL. New file.
17496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17497 __makecontext_ret.S.
17498 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17499 __makecontext_ret to ...
17500 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17501 ... here and call exit if uc_link is NULL. New file.
17502 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17503 __makecontext_ret.S.
17504
08f43f9b
AK
175052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17506
17507 * elf/elf.h (R_390_IRELATIVE): New definition.
17508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17509 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17510 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17511 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17512 (elf_machine_lazy_rel): Likewise.
17513 * sysdeps/s390/dl-irel.h: New file.
17514 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17515 * sysdeps/s390/s390-64/memset.S: New asm code.
17516 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17517 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17519 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17520 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17521 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17523 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17524 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17525 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17526 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17527 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17528 * sysdeps/s390/s390-32/memset.S: New asm code.
17529 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17530
3b05db33
MP
175312012-07-17 Marek Polacek <polacek@redhat.com>
17532
17533 [BZ #14349]
17534 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17535 * sysdeps/s390/s390-64/configure.in: Likewise.
17536 * sysdeps/sparc/configure.in: Likewise.
17537 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17538 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17539 * sysdeps/i386/configure.in: Likewise.
17540 * sysdeps/x86_64/configure.in: Likewise.
17541 * sysdeps/sh/configure.in: Likewise.
17542 * sysdeps/s390/s390-32/configure: Regenerated.
17543 * sysdeps/s390/s390-64/configure: Likewise.
17544 * sysdeps/x86_64/configure: Likewise.
17545 * sysdeps/sh/configure: Likewise.
17546 * sysdeps/powerpc/powerpc64/configure: Likewise.
17547 * sysdeps/powerpc/powerpc32/configure: Likewise.
17548 * sysdeps/sparc/configure: Likwise.
17549 * sysdeps/i386/configure: Likewise.
17550
a66877c6
MP
17551 * elf/dl-open.c: Comment fixes.
17552
cfc82fd8
JM
175532012-07-17 Joseph Myers <joseph@codesourcery.com>
17554
bd29910a
JM
17555 * Makefile [CXX] (check-data): Remove.
17556 [CXX] (c++-types.data): New vpath directive.
17557 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17558 vpath. Do not allow for C++ type data being missing.
17559 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17560 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17561 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17562 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17563 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17564 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17565 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17567 ... here.
17568 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17570 ... here.
17571 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17573 ... here.
17574 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17576 ... here.
17577 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17579 ... here.
17580 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17582 ... here.
17583 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17585 ... here.
17586 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17588
cfc82fd8
JM
17589 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17590 definitions to architecture-specific files.
17591 (TLS_IE): Likewise.
17592 (TLS_LD): Likewise.
17593 (TLS_GD): Likewise.
17594 * sysdeps/i386/tls-macros.h: New file.
17595 * sysdeps/powerpc/tls-macros.h: Likewise.
17596 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17597 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17598 * sysdeps/sh/tls-macros.h: Likewise.
17599 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17600 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17601 * sysdeps/x86_64/tls-macros.h: Likewise.
17602
f7db3170
TS
176032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17604
07cbfc23
TS
17605 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17606 zero value for regular exit case.
17607
f7db3170
TS
17608 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17609 (__start_context): Preserve zero value for regular exit case.
17610
dc97c227
TS
176112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17612 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17613
17614 * manual/setjmp.texi (setcontext): Clarify normal process
17615 termination when uc_link is the null pointer.
17616 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17617 exit call.
17618
d0cd7d02
AS
176192012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17620
17621 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17622 preprocessor. Test for each exception mask separately.
17623
dd318934
AJ
176242012-07-16 Andreas Jaeger <aj@suse.de>
17625
17626 * po/ru.po: Update from translation team.
17627
8048311a
JM
176282012-07-15 Joseph Myers <joseph@codesourcery.com>
17629
17630 * conform/data/string.h-data (NULL): Use macro-constant. Require
17631 equal to 0.
17632 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17633 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17634 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17635 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17637
b637d46e
AJ
176382012-07-13 Andreas Jaeger <aj@suse.de>
17639
17640 * po/fr.po: Update from translation team.
17641
541428fe
MP
176422012-07-12 Marek Polacek <polacek@redhat.com>
17643
17644 [BZ #14173]
17645 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17646 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17647 loop condition.
17648
ec332e94
JM
176492012-07-12 Joseph Myers <joseph@codesourcery.com>
17650
17651 [BZ #13717]
17652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17653 Change to 2.4.1 where previously 2.4.0.
17654 * sysdeps/unix/sysv/linux/configure: Regenerated.
17655 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17656 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17657 version.
17658 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17659 (__ASSUME_AT_CLKTCK): Remove.
17660 (__ASSUME_AT_PAGESIZE): Likewise.
17661 (__ASSUME_AT_XID): Likewise.
17662 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17663 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17664 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17665 unconditionally.
17666 (HAVE_AUX_PAGESIZE): Likewise.
17667 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17668 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17669 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17670
7b6e99be
JB
176712012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17672
17673 [BZ #14307]
17674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17675 the temporary buffer used to invoke __gethostbyname2_r,
17676 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17677 host_data / struct gaih_addrtuple.
17678 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17679 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17680 header file nss/nsswitch.h.
17681 * nss/nsswitch.h (global scope): Add definition of implementation
17682 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17683 resolv/nss_dns/dns-host.c).
17684
608404eb
AJ
176852012-07-11 Andreas Jaeger <aj@suse.de>
17686
17687 * po/fr.po: Update from translation team.
17688
71220aca
AJ
17689 * po/sv.po: Update from translation team
17690 * po/fr.po: Another update from translation team.
17691
28cfe843
AZ
176922012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17693
17694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17695 for subnormals or multiply small sinh result by itself.
17696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17698
6b90f981
DM
176992012-07-11 David S. Miller <davem@davemloft.net>
17700
17701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17702
c6825772
AS
177032012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17704
17705 [BZ #14347]
17706 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17707 (INTERNAL_MARK): Shift it here.
17708
7b8e0d49
MP
177092012-07-10 Marek Polacek <polacek@redhat.com>
17710
17711 [BZ #14151]
17712 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17713 libc_cv_asm_global_directive with .globl.
17714 * configure: Regenerated.
17715 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17716 with .globl.
17717 * sysdeps/i386/configure: Regenerated.
17718 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17719 with .globl.
17720 * sysdeps/x86_64/configure: Regenerated.
17721 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17722 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17723 * elf/tst-unique2mod2.c: Likewise.
17724 * elf/tst-unique2mod1.c: Likewise.
17725 * elf/tst-unique1mod2.c: Likewise.
17726 * elf/tst-unique1mod1.c: Likewise.
17727 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17728 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17730 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17731 * sysdeps/mach/sysdep.h: Likewise.
17732 * sysdeps/i386/sysdep.h: Likewise.
17733 * sysdeps/i386/i386-mcount.S: Likewise.
17734 * sysdeps/x86_64/_mcount.S: Likewise.
17735 * sysdeps/x86_64/sysdep.h: Likewise.
17736 * sysdeps/sh/_mcount.S: Likewise.
17737 * sysdeps/sh/sysdep.h: Likewise.
17738 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17739 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17740 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17741 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17742 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17743 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17744 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17745 * locale/localeinfo.h: Likewise.
17746 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17747 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17748
6c55cda3
RM
177492012-07-09 Roland McGrath <roland@hack.frob.com>
17750
17751 [BZ #14336]
17752 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17753 system".
17754 * manual/message.texi (The Uniforum approach): Likewise.
17755 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17756 (glibc iconv Implementation): Likewise.
17757
638a572e
JM
177582012-07-09 Joseph Myers <joseph@codesourcery.com>
17759
17760 [BZ #14337]
17761 * math/s_clog.c (__clog): Avoid scaling a value down where that
17762 could result in underflow.
17763 * math/s_clog10.c (__clog10): Likewise.
17764 * math/s_clog10f.c (__clog10f): Likewise.
17765 * math/s_clog10l.c (__clog10l): Likewise.
17766 * math/s_clogf.c (__clogf): Likewise.
17767 * math/s_clogl.c (__clogl): Likewise.
17768 * math/libm-test.inc (clog_test): Add more tests.
17769 (clog10_test): Likewise.
17770 * sysdeps/i386/fpu/libm-test-ulps: Update.
17771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17772
261f4859
AS
177732012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17774
0abaf3e4
AS
17775 [BZ #14283]
17776 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17777 by 7 not 8 to examine high bit of fractional part.
17778
261f4859
AS
17779 [BZ #14042]
17780 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17781 for call to __mcount_internal.
17782 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17783 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17784 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17785
f17ac40d
JM
177862012-07-06 Joseph Myers <joseph@codesourcery.com>
17787
9ad63c23
JM
17788 [BZ #14154]
17789 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17790 approximation for values within 0x1p-13f of an odd multiple of
17791 pi/4.
17792 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17793 exception. Add more tests.
17794 * sysdeps/i386/fpu/libm-test-ulps: Update.
17795
f17ac40d
JM
17796 [BZ #6778]
17797 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17798 inputs and return -1 for them. Do not check for +Inf in case not
17799 reachable for +Inf.
17800 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17801 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17802 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17803 and return -1 for them. Do not check for +Inf in case not
17804 reachable for +Inf.
17805 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17806 define.
17807 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17808 and return -1 for them. Do not check for +Inf in case not
17809 reachable for +Inf.
17810 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17811 spurious underflow.
17812 * sysdeps/i386/fpu/libm-test-ulps: Update.
17813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17814
fb21f89b
MF
178152012-07-06 Mike Frysinger <vapier@gentoo.org>
17816
17817 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17818
cdfe2c5e
JM
178192012-07-05 Joseph Myers <joseph@codesourcery.com>
17820
17821 [BZ #14157]
17822 [BZ #14331]
17823 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17824 could result in spurious underflow. Scale down values above
17825 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17826 * math/s_csqrtf.c (__csqrtf): Likewise.
17827 * math/s_csqrtl.c (__csqrtl): Likewise.
17828 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17829 spurious underflow.
17830 * sysdeps/i386/fpu/libm-test-ulps: Update.
17831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17832
70d35b67
AS
178332012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17834
704bc459
AS
17835 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17836 xopen-msg.sed.
17837 * catgets/xopen-msg.awk: New file.
17838 * catgets/xopen-msg.sed: Removed.
17839
70d35b67
AS
17840 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17841 po2text.sed.
17842 * intl/po2test.awk: New file.
17843 * intl/po2test.sed: Removed.
17844
ca61cf32
JM
178452012-07-04 Joseph Myers <joseph@codesourcery.com>
17846
17847 [BZ #14328]
17848 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17849 or multiply small sinh result by itself.
17850 * math/s_ctanf.c (__ctanf): Likewise.
17851 * math/s_ctanh.c (__ctanh): Likewise.
17852 * math/s_ctanhf.c (__ctanhf): Likewise.
17853 * math/s_ctanhl.c (__ctanhl): Likewise.
17854 * math/s_ctanl.c (__ctanl): Likewise.
17855 * math/libm-test.inc (ctan_test_tonearest): New function.
17856 (ctan_test_towardzero): Likewise.
17857 (ctan_test_downward): Likewise.
17858 (ctan_test_upward): Likewise.
17859 (ctanh_test_tonearest): Likewise.
17860 (ctanh_test_towardzero): Likewise.
17861 (ctanh_test_downward): Likewise.
17862 (ctanh_test_upward): Likewise.
17863 (main): Call these new functions.
17864 * sysdeps/i386/fpu/libm-test-ulps: Update.
17865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17866
ca48a46a
MF
178672012-07-03 Mike Frysinger <vapier@gentoo.org>
17868
17869 * .gitignore: Delete /ports entry.
17870
9d63d37d
AJ
178712012-07-03 Andreas Jaeger <aj@suse.de>
17872
17873 * po/bg.po: Update from translation team.
17874 * po/cs.po: Likewise.
17875 * po/de.po: Likewise.
17876 * po/hr.po: Likewise.
17877 * po/nl.pl: Likewise.
17878 * po/pl.po: Likewise.
17879 * po/vi.po: Likewise.
17880
370ca3d2
JM
178812012-07-03 Joseph Myers <joseph@codesourcery.com>
17882
95f5a9a8
JM
17883 * Makeconfig [!+link] (+link-before-libc): New variable.
17884 [!+link] (+link-after-libc): Likewise.
17885 [!+link] (+link-tests): Likewise.
17886 [!+link] (+link): Define in terms of $(+link-before-libc) and
17887 $(+link-after-libc).
17888 [!+link-static] (+link-static-before-libc): New variable.
17889 [!+link-static] (+link-static-after-libc): Likewise.
17890 [!+link-static] (+link-static-tests): Likewise.
17891 [!+link-static] (+link-static): Define in terms of
17892 $(+link-static-before-libc) and $(+link-static-after-libc).
17893 [build-shared] (link-libc-before-gnulib): New variable.
17894 [build-shared] (link-libc-tests): Likewise.
17895 [build-shared] (link-libc): Define in terms of
17896 $(link-libc-before-gnulib).
17897 [!build-shared] (link-libc-tests): New variable.
17898 (link-libc-static-tests): New variable.
17899 [!gnulib] (gnulib-arch): New variable.
17900 [!gnulib] (gnulib-tests): Likewise.
17901 [!gnulib] (static-gnulib-arch): Likewise.
17902 [!gnulib] (static-gnulib-tests): Likewise.
17903 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17904 Define with "=" instead of ":=".
17905 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17906 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17907 * Rules (binaries-all-notests): New variable.
17908 (binaries-all-tests): Likewise.
17909 (binaries-static-notests): Likewise.
17910 (binaries-static-tests): Likewise.
17911 (binaries-all): Define using $(binaries-all-notests) and
17912 $(binaries-all-tests).
17913 (binaries-static): Define using $(binaries-static-notests) and
17914 $(binaries-static-tests).
17915 (binaries-shared-tests): New variable.
17916 (binaries-shared-notests): Likewise.
17917 (binaries-shared): Remove variable.
17918 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17919 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17920 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17921 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17922 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17923 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17924 * elf/Makefile (sln-modules): New variable.
17925 (extra-objs): Add $(sln-modules:=.o).
17926 (ldconfig-modules): Add static-stubs.
17927 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17928 * elf/static-stubs.c: New file.
17929
7a845b2c
JM
17930 [BZ #14283]
17931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17932 by 7 not 8 to examine high bit of fractional part. Use volatile
17933 variables when splitting into final array of floats if
17934 __FLT_EVAL_METHOD__ != 0.
17935 * math/libm-test.inc (cos_test): Add another test.
17936 (sin_test): Likewise.
17937 * sysdeps/i386/fpu/libm-test-ulps: Update.
17938
e2283f38
JM
17939 [BZ #14273]
17940 * math/libm-test.inc (cosh_test): Add more tests.
17941
370ca3d2
JM
17942 * version.h (RELEASE): Set to "development".
17943 (VERSION): Set to "2.16.90".
17944
ee9247c3
CD
179452012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17946
17947 * NEWS: Update copyright. Remove last-updated date.
17948 Mention math library bug fixes and timezone data changes.
17949 * README: Mention GNU/Hurd, x32, and HPPA support status.
17950
4648c381
TS
179512012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17952
17953 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17954
aac78a43
AJ
179552012-06-27 Andreas Jaeger <aj@suse.de>
17956
17957 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17958
ed3dbfad
AJ
179592012-06-25 Andreas Jaeger <aj@suse.de>
17960
17961 * sysdeps/s390/fpu/libm-test-ulps: Update.
17962
4d0ee855
AS
179632012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17964 Thomas Schwinge <thomas@codesourcery.com>
17965
17966 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17967 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17969 fanotify_mark.
17970
af1bce34
TS
179712012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17972
a9fa33ba
TS
17973 * sysdeps/mach/start.c: Remove file.
17974 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17975 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17976 * sysdeps/sh/init-first.c: Likewise.
17977
58f902b8
TS
17978 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17979 registers for frame unwinding purposes, add CFI directives.
17980 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17981 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17982 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17983 Likewise.
17984
1518f58b
TS
17985 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17986 __fortify_fail returning.
17987 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17988
db9b5059
TS
17989 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17990 sysdeps/sh/____longjmp_chk.S.
17991 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17992 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17993 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17994 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17995
967705fe
TS
17996 * sysdeps/sh/abort-instr.h: New file.
17997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17998 process in case exit returns.
17999
a9def8c4
TS
18000 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18001 initialize the GOT register before use.
18002
2a649725
TS
18003 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18004 calculation of ARGC > 4.
18005
af1bce34
TS
18006 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18007 meaningful names to some local labels.
18008
d230f50a
KK
180092012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18010 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18011
18012 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18013 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18014 (__arch_compare_and_exchange_val_16_acq): Likewise.
18015 (__arch_compare_and_exchange_val_32_acq): Likewise.
18016 (atomic_exchange_and_add): Fix gUSA sequence.
18017 (atomic_add): Likewise.
18018 (atomic_add_negative): Likewise.
18019 (atomic_add_zero): Likewise.
18020 (atomic_bit_test_set): Likewise.
18021
0479b305
AS
180222012-06-22 Andreas Schwab <schwab@redhat.com>
18023
18024 [BZ #13579]
18025 * include/link.h (struct link_map): Add l_free_initfini.
18026 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18027 l_initfini.
18028 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18029 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18030 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18031 set.
18032
0e3933b9
CD
180332012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18034
18035 * configure.in: Use AC_LANG_SOURCE.
18036 * configure: Regenerate.
18037
4248b1b1
RM
180382012-06-22 Roland McGrath <roland@hack.frob.com>
18039
18040 * configure.in (libc_cv_localstatedir): New substituted variable.
18041 * configure: Regenerated.
18042 * config.make.in (localstatedir): New variable, substituted from
18043 libc_cv_localstatedir.
18044 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18045 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18046 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18047 * sysdeps/gnu/configure: Regenerated.
18048
006dd861
JL
180492012-06-21 Jeff Law <law@redhat.com>
18050
18051 [BZ #14277]
18052 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18053 free. Simplify list management for _LIBC case.
18054
79662d42
JM
180552012-06-21 Joseph Myers <joseph@codesourcery.com>
18056
b7abb4bf
JM
18057 [BZ #14273]
18058 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18059 Clear sign bit of 64-bit integer value before comparing against
18060 overflow value.
18061
79662d42
JM
18062 * sysdeps/mach/configure: Regenerated.
18063
1f150908
L
180642012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18065
18066 [BZ #14278]
18067 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18068
28363bbf
JL
180692012-06-21 Jeff Law <law@redhat.com>
18070
18071 [BZ #13882]
18072 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18073 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18074 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18075 * elf/dl-open.c (dl_open_worker): Likewise.
18076
09615db4
CD
180772012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18078
18079 * scripts/list-sources.sh: Scan PORTS for translations.
18080 * po/libc.pot: Regenerated.
18081
2174c6dd
AJ
180822012-06-21 Andreas Jaeger <aj@suse.de>
18083
18084 [BZ #12194]
18085 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18086 warning.
18087 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18088 * bits/byteswap-16.h (__bswap_16): Likewise.
18089 * bits/byteswap.h (__bswap_constant_16): Likewise.
18090
3ee947b1
L
180912012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18092
18093 [BZ #14117]
a2f34833
L
18094 * sysdeps/i386/fpu_control.h: Removed.
18095 * sysdeps/x86_64/fpu_control.h: Moved to ...
18096 * sysdeps/x86/fpu_control.h: Here.
18097
3ee947b1
L
18098 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18099 (_FPU_SETCW): Likewise.
18100
ed1825f8
L
181012012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18102
25f1282a
L
18103 [BZ #14117]
18104 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18105 * sysdeps/x86/fpu/bits/mathinline.h: This.
18106 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18107
ed1825f8
L
18108 [BZ #14050]
18109 [BZ #14117]
18110 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18111 functions if __x86_64__ is defined.
18112
36d54b74
CLT
181132012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18114
18115 * string/endian.h: Add !__ASSEMBLER__ condition for including
18116 conversion interfaces.
18117
10285c21
JM
181182012-06-15 Joseph Myers <joseph@codesourcery.com>
18119
18120 [BZ #14241]
18121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18122 of ABS(x) in calculating zero to negative powers other than odd
18123 integers.
18124 * math/libm-test.inc (pow_test): Add more tests.
18125
06c5abbd
AJ
181262012-06-15 Andreas Jaeger <aj@suse.de>
18127
18128 * manual/contrib.texi (Contributors): Update entry of Liubov
18129 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18130 Machado Filho.
18131
a3aeac40
CH
181322012-06-15 Cyril Hrubis <metan@ucw.cz>
18133
18134 * string/string.h: Add __wur to GNU version of strerror_r.
18135
49bdf4c1
L
181362012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18137
18138 [BZ #14229]
18139 * string/Makefile (tests): Add tst-strtok_r.
18140 * string/tst-strtok_r.c: New file.
18141 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18142 RAX_LP/RDX_LP on SAVE_PTR.
18143
834f9b8d
RM
181442012-06-14 Roland McGrath <roland@hack.frob.com>
18145
18146 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18147
75fa1921
JM
181482012-06-14 Joseph Myers <joseph@codesourcery.com>
18149
18150 * libm_test.inc (csqrt_test): Allow more spurious underflow
18151 exceptions.
18152 (j0_test): Likewise.
18153 (j1_test): Likewise.
18154 (y0_test): Likewise.
18155 (y1_test): Likewise.
18156
771766df
CD
181572012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18158
18159 * po/Makefile (libc.pot): Use UTF-8 charset.
18160
ceb9e56b
PP
181612012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18162
18163 [BZ #14210]
18164 Suppress sign-conversion warning from FD_SET.
18165 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18166 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18167 not unsigned long int.
18168 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18169
ddb28975
L
181702012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18171
18172 [BZ #14050]
18173 [BZ #14117]
18174 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18175 __extern_always_inline instead of __extern_inline.
18176 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18177 (__signbit): Likewise.
18178 (__signbitl): Support C++ namespace.
18179 (lrintf): New inline function.
18180 (lrint): Likewise.
18181 (llrintf): Likewise.
18182 (llrint): Likewise.
18183 (fmaxf): Likewise.
18184 (fmax): Likewise.
18185 (fminf): Likewise.
18186 (fmin): Likewise.
18187 (rint): Likewise.
18188 (rintf): Likewise.
18189 (ceil): Likewise.
18190 (ceilf): Likewise.
18191 (floor): Likewise.
18192 (floorf): Likewise.
18193 (nearbyint): Likewise.
18194 (nearbyintf): Likewise.
18195
d7b4fb26
TS
181962012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18197
18198 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18199 non-default versions.
18200
eb55f5c2
RM
182012012-06-11 Roland McGrath <roland@hack.frob.com>
18202
18203 [BZ #14218]
18204 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18205
366af02c
TS
182062012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18207
99ff6e5c
TS
18208 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18209 (FE_UPWARD, FE_DOWNWARD): Don't define.
18210 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18212
366af02c
TS
18213 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18214 reading it.
18215 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18217
793ea851
KK
182182012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18219
18220 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18222 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18223 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18224
a728a38f
L
182252012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18226
18227 [BZ #14117]
c08010c7
L
18228 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18229 * sysdeps/i386/fpu/Implies: New file.
18230 * sysdeps/x86_64/fpu/Implies: Likewise.
18231 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18232 * sysdeps/x86/fpu/bits/fenv.h: This.
18233
a728a38f
L
18234 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18235 __SSE_MATH__.
18236
6e230d11
SP
182372012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18238
18239 [BZ #14134]
18240 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18241 character 0xffff that matches the last element of the
18242 conversion table.
18243
1b671feb
AZ
182442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18245
18246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18247 fmodl commit.
18248
6043738b
AZ
182492012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18250
18251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18252 values higher than 25.6283.
18253
34ae0b32
AZ
182542012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18255
18256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18257 subnormal exponent extraction and add some __builtin_expect.
18258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18259 Fix for subnormal mantissa calculation.
18260
1214ec8f
MF
182612012-06-04 Mike Frysinger <vapier@gentoo.org>
18262
18263 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18264 cpu2 is -1 and errno is not ENOSYS.
18265
f3d1f93c
L
182662012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18267
18268 [BZ #14117]
0e4a3cd7
L
18269 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18270 * sysdeps/x86/bits/string.h: This.
18271 * sysdeps/x86_64/bits/string.h: Removed.
18272
6704c645
L
18273 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18274 if not compiling for x86-64, but compiling for >= i486.
18275
48495318
L
18276 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18277 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18278
14adcbfc
L
18279 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18280 New macro from Linux kernel 3.4.0.
18281 (FP_XSTATE_MAGIC2): Likewise.
18282 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18283 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18284 (struct _fpx_sw_bytes): New struct.
18285 (struct _xsave_hdr): Likewise.
18286 (struct _ymmh_state): Likewise.
18287 (struct _xstate): Likewise.
18288
68e408ab
L
18289 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18290 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18292 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18293 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18294 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18295
f3d1f93c
L
18296 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18297 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18298 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18299 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18300 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18301 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18302
d9dc34cd
TMQMF
183032012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18304
18305 [BZ #13743]
18306 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18307 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18308 (sysdep_headers): Include sys/platform/ppc.h.
18309 * sysdeps/powerpc/test-gettimebase.c: Test for
18310 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18311 * manual/Makefile (appendices): Include platform.texi.
18312 * manual/contrib.texi (Contributors): Update @node pointers.
18313 * manual/maint.texi (Maintenance): Likewise.
18314 (Platform): New node.
18315 * manual/platform.texi: New file. Document the new features.
18316
4af3879c
SP
183172012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18318 Jakub Jelinek <jakub@redhat.com>
18319
18320 [BZ #14188]
18321 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18322 where __builtin_expect is unavailable.
18323
2fd6ff13
DM
183242012-06-03 David S. Miller <davem@davemloft.net>
18325
18326 * stdlib/longlong.h: Updated from GCC.
18327
173f7220
AS
183282012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18329
18330 [BZ #14042]
18331 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18332 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18333 __mcount_internal.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18335 (GLIBC_2.16): Likewise.
18336
f34a1c6f
L
183372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18338
18339 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18340
88a4576f
JM
183412012-06-01 Joseph Myers <joseph@codesourcery.com>
18342
ea32bcdd
JM
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18344 (default-abi): New variable.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18346 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18347 variable.
18348 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18349 Likewise.
18350 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18351 Likewise.
18352 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18353 Likewise.
18354
88a4576f
JM
18355 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18356 definition. Document in comment.
18357
402fe938
DM
183582012-06-01 David S. Miller <davem@davemloft.net>
18359
18360 * stdlib/longlong.h: Updated from GCC.
18361
3553723f
L
183622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18363
18364 [BZ #14117]
3bd872c4
L
18365 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18366 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18367 sys/debugreg.h sys/io.h here.
18368 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18369 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18370 sys/io.h.
18371 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18372 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18373 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18374 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18375 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18376 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18377
3553723f
L
18378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18379 Define only if __x86_64__ is defined.
18380
4842e4fe
JM
183812012-06-01 Joseph Myers <joseph@codesourcery.com>
18382
c5bfe3d5
JM
18383 [BZ #14048]
18384 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18385 Use int64_t for variable i.
18386 * math/libm-test.inc (fmod_test): Add more tests.
18387
4842e4fe
JM
18388 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18389 z computation is not scheduled after fetestexcept.
18390 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18391 Use math_force_eval instead of asm to ensure calculation scheduled
18392 before exception test.
18393 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18394 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18395
efb73488
AJ
183962012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18397
18398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18399 computation is not scheduled after fetestexcept.
18400
29bcce7c
L
184012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18402
18403 [BZ #14117]
18404 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18405 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18406
73a68f94
AZ
184072012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18408
18409 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18410 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18411
67b6df78
L
184122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18413
edf2933a 18414 [BZ #14117]
ebc64a18
L
18415 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18416 <bits/wordsize.h>.
18417 (__WCHAR_MIN): Support __WORDSIZE == 64.
18418 (__WCHAR_MAX): Likewise.
18419
edf2933a
L
18420 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18422
57c6cf40
L
18423 [BZ #14183]
18424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18425 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18426
67b6df78 18427 [BZ #14117]
8eb6281e
L
18428 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18429 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18430
aac639f4
L
18431 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18432 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18433
67b6df78
L
18434 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18435 Defined to 1 if __x86_64__ isn't defined.
18436 (_STAT_VER_LINUX_OLD): New.
18437 (st_atime): Remove duplicate.
18438 (st_mtime): Likewise.
18439 (st_ctime): Likewise.
18440
1c2cfe81
DM
184412012-05-31 David S. Miller <davem@davemloft.net>
18442
18443 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18444 entries.
18445
5be8418c
AS
184462012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18447
e7725326
AS
18448 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18449 gen-libm-test.pl.
18450
5be8418c
AS
18451 [BZ #14132]
18452 * elf/dl-reloc.c: Include <_itoa.h>.
18453 (_dl_reloc_bad_type): Remove use of INTUSE.
18454 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18455 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18456 * stdio-common/psiginfo.c (psiginfo): Likewise.
18457 * stdio-common/psignal.c (psignal): Likewise.
18458 * string/strsignal.c (strsignal): Likewise.
18459 * include/signal.h (_sys_siglist): Declare hidden proto.
18460 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18461 INTVARDEF with libc_hidden_data_def.
18462 * stdio-common/itoa-udigits.c: Likewise.
18463 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18464 (_itoa_lower_digits_internal): Remove declaration.
18465 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18466 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18467 (_sys_sigabbrev_internal): Remove aliases.
18468 (_sys_siglist): Define hidden alias.
18469
507352f1
MT
184702012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18471
18472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18473 bits/sysctl.h.
18474
42bbb1c3
L
184752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18476
18477 [BZ #14117]
6bd784b6
L
18478 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18479 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18480
8bca20f0
L
18481 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18482 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18484 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18485 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18486 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18487
f9e890a9
L
18488 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18489 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18490 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18491
471101a1
L
18492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18493 with __addr.
18494 (insw): Likewise.
18495 (insl): Likewise.
18496 (outsb): Likewise.
18497 (outsw): Likewise.
18498 (outsl): Likewise.
18499
6451c862
L
18500 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18502 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18503
a254b8c9
L
18504 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18505 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18506 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18507 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18508 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18509 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18510
b8dfdd92
L
18511 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18512 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18513
578cd270
L
18514 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18515 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18516
de662f5f
L
18517 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18518 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18519 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18520
25653439
L
18521 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18522 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18523 to ...
18524 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18525
6bad24a0
L
18526 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18527 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18528 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18529
42bbb1c3
L
18530 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18531 for x86-64.
18532 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18533
2d10d547
JM
185342012-05-31 Joseph Myers <joseph@codesourcery.com>
18535
18536 * math/math.h (M_El): Use two more decimal places.
18537 (M_LOG2El): Likewise.
18538 (M_LOG10El): Likewise.
18539 (M_LN2l): Likewise.
18540 (M_LN10l): Likewise.
18541 (M_PIl): Likewise.
18542 (M_PI_2l): Likewise.
18543 (M_PI_4l): Likewise.
18544 (M_1_PIl): Likewise.
18545 (M_2_PIl): Likewise.
18546 (M_2_SQRTPIl): Likewise.
18547 (M_SQRT2l): Likewise.
18548 (M_SQRT1_2l): Likewise.
18549
f230c29b
DM
185502012-05-31 David S. Miller <davem@davemloft.net>
18551
18552 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18553 values between float registers.
18554 * sysdeps/sparc/sparc64/memset.S: Likewise.
18555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18556
fed806c3
MF
185572012-05-31 Mike Frysinger <vapier@gentoo.org>
18558
18559 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18560 -D_FORTIFY_SOURCE=1.
18561 (CPPFLAGS-tst-longjmp_chk.c): Define.
18562 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18563 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18564 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18565 CFLAGS-tst-wchar-h.c.
18566
30917259
MP
185672012-05-31 Marek Polacek <polacek@redhat.com>
18568
18569 [BZ #14132]
18570 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18571 __endmntent_internal): Remove declaration.
18572 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18573 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18574 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18575
1c58d5dc
DM
185762012-05-30 David S. Miller <davem@davemloft.net>
18577
18578 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18579 (___Q_simulate_exceptions): Use real FP ops rather than writing
18580 into the %fsr.
18581 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18582 Likewise.
18583
7dc00e0d
L
185842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18585
18586 [BZ #14117]
0bd53985
L
18587 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18588 * sysdeps/x86/bits/xtitypes.h: This.
18589
3a257e66
L
18590 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18591 * sysdeps/x86/bits/wordsize.h: This.
18592
62f62904
L
18593 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18594 * sysdeps/x86/bits/huge_vall.h: This.
18595
404fe9d9
L
18596 * sysdeps/i386/bits/select.h: Removed.
18597 * sysdeps/x86_64/bits/select.h: Renamed to ...
18598 * sysdeps/x86/bits/select.h: This.
18599
d48d0446
L
18600 * sysdeps/i386/bits/setjmp.h: Removed.
18601 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18602 * sysdeps/x86/bits/setjmp.h: This.
18603
7dc00e0d
L
18604 * sysdeps/i386/bits/mathdef.h: Removed.
18605 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18606 * sysdeps/x86/bits/mathdef.h: This.
18607
03277f8f
AS
186082012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18609
18610 [BZ #14132]
18611 * include/sys/socket.h (__connect_internal)
18612 (__libc_sa_len_internal): Remove declaration.
18613 (__connect, __libc_sa_len): Declare hidden_proto.
18614 (SA_LEN): Remove use of INTUSE.
18615 * socket/connect.c: Add libc_hidden_def.
18616 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18617 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18618 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18619 alias.
18620 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18621 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18622 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18623 of adding _internal alias.
18624
13764867
L
186252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18626
18627 [BZ #14117]
6bd97696
L
18628 * sysdeps/i386/bits/link.h: Removed.
18629 * sysdeps/i386/bits/linkmap.h: Likewise.
18630 * sysdeps/x86_64/bits/link.h: Renamed to ...
18631 * sysdeps/x86/bits/link.h: This.
18632 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18633 * sysdeps/x86/bits/linkmap.h: This.
18634
f726f0bb
L
18635 * sysdeps/i386/bits/endian.h: Removed.
18636 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18637 * sysdeps/x86/bits/endian.h: This.
18638
13764867
L
18639 * sysdeps/i386/bits/byteswap.h: Removed.
18640 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18641 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18642 * sysdeps/x86/bits/byteswap.h: This.
18643 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18644 * sysdeps/x86/bits/byteswap-16.h: This.
18645 * sysdeps/i386/Implies: Add x86.
18646 * sysdeps/x86_64/Implies: Likewise.
18647
ae251b0b
DM
186482012-05-30 David S. Miller <davem@davemloft.net>
18649
18650 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18651 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18653 (FP_TRAPPING_EXCEPTIONS): Define.
18654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18655 (FP_TRAPPING_EXCEPTIONS): Define.
18656 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18657 subnormals only when inexact has been signalled or underflow
18658 exceptions are enabled.
18659 (_FP_PACK_CANONICAL): Likewise.
18660
d5c90867
L
186612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18662
18663 [BZ #14183]
18664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18665 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18666
63f1549e
RH
186672012-05-30 Richard Henderson <rth@twiddle.net>
18668
8d8f2279
RH
18669 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18670 with #ifndef NOT_IN_libc.
18671
63f1549e
RH
18672 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18673 marked to avoid plt entry.
18674
0ab0291b
L
186752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18676
18677 [BZ #14112]
18678 * Makeconfig (default-abi): New macro.
18679 (abi-includes): Likewise.
18680 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18681 $(abi-$(default-abi)-lib-soname) for soname if defined.
18682 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18683 abi-variants.
18684 * Makefile (installed-stubs): Likewise.
18685 * include/stubs-biarch.h: Removed.
18686 * scripts/lib-names.awk: Only handle one library at a time.
18687 * scripts/soversions.awk: Remove WORDSIZE support.
18688 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18689 entries.
18690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18691 Removed.
18692 (syscall-list-default-condition): Likewise.
18693 (syscall-list-default-condition): Likewise.
18694 (syscall-list-includes): Likewise.
18695 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18696 syscall-list-* with abi-*. Handle undefined abi-variants.
18697 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18698 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18699 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18700 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18701 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18702 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18703 Removed.
18704 (syscall-list-32-options): Likewise.
18705 (syscall-list-32-condition): Likewise.
18706 (syscall-list-64-options): Likewise.
18707 (syscall-list-64-condition): Likewise.
18708 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18709 macro.
18710 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18711 Renamed to ...
18712 (abi-*): This.
18713 (abi-64-ld-soname): New macro.
18714 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18715 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18716 Renamed to ...
18717 (abi-*): This.
18718 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18719 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18720
4da0431d
JM
187212012-05-30 Joseph Myers <joseph@codesourcery.com>
18722
3a85279c
JM
18723 * sysdeps/unix/sysv/linux/kernel-features.h
18724 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18725 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18726 include <kernel-features.h>.
18727 [!__NR_ftruncate64]: Remove conditional code.
18728 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18729 [__NR_ftruncate64]: Make code unconditional.
18730 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18731 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18732 include <kernel-features.h>.
18733 [!__NR_ftruncate64]: Remove conditional code.
18734 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18735 [__NR_ftruncate64]: Make code unconditional.
18736 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18738 include <kernel-features.h>.
18739 [!__NR_ftruncate64]: Remove conditional code.
18740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18741 [__NR_ftruncate64]: Make code unconditional.
18742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18744 include <kernel-features.h>.
18745 [!__NR_ftruncate64]: Remove conditional code.
18746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18747 [__NR_ftruncate64]: Make code unconditional.
18748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18749
4da0431d
JM
18750 * configure.in (libc_cv_fpie): Weaken to a compile test using
18751 LIBC_TRY_CC_OPTION.
18752 * configure: Regenerated.
18753
11ef492c
AK
187542012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18755
18756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18760 Refreshed.
18761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18767 Refreshed.
18768
d66ef399
DM
187692012-05-27 David S. Miller <davem@davemloft.net>
18770
18771 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18772 (___Q_zero): New.
18773 (__Q_simulate_exceptions): Return void. Change to simulate
18774 exceptions by writing into the %fsr.
18775 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18776 (__Qp_handle_exceptions): Likewise.
18777 (numbers): Delete.
18778 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18779 __Qp_handle_exceptions.
18780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18781 __Qp_handle_exceptions.
18782 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18783 as unused and give dummy FP_RND_NEAREST initializer.
18784 (FP_INHIBIT_RESULTS): Define.
18785 (___Q_simulate_exceptions): Update declaration.
18786 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18787 formatting.
18788 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18789 as unused and give dummy FP_RND_NEAREST initializer.
18790 (__Qp_handle_exceptions): Update declaration.
18791 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18792 formatting.
18793
04fb54b5
TS
187942012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18795
18796 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18797 the temporary FPU control word.
18798 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18799 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18800 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18801 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18802 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18803 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18804 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18805 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18806 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18807 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18808 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18809
3f99608f
KK
188102012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18811
18812 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18813 fields.
18814
65a4de4e
CLT
188152012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18816
18817 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18818 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18819 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18820 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18821 Likewise.
18822 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18823 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18824 Likewise.
18825
15749d40
UD
188262012-05-27 Ulrich Drepper <drepper@gmail.com>
18827
18828 * po/h.po: Update from translation team.
18829
25dbcb27
AS
188302012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18831
3d3f8e55
AS
18832 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18833
25dbcb27
AS
18834 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18835 handling of denormals.
18836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18837 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18838 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18839 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18843 Likewise.
18844
7ad47a80 188452012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18846
18847 [BZ #14152]
18848 * math/libm-test.inc (fma_test): Don't always expect underflow
18849 exception.
18850
9c6ea9fa
SP
188512012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18852
18853 [BZ #12416]
18854 * elf/tst-execstack.c: Include stackinfo.h.
18855 (do_test): Adjust test case to ensure that pthread_getattr_np
18856 behaviour remains the same after marking stack executable.
18857
a8239222
JM
188582012-05-25 Joseph Myers <joseph@codesourcery.com>
18859
18860 * sysdeps/unix/sysv/linux/kernel-features.h
18861 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18862 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18863 kernel-features.h.
18864 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18865 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18866 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18867 kernel-features.h.
18868 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18869 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18870
918b5606
L
188712012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18872
18873 * configure.in: Define the default includes to being none.
18874 * configure: Regenerated.
18875
3a097cc7
RM
188762012-05-25 Roland McGrath <roland@hack.frob.com>
18877
8422c9a5
RM
18878 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18879 * sysdeps/x86_64/setjmp.S: Likewise.
18880 * sysdeps/i386/bsd-setjmp.S: Likewise.
18881 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18882 * sysdeps/i386/setjmp.S: Likewise.
18883 * sysdeps/i386/__longjmp.S: Likewise.
18884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18885 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18886
3a097cc7
RM
18887 * include/stap-probe.h: New file.
18888 * configure.in: Handle --enable-systemtap.
18889 * configure: Regenerated.
18890 * config.h.in (USE_STAP_PROBE): New #undef.
18891 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18892 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18893 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18894
21708942
JM
188952012-05-25 Joseph Myers <joseph@codesourcery.com>
18896
18897 [BZ #13717]
18898 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18899 to 2.4.0 where earlier.
18900 * sysdeps/unix/sysv/linux/configure: Regenerated.
18901 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18902 <kernel-features.h>.
18903 [__ASSUME_32BITUIDS]: Make code unconditional.
18904 [!__ASSUME_32BITUIDS]: Remove conditional code.
18905 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18906 <kernel-features.h>.
18907 [__ASSUME_32BITUIDS]: Make code unconditional.
18908 [!__ASSUME_32BITUIDS]: Remove conditional code.
18909 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18910 [__ASSUME_32BITUIDS]: Make code unconditional.
18911 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18912 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18913 <kernel-features.h>.
18914 [__ASSUME_32BITUIDS]: Make code unconditional.
18915 [!__ASSUME_32BITUIDS]: Remove conditional code.
18916 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18917 <kernel-features.h>.
18918 [__ASSUME_32BITUIDS]: Make code unconditional.
18919 [!__ASSUME_32BITUIDS]: Remove conditional code.
18920 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18921 <kernel-features.h>.
18922 [__ASSUME_32BITUIDS]: Make code unconditional.
18923 [!__ASSUME_32BITUIDS]: Remove conditional code.
18924 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18925 <kernel-features.h>.
18926 [__ASSUME_32BITUIDS]: Make code unconditional.
18927 [!__ASSUME_32BITUIDS]: Remove conditional code.
18928 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18929 <kernel-features.h>.
18930 [__ASSUME_32BITUIDS]: Make code unconditional.
18931 [!__ASSUME_32BITUIDS]: Remove conditional code.
18932 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18933 <kernel-features.h>.
18934 [__ASSUME_32BITUIDS]: Make code unconditional.
18935 [!__ASSUME_32BITUIDS]: Remove conditional code.
18936 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18937 <kernel-features.h>.
18938 [__ASSUME_32BITUIDS]: Make code unconditional.
18939 [!__ASSUME_32BITUIDS]: Remove conditional code.
18940 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18941 <kernel-features.h>.
18942 [__ASSUME_32BITUIDS]: Make code unconditional.
18943 [!__ASSUME_32BITUIDS]: Remove conditional code.
18944 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18945 <kernel-features.h>.
18946 [__ASSUME_32BITUIDS]: Make code unconditional.
18947 [!__ASSUME_32BITUIDS]: Remove conditional code.
18948 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18949 <kernel-features.h>.
18950 [__ASSUME_32BITUIDS]: Make code unconditional.
18951 [!__ASSUME_32BITUIDS]: Remove conditional code.
18952 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18953 <kernel-features.h>.
18954 [__NR_setresgid] (__setresgid): Do not declare.
18955 [__ASSUME_32BITUIDS]: Make code unconditional.
18956 [!__ASSUME_32BITUIDS]: Remove conditional code.
18957 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18958 <kernel-features.h>.
18959 [__NR_setresuid] (__setresuid): Do not declare.
18960 [__ASSUME_32BITUIDS]: Make code unconditional.
18961 [!__ASSUME_32BITUIDS]: Remove conditional code.
18962 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18963 <kernel-features.h>.
18964 [__ASSUME_32BITUIDS]: Make code unconditional.
18965 [!__ASSUME_32BITUIDS]: Remove conditional code.
18966 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18967 <kernel-features.h>.
18968 [__ASSUME_32BITUIDS]: Make code unconditional.
18969 [!__ASSUME_32BITUIDS]: Remove conditional code.
18970 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18971 <kernel-features.h>.
18972 [__ASSUME_32BITUIDS]: Make code unconditional.
18973 [!__ASSUME_32BITUIDS]: Remove conditional code.
18974 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18975 <kernel-features.h>.
18976 [__ASSUME_32BITUIDS]: Make code unconditional.
18977 [!__ASSUME_32BITUIDS]: Remove conditional code.
18978 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18979 <kernel-features.h>.
18980 [__ASSUME_32BITUIDS]: Make code unconditional.
18981 [!__ASSUME_32BITUIDS]: Remove conditional code.
18982 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18983 <kernel-features.h>.
18984 [__ASSUME_32BITUIDS]: Make code unconditional.
18985 [!__ASSUME_32BITUIDS]: Remove conditional code.
18986 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18987 <kernel-features.h>.
18988 [__ASSUME_32BITUIDS]: Make code unconditional.
18989 [!__ASSUME_32BITUIDS]: Remove conditional code.
18990 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18991 <kernel-features.h>.
18992 [__ASSUME_32BITUIDS]: Make code unconditional.
18993 [!__ASSUME_32BITUIDS]: Remove conditional code.
18994 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18995 <kernel-features.h>.
18996 [__ASSUME_32BITUIDS]: Make code unconditional.
18997 [!__ASSUME_32BITUIDS]: Remove conditional code.
18998 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18999 <kernel-features.h>.
19000 [__ASSUME_32BITUIDS]: Make code unconditional.
19001 [!__ASSUME_32BITUIDS]: Remove conditional code.
19002 * sysdeps/unix/sysv/linux/kernel-features.h
19003 (__ASSUME_SETRESUID_SYSCALL): Remove.
19004 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19005 (__ASSUME_32BITUIDS): Likewise.
19006 (__ASSUME_LDT_WORKS): Likewise.
19007 (__ASSUME_O_DIRECTORY): Likewise.
19008 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19009 architecture but not kernel version.
19010 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19011 (__ASSUME_MMAP2_SYSCALL): Likewise.
19012 (__ASSUME_STAT64_SYSCALL): Likewise.
19013 (__ASSUME_IPC64): Likewise.
19014 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19015 <kernel-features.h>.
19016 [__ASSUME_32BITUIDS]: Make code unconditional.
19017 [!__ASSUME_32BITUIDS]: Remove conditional code.
19018 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19019 <kernel-features.h>.
19020 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19021 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19022 132096]: Remove conditional code.
19023 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19024 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19025 <kernel-features.h>.
19026 [__ASSUME_32BITUIDS]: Make code unconditional.
19027 [!__ASSUME_32BITUIDS]: Remove conditional code.
19028 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19029 <kernel-features.h>.
19030 [__ASSUME_32BITUIDS]: Make code unconditional.
19031 [!__ASSUME_32BITUIDS]: Remove conditional code.
19032 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19033 <kernel-features.h>.
19034 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19035 unconditional.
19036 (__setresgid): Do not declare.
19037 [__ASSUME_32BITUIDS]: Make code unconditional.
19038 [!__ASSUME_32BITUIDS]: Remove conditional code.
19039 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19040 <kernel-features.h>.
19041 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19042 unconditional.
19043 (__setresuid): Do not declare.
19044 [__ASSUME_32BITUIDS]: Make code unconditional.
19045 [!__ASSUME_32BITUIDS]: Remove conditional code.
19046 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19047 <kernel-features.h>.
19048 [__ASSUME_32BITUIDS]: Make code unconditional.
19049 [!__ASSUME_32BITUIDS]: Remove conditional code.
19050 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19051 <kernel-features.h>.
19052 [__ASSUME_32BITUIDS]: Make code unconditional.
19053 [!__ASSUME_32BITUIDS]: Remove conditional code.
19054
a386f1cc
RH
190552012-05-25 Richard Henderson <rth@twiddle.net>
19056
19057 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19058 dl_hwcap to ifunc resolver.
19059 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19060 elf_ifunc_invoke.
19061 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19062 dl_hwcap to ifunc resolver.
19063 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19064
b6550497
JM
190652012-05-24 Joseph Myers <joseph@codesourcery.com>
19066
19067 [BZ #14153]
19068 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19069 for |x| <= 2**-26, not 2**-57.
19070 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19071 exception.
19072
b0bc23a1
JL
190732012-05-24 Jeff Law <law@redhat.com>
19074
19075 * stdio-common/Makefile (tests): Add bug25.
19076 * stdio-common/bug25.c: New test.
19077
347c92e9
L
190782012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19079
19080 [BZ #13576]
19081 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19082 multiple of MALLOC_ALIGNMENT in size.
19083 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19084
6bcc8b3f
JM
190852012-05-24 Joseph Myers <joseph@codesourcery.com>
19086
19087 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19088 Require >= 256.
19089 (FILENAME_MAX): Use macro-int-constant.
19090 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19091 (_IOFBF): Use macro-int-constant.
19092 (_IOLBF): Likewise.
19093 (_IONBF): Likewise.
19094 (SEEK_CUR): Likewise.
19095 (SEEK_END): Likewise.
19096 (SEEK_SET): Likewise.
19097 (TMP_MAX): Likewise.
19098 (EOF): Use macro-int-constant. Require < 0.
19099 (NULL): Use macro-constant. Require == 0.
19100 (stdin): Require type to be FILE *.
19101 (stdout): Likewise.
19102 (stderr): Likewise.
19103 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19104 macro-int-constant.
19105 (EXIT_SUCCESS): Likewise.
19106 (NULL): Use macro-constant. Require == 0.
19107 (RAND_MAX): Use macro-int-constant.
19108 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19109 [C99-based standards] (strtof): Require function.
19110 [C99-based standards] (strtold): Likewise.
19111 [C99-based standards] (strtoll): Likewise.
19112 [C99-based standards] (strtoull): Likewise.
19113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19114 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19115 [ISO || ISO99 || ISO11] (math.h): Likewise.
19116 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19117 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19119
d18ea0c5
AS
191202012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19121
19122 [BZ #14132]
56d25bb8
AS
19123 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19124 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19125 * intl/dgettext.c (DCGETTEXT): Likewise.
19126 * intl/gettext.c (DCGETTEXT): Likewise.
19127 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19128 * posix/regex_internal.h (gettext): Likewise.
19129 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19130 Remove declaration.
19131 * include/argz.h (__argz_count_internal)
19132 (__argz_stringify_internal): Remove declaration.
19133 (__argz_count, __argz_stringify): Declare hidden proto.
19134 * intl/dcgettext.c: Remove use of INTDEF.
19135 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19136 * string/argz-stringify.c: Likewise.
19137 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19138 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19139 Declare hidden proto.
d18ea0c5
AS
19140 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19141 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19142 Declare hidden proto.
19143 * include/stdio.h (__asprintf_internal): Don't declare.
19144 (__asprintf): Don't define as macro. Declare hidden proto.
19145 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19146 (__fsetlocking): Declare hidden proto.
19147 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19148 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19149 hidden proto.
19150 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19151 (_IO_setlinebuf): Remove use of INTUSE.
19152 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19153 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19154 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19155 Remove declaration.
19156 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19157 (_IO_do_flush): Remove use of INTUSE.
19158 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19159 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19160 (_IO_adjust_column, _IO_least_wmarker)
19161 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19162 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19163 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19164 (_IO_default_doallocate, _IO_wdefault_doallocate)
19165 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19166 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19167 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19168 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19169 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19170 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19171 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19172 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19173 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19174 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19175 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19176 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19177 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19178 proto.
19179 (_IO_flush_all_internal, _IO_adjust_column_internal)
19180 (_IO_default_uflow_internal, _IO_default_finish_internal)
19181 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19182 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19183 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19184 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19185 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19186 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19187 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19188 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19189 (_IO_file_close_internal, _IO_file_close_it_internal)
19190 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19191 (_IO_file_init_internal, _IO_file_attach_internal)
19192 (_IO_file_fopen_internal, _IO_file_read_internal)
19193 (_IO_file_sync_internal, _IO_file_seek_internal)
19194 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19195 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19196 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19197 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19198 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19199 (_IO_list_all_internal, _IO_link_in_internal)
19200 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19201 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19202 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19203 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19204 (_IO_do_write_internal, _IO_padn_internal)
19205 (_IO_getline_info_internal, _IO_getline_internal)
19206 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19207 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19208 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19209 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19210 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19211 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19212 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19213 with libc_hidden_ver, remove use of INTUSE.
19214 * libio/genops.c: Likewise.
19215 * libio/freopen.c: Likewise.
19216 * libio/freopen64.c: Likewise.
19217 * libio/iofclose.c: Likewise.
19218 * libio/iofdopen.c: Likewise.
19219 * libio/iofflush.c: Likewise.
19220 * libio/iofflush_u.c: Likewise.
19221 * libio/iofgets.c: Likewise.
19222 * libio/iofgets_u.c: Likewise.
19223 * libio/iofopen.c: Likewise.
19224 * libio/iofopncook.c: Likewise.
19225 * libio/iofread.c: Likewise.
19226 * libio/iofread_u.c: Likewise.
19227 * libio/ioftell.c: Likewise.
19228 * libio/iofwrite.c: Likewise.
19229 * libio/iogetline.c: Likewise.
19230 * libio/iogets.c: Likewise.
19231 * libio/iogetwline.c: Likewise.
19232 * libio/iopadn.c: Likewise.
19233 * libio/iopopen.c: Likewise.
19234 * libio/ioseekoff.c: Likewise.
19235 * libio/ioseekpos.c: Likewise.
19236 * libio/iosetbuffer.c: Likewise.
19237 * libio/iosetvbuf.c: Likewise.
19238 * libio/ioungetc.c: Likewise.
19239 * libio/ioungetwc.c: Likewise.
19240 * libio/iovdprintf.c: Likewise.
19241 * libio/iovsprintf.c: Likewise.
19242 * libio/iovsscanf.c: Likewise.
19243 * libio/memstream.c: Likewise.
19244 * libio/obprintf.c: Likewise.
19245 * libio/oldfileops.c: Likewise.
19246 * libio/oldiofclose.c: Likewise.
19247 * libio/oldiofdopen.c: Likewise.
19248 * libio/oldiofopen.c: Likewise.
19249 * libio/oldiopopen.c: Likewise.
19250 * libio/oldstdfiles.c: Likewise.
19251 * libio/putc.c: Likewise.
19252 * libio/setbuf.c: Likewise.
19253 * libio/setlinebuf.c: Likewise.
19254 * libio/stdfiles.c: Likewise.
19255 * libio/strops.c: Likewise.
19256 * libio/vasprintf.c: Likewise.
19257 * libio/vscanf.c: Likewise.
19258 * libio/vsnprintf.c: Likewise.
19259 * libio/vswprintf.c: Likewise.
19260 * libio/wfiledoalloc.c: Likewise.
19261 * libio/wfileops.c: Likewise.
19262 * libio/wgenops.c: Likewise.
19263 * libio/wmemstream.c: Likewise.
19264 * libio/wstrops.c: Likewise.
19265 * libio/__fpurge.c: Likewise.
19266 * libio/__fsetlocking.c: Likewise.
19267 * assert/assert.c: Likewise.
19268 * debug/fgets_chk.c: Likewise.
19269 * debug/fgets_u_chk.c: Likewise.
19270 * debug/fread_chk.c: Likewise.
19271 * debug/fread_u_chk.c: Likewise.
19272 * debug/gets_chk.c: Likewise.
19273 * debug/obprintf_chk.c: Likewise.
19274 * debug/vasprintf_chk.c: Likewise.
19275 * debug/vdprintf_chk.c: Likewise.
19276 * debug/vsnprintf_chk.c: Likewise.
19277 * debug/vsprintf_chk.c: Likewise.
19278 * malloc/mtrace.c: Likewise.
19279 * misc/error.c: Likewise.
19280 * misc/syslog.c: Likewise.
19281 * stdio-common/asprintf.c: Likewise.
19282 * stdio-common/fxprintf.c: Likewise.
19283 * stdio-common/getw.c: Likewise.
19284 * stdio-common/isoc99_fscanf.c: Likewise.
19285 * stdio-common/isoc99_scanf.c: Likewise.
19286 * stdio-common/isoc99_vfscanf.c: Likewise.
19287 * stdio-common/isoc99_vscanf.c: Likewise.
19288 * stdio-common/isoc99_vsscanf.c: Likewise.
19289 * stdio-common/printf-prs.c: Likewise.
19290 * stdio-common/printf_fp.c: Likewise.
19291 * stdio-common/printf_fphex.c: Likewise.
19292 * stdio-common/printf_size.c: Likewise.
19293 * stdio-common/putw.c: Likewise.
19294 * stdio-common/scanf.c: Likewise.
19295 * stdio-common/sprintf.c: Likewise.
19296 * stdio-common/tmpfile.c: Likewise.
19297 * stdio-common/vfprintf.c: Likewise.
19298 * stdio-common/vfscanf.c: Likewise.
19299 * stdlib/strfmon_l.c: Likewise.
19300 * sunrpc/openchild.c: Likewise.
19301 * sunrpc/xdr_stdio.c: Likewise.
19302 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19303 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19304
d6c33fda
RM
193052012-05-24 Roland McGrath <roland@hack.frob.com>
19306
c1487492
RM
19307 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19308
19309 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19310 in the third column, to generate for the shared library an IFUNC
19311 that uses _dl_vdso_vsym.
19312 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19313 * Makeconfig (object-suffixes-noshared): New variable.
19314
19315 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19316 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19317 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19318 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19319
d6c33fda
RM
19320 [BZ #14132]
19321 * include/sys/time.h (__gettimeofday): Remove macro.
19322 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19323 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19324 Remove INTDEF.
19325 (__gettimeofday): Add libc_hidden_def.
19326 (gettimeofday): Add libc_hidden_weak.
19327 * sysdeps/mach/gettimeofday.c: Likewise.
19328 * sysdeps/posix/gettimeofday.c: Likewise.
19329 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19330 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19332 (__gettimeofday_internal): Remove strong_alias.
19333 (__gettimeofday): Add libc_hidden_def.
19334 (gettimeofday): Add libc_hidden_weak.
19335 * sysdeps/unix/syscalls.list (gettimeofday):
19336 Remove __gettimeofday_internal alias.
19337
b5a2bbe6
L
193382012-05-24 Daniel Jacobowitz <drow@false.org>
19339 H.J. Lu <hongjiu.lu@intel.com>
19340
19341 [BZ #12495]
19342 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19343 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19344 (largebin_index_32_big): New.
19345 (largebin_index): Use it for 16-byte alignment.
19346 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19347 correction with front_misalign.
19348
cfba4fda
L
193492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19350
7f907421
L
19351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19353 Likewise.
19354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19355 Likewise.
19356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19357 Likewise.
19358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19359 Likewise.
19360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19361 Likewise.
19362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19363 Likewise.
19364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19365 Likewise.
19366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19367 Likewise.
19368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19369 Likewise.
19370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19371 Likewise.
19372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19373 Likewise.
19374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19375 Likewise.
19376
cfba4fda
L
19377 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19378 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19379
80bad0cc
JM
193802012-05-24 Joseph Myers <joseph@codesourcery.com>
19381
7a25eb06
JM
19382 [BZ #10846]
19383 [BZ #14036]
19384 * math/libm-test.inc (exp_test): Add test from bug 14036.
19385 (pow_test): Add test from bug 10846.
19386
795405f9
JM
19387 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19388 and other flags.
19389 (special_function): Do not include flags in test name.
19390 (parse_args): Likewise.
19391 * sysdeps/i386/fpu/libm-test-ulps: Update.
19392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19393 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19394 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19396
80bad0cc
JM
19397 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19398 exceptions.
19399 * math/libm-test.inc ("Philosophy"): Update comment about
19400 exception testing.
19401 (UNDERFLOW_EXCEPTION): New macro.
19402 (UNDERFLOW_EXCEPTION_OK): Likewise.
19403 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19404 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19405 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19406 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19407 (INVALID_EXCEPTION_OK): Update value.
19408 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19409 (OVERFLOW_EXCEPTION_OK): Likewise.
19410 (IGNORE_ZERO_INF_SIGN): Likewise.
19411 (test_exceptions): Handle underflow exceptions.
19412 (acos_test): Update for underflow exception expectations.
19413 (cexp_test): Likewise.
19414 (clog_test): Likewise.
19415 (clog10_test): Likewise.
19416 (csqrt_test): Likewise.
19417 (ctan_test): Likewise.
19418 (ctanh_test): Likewise.
19419 (exp_test): Likewise.
19420 (exp10_test): Likewise.
19421 (exp2_test): Likewise.
19422 (expm1_test): Likewise.
19423 (fma_test): Likewise.
19424 (j0_test): Likewise.
19425 (jn_test): Likewise.
19426 (nexttoward_test): Likewise.
19427 (pow_test): Likewise.
19428 (scalbn_test): Likewise.
19429 (scalbln_test): Likewise.
19430 (tan_test): Likewise.
19431 (y1_test): Likewise.
19432 * sysdeps/i386/fpu/libm-test-ulps: Update.
19433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19434
9e0e3d0b
DM
194352012-05-23 David S. Miller <davem@davemloft.net>
19436
19437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19438 (__libc_sigaction): Remove unused local variables.
19439
ccd0a08f
L
194402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19441
19442 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19443
62bdf9a6
PE
194442012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19445
f8591f80
PE
19446 mktime: avoid signed integer overflow
19447 * time/mktime.c (__mktime_internal): Do not mishandle the case
19448 where diff == INT_MIN.
19449
94c7d826
PE
19450 mktime: simplify computation of average
19451 * time/mktime.c (ranged_convert): Use new time_t_avg function
19452 instead of rolling our own (probably-slower) code.
19453
ce73d683
PE
19454 mktime: do not assume signed right shift propagates sign bit
19455 * time/mktime.c (isdst_differ): New static function.
19456 (__mktime_internal): No need to normalize tm_isdst now.
19457 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19458 tm_isdst values.
19459
72a22e59
PE
19460 mktime: merge another wrapv change from gnulib
19461 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19462 from some compilers.
19463
68605433
PE
19464 mktime: remove incorrect attempt at unusual arithmetics
19465 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19466 The code didn't really work on such machines anyway.
19467 (TYPE_MINIMUM): Assume two's complement.
19468 (twos_complement_arithmetic): Verify that long_int and time_t
19469 are two's complement (or unsigned, in the latter case).
19470
03cf7fe3
PE
19471 mktime: check signed shifts on long_int and time_t, too
19472 * time/mktime.c (SHR): Check that shifts work as desired
19473 on the types long_int and time_t too, as SHR is used on
19474 such types.
19475
f04dfbc2
PE
19476 mktime: do not assume 'long' is wide enough
19477 * time/mktime.c (verify): Move decl up.
19478 (long_int): New type.
19479 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19480 to remove assumption in the code that 'long' is wide enough to
19481 store year values. This assumption is not true on x32 and on
19482 some non-glibc platforms.
19483
62bdf9a6
PE
19484 mktime: merge wrapv change from gnulib
19485 * time/mktime.c (WRAPV): New macro.
19486 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19487 (guess_time_tm, __mktime_internal): Do not assume that signed
19488 integer overflow wraps around; modern compilers generate code
19489 where this assumption is no longer valid.
19490
5e292e4f
L
194912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19492
19493 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19494 Replace "jmp L(pseudo_end)" with "ret".
19495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19496 Likewise.
19497
8caf8c87
AJ
194982012-05-23 Andreas Jaeger <aj@suse.de>
19499
19500 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19501 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19502
1a09dc56
AJ
195032012-05-23 Andreas Jaeger <aj@suse.de>
19504 Maximilian Attems <max@stro.at>
19505
19506 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19507 New macros.
19508
1c87aba0
L
195092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19510
19511 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19512 code so that pseudo_end is just ret and the stack pointer is
19513 correct also for static library in error case.
19514
40e45bd5
JM
195152012-05-23 Joseph Myers <joseph@codesourcery.com>
19516
c2670533
JM
19517 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19518 move to syscalls.list.
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19523
40e45bd5
JM
19524 * manual/install.texi (Running make install): Do not mention Linux
19525 kernel version for which pt_chown is not needed.
19526 (Linux): Do not mention problems with nscd with 2.0 kernels.
19527 * INSTALL: Regenerated.
19528
be08eda5
AJ
195292012-05-23 Andreas Jaeger <aj@suse.de>
19530
19531 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19532 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19533 macro.
19534 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19536 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19537 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19538 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19540 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19542 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19544 * sysdeps/unix/sysv/linux/bits/in.h
19545 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19546
a6a056bb
RM
195472012-05-22 Roland McGrath <roland@hack.frob.com>
19548
19549 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19550 (PREPARE_VERSION): Just use assert instead, it will be elided
19551 under [NDEBUG] anyway.
19552
c9009328
L
195532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19554
19555 * sysdeps/unix/sysv/linux/Makefile: Include
19556 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19557 (sysdep_routines): Remove sysctl.
c9009328
L
19558 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19559 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19560 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19561 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19562 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19563
73338355
AJ
195642012-05-22 Andreas Jaeger <aj@suse.de>
19565
19566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19567 that pseudo_end is just ret and the stack pointer is correct also
19568 for static library in error case.
19569
d44638b0
PP
195702012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19571
19572 [BZ #14122]
19573 * nss/nsswitch.c (defconfig_entries): New variable.
19574 (__nss_database_lookup): Don't leak defconfig entries.
19575 (nss_parse_service_list): Don't leak on error paths.
19576 (free_database_entries): New function.
19577 (free_defconfig): New function.
19578 (free_mem): Move common code to free_database_entries.
19579
31a39bd8
L
195802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19581
da0331a8
L
19582 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19583 Add arch_prctl.
19584 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19585
31a39bd8
L
19586 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19587 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19589 New macro.
19590 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19591 (INTERNAL_SYSCALL_TYPES): Likewise.
19592 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19593 (LOAD_REGS_TYPES_[1-6]): Likewise.
19594 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19595 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19596
45470df3
AZ
195972012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19598
19599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19600 copysignl for GLIBC_2_0.
19601 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19602 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19604 logbl for GLIBC_2_0.
19605 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19606 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19607
98a61bcb
L
196082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19609
a4f6e481
L
19610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19612
f63d5db6
L
19613 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19614 Use "neg %eax".
19615
98a61bcb
L
19616 * time/mktime.c: Update copyright years.
19617
95770f14
PE
196182012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19619
6226efbd
PE
19620 mktime: merge comment-quoting-style change from gnulib
19621 * time/mktime.c: Quote 'like this' in comments.
19622 The GNU coding standards suggest that we no longer quote `like this',
19623 as "`" and "'" are typically rendered asymmetrically nowadays.
19624 The typical gnulib style is to quote 'like this' when quoting
19625 code, and "like this" when quoting English.
19626
b99e4f78
PE
19627 * time/mktime.c (compile-command): Add "-I.".
19628
643e01e6
PE
19629 mktime: merge mktime-internal.h change from gnulib
19630 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19631
2554247d
PE
19632 mktime: merge time_r change from gnulib
19633 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19634
826dd0ab
PE
19635 mktime: merge DEBUG change from gnulib
19636 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19637 case system <time.h> has a #define.
19638
bd83aabe
PE
19639 mktime: merge <sys/types.h> change from gnulib
19640 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19641 since <time.t> is now guaranteed to define time_t.
19642
95770f14
PE
19643 mktime: merge HAVE_CONFIG_H change from gnulib
19644 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19645
5e1a27a9
L
196462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19647
0e44a77e
L
19648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19649 Use "neg %eax".
19650
5e1a27a9
L
19651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19652 __rlim_t cast.
19653 (struct rusage): Use anonymous union to pad each field to
19654 __syscall_slong_t.
19655
46259bec
DM
196562012-05-21 David S. Miller <davem@davemloft.net>
19657
19658 * Makefules (o-iterator): Remove .s cases.
19659 (compile-command.s): Delete.
19660 (COMPILE.s): Delete.
19661 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19662
59f0c22e
JM
196632012-05-21 Joseph Myers <joseph@codesourcery.com>
19664
19665 * configure.in (libc_cv_predef_stack_protector): Only consider
19666 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19667 * configure: Regenerated.
19668
20c07380
L
196692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19670
bbb3154b
L
19671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19672 New macro. Use R*LP on int and pointer.
19673 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19674 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19675 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19676 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19677
20c07380
L
19678 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19679 [__WORDSIZE_TIME64_COMPAT32] instead of
19680 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19681 (struct utmp): Likewise.
19682 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19683 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19684 Renamed to ...
19685 (__WORDSIZE_TIME64_COMPAT32): This.
19686 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19687 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19688 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19689 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19690 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19691 (__WORDSIZE_TIME64_COMPAT32): New macro.
19692
d8d1017e
AJ
196932012-05-21 Andreas Jaeger <aj@suse.de>
19694
19695 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19696 only if [SHARED]. Add prototype for __wcschr_ia32.
19697
6c7fb145
RM
196982012-05-21 Roland McGrath <roland@hack.frob.com>
19699
19700 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19701 of %rbp unmolested in the jmp_buf while mangling the low bits.
19702 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19703 unmolested high bits of %rbp while demangling the low bits.
19704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19705
66274218
AJ
197062012-05-21 Andreas Jaeger <aj@suse.de>
19707
07c58f8f
AJ
19708 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19709 * sunrpc/svc_simple.c: Use it for registerrpc.
19710 * sunrpc/xcrypt.c: Use it for passwd2des.
19711
66274218
AJ
19712 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19713
61f65140
L
197142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19715
19716 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19717 Don't define if [__SYSCALL_WORDSIZE != 32].
19718 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19719 New macro.
19720
5fefb436
AJ
197212012-05-21 Bruno Haible <bruno@clisp.org>
19722 Andreas Jaeger <aj@suse.de>
19723
19724 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19725 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19726 inptr and inend for must_buffer_ch.
19727 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19728 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19729 * stdio-common/Makefile (tests): Remove bug15.
19730 (bug15-ENV): Remove macro.
19731 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19732 anymore.
19733
d8e272ab
AJ
197342012-05-19 Andreas Jaeger <aj@suse.de>
19735 Roland McGrath <roland@hack.frob.com>
19736
19737 * manual/contrib.texi: Completely rewritten. It contains now an
19738 alphabetical list of contributors and their contributions.
19739
4a56a162
RH
197402012-05-21 Richard Henderson <rth@twiddle.net>
19741
19742 * misc/getauxval.c (__getauxval): Use unsigned long int.
19743 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19744 (getauxval): Use unsigned long int.
19745
d024d23c
L
197462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19747
19748 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19749
cbc00a03
RM
197502012-05-21 Roland McGrath <roland@hack.frob.com>
19751
19752 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19753 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19754 __alignof__ (long double).
19755
478143fa
AZ
197562012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19757
19758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19759
c7683a6d
RH
197602012-05-20 Richard Henderson <rth@twiddle.net>
19761
19762 * misc/getauxval.c: New file.
19763 * misc/sys/auxv.h: New file.
19764 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19765 (routines): Add getauxval.
19766 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19767 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19768 * elf/dl-sysdep.c (_dl_auxv): Remove.
19769 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19770 * elf/dl-support.c (_dl_auxv): New variable.
19771 (_dl_aux_init): Initialize it.
19772 * manual/startup.texi (Auxiliary Vector): New node.
19773 * sysdeps/generic/bits/hwcap.h: New file.
19774 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19775 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19776 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19777 * sysdeps/sparc/sysdep.h: ... here. Include it.
19778 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19781 Update.
c7683a6d
RH
19782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19790
a6f1845d
AZ
197912012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19792
19793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19794
cbcbe830
DM
197952012-05-19 David S. Miller <davem@davemloft.net>
19796
19797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19798
e0b16cc2
JM
197992012-05-19 Joseph Myers <joseph@codesourcery.com>
19800
19801 [BZ #14123]
19802 * math/s_ccosh.c: Include <float.h>
19803 (__ccosh): Avoid internal overflow calculating sinh and cosh
19804 values before multiplying by sin and cos values.
19805 * math/s_ccoshf.c: Likewise.
19806 * math/s_ccoshl.c: Likewise.
19807 * math/s_csin.c: Likewise.
19808 * math/s_csinf.c: Likewise.
19809 * math/s_csinl.c: Likewise.
19810 * math/s_csinh.c: Likewise.
19811 * math/s_csinhf.c: Likewise.
19812 * math/s_csinhl.c: Likewise.
19813 * math/libm-test.inc (ccos_test): Add more tests.
19814 (ccosh_test): Likewise.
19815 (csin_test): Likewise.
19816 (csinh_test): Likewise.
19817 * sysdeps/i386/fpu/libm-test-ulps: Update.
19818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19819
6ad13e08
L
198202012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19821
f66f0ce8
L
19822 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19823 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19824
6ad13e08
L
19825 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19826
b1d072a7
JM
198272012-05-19 Joseph Myers <joseph@codesourcery.com>
19828
19829 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19830 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19831 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19832 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19833 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19834 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19835 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19836 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19837 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19838 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19839 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19840 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19841 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19842 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19843 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19844 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19845 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19846 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19847 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19848 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19849 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19850 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19851 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19852 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19853 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19854 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19855 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19856 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19857 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19858 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19859 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19860
9eae47cb
AJ
198612012-05-18 Andreas Jaeger <aj@suse.de>
19862
19863 * csu/.gitignore: Delete.
19864
bb07f69f
L
198652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19866
19867 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19868 (timex): Use __syscall_slong_t.
19869
e6bdb741
AJ
198702012-05-18 Andreas Jaeger <aj@suse.de>
19871 Carlos O'Donell <carlos_odonell@mentor.com>
19872
19873 * manual/install.texi (Configuring and compiling): Update
19874 description about files modified in the source directory.
d6c33fda 19875 * INSTALL: Regenerated.
e6bdb741 19876
1b74487e
L
198772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19878
19879 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19880 value. Use "or" to set return value to -1.
19881 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19882 negate return value.
19883
a88b64b9
TMQMF
198842012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19885
19886 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19887 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19888 failure if the compiler has Graphite support disabled.
19889 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19890 Likewise.
19891 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19892 CFLAGS-memmove.c): Likewise.
19893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19894 Likewise.
19895
3707636e
L
198962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19897
610b8622
L
19898 * sysdeps/x86_64/x32/_itoa.h: New file.
19899
7cd195df
L
19900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19901 getdents system call only if kernel and user dirents have the
19902 same d_ino and d_off.
19903
94b07d20
L
19904 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19905 LLONG_MAX != LONG_MAX.
19906 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19907 (_fitoa_word): Likewise.
19908
18298070
L
19909 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19910 years.
19911 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19912 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19913 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19914
553c7ea4
L
19915 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19916 include <bits/wordsize.h>. Check __x86_64__ instead of
19917 __WORDSIZE.
19918 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19919 if __x86_64__ is defined. Use anonymous union on fpstate.
19920
3707636e
L
19921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19922 anonymous union.
19923
b53ef01a
AS
199242012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19925
37fb1dc0
AS
19926 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19927 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19928 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19929 Refer to _rtld_local_ro instead of _rtld_global_ro.
19930 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19931 Likewise.
19932 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19933 Likewise.
19934 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19935 Likewise.
19936 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19937 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19938 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19939
b53ef01a
AS
19940 * sysdeps/powerpc/powerpc32/dl-machine.c
19941 (__elf_machine_runtime_setup) [PROF]: Don't reference
19942 _dl_prof_resolve.
19943
7a185db2
AJ
199442012-05-18 Andreas Jaeger <aj@suse.de>
19945
19946 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19947 function only available for GCCs before 3.4 since GCC 3.4
19948 introduced a builtin.
19949 (lrint): Likewise.
19950 (llrintf): Likewise.
19951 (llrint): Likewise.
19952 (fmaxf): Likewise.
19953 (fmax): Likewise.
19954 (fminf): Likewise.
19955 (fmin): Likewise.
19956 (rint): Likewise.
19957 (rintf): Likewise.
19958 (nearbyint): Likewise.
19959 (nearbyintf): Likewise.
19960 (ceil): Likewise.
19961 (ceilf): Likewise.
19962 (floor): Likewise.
19963 (floorf): Likewise.
19964
3e5aef87
L
199652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19966
428bd707
L
19967 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19968 on both fields and cast pointer to __syscall_ulong_t.
19969
3e5aef87
L
19970 * bits/types.h (__fsword_t): New type.
19971 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19972 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19974 (__FSWORD_T_TYPE): Likewise.
19975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19976 (__FSWORD_T_TYPE): Likewise.
19977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19978 (__FSWORD_T_TYPE): Likewise.
19979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19980 (__FSWORD_T_TYPE): Likewise.
19981 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19982 __SWORD_TYPE with __fsword_t.
19983 (statfs64): Likewise.
19984
1ba7c3dc
DM
199852012-05-17 David S. Miller <davem@davemloft.net>
19986
19987 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19988
59910343
AJ
199892012-05-17 Andreas Jaeger <aj@suse.de>
19990
19991 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19992 warning.
19993
2e4c1e9e
L
199942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19995
19996 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19997
de7f5ce7
AJ
199982012-05-17 Andreas Jaeger <aj@suse.de>
19999
20000 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20001 when it is used.
20002
286abc3d
CM
200032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20004
20005 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20006
477cc68e
L
200072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20008
20009 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20010 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20011
1a0994f5
CD
200122012-05-17 Andreas Jaeger <aj@suse.de>
20013 Carlos O'Donell <carlos_odonell@mentor.com>
20014
20015 [BZ #14059]
20016 * sysdeps/x86_64/multiarch/init-arch.h
20017 (bit_YMM_Usable): Rename to...
20018 (bit_AVX_Usable): ... this.
20019 (bit_FMA4_Usable): New macro.
20020 (bit_XMM_state): New macro.
20021 (bit_YMM_state): New macro.
20022 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20023 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20024 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20025 (CPUID_OSXSAVE): New macro.
20026 (CPUID_AVX): New macro.
20027 (CPUID_FMA4): New macro.
20028 (index_YMM_Usable): Rename to...
20029 (index_AVX_Usable): ... this.
20030 (HAS_AVX): Use HAS_ARCH_FEATURE.
20031 (HAS_FMA4): Likewise.
20032 (HAS_YMM_USABLE): Remove.
20033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20034 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20035 are present.
20036 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20037 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20038 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20039 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20040 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20041
0af797de
CM
200422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20043
20044 * math/libm-test.c: Support platforms without multiple rounding modes.
20045 * math/bug-nextafter.c: Support platforms without FP exceptions.
20046 * math/bug-nexttoward.c: Likewise.
20047 * math/test-fenv.c: Likewise.
20048 * math/test-misc.c: Likewise.
20049 * stdlib/bug-getcontext.c: Likewise.
20050
e39745ff
AJ
200512012-05-17 Andreas Jaeger <aj@suse.de>
20052
20053 * manual/examples/search.c (critter_cmp): Change signature to
20054 avoid warnings.
20055 * manual/string.texi (Collation Functions): Likewise.
20056
48970aba
L
200572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20058
20059 * bits/types.h: Fold copyright years.
20060 * bits/typesizes.h: Likewise.
20061 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20065 * time/time.h: Likewise.
20066
bedee953
PP
200672012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20068
20069 [BZ #208]
20070 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20071 in instead of returning them. Return void.
20072 (__libc_mallinfo): Accumulate over all arenas.
20073 (__malloc_stats): Adjust for change in int_mallinfo interface.
20074
61653dfb
RM
200752012-05-16 Roland McGrath <roland@hack.frob.com>
20076
30b99d79
RM
20077 [BZ #10375]
20078 * configure.in (NM): Add AC_CHECK_TOOL for it.
20079 (libc_extra_cflags): New substituted variable.
20080 Check for -fstack-protector being used implicitly.
20081 * configure: Regenerated.
20082 * config.make.in (config-extra-cflags): New variable,
20083 gets @libc_extra_cflags@.
20084 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20085
61653dfb
RM
20086 [BZ #10375]
20087 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20088 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20089 * configure: Regenerated.
20090 * config.make.in (CPPUNDEFS): New substituted variable.
20091 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20092 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20093 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20094
661768bb
L
200952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20096
20097 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20098 (mq_attr): Use __syscall_slong_t.
20099
d4261567
L
201002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20101
20102 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20103 Check __x86_64__ instead of __WORDSIZE.
20104 (_STAT_VER_LINUX): Likewise.
20105 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20106 __syscall_ulong_t and __syscall_slong_t.
20107 (stat64): Likewise.
20108
cf3ff365
L
201092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20110
20111 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20112
76cf3e4d
L
201132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20114
20115 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20116
a637753a
L
201172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20118
20119 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20120 __syscall_ulong_t.
20121
d5e05119
L
20122 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20123 include <bits/wordsize.h>. Check __x86_64__ instead of
20124 __WORDSIZE.
20125 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20126 defined.
20127 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20128
f62ee380
L
20129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20130 include <bits/wordsize.h>. Check __x86_64__ instead of
20131 __WORDSIZE.
20132 (user_regs_struct): Use "__extension__ unsigned long long"
20133 instead of "unsigned long" if __x86_64__ is defined.
20134 (user): Likewise. Pad after pointer field if __ILP32__ is
20135 defined.
20136
4e124ced
JM
201372012-05-16 Joseph Myers <joseph@codesourcery.com>
20138
6a3951a0
JM
20139 * configure.in (makeinfo): Require version 4.5 or later. Allow
20140 versions 5 to 9.
20141 * configure: Regenerated.
20142 * manual/install.texi (texinfo): Increase version requirement to
20143 4.5 or later.
20144 * INSTALL: Regenerated.
20145
4e124ced
JM
20146 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20147
953ca31a
L
201482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20149
20150 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20151
617aca05
L
20152 * sysdeps/x86_64/x32/ffs.c: New file.
20153
5762f7ae
L
20154 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20155 __syscall_ulong_t.
20156 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20157 defined. Use __syscall_ulong_t.
20158 (shminfo): Use __syscall_ulong_t.
20159 (shm_info): Likewise.
20160
a26b6856
L
20161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20162 __syscall_ulong_t.
20163
cb2b9ef7
L
20164 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20165 <bits/wordsize.h>.
20166 (msgqnum_t): Use __syscall_ulong_t.
20167 (msglen_t): Likewise.
20168 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20169 __syscall_ulong_t.
20170
34683bb0
L
20171 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20172 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20173
84a68786
L
20174 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20175
48baa5f1
L
20176 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20177 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20178
180be88b
L
20179 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20180 __syscall_slong_t.
20181
5e90c8ad
L
20182 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20183 include <bits/wordsize.h>. Check __x86_64__ instead of
20184 __WORDSIZE.
20185
23dfb58b
L
20186 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20187 "unsigned long long int" if __x86_64__ is defined.
20188 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20189
ce5d54b0
L
20190 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20191 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20192 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20193
13dc9eac
L
20194 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20195 <stdint.h>.
20196 (GET_PC): Cast to uintptr_t first.
20197 (GET_FRAME): Likewise.
20198 (GET_STACK): Likewise.
20199
a7895d15
L
20200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20202 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20203 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20204 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20205 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20206 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20207 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20208 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20209 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20211 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20212 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20213 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20214 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20215 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20217 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20218 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20219 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20221 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20222 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20223 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20224 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20225 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20226 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20229
656416c9
AS
202302012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20231
5bd66283
AS
20232 * Makerules (+depfiles): Also collect depfiles from .oS in
20233 $(extra-objs).
20234 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20235 .oS, $(libnldbl-routines)).
20236
656416c9
AS
20237 * Makerules (native-compile-mkdep-flags): Define.
20238 * sunrpc/Makefile (extra-objs): Add $(addprefix
20239 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20240 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20241 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20242 calling $(make-target-directory).
20243
a46f2169
L
202442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20245
20246 * bits/types.h (__snseconds_t): Removed.
20247 * time/time.h (struct timespec): Replace __snseconds_t with
20248 __syscall_slong_t.
20249 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20250 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20251 Likewise.
20252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20253 (__SNSECONDS_T_TYPE): Likewise.
20254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20255 (__SNSECONDS_T_TYPE): Likewise.
20256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20257 (__SNSECONDS_T_TYPE): Likewise.
20258
6af6528b
L
202592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20260
20261 * sysdeps/mach/hurd/bits/typesizes.h
20262 (__SYSCALL_SLONG_TYPE): New macro.
20263 (__SYSCALL_ULONG_TYPE): Likewise.
20264
de986b56
L
202652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20266
20267 * bits/types.h (__syscall_slong_t): New type.
20268 (__syscall_ulong_t): Likewise.
20269
20270 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20271 (__SYSCALL_ULONG_TYPE): Likewise.
20272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20273 (__SYSCALL_SLONG_TYPE): Likewise.
20274 (__SYSCALL_ULONG_TYPE): Likewise.
20275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20276 (__SYSCALL_SLONG_TYPE): Likewise.
20277 (__SYSCALL_ULONG_TYPE): Likewise.
20278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20279 (__SYSCALL_SLONG_TYPE): Likewise.
20280 (__SYSCALL_ULONG_TYPE): Likewise.
20281
85736dc7
L
202822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20283
20284 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20285 Add sigaltstack-offsets.sym.
20286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20287 <sigaltstack-offsets.h>.
20288 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20289 longjmp_msg pointer.
20290 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20291 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20292 signal stack.
20293 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20294
cc03b296
JM
202952012-05-15 Joseph Myers <joseph@codesourcery.com>
20296
a9538892
JM
20297 * elf/stackguard-macros.h: Remove file.
20298 * sysdeps/generic/stackguard-macros.h: New file.
20299 * sysdeps/i386/stackguard-macros.h: Likewise.
20300 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20301 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20302 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20303 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20304 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20305 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20306 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20307 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20308 <elf/stackguard-macros.h>.
20309
cc03b296
JM
20310 [BZ #14109]
20311 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20312 __aligned__ in attribute.
20313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20314 (gregset_t): Likewise.
20315
93171016
L
203162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20317
20318 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20319 * sysdeps/x86_64/64/Implies-after: Here. New file.
20320 * sysdeps/x86_64/x32/Implies-after: New file.
20321
d86813a0
L
203222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20323
20324 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20325 and access return value for _dl_profile_fixup. Use R10_LP to
20326 load frame size.
20327
2953ec75
L
203282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20329
20330 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20331
3b550e9e
L
203322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20333
20334 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20335 * sysdeps/x86_64/x32/sysdep.h: New file.
20336
eda41706
L
203372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20338
20339 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20340 * sysdeps/x86_64/setjmp.S: Likewise.
20341
9ea01d93
AZ
203422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20343
20344 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20346 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20347 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20348 remove unused global constant.
20349
02a91938
CM
203502012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20351
20352 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20353 include of <not-cancel.h>.
20354
6540185f
RM
203552012-05-15 Roland McGrath <roland@hack.frob.com>
20356
20357 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20358
509072a0
AJ
203592012-05-15 Jeff Law <law@redhat.com>
20360 Andreas Jaeger <aj@suse.de>
20361
20362 [BZ #13594]
20363 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20364 out from...
20365 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20366 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20367 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20368 code changing __hst_map_handle.map.
20369
ba75122d
RM
203702012-05-15 Roland McGrath <roland@hack.frob.com>
20371
20372 * configure.in (sysnames): Look for Implies-before and Implies-after
20373 files.
20374 * configure: Regenerated.
20375
890d8bd8
L
203762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20377
20378 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20379 8-byte data alignment with LP_SIZE alignment.
20380
f6ee6623
L
203812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20382
20383 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20384 into R10_LP.
20385
ea2626f6
L
203862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20387
20388 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20389
085f715e
L
203902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20391
20392 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20393 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20395 Likewise.
20396 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20397
be8498fc
L
203982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20399
20400 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20401 (stackinfo_sub_sp): Likewise.
20402
70bc83b9
L
204032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20404
20405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20406 RAX_LP.
20407
9bc0b730
L
204082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20409
20410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20411 into R*_LP.
20412
6d2850e7
L
204132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20414
20415 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20416 sizes into R*_LP.
20417
3cb84561
L
204182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20419
20420 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20421
54e2ed81
L
204222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20423
20424 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20425 into R11_LP and load __x86_64_shared_cache_size_half into
20426 R8_LP.
20427
8a17f349
L
204282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20429
20430 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20431 R8_LP.
20432
777b1eea
AZ
204332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20434
20435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20436 logb for POWER7.
20437 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20438 logbf for POWER7.
20439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20440 logbl for POWER7.
20441 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20442 powerpc32/power7/fpu/s_logb.c via #include.
20443 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20444 powerpc32/power7/fpu/s_logbf.c via #include.
20445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20446 powerpc32/power7/fpu/s_logbl.c via #include.
20447
d20d4ac2
JM
204482012-05-15 Joseph Myers <joseph@codesourcery.com>
20449
20450 * README.libm: Remove file.
20451
6cdef1ab
L
204522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20453
20454 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20455 count for x32. Use R*_LP and omit operand-size suffix.
20456
0b254d8f
L
204572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20458
20459 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20460 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20461 * sysdeps/x86_64/x32/shlib-versions: New file.
20462
ceb809dc
RM
204632012-05-14 Roland McGrath <roland@hack.frob.com>
20464
20465 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20466 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20467 Use _dl_fatal_printf instead.
20468
37f1abd4
JM
204692012-05-14 Joseph Myers <joseph@codesourcery.com>
20470
20471 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20472 set if not set by the user. Do not allow for being unset.
20473 * sysdeps/unix/sysv/linux/configure: Regenerated.
20474
11de3a33
L
204752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20476
20477 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20478 the `q' suffix from lea and replace .quad with ASM_ADDR.
20479
e02f153a
L
204802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20481
20482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20483 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20484 instead of $17.
20485 (PTR_DEMANGLE): Likewise.
20486
520ae0fd
L
204872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20488
20489 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20490 (LP_OP): Likewise.
20491 (ASM_ADDR): Likewise.
20492 (RAX_LP): Likewise.
20493 (RBP_LP): Likewise.
20494 (RBX_LP): Likewise.
20495 (RCX_LP): Likewise.
20496 (RDI_LP): Likewise.
20497 (RSI_LP): Likewise.
20498 (RSP_LP): Likewise.
20499 (R8_LP): Likewise.
20500 (R9_LP): Likewise.
20501 (R10_LP): Likewise.
20502 (R10_LP): Likewise.
20503 (R11_LP): Likewise.
20504 (R12_LP): Likewise.
20505 (R13_LP): Likewise.
20506 (R14_LP): Likewise.
20507 (R15_LP): Likewise.
20508
b985be81
L
205092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20510
20511 * sysdeps/x86_64/x32/dl-machine.h: New file.
20512
6a4888ff
AJ
205132012-05-14 Andreas Jaeger <aj@suse.de>
20514
20515 * manual/Makefile (subdir): Remove export of subdir.
20516 (all): Remove target.
20517 (.PHONY): Remove all from list.
20518 (mkinstalldirs): Remove.
20519 (.PHONY): Remove installdirs from list.
20520 ($(inst_infodir)/libc.info): Use make-target-directory.
20521 (installdirs): Remove.
20522 (subdir_%): Remove.
20523 (glibc-targets): Remove.
20524 (lib): Remove.
20525 (stubs): Remove.
20526 ($(objpfx)stubs ../po/manual.pot): Remove.
20527 ($(objpfx)stamp%): Remove.
20528 (make-target-directory): Remove.
20529 (subdir_install): Remove.
20530 (routines): Remove.
20531 (aux): Remove.
20532 (sources): Remove.
20533 (objects): Remove.
20534 (headers): Remove.
20535
20536 [BZ #13750]
20537 * manual/.gitignore: Remove, it's not needed anymore.
20538 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20539 all files in it.
20540 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20541 directory.
20542 (texis): Renamed to $(objpfx)texis.
20543 (texis-path): New, contains path to generated files.
20544 (chapters.%): Use texis-path for complete path, add extra argument
20545 libc-texinfo.sh.
20546 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20547 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20548 (summary,texi, stamp-summary): Use complete path of
20549 files. Generate files in build dir.
20550 (dir-add.texi): Build in build dir.
20551 (libm-err.texi,stamp-libm-err): Likewise.
20552 (version.texi, stamp-version): Likewise.
20553 (.%c.texi): Likewise.
20554 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20555 (mostlyclean): Remove target.
20556 (realclean): Remove target.
20557 (generated): Add new variable with contents from mostlyclean and
20558 realclean, remove entries duplicated in common-mostlyclean, add
20559 stamp-libm-err and stamp-version.
20560 (generated-dirs): Add libc directory.
20561 ($(inst_infodir)/libc.info): Install files from build dir.
20562
20563 * manual/install.texi (Configuring and compiling): Adjust since
20564 the info files are not part of the tar ball anymore.
20565
7ac77294
AJ
205662012-05-14 Andreas Jaeger <aj@suse.de>
20567
20568 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20569 variable.
20570
ffb7875d
JM
205712012-05-14 Joseph Myers <joseph@codesourcery.com>
20572
20573 [BZ #13717]
20574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20575 to 2.2.0 where earlier.
20576 * sysdeps/unix/sysv/linux/configure: Regenerated.
20577 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20578 Remove conditional code.
20579 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20580 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20581 Remove conditional code.
20582 [!__NR_lchown]: Likewise.
20583 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20584 [__NR_lchown]: Likewise.
20585 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20586 comment referencing __ASSUME_LCHOWN_SYSCALL.
20587 * sysdeps/unix/sysv/linux/i386/sigaction.c
20588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20590 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20591 Remove conditional code.
20592 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20593 (__protocol_available): Remove #if 0 code.
20594 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20595 conditional code.
20596 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20597 * sysdeps/unix/sysv/linux/kernel-features.h
20598 (__ASSUME_GETCWD_SYSCALL): Don't define.
20599 (__ASSUME_REALTIME_SIGNALS): Likewise.
20600 (__ASSUME_PREAD_SYSCALL): Likewise.
20601 (__ASSUME_PWRITE_SYSCALL): Likewise.
20602 (__ASSUME_POLL_SYSCALL): Likewise.
20603 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20604 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20605 non-SPARC.
20606 (__ASSUME_SIOCGIFNAME): Don't define.
20607 (__ASSUME_MSG_NOSIGNAL): Likewise.
20608 (__ASSUME_SENDFILE): Define unconditionally.
20609 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20610 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20611 conditional code.
20612 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20613 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20614 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20615 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20616 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20617 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20618 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20620 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20623 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20629 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20632 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20638 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20643 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20644 Remove conditional code.
20645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20646 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20647 Remove conditional code.
20648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20649 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20650 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20651 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20652 Remove conditional code.
20653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20654 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20655 Remove conditional code.
20656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20657 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20658 Remove conditional code.
20659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20660 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20661 Remove conditional code.
20662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20663 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20664 Remove conditional code.
20665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20666 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20669 * sysdeps/unix/sysv/linux/sigaction.c
20670 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20671 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20672 * sysdeps/unix/sysv/linux/sigpending.c
20673 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20674 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20675 * sysdeps/unix/sysv/linux/sigprocmask.c
20676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20678 * sysdeps/unix/sysv/linux/sigsuspend.c
20679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20682 (__libc_missing_rt_sigs): Remove.
20683 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20684 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20685 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20686 Remove conditional code.
20687 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20688 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20689 return 1.
20690 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20691 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20692 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20693 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20694
1bfb7291
AJ
206952012-05-14 Andreas Jaeger <aj@suse.de>
20696
caae5a81
AJ
20697 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20698 it's not used in glibc.
20699 (__coshm1): Likewise.
20700 (__acosh1p): Likewise.
20701 (__sgn): Likewise.
20702
1bfb7291
AJ
20703 * manual/string.texi (Copying and Concatenation): Add missing
20704 variable in concat example.
20705 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20706
c044d724
L
207072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20708
144c5467 20709 [BZ #14103]
c044d724
L
20710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20711 __builtin_clzl with __builtin_clzll.
20712
2523c62b
L
207132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20714
20715 [BZ #14104]
20716 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20717 libc_freeres_ptr.
20718
d7bb4c42
LD
207192012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20720
20721 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20722 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20723 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20724 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20725
9dc4e1fb
MF
207262012-05-14 Mike Frysinger <vapier@gentoo.org>
20727
20728 * NEWS: Update ia64 info.
20729
c7df0112
AS
207302012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20731
20732 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20733 used as bcopy.
20734
dc70356c
TS
207352012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20736
20737 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20738 * sysdeps/unix/syscalls.list (dup3): Likewise.
20739 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20740 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20741
9fb1a21f
L
207422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20743
20744 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20745 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20746
4822a2a5
L
207472012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20748
20749 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20750 thread pointer.
20751 (TLS_IE): Use mov/add instead of movq/addq to load thread
20752 pointer.
20753 (TLS_GD_PREFIX): New.
20754 (TLS_GD): Use it.
20755
842b81d6
DM
207562012-05-11 David S. Miller <davem@davemloft.net>
20757
20758 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20759 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20760 (_FPU_SETCW): Likewise.
20761
1cf463cd
L
207622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20763
20764 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20765 is 32-byte aligned.
20766
60cc4a18
AS
207672012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20768
20769 [BZ #11837]
20770 * iconvdata/gb18030.c: Update tables.
20771 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20772 characters specially.
20773 (BODY for TO_LOOP): Add encoding of missing ranges.
20774
febb44a4
TS
207752012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20776
20777 [BZ #13673]
20778 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20779 * sysdeps/mach/hurd/dup3.c: Likewise.
20780 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20781 * sysdeps/powerpc/memmove.c:: Likewise.
20782
0a10fb9e
L
207832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20784
20785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20786 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20787
df8a552f
L
207882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20789
20790 * elf/elf.h (R_X86_64_RELATIVE64): New.
20791 (R_X86_64_NUM): Updated.
20792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20793 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20794 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20795 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20796 tst-quad1pie tst-quad2pie
20797 (modules-names): Add tst-quadmod1 tst-quadmod2.
20798 ($(objpfx)tst-quad1): New dependency.
20799 ($(objpfx)tst-quad2): Likewise.
20800 ($(objpfx)tst-quad1pie): Likewise.
20801 ($(objpfx)tst-quad2pie): Likewise.
20802 * sysdeps/x86_64/tst-quad1.c: New file.
20803 * sysdeps/x86_64/tst-quad1pie.c: New file.
20804 * sysdeps/x86_64/tst-quad2.c: Likewise.
20805 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20806 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20807 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20808 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20809 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20810
f34d6f84
ST
208112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20812
f42d41d1
ST
20813 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20814 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20815 * streams/stropts.h (t_scalar_t): Define type.
20816
3c3571fc
ST
20817 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20818 (_PATH_PRESERVE): Set to "/var/lib".
20819 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20820
61f06bd3
ST
20821 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20822 instead of int.
20823
918d4d71
ST
20824 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20825 if __dir_mkfile succeeded.
20826
f34d6f84
ST
20827 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20828 checking for _hurd_dtablesize. Unlock it right after having
20829 finished _hurd_dtable allocation.
20830
10589b4a
TS
208312012-05-10 Thomas Schwinge <thomas@schwinge.name>
20832
674cdbc7
TS
20833 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20834 * sysdeps/mach/hurd/configure: Regenerated.
20835 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20836 special-casing to...
20837 * sysdeps/gnu/configure.in: ... this new file.
20838 * sysdeps/unix/sysv/linux/configure: Regenerated.
20839 * sysdeps/gnu/configure: New generated file.
20840
8e41b99f
TS
20841 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20842 for Linux: use nsec instead of usec, as well as:
20843 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20844 members of type struct timespec.
20845 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20846 New macros.
20847 (struct stat64): Likewise.
20848 (_STATBUF_ST_NSEC): New macro.
20849 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20850
10589b4a
TS
20851 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20852 __strtoul_internal rather than strtoul.
20853
63643c85
PT
208542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20855
20856 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20857 and reject them.
20858
3faebe6a
ST
208592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20860
20861 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20862 which preserves existing values.
20863 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20864
c6474b07
PT
208652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20866
20867 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20868 TIMEOUT values. Return EINVAL for NFDS values either negative or
20869 greater than FD_SETSIZE.
20870
1043890b
ST
208712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20872
20873 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20874 allocated, call __vm_protect to finish enabling the existing space, and
20875 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20876 allocate the remainder.
20877
37ed8b9b
PT
208782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20879
20880 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20881 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20882
db653660
ST
208832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20884
37ed8b9b
PT
20885 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20886 sysdeps/mach/hurd/readlink.c.
b29d4053 20887
db653660
ST
20888 * posix/tst-sysconf.c (posix_options): Only use
20889 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20890 _POSIX_SYNCHRONIZED_IO when they are defined
20891 * sysdeps/mach/hurd/bits/posix_opt.h:
20892 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20893 (_XOPEN_REALTIME): Undefine macro.
20894 (_XOPEN_REALTIME_THREADS): Undefine macro.
20895 (_XOPEN_SHM): Undefine macro.
20896 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20897 macro to -1.
20898 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20899 macro to -1.
20900 (_POSIX_ASYNC_IO): Undefine macro.
20901 (_POSIX_PRIORITIZED_IO): Undefine macro.
20902 (_POSIX_SPIN_LOCKS): Define macro to -1.
20903
ee16e894
ST
20904 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20905 SA_NODEFER, SA_RESETHAND.
20906 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20907 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20908 F_DUPFD_CLOEXEC.
20909
6103ae3b
TS
209102012-05-10 Thomas Schwinge <thomas@schwinge.name>
20911
20912 * elf/Makefile (pldd-modules): Define unconditionally.
20913
80b4e5f3
TS
209142012-05-10 Thomas Schwinge <thomas@schwinge.name>
20915
20916 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20917
edadcbd6
ST
209182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20919
20920 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20921 Return ENOENT when name is empty.
20922 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20923
80694780
TS
209242012-05-10 Thomas Schwinge <thomas@schwinge.name>
20925
1792c087
TS
20926 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20927
80694780
TS
20928 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20929
6b645f0d
ST
209302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20931
80694780
TS
20932 Fix mlock in all cases except non-readable pages.
20933 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20934 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20935
6b645f0d
ST
20936 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20937 (__mkdir): When path is `/', just fail with EEXIST.
20938 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20939
e468f8a3
TS
209402012-05-10 Thomas Schwinge <thomas@schwinge.name>
20941
20942 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20943 <sys/uio.h> (for writev).
20944 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20945 and <sys/param.h> (for MIN).
20946
a4186cff
PT
209472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20948
20949 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20950 REQUESTED_TIME. Properly set the remaining time and return EINTR
20951 if interrupted.
20952
510bbf14
TS
209532012-05-10 Thomas Schwinge <thomas@schwinge.name>
20954
20955 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20956 Depend on against $(link-rpcuserlibs).
20957
5d5722e8
ST
209582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20959
a4186cff
PT
20960 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20961 (__libc_stack_end): Do not use attribute_relro.
20962 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20963 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20964 to libthread-provided value.
a4186cff
PT
20965 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20966 attribute_relro.
5d5722e8 20967
37233df9
TS
209682012-05-10 Thomas Schwinge <thomas@schwinge.name>
20969
be971a2b
TS
20970 [BZ #3748]
20971 * bits/libc-lock.h (__libc_once_get): New macro.
20972 * sysdeps/mach/bits/libc-lock.h: Likewise.
20973 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20974 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20975 instead of using implementation details.
20976
37233df9
TS
20977 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20978 * libio/freopen.c: Likewise.
20979 * libio/freopen64.c: Likewise.
20980 * misc/syslog.c: Likewise.
20981 * nscd/connections.c: Likewise.
20982 * nscd/netgroupcache.c: Likewise.
20983 * sysdeps/posix/getcwd.c: Likewise.
20984
38de94a5
RM
209852012-05-10 Roland McGrath <roland@hack.frob.com>
20986
20987 * math/w_ilogbf.c: Add #include <limits.h>.
20988
67530489
ST
209892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20990
a4186cff 20991 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20992 path instead of returning without unlocking.
20993
67530489
ST
20994 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20995 immediate-write ioctls.
20996 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20997
5aa3a74a
TS
209982012-05-10 Thomas Schwinge <thomas@schwinge.name>
20999
18bad2ae
TS
21000 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21001 __builtin_frame_address instead of making assumptions about the
21002 location of the return address relative to DATA. Force early load of
21003 the return address.
21004 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21005 __builtin_frame_address.
21006
5aa3a74a
TS
21007 dup3 for GNU Hurd.
21008 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21009 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21010 implement dup3 and do some further code clean-ups.
21011 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21012 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21013
ecd0de9a
ST
210142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21015
cd9fa985
ST
21016 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21017
a4186cff
PT
21018 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21019 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21020 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21021 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21022 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21023 d->port.lock.
802ca5a5 21024
a4186cff
PT
21025 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21026 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21027 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21028
bcf55240
TS
210292012-05-10 Thomas Schwinge <thomas@schwinge.name>
21030
6960eb42
TS
21031 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21032 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21033 definitions.
21034
eb43375f
TS
21035 accept4 for GNU Hurd.
21036 * include/sys/socket.h (__libc_accept4): New prototype.
21037 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21038 to implement __libc_accept4.
21039 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21040 __libc_accept4.
21041 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21042
bcf55240
TS
21043 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21044 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21045 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21046 signal-defines.sym.
21047
6178c55b
ST
210482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21049
a4186cff 21050 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21051
6f080c2f
TS
210522012-05-10 Thomas Schwinge <thomas@schwinge.name>
21053
21054 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21055 assertion on O_CLOEXEC flag.
21056 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21057 * hurd/intern-fd.c: Likewise.
21058 * hurd/port2fd.c: Likewise.
21059
bcfe3a54
ST
210602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21061
21062 [BZ #3906]
21063 * bits/in.h (IPV6_PKTINFO): Define new macro.
21064 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21065
89c9aa49
AZ
210662012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21067
21068 [BZ #13954]
21069 [BZ #13955]
21070 [BZ #13956]
21071 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21073 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21074 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21076 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21077 * math/libm-test.inc (logb_test) : Additional logb tests.
21078
021db4be
AJ
210792012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21080 Andreas Jaeger <aj@suse.de>
21081
21082 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21083 * configure: Regenerated.
21084 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21085 * config.make.in (link-obsolete-rpc): New substituted variable.
21086 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21087 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21088 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21089 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21090 so that libc.a contains the symbols.
21091 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21092 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21093 * sunrpc/auth_none.c: Likewise.
21094 * sunrpc/auth_unix.c: Likewise.
21095 * sunrpc/authdes_prot.c: Likewise.
21096 * sunrpc/authuxprot.c: Likewise.
21097 * sunrpc/clnt_gen.c: Likewise.
21098 * sunrpc/clnt_perr.c: Likewise.
21099 * sunrpc/clnt_raw.c: Likewise.
21100 * sunrpc/clnt_simp.c: Likewise.
21101 * sunrpc/clnt_tcp.c: Likewise.
21102 * sunrpc/clnt_udp.c: Likewise.
21103 * sunrpc/clnt_unix.c: Likewise.
21104 * sunrpc/des_crypt.c: Likewise.
21105 * sunrpc/des_soft.c: Likewise.
21106 * sunrpc/get_myaddr.c: Likewise.
21107 * sunrpc/key_call.c: Likewise.
21108 * sunrpc/key_prot.c: Likewise.
21109 * sunrpc/netname.c: Likewise.
21110 * sunrpc/pm_getmaps.c: Likewise.
21111 * sunrpc/pm_getport.c: Likewise.
21112 * sunrpc/pmap_clnt.c: Likewise.
21113 * sunrpc/pmap_prot.c: Likewise.
21114 * sunrpc/pmap_prot2.c: Likewise.
21115 * sunrpc/pmap_rmt.c: Likewise.
21116 * sunrpc/publickey.c: Likewise.
21117 * sunrpc/rpc_cmsg.c: Likewise.
21118 * sunrpc/rpc_common.c: Likewise.
21119 * sunrpc/rpc_dtable.c: Likewise.
21120 * sunrpc/rpc_prot.c: Likewise.
21121 * sunrpc/rpc_thread.c: Likewise.
21122 * sunrpc/rtime.c: Likewise.
21123 * sunrpc/svc.c: Likewise.
21124 * sunrpc/svc_auth.c: Likewise.
21125 * sunrpc/svc_raw.c: Likewise.
21126 * sunrpc/svc_run.c: Likewise.
21127 * sunrpc/svc_tcp.c: Likewise.
21128 * sunrpc/svc_udp.c: Likewise.
21129 * sunrpc/svc_unix.c: Likewise.
21130 * sunrpc/svcauth_des.c: Likewise.
21131 * sunrpc/xcrypt.c: Likewise.
21132 * sunrpc/xdr.c: Likewise.
21133 * sunrpc/xdr_array.c: Likewise.
21134 * sunrpc/xdr_float.c: Likewise.
21135 * sunrpc/xdr_intXX_t.c: Likewise.
21136 * sunrpc/xdr_mem.c: Likewise.
21137 * sunrpc/xdr_rec.c: Likewise.
21138 * sunrpc/xdr_ref.c: Likewise.
21139 * sunrpc/xdr_sizeof.c: Likewise.
21140 * sunrpc/xdr_stdio.c: Likewise.
21141
b5c086a2
RM
211422012-05-10 Roland McGrath <roland@hack.frob.com>
21143
21144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21145 change. Update copyright years.
21146
6d74dd09
JM
211472012-05-10 Joseph Myers <joseph@codesourcery.com>
21148
21149 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21150
28e72501
MK
211512012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21152 Joseph Myers <joseph@codesourcery.com>
21153 Paul Pluzhnikov <ppluzhnikov@google.com>
21154
21155 [BZ #14012]
21156 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21157 requiring rpcgen.
21158 [cross-compiling] (extra-libs): Likewise.
21159 [cross-compiling] (extra-libs-others): Likewise.
21160 [cross-compiling] (librpcsvc-routines): Likewise.
21161 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21162 [cross-compiling] (omit-deps): Likewise.
21163 (sunrpc-CPPFLAGS): New variable.
21164 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21165 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21166 (cross-rpcgen-objs): New variable.
21167 (extra-objs): Append $(cross-rpcgen-objs).
21168 ($(cross-rpcgen-objs)): New rule.
21169 ($(objpfx)cross-rpcgen): Likewise.
21170 (rpcgen-cmd): Define to use $(built-program-file). Expand
21171 comment.
21172 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21173 ($(objpfx)x%.stmp): Likewise.
21174 * sunrpc/proto.h [IS_IN_build] (_): Define.
21175 [IS_IN_build] (_libc_intl_domainname): Likewise.
21176
c8c59454
L
211772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21178
21179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21180 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21181 and R_X86_64_TPOFF64.
21182
6f27cd16
JM
211832012-05-10 Joseph Myers <joseph@codesourcery.com>
21184
21185 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21186 sysdeps/unix/sysv/syscalls.list.
21187 (stime): Likewise.
21188 (utime): Likewise.
21189 * sysdeps/unix/sysv/syscalls.list: Remove file.
21190
02467e1c
PE
211912012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21192
21193 [BZ #3440]
21194 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21195 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21196 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21197 (__LC_IDENTIFICATION): Make these macros useful in #if
21198 expressions, as required by C99.
21199
da392631
AS
212002012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21201
21202 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21203 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21204 after this.
21205
8115f29b
L
212062012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21207
21208 * stdlib/longlong.h: Updated from GCC.
21209
bdd74070
AJ
212102012-05-09 Andreas Jaeger <aj@suse.de>
21211
edfe0dbe
AJ
21212 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21213 default is first entry.
21214 (run_mode): Set type.
21215 (main): Remove informal message about syslog.
21216 (options): Fix typo.
21217
bcfe3a54
ST
21218 [BZ #14053]
21219 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21220 to asm.
bcfe3a54
ST
21221 (lrint): Likewise.
21222 (llrintf): Likewise.
21223 (llrint): Likewise.
21224 (rint): Likewise.
21225 (rintf): Likewise.
21226 (nearbyint): Likewise.
21227 (nearbyintf): Likewise.
bdd74070 21228
91d8d69e
AJ
212292012-05-09 Andreas Jaeger <aj@suse.de>
21230 Pedro Alves <palves@redhat.com>
21231
21232 * nscd/nscd.c (run_mode): Use enum.
21233 (main): Cleanup coding style issue.
21234
bb90b80b
AJ
212352012-05-09 Alexandre Oliva <aoliva@redhat.com>
21236 Andreas Jaeger <aj@suse.de>
21237
bcfe3a54
ST
21238 * nscd/nscd.c (go_background): Replaced with...
21239 (run_mode): ... this.
bb90b80b 21240 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21241 (options): Add -F --foreground.
21242 (main): Implement it.
21243 (parse_opt): Parse it.
bb90b80b 21244
1a4b75a1
AJ
212452012-05-09 Andreas Jaeger <aj@suse.de>
21246
21247 [BZ #14083]
21248 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21249 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21250 -Wconversion warning.
21251 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21252 Likewise.
21253
b1cc2472
JM
212542012-05-09 Joseph Myers <joseph@codesourcery.com>
21255
21256 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21257 == 0.
21258 (LC_ALL): Use macro-int-constant.
21259 (LC_COLLATE): Likewise.
21260 (LC_CTYPE): Likewise.
21261 (LC_MESSAGES): Likewise.
21262 (LC_MONETARY): Likewise.
21263 (LC_NUMERIC): Likewise.
21264 (LC_TIME): Likewise.
21265 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21266 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21268 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21269 Specify type.
21270 [C99-based standards] (float_t): Expect type.
21271 [C99-based standards] (double_t): Expect type.
21272 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21273 type.
21274 [C99-based standards] (HUGE_VALL): Likewise.
21275 [C99-based standards] (INFINITY): Likewise.
21276 [C99-based standards] (NAN): Likewise.
21277 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21278 [C99-based standards] (FP_NAN): Likewise.
21279 [C99-based standards] (FP_NORMAL): Likewise.
21280 [C99-based standards] (FP_SUBNORMAL): Likewise.
21281 [C99-based standards] (FP_ZERO): Likewise.
21282 [C99-based standards] (FP_FAST_FMA): Use
21283 optional-macro-int-constant. Specify type. Require == 1.
21284 [C99-based standards] (FP_FAST_FMAF): Likewise.
21285 [C99-based standards] (FP_FAST_FMAL): Likewise.
21286 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21287 [C99-based standards] (FP_ILOGBNAN): Likewise.
21288 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21289 Specify type.
21290 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21291 [C99-based standards] (math_errhandling): Specify type.
21292 [ISO99 || ISO11] (signgam): Do not allow.
21293 [non-C99-based standards] (copysignf): Do not allow.
21294 [non-C99-based standards] (exp2f): Likewise.
21295 [non-C99-based standards] (log2f): Likewise.
21296 [non-C99-based standards] (modff): Allow.
21297 [non-C99-based standards] (erff): Do not allow.
21298 [non-C99-based standards] (erfcf): Likewise.
21299 [non-C99-based standards] (gammaf): Likewise.
21300 [non-C99-based standards] (hypotf): Likewise.
21301 [non-C99-based standards] (j0f): Likewise.
21302 [non-C99-based standards] (j1f): Likewise.
21303 [non-C99-based standards] (jnf): Likewise.
21304 [non-C99-based standards] (lgammaf): Likewise.
21305 [non-C99-based standards] (tgammaf): Likewise.
21306 [non-C99-based standards] (y0f): Likewise.
21307 [non-C99-based standards] (y1f): Likewise.
21308 [non-C99-based standards] (ynf): Likewise.
21309 [non-C99-based standards] (isnanf): Likewise.
21310 [non-C99-based standards] (acoshf): Likewise.
21311 [non-C99-based standards] (asinhf): Likewise.
21312 [non-C99-based standards] (atanhf): Likewise.
21313 [non-C99-based standards] (cbrtf): Likewise.
21314 [non-C99-based standards] (expm1f): Likewise.
21315 [non-C99-based standards] (ilogbf): Likewise.
21316 [non-C99-based standards] (log1pf): Likewise.
21317 [non-C99-based standards] (logbf): Likewise.
21318 [non-C99-based standards] (nextafterf): Likewise.
21319 [non-C99-based standards] (remainderf): Likewise.
21320 [non-C99-based standards] (rintf): Likewise.
21321 [non-C99-based standards] (scalbf): Likewise.
21322 [non-C99-based standards] (copysignl): Likewise.
21323 [non-C99-based standards] (exp2l): Likewise.
21324 [non-C99-based standards] (log2l): Likewise.
21325 [non-C99-based standards] (modfl): Allow.
21326 [non-C99-based standards] (erfl): Do not allow.
21327 [non-C99-based standards] (erfcl): Likewise.
21328 [non-C99-based standards] (gammal): Likewise.
21329 [non-C99-based standards] (hypotl): Likewise.
21330 [non-C99-based standards] (j0l): Likewise.
21331 [non-C99-based standards] (j1l): Likewise.
21332 [non-C99-based standards] (jnl): Likewise.
21333 [non-C99-based standards] (lgammal): Likewise.
21334 [non-C99-based standards] (tgammal): Likewise.
21335 [non-C99-based standards] (y0l): Likewise.
21336 [non-C99-based standards] (y1l): Likewise.
21337 [non-C99-based standards] (ynl): Likewise.
21338 [non-C99-based standards] (isnanl): Likewise.
21339 [non-C99-based standards] (acoshl): Likewise.
21340 [non-C99-based standards] (asinhl): Likewise.
21341 [non-C99-based standards] (atanhl): Likewise.
21342 [non-C99-based standards] (cbrtl): Likewise.
21343 [non-C99-based standards] (expm1l): Likewise.
21344 [non-C99-based standards] (ilogbl): Likewise.
21345 [non-C99-based standards] (log1pl): Likewise.
21346 [non-C99-based standards] (logbl): Likewise.
21347 [non-C99-based standards] (nextafterl): Likewise.
21348 [non-C99-based standards] (remainderl): Likewise.
21349 [non-C99-based standards] (rintl): Likewise.
21350 [non-C99-based standards] (scalbl): Likewise.
21351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21352 [non-C99-based standards] (FP_*): Do not allow.
21353 [C99-based standards] (FP_*): Change to
21354 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21355 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21356 allow.
21357 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21358 (SIG_ERR): Likewise.
21359 [X/Open-based standards] (SIG_HOLD): Likewise.
21360 (SIG_IGN): Likewise.
21361 (SIGABRT): Use macro-int-constant. Specify type. Require
21362 positive value.
21363 (SIGFPE): Likewise.
21364 (SIGILL): Likewise.
21365 (SIGINT): Likewise.
21366 (SIGSEGV): Likewise.
21367 (SIGTER): Likewise.
21368 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21369 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21370 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21371 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21372 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21373 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21374 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21375 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21376 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21377 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21378 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21379 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21380 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21381 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21382 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21383 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21384 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21385 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21386 [X/Open-based standards] (SIGTRAP): Likewise.
21387 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21388 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21389 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21390 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21391 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21392 allow.
21393
b9f1922d
IW
213942012-05-08 Ian Wienand <ianw@vmware.com>
21395
21396 [BZ #14080]
21397 * time/tzset.c (__tzset_parse_tz): Update default rules for
21398 daylight time changes in the Energy Policy Act of 2005.
21399
1db86e88
AJ
214002012-05-09 Andreas Jaeger <aj@suse.de>
21401
21402 [BZ #13983]
21403 * elf/ldconfig.c (parse_conf): Change string to make clear that
21404 ldconfig only issued a warning if ld.so.conf does not exist.
21405
dee4a4e3
DM
214062012-05-08 David S. Miller <davem@davemloft.net>
21407
ee0db190
DM
21408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21409 movxtod instead of popping the value on the stack.
21410
dee4a4e3
DM
21411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21412
6a43ec98
CD
214132012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21414
21415 * config.h.in: Add HAVE_ARM_PCS_VFP.
21416
05c2c961
RMG
214172012-05-08 Roland Mc Grath <roland@hack.frob.com>
21418
bcfe3a54
ST
21419 [BZ #13979]
21420 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21421 checking but the checks are disabled for any reason.
05c2c961 21422
4b30f61a
L
214232012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21424
21425 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21426 and ELF64_R_TYPE with ELFW(R_TYPE).
21427
eee2bc67
JM
214282012-05-08 Joseph Myers <joseph@codesourcery.com>
21429
7ea5391a
JM
21430 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21431 (ulimit): Likewise.
21432
eee2bc67
JM
21433 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21434 (settimeofday): Likewise.
21435
abb66a67
MF
214362012-05-08 Mike Frysinger <vapier@gentoo.org>
21437
21438 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21439 a struct th_u2 inside the union, and move tu_block/tu_code into
21440 a new th_u3 union of tu_block/tu_code inside of that. Move
21441 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21442 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21443 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21444 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21445 (th_stuff): Change to th_u1.tu_stuff.
21446 (th_data): Define.
21447 (th_msg): Change to th_u1.th_u2.tu_data.
21448
7f18b530
DM
214492012-05-07 David S. Miller <davem@davemloft.net>
21450
05760585
DM
21451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21452
7f18b530
DM
21453 [BZ #14074]
21454 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21455 (SETUP_PIC_REG): Use it.
21456 (SETUP_PIC_REG_LEAF): Use it.
21457
495fd99f
JM
214582012-05-07 Joseph Myers <joseph@codesourcery.com>
21459
21460 [BZ #13885]
21461 [BZ #13923]
21462 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21463 USE_AS_EXPM1L.
21464 (EXPL_FINITE): Likewise.
21465 (FLDLOG): Likewise.
21466 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21467 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21468 e_expl.S.
21469 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21470 USE_AS_EXPM1L.
21471 (EXPL_FINITE): Likewise.
21472 (FLDLOG): Likewise.
21473 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21474 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21475 e_expl.S.
21476 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21477 test of -max_value argument for long double.
21478 * sysdeps/i386/fpu/libm-test-ulps: Update.
21479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21480
6693d694
DM
214812012-05-06 David S. Miller <davem@davemloft.net>
21482
21483 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21484 quad soft-float symbols whose references which are compiler
21485 generated.
21486 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21487
6c23e11c
JM
214882012-05-06 Joseph Myers <joseph@codesourcery.com>
21489
d8b82cad
JM
21490 [BZ #13884]
21491 [BZ #13914]
21492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21493 USE_AS_EXP10L.
21494 (EXPL_FINITE): Likewise.
21495 (FLDLOG): Likewise.
21496 (c0): Likewise.
21497 (c1): Likewise.
21498 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21499 Adjust comments for base varying.
21500 (__expl_finite): Change alias to EXPL_FINITE.
21501 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21502 e_expl.S.
21503 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21504 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21505 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21506 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21508 USE_AS_EXP10L.
21509 (EXPL_FINITE): Likewise.
21510 (FLDLOG): Likewise.
21511 (c0): Likewise.
21512 (c1): Likewise.
21513 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21514 Adjust comments for base varying.
21515 (__expl_finite): Change alias to EXPL_FINITE.
21516 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21517 tests for bugs.
21518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21519
6c23e11c
JM
21520 [BZ #14064]
21521 * math/libm-test.inc (check_float_internal): Correct ulp
21522 calculation for subnormal expected results.
21523
29ba805c
AJ
215242012-05-06 Andreas Jaeger <aj@suse.de>
21525
21526 * Makeconfig (+math-flags): New, set to -frounding-math.
21527 (+cflags): Add +math-flags so that all of glibc gets compiled with
21528 it.
21529
21530 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21531
7b17aeda
JM
215322012-05-05 Joseph Myers <joseph@codesourcery.com>
21533
5779f134
JM
21534 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21535 Disable one test.
21536
41498f4d
JM
21537 [BZ #13787]
21538 [BZ #13922]
21539 [BZ #14036]
21540 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21541 (__ieee754_expl): Allow for and saturate large arguments.
21542 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21543 (u_threshold): Likewise.
21544 (__exp): Call __ieee754_exp before checking for overflow and
21545 underflow.
21546 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21547 (u_threshold): Likewise.
21548 (__expf): Call __ieee754_expf before checking for overflow and
21549 underflow.
21550 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21551 (u_threshold): Likewise.
21552 (__expl): Call __ieee754_expl before checking for overflow and
21553 underflow.
21554 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21555 (__ieee754_expl): Allow for and saturate large arguments.
21556 * math/libm-test.inc (exp_test): Add another test. Do not allow
21557 missing overflow exception on overflow.
21558 (expm1_test): Do not allow missing overflow exception on overflow.
21559
6698b8bf
JM
21560 * sysdeps/i386/fpu/e_expl.c: Move to ...
21561 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21562 rather than using inline asm.
21563 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21564 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21565 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21566
7b17aeda
JM
21567 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21568 (nice): Likewise.
21569 (poll): Likewise.
21570 (signal): Likewise.
21571 (time): Likewise.
21572 (times): Likewise.
21573
f7c85819
JM
215742012-05-04 Joseph Myers <joseph@codesourcery.com>
21575
21576 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21577 sysdeps/unix/common/syscalls.list.
21578 (fchmod): Likewise.
21579 (fchown): Likewise.
21580 (ftruncate): Likewise.
21581 (getrusage): Likewise.
21582 (gettimeofday): Likewise.
21583 (setpgid): Likewise.
21584 (setregid): Likewise.
21585 (setreuid): Likewise.
21586 (sigaction): Likewise.
21587 (truncate): Likewise.
21588 (vhangup): Likewise.
21589 * sysdeps/unix/common/syscalls.list: Remove file.
21590 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21591 * sysdeps/unix/sysv/linux/Implies: Likewise.
21592
336270d0
L
215932012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21594
21595 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21597 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21598 Moved to ...
21599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21600 Here.
21601 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21602 to ...
21603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21604 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21605 to ...
21606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21607 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21608 to ...
21609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21610 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21611 to ...
21612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21613 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21614 to ...
21615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21616 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21617 to ...
21618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21619 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21620 to ...
21621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21622 Here.
21623 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21624 to ...
21625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21626 Here.
21627 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21628 to ...
21629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21630 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21631 Moved to ...
21632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21633 Here.
21634 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21635 to ...
21636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21637
d128e450
JM
216382012-05-04 Joseph Myers <joseph@codesourcery.com>
21639
fa8ee516
JM
21640 * sysdeps/unix/common/bits/dirent.h: Remove file.
21641 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21642
d128e450
JM
21643 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21644 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21645 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21646 * sysdeps/unix/bsd/isatty.c: Likewise.
21647 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21648 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21649 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21650
ff8faaf0 216512012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21652
62881be4 21653 [BZ #13563]
31dc8730
AZ
21654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21655 long double comparison inaccuracies.
21656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21658
6fef930c
AS
216592012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21660
21661 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21663
8f203e6c
JM
216642012-05-04 Joseph Myers <joseph@codesourcery.com>
21665
21666 [BZ #14049]
21667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21668 nonzero digits before rounding a hex value.
21669 * stdlib/tst-strtod.c (tests): Add another test.
21670
5197d9c2
AK
216712012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21672
21673 * sysdeps/s390/fpu/libm-test-ulps: Update.
21674
f0c1dedf
AJ
216752012-05-03 Andreas Jaeger <aj@suse.de>
21676
21677 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21678 does not get optimized out.
21679 (malloc_opt_barrier): New.
21680
a65ef2ae 216812012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21682 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21683
2b942cb7 21684 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21685 intermediate file deletion.
2b942cb7 21686 (generated): Add .symlist files.
a65ef2ae 21687
54b71e02
JM
216882012-05-03 Joseph Myers <joseph@codesourcery.com>
21689
21690 [BZ #13775]
21691 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21692 Redirect under this condition.
21693 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21694 [__USE_GNU] (__dprintf_chk): Not under this condition.
21695 [__USE_GNU] (__vdprintf_chk): Likewise.
21696 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21697 under this condition.
21698 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21699 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21700 [__USE_XOPEN2K8] (vdprintf): Likewise.
21701 [__USE_GNU] (__dprintf_chk): Not under this condition.
21702 [__USE_GNU] (__vdprintf_chk): Likewise.
21703 [__USE_GNU] (dprintf): Likewise.
21704 [__USE_GNU] (vdprintf): Likewise.
21705
d3dfcc41
RM
217062012-05-03 Roland McGrath <roland@hack.frob.com>
21707
21708 * elf/Makefile (common-generated): Set this instead of generated for
21709 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21710 $(all-built-dso)-derived lists.
21711
7ac30cc5
AJ
217122012-05-03 Andreas Jaeger <aj@suse.de>
21713
0c51e550
AJ
21714 * sysdeps/i386/fpu/libm-test-ulps: Update.
21715
7ac30cc5
AJ
21716 * FAQ: Removed.
21717 * FAQ.in: Likewise.
21718 * scripts/gen-FAQ.pl: Likewise.
21719 * manual/install.texi (Installation): Point to online location of
21720 FAQ.
21721 * Makefile (files-for-dist): Remove FAQ.
21722 (FAQ): Remove.
21723
d4c2917f
AM
217242012-05-02 Allan McRae <allan@archlinux.org>
21725
21726 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21727 (LDFLAGS-reldepmod5.so): Likewise.
21728 (LDFLAGS-reldep6mod1.so): Likewise.
21729 (LDFLAGS-reldep6mod4.so): Likewise.
21730 (LDFLAGS-reldep8mod3.so): Likewise.
21731 (LDFLAGS-unload4mod1.so): Likewise.
21732 (LDFLAGS-unload4mod2.so): Likewise.
21733 (LDFLAGS-tst-initorder): Likewise.
21734 (LDFLAGS-tst-initordera2.so): Likewise.
21735 (LDFLAGS-tst-initordera3.so): Likewise.
21736 (LDFLAGS-tst-initordera4.so): Likewise.
21737 (LDFLAGS-tst-initorderb2.so): Likewise.
21738 (LDFLAGS-noload): Likewise.
21739 (LDFLAGS-next): Likewise.
21740 (LDFLAGS-order2mod1.so): Likewise.
21741 (LDFLAGS-order2mod2.so): Likewise.
21742 (LDFLAGS-tst-initorder2): Likewise.
21743 (LDFLAGS-tst-initorder2a.so): Likewise.
21744 (LDFLAGS-tst-initorder2b.so): Likewise.
21745 (LDFLAGS-tst-initorder2c.so): Likewise.
21746 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21747
d77f993f
DM
217482012-05-02 David S. Miller <davem@davemloft.net>
21749
21750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21751
171a70b4
PP
217522012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21753
21754 [BZ #14055]
21755 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21756
0be196ad
AJ
217572012-05-02 Andreas Jaeger <aj@suse.de>
21758
21759 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21760 since we manipulate rounding mode.
21761 (CPPFLAGS-test-idouble.c): Likewise.
21762 (CPPFLAGS-test-ifloat.c): Likewise.
21763 (CFLAGS-test-ldouble.c): Likewise.
21764 (CFLAGS-test-double.c): Likewise.
21765 (CFLAGS-test-float.c): Likewise.
21766 (CFLAGS-test-misc.c): Likewise.
21767 (CFLAGS-test-test-fenv.c): Likewise.
21768
4f9d04aa
AZ
217692012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21770
2b942cb7
RM
21771 [BZ #2550]
21772 [BZ #2570]
21773 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21774 comparisons to determine direction to adjust input.
4f9d04aa 21775
82a79e7d
RM
217762012-05-01 Roland McGrath <roland@hack.frob.com>
21777
f5a01ca9
RM
21778 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21779 output to the target.
21780
90fe4186
RM
21781 * scripts/localplt.awk: New file.
21782 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21783 (check-localplt-CFLAGS): Variable removed.
21784 ($(all-built-dso:=.jmprel)): New static pattern rule.
21785 (generated): Add those targets.
21786 (localplt-built-dso): New variable.
21787 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21788
21789 * elf/check-localplt.c: File removed.
21790
82397ed6
RM
21791 * scripts/check-execstack.awk: New file.
21792 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21793 (check-execstack-CFLAGS): Variable removed.
21794 ($(objpfx)check-execstack.h): Target removed.
21795 ($(objpfx)execstack-default): New target.
21796 (generated): Add that instead of check-execstack.h.
21797 ($(all-built-dso:=.phdr)): New static pattern rule.
21798 (generated): Add those targets.
21799 * elf/check-execstack.c: File removed.
21800
82a79e7d
RM
21801 * scripts/check-textrel.awk: New file.
21802 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21803 (check-textrel-CFLAGS): Variable removed.
21804 (all-built-dso): Use := to define.o
21805 ($(all-built-dso:=.dyn)): New static pattern rule.
21806 (generated): Add those targets.
21807 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21808 * config.make.in (READELF): New substituted variable.
21809 * elf/check-textrel.c: File removed.
21810
62fde54f 218112012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21812
615605c9
JM
21813 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21814 allow.
21815 * conform/data/ctype.h-data [C99-based standards] (isblank):
21816 Expect function.
21817 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21818 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21820 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21821 Specify type. Require positive value.
21822 (EILSEQ): Likewise.
21823 (ERANGE): Likewise.
21824 [ISO || POSIX] (EILSEQ): Do not expect.
21825 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21826 Specify type. Require positive value.
21827 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21828 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21829 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21830 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21831 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21832 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21833 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21834 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21835 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21836 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21837 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21838 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21839 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21840 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21841 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21842 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21843 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21844 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21845 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21846 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21847 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21848 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21849 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21850 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21851 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21852 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21853 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21854 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21855 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21856 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21857 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21858 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21859 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21860 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21861 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21862 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21863 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21864 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21865 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21866 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21867 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21868 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21869 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21870 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21871 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21872 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21873 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21874 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21875 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21876 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21877 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21878 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21879 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21880 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21881 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21882 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21883 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21884 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21886 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21889 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21890 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21891 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21892 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21893 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21894 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21895 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21901 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21902 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21903 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21904 Require >= 2.
21905 (FLT_ROUNDS): Expect as macro, not constant.
21906 (FLT_MANT_DIG): Use macro-int-constant.
21907 (DBL_MANT_DIG): Likewise.
21908 (LDBL_MANT_DIG): Likewise.
21909 (FLT_DIG): Likewise.
21910 (DBL_DIG): Likewise.
21911 (LDBL_DIG): Likewise.
21912 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21913 (DBL_MIN_EXP): Likewise.
21914 (LDBL_MIN_EXP): Likewise.
21915 (FLT_MAX_EXP): Use macro-int-constant.
21916 (DBL_MAX_EXP): Likewise.
21917 (LDBL_MAX_EXP): Likewise.
21918 (FLT_MAX_10_EXP): Likewise.
21919 (DBL_MAX_10_EXP): Likewise.
21920 (LDBL_MAX_10_EXP): Likewise.
21921 (FLT_MAX): Use macro-constant.
21922 (DBL_MAX): Likewise.
21923 (LDBL_MAX): Likewise.
21924 (FLT_EPSILON): Use macro-constant. Give upper bound.
21925 (DBL_EPSILON): Likewise.
21926 (LDBL_EPSILON): Likewise.
21927 (FLT_MIN): Likewise.
21928 (DBL_MIN): Likewise.
21929 (LDBL_MIN): Likewise.
21930 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21931 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21932 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21933 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21934 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21935 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21936 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21937 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21938 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21939 [ISO11] (FLT_TRUE_MIN): Likewise.
21940 [ISO11] (LDBL_TRUE_MIN): Likewise.
21941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21942 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21943 (SCHAR_MIN): Use macro-int-constant. Specify type.
21944 (SCHAR_MAX): Likewise.
21945 (UCHAR_MAX): Likewise.
21946 (CHAR_MIN): Likewise.
21947 (CHAR_MAX): Likewise.
21948 (MB_LEN_MAX): Use macro-int-constant.
21949 (SHRT_MIN): Use macro-int-constant. Specify type.
21950 (SHRT_MAX): Likewise.
21951 (USHRT_MAX): Likewise.
21952 (INT_MAX): Likewise.
21953 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21954 bound negative.
21955 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21956 bound with "U".
21957 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21958 bound with "L".
21959 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21960 bound negative. Suffix upper bound with "L".
21961 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21962 bound with "UL".
21963 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21964 Specify type.
21965 [C99-based standards] (LLONG_MAX): Likewise.
21966 [C99-based standards] (ULLONG_MAX): Likewise.
21967 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21968 == 0.
21969 [ISO11] (max_align_t): Require type.
21970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21971
c9140a62
JM
21972 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21973 from $CFLAGS, without defining away __attribute__ calls.
21974 (checknamespace): Use $CFLAGS_namespace.
21975
9af0bf29
JM
21976 * conform/conformtest.pl (@keywords): Only include C99 keywords
21977 for standards based on C99 or C11.
21978
343222a2
JM
21979 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21980 Disable tests.
21981 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21982 UNIX98]: Likewise.
21983
661f8cf0
JM
21984 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21985 usability of symbols in #if.
21986
ee74b9cb
JM
21987 * conform/conformtest.pl: If macro or constant types start
21988 "promoted:", expect the symbol to be of the following type
21989 promoted by the integer promotions.
62fde54f 21990
aafc49b3
JM
21991 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21992 in one place. Also handle "macro-constant".
21993
fefdf574
JM
21994 * conform/conformtest.pl: Only accept expected macro values with
21995 "==". Parse all "macro" lines in one place.
21996 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21997
f2d922fe
JM
21998 * conform/conformtest.pl: Handle braced types on "constant" lines
21999 instead of handling "typed-constant".
22000 * conform/data/signal.h-data: Use "constant" instead of
22001 "typed-constant".
22002
d22956c9
JM
22003 * conform/conformtest.pl: Handle "optional-" at start of lines in
22004 one place rather than duplicating several cases. Handle each
22005 format of "macro" line with initial "optional-".
22006
028e2e38
JM
22007 * conform/conformtest.pl: Only accept expected constant or
22008 optional-constant values with "==". Parse all "constant" lines in
22009 one place. Parse all "optional-constant" lines in one place.
22010 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22011 * conform/data/fmtmsg.h-data: Likewise.
22012 * conform/data/netinet/in.h-data: Likewise.
22013 * conform/data/tar.h-data: Likewise.
22014 * conform/data/limits.h-data: Use "==" form on "constant" and
22015 "optional-constant" lines.
22016
1b8f2850
JM
22017 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22018 Use -std=c99 for XOPEN2K.
22019 (@knownproblems): Remove.
22020 (newtoken): Don't check %isknown.
22021
a05a144b
JM
22022 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22023 Do not expect macro.
22024 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22025 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22026 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22027 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22028 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22029 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22030 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22031 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22032 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22033 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22034 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22035 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22036 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22037 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22038 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22039 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22040 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22041 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22042 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22043 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22044 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22045 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22046 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22047 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22048 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22049 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22050 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22051 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22052 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22053 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22054 [XPG3] (acosh): Likewise.
22055 [XPG3] (asinh): Likewise.
22056 [XPG3] (atanh): Likewise.
22057 [XPG3] (cbrt): Likewise.
22058 [XPG3] (expm1): Likewise.
22059 [XPG3] (ilogb): Likewise.
22060 [XPG3] (log1p): Likewise.
22061 [XPG3] (logb): Likewise.
22062 [XPG3] (nextafter): Likewise.
22063 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22064 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22065 [XPG3] (remainder): Likewise.
22066 [XPG3] (rint): Likewise.
22067 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22068 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22069 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22070 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22071 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22072 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22073 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22074 [UNIX98 || XOPEN2K] (scalb): Expect.
22075 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22076 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22077 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22078 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22079 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22080 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22081 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22082 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22083 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22084 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22085 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22086 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22087 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22088 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22089 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22090 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22091 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22092 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22093 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22094 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22095 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22096 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22097 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22098 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22099 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22100 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22101 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22102 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22103 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22104 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22105 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22106 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22107 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22108 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22109 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22110 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22111 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22112 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22113 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22114 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22115 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22116 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22117 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22118 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22119 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22120 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22121 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22122 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22123 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22124 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22125 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22126 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22127 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22128 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22129 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22130 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22131 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22132 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22133 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22134 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22135 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22136 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22137 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22138 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22139 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22140 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22141 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22142 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22143 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22144 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22145 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22146 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22147 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22148 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22149 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22150 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22151 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22152 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22153 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22154 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22155 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22156 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22157 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22158 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22159 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22160 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22161 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22162 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22163 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22164 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22165 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22166 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22167 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22168 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22169 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22170 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22171 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22172 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22173 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22174 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22175 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22176 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22177 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22178 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22179 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22180 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22181 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22182 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22183 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22184 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22185 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22186 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22187 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22188 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22189 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22190 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22191 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22192 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22193 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22194 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22195 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22196 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22197 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22198 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22199 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22200 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22201 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22202 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22203 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22204 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22205 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22206 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22207 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22208 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22209 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22210 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22211 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22212
73c5ebe3
JM
22213 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22214 _XOPEN_SOURCE_EXTENDED for XPG4.
22215
39c33b6c
JM
22216 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22217
62fde54f
JM
22218 * Makeconfig (localtime): Remove variable.
22219 (inst_localtime-file): Likewise.
22220
0741d64c
AS
222212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22222
22223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22224 Update.
22225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22226 Update.
22227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22228 Update.
22229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22230 Update.
22231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22232 Update.
22233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22234 Update.
22235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22236 Update.
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22238 Update.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22240 Update.
22241
7cb029ee
JM
222422012-05-01 Joseph Myers <joseph@codesourcery.com>
22243
22244 [BZ #2550]
22245 [BZ #2570]
22246 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22247 comparisons to determine direction to adjust input.
22248 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22249 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22250 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22251 Likewise.
22252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22253 Likewise.
22254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22255 Likewise.
22256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22258 Likewise.
22259 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22260 Likewise.
22261 * math/libm-test.inc (nexttoward_test): Add more tests.
22262
412bd966
AS
222632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22264
22265 [BZ #14040]
22266 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22267 in version GLIBC_2.1, not GLIBC_2.0.
22268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22269 Likewise.
22270
9568c0c2
JM
222712012-04-30 Joseph Myers <joseph@codesourcery.com>
22272
adfbc8ac
JM
22273 [BZ #13942]
22274 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22275 (1 - x) * (1 + x).
22276 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22277 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22278 * math/libm-test.inc (acos_test): Add more tests.
22279 (asin_test): Likewise.
22280 * sysdeps/i386/fpu/libm-test-ulps: Update.
22281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22282
5ba3cc69
JM
22283 [BZ #14034]
22284 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22285 of square root.
22286 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22287 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22288 * math/libm-test.inc (acos_test_tonearest): New function.
22289 (acos_test_towardzero): Likewise.
22290 (acos_test_downward): Likewise.
22291 (acos_test_upward): Likewise.
22292 (asin_test_tonearest): Likewise.
22293 (asin_test_towardzero): Likewise.
22294 (asin_test_downward): Likewise.
22295 (asin_test_upward): Likewise.
22296 (main): Call the new functions.
22297 * sysdeps/i386/fpu/libm-test-ulps: Update.
22298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22299
9568c0c2
JM
22300 [BZ #13884]
22301 [BZ #13924]
22302 * math/e_exp10.c: Include <float.h>.
22303 (__ieee754_exp10): Handle underflow here rather than multiplying
22304 large negative argument by M_LN10.
22305 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22306 of __ieee754_expf.
22307 * math/e_exp10l.c: Include <float.h>.
22308 (__ieee754_exp10l): Handle underflow here rather than multiplying
22309 large negative argument by M_LN10l.
22310 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22311 spurious overflow exception on underflow.
22312
5ac3ea17
MP
223132012-04-29 Marek Polacek <polacek@redhat.com>
22314
22315 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22316 (__fortify_function): New macro.
22317 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22318 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22319 __extern_always_inline.
22320 * libio/bits/stdio2.h: Likewise.
22321 * libio/bits/stdio.h: Likewise.
22322 * string/string.h: Likewise.
22323 * string/bits/string3.h: Likewise.
22324 * include/stdio.h: Likewise.
22325 * stdlib/bits/stdlib.h: Likewise.
22326 * stdlib/stdlib.h: Likewise.
22327 * rt/bits/mqueue2.h: Likewise.
22328 * rt/mqueue.h: Likewise.
22329 * posix/bits/unistd.h: Likewise.
22330 * posix/unistd.h: Likewise.
22331 * io/bits/poll2.h: Likewise.
22332 * io/bits/fcntl2.h: Likewise.
22333 * io/fcntl.h: Likewise.
22334 * io/sys/poll.h: Likewise.
22335 * misc/bits/syslog.h: Likewise.
22336 * misc/bits/syslog-ldbl.h: Likewise.
22337 * misc/sys/syslog.h: Likewise.
22338 * socket/bits/socket2.h: Likewise.
22339 * socket/sys/socket.h: Likewise.
22340 * debug/tst-chk1.c: Likewise.
22341 * wcsmbs/bits/wchar2.h: Likewise.
22342 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22343 * wcsmbs/wchar.h: Likewise.
22344
ecf0ebfb
AJ
223452012-04-29 Andreas Jaeger <aj@suse.de>
22346
22347 * Makerules (tests): Remove enable-check-abi protection.
22348 (check-abi-warn): Remove.
22349 (check-abi-%): Remove check-abi-warn usage.
22350
22351 * configure.in: Remove check-abi configure option.
22352 * configure: Regenerated.
22353 * config.make.in (enable-check-abi): Remove.
22354
6d5c57fa
AS
223552012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22356
24c5d07e 22357 [BZ #14033]
ded5180a
AS
22358 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22359 double functions to double *_finite functions.
22360
7e0d315d
AS
22361 [BZ #13941]
22362 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22363 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22364 LDBL_MIN_EXP.
22365 * stdio-common/Makefile (tests): Add tst-sprintf3.
22366 * stdio-common/tst-sprintf3.c: New file.
22367
6d5c57fa
AS
22368 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22369 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22370
0749ff8b
JM
223712012-04-28 Joseph Myers <joseph@codesourcery.com>
22372
22373 * conform/conformtest.pl: Remove duplicate typed-constant
22374 handling.
22375
8dbd5d7b
DM
223762012-04-28 David S. Miller <davem@davemloft.net>
22377
22378 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22379 (check-abi-%): Remove AWK script prerequisite and explicit
22380 abilist directory.
22381 (check-abi): Rewrite to just diff the symlist with the abilist.
22382 (config-tls, config-abi-config): Delete, no longer used.
22383 (update-abi-%): Remove AWK script and explicit abilist directory.
22384 (update-abi): Rewrite to simply compare and conditionally copy the
22385 symlist and the sysdep abilist file. Remove update-abi-config
22386 checks.
22387 * abilist/ld.abilist: Remove.
22388 * abilist/libBrokenLocale.abilist: Remove.
22389 * abilist/libanl.abilist: Remove.
22390 * abilist/libcrypt.abilist: Remove.
22391 * abilist/libdl.abilist: Remove.
22392 * abilist/librt.abilist: Remove.
22393 * abilist/libthread_db.abilist: Remove.
22394 * abilist/libutil.abilist: Remove.
22395 * scripts/extract-abilist.awk: Remove.
22396 * scripts/merge-abilist.awk: Remove.
22397 * sysdeps/generic/libcidn.abilist: New file.
22398 * sysdeps/generic/libnss_compat.abilist: New file.
22399 * sysdeps/generic/libnss_db.abilist: New file.
22400 * sysdeps/generic/libnss_dns.abilist: New file.
22401 * sysdeps/generic/libnss_files.abilist: New file.
22402 * sysdeps/generic/libnss_hesiod.abilist: New file.
22403 * sysdeps/generic/libnss_nis.abilist: New file.
22404 * sysdeps/generic/libnss_nisplus.abilist: New file.
22405 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22406 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22407 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22408 file.
22409 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22410 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22411 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22412 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22413 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22414 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22415 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22416 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22417 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22418 file.
22419 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22420 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22421 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22422 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22423 file.
22424 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22425 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22426 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22427 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22428 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22429 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22430 file.
22431 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22432 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22433 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22434 file.
22435 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22437 New file.
22438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22439 New file.
22440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22441 New file.
22442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22443 New file.
22444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22445 New file.
22446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22447 New file.
22448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22449 New file.
22450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22451 New file.
22452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22453 New file.
22454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22455 New file.
22456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22457 New file.
22458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22459 New file.
22460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22461 New file.
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22463 file.
22464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22465 New file.
22466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22467 New file.
22468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22469 file.
22470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22471 New file.
22472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22473 New file.
22474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22475 file.
22476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22477 New file.
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22479 New file.
22480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22481 New file.
22482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22483 New file.
22484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22485 New file.
22486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22487 New file.
22488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22490 file.
22491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22492 New file.
22493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22494 file.
22495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22496 file.
22497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22498 file.
22499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22500 file.
22501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22502 file.
22503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22504 New file.
22505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22506 file.
22507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22508 file.
22509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22510 New file.
22511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22512 file.
22513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22515 file.
22516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22517 New file.
22518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22519 file.
22520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22521 file.
22522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22523 file.
22524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22525 file.
22526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22527 file.
22528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22529 New file.
22530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22531 file.
22532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22533 file.
22534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22535 New file.
22536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22537 file.
22538 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22539 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22540 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22541 file.
22542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22543 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22544 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22545 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22546 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22547 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22548 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22549 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22550 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22551 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22554 file.
22555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22556 New file.
22557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22558 file.
22559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22560 file.
22561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22562 file.
22563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22564 file.
22565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22566 file.
22567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22568 New file.
22569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22570 New file.
22571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22572 file.
22573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22574 New file.
22575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22576 file.
22577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22579 file.
22580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22581 New file.
22582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22583 file.
22584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22585 file.
22586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22587 file.
22588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22589 file.
22590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22591 file.
22592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22593 New file.
22594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22595 New file.
22596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22597 file.
22598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22599 New file.
22600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22601 file.
22602
41d73a1b
JM
226032012-04-28 Joseph Myers <joseph@codesourcery.com>
22604
22605 * conform/conformtest.pl: Fix typo in handling typed-constant from
22606 allow-header.
22607
28aeeda4
JM
226082012-04-27 Joseph Myers <joseph@codesourcery.com>
22609
adae8f5e
JM
22610 * README: Cut down references to pre-2.6 Linux kernels and
22611 Linuxthreads. Update lists of configurations in libc and ports
22612 and sort alphabetically. Say "or newer" with Linux kernel version
22613 requirements.
22614
28aeeda4
JM
22615 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22616
a462cb63
RA
226172012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22618
22619 [BZ #887]
22620 * math/libm-test.inc (logb_test_downward): New test to expose
22621 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22622 rounding mode.
22623
6ad3493e
JM
226242012-04-27 Joseph Myers <joseph@codesourcery.com>
22625
22626 [BZ #14027]
22627 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22628 to be done.
22629 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22630 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22631
2ce4f015
JM
226322012-04-26 Joseph Myers <joseph@codesourcery.com>
22633
5aeb141a
JM
22634 * sysdeps/unix/i386/brk.S: Remove file.
22635 * sysdeps/unix/i386/dl-brk.S: Likewise.
22636 * sysdeps/unix/i386/pipe.S: Likewise.
22637 * sysdeps/unix/i386/sigreturn.S: Likewise.
22638 * sysdeps/unix/i386/syscall.S: Likewise.
22639 * sysdeps/unix/i386/vfork.S: Likewise.
22640 * sysdeps/unix/i386/wait.S: Likewise.
22641
7143acae
JM
22642 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22643 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22644
2ce4f015
JM
22645 * configure.in (arm*-none*): Do not allow without
22646 --enable-hacker-mode.
22647 (netbsd*): Remove case setting base_os.
22648 (386bsd*): Likewise.
22649 (freebsd*): Likewise.
22650 (bsdi*): Likewise.
22651 (osf*): Likewise.
22652 (sunos*): Likewise.
22653 (ultrix*): Likewise.
22654 (newsos*): Likewise.
22655 (dynix*): Likewise.
22656 (*bsd*): Likewise.
22657 (sysv*): Likewise.
22658 (isc*): Likewise.
22659 (esix*): Likewise.
22660 (sco*): Likewise.
22661 (minix*): Likewise.
22662 (irix4*): Likewise.
22663 (irix6*): Likewise.
22664 (solaris[2-9]*): Likewise.
22665 (none): Likewise.
22666 * configure: Regenerated.
22667
0ac229c8
AZ
226682012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22669
22670 [BZ #11521]
22671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22672 overflow or cancellation in calculating denominator.
22673 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22675 down expression to avoid unexpected rounding in newer GCCs.
22676 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22677
33f244f4
DM
226782012-04-26 David S. Miller <davem@davemloft.net>
22679
22680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22681 long-double compat symbols.
22682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22695
cfa1f3e8
DM
226962012-04-25 David S. Miller <davem@davemloft.net>
22697
22698 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22699 HWCAP_* values only after the memory barriers have been defined.
22700 (atomic_full_barrier): Define.
22701 (atomic_read_barrier): Define.
22702 (atomic_write_barrier): Define.
22703
6e236b92
SP
227042012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22705
22706 * shlib-versions: Add libgcc_s version information.
22707 * sysdeps/generic/libgcc_s.h: Remove.
22708 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22709 libgcc_s.h.
22710 * sysdeps/gnu/unwind-resume.c: Likewise.
22711 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22712
aab39a09
DM
227132012-04-25 David S. Miller <davem@davemloft.net>
22714
22715 * sysdeps/unix/sparc/brk.S: Delete.
22716 * sysdeps/unix/sparc/dl-brk.S: Delete.
22717 * sysdeps/unix/sparc/pipe.S: Delete.
22718 * sysdeps/unix/sparc/sysdep.S: Delete.
22719 * sysdeps/unix/sparc/sysdep.h: Delete.
22720 * sysdeps/unix/sparc/vfork.S: Delete.
22721 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22722 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22723 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22724 ret_ERRVAL, r0, r1, MOVE): Define.
22725 (JUMPTARGET): Remove.
22726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22727 sysdeps/unix/sparc/sysdep.h
22728 (ENTRY, END): Remove.
22729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22730
a3cc4f48
JM
227312012-04-25 Joseph Myers <joseph@codesourcery.com>
22732
2ed8cda2
JM
22733 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22734 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22735 -DIS_IN_build.
22736
35d76d59
JM
22737 * timezone/README: Update upstream location and email address for
22738 tzcode and tzdata.
22739 * timezone/zdump.c: Update from tzcode 2012b.
22740 * timezone/zic.c: Likewise.
22741
a3cc4f48
JM
22742 * configure.in (libc_cv_as_needed): Remove test.
22743 * configure: Regenerated.
22744 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22745 conditional definition.
22746 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22747 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22748 * config.make.in (have-as-needed): Remove variable.
22749
ceab42c3
SP
227502012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22751 Paul Pluzhnikov <ppluzhnikov@google.com>
22752
22753 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22754 strings correctly.
22755
3ce2865f
CLT
227562012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22757
22758 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22759 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22760 * sysdeps/sh/strlen.S: Likewise.
22761
f37e0d68
JM
227622012-04-24 Joseph Myers <joseph@codesourcery.com>
22763
ae186e9a
JM
22764 * sysdeps/unix/fork.S: Remove file.
22765 * sysdeps/unix/i386/fork.S: Likewise.
22766 * sysdeps/unix/sparc/fork.S: Likewise.
22767
b96914af
JM
22768 * sysdeps/unix/system.c: Remove file.
22769 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22770
f37e0d68
JM
22771 * sysdeps/unix/getegid.S: Remove file.
22772 * sysdeps/unix/geteuid.S: Likewise.
22773
87ef29ca
RM
227742012-04-24 Roland McGrath <roland@hack.frob.com>
22775
83bcd236
RM
22776 * scripts/check-localplt.awk: New file.
22777 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22778 of diff.
22779 * scripts/data/localplt-generic.data: Add a comment.
22780
87ef29ca
RM
22781 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22782 NODE when __dir_mkfile failed.
22783 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22784 Reported by Ludovic Courtès <ludo@gnu.org>.
22785
e5a6e567
AJ
227862012-04-24 Andreas Jaeger <aj@suse.de>
22787
22788 * Makerules (common-clean): Also remove gen-as-const-headers
22789 files.
22790
c1820385
JM
227912012-04-24 Joseph Myers <joseph@codesourcery.com>
22792
22793 * Makerules (native-compile): Do not change working directory for
22794 build. Use $(OUTPUT_OPTION) in command.
22795 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22796
94e02fc4
AZ
227972012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22798
22799 [BZ #13886]
22800 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22801 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22802 * math/libm-test.inc (floor_test): Add more tests.
22803 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22804
3a533ca3
JM
228052012-04-24 Joseph Myers <joseph@codesourcery.com>
22806
940ab4b3
JM
22807 * sysdeps/unix/getdents.c: Remove file.
22808 * sysdeps/unix/sysv/getdents.c: Likewise.
22809 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22810
90e037bd
JM
22811 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22812 sysdeps/unix/mman/syscalls.list.
22813 (mmap): Likewise.
22814 (mprotect): Likewise.
22815 (msync): Likewise.
22816 (munmap): Likewise.
22817 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22818 * sysdeps/unix/mman/syscalls.list: Remove.
22819 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22820
3a533ca3
JM
22821 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22822 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22823 * configure: Regenerated.
22824 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22825 $(libgcc_s_suffix).
22826 * config.make.in (libgcc_s_suffix): Remove variable.
22827
1ad743de
JM
228282012-04-23 Joseph Myers <joseph@codesourcery.com>
22829
4ad451e2
JM
22830 * sysdeps/unix/sysv/gethostname.c: Move to ...
22831 * sysdeps/posix/gethostname.c: ... here.
22832
5e37ce39
JM
22833 * sysdeps/unix/execve.S: Remove file.
22834
1ad743de
JM
22835 * sysdeps/unix/_exit.S: Remove file.
22836
4e681b5b
AJ
228372012-04-23 Andreas Jaeger <aj@suse.de>
22838
22839 [BZ #13739]
22840 * manual/Makefile: Remove make dist support, there's no
22841 need for a stand-alone documentation tar ball.
22842 (TEXI2DVI): Define always, it's not in Makeconfig.
22843 (dist): Removed.
22844 (tar-it): Removed.
22845 (edition): Removed.
22846 (glibc-doc-$(edition).tar): Removed
22847 (%.Z): Removed.
22848 (%.gz): Removed.
22849 (%.uu): Removed.
22850 (ETAGS): Remove, it's in Makeconfig.
22851 (move-if-change): Remove, it's in Makeconfig.
22852
38686a03 228532012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22854
22855 [BZ #13970]
22856 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22857 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22858 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22859 (strtod_l, strtof_l, strtold_l): Remove __wur.
22860 It is not necessarily an error to ignore strtol's return value.
22861 One can reliably look at the stored endptr to decide whether
22862 the number had valid syntax.
22863
7c0616fa
AJ
228642012-04-21 Andreas Jaeger <aj@suse.de>
22865
803cb6b7 22866 [BZ #13739]
7c0616fa
AJ
22867 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22868
b0fe253f
JM
228692012-04-21 Joseph Myers <joseph@codesourcery.com>
22870
22871 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22872 * sysdeps/unix/sysv/Versions: Remove file.
22873
8280f22d
MT
228742012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22875
22876 [BZ #13927]
22877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22878
75ce411f 228792012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22880
22881 [BZ #7064]
22882 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22883 version from __vm86.
22884
097d59fa
JM
228852012-04-20 Joseph Myers <joseph@codesourcery.com>
22886
a90f3bcb
JM
22887 * sysdeps/unix/common/lxstat.c: Remove file.
22888 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22889
edc7ea78
JM
22890 * sysdeps/unix/sysv/Makefile: Remove file.
22891
cb78c221
JM
22892 * sysdeps/unix/sysv/direct.h: Remove file.
22893
efa6a45f
JM
22894 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22895 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22896 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22897 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22898 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22899 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22900 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22901
9c9f2d0c
JM
22902 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22903
4541c83b
JM
22904 * sysdeps/unix/xmknod.c: Remove file.
22905 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22906
f5d153a0
JM
22907 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22908
aa746595
JM
22909 * sysdeps/unix/sysv/i386/time.S: Remove file.
22910
cce5905e
JM
22911 * sysdeps/unix/fxstat.c: Remove file.
22912 * sysdeps/unix/xstat.c: Likewise.
22913 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22914
37fa3841
JM
22915 * sysdeps/unix/sysv/sigaction.c: Remove file.
22916
ff1962a3
JM
22917 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22918 (sysdep_headers): Remove variable.
22919 [termio.h not in sysdep_headers] (generated): Likewise.
22920 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22921 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22922 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22923 * sysdeps/unix/sysv/tcflow.c: Likewise.
22924 * sysdeps/unix/sysv/tcflush.c: Likewise.
22925 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22926 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22927 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22928 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22929 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22930
e7740d31
JM
22931 * sysdeps/unix/siglist.c: Remove file.
22932
ee06f18b
JM
22933 * sysdeps/unix/getppid.S: Remove file.
22934
097d59fa
JM
22935 * sysdeps/unix/mkdir.c: Remove file.
22936 * sysdeps/unix/rmdir.c: Likewise.
22937
ff3d51ec
AS
229382012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22939
22940 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22941 ERR_MAX value.
22942 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22943 errlist-compat value.
22944
50f81fd7
DM
229452012-04-18 David S. Miller <davem@davemloft.net>
22946
22947 * sysdeps/generic/memcopy.h (reg_char): Delete.
22948 * debug/strcat_chk.c: Use char, not reg_char.
22949 * debug/strcpy_chk.c: Likewise.
22950 * debug/strncat_chk.c: Likewise.
22951 * debug/strncpy_chk.c: Likewise.
22952 * string/memchr.c: Likewise.
22953 * string/memrchr.c: Likewise.
22954 * string/rawmemchr.c: Likewise.
22955 * string/strcat.c: Likewise.
22956 * string/strchr.c: Likewise.
22957 * string/strchrnul.c: Likewise.
22958 * string/strcmp.c: Likewise.
22959 * string/strcpy.c: Likewise.
22960 * string/strncat.c: Likewise.
22961 * string/strncmp.c: Likewise.
22962 * string/strncpy.c: Likewise.
22963
8ff41c46
WS
229642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22965
22966 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22967 __builtin_memcopy is called when src and dest ranges are known to not
22968 overlap.
22969
6b652f46
WS
229702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22971
22972 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22973 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22974 fwd_align_merge macro call.
22975 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22976 bwd_align_merge macro call.
22977 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22978
b282631e
WS
229792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22980
22981 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22982 bwd_align_merge macros.
22983 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22984 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22986
95aa737c
DM
229872012-04-18 David S. Miller <davem@davemloft.net>
22988
22989 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22990
7a99a614
AJ
229912012-04-18 Andreas Jaeger <aj@suse.de>
22992
22993 [BZ# 6794]
22994 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22995 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22997
22998 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22999 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23000 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23001
23002 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23003 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23004 Adjust for changed ldbl-128 files.
23005
23006 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23007 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23009
e5270c23
DM
230102012-04-17 David S. Miller <davem@davemloft.net>
23011
23012 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23013
fb5e92c9
AS
230142012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23015
23016 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23017 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23018 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23019 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23020 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23021 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23022
76da7265
AZ
230232012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23024
23025 [BZ #6794]
23026 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23027 * math/libm-test.inc: Add ilogb errno and exception tests.
23028 * math/w_ilogb.c: New file: ilogb wrapper.
23029 * math/w_ilogbf.c: New file: ilogbf wrapper.
23030 * math/w_ilogbl.c: New file: ilogbl wrapper.
23031 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23032 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23033 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23034 exception being thrown with 0.0 as argument.
23035 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23036 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23037 exception being thrown with 0.0 as argument.
23038 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23039 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23040 exception being thrown with 0.0 as argument.
23041 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23042 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23043 exception being thrown with 0.0 as argument.
23044 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23045 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23047 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23048 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23049 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23050 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23051 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23052 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23053
0396e69d
PB
230542012-04-17 Petr Baudis <pasky@ucw.cz>
23055
23056 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23057 with altivec.
23058
750b5926
MP
230592012-04-16 Marek Polacek <polacek@redhat.com>
23060
23061 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23062
751728a1
MP
230632012-04-16 Marek Polacek <polacek@redhat.com>
23064
23065 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23066 operands of fdivp instruction.
23067
34a27407
L
230682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23069
23070 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23071 * elf/tst-auditmod3b.c: Likewise.
23072 * elf/tst-auditmod4b.c: Likewise.
23073 * elf/tst-auditmod5b.c: Likewise.
23074 * elf/tst-auditmod6b.c: Likewise.
23075 * elf/tst-auditmod6c.c: Likewise.
23076 * elf/tst-auditmod7b.c: Likewise.
23077 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23078 * sysdeps/x86_64/preconfigure.in: Likewise.
23079 * sysdeps/x86_64/preconfigure: Regenerated.
23080
7e73e17d
L
230812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23082
23083 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23084 __ILP32__.
23085
c7a6ab72
AB
230862012-04-13 Antoine Balestrat <merkil33@gmail.com>
23087
23088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23089 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23090
a9e8e0e0
CL
230912012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23092
23093 [BZ #13973]
23094 * locale/iso-639.def: Fix gl language name. Spotted by
23095 Yaron Shahrabani.
23096
ec98af7d
RM
230972012-04-12 Roland McGrath <roland@hack.frob.com>
23098
23099 [BZ #2074]
23100 * libio/libio.h (__io_write_fn): Update comment.
23101
247c3ede
PB
231022012-04-12 Petr Baudis <pasky@ucw.cz>
23103
23104 [BZ #2074]
23105 * stdio.texi (Hook Functions): The user provided writer function
23106 is not allowed to return -1.
23107
55939d6d
DM
231082012-04-11 David S. Miller <davem@davemloft.net>
23109
23110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23111
90020f5a
MF
231122012-04-11 Mike Frysinger <vapier@gentoo.org>
23113
23114 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23115 Add a leading slash to rtkaio.
23116
288f9098
JM
231172012-04-11 Jim Meyering <meyering@redhat.com>
23118
90020f5a
MF
23119 [BZ #11959]
23120 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23121 It is not necessarily an error to ignore fwrite's return
23122 value. One can reliably use ferror to test for errors after
23123 the fact.
288f9098 23124
4be2b570
L
231252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23126
23127 * bits/types.h (__snseconds_t): New type.
23128 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23129
23130 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23132 (__SNSECONDS_T_TYPE): Likewise.
23133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23134 (__SNSECONDS_T_TYPE): Likewise.
23135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23136 (__SNSECONDS_T_TYPE): Likewise.
23137
288f9098 231382012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23139
23140 [BZ #2636]
23141 * manual/time.texi (Processor Time): Return type of times is
23142 elapsed real time since an arbitrary point in the past.
23143 (CPU Time): Move CLK_TCK from here...
23144 (Processor Time): ...to here. Correct description.
23145 * manual/conf.texi (Constants for Sysconf): Correct description of
23146 _SC_CLK_TCK.
23147
d7dd4413
DM
231482012-04-10 David S. Miller <davem@davemloft.net>
23149
23150 [BZ #13967]
23151 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23152 where the is a gap between DT_REL(A) and DT_JMPREL.
23153
b46068fc
L
231542012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23155
23156 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23157 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23158 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23159
73d65cc3
SP
231602012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23161
23162 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23163 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23164 (dl_main): Handle --inhibit-cache.
23165 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23166 _dl_inhibit_cache.
23167 * elf/dl-load.c (_dl_map_object): Use it.
23168 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23169
bcc8d661
JM
231702012-04-09 Joseph Myers <joseph@codesourcery.com>
23171
8f9a2fae
JM
23172 [BZ #13872]
23173 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23174 (__ieee754_powl): Saturate large exponents rather than testing for
23175 overflow of y*log2(x).
23176 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23177 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23178 exceptions.
23179
bcc8d661
JM
23180 [BZ #11521]
23181 * math/s_ctan.c: Include <float.h>.
23182 (__ctan): Avoid internal overflow or cancellation in calculating
23183 denominator.
23184 * math/s_ctanf.c: Likewise.
23185 * math/s_ctanl.c: Likewise.
23186 * math/s_ctanh.c: Likewise.
23187 * math/s_ctanhf.c: Likewise.
23188 * math/s_ctanhl.c: Likewise.
23189 * math/libm-test.inc (ctan_test): Add more tests.
23190 (ctanh_test): Likewise.
23191 * sysdeps/i386/fpu/libm-test-ulps: Update.
23192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23193
823fbbb4
AJ
231942012-04-09 Andreas Jaeger <aj@suse.de>
23195
03879793
AJ
23196 [BZ #6894]
23197 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23198 is an optional BSD extension.
23199
823fbbb4
AJ
23200 [BZ #10254]
23201 * manual/stdio.texi (Opening Streams): Document additional fopen
23202 parameters.
23203
8de131cb
RM
232042012-04-09 Roland McGrath <roland@hack.frob.com>
23205
23206 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23207 %eax without telling the compiler.
23208
c0ed9d7d
CD
232092012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23210
23211 [BZ # 13963]
23212 * manual/install.texi: Use sourceware.org.
23213
c483f6b4
JM
232142012-04-09 Joseph Myers <joseph@codesourcery.com>
23215
d7dd9453
JM
23216 [BZ #13873]
23217 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23218 (__ieee754_pow): Generate overflow and underflow using huge*huge
23219 and tiny*tiny rather than just returning constant infinity or zero
23220 for large exponents.
23221 * math/libm-test.inc (pow_test): Require overflow exceptions for
23222 applicable cases of large exponents.
23223
c483f6b4
JM
23224 [BZ #706]
23225 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23226 (__ieee754_pow): Use iterative multiplication algorithm only for
23227 integer exponents with absolute value below 1024. Check for odd
23228 integer exponents when using algorithm for real exponents.
23229 * math/libm-test.inc (pow_test): Add more tests.
23230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23231
d2de7579
JM
232322012-04-08 Joseph Myers <joseph@codesourcery.com>
23233
23234 [BZ #13705]
23235 * math/libm-test.inc (exp_test): Do not allow overflow exception
23236 on underflow test.
23237
f77f1232
AJ
232382012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23239
23240 [BZ #13705]
23241 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23242 instead of __kernel_standard_f.
23243
3884932b
MF
232442012-04-08 Mike Frysinger <vapier@gentoo.org>
23245
23246 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23247 * sysdeps/x86_64/memset_chk.S: Likewise.
23248
54472e9c
AJ
232492012-04-08 Andreas Jaeger <aj@suse.de>
23250
6ab0fbfc
AJ
23251 [BZ #10153]
23252 * manual/startup.texi (Environment Access): Describe return value
23253 for putenv and setenv.
23254
61efba8c
AJ
23255 [BZ #6895]
23256 * manual/filesys.texi (Directory Entries): Add description for
23257 DT_LNK.
23258
95c3f29a
AJ
23259 [BZ #6890]
23260 * manual/filesys.texi (Directory Entries): Clarify that it's file
23261 system not operating system in the description of DT_UNKNOWN.
23262
54472e9c
AJ
23263 [BZ #6578]
23264 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23265
624254b1
SC
232662012-04-08 Stephen Compall <s11@member.fsf.org>
23267
23268 [BZ #6649]
23269 * manual/llio.texi (Opening and Closing Files): Add cross
23270 reference to explain mode argument.
23271
1e4920e0
MF
232722012-04-07 Mike Frysinger <vapier@gentoo.org>
23273
23274 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23275 * sysdeps/x86_64/memset_chk.S: Likewise.
23276
5ed848f3
DM
232772012-04-07 David S. Miller <davem@davemloft.net>
23278
23279 * elf/elf.h (R_SPARC_WDISP10): Define.
23280 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23281 R_SPARC_SIZE32.
23282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23283 R_SPARC_SIZE64 and R_SPARC_H34.
23284
96154cd8
CD
232852012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23286
23287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23288 conditions and remove no longer applicable assertion.
23289
9904dc47
L
232902012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23291
23292 * bits/byteswap.h: Include <features.h>.
23293 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23294 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23295
f8887d0a
L
232962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23297
23298 * bits/byteswap.h (__bswap_16): Removed.
23299 Include <bits/byteswap-16.h> to get __bswap_16.
23300 * sysdeps/i386/bits/byteswap.h: Likewise.
23301 * sysdeps/s390/bits/byteswap.h: Likewise.
23302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23303 * bits/byteswap-16.h: New file.
23304 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23305 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23306 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23307 * string/Makefile (headers): Add bits/byteswap-16.h.
23308
62470f60
PP
233092012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23310
23311 [BZ #13895]
23312 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23313 extra indirection.
23314 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23315 * nss/tst-nss-static.c: New.
23316
4dad7bab
RM
233172012-04-06 Robert Millan <rmh@gnu.org>
23318
23319 [BZ #6486]
23320 * manual/llio.texi (File Position Primitive): lseek
23321 refers to WHENCE when it really means OFFSET.
23322
e9142a17
AJ
233232012-04-06 Andreas Jaeger <aj@suse.de>
23324
2c040eff
AJ
23325 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23326 strncmp declarations.
23327
e9142a17
AJ
23328 * abilist/libc.abilist: Add __poll and __ppoll.
23329
ff9f1c5f
DM
233302012-04-05 David S. Miller <davem@davemloft.net>
23331
dcd2ae90
DM
23332 * scripts/check-local-headers.sh: Accept a host triplet in the
23333 path matched by the exclude regexp.
23334
993eb054
DM
23335 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23336 definition.
23337 * sysdeps/powerpc/powerpc32/dl-machine.h
23338 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23339 * sysdeps/s390/s390-32/dl-machine.h
23340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23341 * sysdeps/sparc/sparc32/dl-machine.h
23342 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23343 * sysdeps/sparc/sparc64/dl-machine.h
23344 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23345
ff9f1c5f
DM
23346 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23347 lazy binding.
48e2e132 23348 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23349 undefined symbol errors.
23350
48e2e132 23351 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23352 DT_NEEDED entries.
23353
e80d6f94
MM
233542012-04-05 Michael Matz <matz@suse.de>
23355
23356 [BZ #13592]
23357 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23358
349fa79f
AJ
233592012-04-05 Andreas Jaeger <aj@suse.de>
23360
23361 [BZ #13908]
23362 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23363 comment.
23364
f402708f
KK
233652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23366
23367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23368 which ROUND is no valid rounding mode.
23369
2ecccfc9
KK
233702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23371
23372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23373 read again.
23374 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23375
8a53f50f
KK
233762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23377
23378 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23379 an exception using FPU order intentionally.
23380
233812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23382
23383 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23384 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23385 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23386 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23387
d653abb7
SJ
233882012-04-05 Simon Josefsson <simon@josefsson.org>
23389
23390 [BZ #12340]
23391 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23392 EINVAL when BUFLEN is too smal.
23393
c3b1bf7d
TS
233942012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23395
23396 [BZ #13553]
23397 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23398 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23399
b1aa60f3
AJ
234002012-04-03 Andreas Jaeger <aj@suse.de>
23401
c3b1bf7d 23402 [BZ #13938]
67f60a26
AJ
23403 * manual/setjmp.texi (System V contexts): Fix sentence.
23404
b1aa60f3
AJ
23405 [BZ #13926]
23406 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23407 New macro for this case.
23408 [!__GNUC__] (__bswap_64): New inline function for this case.
23409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23410 * bits/byteswap.h: Likewise.
23411 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23412 ull, guard with __GLIBC_HAVE_LONG_LONG.
23413
23414 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23415 __GLIBC_HAVE_LONG_LONG.
23416
23417 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23418 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23419
39c59c35
TMQMF
234202012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23421
23422 [BZ #13691]
23423 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23424 inptr and inend, rather than using last_ch.
23425
135ffda8
DM
234262012-04-02 David S. Miller <davem@davemloft.net>
23427
23428 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23429 * stdio-common/printf-parse.h (read_int): Change return type to
23430 'int', return -1 on INT_MAX overflow.
23431 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23432 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23433 overflows INT_MAX. Check for overflow of in-format-string precision
23434 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23435 SIZE_MAX not INT_MAX for integer overflow test.
23436 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23437 skip the construct in the format string but do not record anything.
23438 * stdio-common/bug22.c: Adjust to test both width/prevision
23439 INT_MAX overflow as well as total length INT_MAX overflow. Check
23440 explicitly for proper errno values.
23441
228c019e
TS
234422012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23443
302cadd3
TS
23444 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23445 CHAR_MAX.
23446 * string/test-strcmp.c [! WIDE]: Likewise.
23447 * time/tst-mktime2.c: Likewise for INT_MAX.
23448 * string/test-string.h: #include <sys/param.h> for MIN.
23449
228c019e
TS
23450 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23451 * sysdeps/i386/init-first.c (init): Likewise.
23452 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23453 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23454 * sysdeps/sh/init-first.c (init): Likewise.
23455
cfa633f5
UD
234562012-04-01 Ulrich Drepper <drepper@gmail.com>
23457
23458 * po/ru.po: Update from translation team.
d1635ef8 23459 * po/vi.po: Likewise.
cfa633f5 23460
6cd0a5ea
SP
234612012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23462
23463 * resolv/nss_dns/dns-host.c: Merge copyright years.
23464
4b43400f
LD
234652012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23466
23467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23468 Optimize memcpy with prefetch if
23469 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23470 src, dst pointers have unequal 16 byte alignments.
23471
48c41d04
SP
234722012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23473
23474 [BZ #13928]
23475 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23476 from a CNAME entry and return the minimum ttl for the query.
23477 (gaih_getanswer_slice): Likewise.
23478
b8dc394d
JL
234792012-03-30 Jeff Law <law@redhat.com>
23480
23481 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23482 due to long keys.
23483 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23484 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23485
2f5a5ed0
JL
23486 * resolv/nss_dns/dns-host.c: Update copyright year.
23487
1d39e359
UD
234882012-03-30 Ulrich Drepper <drepper@gmail.com>
23489
c030f70c 23490 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23491 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23492
1d39e359
UD
23493 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23494 comments for sendmmsg.
23495
234962012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23497
23498 [BZ #13691]
23499 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23500 with only 1 character between 0x0041 and 0x01b0.
23501 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23502 * wcsmbs/tst-mbsnrtowcs.c: New file.
23503
20fde227
DM
235042012-03-29 David S. Miller <davem@davemloft.net>
23505
23506 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23507 small copies by hand.
23508
984a4237
JL
235092012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23510
23511 [BZ #13761]
23512 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23513 _nss_compat_initgroups_dyn): Fall back to malloc/free
23514 for large group memberships.
23515
18c9d62b
DM
235162012-03-28 David S. Miller <davem@davemloft.net>
23517
88d85d4f
DM
23518 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23519 that branches into memcpy.
23520 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23523 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23525 bits.
23526 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23527 implementation too.
23528 * sysdeps/sparc/mempcpy.S: New file.
23529
e5aa83e1
DM
23530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23531 the IFUNC routine in the libc case.
23532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23533
88570753
DM
23534 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23535 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23536 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23537 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23538 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23539 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23540 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23541 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23542
249d7567
DM
23543 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23544 loop to 256 bytes instead of 64 bytes and fix test signedness.
23545
18c9d62b
DM
23546 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23547 * sysdeps/sparc/sparc32/Makefile: rather than here...
23548 * sysdeps/sparc/sparc64/Makefile: and here.
23549
05f3d1f6
UD
235502012-03-28 Ulrich Drepper <drepper@gmail.com>
23551
23552 * malloc/mallocbug.c: Avoid warnings about unused variables.
23553
86ae07a8
JL
235542012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23555
23556 [BZ #13760]
23557 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23558 in the right place. Discard and retry query if response is
23559 larger than input buffer size.
23560
41bf21a1
JM
235612012-03-28 Joseph Myers <joseph@codesourcery.com>
23562
d6270972
JM
23563 [BZ #369]
23564 [BZ #2678]
23565 [BZ #3866]
23566 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23567 x for large integer exponent.
23568 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23569 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23570 sign of result as needed afterwards.
23571 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23572 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23573 result for underflowing pow the same as for overflow.
23574 (__kernel_standard_l): Handle powl overflow and underflow here
23575 rather than calling __kernel_standard.
23576 * math/libm-test.inc (pow_test): Add more tests.
23577
414fca03 23578 [BZ #3868]
41bf21a1
JM
23579 [BZ #13879]
23580 [BZ #13910]
23581 [BZ #13911]
23582 [BZ #13912]
23583 [BZ #13913]
23584 [BZ #13915]
23585 [BZ #13916]
23586 [BZ #13917]
23587 [BZ #13918]
23588 [BZ #13919]
23589 [BZ #13920]
23590 [BZ #13921]
23591 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23592 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23593 (__kernel_standard_l): New function.
23594 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23595 __kernel_standard.
23596 * math/w_acosl.c (__acosl): Likewise.
23597 * math/w_asinl.c (__asinl): Likewise.
23598 * math/w_atan2l.c (__atan2l): Likewise.
23599 * math/w_atanhl.c (__atanhl): Likewise.
23600 * math/w_coshl.c (__coshl): Likewise.
23601 * math/w_exp10l.c (__exp10l): Likewise.
23602 * math/w_exp2l.c (__exp2l): Likewise.
23603 * math/w_fmodl.c (__fmodl): Likewise.
23604 * math/w_hypotl.c (__hypotl): Likewise.
23605 * math/w_j0l.c (__j0l, __y0l): Likewise.
23606 * math/w_j1l.c (__j1l, __y1l): Likewise.
23607 * math/w_jnl.c (__jnl, __ynl): Likewise.
23608 * math/w_lgammal.c (__lgammal): Likewise.
23609 * math/w_log10l.c (__log10l): Likewise.
23610 * math/w_log2l.c (__log2l): Likewise.
23611 * math/w_logl.c (__logl): Likewise.
23612 * math/w_powl.c (__powl): Likewise.
23613 * math/w_remainderl.c (__remainderl): Likewise.
23614 * math/w_scalbl.c (sysv_scalbl): Likewise.
23615 * math/w_sinhl.c (__sinhl): Likewise.
23616 * math/w_sqrtl.c (__sqrtl): Likewise.
23617 * math/w_tgammal.c (__tgammal): Likewise.
23618 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23619 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23620 * math/libm-test.inc (acos_test): Add more tests.
23621 (acosh_test): Likewise.
23622 (asin_test): Likewise.
23623 (atanh_test): Likewise.
23624 (exp_test): Likewise.
23625 (exp10_test): Likewise.
23626 (exp2_test): Likewise.
23627 (expm1_test): Likewise.
23628 (lgamma_test): Likewise.
23629 (log_test): Likewise.
23630 (log10_test): Likewise.
23631 (log1p_test): Likewise.
23632 (log2_test): Likewise.
23633 (pow_test): Do not allow some spurious overflow exceptions.
23634 (sqrt_test): Add more tests.
23635 (tgamma_test): Likewise.
23636 (y0_test): Likewise.
23637 (y1_test): Likewise.
23638 (yn_test): Likewise.
23639
dd62fda6
AB
236402012-03-27 Anton Blanchard <anton@samba.org>
23641
23642 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23643 MAP_HUGETLB.
23644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23647
1e3cdfda
AJ
236482012-03-27 David S. Miller <davem@davemloft.net>
23649
b855ab85
DM
23650 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23651
1e3cdfda
AJ
23652 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23653 have-as-vis3 check.
23654
236552012-03-27 Andreas Jaeger <aj@suse.de>
23656
23657 * sysdeps/x86_64/elf/configure.in: Moved to ...
23658 * sysdeps/x86_64/configure.in: ... here.
23659 * sysdeps/x86_64/elf/start.S: Moved to ...
23660 * sysdeps/x86_64/start.S: ... here.
23661 * sysdeps/x86_64/elf/configure: Delete.
23662
23663 * sysdeps/x86_64/configure.in: Merge contents from
23664 sysdeps/i386/configure.in (without i686 check).
23665
23666 * sysdeps/i386/elf/Versions: Merge into ...
23667 * sysdeps/i386/Versions: ... this.
23668 * sysdeps/i386/elf/Versions: Delete file.
23669 * sysdeps/i386/elf/start.S: Moved to ...
23670 * sysdeps/i386/start.S: ...here.
23671 * sysdeps/i386/elf/configure.in: Merge into...
23672 * sysdeps/i386/configure.in: ...here.
23673 * sysdeps/i386/elf/configure.in: Delete file.
23674 * sysdeps/i386/elf/configure: Delete file.
23675
23676 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23677 * debug/backtracesyms.c: ... here.
23678 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23679 * debug/backtracesymsfd.c: ... here.
23680 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23681 * sysdeps/generic/ifunc-sel.h: ... here.
23682
23683 * sysdeps/unix/i386/start.c: Delete file.
23684 * sysdeps/unix/sparc/start.c: Delete file.
23685 * sysdeps/unix/start.c: Delete file.
23686
23687 * sysdeps/sh/elf/configure.in: Moved to ...
23688 * sysdeps/sh/configure.in: ... here.
23689 * sysdeps/sh/elf/start.S: Moved to ...
23690 * sysdeps/sh/start.S: ... here.
23691 * sysdeps/sh/elf/configure: Delete file.
23692
23693 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23694 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23695 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23696 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23697 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23698 * sysdeps/powerpc/powerpc64/start.S: here.
23699 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23700 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23701 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23702 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23703 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23704
23705 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23706 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23707 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23708 * sysdeps/powerpc/powerpc32/start.S: ... here.
23709 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23710 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23711 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23712
23713 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23714 * sysdeps/powerpc/ifunc-sel.h: ... here.
23715 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23716 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23717
23718 * sysdeps/sparc/elf/configure.in: Moved to ...
23719 * sysdeps/sparc/configure.in: ... here.
23720 * sysdeps/sparc/elf/configure: Delete file.
23721 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23722 * sysdeps/sparc/sparc32/start.S: ... here.
23723 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23724 * sysdeps/sparc/sparc64/start.S: ... here.
23725 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23726 * sysdeps/sparc/sparc32/Makefile: ... this.
23727 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23728 * sysdeps/sparc/sparc64/Makefile: ... this.
23729
23730 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23731 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23732 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23733 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23734 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23735 * sysdeps/s390/s390-32/setjmp.S: ... here.
23736 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23737 * sysdeps/s390/s390-32/configure.in: ... here.
23738 * sysdeps/s390/s390-32/elf/configure: Delete file.
23739 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23740 * sysdeps/s390/s390-32/start.S: ... here.
23741
23742 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23743 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23744 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23745 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23746 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23747 * sysdeps/s390/s390-64/setjmp.S: ... here.
23748 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23749 * sysdeps/s390/s390-64/configure.in: ... here
23750 * sysdeps/s390/s390-64/elf/configure: Delete file.
23751 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23752 * sysdeps/s390/s390-64/start.S: ... here.
23753 * sysdeps/s390/s390-64/elf/configure: Delete.
23754
23755 * configure.in: Remove support for elf directories in sysdeps.
23756
23757 * configure: Regenerated.
23758 * sysdeps/i386/configure: Regenerated.
23759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23761 * sysdeps/s390/s390-32/configure: Regenerated.
23762 * sysdeps/s390/s390-64/configure: Regenerated.
23763 * sysdeps/sh/configure: Regenerated.
23764 * sysdeps/sparc/configure: Regenerated.
23765 * sysdeps/x86_64/configure: Regenerated.
23766
a3f61311
AS
237672012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23768
c876e002
AS
23769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23770
a3f61311
AS
23771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23772 denormal result into account.
23773
ac4c54f0
RM
237742012-03-25 Roland McGrath <roland@hack.frob.com>
23775
23776 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23777 Reported by Allan McRae <allan@archlinux.org>.
23778
6a9b9c02
JL
237792012-03-23 Jeff Law <law@redhat.com>
23780
23781 * nss/getnssent.c (__nss_getent): Fix typo.
23782
4c42a0c1
DM
237832012-03-23 David S. Miller <davem@davemloft.net>
23784
23785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23786
1532c7ac
L
237872012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23788
23789 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23790 to pad to uint64_t for each field.
23791 (dl_tls_index): Replace unsigned long with uint64_t.
23792
3ff42526
PP
237932012-03-23 Daniel Jacobowitz <dmj@google.com>
23794 Paul Pluzhnikov <ppluzhnikov@google.com>
23795
23796 [BZ #6528]
23797 * grp/Makefile (otherlibs): Don't set it.
23798 * inet/Makefile (otherlibs): Likewise.
23799 * login/Makefile (otherlibs): Likewise.
23800 * nscd/Makefile (otherlibs): Likewise.
23801 * posix/Makefile (otherlibs): Likewise.
23802 * pwd/Makefile (otherlibs): Likewise.
23803 * rt/Makefile (otherlibs): Likewise.
23804 * sunrpc/Makefile (otherlibs): Likewise.
23805 * nss/Makefile (otherlibs): Likewise.
23806 Add libnss_files to routines and static-only-routines.
23807 ($(objpfx)getent): Remove rule.
23808 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23809 static-only-routines.
23810
7c69cd14
JM
238112012-03-22 Joseph Myers <joseph@codesourcery.com>
23812
23813 [BZ #13892]
23814 * math/s_cexp.c: Include <float.h>.
23815 (__cexp): Handle exp result overflowing not necessarily
23816 overflowing both real and imaginary parts of result.
23817 * math/s_cexpf.c: Likewise.
23818 * math/s_cexpl.c: Likewise.
23819 * math/libm-test.inc (cexp_test): Add more tests.
23820 * sysdeps/i386/fpu/libm-test-ulps: Update.
23821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23822
81b035fe
L
238232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23824
23825 * include/link.h (ELFW): New macro.
23826 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23827 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23828
1da7940c
L
238292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23830
23831 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23832 with uint64_t.
23833
b749dbb9
L
238342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23835
23836 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23837 declaration.
23838 (struct La_x32_retval): Likewise.
23839
2ff87f3f
L
238402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23841
23842 * sysdeps/x86_64/preconfigure.in: New file.
23843 * sysdeps/x86_64/preconfigure: New generated file.
23844
c0df8e69
JM
238452012-03-22 Joseph Myers <joseph@codesourcery.com>
23846
48e44791
JM
23847 [BZ #13824]
23848 * math/e_exp2l.c: Include <float.h>.
23849 (__ieee754_exp2l): Handle overflow and underflow cases
23850 separately. Only pass fractional part of argument to
23851 __ieee754_expl.
23852 * math/libm-test.inc (exp2_test): Add more tests.
23853
c0df8e69
JM
23854 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23855 negating x to take absolute value.
23856 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23857 Likewise.
23858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23860 Likewise.
23861 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23862 computing low part if x was negated.
23863 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23864
c8e43ba7
L
238652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23866
23867 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23868 la_x32_gnu_pltexit.
23869 (pltexit): Cast int_retval to ptrdiff_t.
23870 * elf/tst-auditmod3b.c: Likewise.
23871 * elf/tst-auditmod4b.c: Likewise.
23872 * elf/tst-auditmod5b.c: Likewise.
23873 * elf/tst-auditmod6b.c: Likewise.
23874 * elf/tst-auditmod6c.c: Likewise.
23875 * elf/tst-auditmod7b.c: Likewise.
23876
23877 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23878 and x32_gnu_pltexit.
23879
23880 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23881 __ELF_NATIVE_CLASS.
23882 (La_x32_regs): New macro.
23883 (La_x32_retval): Likewise.
23884 (la_x32_gnu_pltenter): New function prototype.
23885 (la_x32_gnu_pltexit): Likewise.
23886
7998fa78
AS
238872012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23888
dcb33988
AS
23889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23890 exponent.
23891
233fc563
AS
23892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23893
7998fa78
AS
23894 * configure.in (libc_cv_cc_nofma): Check for option to disable
23895 generation of FMA instructions.
23896 * configure: Regenerate.
23897 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23898 * sysdeps/ieee754/dbl-64/Makefile: New file.
23899 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23900 Remove brandred-fma4.
23901 (CFLAGS-brandred-fma4.c): Remove.
23902 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23903 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23904 define.
23905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23906 define.
23907
8e95c99a
L
239082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23909
23910 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23911 LLONG_MAX != LONG_MAX.
23912 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23913 (_fitoa_word): Likewise.
23914 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23915 LLONG_MAX != LONG_MAX.
23916 * stdio-common/_itowa.h: Include <_itoa.h>.
23917 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23918 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23919 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23920 only if not defined.
23921 (_ITOA_WORD_TYPE): Likewise.
23922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23923 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23924
6f4db457
DM
239252012-03-21 David S. Miller <davem@davemloft.net>
23926
23927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23928
7785fe5a
L
239292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23930
23931 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23932 of x86_64 when setting libc_cv_slibdir, libdir and
23933 libc_cv_localedir.
23934 * sysdeps/unix/sysv/linux/configure: Regenerated.
23935
4535cd55
JM
239362012-03-21 Joseph Myers <joseph@codesourcery.com>
23937
23938 * manual/lang.texi (Old Varargs): Remove section.
23939 (How Variadic): Update menu.
23940 (va_start): Do not mention varargs.h.
23941
17228132
TS
239422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23943 Joseph Myers <joseph@codesourcery.com>
23944
23945 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23946 link test.
23947 * configure: Regenerated.
23948
8149f976
TS
239492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23950
05f3d1f6
UD
23951 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23952 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23953 conformtest.pl
8149f976 23954
1a4ac776
JM
239552012-03-21 Joseph Myers <joseph@codesourcery.com>
23956
be22ce65
JM
23957 * NOTES: Remove.
23958 * Makefile (files-for-dist): Remove NOTES.
23959 (NOTES): Remove rule.
23960 * README: Don't refer to NOTES.
23961 * manual/creature.texi: Don't include macros.texi.
23962 * manual/intro.texi (creature.texi): Remove comment referring to
23963 NOTES.
23964
40b601fb
JM
23965 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23966 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23967 * configure: Regenerated.
23968 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23969 LIBC_TRY_CC_OPTION.
23970 (libc_cv_as_i686): Likewise.
23971 (libc_cv_cc_avx): Likewise.
23972 (libc_cv_cc_sse2avx): Likewise.
23973 (libc_cv_cc_fma4): Likewise.
23974 (libc_cv_cc_novzeroupper): Likewise.
23975 * sysdeps/i386/configure: Regenerated.
23976
1a4ac776
JM
23977 [BZ #13883]
23978 * sysdeps/i386/fpu/s_cexp.S: Remove.
23979 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23980 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23981 * math/libm-test.inc (cexp_test): Add more tests.
23982 * sysdeps/i386/fpu/libm-test-ulps: Update.
23983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23984
a458e7fe
AM
239852012-03-21 Allan McRae <allan@archlinux.org>
23986
23987 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23988
0cb7efc5
JM
239892012-03-21 Joseph Myers <joseph@codesourcery.com>
23990
23991 [BZ #13871]
23992 * math/w_exp2.c: Do not include <float.h>.
23993 (o_threshold, u_threshold): Remove.
23994 (__exp2): Calculate result before checking finiteness and calling
23995 __kernel_standard.
23996 * math/w_exp2f.c: Likewise.
23997 * math/w_exp2l.c: Likewise.
23998 * math/libm-test.inc (exp2_test): Require overflow exception for
23999 1e6 input.
2460d3aa
JM
24000
24001 [BZ #3866]
24002 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24003 range of signed 64-bit integers before using fistpll. Remove
24004 checks for whether integers fit in mantissa bits.
24005 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24006 the range of signed 32-bit integers before using fistpl. Remove
24007 checks for whether integers fit in mantissa bits.
24008 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24009 (__ieee754_powl): Test for y outside the range of signed 64-bit
24010 integers before using fistpll. Reduce 64-bit values to 63-bit
24011 ones as needed.
24012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24013 divide-by-zero is raised for zero to large negative powers.
24014 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24015 (__ieee754_powl): Test for y outside the range of signed 64-bit
24016 integers before using fistpll. Reduce 64-bit values to 63-bit
24017 ones as needed.
24018 * math/libm-test.inc (pow_test): Add more tests.
24019
eb96ffb0
L
240202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24021
24022 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24023 <stdio-common/_itoa.h>.
24024 * debug/segfault.c: Likewise.
24025 * elf/dl-cache.c: Likewise.
24026 * elf/dl-minimal.c: Likewise.
24027 * elf/dl-misc.c: Likewise.
24028 * elf/dl-sysdep.c: Likewise.
24029 * elf/dl-version.c: Likewise.
24030 * elf/rtld.c: Likewise.
24031 * hurd/hurdsock.c: Likewise.
24032 * hurd/lookup-retry.c: Likewise.
24033 * malloc/malloc.c: Likewise.
24034 * malloc/mtrace.c: Likewise.
24035 * nscd/nscd_getgr_r.c: Likewise.
24036 * nscd/nscd_getpw_r.c: Likewise.
24037 * nscd/nscd_getserv_r.c: Likewise.
24038 * posix/getopt_init.c: Likewise.
24039 * posix/wordexp.c: Likewise.
24040 * stdio-common/_itoa.c: Likewise.
24041 * stdio-common/printf_fphex.c: Likewise.
24042 * stdio-common/vfprintf.c: Likewise.
24043 * string/_strerror.c: Likewise.
24044 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24045 * sysdeps/i386/i686/hp-timing.h: Likewise.
24046 * sysdeps/mach/_strerror.c: Likewise.
24047 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24048 * sysdeps/mach/hurd/sethostid.c: Likewise.
24049 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24050 * sysdeps/mach/xpg-strerror.c: Likewise.
24051 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24052 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24053 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24054 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24055 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24056 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24057 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24058 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24059 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24060 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24061 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24062 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24063 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24064 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24065 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24066 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24067 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24068 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24069 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24070 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24071 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24072
24073 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24074
24075 * stdio-common/_itoa.h: Moved to ...
24076 * sysdeps/generic/_itoa.h: Here.
24077
24078 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24079
24080 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24081 instead of "_itoa.h" and "_itowa.h".
24082 * stdio-common/vfprintf.: Likewise.
24083
d1af992d
L
240842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24085
24086 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24087 <bits/wordsize.h>.
24088 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24089 (__signbit): Likwise.
24090 (llrintf): Likwise.
24091 (llrint): Likwise.
24092
114883e0
L
240932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24094
24095 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24096 __WORDSIZE != 64.
24097
c135cc1b
JM
240982012-03-20 Joseph Myers <joseph@codesourcery.com>
24099
24100 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24101 OVERFLOW_EXCEPTION_OK.
24102 * math/libm-test.inc ("Philosophy"): Update comment about
24103 exception testing.
24104 (OVERFLOW_EXCEPTION): Define.
24105 (OVERFLOW_EXCEPTION_OK): Likewise.
24106 (INVALID_EXCEPTION_OK): Renumber.
24107 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24108 (IGNORE_ZERO_INF_SIGN): Likewise.
24109 (test_exceptions): Handle FE_OVERFLOW.
24110 (exp10_test): Expect overflow exceptions.
24111 (exp2_test): Likewise.
24112 (expm1_test): Likewise.
24113 (nextafter_test): Likewise.
24114 (pow_test): Likewise.
24115 (scalbn_test): Likewise.
24116 (scalbln_test): Likewise.
24117
95443d88
L
241182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24119
24120 * sysdeps/x86_64/bits/atomic.h
24121 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24122 64bit integer.
24123 (atomic_exchange_acq): Likewise.
24124 (__arch_exchange_and_add_body): Likewise.
24125 (__arch_add_body): Likewise.
24126 (atomic_add_negative): Likewise.
24127 (atomic_add_zero): Likewise.
24128
490df6c4
L
241292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24130
c2722551 24131 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24132 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24133
5e52b189
L
241342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24135
24136 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24137 Check __x86_64__ instead of __WORDSIZE.
24138
a9879d4c
L
241392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24140
24141 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24142
5df98260
DM
241432012-03-19 David S. Miller <davem@davemloft.net>
24144
e1497744
DM
24145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24146
5df98260
DM
24147 * sysdeps/sparc/fpu/fenv_private.h: New file.
24148 * sysdeps/sparc/fpu/math_private.h: Use it.
24149 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24150 Remove.
24151 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24152 (libc_feholdexcept_setroundl): Remove.
24153 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24154 Remove.
24155 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24156 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24157
b4c35121
L
241582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24159
24160 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24161 int64_t instead of long int.
24162 (INSERT_WORDS64): Likwise.
24163
56965fd7
L
241642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24165
24166 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24167 _Unwind_GetCFA return to _Unwind_Ptr first.
24168
83d1aec8
JM
241692012-03-19 Joseph Myers <joseph@codesourcery.com>
24170
1897ad44
JM
24171 [BZ #13629]
24172 * math/s_clog.c: Include <float.h>.
24173 (__clog): Scale large or subnormal inputs.
24174 * math/s_clogf.c: Likewise.
24175 * math/s_clogl.c: Likewise.
24176 * math/s_clog10.c: Include <float.h>.
24177 (M_LOG10_2): Define.
24178 (__clog10): Scale large or subnormal inputs.
24179 * math/s_clog10f.c: Likewise.
24180 * math/s_clog10l.c: Likewise.
24181 * math/libm-test.inc (clog_test): Add more tests.
24182 (clog10_test): Likewise.
24183 * sysdeps/i386/fpu/libm-test-ulps: Update.
24184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24185
7726d6a9
JM
24186 [BZ #11451]
24187 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24188 x and y.
24189 * math/libm-test.inc (atan2_test): Add another test.
24190
83d1aec8
JM
24191 * Makerules (common-objdir-compile): Remove.
24192 * sysdeps/unix/Makefile (config-generated): Do not add
24193 $(unix-generated) to variable.
24194 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24195 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24196 Remove rule.
24197 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24198 Likewise.
24199 [generic bits/local_lim.h] (before-compile): Do not append to
24200 variable.
24201 [generic bits/local_lim.h] (common-generated): Likewise.
24202 [generic sys/param.h] (before-compile): Do not append to variable.
24203 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24204 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24205 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24206 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24207 include.
24208 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24209 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24210 [generic sys/param.h] ($(addprefix
24211 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24212 [generic sys/param.h] (common-generated): Do not append to
24213 variable.
24214 [generic sys/param.h] (sysdep_headers): Likewise.
24215 [generic bits/errno.h] (before-compile): Do not append to
24216 variable.
24217 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24218 rule.
24219 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24220 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24221 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24222 [generic bits/errno.h] (common-generated): Do not append to
24223 variable.
24224 [generic bits/ioctls.h] (before-compile): Do not append to
24225 variable.
24226 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24227 rule.
24228 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24229 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24230 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24231 rule.
24232 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24233 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24234 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24235 [generic bits/ioctls.h] (common-generated): Do not append to
24236 variable.
24237 [generic sys/syscall.h] (syscall.h): Remove variable.
24238 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24239 rule.
24240 [generic sys/syscall.h] (before-compile): Do not append to
24241 variable.
24242 [generic sys/syscall.h] (common-generated): Likewise.
24243 * sysdeps/unix/errnos-tmpl.c: Remove file.
24244 * sysdeps/unix/errnos.awk: Likewise.
24245 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24246 * sysdeps/unix/ioctls.awk: Likewise.
24247 * sysdeps/unix/mk-local_lim.c: Likewise.
24248 * sysdeps/unix/snarf-ioctls: Likewise.
24249
4851a949
RH
242502012-03-19 Richard Henderson <rth@twiddle.net>
24251
bd37f2ee
RH
24252 * sysdeps/i386/fpu/fenv_private.h: New file.
24253 * sysdeps/i386/fpu/math_private.h: Use it.
24254 (math_opt_barrier, math_force_eval): Remove.
24255 (libc_feholdexcept_setround_53bit): Remove.
24256 (libc_feupdateenv_53bit): Remove.
24257 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24258 (math_opt_barrier, math_force_eval): Remove.
24259 (libc_feholdexcept): Remove.
24260 (libc_feholdexcept_setround): Remove.
24261 (libc_fetestexcept, libc_fesetenv): Remove.
24262 (libc_feupdateenv_test): Remove.
24263 (libc_feupdateenv, libc_feholdsetround): Remove.
24264 (libc_feresetround): Remove.
24265
d0adc922
RH
24266 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24267 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24268
0fe0f1f8
RH
24269 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24270 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24271 (libc_feupdateenv_testl): New.
24272 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24273 (libc_feupdateenv_testf): New.
24274 (libc_feupdateenv): Use libc_feupdateenv_test.
24275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24276 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24277
eb92c487
RH
24278 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24279 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24280 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24281 (libc_feresetround_noex): New.
24282 (libc_feresetround_noexf): New.
24283 (libc_feresetround_noexl): New.
24284 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24285 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24286 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24287 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24288 SET_RESTORE_ROUND.
24289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24291 (__cos): Likewise.
24292 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24294 SET_RESTORE_ROUND_NOEX.
24295 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24296 SET_RESTORE_ROUND_NOEXF.
24297 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24298 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24299 (libc_feholdsetroundf): New.
24300 (libc_feresetround, libc_feresetroundf): New.
24301
7d2e8012
RH
24302 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24303 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24304 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24305
b4dabbb4
RH
24306 * sysdeps/generic/math_private.h: Include <fenv.h>.
24307 (default_libc_feholdexcept): New.
24308 (default_libc_feholdexcept_setround): New.
24309 (default_libc_fesetenv, default_libc_feupdateenv): New.
24310 (libc_feholdexcept): Only define if undefined.
24311 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24312 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24313 (libc_feholdexcept_setroundl): Likewise.
24314 (libc_feholdexcept_setround_53bit): Likewise.
24315 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24316 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24317 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24318 (libc_feupdateenv_53bit): Likewise.
24319 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24320 (libc_feholdexcept): Convert from macro to inline function.
24321 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24322 (libc_fesetenv, libc_feupdateenv): Likewise.
24323
4851a949
RH
24324 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24325 not previously defined.
24326 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24327 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24328 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24329 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24330 * sysdeps/ieee754/flt-32/math_private.h: New file.
24331 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24332 math_private.h below SET_FLOAT_WORD.
24333 (__isnan, __isinf_ns, __finite): Remove.
24334 (__isnanf, __isinf_nsf, __finitef): Remove.
24335
e79d442e
AS
243362012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24337
24338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24339
90b80344
DM
243402012-03-17 David S. Miller <davem@davemloft.net>
24341
24342 [BZ #6471]
24343 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24344 for 2.16.
24345
edc21804
DM
243462012-03-16 David S. Miller <davem@davemloft.net>
24347
77e927af
DM
24348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24349 warnings.
24350
374976dd
DM
24351 [BZ #6471]
24352 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24353 properly.
24354 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24355 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24356 sysdep_routines when subdir is sysvipc.
24357 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24358 __getshmlba helper.
24359
edc21804
DM
24360 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24361
473c3ef3
L
243622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24363
24364 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24365 [__LP64__].
24366
eb0f39b6
L
243672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24368
24369 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24370 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24371 (__lround): Renamed to ...
24372 (__llround): This. Replace long int with long long int.
24373 Define lround functions as aliases of llround functions.
24374 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24375
6b6cd74b
L
243762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24377
24378 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24379 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24380 adresses to uintptr_t. Replace "long int" and "unsigned long
24381 int" with "greg_t" on va_arg.
24382
f1a77b01
L
243832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24384
24385 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24386 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24387
24388 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24389 Move e_machine check before EI_CLASS check. Handle x32
24390 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24391 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24392 SKIP_EM_IA_64 and include
24393 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24394
24395 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24396 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24397 (add_system_dir): New macro.
24398
24399 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24400 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24401
11b90b9f
JM
244022012-03-16 Joseph Myers <joseph@codesourcery.com>
24403
c36e1d23
JM
24404 [BZ #2551]
24405 [BZ #2552]
24406 [BZ #2553]
24407 [BZ #2554]
24408 [BZ #2562]
24409 [BZ #2563]
24410 [BZ #2565]
24411 [BZ #2566]
24412 [BZ #2576]
24413 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24414 (y0): Likewise.
24415 * math/w_j0f.c (j0f): Likewise.
24416 (y0f): Likewise.
24417 * math/w_j0l.c (__j0l): Likewise.
24418 (__y0l): Likewise.
24419 * math/w_j1.c (j1): Likewise.
24420 (y1): Likewise.
24421 * math/w_j1f.c (j1f): Likewise.
24422 (y1f): Likewise.
24423 * math/w_j1l.c (__j1l): Likewise.
24424 (__y1l): Likewise.
24425 * math/w_jn.c (jn): Likewise.
24426 (yn): Likewise.
24427 * math/w_jnf.c (jnf): Likewise.
24428 (ynf): Likewise.
24429 * math/w_jnl.c (__jnl): Likewise.
24430 (__ynl): Likewise.
24431 * math/libm-test.inc (j0_test): Add more tests.
24432 (j1_test): Likewise.
24433 (jn_test): Likewise. Add trailing semicolon to existing test.
24434 (y0_test): Likewise.
24435 (y1_test): Likewise.
24436 * sysdeps/i386/fpu/libm-test-ulps: Update.
24437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24438
11b90b9f
JM
24439 [BZ #13851]
24440 [BZ #13854]
24441 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24442 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24443 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24444 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24445 (__tanl): Set errno for infinite argument.
24446 * sysdeps/i386/fpu/mptan.c: Remove.
24447 * sysdeps/i386/fpu/s_tan.S: Likewise.
24448 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24449 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24450 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24451 * math/libm-test.inc (tan_test): Add more tests and enable more
24452 tests for double and long double.
24453 * sysdeps/i386/fpu/libm-test-ulps: Update.
24454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24455
6a1bd2a1
JK
244562012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24457
24458 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24459 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24460
10a803e0
RM
244612012-03-16 Roland McGrath <roland@hack.frob.com>
24462
24463 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24464 * configure.in: Use it for both main tree and add-ons.
24465 * configure: Regenerated.
24466
f196c7f7
L
244672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24468
24469 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24470
8848d99d
JM
244712012-03-16 Joseph Myers <joseph@codesourcery.com>
24472
96cbe7f4
JM
24473 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24474 in comment.
24475
8848d99d
JM
24476 [BZ #13851]
24477 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24478 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24479 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24480 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24481 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24482 infinite argument.
24483 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24485 != 0 for prec == 2.
24486 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24487 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24488 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24489 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24490 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24491 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24492 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24493 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24494 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24495 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24496 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24497 * math/libm-test.inc (cos_test): Add more tests and enable more
24498 tests for long double.
24499 (sin_test): Likewise.
24500 (sincos_test): Likewise.
24501 * sysdeps/i386/fpu/libm-test-ulps: Update.
24502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24503
dd7f4703
DM
245042012-03-16 David S. Miller <davem@davemloft.net>
24505
24506 * sysdeps/sparc/fpu/math_private.h: New file.
24507
006f1daa
DM
245082012-03-15 David S. Miller <davem@davemloft.net>
24509
c0c83bc8
DM
24510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24511 file.
e6a62e18 24512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24514 file.
e6a62e18
DM
24515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24521 sysdep routines.
24522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24523
88cb87d9
DM
24524 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24525 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24526
006f1daa 24527 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24529 sparc-ifunc.h
006f1daa 24530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24532 Likewise.
24533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24534 Likewise.
006f1daa
DM
24535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24539 Likewise.
006f1daa
DM
24540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24545 Likewise.
24546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24547 Likewise.
006f1daa
DM
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24572
11e0098e
AS
245732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24574
24575 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24576 scaling.
24577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24578
e85b09d0
AJ
245792012-03-15 Andreas Jaeger <aj@suse.de>
24580
24581 [BZ #13852]
24582 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24583 ieee754/flt-32 implementation for sin, cos and sincos.
24584 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24585 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24586 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24587 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24588 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24589 ieee754/flt-32 implementation for tan.
24590
24591 * math/libm-test.inc (cos_test): Enable some large input tests for
24592 float as well
24593 (sin_test): Likewise.
24594 (sincos_test): Likewise.
24595 (tan_test): Add tests for large input.
24596
24597 * sysdeps/i386/fpu/libm-test-ulps: Update.
24598
81c64153
AJ
245992012-03-15 Andreas Jaeger <aj@suse.de>
24600
24601 [BZ #13658]
24602 * math/libm-test.inc (cos_test): Add more test cases.
24603 (sin_test): Likewise.
24604 (sincos_test): Likewise.
24605
7bbfa5c6
AJ
246062012-03-15 Andreas Jaeger <aj@suse.de>
24607
24608 [BZ #13837]
24609 * math/libm-test.inc (cos_test): Add a test case for large input
24610 value.
24611 (sin_test): Likewise.
24612 (sincos_test): Likewise.
24613
246142012-03-15 Andreas Jaeger <aj@suse.de>,
24615 Joseph Myers <joseph@codesourcery.com>
24616
24617 [BZ #13658]
0671f479 24618 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24619 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24620 * sysdeps/i386/fpu/branred.c: Likewise.
24621 * sysdeps/i386/fpu/dosincos.c: Likewise.
24622 * sysdeps/i386/fpu/mpa.c: Likewise.
24623 * sysdeps/i386/fpu/s_cos.S: Likewise.
24624 * sysdeps/i386/fpu/s_sin.S: Likewise.
24625 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24626 * sysdeps/i386/fpu/sincos32.c: Likewise.
24627
24628 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24629 Define.
24630 (libc_feupdateenv_53bit): Define.
24631 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24632 Define.
24633 (libc_feupdateenv_53bit): Define.
24634
24635 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24636 53 bit (without extend i386 double precision).
24637
24638 * math/libm-test.inc (sincos_test): Add tests for large input.
24639 (sin): Likewise.
24640 (cos): Likewise.
24641
24642 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24643
9cad04ea
AS
246442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24645
24646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24647
f7062b9a
DM
246482012-03-15 David S. Miller <davem@davemloft.net>
24649
24650 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24651 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24652 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24653 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24666 file.
f7062b9a 24667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24669 file.
f7062b9a 24670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24672 file.
f7062b9a 24673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24675 file.
f7062b9a
DM
24676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24678 fmin/fmax sysdep routines.
24679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24680
7bd951ff
DM
246812012-03-14 David S. Miller <davem@davemloft.net>
24682
559398ab
DM
24683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24712 routines.
24713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24714 file.
559398ab 24715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24717 file.
559398ab 24718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24720 file.
559398ab 24721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24723 file.
559398ab 24724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24726 file.
559398ab 24727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24729 file.
24730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24731 file.
24732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24733 file.
24734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24735 file.
24736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24737 New file.
24738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24739 file.
24740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24741 file.
559398ab 24742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24744 file.
559398ab 24745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24747 file.
559398ab 24748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24750 file.
559398ab 24751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24753 VIS3 routines.
559398ab
DM
24754
24755 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24756 New file.
24757
5a1c1e32
DM
24758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24759
eae47a36
DM
24760 * sysdeps/sparc/configure.in: New file.
24761 * sysdeps/sparc/configure: Generate.
24762 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24763 * configure: Regenerate.
24764 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24765 * config.make.in (have-as-vis3): New.
24766 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24767 available use -Av9d instead of -Av9a.
24768 * sysdeps/sparc/sparc64/Makefile: Likewise.
24769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24771 New file.
24772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24773 file.
24774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24775 New file.
24776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24777 file.
eae47a36
DM
24778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24783
c0c83bc8
DM
24784 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24785 fzeros/fnegs to load 0x80000000 into a float register instead of
24786 using the stack.
7bd951ff
DM
24787 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24788
bd951ccb
JM
247892012-03-14 Joseph Myers <joseph@codesourcery.com>
24790
24791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24792 bits/syscall.h.
24793 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24794 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24795 ($(inst_includedir)/bits/syscall.h): Remove rule.
24796 ($(objpfx)bits/syscall.d): Include instead of
24797 $(objpfx)syscall-list.d.
24798 (generated): Change syscall-list.h and syscall-list.d to
24799 bits/syscall.h and bits/syscall.d.
24800
bb4e6db2
RM
248012012-03-14 Roland McGrath <roland@hack.frob.com>
24802
24803 [BZ #13846]
24804 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24805
aa4a2ae1
JM
248062012-03-14 Joseph Myers <joseph@codesourcery.com>
24807
e456826d
JM
24808 [BZ #13841]
24809 * math/s_csqrt.c: Include <float.h>.
24810 (__csqrt): Scale large or subnormal inputs.
24811 * math/s_csqrtf.c: Likewise.
24812 * math/s_csqrtl.c: Likewise.
24813 * math/libm-test.inc (csqrt_test): Add more tests.
24814 * sysdeps/i386/fpu/libm-test-ulps: Update.
24815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24816
aa4a2ae1
JM
24817 [BZ #13840]
24818 * math/libm-test.inc (hypot_test): Add more tests.
24819
7c10fd35
DM
248202012-03-13 David S. Miller <davem@davemloft.net>
24821
24822 [BZ #13840]
24823 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24824 double-precision for the calculation instead of scaling.
24825
f453b98b
JM
248262012-03-13 Joseph Myers <joseph@codesourcery.com>
24827
24828 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24829 manipulate bits before adding and subtracting TWO52[sx].
24830 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24832 Likewise.
24833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24834
09a3453f
DM
248352012-03-13 David S. Miller <davem@davemloft.net>
24836
8e59da90
DM
24837 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24838 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24839 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24840 rtld-global-offsets.h
24841 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24842
2a8ab7f2
DM
24843 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24844 large parameters.
24845
10f62770
DM
24846 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24847
5f0bdb18
DM
24848 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24849 'err' in the ifdef scope in which it is actually used.
24850
09a3453f
DM
24851 * nss/nss_db/db-init.c: Include string.h
24852
b4b2eb5e
DM
248532012-03-12 David S. Miller <davem@davemloft.net>
24854
98bb2f1c
DM
24855 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24856 masking out of the most significant byte of random value used.
24857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24858 Fix coding style in previous change.
24859
b4b2eb5e
DM
24860 * sysdeps/unix/sysv/linux/kernel-features.h
24861 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24862 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24863 expression.
24864 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24865 later.
24866
6e226b09
DM
248672012-03-11 David S. Miller <davem@davemloft.net>
24868
a1bcbd40
DM
24869 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24870 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24872 for 'resultvar' otherwise things get truncated on 64-bit.
24873
cb9d6174
DM
24874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24875 Fix masking out of the most significant byte of random value used.
24876
6e226b09
DM
24877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24878
058c132d
AS
248792012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24880
24881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24882
2d2cd515
DM
248832012-03-09 David S. Miller <davem@davemloft.net>
24884
24885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24886 variables with appropriate CPP guards.
24887 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24888 frame pointer, not the stack pointer. Correct layout comments. Fix test
24889 on resulting framesize and the management of the outregs buffer for pltexit.
24890 Preserve floating point return values across _dl_call_pltexit call.
24891 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24892 framesize and the management of the outregs buffer for pltexit.
24893 Preserve floating point return values across _dl_call_pltexit
24894 call.
24895 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24896 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24897 (print_exit): Fix format string for return register value.
24898
9a07f9d0
JM
248992012-03-10 Joseph Myers <joseph@codesourcery.com>
24900
24901 * sunrpc/Makefile (others): Add rpcgen.
24902 ($(objpfx)rpcgen): Remove special build rule and dependency on
24903 libc.
24904 * sunrpc/rpcgen.c: New file.
24905
547b5e30
PE
249062012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24907
c524201a
PE
24908 [BZ #13673]
24909 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24910 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24911 * sysdeps/i386/crti.S: Likewise.
24912 * sysdeps/i386/crtn.S: Likewise.
24913 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24914 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24915 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24916 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24917 * sysdeps/sh/crti.S: Likewise.
24918 * sysdeps/sh/crtn.S: Likewise.
24919 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24920
7b6235f2
PE
24921 [BZ #13673]
24922 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24923 with URL.
24924 * locale/programs/locfile-kw.gperf: Likewise.
24925 * locale/programs/charmap-kw.h: Regenerated.
24926 * locale/programs/locfile-kw.h: Likewise.
24927
547b5e30
PE
24928 [BZ #13673]
24929 * intl/plural.y: Replace FSF snail mail address with URL.
24930 * intl/plural.c: Regenerated.
24931
5f0a5dae
RH
249322012-03-09 Richard Henderson <rth@twiddle.net>
24933
24934 * include/math_private.h: Remove file.
24935 * math/math_private.h: Move file ...
24936 * sysdeps/generic/math_private.h: ... here.
24937
b8c03620
RH
24938 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24939 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24940 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24941
4e234f5d 24942 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24943 and <math_private.h>.
24944 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24945 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24946 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24947 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24948 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24949 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24952 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24953 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24956 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24957 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24958 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24959 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24960 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24961 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24962 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24963 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24965 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24966 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24969 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24970 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24973 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24974 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24976 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24977 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24978 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24979 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24980 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24984 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24985 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24986 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24987 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24989 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24990 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24991 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24992 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24993 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24995 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25000 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25007 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25009 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25010 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25011 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25012 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25013 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25015 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25018 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25022 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25023 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25024 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25026 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25027 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25028 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25031 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25032 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25035 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25037 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25038 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25039 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25040 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25041 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25042 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25043 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25044 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25045 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25046 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25047 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25048 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25049 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25050 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25051 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25056 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25057 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25058 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25059 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25060 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25061 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25062 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25063 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25064 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25065 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25066 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25067 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25068 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25070 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25071 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25072 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25073 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25074 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25075 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25076 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25077 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25078 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25079 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25080 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25081 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25082 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25083 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25084 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25085 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25086 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25087 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25088 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25089 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25090 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25091 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25092 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25093 * sysdeps/ieee754/k_standard.c: Likewise.
25094 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25095 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25096 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25097 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25098 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25099 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25100 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25101 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25102 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25104 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25105 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25106 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25107 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25108 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25109 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25110 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25111 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25112 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25113 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25114 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25115 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25116 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25117 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25118 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25119 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25120 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25121 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25122 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25123 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25124 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25125 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25127 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25129 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25131 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25132 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25133 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25134 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25135 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25136 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25137 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25138 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25139 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25140 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25142 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25143 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25144 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25145 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25146 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25147 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25150 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25151 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25152 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25153 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25154 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25155 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25156 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25174 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25175 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25178 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25187 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25190 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25191 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25192 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25193 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25196 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25198 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25201 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25202 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25211 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25213 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25214 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25216 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25224 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25226 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25228 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25229 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25230 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25231 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25233 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25236 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25237 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25239 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25240 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25243 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25244 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25245 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25248 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25249 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25250 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25251 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25253 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25254 * sysdeps/ieee754/s_lib_version.c: Likewise.
25255 * sysdeps/ieee754/s_matherr.c: Likewise.
25256 * sysdeps/ieee754/s_signgam.c: Likewise.
25257 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25258 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25259 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25260 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25261 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25262 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25263 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25264 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25265 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25266 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25267 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25268 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25269 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25270 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25271 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25272 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25273 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25274 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25275 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25278
1991fa03
JM
252792012-03-09 Joseph Myers <joseph@codesourcery.com>
25280
25281 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25282 * sunrpc/rpc_main.c: Likewise.
25283 * sunrpc/rpc_svcout.c: Likewise.
25284
60d6f5a6
DM
252852012-03-09 David S. Miller <davem@davemloft.net>
25286
25287 * include/math_private.h: New file.
25288
4962050e
JM
252892012-03-09 Joseph Myers <joseph@codesourcery.com>
25290
02a6f887
JM
25291 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25292 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25293 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25294 from <bits/socket_type.h>.
25295 (enum __socket_type): Don't define here.
25296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25298 bits/socket_type.h.
25299
c6e013c1
JM
25300 [BZ #13566]
25301 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25302 checking __USE_GNU.
25303
4962050e
JM
25304 * Makerules ($(inst_includedir)/%.h): New rule.
25305 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25306 (install-others): Remove variable setting.
25307 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25308
38842f45
RH
253092012-03-08 Richard Henderson <rth@twiddle.net>
25310
67bb6da6
RH
25311 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25312 from macro to inline function; merge with the
25313 !__LIBC_INTERNAL_MATH_INLINES version.
25314 (__ieee754_sqrtf): Likewise.
25315
15194b4b
RH
25316 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25317 to inline function.
25318 (__rintf, __floor, __floorf): Likewise.
25319
64e21ede
RH
25320 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25321 macro to inline function.
25322 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25323
38842f45
RH
25324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25325 not <math/math_private.h>.
25326
c64bf5fe
DM
253272012-03-08 David S. Miller <davem@davemloft.net>
25328
25329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25330 copyright year.
25331 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25332
82d86f28
TS
253332012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25334
25335 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25336 normalization.
25337 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25338 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25339
aea5d727
UD
253402012-03-08 Ulrich Drepper <drepper@gmail.com>
25341
25342 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25343 be defined individually, they must be defined as a block. Define
25344 S for printing a string instead of hidint the different by using a
25345 macro for adding the 'l'.
25346 * stdio-common/tst-fphex-wide.c: Adjust.
25347
70bca0a3
MP
253482012-03-07 Marek Polacek <polacek@redhat.com>
25349
25350 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25351
65b81130
MP
253522012-03-08 Marek Polacek <polacek@redhat.com>
25353
25354 [BZ #13806]
25355 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25356 * stdio-common/tst-fphex.c: Define a few macros to make the
25357 test reusable. Use them.
25358 * stdio-common/tst-fphex-wide.c: New file.
25359
07037eeb
JM
253602012-03-08 Joseph Myers <joseph@codesourcery.com>
25361
a7a93d50
JM
25362 [BZ #6911]
25363 * manual/macros.texi (gnusystems): New macro.
25364 (nongnusystems): Likewise.
25365 (gnulinuxhurdsystems): Likewise.
25366 (gnuhurdsystems): Likewise..
25367 (gnulinuxsystems): Likewise.
25368 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25369 variants of the GNU system, not "GNU system".
25370 * manual/conf.texi: Likewise.
25371 * manual/errno.texi: Likewise. Update example of errno macro
25372 expansion.
25373 * manual/filesys.texi: Likewise.
25374 (getumask): Document as specific to GNU/Hurd.
25375 * manual/install.texi: Likewise. Reword some references to
25376 GNU/Linux.
25377 * manual/intro.texi: Likewise.
25378 * manual/io.texi: Likewise.
25379 (File Name Portability): Detail which constraints are inapplicable
25380 to all GNU systems and which are only inapplicable to GNU/Hurd.
25381 * manual/job.texi: Likewise.
25382 * manual/llio.texi: Likewise.
25383 (O_NOCTTY): Document as present on GNU/Linux.
25384 * manual/maint.texi: Likewise.
25385 * manual/memory.texi: Likewise.
25386 * manual/pattern.texi: Likewise.
25387 * manual/pipe.texi: Likewise.
25388 * manual/process.texi: Likewise.
25389 * manual/resource.texi: Likewise.
25390 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25391 child on GNU/Hurd.
25392 * manual/setjmp.texi: Likewise.
25393 * manual/signal.texi: Likewise.
25394 * manual/startup.texi: Likewise.
25395 * manual/stdio.texi: Likewise.
25396 * manual/terminal.texi: Likewise.
25397 (ONLCR): Document as POSIX.
25398 (OXTABS): Document availability on GNU/Linux as XTABS.
25399 (ONOEOT): Document availability separately from other bits.
25400 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25401 * manual/time.texi: Likewise.
25402 * manual/users.texi: Likewise.
25403 * INSTALL: Regenerated.
25404 * sysdeps/gnu/errlist.c: Regenerated.
25405
07037eeb
JM
25406 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25407 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25408 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25409 puts.
25410 * configure: Regenerated.
25411
d1d3431a
JM
254122012-03-07 Joseph Myers <joseph@codesourcery.com>
25413
af6a1e37
JM
25414 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25415 default includes instead of AC_HEADER_CHECK.
25416 * sysdeps/i386/configure: Regenerated.
25417
d1d3431a
JM
25418 [BZ #10716]
25419 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25420 * math/s_cacoshf.c (__cacoshf): Likewise.
25421 * math/s_cacoshl.c (__cacoshl): Likewise.
25422 * math/s_casinh.c (__casinh): Set signs of result from argument.
25423 * math/s_casinhf.c (__casinhf): Likewise.
25424 * math/s_casinhl.c (__casinhl): Likewise.
25425 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25426 (casinh_test): Add more tests.
25427 * sysdeps/i386/fpu/libm-test-ulps: Update.
25428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25429
482ff4da
UD
254302012-03-07 Ulrich Drepper <drepper@gmail.com>
25431
872fda05
UD
25432 * po/zh_TW.po: Update from translation team.
25433
a4300c7a
UD
25434 * login/Makefile (distribute): Remove variable.
25435 * catgets/Makefile: Likewise.
25436 * mach/Makefile: Likewise.
25437 * malloc/Makefile: Likewise.
25438 * misc/Makefile: Likewise.
25439 * iconv/Makefile: Likewise.
25440 * nscd/Makefile: Likewise.
25441 * hurd/Makefile: Likewise.
25442 * manual/Makefile: Likewise.
25443 * locale/Makefile: Likewise.
25444 * intl/Makefile: Likewise.
25445 * conform/Makefile: Likewise.
25446 * nss/Makefile: Likewise.
25447 * time/Makefile: Likewise.
25448 * soft-fp/Makefile: Likewise.
25449 * dirent/Makefile: Likewise.
25450 * gmon/Makefile: Likewise.
25451 * po/Makefile: Likewise.
25452 * rt/Makefile: Likewise.
25453 * socket/Makefile: Likewise.
25454 * math/Makefile: Likewise.
25455 * signal/Makefile: Likewise.
25456 * debug/Makefile: Likewise.
25457 * elf/Makefile: Likewise.
25458 * timezone/Makefile: Likewise.
25459 * stdlib/Makefile: Likewise.
25460 * iconvdata/Makefile: Likewise.
25461 * sunrpc/Makefile: Likewise.
25462 * io/Makefile: Likewise.
25463 * argp/Makefile: Likewise.
25464 * inet/Makefile: Likewise.
25465 * hesiod/Makefile: Likewise.
25466 * grp/Makefile: Likewise.
25467 * csu/Makefile: Likewise.
25468 * wctype/Makefile: Likewise.
25469 * crypt/Makefile: Likewise.
25470 * libio/Makefile: Likewise.
25471 * string/Makefile: Likewise.
25472 * nis/Makefile: Likewise.
25473 * resolv/Makefile: Likewise.
25474 * stdio-common/Makefile: Likewise.
25475 * wcsmbs/Makefile: Likewise.
25476 * dlfcn/Makefile: Likewise.
25477 * posix/Makefile: Likewise.
25478
3b7c4e74 25479 [BZ #6959]
482ff4da
UD
25480 * timezone/Makefile: Don't install timezone files, just the programs
25481 and scripts.
25482
f72ed77d
UD
254832012-03-06 Ulrich Drepper <drepper@gmail.com>
25484
a000466f
UD
25485 * nss/databases.def: Add missing gshadow entry.
25486
f72ed77d
UD
25487 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25488
a53b7a4e
MP
254892012-03-06 Marek Polacek <polacek@redhat.com>
25490
25491 [BZ #13726]
25492 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25493 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25494 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25495 * stdio-common/tst-long-dbl-fphex.c: New file.
25496
e9258400
DM
254972012-03-06 David S. Miller <davem@davemloft.net>
25498
25499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25500 (set_obp_int): New function.
25501 (get_obp_int): New function.
25502 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25504 Avoid unused variable warnings on 'val' and use builtin_expect.
25505 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25506 __builtin_expect.
e9258400
DM
25507 (INLINE_CLONE_SYSCALL): Likewise.
25508
3bd2c723
DM
255092012-03-05 David S. Miller <davem@davemloft.net>
25510
25511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25512
bbb78d03
AS
255132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25514
884c5db4
AS
25515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25516
bbb78d03
AS
25517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25518 only for |x| >= 40.
25519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25520
1c9f702a 255212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25522
25523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25524 Replace gettimeofday with __vdso_gettimeofday.
25525
7be16f82
RM
25526 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25527 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25528 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25529
25530 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25531 time with __vdso_time.
25532
ed58a00f
JM
255332012-03-05 Joseph Myers <joseph@codesourcery.com>
25534
25535 * manual/lang.texi (size_t): Note types to which size_t may be
25536 equivalent with the GNU C Library, but do not describe when
25537 differences between them are significant.
25538
30ee4ced
AJ
255392012-03-05 Andreas Jaeger <aj@suse.de>
25540
25541 * sysdeps/i386/fpu/libm-test-ulps: Update.
25542
b7cd39e8
JM
255432012-03-05 Joseph Myers <joseph@codesourcery.com>
25544
25545 [BZ #3976]
25546 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25547 (__ieee754_pow): Save and restore rounding mode and use
25548 round-to-nearest for main computations.
25549 * math/libm-test.inc (pow_test_tonearest): New function.
25550 (pow_test_towardzero): Likewise.
25551 (pow_test_downward): Likewise.
25552 (pow_test_upward): Likewise.
25553 (main): Call the new functions.
25554 * sysdeps/i386/fpu/libm-test-ulps: Update.
25555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25556
25557 [BZ #3976]
25558 * math/libm-test.inc (cosh_test_tonearest): New function.
25559 (cosh_test_towardzero): Likewise.
25560 (cosh_test_downward): Likewise.
25561 (cosh_test_upward): Likewise.
25562 (sinh_test_tonearest): Likewise.
25563 (sinh_test_towardzero): Likewise.
25564 (sinh_test_downward): Likewise.
25565 (sinh_test_upward): Likewise.
25566 (main): Call the new functions.
25567 * sysdeps/i386/fpu/libm-test-ulps: Update.
25568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25569
6c6a98c9
TV
255702012-03-05 Tom de Vries <tom@codesourcery.com>
25571
25572 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25573 default stack guard is set in last bytes.
25574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25575
21bb2d2e 255762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25577
21bb2d2e 25578 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25579
21bb2d2e
AJ
25580 [BZ #13656]
25581 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25582 possibly allocate from heap instead of stack.
25583 * stdio-common/bug-vfprintf-nargs.c: New file.
25584 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25585
c6922934
AS
255862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25587
25588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25589
bc957d53
MP
255902012-03-03 Marek Polacek <polacek@redhat.com>
25591
25592 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25593 * math/math_private.h: Likewise.
25594 * stdlib/tst-strtod.c: Likewise.
25595 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25596 * sysdeps/x86_64/bits/atomic.h: Likewise.
25597
6358490d
DM
255982012-03-02 David S. Miller <davem@davemloft.net>
25599
25600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25604 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25605 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25606 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25607 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25608
01ae168d
RM
256092012-03-02 Roland McGrath <roland@hack.frob.com>
25610
d9a17c07
RM
25611 [BZ #13792]
25612 * manual/examples/README: New file, says the example source files
25613 can be used under GPL>=2.
25614 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25615 line containing just "*/".
25616 * manual/examples/add.c: Add copyright header (GPL>=2).
25617 * manual/examples/argp-ex1.c: Likewise.
25618 * manual/examples/argp-ex2.c: Likewise.
25619 * manual/examples/argp-ex3.c: Likewise.
25620 * manual/examples/argp-ex4.c: Likewise.
25621 * manual/examples/atexit.c: Likewise.
25622 * manual/examples/db.c: Likewise.
25623 * manual/examples/dir.c: Likewise.
25624 * manual/examples/dir2.c: Likewise.
25625 * manual/examples/execinfo.c: Likewise.
25626 * manual/examples/filecli.c: Likewise.
25627 * manual/examples/filesrv.c: Likewise.
25628 * manual/examples/fmtmsgexpl.c: Likewise.
25629 * manual/examples/genpass.c: Likewise.
25630 * manual/examples/inetcli.c: Likewise.
25631 * manual/examples/inetsrv.c: Likewise.
25632 * manual/examples/isockad.c: Likewise.
25633 * manual/examples/longopt.c: Likewise.
25634 * manual/examples/memopen.c: Likewise.
25635 * manual/examples/memstrm.c: Likewise.
25636 * manual/examples/mkfsock.c: Likewise.
25637 * manual/examples/mkisock.c: Likewise.
25638 * manual/examples/mygetpass.c: Likewise.
25639 * manual/examples/pipe.c: Likewise.
25640 * manual/examples/popen.c: Likewise.
25641 * manual/examples/rprintf.c: Likewise.
25642 * manual/examples/search.c: Likewise.
25643 * manual/examples/select.c: Likewise.
25644 * manual/examples/setjmp.c: Likewise.
25645 * manual/examples/sigh1.c: Likewise.
25646 * manual/examples/sigusr.c: Likewise.
25647 * manual/examples/stpcpy.c: Likewise.
25648 * manual/examples/strdupa.c: Likewise.
25649 * manual/examples/strftim.c: Likewise.
25650 * manual/examples/strncat.c: Likewise.
25651 * manual/examples/subopt.c: Likewise.
25652 * manual/examples/swapcontext.c: Likewise.
25653 * manual/examples/termios.c: Likewise.
25654 * manual/examples/testopt.c: Likewise.
25655 * manual/examples/testpass.c: Likewise.
25656 * manual/examples/timeval_subtract.c: Likewise.
25657
01ae168d
RM
25658 [BZ #13792]
25659 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25660 function to ...
25661 * manual/timeval_subtract.c.texi: ... here, new file.
25662
49efa33d
DM
256632012-03-02 David S. Miller <davem@davemloft.net>
25664
25665 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25666
28afd92d
JM
256672012-03-02 Joseph Myers <joseph@codesourcery.com>
25668
804360ed
JM
25669 [BZ #3976]
25670 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25671 (__sin): Save and restore rounding mode and use round-to-nearest
25672 for all computations.
25673 (__cos): Save and restore rounding mode and use round-to-nearest
25674 for all computations.
25675 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25676 <fenv.h>.
25677 (tan): Save and restore rounding mode and use round-to-nearest for
25678 all computations.
25679 * math/libm-test.inc (cos_test_tonearest): New function.
25680 (cos_test_towardzero): Likewise.
25681 (cos_test_downward): Likewise.
25682 (cos_test_upward): Likewise.
25683 (sin_test_tonearest): Likewise.
25684 (sin_test_towardzero): Likewise.
25685 (sin_test_downward): Likewise.
25686 (sin_test_upward): Likewise.
25687 (tan_test_tonearest): Likewise.
25688 (tan_test_towardzero): Likewise.
25689 (tan_test_downward): Likewise.
25690 (tan_test_upward): Likewise.
25691 (main): Call the new functions.
25692 * sysdeps/i386/fpu/libm-test-ulps: Update.
25693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25694
a6d06d7b
JM
25695 [BZ #10135]
25696 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25697 small n, then large n, before computing and testing k+n.
25698 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25700 Likewise.
25701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25702 Likewise.
25703 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25704 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25711 * math/libm-test.inc (scalbn_test): Add more tests.
25712 (scalbln_test): Likewise.
25713
07e12bb3
JM
25714 * manual/filesys.texi (mode_t): Describe constraints on size and
25715 signedness, not exact equivalence to a particular type.
25716 (ino_t): Likewise.
25717 (ino64_t): Likewise.
25718 (dev_t): Likewise.
25719 (nlink_t): Likewise.
25720 (blkcnt_t): Likewise.
25721 (blkcnt64_t): Likewise.
25722 * manual/llio.texi (off_t): Likewise.
25723
28afd92d
JM
25724 [BZ #3976]
25725 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25726 (__ieee754_exp): Save and restore rounding mode and use
25727 round-to-nearest for all computations.
25728 * math/libm-test.inc (exp_test_tonearest): New function.
25729 (exp_test_towardzero): Likewise.
25730 (exp_test_downward): Likewise.
25731 (exp_test_upward): Likewise.
25732 (main): Call the new functions.
25733 * sysdeps/i386/fpu/libm-test-ulps: Update.
25734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25735
b1eeb65d
CD
257362012-03-01 Chris Demetriou <cgd@google.com>
25737
25738 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25739 have predictable order.
25740
53362a4b
DM
257412012-03-01 David S. Miller <davem@davemloft.net>
25742
3c969083
DM
25743 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25744
759707de
DM
25745 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25746 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25747 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25748 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25749
dfdb8ff2
DM
25750 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25751 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25752 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25754 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25755 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25756 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25757 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25758 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25759
ead89f96
DM
25760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25761
7f66bd07
DM
25762 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25763 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25764 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25765
53362a4b
DM
25766 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25768 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25769 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25770 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25773 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25774 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25775 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25776 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25779 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25780 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25782 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25783 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25784 * sysdeps/sparc/elf/configure: Regenerated.
25785
7b1902cb
JM
257862012-03-01 Joseph Myers <joseph@codesourcery.com>
25787
bec039bc
JM
25788 * configure.in (AS, LD): Require binutils 2.20 or later.
25789 * configure: Regenerated.
25790 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25791 as required minimum version.
25792 * INSTALL: Regenerated.
25793
7b1902cb
JM
25794 [BZ #2541]
25795 [BZ #4108]
25796 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25797 before squaring exponent.
25798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25799 bottom long double and 27 bits of top long double before squaring
25800 exponent.
25801 * math/libm-test.inc (erfc_test): Add more tests.
25802 * sysdeps/i386/fpu/libm-test-ulps: Update.
25803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25805
f775c276
KT
258062012-03-01 Kai Tietz <ktietz@redhat.com>
25807
25808 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25809 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25810 containing bit-fields.
25811 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25812 * soft-fp/single.h (_FP_UNION_S): Likewise.
25813 * soft-fp/double.h (_FP_UNION_D): Likewise.
25814
5b8a4d4a
JM
258152012-02-29 Joseph Myers <joseph@codesourcery.com>
25816
0bab47b6
JM
25817 [BZ #13786]
25818 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25819 not include ../strcmp.S.
25820 [USE_AS_STRNCASECMP_L]: Likewise.
25821 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25822 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25823 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25824 (__strncasecmp_l_ia32): Define as alias to
25825 __strncasecmp_l_nonascii.
25826
0fcad3e2
JM
25827 [BZ #5794]
25828 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25829 * sysdeps/i386/fpu/libm-test-ulps: Update.
25830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25831
5b8a4d4a
JM
25832 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25834
8fdceb2e
JL
258352012-02-29 Jeff Law <law@redhat.com>
25836
25837 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25838 out of bounds read.
25839
1f393a11
MP
258402012-02-29 Marek Polacek <polacek@redhat.com>
25841
25842 [BZ #13706]
25843 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25844 * elf/Makefile: Add rules to run tst-unused-dep.out.
25845
8847f037
DM
258462012-02-28 David S. Miller <davem@davemloft.net>
25847
25848 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25849 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25850 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25851 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25852 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25853 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25854
169d7f11
JM
258552012-02-29 Joseph Myers <joseph@codesourcery.com>
25856
25857 * math/libm-test.inc (llround_test): Move one test from
25858 lround_test. Use TEST_f_L in moved test.
25859 (lround_test): Move misplaced test to llround_test. Add testcase
25860 from bug 2561.
25861
39adf059
UD
258622012-02-28 Ulrich Drepper <drepper@gmail.com>
25863
25864 * sysdeps/x86_64/fpu/e_expf.S: New file.
25865 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25866
71b5d1c5
SB
258672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25868
25869 [BZ #13637]
25870 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25871 of remain_len that may cause incomplete multi-byte character and
25872 false match.
25873 * posix/bug-regex33.c: New file.
25874 * posix/Makefile (tests): Add bug-regex33.
25875
1f77f049
JM
258762012-02-28 Joseph Myers <joseph@codesourcery.com>
25877
25878 * manual/macros.texi: New file.
25879 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25880 * manual/libc.texinfo: Include macros.texi.
25881 * manual/creatute.texi: Likewise.
25882 * manual/install.texi: Likewise.
25883 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25884 @glibcadj{} in references to the GNU C Library.
25885 * manual/charset.texi: Likewise.
25886 * manual/conf.texi: Likewise.
25887 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25888 when not using those macros.
25889 * manual/creature.texi: Likewise.
25890 * manual/crypt.texi: Likewise.
25891 * manual/errno.texi: Likewise.
25892 * manual/filesys.texi: Likewise.
25893 * manual/header.texi: Likewise.
25894 * manual/install.texi: Likewise.
25895 * manual/intro.texi: Likewise.
25896 * manual/io.texi: Likewise.
25897 * manual/job.texi: Likewise.
25898 * manual/lang.texi: Likewise.
25899 * manual/libc.texiinfo: Likewise.
25900 * manual/llio.texi: Likewise.
25901 * manual/locale.texi: Likewise.
25902 * manual/maint.texi: Likewise.
25903 * manual/math.texi: Likewise.
25904 * manual/memory.texi: Likewise.
25905 * manual/message.texi: Likewise.
25906 * manual/nss.texi: Likewise.
25907 * manual/pattern.texi: Likewise.
25908 * manual/process.texi: Likewise.
25909 * manual/resource.texi: Likewise.
25910 * manual/search.texi: Likewise.
25911 * manual/setjmp.texi: Likewise.
25912 * manual/signal.texi: Likewise.
25913 * manual/socket.texi: Likewise.
25914 * manual/startup.texi: Likewise.
25915 * manual/stdio.texi: Likewise.
25916 * manual/string.texi: Likewise.
25917 * manual/sysinfo.texi: Likewise.
25918 * manual/syslog.texi: Likewise.
25919 * manual/terminal.texi: Likewise.
25920 * manual/time.texi: Likewise.
25921 * manual/users.texi: Likewise.
25922 * INSTALL: Regenerated.
25923 * NOTES: Regenerated.
d40c5d54 25924 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25925
450bf206
AS
259262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25927
25928 * include/dirent.h: Include <dirstream.h> before
25929 <dirent/dirent.h>.
25930
741a235b
DM
259312012-02-28 David S. Miller <davem@davemloft.net>
25932
25933 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25934 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25935 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25937
d6b5aa58
DM
259382012-02-27 David S. Miller <davem@davemloft.net>
25939
1aff59a3
DM
25940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25942 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25943 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25944
d6b5aa58
DM
25945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25946 frame pointer instead of stack pointer relative arg slot.
25947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25948 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25949 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25950
433f48bf
CD
259512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25952
25953 [BZ #3992]
25954 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25955
d674b76d
DM
259562012-02-27 David S. Miller <davem@davemloft.net>
25957
25958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25964 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25965 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25966
0e7727f7
JM
259672012-02-27 Joseph Myers <joseph@codesourcery.com>
25968
25969 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25970 later. Allow versions 5-9.
43be4ca2 25971 * configure: Regenerated.
0e7727f7
JM
25972 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25973 required minimum version and 4.6 as recommended version. Do not
25974 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25975 * INSTALL: Regenerated.
0e7727f7 25976
a78bc654
DM
259772012-02-27 David S. Miller <davem@davemloft.net>
25978
428d5830
DM
25979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25985 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25987
a78bc654
DM
25988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25989 manipulate bits before adding and subtracting TWO112[sx].
25990 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25991
4579f81c
RM
259922012-02-27 Roland McGrath <roland@hack.frob.com>
25993
36c8acb4
RM
25994 [BZ #13775]
25995 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25996 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25997 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25998 being in POSIX, because they are in 1003.1-2008.
25999
84ad622b
RM
26000 * rt/tst-aio.c: Include <fcntl.h>.
26001 * rt/tst-aio7.c: Likewise.
26002 * rt/tst-aio64.c: Likewise.
26003
4579f81c
RM
26004 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26005
abd923db
JM
260062012-02-27 Joseph Myers <joseph@codesourcery.com>
26007
26008 * manual/install.texi (--with-headers): Describe headers as
26009 interface headers, not private headers.
26010 (Specific advice for GNU/Linux systems): Describe use of headers
26011 from "make headers_install", not private headers from older
26012 kernels.
43be4ca2 26013 * INSTALL: Regenerated.
abd923db
JM
26014 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26015 Change to 2.6.19.
26016 * sysdeps/unix/sysv/linux/configure: Regenerated.
26017
6664049b
JM
26018 * manual/llio.texi (fclean): Remove documentation.
26019
bb8b6697
JM
26020 * manual/Makefile (libc-texi-generated): New variable. Include
26021 version.texi.
26022 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26023 $(libc-texi-generated), not duplicated list of files.
26024 (version.texi, stamp-version): New rules.
26025 (realclean): Remove $(libc-texi-generated), not individual files
26026 from that list. Do not remove dir-add.texinfo.
26027 * manual/libc.texinfo: Comment out uses of edition numbers and
26028 references to printed manual. Remove last-updated dates.
26029 (EDITION): Comment out.
26030 (ISBN): Likewise.
26031 (VERSION, UPDATED): Remove.
26032 (version.texi): Include.
26033
12e5c3b9
AS
260342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26035
26036 * sysdeps/posix/spawni.c: Include <signal.h>.
26037 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26038 * sysdeps/pthread/aio_fsync.c: Likewise.
26039
4efeffc1 260402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26041
ba63ba08
UD
26042 * conform/Makefile (tests): Run only when not cross-compiling and
26043 when fast-check is not defined.
26044
d94a4670
UD
26045 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26046 * conform/data/limits.h-data: Fixes for POSIX2008.
26047 * conform/run-conformtest.sh: Run all tests.
26048 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26049 headers.
26050 * include/bits/dlfcn.h: Likewise.
26051 * include/langinfo.h: Likewise.
26052 * include/monetary.h: Likewise.
26053 * include/sys/poll.h: Likewise.
26054
26055 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26056 for __USE_GNU.
26057 * posix/spawn.h: Define __need_sigset_t.
26058 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26059 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26060 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26061 to get sigevent_t only.
26062 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26063 only for __USE_GNU.
26064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26066 process_vm_writev only for __USE_GNU.
26067 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26068
26069 * conform/Makefile: For now ignore errors from run-conformtest.
26070 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26071 POSIX to avoid namespace pollution. Don't prepend headers.
26072 * conform/data/aio.h-data: Fixes for POSIX testing.
26073 * conform/data/fcntl.h-data: Likewise.
26074 * conform/data/glob.h-data: Likewise.
26075 * conform/data/grp.h-data: Likewise.
26076 * conform/data/pthread.h-data: Likewise.
26077 * conform/data/pwd.h-data: Likewise.
26078 * conform/data/signal.h-data: Likewise.
26079 * conform/data/spawn.h-data: Likewise.
26080 * conform/data/stdio.h-data: Likewise.
26081 * conform/data/stdlib.h-data: Likewise.
26082 * conform/data/stropts.h-data: Likewise.
26083 * conform/data/sys/mman.h-data: Likewise.
26084 * conform/data/sys/stat.h-data: Likewise.
26085 * conform/data/sys/types.h-data: Likewise.
26086 * conform/data/sys/wait.h-data: Likewise.
26087 * conform/data/time.h-data: Likewise.
26088 * conform/data/unistd.h-data: Likewise.
26089 * conform/data/utime.h-data: Likewise.
26090
26091 * io/sys/stat.h: fchmod was always in POSIX.
26092 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26093 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26094 * rt/aio.h: Define __need_timespec before including <time.h>.
26095 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26096 struct. Add forward declaration of pthread_attr_t and use it in
26097 sigevent.
26098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26100 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26101 always remove CLK_TCK definition.
26102
c20105c3
AS
261032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26104
26105 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26106
7a270350
UD
261072012-02-25 Ulrich Drepper <drepper@gmail.com>
26108
31341567
UD
26109 * conform/run-conformtest.sh: New file.
26110 * conform/Makefile: Run run-conformtest for tests.
26111 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26112 support.
26113
26114 * conform/data/uchar.h-data: New file.
26115 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26116 * conform/data/arpa/inet.h-data: Likewise.
26117 * conform/data/assert.h-data: Likewise.
26118 * conform/data/complex.h-data: Likewise.
26119 * conform/data/cpio.h-data: Likewise.
26120 * conform/data/ctype.h-data: Likewise.
26121 * conform/data/dirent.h-data: Likewise.
26122 * conform/data/dlfcn.h-data: Likewise.
26123 * conform/data/errno.h-data: Likewise.
26124 * conform/data/fcntl.h-data: Likewise.
26125 * conform/data/float.h-data: Likewise.
26126 * conform/data/fmtmsg.h-data: Likewise.
26127 * conform/data/fnmatch.h-data: Likewise.
26128 * conform/data/ftw.h-data: Likewise.
26129 * conform/data/glob.h-data: Likewise.
26130 * conform/data/grp.h-data: Likewise.
26131 * conform/data/iconv.h-data: Likewise.
26132 * conform/data/inttypes.h-data: Likewise.
26133 * conform/data/langinfo.h-data: Likewise.
26134 * conform/data/libgen.h-data: Likewise.
26135 * conform/data/limits.h-data: Likewise.
26136 * conform/data/locale.h-data: Likewise.
26137 * conform/data/math.h-data: Likewise.
26138 * conform/data/monetary.h-data: Likewise.
26139 * conform/data/mqueue.h-data: Likewise.
26140 * conform/data/ndbm.h-data: Likewise.
26141 * conform/data/net/if.h-data: Likewise.
26142 * conform/data/netdb.h-data: Likewise.
26143 * conform/data/netinet/in.h-data: Likewise.
26144 * conform/data/nl_types.h-data: Likewise.
26145 * conform/data/poll.h-data: Likewise.
26146 * conform/data/pthread.h-data: Likewise.
26147 * conform/data/pwd.h-data: Likewise.
26148 * conform/data/regex.h-data: Likewise.
26149 * conform/data/sched.h-data: Likewise.
26150 * conform/data/search.h-data: Likewise.
26151 * conform/data/semaphore.h-data: Likewise.
26152 * conform/data/setjmp.h-data: Likewise.
26153 * conform/data/signal.h-data: Likewise.
26154 * conform/data/spawn.h-data: Likewise.
26155 * conform/data/stdarg.h-data: Likewise.
26156 * conform/data/stdio.h-data: Likewise.
26157 * conform/data/stdlib.h-data: Likewise.
26158 * conform/data/string.h-data: Likewise.
26159 * conform/data/strings.h-data: Likewise.
26160 * conform/data/stropts.h-data: Likewise.
26161 * conform/data/sys/ipc.h-data: Likewise.
26162 * conform/data/sys/mman.h-data: Likewise.
26163 * conform/data/sys/msg.h-data: Likewise.
26164 * conform/data/sys/resource.h-data: Likewise.
26165 * conform/data/sys/select.h-data: Likewise.
26166 * conform/data/sys/sem.h-data: Likewise.
26167 * conform/data/sys/shm.h-data: Likewise.
26168 * conform/data/sys/socket.h-data: Likewise.
26169 * conform/data/sys/stat.h-data: Likewise.
26170 * conform/data/sys/statvfs.h-data: Likewise.
26171 * conform/data/sys/time.h-data: Likewise.
26172 * conform/data/sys/timeb.h-data: Likewise.
26173 * conform/data/sys/times.h-data: Likewise.
26174 * conform/data/sys/types.h-data: Likewise.
26175 * conform/data/sys/uio.h-data: Likewise.
26176 * conform/data/sys/un.h-data: Likewise.
26177 * conform/data/sys/utsname.h-data: Likewise.
26178 * conform/data/sys/wait.h-data: Likewise.
26179 * conform/data/syslog.h-data: Likewise.
26180 * conform/data/tar.h-data: Likewise.
26181 * conform/data/termios.h-data: Likewise.
26182 * conform/data/utime.h-data: Likewise.
26183 * conform/data/utmpx.h-data: Likewise.
26184 * conform/data/varargs.h-data: Likewise.
26185 * conform/data/wchar.h-data: Likewise.
26186 * conform/data/wctype.h-data: Likewise.
26187 * conform/data/wordexp.h-data: Likewise.
26188
26189 * include/stropts.h: New file.
26190 * include/uchar.h: New file.
26191 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26192 * include/assert.h: Likewise.
26193 * include/ctype.h: Likewise.
26194 * include/dirent.h: Likewise.
26195 * include/dlfcn.h: Likewise.
26196 * include/fcntl.h: Likewise.
26197 * include/fnmatch.h: Likewise.
26198 * include/glob.h: Likewise.
26199 * include/grp.h: Likewise.
26200 * include/libio.h: Likewise.
26201 * include/locale.h: Likewise.
26202 * include/math.h: Likewise.
26203 * include/net/if.h: Likewise.
26204 * include/netdb.h: Likewise.
26205 * include/netinet/in.h: Likewise.
26206 * include/pthread.h: Likewise.
26207 * include/pwd.h: Likewise.
26208 * include/regex.h: Likewise.
26209 * include/sched.h: Likewise.
26210 * include/search.h: Likewise.
26211 * include/setjmp.h: Likewise.
26212 * include/signal.h: Likewise.
26213 * include/stdio.h: Likewise.
26214 * include/stdlib.h: Likewise.
26215 * include/string.h: Likewise.
26216 * include/sys/cdefs.h: Likewise.
26217 * include/sys/mman.h: Likewise.
26218 * include/sys/msg.h: Likewise.
26219 * include/sys/resource.h: Likewise.
26220 * include/sys/select.h: Likewise.
26221 * include/sys/socket.h: Likewise.
26222 * include/sys/stat.h: Likewise.
26223 * include/sys/statvfs.h: Likewise.
26224 * include/sys/time.h: Likewise.
26225 * include/sys/times.h: Likewise.
26226 * include/sys/uio.h: Likewise.
26227 * include/sys/utsname.h: Likewise.
26228 * include/sys/wait.h: Likewise.
26229 * include/termios.h: Likewise.
26230 * include/time.h: Likewise.
26231 * include/ulimit.h: Likewise.
26232 * include/unistd.h: Likewise.
26233 * include/utime.h: Likewise.
26234 * include/wchar.h: Likewise.
26235 * include/wctype.h: Likewise.
26236 * include/wordexp.h: Likewise.
26237
26238 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26239
7a270350
UD
26240 * time/time.h: TIME_UTC must be a macro.
26241 Make timespec_get available for ISO C11 only as well.
26242
7724defc
UD
262432012-02-24 Ulrich Drepper <drepper@gmail.com>
26244
26245 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26246 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26247
6b1d1d46
JM
262482012-02-24 Joseph Myers <joseph@codesourcery.com>
26249
26250 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26251
0f8bbd69
JM
262522012-02-24 Joseph Myers <joseph@codesourcery.com>
26253
26254 * manual/texinfo.tex: Update to version 2012-01-19.16.
26255
66ab80bc
JM
262562012-02-24 Joseph Myers <joseph@codesourcery.com>
26257
26258 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26259
74981cc5
RM
262602012-02-24 Roland McGrath <roland@hack.frob.com>
26261
ee968201
RM
26262 [BZ #13738]
26263 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26264 * manual/fdl-1.3.texi: New file.
26265 * manual/fdl-1.1.texi: File removed.
26266
74981cc5
RM
26267 [BZ #13738]
26268 * manual/libc.texinfo (FDL_VERSION): New @set.
26269 Use it for mention of FDL in cover text.
26270 (Documentation License): Use it in @include file name.
26271
7bb764bc
JM
262722012-02-22 Joseph Myers <joseph@codesourcery.com>
26273 Roland McGrath <roland@hack.frob.com>
26274
26275 [BZ #5461]
26276 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26277 not LONG_LONG_MAX and LONG_LONG_MIN.
26278 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26279 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26280 name.
26281 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26282
6cbeae47
JM
262832012-02-22 Joseph Myers <joseph@codesourcery.com>
26284
26285 [BZ #2547]
26286 [BZ #11365]
26287 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26288 manipulate bits before adding and subtracting TWO23[sx].
26289 * math/libm-test.inc (nearbyint_test): Add more tests.
26290
fe45ce09
JM
262912012-02-22 Joseph Myers <joseph@codesourcery.com>
26292
26293 [BZ #2548]
26294 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26295 bits before adding and subtracting TWO23[sx].
26296 * math/libm-test.inc (rint_test): Add more tests.
26297 (rint_test_tonearest): Likewise.
26298 (rint_test_towardzero): Likewise.
26299 (rint_test_downward): Likewise.
26300 (rint_test_upward: Likewise.
26301
ff3b3d82
JM
263022012-02-22 Joseph Myers <joseph@codesourcery.com>
26303
26304 [BZ #10110]
26305 * include/stdc-predef.h: New file. Extracted from features.h.
26306 * include/features.h: Include stdc-predef.h.
26307 * Makefile (headers): Add stdc-predef.h.
26308 * CONFORMANCE (Compiler limitations): Update.
26309
ef0aab35
JM
263102012-02-22 Joseph Myers <joseph@codesourcery.com>
26311
26312 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26313
58639409
DM
263142012-02-21 David S. Miller <davem@davemloft.net>
26315
26316 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26318
c0e70b25
DM
263192012-02-20 David S. Miller <davem@davemloft.net>
26320
26321 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26322 using a normal save/restore sequence, rather than allocating a
26323 dummy stack frame just to store a frame pointer and restore.
26324 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26325
fb06851d
JM
263262012-02-21 Joseph Myers <joseph@codesourcery.com>
26327
26328 * manual/install.texi: Fix stray word in line-wrapped comment.
26329
7a8b71c3
DM
263302012-02-20 David S. Miller <davem@davemloft.net>
26331
d510c123
DM
26332 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26333 both binutils and gcc support GOTDATA.
26334
0722d7c2
DM
26335 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26336 "rd %pc" in the PIC register setup sequences.
26337
3d2b3019
DM
26338 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26339 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26340 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26341 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26344 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26347 (SYSCALL_ERROR_HANDLER): Likewise.
26348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26351 (SYSCALL_ERROR_HANDLER): Likewise.
26352
c80098a9
DM
26353 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26354 (HAVE_GCC_GOTDATA): New.
26355 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26356 relocation support in both binutils and gcc.
26357 * sysdeps/sparc/elf/configure: Regenerate.
26358
3a2545a0
DM
26359 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26360 * sysdeps/sparc/sparc32/elf/configure: Delete.
26361 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26362 * sysdeps/sparc/sparc64/elf/configure: Delete.
26363 * sysdeps/sparc/elf/configure.in: New file.
26364 * sysdeps/sparc/elf/configure: Generate.
26365
7a8b71c3
DM
26366 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26367 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26368 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26369 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26370 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26371
f1e86fca
JM
263722012-02-21 Joseph Myers <joseph@codesourcery.com>
26373
26374 * manual/install.texi: Do not mention specific glibc version
26375 numbers.
26376 * manual/libc.texinfo (VERSION, UPDATED): Update.
26377 (@copying): Use @copyright{} and range of years.
26378
0e7dfaef
JM
263792012-02-21 Joseph Myers <joseph@codesourcery.com>
26380
26381 [BZ #13695]
26382 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26383 [crti.S not in sysdirs] (generated): Do not append.
26384 [crti.S not in sysdirs] (omit-deps): Likewise.
26385 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26386 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26387 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26388 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26389 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26390 Likewise.
26391 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26392 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26393 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26394 * csu/defs.awk: Remove file.
26395 * sysdeps/generic/initfini.c: Likewise.
26396 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26397 variable.
26398 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26399 Likewise.
26400
599af3ca
JM
264012012-02-20 Joseph Myers <joseph@codesourcery.com>
26402
26403 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26404 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26405 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26406 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26407 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26408 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26409 <bits/epoll.h>.
26410 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26411 (__EPOLL_PACKED): Define to empty if not defined by
26412 <bits/epoll.h>.
26413 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26415 bits/epoll.h.
26416
0e499750
JM
264172012-02-20 Joseph Myers <joseph@codesourcery.com>
26418
26419 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26420 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26421 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26422 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26423 <bits/timerfd.h>.
26424 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26426 bits/timerfd.h.
26427
5ad91f6e
JM
264282012-02-20 Joseph Myers <joseph@codesourcery.com>
26429
26430 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26431 in C locale.
26432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26433 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26434 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26436
06b99b02
AJ
264372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26438
26439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26440 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26441
7638c0fd
AS
264422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26443
26444 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26445 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26446 defined.
26447 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26448 Likewise.
26449 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26450 entry for 2.16.
26451
92221550
AJ
264522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26453
26454 * math/w_acos.c: Use non-signaling floating-point comparisons.
26455 * math/w_acosf.c: Likewise.
26456 * math/w_acosh.c: Likewise.
26457 * math/w_acoshf.c: Likewise.
26458 * math/w_acoshl.c: Likewise.
26459 * math/w_acosl.c: Likewise.
26460 * math/w_asin.c: Likewise.
26461 * math/w_asinf.c: Likewise.
26462 * math/w_asinl.c: Likewise.
26463 * math/w_atanh.c: Likewise.
26464 * math/w_atanhf.c: Likewise.
26465 * math/w_atanhl.c: Likewise.
26466 * math/w_exp2.c: Likewise.
26467 * math/w_exp2f.c: Likewise.
26468 * math/w_exp2l.c: Likewise.
26469 * math/w_j0.c: Likewise.
26470 * math/w_j0f.c: Likewise.
26471 * math/w_j0l.c: Likewise.
26472 * math/w_j1.c: Likewise.
26473 * math/w_j1f.c: Likewise.
26474 * math/w_j1l.c: Likewise.
26475 * math/w_jn.c: Likewise.
26476 * math/w_jnf.c: Likewise.
26477 * math/w_log.c: Likewise.
26478 * math/w_log10.c: Likewise.
26479 * math/w_log10f.c: Likewise.
26480 * math/w_log10l.c: Likewise.
26481 * math/w_log2.c: Likewise.
26482 * math/w_log2f.c: Likewise.
26483 * math/w_log2l.c: Likewise.
26484 * math/w_logf.c: Likewise.
26485 * math/w_logl.c: Likewise.
26486 * math/w_sqrt.c: Likewise.
26487 * math/w_sqrtf.c: Likewise.
26488 * math/w_sqrtl.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26492 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26493 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26494
ebaf36eb
JM
264952012-02-19 Joseph Myers <joseph@codesourcery.com>
26496
26497 [BZ #9739]
26498 * manual/string.texi (strnlen): Use correct parameter name in
26499 equivalent expression.
26500
71c254a6
JM
265012012-02-19 Joseph Myers <joseph@codesourcery.com>
26502
26503 [BZ #11174]
26504 * manual/users.texi (seteuid): Consistently use neweuid for
26505 argument name.
26506
16d2c631
JM
265072012-02-19 Joseph Myers <joseph@codesourcery.com>
26508
26509 [BZ #13704]
26510 * manual/nss.texi (Services in the NSS configuration): Correct
26511 list of services in example configuration file.
26512
cd837b09
NB
265132012-02-19 Nick Bowler <nbowler@draconx.ca>
26514
26515 [BZ #11322]
26516 * manual/arith.texi: Remove statements about negative zero
26517 behaving identically to zero.
26518
02c4bbad
JM
265192012-02-18 Joseph Myers <joseph@codesourcery.com>
26520
26521 [BZ #5993]
26522 * manual/install.texi: Do not document upgrading from libc5.
26523
366842e7
JM
265242012-02-18 Joseph Myers <joseph@codesourcery.com>
26525
26526 [BZ #4596]
26527 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26528
dd54084d
DM
265292012-02-18 David S. Miller <davem@davemloft.net>
26530
26531 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26532 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26533 %o7 across the call.
26534 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26535 instead.
26536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26537 SETUP_PIC_REG_LEAF.
26538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26539 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26540 * sysdeps/sparc/crtn.S: Likewise.
26541
2bcc53a3
UD
265422012-02-17 Ulrich Drepper <drepper@gmail.com>
26543
26544 * aout/Makefile: Remove.
26545
09c093b5
RK
265462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26547
26548 [BZ #13058]
26549 * manual/examples/argp-ex1.c (main): Format definition in GNU
26550 style.
26551 * manual/examples/argp-ex2.c (main): Likewise.
26552 * manual/examples/argp-ex3.c (main): Likewise.
26553 * manual/examples/argp-ex4.c (main): Likewise.
26554 * manual/examples/longopt.c (main): Use new-style prototype
26555 definition.
26556 * manual/examples/strncat.c (main): Specify return type and use
26557 (void) for arguments.
26558 * manual/examples/subopt.c (main): Use char **argv argument.
26559
2ee633a2
JM
265602012-02-17 Joseph Myers <joseph@codesourcery.com>
26561
26562 [BZ #5077]
26563 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26564 rounding modes.
26565
0520adde
FB
265662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26567
26568 [BZ #6907]
26569 * manual/string.texi (strchr): Change when strchrnul is
26570 recommended.
26571
3f4081cd
DGM
265722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26573
26574 [BZ #174]
26575 * manual/locale.texi (setlocale): Document LOCPATH.
26576
d1b10e78
JM
265772012-02-17 Joseph Myers <joseph@codesourcery.com>
26578
26579 [BZ #10210]
26580 * manual/process.texi (execle): Move @dots{} before last argument.
26581
79c6869c
PB
265822012-02-17 Paul Bolle <pebolle@tiscali.nl>
26583
26584 [BZ #12047]
26585 * manual/charset.texi (Generic Charset Conversion): Fix typo
26586 (LC_TYPE -> LC_CTYPE).
26587
cc6e48bc
NB
265882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26589
26590 [BZ #5805]
26591 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26592 (scalbnf): Likewise.
26593 (scalbnl): Likewise.
26594 (scalbln): Likewise.
26595 (scalblnf): Likewise.
26596 (scalblnl): Likewise.
26597 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26598 (vwarnx): Likewise.
26599 (verr): Likewise.
26600 (verrx): Likewise.
26601 * manual/filesys.texi (telldir): Use braces around return type.
26602 * manual/llio.texi (mmap): Add space after comma.
26603 (mmap64): Likewise.
26604 * manual/math.texi (jn): Use @var{} on parameter names.
26605 (jnf): Likewise.
26606 (jnl): Likewise.
26607 (yn): Likewise.
26608 (ynf): Likewise.
26609 (ynl): Likewise.
26610 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26611 line.
26612 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26613 "...".
26614 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26615 (sched_get_priority_max): Likewise.
26616 * manual/signal.texi (sigvec): Add space after comma.
26617 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26618 names.
26619 (if_indextoname): Likewise.
26620 (if_freenameindex): Likewise.
26621 (sendto): Use ',' instead of '.' in prototype.
26622 * manual/startup.texi (syscall): Use @dots{} instead of literal
26623 "...".
26624 * manual/stdio.texi (__fpending): Separate initial words of
26625 paragraph from @deftypefun line.
26626 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26627 "...".
26628 (vsyslog): Use @var{} on parameter names.
26629 * manual/terminal.texi (stty): Use @var{} on parameter names.
26630 * manual/users.texi (getutmp): Use @var{} on parameter names.
26631 (getutmpx): Likewise.
26632
5b23062f
JM
266332012-02-17 Joseph Myers <joseph@codesourcery.com>
26634
26635 [BZ #6884]
26636 * manual/stdio.texi (fopen): Fix typos in description of
26637 ",ccs=STRING".
26638
8dee4833
AJ
266392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26640
26641 [BZ #4026]
26642 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26643 get clock_id definition.
26644
9078ce93
TS
266452012-02-17 Thomas Schwinge <thomas@schwinge.name>
26646
26647 [BZ #4822]
26648 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26649 (madvise): Cast every argument to void on its own.
26650
3835c55f
JM
266512012-02-17 Joseph Myers <joseph@codesourcery.com>
26652
26653 [BZ #9902]
26654 * manual/startup.texi (Exit Status): Fix typo.
26655
35c47e37
JM
266562012-02-17 Joseph Myers <joseph@codesourcery.com>
26657
26658 [BZ #10140]
26659 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26660 * manual/examples/argp-ex2.c: Likewise.
26661 * manual/examples/argp-ex3.c: Likewise.
26662
e3b69ca7
RH
266632012-02-16 Richard Henderson <rth@redhat.com>
26664
26665 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26666 * sysdeps/s390/s390-32/initfini.c: Remove.
26667 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26668 * sysdeps/s390/s390-64/initfini.c: Remove.
26669
df83af67
KK
266702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26671
26672 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26673 compiler output for sysdeps/generic/initfini.c.
26674 * sysdeps/sh/elf/initfini.c: Remove file.
26675
f63f3380
DM
266762012-02-16 David S. Miller <davem@davemloft.net>
26677
fb59b3a4
DM
26678 [BZ #11494]
26679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26680
f63f3380
DM
26681 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26682 * sysdeps/sparc/crti.S: New file.
26683 * sysdeps/sparc/crtn.S: New file.
26684 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26685 * sysdeps/sparc/sparc64/Makefile: Likewise.
26686
df6a4a4a
MF
266872012-02-15 Mike Frysinger <vapier@gentoo.org>
26688
6dd8f3dc 26689 [BZ #3335]
df6a4a4a
MF
26690 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26691
1cac7236
RM
266922012-02-15 Roland McGrath <roland@hack.frob.com>
26693
d2c736f8
RM
26694 [BZ #4822]
26695 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26696
1cac7236
RM
26697 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26698 (write, read, close): Likewise.
26699 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26700
8e475601
JM
267012012-02-15 Joseph Myers <joseph@codesourcery.com>
26702
26703 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26704 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26705 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26706 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26707 <bits/signalfd.h>.
26708 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26710 bits/signalfd.h.
26711
ed656b40
MP
267122012-02-14 Marek Polacek <polacek@redhat.com>
26713
26714 * sysdeps/x86_64/crti.S: New file.
26715 * sysdeps/x86_64/crtn.S: New file.
26716 * sysdeps/x86_64/elf/initfini.c: Remove file.
26717
2a979d3a
JM
267182012-02-13 Joseph Myers <joseph@codesourcery.com>
26719
26720 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26721 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26722 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26723 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26724 <bits/inotify.h>.
26725 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26727 bits/inotify.h.
26728
2a418ac3
JM
267292012-02-13 Joseph Myers <joseph@codesourcery.com>
26730
26731 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26732 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26733 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26734 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26735 <bits/eventfd.h>.
26736 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26738 bits/eventfd.h.
26739
fb779be7
TS
267402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26741
e19e83c5
RM
26742 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26743 __feraiseexcept instead of feraiseexcept.
7c35ffed 26744
fb779be7
TS
26745 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26746 nanosleep invocations.
26747 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26748 strings, and add error checking for a nanosleep invocations.
26749
59ba27a6
PE
267502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26751
26752 Replace FSF snail mail address with URLs, as per GNU coding standards.
26753 Most of the snail mail addresses were wrong anyway, and omitting
26754 them makes the source code easier to maintain. Almost all of the
26755 changes are to license notices and to locale LC_IDENTIFICATION
26756 addresses, except for this one:
26757 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26758 not its snail mail address.
26759
57b957eb
RH
267602012-02-09 Richard Henderson <rth@twiddle.net>
26761
af850b1c
RH
26762 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26763 of kernel-features.h.
26764
57b957eb
RH
26765 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26766
6b73181a
MP
267672012-02-08 Marek Polacek <polacek@redhat.com>
26768
26769 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26770 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26771 * sysdeps/gnu/_G_config.h: Likewise.
26772 * sysdeps/generic/_G_config.h: Likewise.
26773
26ecc33a
AS
267742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26775
6c6dbc63
AS
26776 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26777 tests.
26778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26779
e216c012
AS
26780 * sysdeps/powerpc/powerpc32/crti.S: New file.
26781 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26782 * sysdeps/powerpc/powerpc64/crti.S: New file.
26783 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26784
26ecc33a
AS
26785 * Makeconfig (have-initfini): Don't set.
26786 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26787 * configure.in (nopic_initfini): Don't substitute.
26788 * config.h.in (HAVE_INITFINI): Don't #undef.
26789 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26790 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26791
3add8e13
JM
267922012-02-08 Joseph Myers <joseph@codesourcery.com>
26793
26794 Support crti.S and crtn.S provided directly by architectures.
26795 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26796 [crti.S in sysdirs] (omit-deps): Likewise.
26797 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26798 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26799 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26800 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26801 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26802 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26803 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26804 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26805 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26806 compiler output for sysdeps/generic/initfini.c.
26807 * sysdeps/i386/elf/Makefile: Remove file.
26808 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26809
a22f12b4
MP
268102012-02-07 Marek Polacek <polacek@redhat.com>
26811
26812 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26813 * sysdeps/gnu/_G_config.h: Likewise.
26814 * sysdeps/mach/hurd/_G_config.h: Likewise.
26815
148cf100
MP
268162012-02-07 Marek Polacek <polacek@redhat.com>
26817
26818 * math/Makefile (tests): Add tst-CMPLX2.
26819 * math/tst-CMPLX2.c: New file.
26820
cfdc0dd7
AS
268212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26822
84ba42c4
AS
26823 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26824
cfdc0dd7
AS
26825 * math/libm-test.inc (jn_test): Add missing L suffix.
26826
622c86f4
MP
268272012-02-06 Marek Polacek <polacek@redhat.com>
26828
26829 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26830 * sysdeps/i386/fpu/e_powf.S: Likewise.
26831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26832 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26833 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26834 * sysdeps/i386/fpu/e_pow.S: Likewise.
26835 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26837 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26838 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26839 * sysdeps/i386/fpu/e_log2.S: Likewise.
26840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26842 * sysdeps/i386/fpu/e_powl.S: Likewise.
26843 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26846 * sysdeps/i386/fpu/e_logl.S: Likewise.
26847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26848 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26849 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26850 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26851 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26852 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26853 * sysdeps/i386/fpu/e_log.S: Likewise.
26854 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26855 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26856 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26857 * sysdeps/i386/fpu/e_logf.S: Likewise.
26858 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26859 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26860 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26861 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26862 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26863 * sysdeps/i386/fpu/e_log10.S: Likewise.
26864 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26865 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26866 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26867 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26868 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26869 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26870 * sysdeps/i386/asm-syntax.h: Likewise.
26871 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26873 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26874 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26875 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26876 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26877 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26878 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26879 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26880 * sysdeps/powerpc/sysdep.h: Likewise.
26881 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26882 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26883
d4a54ac6
JM
268842012-02-06 Joseph Myers <joseph@codesourcery.com>
26885
26886 [BZ #411]
26887 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26888
314054ea
JM
268892012-02-06 Joseph Myers <joseph@codesourcery.com>
26890
26891 * sysdeps/i386/sysdep.h: Include <features.h>.
26892 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26893 version.
26894
d8e0ca50
JM
268952012-02-05 Joseph Myers <joseph@codesourcery.com>
26896
26897 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26898 Define.
26899 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26900 LOAD_PIC_REG_STR.
26901
b1da7dd9
JM
269022012-02-03 Joseph Myers <joseph@codesourcery.com>
26903
26904 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26905 (SETUP_PIC_REG): Use GET_PC_THUNK.
26906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26907 macro.
26908
9a1d9254
JM
269092012-02-03 Joseph Myers <joseph@codesourcery.com>
26910
26911 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26912 for non-PIC compilation.
26913 (SETUP_PIC_REG): Add .p2align directive.
26914 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26915 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26916 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26917 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26918 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26919 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26920 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26928 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26929 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26930 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26931 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26932 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26933 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26936 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26937 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26938 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26940 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26942 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26943 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26944 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26945 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26946 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26947 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26948 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26949 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26950 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26951 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26952 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26953 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26954 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26955
65dc3b75
JM
269562012-02-03 Joseph Myers <joseph@codesourcery.com>
26957
26958 * math/tst-CMPLX.c: Include <stdio.h>.
26959
d55bf177
JM
269602012-01-31 Joseph Myers <joseph@codesourcery.com>
26961
26962 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26963 float.
26964 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26965 * sysdeps/sparc/bits/mathdef.h: Likewise.
26966
69db4f8f
MP
269672012-01-31 Marek Polacek <polacek@redhat.com>
26968
26969 * libio/libio.h: Don't define _PARAMS.
26970 * locale/programs/config.h: Don't define PARAMS.
26971 * stdlib/strtol_l.c: Likewise.
26972 (__strtol_l): Remove PARAMS from the prototype.
26973
41b81892
UD
269742012-01-31 Ulrich Drepper <drepper@gmail.com>
26975
3b49edc0
UD
26976 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26977 names. Just use the correct names. Remove unnecessary wrapper
26978 functions.
26979 * malloc/arena.c: Likewise.
26980 * malloc/hooks.c: Likewise.
26981
41b81892
UD
26982 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26983 ARENA_TEST says not to. Simplify test for creation of a new arena.
26984 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26985
27a25b6e
UD
269862012-01-30 Ulrich Drepper <drepper@gmail.com>
26987
26988 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26989 into tail calls.
26990 (update_get_addr): New function.
26991 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26992 GET_ADDR_MODULE parameter.
26993
c8a89e7d
JM
269942012-01-30 Joseph Myers <joseph@codesourcery.com>
26995
26996 * crypt/cert.c: Remove __STDC__ conditionals.
26997 * crypt/crypt-entry.c: Likewise.
26998 * crypt/crypt_util.c: Likewise.
26999 * libio/filedoalloc.c: Likewise.
27000 * libio/fileops.c: Likewise.
27001 * libio/genops.c: Likewise.
27002 * libio/iofclose.c: Likewise.
27003 * libio/iofdopen.c: Likewise.
27004 * libio/iofopen.c: Likewise.
27005 * libio/iofopen64.c: Likewise.
27006 * libio/iogetdelim.c: Likewise.
27007 * libio/iopopen.c: Likewise.
27008 * libio/obprintf.c: Likewise.
27009 * libio/oldfileops.c: Likewise.
27010 * libio/oldiofclose.c: Likewise.
27011 * libio/oldiofdopen.c: Likewise.
27012 * libio/oldiofopen.c: Likewise.
27013 * libio/oldiopopen.c: Likewise.
27014 * libio/wfiledoalloc.c: Likewise.
27015 * libio/wgenops.c: Likewise.
27016 * locale/programs/xmalloc.c: Likewise.
27017 * misc/syslog.c: Likewise.
27018 * stdio-common/xbug.c: Likewise.
27019 * string/memchr.c: Likewise.
27020 * string/memcmp.c: Likewise.
27021 * string/memrchr.c: Likewise.
27022 * string/rawmemchr.c: Likewise.
27023 * sysdeps/posix/getcwd.c: Likewise.
27024 * time/strftime_l.c: Likewise.
27025
3b100462
JM
270262012-01-30 Joseph Myers <joseph@codesourcery.com>
27027
27028 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27029 * config.make.in (config-cflags-sse2avx): Define.
27030 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27031 Fix typo.
27032
607998af
CM
270332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27034
27035 * scripts/config.guess: Update from upstream config git repository.
27036 * scripts/config.sub: Likewise.
27037
3601428f
CM
270382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27039
3ac8b282
CM
27040 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27041 (EM_NUM): Update.
27042 (R_TILEPRO_*, R_TILEGX_*): New macros.
27043
e034841e
CM
27044 * scripts/firstversions.awk: Fix bug in version range handling.
27045
540d7568
CM
27046 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27047
3601428f
CM
27048 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27049
463de862
CM
27050 * include/sys/epoll.h: New file.
27051 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27052 libc_hidden_def.
27053
73139a76
UD
270542012-01-28 Ulrich Drepper <drepper@gmail.com>
27055
96bc5b45
UD
27056 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27057 Avoid unnecessary __WORDSIZE == 64 test.
27058 (fmaxf): Use VEX format if possible.
27059 (fmax): Likewise.
27060 (fminf): Likewise.
27061 (fmin): Likewise.
27062
56f6f6a2
UD
27063 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27064 * math/math_private.h: Remove libc_fegetround* and
27065 libc_fesetround*.
27066 * sysdeps/i386/configure.in: Check for -msse2avx.
27067 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27068 also if SSE2AVX is defined.
27069 Remove libc_fegetround* and libc_fesetround*.
27070 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27071 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27073 of HAS_YMM_USABLE.
27074 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27075 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27077 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27079
73139a76
UD
27080 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27081
d73f93a4
AZ
270822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27083
27084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27085 size is not set.
27086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27087
6ee65ed6
UD
270882012-01-27 Ulrich Drepper <drepper@gmail.com>
27089
27090 [BZ #13618]
27091 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27092 relocation.
27093 * Makeconfig (libm): Define.
27094 * elf/Makefile: Add rules to build and run tst-relsort1.
27095 * elf/tst-relsort1.c: New file.
27096 * elf/tst-relsort1mod1.c: New file.
27097 * elf/tst-relsort1mod2.c: New file.
27098
8db21882
JM
270992012-01-27 Joseph Myers <joseph@codesourcery.com>
27100
27101 * math/s_ldexp.c: Remove __STDC__ conditionals.
27102 * math/s_ldexpf.c: Likewise.
27103 * math/s_ldexpl.c: Likewise.
27104 * math/s_nextafter.c: Likewise.
27105 * math/s_nexttowardf.c: Likewise.
27106 * math/s_significand.c: Likewise.
27107 * math/s_significandf.c: Likewise.
27108 * math/s_significandl.c: Likewise.
27109 * math/w_jnl.c: Likewise.
27110 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27111 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27112 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27113 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27114 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27116 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27117 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27122 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27123 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27124 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27129 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27130 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27131 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27132 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27133 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27134 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27135 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27136 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27137 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27138 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27139 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27140 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27141 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27142 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27143 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27144 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27145 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27146 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27147 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27148 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27149 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27150 * sysdeps/ieee754/k_standard.c: Likewise.
27151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27152 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27153 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27154 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27155 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27156 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27157 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27158 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27159 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27160 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27164 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27165 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27167 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27169 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27170 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27173 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27175 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27176 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27180 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27181 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27182 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27183 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27190 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27191 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27208 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27209 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27212 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27213 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27215 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27217 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27225 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27226 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27230 * sysdeps/ieee754/s_matherr.c: Likewise.
27231 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27232 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27235
965a54a4
JM
272362012-01-26 Joseph Myers <joseph@codesourcery.com>
27237
27238 * crypt/md5.h: Remove __STDC__ conditionals.
27239 * libio/libioP.h: Likewise.
27240 * locale/programs/config.h: Likewise.
27241 * sysdeps/generic/sysdep.h: Likewise.
27242 * sysdeps/i386/asm-syntax.h: Likewise.
27243 * sysdeps/s390/asm-syntax.h: Likewise.
27244 * sysdeps/unix/sysdep.h: Likewise.
27245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27247
7071ad79
JM
272482012-01-26 Joseph Myers <joseph@codesourcery.com>
27249
27250 * libio/libio.h: Remove __STDC__ conditionals.
27251 * malloc/obstack.h: Likewise.
27252 * math/complex.h: Likewise.
27253 * math/math.h: Likewise.
27254 * sysdeps/generic/_G_config.h: Likewise.
27255 * sysdeps/gnu/_G_config.h: Likewise.
27256 * sysdeps/mach/hurd/_G_config.h: Likewise.
27257 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27258 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27259 * sysdeps/sparc/bits/mathdef.h: Likewise.
27260
afc5ed09
UD
272612012-01-26 Ulrich Drepper <drepper@gmail.com>
27262
27263 [BZ #13583]
27264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27265 Clean up HAS_* macros.
afc5ed09 27266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27267 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27268 possible.
27269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27270 HAS_AVX.
27271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27276
bdb6de1d
JM
272772012-01-25 Joseph Myers <joseph@codesourcery.com>
27278
27279 * elf/tst-unique3.cc (gets): Remove declaration.
27280 * elf/tst-unique3lib.cc (gets): Likewise.
27281 * elf/tst-unique3lib2.cc (gets): Likewise.
27282 * elf/tst-unique4.cc (gets): Likewise.
27283
b15549e6
UD
272842012-01-24 Ulrich Drepper <drepper@gmail.com>
27285
27286 * include/stdio.h: Add C++ protection. Add gets declarations and
27287 definitions.
27288 * debug/tst-chk1.c: Don't declare gets here.
27289 * stdio-common/tst-gets.c: Likewise.
27290
a037381f
JM
272912012-01-24 Joseph Myers <joseph@codesourcery.com>
27292
27293 * posix/glob: Remove directory.
27294
f1d4aa75
JM
272952012-01-24 Joseph Myers <joseph@codesourcery.com>
27296
27297 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27298
81c0c964
PT
272992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27300
27301 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27302 of the non-standard EPFNOSUPPORT.
27303
0ea698ae
ST
273042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27305
27306 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27307 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27308 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27309
d220b117
UD
273102012-01-21 Ulrich Drepper <drepper@gmail.com>
27311
27312 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27313
3e1aa84e
UD
273142012-01-20 Ulrich Drepper <drepper@gmail.com>
27315
27316 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27317 transient errors.
27318 * nscd/grpcache.c (cache_addgr): Likewise.
27319 * nscd/hstcache.c (cache_addhst): Likewise.
27320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27321 * nscd/pwdcache.c (cache_addpw): Likewise.
27322 * nscd/servicescache.c (cache_addserv): Likewise.
27323
400aa020
UD
273242012-01-16 Ulrich Drepper <drepper@gmail.com>
27325
d77e7869
UD
27326 * malloc/malloc.c: Various cleanups.
27327 * malloc/hooks.c: Likewise.
27328
400aa020
UD
27329 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27330 * stdlib/bug-fmtmsg1.c: New file.
27331
27332 * stdlib/fmtmsg.c (init): Add missing unlock.
27333 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27334
e0a309cf
MP
273352012-01-12 Marek Polacek <polacek@redhat.com>
27336
27337 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27338 and _GNU_SOURCE.
27339
929d11c7
WS
273402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27341
27342 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27343 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27344 macro to ensure uniqueness of label name.
27345 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27346 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27347
41d0e869
UD
273482012-01-11 Ulrich Drepper <drepper@gmail.com>
27349
0cc5ed3b
UD
27350 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27351
41d0e869
UD
27352 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27353 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27354 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27356
a47a831a
UD
273572012-01-10 Ulrich Drepper <drepper@gmail.com>
27358
daa891c0
UD
27359 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27360
27361 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27362 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27363 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27364
e58ef0f2
UD
27365 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27366
a47a831a 27367 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27368 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27371
27372 * math/bits/math-finite.h: Add ldexp support.
27373
a0bfc9c7
MP
273742012-01-10 Marek Polacek <polacek@redhat.com>
27375
27376 * locale/programs/localedef.h (show_archive_content): Add noreturn
27377 attribute.
27378
d6e97a1d
UD
273792012-01-09 Ulrich Drepper <drepper@gmail.com>
27380
27381 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27382
d5835c26
UD
273832012-01-08 Ulrich Drepper <drepper@gmail.com>
27384
e5f484c6
UD
27385 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27386
d5835c26
UD
27387 * io/Makefile (headers): Add bits/poll2.h.
27388
d1f741e9
WS
273892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27390
27391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27392 typo #include statement.
27393
ec09c1c4
UD
273942012-01-08 Ulrich Drepper <drepper@gmail.com>
27395
27396 * include/sys/cdefs.h: Define __attribute_alloc_size.
27397 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27398 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27399 * elf/pldd.c: Likewise.
27400 * iconv/iconv_charmap.c: Likewise.
27401 * iconv/iconvconfig.c: Likewise.
27402 * iconv/strtab.c: Likewise.
27403 * locale/programs/locale.c: Likewise.
27404 * locale/programs/localedef.h: Likewise.
27405 * locale/programs/simple-hash.c: Likewise.
27406 * nscd/nscd.h: Likewise.
27407 * nss/makedb.c: Likewise.
27408 * sysdeps/generic/ldconfig.h: Likewise.
27409 * locale/programs/localedef.c: Remove xmalloc prototype.
27410 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27411
20b38e03
PP
274122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27413
27414 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27415 appropriate.
27416
a0da5fe1
UD
274172012-01-08 Ulrich Drepper <drepper@gmail.com>
27418
1d5a644a 27419 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27420 * math/tst-CMPLX.c: New file.
1d5a644a 27421
8784a6db
UD
27422 * math/complex.h (CMPLXL): Fix typo.
27423
d9a216c0
UD
27424 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27425 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27426 GLIBC_2.16.
27427 * debug/tst-chk1.c: Add poll and ppoll tests.
27428 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27429 * include/sys/poll.h: Add hidden proto for ppoll.
27430 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27431 * sysdeps/mach/hurd/ppoll.c: Likewise.
27432 * io/ppoll.c: Likewise.
27433 * debug/poll_chk.c: New file.
27434 * debug/ppoll_chk.c: New file.
27435 * include/bits/poll2.h: New file.
27436 * io/bits/poll2.h: New file.
27437
ac097f5c
UD
27438 [BZ #1350]
27439 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27440
2119dcfa
UD
27441 * configure.in: static is always set to yes. Remove.
27442 * config.make.in: Don't set build-static.
27443 * Makeconfig: Remove use of build-static.
27444 * dlfcn/Makefile: Likewise.
27445 * elf/Makefile: Likewise.
27446 * math/Makefile: Likewise.
27447 * misc/Makefile: Likewise.
27448 * nptl/Makefile: Likewise.
27449 * sysdeps/mach/hurd/Makefile: Likewise.
27450
121766a9
UD
27451 * configure.in: PWD_P is not used anymore.
27452 * config.make.in: Remove PWD_P entry.
27453
51a1d39c 27454 * configure.in: Remove last remnants of RANLIB.
8720d066 27455 No need to check for signed size_t anymore.
215f4bdc
UD
27456 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27457 and IA-64.
3857022a 27458 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27459 * aclocal.m4: Likewise.
27460
d3ed7225
UD
27461 * wcsmbs/mbrtoc16.c: Implement using towc function.
27462 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27463 * wcsmbs/wcsmbsload.c: Likewise.
27464 * iconv/gconv_simple.c: Likewise.
27465 * iconv/gconv_int.h: Likewise.
27466 * iconv/gconv_builtin.h: Likewise.
27467 * iconv/iconv_prog.c: Remove CHAR16 handling.
27468
27469 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27470
27471 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27472
a0da5fe1
UD
27473 * configure.in: Remove --with-elf and --enable-bounded options.
27474 Dont set base_machine for ia64. More non-ELF conditions removed.
27475 Remove testing and setting of leading underscore information.
27476 * config.make.in (build-bounded): Set to no.
27477 * config.h.in: Remove NO_UNDERSCORES entry.
27478 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27479 them.
27480 * csu/start.c: Remove !NO_UNDERSCORE code.
27481 * locale/localeinfo.h: Likewise.
27482 * sysdeps/generic/machine-gmon.h: Likewise.
27483 * sysdeps/generic/sysdep.h: Likewise.
27484 * sysdeps/i386/sysdep.h: Likewise.
27485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27486 * sysdeps/mach/sysdep.h: Likewise.
27487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27489 * sysdeps/sh/sysdep.h: Likewise.
27490 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27491 * sysdeps/unix/i386/sysdep.S: Likewise.
27492 * sysdeps/unix/sparc/start.c: Likewise.
27493 * sysdeps/unix/sparc/sysdep.S: Likewise.
27494 * sysdeps/unix/sparc/sysdep.h: Likewise.
27495 * sysdeps/unix/start.c: Likewise.
27496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27497 * sysdeps/x86_64/sysdep.h: Likewise.
27498
df78418a
UD
274992012-01-07 Ulrich Drepper <drepper@gmail.com>
27500
a784e502
UD
27501 [BZ #13553]
27502 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27503 for non-gcc.
27504 * argp/argp-fmtstream.h: Use const instead __const.
27505 * argp/argp.h: Likewise.
27506 * assert/assert.h: Likewise.
27507 * bits/fenv.h: Likewise.
27508 * bits/sched.h: Likewise.
27509 * bits/sigset.h: Likewise.
27510 * bits/sigthread.h: Likewise.
27511 * catgets/nl_types.h: Likewise.
27512 * conform/data/pthread.h-data: Likewise.
27513 * crypt/crypt-private.h: Likewise.
27514 * crypt/crypt.h: Likewise.
27515 * crypt/crypt_util.c: Likewise.
27516 * ctype/ctype.h: Likewise.
27517 * debug/execinfo.h: Likewise.
27518 * debug/mbsnrtowcs_chk.c: Likewise.
27519 * debug/mbsrtowcs_chk.c: Likewise.
27520 * debug/wcsnrtombs_chk.c: Likewise.
27521 * debug/wcsrtombs_chk.c: Likewise.
27522 * debug/wcstombs_chk.c: Likewise.
27523 * dirent/dirent.h: Likewise.
27524 * dlfcn/dlfcn.h: Likewise.
27525 * elf/neededtest4.c: Likewise.
27526 * grp/grp.h: Likewise.
27527 * gshadow/gshadow.h: Likewise.
27528 * iconv/gconv.h: Likewise.
27529 * iconv/gconv_int.h: Likewise.
27530 * iconv/gconv_simple.c: Likewise.
27531 * iconv/iconv.h: Likewise.
27532 * iconv/loop.c: Likewise.
27533 * iconv/skeleton.c: Likewise.
27534 * include/aio.h: Likewise.
27535 * include/aliases.h: Likewise.
27536 * include/argz.h: Likewise.
27537 * include/arpa/inet.h: Likewise.
27538 * include/assert.h: Likewise.
27539 * include/dirent.h: Likewise.
27540 * include/dlfcn.h: Likewise.
27541 * include/execinfo.h: Likewise.
27542 * include/fcntl.h: Likewise.
27543 * include/fenv.h: Likewise.
27544 * include/glob.h: Likewise.
27545 * include/grp.h: Likewise.
27546 * include/libintl.h: Likewise.
27547 * include/mntent.h: Likewise.
27548 * include/netdb.h: Likewise.
27549 * include/pwd.h: Likewise.
27550 * include/rpc/netdb.h: Likewise.
27551 * include/sched.h: Likewise.
27552 * include/search.h: Likewise.
27553 * include/shadow.h: Likewise.
27554 * include/signal.h: Likewise.
27555 * include/stdio.h: Likewise.
27556 * include/stdlib.h: Likewise.
27557 * include/string.h: Likewise.
27558 * include/sys/socket.h: Likewise.
27559 * include/sys/stat.h: Likewise.
27560 * include/sys/statfs.h: Likewise.
27561 * include/sys/statvfs.h: Likewise.
27562 * include/sys/syslog.h: Likewise.
27563 * include/sys/time.h: Likewise.
27564 * include/sys/uio.h: Likewise.
27565 * include/time.h: Likewise.
27566 * include/unistd.h: Likewise.
27567 * include/utmp.h: Likewise.
27568 * include/wchar.h: Likewise.
27569 * include/wctype.h: Likewise.
27570 * inet/aliases.h: Likewise.
27571 * inet/arpa/inet.h: Likewise.
27572 * inet/netinet/ether.h: Likewise.
27573 * inet/netinet/in.h: Likewise.
27574 * intl/libintl.h: Likewise.
27575 * io/bits/fcntl2.h: Likewise.
27576 * io/fcntl.h: Likewise.
27577 * io/ftw.h: Likewise.
27578 * io/sys/poll.h: Likewise.
27579 * io/sys/stat.h: Likewise.
27580 * io/sys/statfs.h: Likewise.
27581 * io/sys/statvfs.h: Likewise.
27582 * io/utime.h: Likewise.
27583 * libio/bits/stdio.h: Likewise.
27584 * libio/bits/stdio2.h: Likewise.
27585 * libio/libio.h: Likewise.
27586 * libio/libioP.h: Likewise.
27587 * libio/stdio.h: Likewise.
27588 * locale/lc-ctype.c: Likewise.
27589 * locale/locale.h: Likewise.
27590 * login/utmp.h: Likewise.
27591 * malloc/arena.c: Likewise.
27592 * malloc/malloc.c: Likewise.
27593 * malloc/malloc.h: Likewise.
27594 * malloc/mcheck.c: Likewise.
27595 * malloc/mtrace.c: Likewise.
27596 * math/bits/mathcalls.h: Likewise.
27597 * math/fenv.h: Likewise.
27598 * math/math_private.h: Likewise.
27599 * misc/bits/error.h: Likewise.
27600 * misc/bits/syslog.h: Likewise.
27601 * misc/err.h: Likewise.
27602 * misc/error.h: Likewise.
27603 * misc/fstab.h: Likewise.
27604 * misc/mntent.h: Likewise.
27605 * misc/regexp.h: Likewise.
27606 * misc/search.h: Likewise.
27607 * misc/sgtty.h: Likewise.
27608 * misc/sys/mman.h: Likewise.
27609 * misc/sys/syslog.h: Likewise.
27610 * misc/sys/uio.h: Likewise.
27611 * misc/sys/xattr.h: Likewise.
27612 * misc/ttyent.h: Likewise.
27613 * nis/rpcsvc/ypclnt.h: Likewise.
27614 * nss/nss.h: Likewise.
27615 * posix/bits/unistd.h: Likewise.
27616 * posix/fnmatch.h: Likewise.
27617 * posix/glob.h: Likewise.
27618 * posix/sched.h: Likewise.
27619 * posix/spawn.h: Likewise.
27620 * posix/sys/wait.h: Likewise.
27621 * posix/unistd.h: Likewise.
27622 * posix/wordexp.h: Likewise.
27623 * pwd/pwd.h: Likewise.
27624 * resolv/netdb.h: Likewise.
27625 * resource/sys/resource.h: Likewise.
27626 * rt/aio.h: Likewise.
27627 * rt/bits/mqueue2.h: Likewise.
27628 * rt/mqueue.h: Likewise.
27629 * shadow/shadow.h: Likewise.
27630 * signal/signal.h: Likewise.
27631 * socket/send.c: Likewise.
27632 * socket/sendto.c: Likewise.
27633 * socket/sys/socket.h: Likewise.
27634 * stdio-common/printf.h: Likewise.
27635 * stdlib/bits/stdlib.h: Likewise.
27636 * stdlib/fmtmsg.h: Likewise.
27637 * stdlib/monetary.h: Likewise.
27638 * stdlib/stdlib.h: Likewise.
27639 * stdlib/ucontext.h: Likewise.
27640 * streams/stropts.h: Likewise.
27641 * string/argz.h: Likewise.
27642 * string/bits/string2.h: Likewise.
27643 * string/string.h: Likewise.
27644 * string/strings.h: Likewise.
27645 * sunrpc/rpc/auth.h: Likewise.
27646 * sunrpc/rpc/auth_des.h: Likewise.
27647 * sunrpc/rpc/clnt.h: Likewise.
27648 * sunrpc/rpc/netdb.h: Likewise.
27649 * sunrpc/rpc/pmap_clnt.h: Likewise.
27650 * sunrpc/rpc/xdr.h: Likewise.
27651 * sysdeps/generic/inttypes.h: Likewise.
27652 * sysdeps/generic/net/if.h: Likewise.
27653 * sysdeps/generic/sys/swap.h: Likewise.
27654 * sysdeps/gnu/net/if.h: Likewise.
27655 * sysdeps/gnu/utmpx.h: Likewise.
27656 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27657 * sysdeps/i386/i486/bits/string.h: Likewise.
27658 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27659 * sysdeps/s390/bits/string.h: Likewise.
27660 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27661 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27662 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27663 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27664 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27665 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27666 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27667 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27668 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27669 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27670 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27671 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27672 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27673 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27674 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27675 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27676 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27678 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27680 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27681 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27682 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27683 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27684 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27685 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27686 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27688 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27689 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27690 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27691 * sysvipc/sys/ipc.h: Likewise.
27692 * sysvipc/sys/msg.h: Likewise.
27693 * sysvipc/sys/sem.h: Likewise.
27694 * sysvipc/sys/shm.h: Likewise.
27695 * termios/termios.h: Likewise.
27696 * time/sys/time.h: Likewise.
27697 * time/time.h: Likewise.
27698 * wcsmbs/bits/wchar2.h: Likewise.
27699 * wcsmbs/uchar.h: Likewise.
27700 * wcsmbs/wchar.h: Likewise.
27701 * wctype/wctype.h: Likewise.
27702
0269750c
UD
27703 [BZ #13551]
27704 * Makeconfig: Remove all but ELF support including AIX support.
27705 * Makerules: Likewise.
27706 * config.h.in: Likewise.
27707 * config.make.in: Likewise.
27708 * configure: Likewise.
27709 * configure.in: Likewise.
27710 * csu/Makefile: Likewise.
27711 * csu/version.c: Likewise.
27712 * debug/Makefile: Likewise.
27713 * dlfcn/Makefile: Likewise.
27714 * elf/Makefile: Likewise.
27715 * extra-lib.mk: Likewise.
27716 * iconv/Makefile: Likewise.
27717 * include/libc-symbols.h: Likewise.
27718 * include/shlib-compat.h: Likewise.
27719 * resolv/Makefile: Likewise.
27720 * resolv/res_libc.c: Likewise.
27721 * rt/Makefile: Likewise.
27722 * sysdeps/i386/asm-syntax.h: Likewise.
27723 * sysdeps/i386/sysdep.h: Likewise.
27724 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27725 * sysdeps/mach/sysdep.h: Likewise.
27726 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27727 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27728 * sysdeps/s390/asm-syntax.h: Likewise.
27729 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27731 * sysdeps/sh/sysdep.h: Likewise.
27732 * sysdeps/unix/sparc/sysdep.h: Likewise.
27733 * sysdeps/wordsize-32/divdi3.c: Likewise.
27734 * sysdeps/x86_64/sysdep.h: Likewise.
27735
00bbd29b
UD
27736 * argp/Versions: Remove _argp_unlock_xxx.
27737
27738 [BZ #13559]
27739 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27740 * abilist/libBrokenLocale.abilist: Likewise.
27741 * abilist/libanl.abilist: Likewise.
27742 * abilist/libc.abilist: Likewise.
27743 * abilist/libcrypt.abilist: Likewise.
27744 * abilist/libdl.abilist: Likewise.
27745 * abilist/libm.abilist: Likewise.
27746 * abilist/libnsl.abilist: Likewise.
27747 * abilist/libpthread.abilist: Likewise.
27748 * abilist/libresolv.abilist: Likewise.
27749 * abilist/librt.abilist: Likewise.
27750 * abilist/libthread_db.abilist: Likewise.
27751 * abilist/libutil.abilist: Likewise.
27752 * abilist/libnss_db.abilist: New file.
27753
27754 * scripts/abilist.awk: Add support for indirect functions.
27755
a2693a0e
UD
27756 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27757
3f05895f
UD
27758 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27759
ecb6fb48
UD
27760 * shlib-versions: Remove entries for ports architectures.
27761
664f8cb9
UD
27762 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27763 files in ports.
27764 * elf/stackguard-macros.h: Remove support for IA-64.
27765 * elf/tst-auditmod1.c: Likewise.
27766 * sysdeps/generic/ldsodefs.h: Likewise.
27767
7ae81d88
UD
27768 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27769 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27770 configure files.
27771
bdeba135
UD
27772 [BZ #13552]
27773 * configure.in: Remove --enable-omitfp support.
27774 * FAQ.in: Adjust.
27775 * config.make.in: Likewise.
27776 * Makeconfig: Likewise.
27777 * manual/install.texi: Likewise.
27778
d75a0a62
UD
27779 In case anyone cares, the IA-64 architecture could move to ports.
27780 * sysdeps/ia64/*: Removed.
27781 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27782 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27783
dcc9756b
UD
27784 [BZ #13555]
27785 * configure.in: Remove entries for unsupported architectures.
27786
d3761ebc 27787 [BZ #13533]
9954432e
UD
27788 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27789 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27790 routines.
27791 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27792 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27793 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27794 fall back to using wcrtomb.
27795 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27796 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27797 renaming.
27798 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27799 * wcsmbs/tst-c16c32-1.c: New file.
27800
27801 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27802 local variable.
27803
c3a87236
UD
27804 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27805
28926a1b
UD
27806 * elf/tst-unique3.cc: Add explicit declaration of gets.
27807 * elf/tst-unique3lib.cc: Likewise.
27808 * elf/tst-unique3lib2.cc: Likewise.
27809 * elf/tst-unique4.cc: Likewise.
27810
df78418a
UD
27811 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27812
8ecd6b2a
JM
278132012-01-06 Joseph Myers <joseph@codesourcery.com>
27814
27815 [BZ #13566]
27816 * assert/assert.h (static_assert): Don't define for C++.
27817 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27818 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27819
9f115170
UD
278202012-01-03 Ulrich Drepper <drepper@gmail.com>
27821
5e0d0300
UD
27822 * iconv/loop.c (single loop): Fix assertion in storing of
27823 remaining bytes.
27824
9f115170
UD
27825 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27826
81fb02b0
UD
278272012-01-01 Ulrich Drepper <drepper@gmail.com>
27828
27829 * posix/getconf.c: Update copyright year.
27830 * nss/getent.c: Likewise.
a316c1f6 27831 * nss/makedb.c: Likewise.
81fb02b0
UD
27832 * iconv/iconvconfig.c: Likewise.
27833 * iconv/iconv_prog.c: Likewise.
27834 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27835 * elf/pldd.c: Likewise.
27836 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27837 * catgets/gencat.c: Likewise.
27838 * csu/version.c: Likewise.
27839 * elf/ldd.bash.in: Likewise.
27840 * elf/sprof.c (print_version): Likewise.
27841 * locale/programs/locale.c: Likewise.
27842 * locale/programs/localedef.c: Likewise.
a316c1f6 27843 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27844 * nscd/nscd.c (print_version): Likewise.
27845 * debug/xtrace.sh: Likewise.
27846 * malloc/memusage.sh: Likewise.
27847 * malloc/mtrace.pl: Likewise.
27848 * debug/catchsegv.sh: Likewise.
27849
2ba92745
JJ
278502011-12-30 Jakub Jelinek <jakub@redhat.com>
27851
27852 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27853 pure attribute.
27854
dadebdae
UD
278552011-12-24 Ulrich Drepper <drepper@gmail.com>
27856
d3761ebc 27857 [BZ #13533]
db6af3eb
UD
27858 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27859 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27860 transformations.
27861 * iconv/gconv_int.h: Likewise.
27862 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27863 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27864 from libc for GLIBC_2.16.
27865 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27866 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27867 * wcsmbs/uchar.h: Really define mbstate_t.
27868 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27869 * wcsmbs/c16rtomb.c: New file.
27870 * wcsmbs/mbrtoc16.c: New file.
27871 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27872 for C/POSIX locale.
27873 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27874 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27875
dadebdae
UD
27876 * wcsmbs/wchar.h: Add missing __restrict.
27877
67371b56
UD
278782011-12-23 Ulrich Drepper <drepper@gmail.com>
27879
74033a25
UD
27880 [BZ #13532]
27881 * time/Makefile (routines): Add timespec_get.
27882 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27883 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27884 timespec for ISO C11.
27885 * time/timespec_get.c: New file.
27886 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27887 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27888
380d7e87
UD
27889 [BZ #13531]
27890 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27891 * stdlib/stdlib.h: Declare aligned_alloc.
27892 * Versions.def: Add GLIBC_2.16 for libc.
27893 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27894
4e9e7a35
UD
27895 [BZ 13527]
27896 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27897 ISO C11.
27898
380d7e87 27899 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27900 code.
27901
03a71829
UD
27902 [BZ #13528]
27903 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27904
839e283e
UD
27905 [BZ #13529]
27906 * assert/assert.h (static_assert): Define.
27907
ce5294e2 27908 * version.h: Update for 2.16 development version.
90fa7312 27909
8d44e150 27910 [BZ #13526]
d7809905
UD
27911 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27912 _ISOC11_SOURCE.
27913
c0da14cd
UD
27914 * version.h (RELEASE): Bump for 2.15 release.
27915 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27916
530a3249
MP
27917 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27918 Patch by Marek Polacek <mpolacek@redhat.com>.
27919
67371b56
UD
27920 * bits/byteswap.h: Protect long long constants with __extension__.
27921 * sysdeps/i386/bits/byteswap.h: Likewise.
27922 * sysdeps/ia64/bits/byteswap.h: Likewise.
27923 * sysdeps/s390/bits/byteswap.h: Likewise.
27924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27925
15db4de1
LD
279262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27927
27928 [BZ #13540]
bbe315ea
LD
27929 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27930 destination buffer.
15db4de1
LD
27931 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27932
2b2596b1
MP
279332011-12-23 Marek Polacek <polacek@redhat.com>
27934
27935 * elf/dl-addr.c (determine_info): Add inline keyword.
27936 * elf/tst-auditmod4b.c (check_avx): Likewise.
27937 * elf/tst-auditmod6b.c (check_avx): Likewise.
27938 * elf/tst-auditmod6c.c (check_avx): Likewise.
27939 * elf/tst-auditmod7b.c (check_avx): Likewise.
27940
70c6c246
UD
279412011-12-23 Ulrich Drepper <drepper@gmail.com>
27942
27943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27944 !__SSE_MATH__.
27945
c044cf14
LD
279462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27947
15db4de1 27948 [BZ #13540]
c044cf14
LD
27949 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27950 processing for last bytes.
27951
6b13d9d9
BH
279522011-08-06 Bruno Haible <bruno@clisp.org>
27953
d455f537
BH
27954 [BZ #13061]
27955 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27956 U+0385, not to U+1FEE.
27957
6b13d9d9
BH
27958 [BZ #13062]
27959 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27960 entry for U+00A5 U+0301.
27961
db910efd
UD
279622011-12-22 Ulrich Drepper <drepper@gmail.com>
27963
27deeafc
UD
27964 [BZ #13166]
27965 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27966 buffer for the output is too small.
27967
aed9d171
UD
27968 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27969 optimization.
27970
db910efd
UD
27971 [BZ #13185]
27972 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27973 SSE flags if possible.
27974
2bd779ae
LD
279752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27976
e7f9dac3 27977 [BZ #13540]
2bd779ae
LD
27978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27979 processing for last bytes.
27980
154bfc16
JM
279812011-12-22 Joseph Myers <joseph@codesourcery.com>
27982
27983 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27984 (syscall-list-default-options, syscall-list-default-condition)
27985 (syscall-list-includes): Define.
27986 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27987 list of ABIs and options and #if conditions for each ABI. Do not
27988 handle common syscalls between ABIs specially.
27989 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27990 Remove.
27991 (syscall-list-variants, syscall-list-32bit-options)
27992 (syscall-list-32bit-condition, syscall-list-64bit-options)
27993 (syscall-list-64bit-condition): Define.
27994 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27995 (syscall-list-variants, syscall-list-32bit-options)
27996 (syscall-list-32bit-condition, syscall-list-64bit-options)
27997 (syscall-list-64bit-condition): Define.
27998 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27999 Remove.
28000 (syscall-list-variants, syscall-list-32bit-options)
28001 (syscall-list-32bit-condition, syscall-list-64bit-options)
28002 (syscall-list-64bit-condition): Define.
28003 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28004 Remove.
28005 (syscall-list-variants, syscall-list-32bit-options)
28006 (syscall-list-32bit-condition, syscall-list-64bit-options)
28007 (syscall-list-64bit-condition): Define.
28008
21eaf3a5
UD
280092011-12-22 Ulrich Drepper <drepper@gmail.com>
28010
16c6f992
UD
28011 * locale/iso-639.def: Add brx entry.
28012
41043168
UD
28013 [BZ #13328]
28014 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28015 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28016
21eaf3a5
UD
28017 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28018 __feraiseexcept_renamed.
28019
e3a851a2
UD
280202011-12-21 Ulrich Drepper <drepper@gmail.com>
28021
4920765e
UD
28022 [BZ #13538]
28023 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28024 EPOLLET with unsigned values.
28025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28027
e3a851a2
UD
28028 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28029 to large cancellation.
28030 * math/s_cacoshf.c: Likewise.
28031 * math/s_cacoshl.c: Likewise.
28032
b27e24b8
RK
280332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28034
28035 [BZ #13305]
aebefeee 28036 [BZ #12786]
b27e24b8
RK
28037 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28038 * math/s_cacoshf.c: Likewise.
28039 * math/s_cacoshl.c: Likewise.
28040
ee190f67
UD
280412011-12-21 Ulrich Drepper <drepper@gmail.com>
28042
28043 [BZ #13439]
28044 * iconv/gconv.h: Define __GCONV_SWAP.
28045 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28046 * iconvdata/utf-16.c: Likewise.
28047 * iconvdata/utf-32.c: Likewise.
28048
707f25df
AS
280492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28050
28051 [BZ #13524]
28052 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28053 numerator after shifting it by one limb.
28054
d2daaa1e
RÁE
280552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28056
28057 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28058 under [__USE_EXTERN_INLINES].
28059
a4647e72
UD
280602011-12-17 Ulrich Drepper <drepper@gmail.com>
28061
28062 [BZ #13446]
28063 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28064
f0b264f1
AZ
280652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28066
28067 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28068 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28069 optimized code.
28070 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28071 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28072 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28073 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28074 for strncasecmp/strncasecmp_l compilation.
28075 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28076 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28077
8ef4f244
MP
280782011-12-08 Marek Polacek <mpolacek@redhat.com>
28079
28080 [BZ #13484]
28081 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28082 of __asm__.
28083
97ac2654
UD
280842011-12-17 Ulrich Drepper <drepper@gmail.com>
28085
28086 [BZ #13506]
28087 * time/tzfile.c (__tzfile_read): Check values from file header.
28088
91d2a845
WS
280892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28090
28091 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28092 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28093 * powerpc/powerpc32/dl-start.S: Likewise.
28094 * powerpc/powerpc32/elf/start.S: Likewise.
28095 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28096 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28097 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28098 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28099 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28100 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28101 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28102 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28103 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28104 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28105 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28106 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28107 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28108 * powerpc/powerpc32/memset.S: Likewise.
28109 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28110 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28111 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28112 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28113 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28114 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28115 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28116 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28117 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28118 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28119 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28120 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28121 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28122
a1267ba1
AZ
281232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28124
28125 * math/libm-test.inc: Added more nearbyint tests.
28126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28127 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28129 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28130
ad8ac1bd
RL
281312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28132
28133 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28134 FD_CLOEXEC.
28135
1d3e4b61
UD
281362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28137
28138 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28139 Add wcscpy-ssse3 wcscpy-c.
28140 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28141 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28142 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28143 * sysdeps/x86_64/wcschr.S: New file.
28144 * sysdeps/x86_64/wcsrchr.S: New file.
28145 * string/test-strcmp.c: Remove checking of wcscmp function for
28146 wrong alignments.
28147 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28148 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28149 wcsrchr-sse2 wcsrchr-c.
28150 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28151 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28152 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28153 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28154 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28155 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28156 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28157 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28158 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28159 * wcsmbc/wcschr.c (WCSCHR): New macro.
28160
5b330a2d
UD
281612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28162
28163 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28164 * wcsmbs/test-wcsrchr.c: New file.
28165 * string/test-strrchr.c: Add wcsrchr support.
28166 (WIDE): New macro.
28167 * wcsmbs/test-wcscpy.c: New file.
28168 * string/test-strcpy.c: Add wcscpy support.
28169 (WIDE): New macro.
26428b7c 28170
f039c043
UD
281712011-12-10 Ulrich Drepper <drepper@gmail.com>
28172
28173 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28174 the inner loop.
28175
850fb039
AS
281762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28177
28178 [BZ #13472]
28179 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28180
4efbd5cb
UD
281812011-12-04 Ulrich Drepper <drepper@gmail.com>
28182
52ff5dd0 28183 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28184 Minor optimizations.
52ff5dd0 28185
4efbd5cb
UD
28186 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28187 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28188 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28189
8a426e12
UD
281902011-12-03 Ulrich Drepper <drepper@gmail.com>
28191
aff2453d
UD
28192 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28193 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28194 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28195 for gcc to avoid warnings.
28196 * inet/Makefile (tests): Add tst-checks.
28197 * inet/tst-checks.c: New file.
28198
28199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28200 warning.
28201
28202 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28203 __wmemcmp_sse2.
28204
28205 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28206 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28207
8a426e12
UD
28208 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28209
9bea3473
UD
282102011-12-02 Ulrich Drepper <drepper@gmail.com>
28211
3a965496
UD
28212 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28213 problem.
28214
9bea3473
UD
28215 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28216
f101631b
UD
282172011-11-29 Joseph Myers <joseph@codesourcery.com>
28218
28219 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28220 conditional on GCC version.
28221 (__arch_compare_and_exchange_val_8_acq)
28222 (__arch_compare_and_exchange_val_16_acq)
28223 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28224 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28225 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28226
a98275aa
UD
282272011-12-02 Joseph Myers <joseph@codesourcery.com>
28228
28229 * sysdeps/sh/backtrace.c: New file.
28230
d4cc29a2
AS
282312011-12-02 Andreas Schwab <schwab@redhat.com>
28232
28233 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28234 parenthesis.
28235
6257af2d
AS
282362011-12-01 Andreas Schwab <schwab@redhat.com>
28237
28238 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28239 falling back to utime.
28240
b5f44c1a
AS
282412011-11-30 Andreas Schwab <schwab@redhat.com>
28242
28243 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28244 expectations for float.
28245
f3a6cc0a
AS
282462011-11-29 Andreas Schwab <schwab@redhat.com>
28247
28248 * locale/weight.h (findidx): Add parameter len.
28249 * locale/weightwc.h (findidx): Likewise.
28250 * posix/fnmatch_loop.c (FCT): Adjust caller.
28251 * posix/regcomp.c (build_equiv_class): Likewise.
28252 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28253 * posix/regexec.c (check_node_accept_bytes): Likewise.
28254 * string/strcoll_l.c (STRCOLL): Likewise.
28255 * string/strxfrm_l.c (STRXFRM): Likewise.
28256
9d65ea3a
UD
282572011-11-17 Ulrich Drepper <drepper@gmail.com>
28258
28259 * Makefile.in: Remove CVSOPT handling.
28260 * configure.in: Remove use of AC_REVISION.
28261 * iconvdata/Makefile (distribute): No need to filter out CVS.
28262 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28263 handling.
28264
5583a086
AS
282652011-11-16 Andreas Schwab <schwab@redhat.com>
28266
28267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28268 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28269 [USE_AS_STRNCASECMP_L]: Likewise.
28270 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28271 NO_TLS_DIRECT_SEG_REFS.
28272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28273 Fix argument offsets for non-PIC.
28274 [USE_AS_STRNCASECMP_L]: Likewise.
28275 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28276 NO_TLS_DIRECT_SEG_REFS.
28277
d62a8200
UD
282782011-11-15 Ulrich Drepper <drepper@gmail.com>
28279
9d65ea3a 28280 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28281 O_CLOEXEC.
28282 * locale/loadlocale.c (_nl_load_locale): Likewise.
28283
09f93bd3
AS
282842011-11-15 Andreas Schwab <schwab@redhat.com>
28285
446514f9
AS
28286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28287 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28288 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28289 (SYSCALL_GETTIME): Set errno on error.
28290
09f93bd3
AS
28291 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28292 count references to noai6ai_cached.
28293
312be3f9
UD
282942011-11-15 Ulrich Drepper <drepper@gmail.com>
28295
28296 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28297
28298 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28299 FD_CLOEXEC for /proc/self/maps.
28300
28301 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28302 FD_CLOEXEC for /proc/meminfo.
28303
28304 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28305 gai.conf.
28306
28307 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28308 FD_CLOEXEC for given file.
28309
28310 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28311
28312 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28313 FD_CLOEXEC for /etc/hosts.
28314 (_gethtent): Likewise.
28315
28316 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28317
28318 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28319 cancellation and set FD_CLOEXEC for /etc/netgroup.
28320
28321 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28322 reading /etc/publickey.
28323
28324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28325 allow cancellation when reading /etc/group.
28326
28327 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28328 cancellation.
28329 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28330
28331 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28332 when using data file.
28333
28334 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28335
28336 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28337 (write_nis_obj): Use "c" and "e" in fopen.
28338
28339 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28340
28341 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28342
28343 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28344
28345 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28346
28347 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28348 locale.alias.
28349
28350 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28351
28352 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28353
28354 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28355
28356 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28357 file parsing and set FD_CLOEXEC.
28358
82af0fa8
UD
283592011-11-14 Ulrich Drepper <drepper@gmail.com>
28360
28361 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28362
a5fb313c
AS
283632011-11-14 Andreas Schwab <schwab@redhat.com>
28364
28365 * malloc/arena.c (arena_get2): Don't call reused_arena when
28366 _int_new_arena failed.
28367
6abf3465
UD
283682011-11-14 Ulrich Drepper <drepper@gmail.com>
28369
28370 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28371 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28373 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28376 to compile strcasecmp and strncasecmp.
28377 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28378 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28379
28380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28381
76e3966e
UD
283822011-11-13 Ulrich Drepper <drepper@gmail.com>
28383
28384 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28385 locale-defines.sym to gen-as-const-headers.
28386 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28387 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28389 to compile strcasecmp and strncasecmp.
28390 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28391 strcasecmp_l and strncasecmp_l.
28392 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28393 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28394 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28395 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28396 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28398 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28399 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28400 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28401 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28402 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28403
ab26144e
UD
284042011-11-12 Ulrich Drepper <drepper@gmail.com>
28405
7edb22ef
UD
28406 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28407 result of SYSDEP_GETTIME_CPU to retval.
28408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28409 parameter list to macro. Remove trailing semicolon. Adjust users.
28410
9694fc44
UD
28411 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28412 variable.
28413
8ad89ef8
UD
28414 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28415 mantissa words.
28416 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28417
0c822ef9
UD
28418 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28419 from unused variable.
28420
874e0564
UD
28421 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28422 DWARF definitions.
28423 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28424 for assembling.
28425
3a2edc79
UD
28426 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28427 over namespaces.
28428
f3c2577f
UD
28429 * sunrpc/rpc_prot.c (rejected): Fix case value.
28430
294ce126
UD
28431 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28432 unsigned long long int to avoid warnings in shift.
28433
5e2b63c6
UD
28434 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28435 of use of trans.
28436 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28437 variable tmp.
28438
e7f4b08e
UD
28439 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28440 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28441 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28442
ab26144e
UD
28443 * nis/nis_table.c (nis_list): Use variable of correct type for
28444 result of __follow_path call.
28445
8a6d5255
AZ
284462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28447
28448 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28449 of math functions ceil, trunc, floor, round, and sqrt, when
28450 avaliable on the platform.
28451 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28452 name clash.
28453 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28454 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28455 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28456
aaddc98c
MP
284572011-10-30 Marek Polacek <mpolacek@redhat.com>
28458
28459 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28460 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28461
95b7042b
RM
284622011-11-11 Roland McGrath <roland@hack.frob.com>
28463
28464 * include/unistd.h: Fix __readlink return type.
28465 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28466
57769839
UD
284672011-11-11 Ulrich Drepper <drepper@gmail.com>
28468
28469 * stdlib/ucontext.h: Undo last change for makecontext.
28470
edc5984d
AS
284712011-11-11 Andreas Schwab <schwab@redhat.com>
28472
98591e58
AS
28473 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28474
edc5984d
AS
28475 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28476 * setjmp/setjmp.h: Mark functions as non-leaf.
28477 * setjmp/bits/setjmp2.h: Likewise.
28478 * stdlib/ucontext.h: Likewise.
28479
77cdc054
AS
284802011-11-10 Andreas Schwab <schwab@redhat.com>
28481
28482 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28483 (reused_arena): Don't check arena limit.
28484 (arena_get2): Atomically check arena limit.
28485
fe72eebd
UD
284862011-11-08 Ulrich Drepper <drepper@gmail.com>
28487
5f078c32
UD
28488 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28489 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28490
fe72eebd
UD
28491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28492 instructions.
28493
ae1bc2fa
AS
284942011-11-07 Andreas Schwab <schwab@redhat.com>
28495
7583a88d
AS
28496 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28497 handler when locking.
28498
ae1bc2fa
AS
28499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28500 Fix size of allocated buffer.
28501
10fb0bfa
AS
285022011-11-04 Andreas Schwab <schwab@redhat.com>
28503
998832a4
AS
28504 [BZ #10103]
28505 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28506 declarations for long double functions.
28507 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28508
10fb0bfa
AS
28509 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28510
3d7ba52b
AS
285112011-11-03 Andreas Schwab <schwab@redhat.com>
28512
a9ae54a1
AS
28513 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28514 installed.
28515
3d7ba52b
AS
28516 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28517 is disabled.
28518
bc8db248
ST
285192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28520
28521 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28522
45b96dd6
AS
285232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28524
647776f6
AS
28525 * include/alloca.h (stackinfo_alloca_round): Define.
28526 (extend_alloca): Use it.
28527 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28528 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28529 here.
28530
d91a8b93
AS
28531 * scripts/check-local-headers.sh: Ignore libaudit.h.
28532
45b96dd6
AS
28533 * nscd/Makefile (extra-objs): Make recursively expanded.
28534
432d41ce
UD
285352011-11-01 Ulrich Drepper <drepper@gmail.com>
28536
34372fc6
UD
28537 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28539
fadb59f8
UD
28540 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28541 * posix/tst-rfc3484-2.c: Likewise.
28542 * posix/tst-rfc3484-3.c: Likewise.
28543
78239589
UD
28544 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28545 process_vm_writev.
28546 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28547 process_vm_writev.
28548 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28549 process_vm_writev from libc using GLIBC_2.15 version.
28550
432d41ce
UD
28551 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28552
02f9c6cf
PP
285532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28554
28555 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28556 stack usage.
28557
3a2c0242
UD
285582011-10-31 Ulrich Drepper <drepper@gmail.com>
28559
f4ec4833
UD
28560 [BZ #13367]
28561 * nss/getent.c (initgroups_keys): Show error message in case no group
28562 names are given.
28563
3a2c0242
UD
28564 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28565 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28566 __bump_nl_timestamp.
28567 * nscd/connections (nscd_init): When host database is served open
28568 netlink socket and request notification about configuration changes.
28569 (main_loop_poll): Track netlink file descriptor and bump timestamp
28570 in case data becomes available.
28571 (main_loop_epoll): Likewise.
28572 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28573 (database_pers_head): Add extra_data fileds.
28574 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28575 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28576 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28577 Adjust caller.
28578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28579 in6ai data, call __free_in6ai.
28580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28581 Add -DHAVE_NETLINK.
28582 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28583 interface information. Reuse previous data if netlink timestamp
28584 is not changed.
28585 (__bump_nl_timestamp): New function.
28586 (__free_in6ai): New function.
28587
636064eb
UD
285882011-10-30 Ulrich Drepper <drepper@gmail.com>
28589
28590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28591 close_not_cancel_no_status here.
28592 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28593
9beb2334
UD
285942011-10-29 Ulrich Drepper <drepper@gmail.com>
28595
6ef76f3b
UD
28596 [BZ #13276]
28597 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28598 return value.
28599
0ffc4f3e 28600 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28601 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28602 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28603
cb95113e
UD
286042011-07-03 Andreas Jaeger <aj@suse.de>
28605
28606 [BZ #10709]
28607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28608 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28609 * math/libm-test.inc (sin_test): Add test case.
28610
a1b560ff
UD
286112011-10-29 Ulrich Drepper <drepper@gmail.com>
28612
c9aaface
UD
28613 [BZ #13337]
28614 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28615 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28616
d272e7f1
UD
28617 * elf/chroot_canon.c (chroot_canon): Cleanups.
28618
1bc33071
UD
28619 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28620
1760874d
TJ
28621 [BZ #13335]
28622 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28624
51d91b18
UD
28625 * string/test-strchr.c: Make usable for strchrnul testing.
28626 * string/test-strchrnul.c: New file.
28627 * string/Makefile (strop-tests): Add strchrnul.
28628
a1b560ff 28629 * po/it.po: Update from translation team.
b611fb81 28630 * po/es.po: Likewise.
a1b560ff 28631
a5b81e1f
UD
286322011-10-28 Ulrich Drepper <drepper@gmail.com>
28633
fd52bc6d
UD
28634 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28635 the three constants needed as parameters. Drop the others.
28636 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28637 __m128i_strloadu_tolower.
52e4b9eb
UD
28638 Create and initialize variable zero and use it in all the places
28639 where _mm_setzero_si128 was used.
fd52bc6d 28640
a5b81e1f
UD
28641 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28642 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28643 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28645 anymore.
28646 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28647 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28648 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28649 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28650 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28651 __mpranred, __mptan.
28652 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28653 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28654 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28655 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28656 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28657 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28659 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28660 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28661
b4343346
AS
286622011-10-28 Andreas Schwab <schwab@redhat.com>
28663
0c92d8a8
AS
28664 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28665 redefine if SHARED.
28666 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28667
b4343346
AS
28668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28669 wide char related routines to wcsmbs subdir.
28670
3871f58f
AS
286712011-10-27 Andreas Schwab <schwab@redhat.com>
28672
28673 [BZ #13344]
28674 * misc/sys/cdefs.h (__THROWNL): Define.
28675 * posix/unistd.h: Use __THREADNL instead of __THREAD
28676 for memory synchronization functions.
28677
94d44d9f
RM
286782011-10-26 Roland McGrath <roland@hack.frob.com>
28679
21b64b15 28680 [BZ #13349]
94d44d9f
RM
28681 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28682 doesn't exist.
28683 * manual/stdio.texi (Obstack Streams): Node removed.
28684
f6ce9294
AS
286852011-10-26 Andreas Schwab <schwab@redhat.com>
28686
80479147
AS
28687 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28690
f6ce9294
AS
28691 * math/math_private.h (math_force_eval): Allow non-addressable
28692 arguments.
28693 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28694
618280a1
UD
286952011-10-25 Ulrich Drepper <drepper@gmail.com>
28696
e0016b11
UD
28697 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28698 file is not needed.
28699
28700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28702 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28703 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28704 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28707 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28708 Add AVX variants.
28709 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28710 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28711 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28712 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28713 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28714 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28715 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28716 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28717 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28718 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28719 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28720 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28721 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28722 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28723 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28724 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28725 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28726 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28727 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28728
28729 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28730 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28731
618280a1
UD
28732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28733 place. Use VEX encoding when compiling for AVX.
28734
37822576
AS
287352011-10-25 Andreas Schwab <schwab@redhat.com>
28736
1f1e1947
AS
28737 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28738 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28739
37822576
AS
28740 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28741
31ea014d
UD
287422011-10-25 Ulrich Drepper <drepper@gmail.com>
28743
d7826aa1 28744 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28745 useless if() expression.
d7826aa1
UD
28746 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28747 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28748 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28750 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28754 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28756 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28758 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28759 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28760 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28761 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28764 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28765
31ea014d
UD
28766 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28767
16437fec
AS
287682011-10-25 Andreas Schwab <schwab@redhat.com>
28769
28770 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28771 condition.
28772 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28773
31d3cc00
UD
287742011-10-25 Ulrich Drepper <drepper@gmail.com>
28775
28776 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28777 .text section. Avoid duplicate constants.
28778 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28786 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28787 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28790 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28791 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28793 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28794 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28798 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28799 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28800 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28801 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28802 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28803 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28804 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28805 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28806 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28807 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28808 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28809 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28811 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28812 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28813 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28814 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28816 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28817 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28818 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28820 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28821 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28822 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28823
58985aa9
UD
288242011-10-24 Ulrich Drepper <drepper@gmail.com>
28825
202c9deb
UD
28826 * sysdeps/x86_64/dla.h: Move to ...
28827 * sysdeps/x86_64/fpu/dla.h: ...here.
28828 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28829 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28830
af968f62
UD
28831 * config.make.in: Add have-mfma4 entry.
28832 * configure.in: Substitute libc_cv_cc_fma4.
28833 * math/Makefile (dbl-only-routines): Add sincostab.
28834 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28835 Use __sincostab not sincos.
28836 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28837 name is a macro.
28838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28842 using __copysign.
28843 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28844 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28845 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28846 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28847 and __inv.
28848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28849 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28850 __copysign.
28851 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28852 define aliases when function name is a macro.
28853 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28854 sysdeps/ieee754/dbl-64/sincos.tbl.
28855 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28856 fma4-enabled routines.
28857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28858 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28859 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28860 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28862 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28867 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28868 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28869 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28870 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28872 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28873 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28874 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28875 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28877 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28878 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28879 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28884 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28886 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28887
58985aa9
UD
28888 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28889 rename.
28890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28898
a201fbcf
AS
288992011-10-24 Andreas Schwab <schwab@redhat.com>
28900
28901 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28902
fc2ee42a
LD
289032011-10-23 Ulrich Drepper <drepper@gmail.com>
28904
bb3129bd
UD
28905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28906
0275fff8
UD
28907 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28908 prediction.
28909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28910
2fa2ae85
UD
28911 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28912 Remove unused variable magic_bits.
28913 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28914
fc2ee42a
LD
28915 * string/strnlen.c: Define and use STRNLEN macro.
28916 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28917 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28919 * wcsmbs/wcslen.c: Define and use WCSLEN.
28920 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28921 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28922 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28923 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28924 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28925 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28926 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28927
ce7dd29f
LD
289282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28929
28930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28931 strnlen-sse2-no-bsf.
28932 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28934 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28935 Add strnlen support.
28936 (USE_AS_STRNLEN): New macro.
28937 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28938 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28939 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28940 * sysdeps/x86_64/wcslen.S: New file.
28941
979c70a3
MZ
289422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28943
28944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28945 XMM-moves are used for copying on small sizes.
28946
2d09f82f
LD
289472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28948
28949 * wcsmbs/Makefile (strop-tests): Add wcschr.
28950 * wcsmbs/test-wcschr.c: New file.
28951 * string/test-strchr.c: Update.
28952 Add wcschr support.
28953 (WIDE): New macro.
28954
619fccca
LD
289552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28956
2d09f82f 28957 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28958 * wcsmbs/test-wcslen.c: New file.
28959 * string/test-strlen.c: Update.
28960 Add wcslen support.
28961 (WIDE): New macro.
28962
09f699ea
UD
289632011-10-23 Ulrich Drepper <drepper@gmail.com>
28964
28965 * po/it.po: Update from translation team.
28966
95584d3b
LD
289672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28968
28969 * sysdeps/x86_64/wcscmp.S: Update.
28970 Fix wrong comparison semantics.
28971 wcscmp shall use signed comparison not unsigned.
28972 Don't use substraction to avoid overflow bug.
28973 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28974 * wcsmbc/wcscmp.c: Likewise.
28975 * string/test-strcmp.c: Likewise.
28976 Add new tests to check cases with negative values.
28977
c8b3296b
UD
289782011-10-23 Ulrich Drepper <drepper@gmail.com>
28979
28980 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28981 * sysdeps/x86_64/dla.h: ...here. New file.
28982 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28991
246ad57a
AS
289922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28993
28994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28995 __ynl_finite aliases.
28996
a1a87169
UD
289972011-10-22 Ulrich Drepper <drepper@gmail.com>
28998
0d355eb7
UD
28999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29000
a1a87169
UD
29001 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29002 define DLA_FMA.
29003 [DLA_FMA] (EMULV): Use DLA_FMA.
29004 [DLA_FMA] (MUL12): Use EMULV.
29005 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29006 that are not needed.
29007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29014
ee2aafe0
AS
290152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29016
29017 * math/s_nan.c: Undef __nan.
29018 * math/s_nanf.c: Undef __nanf.
29019 * math/s_nanl.c: Undef __nanl.
29020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29021 "math_private.h".
29022
bc62c2fb
UD
290232011-10-22 Ulrich Drepper <drepper@gmail.com>
29024
77425c63
UD
29025 * math/s_catan.c: Add branch predictions.
29026 * math/s_catanf.c: Likewise.
29027 * math/s_catanh.c: Likewise.
29028 * math/s_catanhf.c: Likewise.
29029 * math/s_catanhl.c: Likewise.
29030 * math/s_catanl.c: Likewise.
29031 * math/s_cexp.c: Likewise.
29032 * math/s_cexpf.c: Likewise.
29033 * math/s_cexpl.c: Likewise.
29034 * math/s_clog.c: Likewise.
29035 * math/s_clog10.c: Likewise.
29036 * math/s_clog10f.c: Likewise.
29037 * math/s_clog10l.c: Likewise.
29038 * math/s_clogf.c: Likewise.
29039 * math/s_clogl.c: Likewise.
29040 * math/s_csqrt.c: Likewise.
29041 * math/s_csqrtf.c: Likewise.
29042 * math/s_csqrtl.c: Likewise.
29043 * math/s_ctanf.c: Likewise.
29044 * math/s_ctanh.c: Likewise.
29045 * math/s_ctanhf.c: Likewise.
29046 * math/s_ctanhl.c: Likewise.
29047 * math/s_ctanl.c: Likewise.
29048
bc62c2fb
UD
29049 * math/math_private.h: Define __nan, __nanf, __nanl.
29050 * math/s_cacosh.c: Include <math_private.h>.
29051 * math/s_cacoshl.c: Likewise.
29052 * math/s_casinh.c: Likewise.
29053 * math/s_casinhf.c: Likewise.
29054 * math/s_casinhl.c: Likewise.
29055 * math/s_ccos.c: Rely entire on ccosh.
29056 * math/s_ccosf.c: Rely entire on ccoshf.
29057 * math/s_ccosl.c: Rely entirely on ccoshl.
29058 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29059 Remove tests for FE_INVALID.
29060 * math/s_ccoshf.c: Likewise.
29061 * math/s_ccoshl.c: Likewise.
29062 * math/s_csin.c: Likewise.
29063 * math/s_csinf.c: Likewise.
29064 * math/s_csinh.c Likewise.
29065 * math/s_csinhf.c: Likewise.
29066 * math/s_csinhl.c: Likewise.
29067 * math/s_csinl.c: Likewise.
29068 * math/s_ctan.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29070 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29072
8ec250a4
UD
290732011-10-21 Ulrich Drepper <drepper@gmail.com>
29074
c196fed8
UD
29075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29076 compilation problems.
29077
8ec250a4
UD
29078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29079 __builtin_expect.
29080
8d4f46c6
UD
290812011-10-20 Ulrich Drepper <drepper@gmail.com>
29082
ed72b654
UD
29083 * sysdeps/i386/configure.in: Test for -mfma4 option.
29084 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29085 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29086 COMMON_CPUID_INDEX_80000001.
29087 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29088 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29089 use it if FMA3 is not supported.
29090 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29091
8d4f46c6
UD
29092 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29093 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29094
d45c60c2
AS
290952011-10-20 Andreas Schwab <schwab@redhat.com>
29096
29097 [BZ #12892]
29098 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29099 it would create a cycle with a link time dependency.
29100
d9a4d2ab
UD
291012011-10-19 Ulrich Drepper <drepper@gmail.com>
29102
855d1560
UD
29103 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29104 instruction.
29105 * string/Makefile (strop-tests): Add rawmemchr.
29106 * string/test-rawmemchr.c: New file.
29107
d9a4d2ab
UD
29108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29110 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29111 when compiling str{,n}casecmp and when AVX is available. Hook up
29112 new optimized code in initializers.
29113
8f3b1ffe
AS
291142011-10-19 Andreas Schwab <schwab@redhat.com>
29115
29116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29117 __feraiseexcept instead of feraiseexcept.
29118
d38f1dba
UD
291192011-10-18 Ulrich Drepper <drepper@gmail.com>
29120
d9a8d0ab
UD
29121 * math/math_private.h: Define defaults for libc_fetestexcept and
29122 libc_feupdateenv.
29123 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29124 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29125 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29126 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29127 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29128 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29129 libc_fetestexcept and libc_feupdateenv.
29130
4855e3dd
UD
29131 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29132 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29133 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29134 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29135 libc_feholdexcept_setround.
29136
581d30e3
UD
29137 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29138 Add s_nearbyint-c and s_nearbyintf-c.
29139 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29140 nearbyintf inlines.
29141 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29142 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29143 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29144 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29145
d38f1dba
UD
29146 * math/math_private.h: Define defaults for libc_fegetround,
29147 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29148 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29149 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29151 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29152 standard functions.
29153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29154 Remove comments and hacks for old compiler versions.
29155 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29156 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29157 libc_feholdexceptl.
29158
caa6c9d8
AS
291592011-10-18 Andreas Schwab <schwab@redhat.com>
29160
29161 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29162 (__feraiseexcept_renamed): Add __NTH.
29163 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29164 namespace violations.
29165
97c066e6
UD
291662011-10-17 Ulrich Drepper <drepper@gmail.com>
29167
99ce7b04
UD
29168 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29169
1004d182
UD
29170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29171
228a984d
UD
29172 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29173 recently added interfaces.
29174 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29175
c8553a6a
UD
29176 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29177 about macro parameter expansion.
29178
ed22dcf6
UD
29179 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29180 __NO_MATH_INLINES is defined. Cleanups.
29181
29182 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29183 and __floorf is target has SSE4.1.
29184 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29185 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29186 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29188
b171c137
UD
29189 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29190 name.
29191 (floorf): Likewise.
29192
97c066e6
UD
29193 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29194
629f62ef
AS
291952011-10-17 Andreas Schwab <schwab@redhat.com>
29196
49a43d80
AS
29197 * misc/sys/cdefs.h: Fix last change.
29198
629f62ef
AS
29199 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29200 database lookup.
29201
e453f6cd
UD
292022011-10-16 Ulrich Drepper <drepper@gmail.com>
29203
aa78043a
UD
29204 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29205
ad0f5cad
UD
29206 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29209 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29210 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29212 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29213 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29214 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29215 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29216 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29217 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29218 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29219 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29220 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29221 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29222 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29223 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29224 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29225 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29226 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29227 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29228
29229 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29230 ceil, ceilf, floor, floorf.
29231
29232 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29233 Perform IRELATIVE relocations last.
29234
e453f6cd
UD
29235 * elf/do-rel.h: Add another parameter nrelative, replacing the
29236 local variable with the same name. Change name of the function
29237 to end in Rel or Rela (uppercase).
29238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29239 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29240 elf_dynamic_do_##reloc function.
29241
fd5bdc09
UD
292422011-10-15 Ulrich Drepper <drepper@gmail.com>
29243
79b195b5
UD
29244 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29245 is sufficient, at least on modern CPUs.
29246
d4a28569
UD
29247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29248
b61099b5
UD
29249 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29250 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29251
bcf01e6d
UD
29252 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29253 __expl_finite.
29254 * math/bits/math-finite.h: Add entries for exp.
29255 * math/e_expl.c: Add __*_finite alias.
29256 * sysdeps/i386/fpu/e_exp.S: Likewise.
29257 * sysdeps/i386/fpu/e_expf.S: Likewise.
29258 * sysdeps/i386/fpu/e_expl.c: Likewise.
29259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29260 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29264 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29265 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29266
ba1a0d59
UD
29267 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29268 is sufficient, at least on modern CPUs.
29269
fd5bdc09
UD
29270 * ctype/ctype-info.c (__ctype_init): Define.
29271 * include/ctype.h (__ctype_init): Declare.
29272 (__ctype_b_loc): The variable is always initialized.
29273 (__ctype_toupper_loc): Likewise.
29274 (__ctype_tolower_loc): Likewise.
29275 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29276 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29277
7872cfb0
AS
292782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29279
b468825a
AS
29280 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29281
7872cfb0
AS
29282 * configure.in: Also look in $cxxmachine/include for C++ system
29283 headers.
29284
be13f7bf
LD
292852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29286
29287 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29288 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29289 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29290 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29291 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29292 (USE_AS_WMEMCMP): New macro.
29293 Fixing indents.
29294 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29295 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29296 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29297 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29299 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29300 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29301 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29302 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29303 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29305 (USE_AS_WMEMCMP): New macro.
29306 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29307 * sysdeps/string/test-memcmp.c: Update.
29308 Fix simple_wmemcmp.
29309 Add new tests.
29310 * wcsmbs/wmemcmp.c: Update.
29311 (WMEMCMP): New macro.
29312 Fix overflow bug.
29313
556a2007
AJ
293142011-10-12 Andreas Jaeger <aj@suse.de>
29315
29316 [BZ #13268]
29317 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29318
538faaa7
UD
293192011-10-15 Ulrich Drepper <drepper@gmail.com>
29320
ab6737ff
UD
29321 * libio/iofwide.c (do_length): Avoid warning.
29322
538faaa7
UD
29323 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29324
396a21b1
UD
293252011-10-14 Ulrich Drepper <drepper@gmail.com>
29326
cdf2901f
UD
29327 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29328
38ad40ce
UD
29329 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29330 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29331 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29332 * sysdeps/i386/i686/fpu/e_log.S: New file.
29333 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29334 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29335
396a21b1
UD
29336 * ctype/ctype.h: Add support for inlined isXXX functions when
29337 compiling C++ code.
29338
6b1f68c9
AS
293392011-10-14 Andreas Schwab <schwab@redhat.com>
29340
349290c0
AS
29341 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29342
6b1f68c9
AS
29343 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29344
f2282d42
RM
293452011-10-13 Roland McGrath <roland@hack.frob.com>
29346
29347 [BZ #13291]
29348 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29349
5298ffa8
AS
293502011-10-13 Andreas Schwab <schwab@redhat.com>
29351
714fad23
AS
29352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29353 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29354 feraiseexcept.
29355
81dcc7fb
AS
29356 * sysdeps/x86_64/memrchr.S: Check for zero size.
29357
5298ffa8
AS
29358 * string/stratcliff.c: Add memrchr tests.
29359
951fbcec
LD
293602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29361
29362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29363 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29364 rawmemchr-sse2 rawmemchr-sse2-bsf.
29365 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29366 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29367 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29368 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29369 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29370 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29371 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29372 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29373 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29374 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29375 * string/memrchr.c (MEMRCHR): New macro.
29376
0ac5ae23
UD
293772011-10-12 Ulrich Drepper <drepper@gmail.com>
29378
29379 Add integration with gcc's -ffinite-math-only and optimize wrapper
29380 functions in libm.
29381 * Versions.def: Define GLIBC_2.15 version for libm.
29382 * math/Makefile (headers): Add bits/math-finite.h.
29383 * math/bits/math-finite.h: New file.
29384 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29385 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29386 * math/e_acoshl.c: Add __*_finite alias.
29387 * math/e_acosl.c: Likewise.
29388 * math/e_asinl.c: Likewise.
29389 * math/e_atan2l.c: Likewise.
29390 * math/e_atanhl.c: Likewise.
29391 * math/e_coshl.c: Likewise.
29392 * math/e_exp10.c: Likewise.
29393 * math/e_exp10f.c: Likewise.
29394 * math/e_exp10l.c: Likewise.
29395 * math/e_exp2l.c: Likewise.
29396 * math/e_fmodl.c: Likewise.
29397 * math/e_gammal_r.c: Likewise.
29398 * math/e_hypotl.c: Likewise.
29399 * math/e_j0l.c: Likewise.
29400 * math/e_j1l.c: Likewise.
29401 * math/e_jnl.c: Likewise.
29402 * math/e_lgammal_r.c: Likewise.
29403 * math/e_log10l.c: Likewise.
29404 * math/e_log2l.c: Likewise.
29405 * math/e_logl.c: Likewise.
29406 * math/e_powl.c: Likewise.
29407 * math/e_sinhl.c: Likewise.
29408 * math/e_sqrtl.c: Likewise.
29409 * math/e_scalb.c: Completely rewritten and optimized.
29410 * math/e_scalbf.c: Likewise.
29411 * math/e_scalbl.c: Likewise.
29412 * math/w_acos.c: Likewise.
29413 * math/w_acosf.c: Likewise.
29414 * math/w_acosl.c: Likewise.
29415 * math/w_acosh.c: Likewise.
29416 * math/w_acoshf.c: Likewise.
29417 * math/w_acoshl.c: Likewise.
29418 * math/w_asin.c: Likewise.
29419 * math/w_asinf.c: Likewise.
29420 * math/w_asinl.c: Likewise.
29421 * math/w_atan2.c: Likewise.
29422 * math/w_atan2f.c: Likewise.
29423 * math/w_atan2l.c: Likewise.
29424 * math/w_atanh.c: Likewise.
29425 * math/w_atanhf.c: Likewise.
29426 * math/w_atanhl.c: Likewise.
29427 * math/w_exp10.c: Likewise.
29428 * math/w_exp10f.c: Likewise.
29429 * math/w_exp10l.c: Likewise.
29430 * math/w_fmod.c: Likewise.
29431 * math/w_fmodf.c: Likewise.
29432 * math/w_fmodl.c: Likewise.
29433 * math/w_j0.c: Likewise.
29434 * math/w_j0f.c: Likewise.
29435 * math/w_j0l.c: Likewise.
29436 * math/w_j1.c: Likewise.
29437 * math/w_j1f.c: Likewise.
29438 * math/w_j1l.c: Likewise.
29439 * math/w_jn.c: Likewise.
29440 * math/w_jnf.c: Likewise.
29441 * math/w_log.c: Likewise.
29442 * math/w_logf.c: Likewise.
29443 * math/w_logl.c: Likewise.
29444 * math/w_log10.c: Likewise.
29445 * math/w_log10f.c: Likewise.
29446 * math/w_log10l.c: Likewise.
29447 * math/w_log2.c: Likewise.
29448 * math/w_log2f.c: Likewise.
29449 * math/w_log2l.c: Likewise.
29450 * math/w_pow.c: Likewise.
29451 * math/w_powf.c: Likewise.
29452 * math/w_powl.c: Likewise.
29453 * math/w_remainder.c: Likewise.
29454 * math/w_remainderf.c: Likewise.
29455 * math/w_remainderl.c: Likewise.
29456 * math/w_scalb.c: Likewise.
29457 * math/w_scalbf.c: Likewise.
29458 * math/w_scalbl.c: Likewise.
29459 * math/w_sqrt.c: Likewise.
29460 * math/w_sqrtf.c: Likewise.
29461 * math/w_sqrtl.c: Likewise.
29462 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29463 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29464 used.
29465 * math/math_private.h: Declare __kernel_standard_f.
29466 * math/w_cosh.c: Remove cruft and optimize a bit.
29467 * math/w_coshf.c: Likewise.
29468 * math/w_coshl.c: Likewise.
29469 * math/w_exp2.c: Likewise.
29470 * math/w_exp2f.c: Likewise.
29471 * math/w_exp2l.c: Likewise.
29472 * math/w_hypot.c: Likewise.
29473 * math/w_hypotf.c: Likewise.
29474 * math/w_hypotl.c: Likewise.
29475 * math/w_lgamma.c: Likewise.
29476 * math/w_lgamma_r.c: Likewise.
29477 * math/w_lgammaf.c: Likewise.
29478 * math/w_lgammaf_r.c: Likewise.
29479 * math/w_lgammal.c: Likewise.
29480 * math/w_lgammal_r.c: Likewise.
29481 * math/w_sinh.c: Likewise.
29482 * math/w_sinhf.c: Likewise.
29483 * math/w_sinhl.c: Likewise.
29484 * math/w_tgamma.c: Likewise.
29485 * math/w_tgammaf.c: Likewise.
29486 * math/w_tgammal.c: Likewise.
29487 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29488 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29489 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29490 Minor optimizations. Pretty printing. Remove cruft.
29491 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29492 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29494 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29495 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29496 * sysdeps/i386/fpu/e_asin.S: Likewise.
29497 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29498 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29499 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29500 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29502 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29504 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29505 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29506 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29507 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29508 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29509 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29510 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29511 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29512 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29513 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29514 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29515 * sysdeps/i386/fpu/e_log.S: Likewise.
29516 * sysdeps/i386/fpu/e_log10.S: Likewise.
29517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29518 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29519 * sysdeps/i386/fpu/e_log2.S: Likewise.
29520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29521 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29522 * sysdeps/i386/fpu/e_logf.S: Likewise.
29523 * sysdeps/i386/fpu/e_logl.S: Likewise.
29524 * sysdeps/i386/fpu/e_pow.S: Likewise.
29525 * sysdeps/i386/fpu/e_powf.S: Likewise.
29526 * sysdeps/i386/fpu/e_powl.S: Likewise.
29527 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29528 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29529 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29530 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29531 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29532 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29533 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29534 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29535 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29536 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29539 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29541 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29542 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29543 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29544 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29545 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29546 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29547 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29553 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29556 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29557 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29558 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29559 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29560 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29561 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29562 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29563 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29564 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29565 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29566 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29567 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29570 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29571 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29572 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29573 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29574 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29575 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29576 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29585 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29586 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29587 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29588 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29589 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29590 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29591 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29592 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29593 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29594 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29600 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29604 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29606 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29610 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29623 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29624 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29625 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29626 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29627 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29628 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29629 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29630 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29631 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29632 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29633 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29634 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29635 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29636 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29637 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29638 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29639 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29640 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29641 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29642 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29644 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29646 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29647 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29648 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29649 (__isnanf): Likewise.
29650 (__isinf_ns): Likewise.
29651 (__isinf_nsf): Likewise.
29652 (__finite): Likewise.
29653 (__finitef): Likewise.
29654 (__ieee754_sqrt): Define as macro.
29655 (__ieee754_sqrtf): Define as macro.
29656 (__ieee754_sqrtl): Define as macro.
29657 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29658 inlined copy.
29659 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29660 __FINITE_MATH_ONLY__ consistent.
29661 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29662
12cc2fcd
AS
296632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29664
a843a204
AS
29665 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29666 of rawmemchr.
29667
12cc2fcd
AS
29668 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29669
c853acd5
UD
296702011-10-09 Ulrich Drepper <drepper@gmail.com>
29671
29672 * po/ja.po: Update from translation team.
29673
c658d255
RM
296742011-10-08 Roland McGrath <roland@hack.frob.com>
29675
110946e4
RM
29676 * locale/programs/locarchive.c (prepare_address_space): New function.
29677 (create_archive, enlarge_archive, open_archive): Use it.
29678
50604220
RM
29679 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29680 inside [SHARED], where it is used.
29681
c658d255
RM
29682 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29683
29684 * nss/getent.c (netgroup_keys): Remove unused variable.
29685 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29686
6a621eb7
UD
296872011-10-08 Ulrich Drepper <drepper@gmail.com>
29688
7edb55ce
UD
29689 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29690 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29692 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29693 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29694 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29695 * math/Makefile (libm-calls): Add s_isinf_ns.
29696 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29697 * math/multc3.c: Likewise.
29698 * math/s_casin.c: Likewise.
29699 * math/s_casinf.c: Likewise.
29700 * math/s_casinl.c: Likewise.
29701 * math/s_ccos.c: Likewise.
29702 * math/s_ccosf.c: Likewise.
29703 * math/s_ccosl.c: Likewise.
29704 * math/s_ctan.c: Likewise.
29705 * math/s_ctanf.c: Likewise.
29706 * math/s_ctanh.c: Likewise.
29707 * math/s_ctanhf.c: Likewise.
29708 * math/s_ctanhl.c: Likewise.
29709 * math/s_ctanl.c: Likewise.
29710 * math/w_fmod.c: Likewise.
29711 * math/w_fmodf.c: Likewise.
29712 * math/w_fmodl.c: Likewise.
29713 * math/w_remainder.c: Likewise.
29714 * math/w_remainderf.c: Likewise.
29715 * math/w_remainderl.c: Likewise.
29716 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29717 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29718 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29720 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29721 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29722 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29723 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29724
187da0ae
UD
29725 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29726 of the number.
29727 * stdio-common/printf_fphex.c: Likewise.
29728 * stdio-common/printf_size.c: Likewise.
29729
9277c064
UD
29730 * math/e_exp10.c: Include math_private.h using <...> not "...".
29731 * math/e_exp10f.c: Likewise.
29732 * math/e_exp10l.c: Likewise.
29733 * math/e_exp2l.c: Likewise.
29734 * math/e_j0l.c: Likewise.
29735 * math/e_j1l.c: Likewise.
29736 * math/e_jnl.c: Likewise.
29737 * math/e_lgammal_r.c: Likewise.
29738 * math/e_rem_pio2l.c: Likewise.
29739 * math/e_scalb.c: Likewise.
29740 * math/e_scalbf.c: Likewise.
29741 * math/e_scalbl.c: Likewise.
29742 * math/k_cosl.c: Likewise.
29743 * math/k_sinl.c: Likewise.
29744 * math/k_tanl.c: Likewise.
29745 * math/s_cacoshf.c: Likewise.
29746 * math/s_catan.c: Likewise.
29747 * math/s_catanf.c: Likewise.
29748 * math/s_catanh.c: Likewise.
29749 * math/s_catanhf.c: Likewise.
29750 * math/s_catanhl.c: Likewise.
29751 * math/s_catanl.c: Likewise.
29752 * math/s_ccosh.c: Likewise.
29753 * math/s_ccoshf.c: Likewise.
29754 * math/s_ccoshl.c: Likewise.
29755 * math/s_cexp.c: Likewise.
29756 * math/s_cexpf.c: Likewise.
29757 * math/s_cexpl.c: Likewise.
29758 * math/s_clog.c: Likewise.
29759 * math/s_clog10.c: Likewise.
29760 * math/s_clog10f.c: Likewise.
29761 * math/s_clog10l.c: Likewise.
29762 * math/s_clogf.c: Likewise.
29763 * math/s_clogl.c: Likewise.
29764 * math/s_csin.c: Likewise.
29765 * math/s_csinf.c: Likewise.
29766 * math/s_csinh.c: Likewise.
29767 * math/s_csinhf.c: Likewise.
29768 * math/s_csinhl.c: Likewise.
29769 * math/s_csinl.c: Likewise.
29770 * math/s_csqrt.c: Likewise.
29771 * math/s_csqrtf.c: Likewise.
29772 * math/s_csqrtl.c: Likewise.
29773 * math/s_ctan.c: Likewise.
29774 * math/s_ctanf.c: Likewise.
29775 * math/s_ctanh.c: Likewise.
29776 * math/s_ctanhf.c: Likewise.
29777 * math/s_ctanhl.c: Likewise.
29778 * math/s_ctanl.c: Likewise.
29779 * math/s_ldexp.c: Likewise.
29780 * math/s_ldexpf.c: Likewise.
29781 * math/s_ldexpl.c: Likewise.
29782 * math/s_significand.c: Likewise.
29783 * math/s_significandf.c: Likewise.
29784 * math/s_significandl.c: Likewise.
29785 * math/w_acos.c: Likewise.
29786 * math/w_acosf.c: Likewise.
29787 * math/w_acosh.c: Likewise.
29788 * math/w_acoshf.c: Likewise.
29789 * math/w_acoshl.c: Likewise.
29790 * math/w_acosl.c: Likewise.
29791 * math/w_asin.c: Likewise.
29792 * math/w_asinf.c: Likewise.
29793 * math/w_asinl.c: Likewise.
29794 * math/w_atan2.c: Likewise.
29795 * math/w_atan2f.c: Likewise.
29796 * math/w_atan2l.c: Likewise.
29797 * math/w_atanh.c: Likewise.
29798 * math/w_atanhf.c: Likewise.
29799 * math/w_atanhl.c: Likewise.
29800 * math/w_cosh.c: Likewise.
29801 * math/w_coshf.c: Likewise.
29802 * math/w_coshl.c: Likewise.
29803 * math/w_dremf.c: Likewise.
29804 * math/w_exp10.c: Likewise.
29805 * math/w_exp10f.c: Likewise.
29806 * math/w_exp10l.c: Likewise.
29807 * math/w_exp2.c: Likewise.
29808 * math/w_exp2f.c: Likewise.
29809 * math/w_fmod.c: Likewise.
29810 * math/w_fmodf.c: Likewise.
29811 * math/w_fmodl.c: Likewise.
29812 * math/w_hypot.c: Likewise.
29813 * math/w_hypotf.c: Likewise.
29814 * math/w_hypotl.c: Likewise.
29815 * math/w_j0.c: Likewise.
29816 * math/w_j0f.c: Likewise.
29817 * math/w_j0l.c: Likewise.
29818 * math/w_j1.c: Likewise.
29819 * math/w_j1f.c: Likewise.
29820 * math/w_j1l.c: Likewise.
29821 * math/w_jn.c: Likewise.
29822 * math/w_jnf.c: Likewise.
29823 * math/w_jnl.c: Likewise.
29824 * math/w_lgamma.c: Likewise.
29825 * math/w_lgamma_r.c: Likewise.
29826 * math/w_lgammaf.c: Likewise.
29827 * math/w_lgammaf_r.c: Likewise.
29828 * math/w_lgammal.c: Likewise.
29829 * math/w_lgammal_r.c: Likewise.
29830 * math/w_log.c: Likewise.
29831 * math/w_log10.c: Likewise.
29832 * math/w_log10f.c: Likewise.
29833 * math/w_log10l.c: Likewise.
29834 * math/w_log2.c: Likewise.
29835 * math/w_log2f.c: Likewise.
29836 * math/w_log2l.c: Likewise.
29837 * math/w_logf.c: Likewise.
29838 * math/w_logl.c: Likewise.
29839 * math/w_pow.c: Likewise.
29840 * math/w_powf.c: Likewise.
29841 * math/w_powl.c: Likewise.
29842 * math/w_remainder.c: Likewise.
29843 * math/w_remainderf.c: Likewise.
29844 * math/w_remainderl.c: Likewise.
29845 * math/w_scalb.c: Likewise.
29846 * math/w_scalbf.c: Likewise.
29847 * math/w_scalbl.c: Likewise.
29848 * math/w_sinh.c: Likewise.
29849 * math/w_sinhf.c: Likewise.
29850 * math/w_sinhl.c: Likewise.
29851 * math/w_sqrt.c: Likewise.
29852 * math/w_sqrtf.c: Likewise.
29853 * math/w_sqrtl.c: Likewise.
29854 * math/w_tgamma.c: Likewise.
29855 * math/w_tgammaf.c: Likewise.
29856 * math/w_tgammal.c: Likewise.
29857
6a621eb7
UD
29858 * po/ja.po: Update from translation team.
29859
bf582445
AJ
298602011-09-29 Andreas Jaeger <aj@suse.de>
29861
f9efbf3a
AJ
29862 [BZ #13179]
29863 * sunrpc/netname.c (netname2host): Fix logic.
29864
bf582445
AJ
29865 [BZ #6779]
29866 [BZ #6783]
29867 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29868 correctly.
29869 * math/w_remainder.c (__remainder): Likewise.
29870 * math/w_remainderf.c (__remainderf): Likewise.
29871 * math/libm-test.inc (remainder_test): Add test cases.
29872
48693bea
AK
298732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29874
29875 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29876 sdiv_qrnnd.
29877
42622229
LD
298782011-10-07 Ulrich Drepper <drepper@gmail.com>
29879
29880 * string/test-memcmp.c: Avoid unncessary #defines.
29881 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29882
093ecf92
LD
298832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29884
29885 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29886 Use new sse2 version for core i3 - i7 as it's faster
29887 than sse42 version.
29888 (bit_Prefer_PMINUB_for_stringop): New.
29889 * sysdeps/x86_64/rawmemchr.S: Update.
29890 Replace with faster SSE2 version.
29891 * sysdeps/x86_64/memrchr.S: New file.
29892 * sysdeps/x86_64/memchr.S: Update.
29893 Replace with faster SSE2 version.
29894
fde56e5c
MP
298952011-09-12 Marek Polacek <mpolacek@redhat.com>
29896
29897 * elf/dl-load.c (lose): Add cast to avoid warning.
29898
21fd49a9
UD
298992011-10-07 Ulrich Drepper <drepper@gmail.com>
29900
5a06e643
UD
29901 * po/ca.po: Update from translation team.
29902
684ae515
UD
29903 * inet/getnetgrent_r.c: Hook up nscd.
29904 * nscd/Makefile (routines): Add nscd_netgroup.
29905 (nscd-modules): Add netgroupcache.
29906 (CFLAGS-netgroupcache.c): Define.
29907 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29908 (cache_search): Add const to second parameter.
29909 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29910 INNETGR.
29911 (dbs): Add netgrdb entry.
29912 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29913 (verify_persistent_db): Handle netgrdb.
29914 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29915 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29916 GETFDNETGR.
29917 (netgroup_response_header): Define.
29918 (innetgroup_response_header): Define.
29919 (datahead): Add netgroup_response_header and innetgroup_response_header
29920 elements.
29921 * nscd/nscd.conf: Add entries for netgroup cache.
29922 * nscd/nscd.h (dbtype): Add netgrdb.
29923 (_PATH_NSCD_NETGROUP_DB): Define.
29924 (netgroup_iov_disabled): Declare.
29925 (xmalloc, xcalloc, xrealloc): Move declarations here.
29926 (cache_search): Adjust prototype.
29927 Add netgroup-related prototypes.
29928 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29929 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29930 (__nscd_innetgr): Declare.
29931 * nscd/selinux.c (perms): Use access_vector_t as element type and
29932 add netgroup-related initializers.
29933 * nscd/netgroupcache.c: New file.
29934 * nscd/nscd_netgroup.c: New file.
29935 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29936 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29937 For four parameters use innetgr.
29938 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29939 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29940 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29941 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29942
21fd49a9
UD
29943 * nscd/connections.c (register_traced_file): Don't register file
29944 for disabled databases.
29945
054c0457
UD
299462011-10-06 Ulrich Drepper <drepper@gmail.com>
29947
32b63198
UD
29948 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29949
054c0457
UD
29950 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29951 from tree and freeing node.
29952
64031225
JO
299532011-09-25 Jiri Olsa <jolsa@redhat.com>
29954
29955 * nss/nsswitch.c (__nss_database_lookup): Handle
29956 nss_parse_service_list out of memory case.
29957
0490345c
JO
299582011-09-15 Jiri Olsa <jolsa@redhat.com>
29959
29960 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29961 out of memory case.
29962
3a62d00d
AS
299632011-10-04 Andreas Schwab <schwab@redhat.com>
29964
29965 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29966 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29967 pass it down.
29968 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29969 elf_machine_rela, elf_machine_lazy_rel.
29970 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29971 (ELF_DYNAMIC_DO_REL): Likewise.
29972 (ELF_DYNAMIC_DO_RELA): Likewise.
29973 (ELF_DYNAMIC_RELOCATE): Likewise.
29974 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29975 to ELF_DYNAMIC_DO_REL.
29976 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29977 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29978 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29979 elf_machine_rela.
29980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29981 skip_ifunc, don't call ifunc function if non-zero.
29982 (elf_machine_rela): Likewise.
29983 (elf_machine_lazy_rel): Likewise.
29984 (elf_machine_lazy_rela): Likewise.
29985 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29986 (elf_machine_lazy_rel): Likewise.
29987 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29988 Likewise.
29989 (elf_machine_lazy_rel): Likewise.
29990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29991 Likewise.
29992 (elf_machine_lazy_rel): Likewise.
29993 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29994 (elf_machine_lazy_rel): Likewise.
29995 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29996 (elf_machine_lazy_rel): Likewise.
29997 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29998 (elf_machine_lazy_rel): Likewise.
29999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30000 (elf_machine_lazy_rel): Likewise.
30001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30002 (elf_machine_lazy_rel): Likewise.
30003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30004 (elf_machine_lazy_rel): Likewise.
30005
68577918
UD
300062011-09-28 Ulrich Drepper <drepper@gmail.com>
30007
30008 * nss/nss_files/files-init.c (_nss_files_init): Use static
30009 initialization for all the *_traced_file variables.
30010
68822d74
AS
300112011-09-28 Andreas Schwab <schwab@redhat.com>
30012
30013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30014
2056100b
RM
300152011-09-27 Roland McGrath <roland@hack.frob.com>
30016
30017 [BZ #13226]
30018 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30019
32c76b63
AS
300202011-09-27 Andreas Schwab <schwab@redhat.com>
30021
30022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30023 Reread the line before reparsing it.
30024
bf972c9d
AS
300252011-09-26 Andreas Schwab <schwab@redhat.com>
30026
30027 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30028
e057a1b5
JM
300292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30030 Maxim Kuvyrkov <maxim@codesourcery.com>
30031 Joseph Myers <joseph@codesourcery.com>
30032
30033 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30034 if needed for __stack_chk_guard.
30035
bc7e1c36
RM
300362011-09-19 Roland McGrath <roland@hack.frob.com>
30037
ecb1482f
RM
30038 * sysdeps/posix/spawni.c (script_execute): Always define it.
30039 It will be optimized away if unused.
30040 (maybe_script_execute): New function.
30041 (__spawni): Call it.
30042
bc7e1c36
RM
30043 * Makerules: Don't include tls.make.
30044 (config-tls): Always set to thread.
30045 * tls.make.c: File removed.
30046
1c3b002b
MF
300472011-09-19 Mike Frysinger <vapier@gentoo.org>
30048
30049 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30050 * config.make.in (CPPFLAGS-config): New substituted variable.
30051
2840865d
UD
300522011-09-15 Ulrich Drepper <drepper@gmail.com>
30053
88738eb6
UD
30054 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30055
cbf645a6 30056 [BZ #13192]
2840865d
UD
30057 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30058 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30059
b402e91a
RM
300602011-09-15 Roland McGrath <roland@hack.frob.com>
30061
30062 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30063 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30065 (CALL_FAIL): Likewise.
30066 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30067 (CALL_FAIL): Macro removed.
30068 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30069
4c1a1f71
UD
300702011-09-15 Ulrich Drepper <drepper@gmail.com>
30071
30072 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30073 for __FINITE_MATH_ONLY__ == 1.
30074
edc121be
AS
300752011-09-15 Andreas Schwab <schwab@redhat.com>
30076
30077 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30078 __ieee754_sqrt instead of sqrt.
30079 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30080 __ieee754_sqrtf instead of sqrtf.
30081 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30082 __floorf instead of floorf.
30083 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30084 __floorf, __truncf instead of floorf, truncf.
30085
cd205654
UD
300862011-09-14 Ulrich Drepper <drepper@gmail.com>
30087
ee4d0315
UD
30088 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30089
cd205654
UD
30090 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30091 __extern_always_inline.
30092 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30093 32-bit.
30094
48b67d71
AS
300952011-09-14 Andreas Schwab <schwab@redhat.com>
30096
30097 * elf/rtld.c (dl_main): Also relocate in dependency order when
30098 doing symbol dependency testing.
30099
1ae12c75
AS
301002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30101
30102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30103 Always define `refsym'.
30104
995a80df
AS
301052011-09-13 Andreas Schwab <schwab@redhat.com>
30106
e529793b
AS
30107 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30108 (__FD_ELT): Renamed from __FDELT.
30109 * misc/bits/select2.h (__FD_ELT): Likewise.
30110 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30111 __FD_MASK instead of __FDELT, __FDMASK.
30112 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30113 Likewise.
30114 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30115 Likewise.
30116
52d4fef8
AS
30117 * elf/Makefile (gen-ldd): Fix pattern.
30118
995a80df
AS
30119 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30120 (init_tls): Likewise.
30121
8682f8b0
UD
301222011-09-12 Ulrich Drepper <drepper@gmail.com>
30123
30124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30125
de82006d
AS
301262011-09-12 Andreas Schwab <schwab@redhat.com>
30127
a7c8e6a1
AS
30128 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30129 `struct cmsghdr *' instead of `void *'.
30130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30131 Likewise.
30132
0f31fe77
AS
301332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30134
30135 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30136 if non-absolute.
30137 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30138 ldd_rewrite_script.
0f31fe77 30139
32b4c839
UD
301402011-09-11 Ulrich Drepper <drepper@gmail.com>
30141
83cd1420
UD
30142 * configure.in: Remove --with-tls option.
30143 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30144 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30145 out in case it is missing.
30146 * sysdeps/ia64/elf/configure.in: Likewise.
30147 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30148 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30149 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30150 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30151 * sysdeps/sh/elf/configure.in: Likewise.
30152 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30153 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30154 * sysdeps/x86_64/elf/configure.in: Likewise.
30155 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30156 * sysdeps/mach/hurd/tls.h: Likewise.
30157
633f745d
UD
30158 [BZ #13067]
30159 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30160
f318beb8
UD
30161 [BZ #13090]
30162 * configure.in: Fix use of AC_INIT.
30163
32b4c839
UD
30164 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30165
3ce1f295
UD
301662011-09-10 Ulrich Drepper <drepper@gmail.com>
30167
bb016596
UD
30168 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30169 __set_errno.
8e58439c
UD
30170 * malloc/hooks.c: Likewise.
30171
aebae053 30172 [BZ #11929]
02d46fc4
UD
30173 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30174 variables statically.
30175 (narenas): Initialize.
30176 (list_lock): Initialize.
bb016596
UD
30177 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30178 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30179 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30180 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30181 Add initializers to main_arena and mp_.
30182 (malloc_state): Remove pagesize member. Change all users to use
30183 GLRO(dl_pagesize).
30184
30185 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30186 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30187 is always initialized.
30188
22a89187
UD
30189 * malloc/malloc.c: Removed unused configurations and dead code.
30190 * malloc/arena.c: Likewise.
30191 * malloc/hooks.c: Likewise.
02d46fc4 30192 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30193
d063d164
UD
30194 * include/tls.h: Removed. USE___THREAD must always be defined.
30195 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30196 * elf/dl-libc.c: Likewise.
30197 * elf/dl-tsd.c: Likewise.
30198 * include/errno.h: Likewise.
30199 * include/netdb.h: Likewise.
30200 * include/resolv.h: Likewise.
30201 * inet/herrno-loc.c: Likewise.
30202 * inet/herrno.c: Likewise.
30203 * malloc/arena.c: Likewise.
30204 * malloc/hooks.c: Likewise.
30205 * malloc/malloc.c: Likewise.
30206 * resolv/res-state.c: Likewise.
30207 * resolv/res_libc.c: Likewise.
30208 * sysdeps/i386/dl-machine.h: Likewise.
30209 * sysdeps/ia64/dl-machine.h: Likewise.
30210 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30211 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30212 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30213 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30214 * sysdeps/sh/dl-machine.h: Likewise.
30215 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30216 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30217 * sysdeps/unix/i386/sysdep.S: Likewise.
30218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30219 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30224 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30228 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30229 * sysdeps/x86_64/dl-machine.h: Likewise.
30230 * tls.make.c: Likewise.
30231
3ce1f295
UD
30232 * configure.in: Remove --with-__thread option. Make tests for
30233 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30234 tls_model attribute fail if no support is available. Remove
30235 USE_IN_LIBIO.
30236 * Makeconfig: Adjust for dropped configure option. All features are
30237 now mandatory.
30238 * Makerules: Likewise.
30239 * Versions.def: Likewise.
30240 * argp/argp-fmtstream.c: Likewise.
30241 * argp/argp-fmtstream.h: Likewise.
30242 * argp/argp-help.c: Likewise.
30243 * assert/assert.c: Likewise.
30244 * config.h.in: Likewise.
30245 * config.make.in: Likewise.
30246 * configure: Likewise.
30247 * configure.in: Likewise.
30248 * csu/Versions: Likewise.
30249 * csu/init.c: Likewise.
30250 * elf/tst-audit2.c: Likewise.
30251 * elf/tst-tls10.c: Likewise.
30252 * elf/tst-tls10.h: Likewise.
30253 * elf/tst-tls11.c: Likewise.
30254 * elf/tst-tls12.c: Likewise.
30255 * elf/tst-tls14.c: Likewise.
30256 * elf/tst-tlsmod11.c: Likewise.
30257 * elf/tst-tlsmod12.c: Likewise.
30258 * elf/tst-tlsmod13.c: Likewise.
30259 * elf/tst-tlsmod13a.c: Likewise.
30260 * elf/tst-tlsmod14a.c: Likewise.
30261 * elf/tst-tlsmod15b.c: Likewise.
30262 * elf/tst-tlsmod16a.c: Likewise.
30263 * elf/tst-tlsmod16b.c: Likewise.
30264 * elf/tst-tlsmod7.c: Likewise.
30265 * elf/tst-tlsmod8.c: Likewise.
30266 * elf/tst-tlsmod9.c: Likewise.
30267 * gmon/gmon.c: Likewise.
30268 * grp/fgetgrent_r.c: Likewise.
30269 * grp/putgrent.c: Likewise.
30270 * hurd/fopenport.c: Likewise.
30271 * include/libc-symbols.h: Likewise.
30272 * include/tls.h: Likewise.
30273 * intl/gettextP.h: Likewise.
30274 * intl/loadinfo.h: Likewise.
30275 * locale/global-locale.c: Likewise.
30276 * locale/localeinfo.h: Likewise.
30277 * mach/devstream.c: Likewise.
30278 * malloc/arena.c: Likewise.
30279 * malloc/set-freeres.c: Likewise.
30280 * misc/err.c: Likewise.
30281 * misc/getttyent.c: Likewise.
30282 * misc/mntent_r.c: Likewise.
30283 * posix/getopt.c: Likewise.
30284 * posix/wordexp.c: Likewise.
30285 * pwd/fgetpwent_r.c: Likewise.
30286 * resolv/Versions: Likewise.
30287 * resolv/res_hconf.c: Likewise.
30288 * shadow/fgetspent_r.c: Likewise.
30289 * shadow/putspent.c: Likewise.
30290 * stdio-common/printf_fphex.c: Likewise.
30291 * stdio-common/tmpfile.c: Likewise.
30292 * stdlib/abort.c: Likewise.
30293 * stdlib/fmtmsg.c: Likewise.
30294 * sunrpc/auth_unix.c: Likewise.
30295 * sunrpc/clnt_perr.c: Likewise.
30296 * sunrpc/clnt_tcp.c: Likewise.
30297 * sunrpc/clnt_udp.c: Likewise.
30298 * sunrpc/clnt_unix.c: Likewise.
30299 * sunrpc/openchild.c: Likewise.
30300 * sunrpc/svc_simple.c: Likewise.
30301 * sunrpc/svc_tcp.c: Likewise.
30302 * sunrpc/svc_udp.c: Likewise.
30303 * sunrpc/svc_unix.c: Likewise.
30304 * sunrpc/xdr.c: Likewise.
30305 * sunrpc/xdr_array.c: Likewise.
30306 * sunrpc/xdr_rec.c: Likewise.
30307 * sunrpc/xdr_ref.c: Likewise.
30308 * sunrpc/xdr_stdio.c: Likewise.
30309
1248c1c4
PB
303102011-09-09 Ulrich Drepper <drepper@gmail.com>
30311
30312 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30313
303142011-07-03 Andreas Jaeger <aj@suse.de>
30315
30316 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30317 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30318 regenerate with gen-libm-tests.pl.
30319
303202010-05-12 Petr Baudis <pasky@suse.cz>
30321
30322 [BZ #11589]
30323 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30324 around j0() zero points by switching to j1().
30325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30329
f22e1074
UD
303302011-09-09 Ulrich Drepper <drepper@gmail.com>
30331
f19009c1
UD
30332 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30333 instead of 0.
30334 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30335 instead of 0.
f19009c1
UD
30336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30337 Patch in part by Pavel Roskin <proski@gnu.org>.
30338
3f8cc204
UD
30339 [BZ #13138]
30340 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30341 realloc.
30342 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30343 Free memory block if necessary.
30344
f22e1074
UD
30345 [BZ #12847]
30346 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30347 be NULL. Don't lock in this case.
30348
0a2349f9
RM
303492011-09-09 Roland McGrath <roland@hack.frob.com>
30350
30351 * elf/elf.h (ELFOSABI_GNU): New macro.
30352 (ELFOSABI_LINUX): Define to that.
30353
f3cdd467
DZ
303542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30355
30356 * string/strncat.c (strncat): Undef the symbol in case it has been
30357 defined in bits/string.h.
30358
74718d13
UD
303592011-09-09 Ulrich Drepper <drepper@gmail.com>
30360
633e9e0f
UD
30361 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30362
0a2349f9 30363 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30364 link map.
30365
f9924780
AJ
303662011-08-17 Andreas Jaeger <aj@suse.de>
30367
30368 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30369
7f5517aa
PP
303702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30371 Ian Lance Taylor <iant@google.com>
30372
30373 * math/libm-test.inc (lround_test): New testcase.
30374 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30375
762011fe
UD
303762011-09-08 Ulrich Drepper <drepper@gmail.com>
30377
92963737
UD
30378 * Makefile: Remove support for automatic cvs check-ins.
30379 * Makerules: Likewise.
30380 * config.make.in: Likewise.
30381 * configure.in: Likewise.
30382 * intl/Makefile: Likewise.
30383 * locale/Makefile: Likewise.
30384 * po/Makefile: Likewise.
30385 * posix/Makefile: Likewise.
30386 * sysdeps/gnu/Makefile: Likewise.
30387 * sysdeps/mach/hurd/Makefile: Likewise.
30388 * sysdeps/sparc/sparc32/Makefile: Likewise.
30389
b0727fd8
JS
30390 [BZ #13118]
30391 * posix/Makefile (bug-regex32-ENV): Define.
30392 Patch by John Stanley <jpsinthemix@verizon.net>.
30393
a0f33f99
UD
30394 * misc/Makefile (headers): Add bits/select2.h.
30395 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30396 * misc/bits/select2.h: New file.
30397 * include/bits/select2.h: New file.
30398 * debug/Makefile (routines): Add fdelt_chk.
30399 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30400 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30401 FD_ISSET.
30402 * debug/fdelt_chk.c: New file.
30403
762011fe
UD
30404 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30405 * wcsmbs/test-wmemcmp.c: Likewise.
30406 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30407 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30408
304092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30410
30411 * string/Makefile (strop-tests): Add memcmp.
30412 * string/test-wmemcmp.c: New file.
30413 * string/test-memcmp.c: Add wmemcmp support.
30414
7f513ec8
RM
304152011-09-08 Roland McGrath <roland@hack.frob.com>
30416
0442afb4
RM
30417 [BZ #13153]
30418 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30419 2011-07-19 change.
30420
7f513ec8
RM
30421 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30422 garbage value in a __mach_port_mod_refs call in the cases of the
30423 task-self and thread-self ports.
30424
a12b2239
ST
304252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30426
30427 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30428
610f9ab4
AS
304292011-09-08 Andreas Schwab <schwab@redhat.com>
30430
7f513ec8 30431 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30432
48882a1a
LD
304332011-09-07 Ulrich Drepper <drepper@gmail.com>
30434
b49865be
UD
30435 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30436
fdc86bc9
UD
30437 * elf/dl-libc.c (dlerror_run): Pass back error code from
30438 dl_catch_error.
30439
c966526a
UD
30440 [BZ #13123]
30441 * elf/dl-load.c (lose): Free l_origin if it is valid.
30442
48882a1a
LD
30443 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30444 names.
30445 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30446 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30447 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30448 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30450 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30451
77a2a8b4
AZ
304522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30453
30454 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30455 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30456 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30457 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30458 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30459 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30460 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30461 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30462 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30463 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30464
24f579d8
AM
304652011-08-15 Alan Modra <amodra@gmail.com>
30466
30467 [BZ #13092]
30468 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30469 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30470 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30471 ppc_mcount to static-only-routines.
30472 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30473 __mcount_internal.
30474 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30475 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30476
3d4837df
UD
304772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30478
30479 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30480 for finite and infinity parameters.
30481
22700377
WS
304822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30483
30484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30485 and add nop instructions for throughput optimization.
30486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30487
5025581e
WS
304882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30489
30490 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30491 aligned copy for power7 with vector-scalar instructions.
30492 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30493
08a300c9
L
304942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30495
30496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30497 AVX check.
30498
59178ef9
AS
304992011-09-07 Andreas Schwab <schwab@redhat.com>
30500
30501 [BZ #13144]
30502 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30503 last change.
30504
e38ba7ab
UD
305052011-09-07 Ulrich Drepper <drepper@gmail.com>
30506
30507 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30508 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30509 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30510 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30511 clock_gettime.
30512
d53a73ac
UD
305132011-09-06 Ulrich Drepper <drepper@gmail.com>
30514
fc8bffcc
UD
30515 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30516 Forgot to demangle the pointer.
30517
ceaa0c5d
UD
30518 * sysdeps/i386/sysdep.h: Define atom_text_section.
30519 * sysdeps/x86_64/sysdep.h: Likewise.
30520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30521 section with atom_text_section.
30522 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30524 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30526 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30527
a77d3c17
UD
30528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30529 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30530 already be defined. Change to take two parameters and don't assign
30531 result to variable. Adjust all users.
30532 Define INTERNAL_GETTIME if not already defined.
30533 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30534 call.
30535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30536 HAVE_CLOCK_GETTIME_VSYSCALL.
30537 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30538
d53a73ac
UD
30539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30540 gettimeofday vsyscall, just use time.
30541
a8f84144
AS
305422011-09-06 Andreas Schwab <schwab@redhat.com>
30543
30544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30545 <errno.h>.
30546
ef606249
UD
305472011-09-06 Ulrich Drepper <drepper@gmail.com>
30548
30549 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30550 syscall on x86-64.
30551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30552 syscall.
30553 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30555 syscall if possible.
30556
6585cb60
UD
305572011-09-05 Ulrich Drepper <drepper@gmail.com>
30558
30559 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30560 e_ident. Don't pass to find_mapsXX.
30561 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30562
a5f524e4
LD
305632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30564
30565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30566 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30567 * sysdeps/x86_64/multiarch/strchr.S: Update.
30568 Check bit_slow_BSF bit.
30569 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30571 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30572
554881ef
UD
305732011-09-05 Ulrich Drepper <drepper@gmail.com>
30574
d96de963
UD
30575 [BZ #13134]
30576 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30577 before glibc 2.15.
30578 (tryshell): Define.
30579 (__spawni): Change last parameter to be flag. Test
30580 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30581 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30582 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30583 * posix/spawni.c: Likewise.
30584 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30585 * posix/spawnp.c: Likewise. Change normal version to use
30586 SPAWN_XFLAGS_USE_PATH.
30587 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30588 SPAWN_XFLAGS_TRY_SHELL.
30589
d48e5868
UD
30590 [BZ #13150]
30591 * posix/glob.h: Remove gcc 1.x support.
30592
554881ef
UD
30593 [BZ #13068]
30594 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30595
693fb948
LD
305962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30597
30598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30599 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30600 strrchr-sse2-bsf
30601 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30602 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30603 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30604 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30606 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30607
1b48c537
UD
306082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30609
49d42c37
UD
30610 * sysdeps/x86_64/wcscmp.S: New file.
30611
1b48c537
UD
30612 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30613 wcscmp-c wcscmp-sse2
30614 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30615 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30616 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30617 * wcsmbs/wcscmp.c: Allow renaming.
30618
15c95c5d
DM
306192011-09-05 David S. Miller <davem@davemloft.net>
30620
30621 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30622 stack slot, rather than the struct return pointer slot.
30623 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30624 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30626 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30627
2f0ad8f3
UD
306282011-09-05 Ulrich Drepper <drepper@gmail.com>
30629
d88ae418
UD
30630 * po/ja.po: Update from translation team.
30631
2f0ad8f3
UD
30632 [BZ #13144]
30633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30634 kernel in 64-bit binaries.
30635
5f4318d1
DM
306362011-09-01 David S. Miller <davem@davemloft.net>
30637
30638 * elf/elf.h (HWCAP_SPARC_*): Move to..
30639 * sysdeps/sparc/sysdep.h: this new file and add new values.
30640 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30641 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30642 _DL_HWCAP_COUNT to 24.
30643 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30644 entries.
30645 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30646 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30647 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30649 instead of magic constants.
30650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30651
3ba57516
DM
306522011-08-31 David S. Miller <davem@davemloft.net>
30653
30654 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30656 Reimplement to do errno handling inline.
30657 (SYSCALL_ERROR_HANDLER): New macro.
30658 (__SYSCALL_STRING): Do not do errno handling in asm.
30659 (__CLONE_SYSCALL_STRING): Delete.
30660 (__INTERNAL_SYSCALL_STRING): Delete.
30661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30662 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30663 (PSEUDO): Reimplement to do errno handling inline.
30664 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30665 (SYSCALL_ERROR_HANDLER): New macro.
30666 (__SYSCALL_STRING): Do not do errno handling in asm.
30667 (__CLONE_SYSCALL_STRING): Delete.
30668 (__INTERNAL_SYSCALL_STRING): Delete.
30669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30670 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30671 i386.
30672 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30673 (inline_syscall*): Add 'err' argument.
30674 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30675 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30676 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30677 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30678
30679 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30680 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30681
2bc17433
AS
306822011-08-30 Andreas Schwab <schwab@redhat.com>
30683
30684 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30685
fbeb5f4d
JO
306862011-08-29 Jiri Olsa <jolsa@redhat.com>
30687
30688 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30689 directive.
30690
ad69cc26
DM
306912011-08-24 David S. Miller <davem@davemloft.net>
30692
30693 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30694
39dd69df
AS
306952011-08-24 Andreas Schwab <schwab@redhat.com>
30696
30697 * elf/Makefile: Add rules to build and run unload8 test.
30698 * elf/unload8.c: New file.
30699 * elf/unload8mod1.c: New file.
30700 * elf/unload8mod1x.c: New file.
30701 * elf/unload8mod2.c: New file.
30702 * elf/unload8mod3.c: New file.
30703
30704 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30705 it wasn't used.
30706
2c0b250a
DM
307072011-08-23 David S. Miller <davem@davemloft.net>
30708
30709 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30710 subtract stack bias.
30711 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30712 %sp not %fp in calculations.
30713 (_JMPBUF_UNWINDS_ADJ): Likewise.
30714
22044b48
DM
30715 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30716 (aio_suspend): Call it to force an exception region around the
30717 AIO_MISC_WAIT() invocation.
30718
2cae4995
AS
307192011-08-23 Andreas Schwab <schwab@redhat.com>
30720
30721 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30722 backslash.
30723
873a772e
AJ
307242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30725
30726 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30727 protection macro.
30728 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30729 and <dl-machine.h>.
30730 (Elf64_FuncDesc): Remove.
30731
25ad0df1
DM
307322011-08-22 David S. Miller <davem@davemloft.net>
30733
30734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30735 sigaltstack check, add missing cfi directives.
30736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30737 missing cfi directives, and sigaltstack handling.
30738
e888bcbe
AS
307392011-08-16 Andreas Schwab <schwab@redhat.com>
30740
30741 [BZ #11724]
30742 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30743 object is seen twice.
30744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30745
30746 * elf/Makefile (distribute): Add tst-initorder2.c.
30747 (tests): Add tst-initorder2.
30748 (modules-names): Add tst-initorder2a tst-initorder2b
30749 tst-initorder2c tst-initorder2d. Add rules to build them.
30750 ($(objpfx)tst-initorder2.out): New rule.
30751 * elf/tst-initorder2.c: New file.
30752 * elf/tst-initorder2.exp: New file.
30753
87162f46
AS
307542011-08-22 Andreas Schwab <schwab@redhat.com>
30755
70538b7f
AS
30756 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30757
f55ffe58
AS
30758 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30759 dependencies back to end of function.
30760
87162f46
AS
30761 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30762 $(elfobjdir)/ld.so.
30763
91b392a4
UD
307642011-08-21 Ulrich Drepper <drepper@gmail.com>
30765
30766 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30767 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30769 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30770 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30771 of __vdso_gettimeofday.
30772 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30773 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30774 attribute_hidden.
30775 (_libc_vdso_platform_setup): Remove initialization of
30776 __vdso_gettimeofday and __vdso_time.
30777
5c43483f
UD
307782011-08-20 Ulrich Drepper <drepper@gmail.com>
30779
775a77e7
UD
30780 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30781 and fgetc_unlocked.
30782 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30783 getc_unlocked.
89f447ed 30784
49c74ba9
UD
30785 * elf/dl-open.c (add_to_global): Report additions to the global scope
30786 for LD_DEBUG=scopes.
30787 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30788 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30789
5c43483f
UD
30790 [BZ #13114]
30791 * stdio-common/Makefile (tests): Add bug24.
30792 * stdio-common/bug24.c: New file.
30793
a101b025
AJ
307942011-08-19 Andreas Jaeger <aj@suse.de>
30795
30796 [BZ #13114]
30797 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30798 non-existant file when using close-on-exec mode.
30799
c88f1766
UD
308002011-08-20 Ulrich Drepper <drepper@gmail.com>
30801
0276a718
UD
30802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30803 the very first instruction.
30804
c88f1766
UD
30805 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30806 the CFI state in the end.
30807 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30808 inclusion of dl-trampoline.h.
30809 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30810
51ccffa0
AS
308112011-08-19 Andreas Schwab <schwab@redhat.com>
30812
94d7165f
AS
30813 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30814 expectations for long double.
30815
51ccffa0
AS
30816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30817 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30818
fd708658 308192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30820
30821 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30822 artificual limit depends upon the system page size.
30823
44f0a71e
UD
308242011-08-17 Ulrich Drepper <drepper@gmail.com>
30825
30826 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30827 * resolv/Makefile: Define CFLAGS-libresolv.
30828
8de79a24
AS
308292011-08-17 Andreas Schwab <schwab@redhat.com>
30830
30831 * nss/makedb.c (compute_tables): Make variables used in nested
30832 function static.
30833
27724598
UD
308342011-08-17 Ulrich Drepper <drepper@gmail.com>
30835
c5305d88
UD
30836 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30837 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30838 if buffer was too small.
30839
27724598
UD
30840 * elf/pldd.c (main): Attach to all threads in the process.
30841 Rewrite /proc handling to use *at functions.
30842
076fe015
UD
308432011-08-16 Ulrich Drepper <drepper@gmail.com>
30844
174baab3
UD
30845 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30846 specifies first scope to show.
30847 (dl_open_worker): Update callers. Move printing scope of new
30848 object to before the relocation.
44f0a71e 30849 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30850 * sysdeps/generic/ldsodefs.h: Update declaration.
30851
076fe015
UD
30852 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30853 string for the scope number.
30854
a60df2c3
UD
308552011-08-14 Ulrich Drepper <drepper@gmail.com>
30856
30857 * nscd/servicescache.c (cache_addserv): Make sure written is always
30858 initialized.
30859
5e4287d1
RM
308602011-08-14 Roland McGrath <roland@hack.frob.com>
30861
85ae0589
RM
30862 * sysdeps/i386/i486/bits/atomic.h
30863 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30864 statement expression, so as to suppress "set but not used" warning.
30865 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30866
69f63097
RM
30867 * string/strncat.c (STRNCAT): Use prototype definition.
30868
675456ef
RM
30869 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30870 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30871 -Iprograms here.
30872 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30873 (localedef-modules): Add localedef.
30874 (locale-modules): Add locale.
30875
5e4287d1
RM
30876 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30877 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30878 to avoid a warning.
30879
9c96ff23
DM
308802011-08-14 David S. Miller <davem@davemloft.net>
30881
30882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30883 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30884
f9ddf089
UD
308852011-08-13 Ulrich Drepper <drepper@gmail.com>
30886
44f0a71e 30887 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30888 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30889 * elf/rtld.c (dl_main): Set l_name of vDSO.
30890 Call _dl_show_scope when DL_DEBUG_SCOPES.
30891 (process_dl_debug): Recognize scopes flag and also set it for all.
30892 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30893 Declare _dl_show_scope.
30894
1dc27704
UD
30895 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30896 (do_dlopen): Pass caller_dlopen to dl_open.
30897 (__libc_dlopen_mode): Initialize caller_dlopen.
30898
f9ddf089
UD
30899 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30900 of libc. Make tolower call locale-independent. Optimize a bit by
30901 using isdigit instead of isalnum.
30902 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30903
9ac533d3
UD
309042011-08-12 Ulrich Drepper <drepper@gmail.com>
30905
30906 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30907 was a dependency or dynamically loaded.
30908
89edf2e9
UD
309092011-08-11 Ulrich Drepper <drepper@gmail.com>
30910
8e999d29
UD
30911 * intl/l10nflist.c: Allow architecture-specific pop function.
30912 * sysdeps/x86_64/l10nflist.c: New file.
30913
89edf2e9
UD
30914 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30915 classification.
30916
14d96785
AS
309172011-08-10 Andreas Schwab <schwab@redhat.com>
30918
30919 * include/dirent.h: Add libc_hidden_proto for scandirat and
30920 scandirat64. Don't declare __scandirat64.
30921 * dirent/scandirat.c: Add libc_hidden_def.
30922 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30923 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30924
6761ac04
DM
309252011-08-10 David S. Miller <davem@davemloft.net>
30926
30927 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30928 enum.
30929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30932
c55fbd1e
UD
309332011-08-09 Ulrich Drepper <drepper@gmail.com>
30934
30935 * Versions.def [libc]: Add GLIBC_2.15.
30936 * dirent/Makefile (routines): Add scandirat and scandirat64.
30937 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30938 GLIBC_2.15.
30939 * dirent/dirent.h: Declare scandirat and scandirat64.
30940 * dirent/scandirat.c: New file.
30941 * dirent/scandirat64.c: New file.
30942 * sysdeps/wordsize-64/scandirat.c: New file.
30943 * sysdeps/wordsize-64/scandirat64.c: New file.
30944 * dirent/opendir.c: Define opendirat.
30945 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30946 using scandirat.
30947 * dirent/scandir64.c: Adjust for scandir.c change.
30948 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30949 __scandirat64, and __scandir_cancel_handler.
30950 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30951 additional parameter and use openat instead of open (outside of ld.so).
30952 Add new __opendir as wrapper around __opendirat.
30953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30954 here without requiring old scandirat implementation.
30955
879165f2
UD
309562011-08-08 Ulrich Drepper <drepper@gmail.com>
30957
30958 * dirent/scandir.c (cancel_handler): Renamed to
30959 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30960 defined. Adjust users.
30961 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30963
cb7e923b
UD
309642011-08-04 Ulrich Drepper <drepper@gmail.com>
30965
16292edd
UD
30966 * string/test-string.h (IMPL): Use __STRING to expand name and then
30967 stringify it.
30968
cb7e923b
UD
30969 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30970 of cleanups.
30971
cff82933
LD
309722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30973
30974 * string/Makefile: Update.
30975 (strop-tests): Append strncat.
30976 * string/test-wcscmp.c: New file.
30977 New comprehensive test for wcscmp.
30978 * string/test-strcmp.c: Update.
30979 (WIDE): New define.
30980
9be9bfcc
AS
309812011-07-22 Andreas Schwab <schwab@redhat.com>
30982
30983 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30984 line.
30985
2e96f1c7
AS
309862011-07-26 Andreas Schwab <schwab@redhat.com>
30987
30988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30989 encoding to ACE if AI_IDN.
30990
85188888
JJ
309912011-08-01 Jakub Jelinek <jakub@redhat.com>
30992
30993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30994 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30995
5fa16e9b
LD
309962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30997
30998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30999 Fix overflow bug in strncat.
31000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31001
31002 * string/test-strncat.c: Update.
31003 Add new tests for checking overflow bugs.
31004
310052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31006
31007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31008 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31009 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31010 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31012 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31013 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31014 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31015 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31016
31017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31018 (USE_AS_STRCAT): Define.
31019 Add strcat and strncat support.
31020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31021
8c1a459f
AS
310222011-07-25 Andreas Schwab <schwab@redhat.com>
31023
31024 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31025 __n bigger than INT_MAX+1.
31026 (__strncmp_g): Likewise.
31027
bba33c28
UD
310282011-07-23 Ulrich Drepper <drepper@gmail.com>
31029
798be72d
UD
31030 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31031 * libio/stido.h: Likewise.
31032
8accd4dc
UD
31033 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31034 (AF_NFC): Define.
31035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31036 (AF_NFC): Define.
31037
cbff0d96
UD
31038 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31041 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31043
9191c04a
UD
31044 [BZ #13021]
31045 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31046 installed.
31047
bba33c28
UD
31048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31049 typo.
31050 (_dl_x86_64_save_sse): Likewise.
31051
90f139dd
UD
310522011-07-22 Ulrich Drepper <drepper@gmail.com>
31053
1aae088a
UD
31054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31055 OSXSAVE.
31056 (_dl_x86_64_save_sse): Likewise.
31057
8e2045f5
UD
31058 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31059
90f139dd
UD
31060 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31061
1d002f25
AS
310622011-07-21 Andreas Schwab <schwab@redhat.com>
31063
31064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31065 change.
31066 (_dl_x86_64_save_sse): Use correct AVX check.
31067
21137f89
UD
310682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31069
31070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31071 bug in strncpy/strncat.
31072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31073
a65c0b7a
UD
310742011-07-21 Ulrich Drepper <drepper@gmail.com>
31075
31076 * string/tester.c (test_strcat): Add tests for different alignments
31077 of source and destination.
31078 (test_strncat): Likewise.
31079
6986b98a
UD
310802011-07-20 Ulrich Drepper <drepper@gmail.com>
31081
90bb2039
UD
31082 [BZ #12852]
31083 * posix/glob.c (glob): Check passed in values before using them in
31084 expressions to avoid some overflows.
31085 (glob_in_dir): Likewise.
31086
5644ef54
UD
31087 [BZ #13007]
31088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31089 check for AVX enablement so that we don't crash with old kernels and
31090 new hardware.
31091 * elf/tst-audit4.c: Add same checks here.
31092 * elf/tst-audit6.c: Likewise.
31093
31094 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31095
bfc9dc9b
AS
310962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31097
31098 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31099
702e64bb
UD
311002011-07-20 Ulrich Drepper <drepper@gmail.com>
31101
31102 * po/cs.po: Update from translation team.
31103 * po/bg.po: Likewise.
31104
295e904f
MP
311052011-07-12 Marek Polacek <mpolacek@redhat.com>
31106
31107 * misc/sys/cdefs.h: Add support for const attribute.
31108 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31109 to gnu_dev_{major,minor,makedev} functions.
31110
3ff94596
MP
311112011-07-20 Marek Polacek <mpolacek@redhat.com>
31112
31113 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31114
28b59fca
AS
311152011-07-20 Andreas Schwab <schwab@redhat.com>
31116
31117 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31118 strlen results.
31119
19df733e
AK
311202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31121
31122 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31123 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31124 register in order to avoid conflicts with the soft frame pointer
31125 being held in r11 when necessary.
31126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31127 (INTERNAL_VSYSCALL_NCS): Likewise.
31128
c8835729
MP
311292011-07-14 Marek Polacek <mpolacek@redhat.com>
31130
31131 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31132 * elf/dl-fini.c (_dl_fini): Adjust caller.
31133 * elf/dl-close.c (_dl_close_worker): Likewise.
31134 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31135
b902330c
MP
311362011-07-15 Marek Polacek <mpolacek@redhat.com>
31137
8991e135
MP
31138 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31139 "aux_cache->nlibs < 0".
31140
b902330c
MP
31141 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31142 in the reload-count case.
31143
99710781
LD
311442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31145
31146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31147 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31148 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31149 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31150 * sysdeps/x86_64/multiarch/strcat.S: New file.
31151 * sysdeps/x86_64/multiarch/strncat.S: New file.
31152 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31153 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31154 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31155 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31157 (USE_AS_STRCAT): Define.
31158 Add strcat and strncat support.
31159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31161 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31162 * string/strncat.c: Update.
31163 (USE_AS_STRNCAT): Define.
31164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31165 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31166 and i7.
31167 * sysdeps/x86_64/multiarch/init-arch.h
31168 (bit_Prefer_PMINUB_for_stringop): New.
31169 (index_Prefer_PMINUB_for_stringop): Likewise.
31170 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31171 bit_Prefer_PMINUB_for_stringop.
31172
7dc6bd90
UD
311732011-07-19 Ulrich Drepper <drepper@gmail.com>
31174
31175 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31176 buffer64.
31177 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31178 of casting of buffer.
31179 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31180 buffer32 and buffer64.
31181 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31182 writes instead of casting of buffer.
31183 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31184 buffer32.
31185 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31186 casting of buffer.
31187
e0e72284
AS
311882011-07-19 Andreas Schwab <schwab@redhat.com>
31189
31190 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31191
feb1eb0b
UD
311922011-07-19 Ulrich Drepper <drepper@gmail.com>
31193
31194 * nscd/nscd.c (termination_handler): Don't do anything for a database
31195 if it has not yet been initialized.
31196
298711ff
UD
311972011-07-18 Ulrich Drepper <drepper@gmail.com>
31198
31199 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31200
312012011-07-15 Marek Polacek <mpolacek@redhat.com>
31202
31203 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31204
f9d68389
UD
312052011-07-18 Ulrich Drepper <drepper@gmail.com>
31206
31207 * po/nl.po: Update from translation team.
31208 * po/sv.po: Likewise.
31209
db290cf5
RM
312102011-07-16 Roland McGrath <roland@hack.frob.com>
31211
31212 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31213 now disallowed by GCC.
5c550700 31214
fd5e21c7
RM
31215 * configure.in (use-default-link): Default to yes if a test -shared
31216 link meets our qualifications.
31217 * configure: Regenerated.
31218
5c550700
RM
31219 * config.make.in (output-format): New variable.
31220 * configure.in: Check for ld --print-output-format support.
31221 * configure: Regenerated.
31222 * Makerules ($(common-objpfx)format.lds)
31223 [$(output-format) != unknown]: Just use $(output-format),
31224 instead of the linker-script munging.
31225
9fa2c032
RM
312262011-07-14 Roland McGrath <roland@hack.frob.com>
31227
a6928d51
RM
31228 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31229 of $(common-objpfx)shlib.lds.
31230 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31231
661607b3
RM
31232 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31233 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31234
9fa2c032
RM
31235 * configure.in (-z relro check): Adjust test code to add a large
31236 writable data section after it.
31237 * configure: Regenerated.
31238
defe9061
RM
312392011-07-11 Roland McGrath <roland@hack.frob.com>
31240
31241 * configure.in (-z relro check): Fix test code to make the variable
31242 truly const.
31243 * configure: Regenerated.
31244
319b9ad4
UD
312452011-07-11 Ulrich Drepper <drepper@gmail.com>
31246
31247 * nscd/nscd.h (struct traced_file): Define.
31248 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31249 elements. Add traced_files.
31250 (inotify_fd): Declare.
31251 (register_traced_file): Declare.
31252 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31253 (inotify_fd): Export.
31254 (resolv_conf_descr): Remove.
31255 (nscd_init): Move inotify descriptor creation to main.
31256 Don't register files for notification here.
31257 (register_traced_file): New function.
31258 (invalidate_cache): Don't use reset_res to determine whether to call
31259 res_init, go through the list of registered files.
31260 (main_loop_poll): The inotify descriptors are now stored in the
31261 structures for the traced files.
31262 (main_loop_epoll): Likewise
31263 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31264 to __nss_disable_nscd.
31265 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31266 for a database anymore. Check the records for all the registered
31267 files instead.
31268 * nss/Makefile (libnss_files-routines): Add files-init.
31269 (libnss_db-routines): Add db-init.
31270 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31271 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31272 * nss/nss_db/db-init.c: New file.
31273 * nss/nss_files/files-init.c: New file.
31274 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31275 __nss_lookup_function.
31276 (__nss_lookup_function): Call nss_load_library.
31277 (nss_load_all_libraries): New function.
31278 (__nss_disable_nscd): Take parameter with callback function for files
31279 to register. Set is_nscd. Load all the DSOs for the NSS modules
31280 used for the cached services.
31281 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31282 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31283 options for features to all the files in nscd.
31284
31285 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31286
23bee3e8
RM
312872011-07-10 Roland McGrath <roland@hack.frob.com>
31288
31289 * csu/elf-init.c (__libc_csu_init): Comment typo.
31290
46a5b7f0
UD
312912011-07-09 Ulrich Drepper <drepper@gmail.com>
31292
31293 * po/pl.po: Update from translation team.
31294 * po/ja.po: Likewise.
31295 * po/ru.po: Likewise.
31296 * po/ko.po: Likewise.
31297 * po/fr.po: Likewise.
31298
d30cf5bb
RM
312992011-07-09 Roland McGrath <roland@hack.frob.com>
31300
113ddea4
RM
31301 * configure.in (.ctors/.dtors header and trailer check):
31302 Use an empirical test on a built program.
31303 * configure: Regenerated.
31304
574920b4
RM
31305 * configure.in (-z relro check): Use an empirical test on a built DSO.
31306 Detect, but do not require, on ia64.
31307 * configure: Regenerated.
31308
d30cf5bb
RM
31309 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31310 Update tests that use readelf to use $READELF instead.
31311 * configure: Regenerated.
31312
8538fdb3
UD
313132011-07-08 Ulrich Drepper <drepper@gmail.com>
31314
31315 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31316 if the result is not used.
31317
04d08991
AJ
313182011-07-05 Andreas Jaeger <aj@suse.de>
31319
31320 [BZ#9696]
31321 * stdlib/tst-strtod.c: Add testcase.
31322
de283087
AD
313232011-07-07 Ulrich Drepper <drepper@gmail.com>
31324
4e5f31c8 31325 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31326 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31327 The latter has a higher limit. Take additional parameter to pass to
31328 the new function.
31329 (__pathconf): Pass file to __statfs_link_max.
31330 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31331 __statfs_link_max.
31332 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31333 __statfs_link_max.
31334
de283087
AD
31335 [BZ #12868]
31336 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31338 Handle Lustre.
31339 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31340 (__statfs_filesize_max): Likewise.
31341 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31342
c75fa153
AJ
313432011-07-05 Andreas Jaeger <aj@suse.de>
31344
31345 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31346
1a544854
UD
313472011-07-06 Marek Polacek <mpolacek@redhat.com>
31348
31349 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31350 `status' variable.
31351 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31352 Likewise.
31353
6f0eec67
UD
313542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31355
31356 * Makefile (strop-tests): Add strncat.
31357 * string/test-strncat.c: New file.
31358
aae30307
UD
313592011-06-30 Marek Polacek <mpolacek@redhat.com>
31360
31361 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31362
c0cfb5eb
UD
313632011-06-21 Andreas Jaeger <aj@suse.de>
31364
31365 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31366 Copy rule from iconvdata/Makefile.
31367
01636b21
UD
313682011-07-06 Ulrich Drepper <drepper@gmail.com>
31369
31370 [BZ #12922]
31371 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31372 but no long options are defined, just return 'W'.
31373
9895c8bc
UD
313742011-06-22 Marek Polacek <mpolacek@redhat.com>
31375
31376 [BZ #9696]
31377 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31378
5d4cf042
UD
313792011-07-06 Ulrich Drepper <drepper@gmail.com>
31380
31381 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31382 netgroups to read.
960e5535 31383 (innetgr): Likewise.
5d4cf042 31384
751eb97e
RM
313852011-07-05 Roland McGrath <roland@hack.frob.com>
31386
31387 * config.make.in (install_root): Default to $(DESTDIR).
31388
f15f1e45
UD
313892011-07-05 Ulrich Drepper <drepper@gmail.com>
31390
31391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31392
4e34ac6a
RM
313932011-07-02 Roland McGrath <roland@hack.frob.com>
31394
5e9b6af4
RM
31395 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31396
84f9ea0f
RM
31397 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31398 containing directory rather than embedding absolute directory names.
31399
ea5ee9f7
RM
31400 * scripts/check-local-headers.sh: Rewritten using awk.
31401 Match by word, not by line. Print error messages for matches.
31402 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31403
1b74661a
RM
31404 * Makerules [shlib-lds-flags empty]:
31405 ($(common-objpfx)libc_pic.opts): New target.
31406 ($(common-objpfx)libc_pic.os.clean): New target.
31407 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31408
31409 * config.make.in (OBJCOPY): New variable.
31410 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31411 * configure: Regenerated.
31412
f781ef40
RM
31413 * config.make.in (use-default-link): New variable.
31414 * configure.in (use_default_link): Grok --with-default-link to set it.
31415 * configure: Regenerated.
31416 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31417 (shlib-lds, shlib-lds-flags): Define to empty.
31418
2d4fa81e
RM
31419 * Makerules (shlib-lds): New variable.
31420 (shlib-lds-flags): New variable.
31421 (build-shlib, build-moduile, build-module-asneeded): Use it.
31422 ($(common-objpfx)libc.so): Use $(shlib-lds).
31423 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31424 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31425
31fffa6b
RM
31426 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31427 DT_FLAGS/DT_FLAGS_1 with zero flags.
31428
4e34ac6a
RM
31429 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31430 linker script munging.
31431
fcfc776b
UD
314322011-07-02 Ulrich Drepper <drepper@gmail.com>
31433
31434 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31435 as 128-bit value.
31436 * crypt/sha512.c (sha512_process_block): Perform total addition using
31437 128-bit if possible.
31438 (__sha512_finish_ctx): Likewise.
31439 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31440 as 64-bit value.
31441 * crypt/sha256.c (SWAP64): Define.
31442 (sha256_process_block): Perform total addition using 64-bit if
31443 possible.
31444 (__sha256_finish_ctx): Likewise.
31445
99231d9a
UD
314462011-07-01 Ulrich Drepper <drepper@gmail.com>
31447
31448 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31450 * nscd/hstcache.c (cache_addhst): Likewise.
31451 * nscd/grpcache.c (cache_addgr): Likewise.
31452 * nscd/aicache.c (addhstaiX): Likewise
31453 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31454
445b4a53
TK
314552011-07-01 Thorsten Kukuk <kukuk@suse.de>
31456
31457 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31459 * nscd/hstcache.c (cache_addhst): Likewise.
31460 * nscd/grpcache.c (cache_addgr): Likewise.
31461 * nscd/aicache.c (addhstaiX): Likewise
31462
6d4d8e8e
AS
314632011-07-01 Andreas Schwab <schwab@redhat.com>
31464
31465 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31466 domain only when needed.
31467
89f654c5
AS
314682011-06-30 Andreas Schwab <schwab@redhat.com>
31469
31470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31471 is always restored.
31472
cf3b23ff
UD
314732011-06-29 Ulrich Drepper <drepper@gmail.com>
31474
31475 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31476 are re-adding the entry.
31477 * nscd/servicescache.c (cache_addserv): Likewise.
31478
751626f9
AJ
314792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31480
31481 * sysdeps/generic/dl-irel.h: fix protection against multiple
31482 inclusions.
31483 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31484
9113ea1f
UD
314852011-06-28 Ulrich Drepper <drepper@gmail.com>
31486
5c0b8d90
UD
31487 [BZ #12935]
31488 * malloc/memusage.sh: Fix quoting in message.
31489 * debug/xtrace.sh: Likewise.
31490
9113ea1f
UD
31491 * configure.in: Remove support for --experimental-malloc option, make
31492 it the default.
31493 * config.make.in: Likewise.
31494 * malloc/Makefile: Likewise.
31495
a4172181
AS
314962011-06-27 Andreas Schwab <schwab@redhat.com>
31497
31498 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31499 two-byte characters.
31500
78a7eee7
RM
315012011-06-27 Roland McGrath <roland@hack.frob.com>
31502
62bede13
RM
31503 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31504 AC_CACHE_CHECK invocation.
31505 * configure: Regenerated.
31506
78a7eee7
RM
31507 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31508
5ce33a62
UD
315092011-06-27 Ulrich Drepper <drepper@gmail.com>
31510
034807a9
UD
31511 [BZ #12350]
31512 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31513 bit from old_res_options.
31514
4902da17
UD
31515 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31516
5ce33a62
UD
31517 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31518 value type for setfct.
31519
c2344f56
L
315202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31521
31522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31523 __gettimeofday instead of gettimeofday.
31524
68468076
UD
315252011-06-26 Ulrich Drepper <drepper@gmail.com>
31526
31527 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31528
acb0d739
L
315292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31530
31531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31532
31533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31534 info.
31535
8912479f
L
315362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31537
31538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31539 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31540 strcpy-sse2-unaligned strncpy-sse2-unaligned
31541 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31542 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31543 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31544 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31545 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31546 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31548 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31549 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31550 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31551 (STRCPY): Support SSE2 and SSSE3 versions.
31552
d5495a11
UD
315532011-06-24 Ulrich Drepper <drepper@gmail.com>
31554
31555 [BZ #12874]
31556 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31557 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31558 kernels which artificially limit size of requests.
31559
0b1cbaae
L
315602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31561
31562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31563 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31564 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31565 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31566 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31567 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31568 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31569 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31572 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31573 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31574 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31575 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31576 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31578 Enable unaligned load optimization for Intel Core i3, i5 and i7
31579 processors.
31580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31581 Define.
31582 (index_Fast_Unaligned_Load): Define.
31583 (HAS_FAST_UNALIGNED_LOAD): Define.
31584
07f494a0
MP
315852011-06-23 Marek Polacek <mpolacek@redhat.com>
31586
31587 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31588
fa3fc0fe
UD
315892011-06-22 Ulrich Drepper <drepper@gmail.com>
31590
31591 [BZ #12907]
31592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31593 until it is clear that the information is realy needed.
31594 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31595
e12df166
AS
315962011-06-22 Andreas Schwab <schwab@redhat.com>
31597
31598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31599
852eb34d
UD
316002011-06-22 Ulrich Drepper <drepper@gmail.com>
31601
84e2a551
UD
31602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31603 /sys/devices/system/cpu/online if it is usable.
31604
852eb34d
UD
31605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31606 reading the information from the /proc filesystem to once a second.
31607
6e502e19
UD
316082011-06-21 Andreas Jaeger <aj@suse.de>
31609
31610 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31611 NULL after inclusion of kernel headers.
31612
75d39ff2
UD
316132011-06-21 Ulrich Drepper <drepper@gmail.com>
31614
51f9aa6a
UD
31615 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31616 calls to internal_setent.
31617
c0244a9d
UD
31618 [BZ #12885]
31619 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31620 addresses using gethostbyname4_r ignore IPv4 addresses.
31621
c5e3c2ae
UD
31622 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31623 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31624
75d39ff2
UD
31625 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31626
42675c6f
DM
316272011-06-20 David S. Miller <davem@davemloft.net>
31628
31629 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31630 inclusions.
31631 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31632
31633 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31634 (elf_irel): Use it.
31635 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31636 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31637 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31638 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31639 * sysdeps/x86_64/dl-irel.h: Likewise.
31640
31641 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31642 * elf/dl-sym.c: Likewise.
31643
57912a71
UD
316442011-06-15 Ulrich Drepper <drepper@gmail.com>
31645
31646 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31647 need to dereference resplen2.
31648
ee22793d
AS
316492011-06-14 Andreas Schwab <schwab@redhat.com>
31650
31651 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31652
a9e836b0
UD
316532011-06-15 Ulrich Drepper <drepper@gmail.com>
31654
77fb9117
UD
31655 * Makeconfig: Define vardbdir and inst_vardbdir.
31656 * nss/Makefile: Add rules to install db-Makefile.
31657
40c1b22c
UD
31658 * nss/nss_db/db-XXX.c: Cleanup.
31659
9f2da732
UD
31660 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31661 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31662 GLIBC_PRIVATE.
31663 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31664 * nss/makedb.c: Implement -g option to specify that value strings
31665 are generated and should not be added to table iterated over for
31666 get*ent calls.
31667 * nss/nss_db/db-initgroups.c: New file.
31668
82e9a1f7
UD
31669 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31670 interface.
31671
c41af17e
UD
31672 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31673 (internal_getgrouplist): Adjust to name change.
31674 Update use_initgroups_entry if this is not the first call.
31675 * nss/databases.def: Add initgroups entry.
31676
a9e836b0
UD
31677 * nss/makedb.c (compute_tables): Check result of multiple hash table
31678 sizes to minimize maximum chain length.
31679
2666d441
UD
316802011-06-14 Ulrich Drepper <drepper@gmail.com>
31681
31682 * Versions.def: Add entry for libnss_db.
31683 * shlib-versions: Likewise.
31684 * nss/Makefile: Add rules to build libnss_db.
31685 * nss/Versions: Add libnss_db information. Organize libnss_files
31686 entries better.
31687 * nss/db-Makefile: Add gshadow support. Change rules for the new
31688 makedb progra. Some minor improvements to generate smaller files.
31689 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31690 here from...
31691 * nss/makedb.c: ...here.
31692 Improve database format to be smaller and require less memory at
31693 runtime.
31694 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31695 db anymore.
31696 * nss/nss_db/db-netgrp.c: Likewise.
31697 * nss/nss_db/db-open.c: Likewise.
31698 * nss/nss_files/flies-XXX.x: Adjust comments.
31699 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31700 * nss/nss_files/files-grp.c: Likewise.
31701 * nss/nss_files/files-hosts.c: Likewise.
31702 * nss/nss_files/files-network.c: Likewise.
31703 * nss/nss_files/files-proto.c: Likewise.
31704 * nss/nss_files/files-pwd.c: Likewise.
31705 * nss/nss_files/files-rpc.c: Likewise.
31706 * nss/nss_files/files-service.c: Likewise.
31707 * nss/nss_files/files-sgrp.c: Likewise.
31708 * nss/nss_files/files-spwd.c: Likewise.
31709 * nss/nss_db/db-alias.c: Removed.
31710 * nss/nss_db/dummy-db.h: Removed.
31711
9ee76b5a
UD
317122011-06-02 Ulrich Drepper <drepper@gmail.com>
31713
31714 * nss/makedb.c: Rewritten to not use database library.
31715 * nss/Makefile: Update to build new makedb program.
31716
c71ca1f8
AJ
317172011-06-14 Andreas Jaeger <aj@suse.de>
31718
31719 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31720 memset declaration.
31721
3154bfb8
UD
317222011-06-10 Andreas Schwab <schwab@redhat.com>
31723
31724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31725 tmpbuf.
31726
b350afab
RM
317272011-06-10 Roland McGrath <roland@hack.frob.com>
31728
decd4e50
RM
31729 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31730 * elf/Makefile ($(objpfx)ld.so): Likewise.
31731
5615eaf2
RM
31732 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31733 Don't list ld.so twice in dependencies.
31734
31735 * posix/bug-regex31.c: Include <stdlib.h>.
31736
31737 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31738
31739 * nis/nss_compat/compat-spwd.c
31740 (getspent_next_nss_netgr): Remove unused variable.
31741 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31742
31743 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31744 nonmembers" output to use the right array.
31745
31746 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31747
31748 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31749
31750 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31751 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31752 * catgets/gencat.c (read_input_file): Likewise.
31753 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31754
31755 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31756 variable definition inside #if's controlling its use.
31757
31758 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31759
31760 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31761
31762 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31763
31764 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31765 unreachable code.
31766
31767 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31768
b68e08db
RM
31769 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31770 * configure: Regenerated.
31771
b350afab
RM
31772 * Makerules: Revert last change.
31773 * elf/Makefile: Likewise.
31774
28368601
RM
317752011-06-09 Roland McGrath <roland@hack.frob.com>
31776
31777 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31778 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31779 (reloc-link): Likewise.
31780
11988f8f
UD
317812011-06-09 Ulrich Drepper <drepper@gmail.com>
31782
31783 * elf/Makefile: Add rules to build pldd.
31784 * elf/pldd.c: New file.
31785 * elf/pldd-xx.c: New file.
31786
e80fab37
UD
317872011-06-07 Ulrich Drepper <drepper@gmail.com>
31788
31789 * version.h: Update for 2.15 development version.
31790
9b849836
DM
317912011-06-07 David S. Miller <davem@davemloft.net>
31792
31793 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31794 ifuncs.
31795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31796 elf_machine_lazy_rel): Likewise.
31797 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31799 elf_machine_lazy_rel): Likewise.
31800 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31801 dl_hwcap via passed in argument.
31802 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31803 Likewise.
31804
5a31b283
AK
318052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31806
31807 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31808
069e52f8
RM
318092011-06-06 Roland McGrath <roland@hack.frob.com>
31810
31811 [BZ #12849]
31812 * manual/fdl-1.1.texi: New file, verbatim from:
31813 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31814 * manual/lgpl-2.1.texi: New file, verbatim from:
31815 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31816 * manual/Makefile (licenses): New variable, list those new file names.
31817 (texis): Use it.
31818 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31819
31820 * manual/fdl.texi: File removed.
31821 * manual/lesser.texi: File removed.
31822 * manual/libc.texinfo (Copying, Documentation License):
31823 Use new @include file names, put @appendix directive before @include.
31824
f16846a5
JJ
318252011-06-04 Jakub Jelinek <jakub@redhat.com>
31826
31827 [BZ #12841]
31828 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31829 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31830 (mq_open): Add __NTH.
31831
3d29045b
L
318322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31833
31834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31835 Assume Intel Core i3/i5/i7 processor if AVX is available.
31836
8c297311
UD
318372011-05-31 Ulrich Drepper <drepper@gmail.com>
31838
31839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31840 typo.
31841
c8fc0c91
UD
318422011-05-31 Andreas Schwab <schwab@redhat.com>
31843
31844 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31845 memory. Use alloca_account. Fix memory leak when retrying.
31846
5b27a807
UD
318472011-05-31 Ulrich Drepper <drepper@gmail.com>
31848
356f8bc6
UD
31849 * version.h (RELEASE): Bump for 2.14 release.
31850 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31851
5b27a807
UD
31852 * config.make.in (RANLIB): Remove entry.
31853
01f16ab0
UD
318542011-05-30 Ulrich Drepper <drepper@gmail.com>
31855
41fce8bd
UD
31856 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31857 (libc.pot): Work around missing support for .ksh extension in xgettext.
31858
4769ae77
UD
31859 [BZ #12684]
31860 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31861 if both request failed.
31862 (send_dg): In case of server errors clear resplen or *resplen2.
31863
6b1e7d19
UD
31864 [BZ #12454]
31865 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31866 when there are multiple maps.
31867 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31868 (_dl_fini): Remove test here.
31869
01f16ab0
UD
31870 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31871
b1ebd700
UD
318722011-05-29 Ulrich Drepper <drepper@gmail.com>
31873
7ae22829
UD
31874 [BZ #12350]
31875 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31876 bit from old_res_options.
31877 (gaih_inet): Likewise.
31878
553149f6 31879 [BZ #11099]
18a84741 31880 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31881 as signed.
31882
652ffab1
UD
31883 * resolv/res_init.c (res_setoptions): Make the code more compact.
31884
16985fd0
UD
31885 [BZ #11558]
31886 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31887 set RES_USEVC.
31888
0464f746
UD
31889 [BZ #11634]
31890 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31891
7d17596c
UD
31892 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31893
cf6bbbd7
UD
31894 [BZ #11781]
31895 * malloc/malloc.h: Declare malloc hook variables as volatile.
31896
13f1ab36
UD
31897 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31898 in last patch.
31899
b1ebd700
UD
31900 [BZ #11799]
31901 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31902 raise in the comment.
80e2212d
UD
31903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31905 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31906
ce67228d
UD
319072011-05-28 Ulrich Drepper <drepper@gmail.com>
31908
8887a920
UD
31909 [BZ #12811]
31910 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31911 grow the buffers more if it already has to be sufficient.
31912 (build_wcs_upper_buffer): Likewise.
31913 * posix/regexec.c (check_matching): Likewise.
31914 (clean_state_log_if_needed): Likewise.
31915 (extend_buffers): Don't enlarge buffers beyond size of the input
31916 buffer.
31917 Patches mostly by Emil Wojak <emil@wojak.eu>.
31918 * posix/bug-regex32.c: New file.
31919 * posix/Makefile (tests): Add bug-regex32.
31920
4f031072
UD
31921 * locale/findlocale.c (_nl_find_locale): Return right away if
31922 _nl_explode_name failed.
31923 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31924
d0478f0c
UD
31925 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31926
de81b246
UD
31927 * debug/xtrace.sh: Unify messages.
31928 * malloc/memusage.sh: Likewise.
31929
c738465a
UD
31930 [BZ #12813]
31931 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31932 time symbol from vDSO. Substitute with vsyscall if not available.
31933 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31934 __vdso_time.
31935
f1f929d7
UD
31936 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31937 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31938 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31939 Add sendmmsg and internal_sendmmsg.
31940 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31941 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31943
ce67228d
UD
31944 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31945 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31946 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31947
e57420c6
UD
319482011-05-27 Ulrich Drepper <drepper@gmail.com>
31949
a8509ca5
UD
31950 [BZ #12813]
31951 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31952 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31953 available.
31954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31955 __vdso_getcpu.
31956
e57420c6
UD
31957 [BZ #12814]
31958 * iconvdata/Makefile (tests): Add bug-iconv9.
31959 * iconvdata/bug-iconv9.c: New file.
31960
4d07db15
AS
319612011-05-27 Andreas Schwab <schwab@redhat.com>
31962
31963 [BZ #12814]
31964 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31965
ea486f69
JJ
319662011-05-25 Jakub Jelinek <jakub@redhat.com>
31967
31968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31969 (struct user_regs_struct): Change intcs field back to cs.
31970
6f038433
UD
319712011-05-25 Ulrich Drepper <drepper@gmail.com>
31972
31973 * po/ja.po: Update from translation team.
31974
67f86a25
UD
319752011-05-23 Ulrich Drepper <drepper@gmail.com>
31976
31977 [BZ #12795]
31978 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31979 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31980
def7fbd6
AS
319812011-05-20 Andreas Schwab <schwab@redhat.com>
31982
31983 * stdlib/longlong.h: Update from GCC.
31984
f50ef8f1
AS
319852011-05-23 Andreas Schwab <schwab@redhat.com>
31986
31987 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31988 parameter name.
31989 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31990 Add parameter name.
31991 (__sysconf): Pass it down.
31992
de7ce8f1
UD
319932011-05-22 Ulrich Drepper <drepper@gmail.com>
31994
f2962a71
UD
31995 [BZ #12671]
31996 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31997 some situations.
31998 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31999 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32000 add in in __libc_use_alloca calls. Adjust callers.
32001 (glob): Use malloc in some situations.
32002
de7ce8f1
UD
32003 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32004 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32005 pltexit.
32006
aec84f53
UD
320072011-05-21 Ulrich Drepper <drepper@gmail.com>
32008
05bb4a68
UD
32009 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32010 and CLOCK_BOOTTIME_ALARM.
32011
7ea72f99
UD
32012 [BZ #12782]
32013 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32014 is returned.
32015
7e4afad5
UD
32016 * string/_strerror.c (__strerror_r): Print negative errors as signed
32017 numbers.
32018
8e211fec
UD
32019 [BZ #12777]
32020 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32021 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32022 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32023
f7d82dc9
UD
32024 * configure.in: Fix typo in redirection and correct removal of test
32025 files in two cases.
32026
cc9e536d
UD
32027 [BZ #12788]
32028 * locale/setlocale.c (new_composite_name): Fix test to check for
32029 identical name of all categories.
32030
aec84f53
UD
32031 [BZ #12792]
32032 * libio/filedoalloc.c (local_isatty): New function.
32033 (_IO_file_doallocate): Use local_isatty.
32034 * stdio-common/perror.c (perror): In case a new stream is used
32035 forward the stream error.
32036 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32037 error flag.
32038
78e64fdc
RT
320392011-05-20 Ulrich Drepper <drepper@gmail.com>
32040
34a9094f
UD
32041 [BZ #11869]
32042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32043 alloca.
32044 * include/alloca.h (extend_alloca_account): Define.
32045
78e64fdc
RT
32046 [BZ #11857]
32047 * posix/regex.h: Fix comments with documentation of user-accessible
32048 fields after compilation and describe correct free'ing of pattern
32049 after re_compile_pattern.
32050 Patch by Reuben Thomas <rrt@sc3d.org>.
32051
457bddfc
RA
320522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32053
32054 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32055 and -mno-altivec to prevent the compiler from using Altivec and/or
32056 VSX instructions when the corresponding registers are not available.
32057
a4527b51
AS
320582011-05-19 Andreas Schwab <schwab@redhat.com>
32059
32060 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32061
ed690b2f
UD
320622011-05-19 Ulrich Drepper <drepper@gmail.com>
32063
32064 * libio/freopen.c (freopen): Use __dup2, not dup2.
32065 * libio/freopen64.c (freopen64): Likewise.
32066
8db73634
L
320672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32068
32069 [BZ #12775]
32070 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32071 * math/Makefile (tests): Add test-powl.
32072 (CFLAGS-test-powl.c): Define.
32073 * math/test-powl.c: New file.
32074
0a197a9d
L
320752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32076
32077 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32078
ee30c380
UD
320792011-05-17 Ulrich Drepper <drepper@gmail.com>
32080
32081 [BZ #11837]
32082 * iconvdata/gb18030.c: Update to GB18020-2005.
32083
6ce75379
UD
320842011-05-16 Ulrich Drepper <drepper@gmail.com>
32085
a4b89fd8
AR
32086 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32087 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32088 Patch by Aharon Robbins <arnold@skeeve.com>.
32089
ea389b12
UD
32090 [BZ #11892]
32091 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32092 on the stack.
32093
68a3f91f
UD
32094 [BZ #11895]
32095 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32096 through underflows.
32097
15cc7dd1
UD
32098 [BZ #12766]
32099 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32100 point to strings before performing equality test for error_one_per_line
32101 mode.
32102
f3799213
UD
32103 [BZ #11697]
32104 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32105
d79a9c94
UD
32106 [BZ #11820]
32107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32108 (struct user_fpregs_struct): Avoid __uint*_t types.
32109
56e5eb46
UD
32110 [BZ #6420]
32111 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32112 symbol info. Use it instead of calling _dl_addr locally.
32113 (lock_and_info): New function.
32114 (tr_freehook): Call lock_and_info and pass symbol info as additional
32115 parameter to tr_where.
32116 (tr_mallochook): Likewise.
32117 (tr_reallochook): Likewise.
32118 (tr_memalignhook): Likewise.
32119
6ce75379
UD
32120 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32121 used and couldn't be at all thread-safe.
32122
f8a3b5bf
UD
321232011-05-15 Ulrich Drepper <drepper@gmail.com>
32124
94b7cc37
UD
32125 * libio/freopen.c (freopen): Don't close old file descriptor
32126 before the new one is opened. Instead dup the new file descriptor
32127 to the old one after the new stream is created.
32128 * libio/freopen64.c (freopen64): Likewise.
32129 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32130 * libio/fileops.c (_IO_new_file_close_it): Handle new
32131 _IO_FLAGS2_NOCLOSE flag.
32132 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32133 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32134 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32135 _IO_FLAGS2_NOCLOSE flag.
32136 * include/unistd.h: Add hidden_proto for dup3.
32137 Define __have_dup3.
32138 * io/dup3.c: Define hidden symbol.
32139 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32140
bd25564e
UD
32141 [BZ #7101]
32142 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32143 when an incomplete long option is used.
32144 * posix/tst-getopt_long1.c: New file.
32145 * posix/Makefile (tests): Add tst-getopt_long1.
32146
c84cfef4
UD
32147 [BZ #10138]
32148 * scripts/config.guess: Update from autoconf-2.68.
32149 * scripts/config.sub: Likewise.
32150
3b85df27
UD
32151 [BZ #10157]
32152 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32153 tests into ...
32154 (has_cpuclock): ...this. New function.
32155 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32156 macro here based on has_cpuclock code.
32157
15a856b1
UD
32158 [BZ #10149]
32159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32160 First byte (not low byte) is now always NUL.
32161 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32162
05f399e6
UD
32163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32164 Use non-cancelable interfaces.
32165
10a52685 32166 [BZ #9809]
94ecc67d
UD
32167 * locale/iso-639.def: Add entry for Sorani.
32168
f8a3b5bf
UD
32169 [BZ #11901]
32170 * include/stdlib.h: Move include protection to the right place.
32171 Define abort_msg_s. Declare __abort_msg with it.
32172 * stdlib/abort.c (__abort_msg): Adjust type.
32173 * assert/assert.c (__assert_fail_base): New function. Majority
32174 of code from __assert_fail. Allocate memory for __abort_msg with
32175 mmap.
32176 (__assert_fail): Now call __assert_fail_base.
32177 * assert/assert-perr.c: Remove bulk of implementation. Use
32178 __assert_fail_base.
32179 * include/assert.hL Declare __assert_fail_base.
32180 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32181 mmap.
32182 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32183
1af4e298
UD
321842011-05-14 Ulrich Drepper <drepper@gmail.com>
32185
f8a3b5bf 32186 [BZ #11952]
d26dfc60
MG
32187 [BZ #12453]
32188 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32189 until all modules are registered in the DTV.
32190 * elf/Makefile: Add rules to build and run tst-tls19.
32191 * elf/tst-tls19.c: New file.
32192 * elf/tst-tls19mod1.c: New file.
32193 * elf/tst-tls19mod2.c: New file.
32194 * elf/tst-tls19mod3.c: New file.
32195 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32196
2fc54d6f
UD
32197 [BZ #12083]
32198 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32199 correctly.
32200
98d76b46
UD
32201 [BZ #12601]
32202 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32203 two-byte sequence errors.
32204 * iconvdata/Makefile (tests): Add bug-iconv8.
32205 * iconvdata/bug-iconv8.c: New file.
32206
da3c19ef
UD
32207 [BZ #12626]
32208 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32209 buf2 definition.
32210
ca408c15
UD
32211 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32212
d6f67f7d
UD
32213 [BZ #12432]
32214 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32215 (dummy_getcfa): New function.
32216 (init): Get _Unwind_GetCFA address, use dummy if not found.
32217 (backtrace_helper): In recursion check, also check whether CFA changes.
32218 (__backtrace): Completely initialize arg.
32219
1af4e298 32220 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32221 storing incomplete byte sequence in state object. Avoid testing for
32222 guaranteed too small input if we know there is enough data available.
1af4e298 32223
da62f81b
AS
322242011-05-11 Andreas Schwab <schwab@redhat.com>
32225
32226 * Makeconfig (+link-pie): Indent.
32227 * Rules (binaries-pie): Define if $(have-fpie) and
32228 $(build-shared).
32229 (binaries-shared): Also filter out $(binaries-pie).
32230 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32231 * nscd/Makefile (others-pie): Add nscd.
32232 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32233 ($(objpfx)nscd): Remove command override.
32234 * login/Makefile (others-pie): Add pt_chown.
32235 ($(objpfx)pt_chown): Remove command override.
32236 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32237 remove command overrides.
32238
fcabc0f8
UD
322392011-05-13 Ulrich Drepper <drepper@gmail.com>
32240
20030ae6
UD
32241 * libio/tst_putwc.c: Fix error messages.
32242
fcabc0f8
UD
32243 [BZ #12724]
32244 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32245 currently writing and seek to current position when not.
32246 * libio/Makefile (tests): Add bug-fclose1.
32247 * libio/bug-fclose1.c: New file.
32248
320a5dc0
PB
322492011-05-12 Ulrich Drepper <drepper@gmail.com>
32250
32251 [BZ #12511]
32252 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32253 don't set DF_1_NODELETE here.
32254 (do_lookup_x): When entering new entry test for copy relocation
32255 and if necessary set DF_1_NODELETE flag.
32256 * elf/tst-unique4.cc: New file.
32257 * elf/tst-unique4.h: New file.
32258 * elf/tst-unique4lib.cc: New file.
32259 * elf/Makefile: Add rules to build and run tst-unique4.
32260 Patch by Piotr Bury <pbury@goahead.com>.
32261
22836f52
UD
322622011-05-11 Ulrich Drepper <drepper@gmail.com>
32263
f574184a
UD
32264 [BZ #12052]
32265 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32266
e1fb097f
UD
32267 [BZ #12625]
32268 * misc/mntent_r.c (addmntent): Flush the stream after the output
32269
22836f52
UD
32270 [BZ #12393]
32271 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32272 (is_trusted_path_normalize): Skip initial colon. Append slash
32273 to empty buffer. Duplicate is_trusted_path code but allow
32274 constructed patch to be prefix.
32275 (is_dst): Allow $ORIGIN followed by /.
32276 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32277 Correct testing of result of is_trusted_path_normalize
32278 (decompose_rpath): Fix warning.
32279
7b3b0b2a
UD
322802011-05-10 Ulrich Drepper <drepper@gmail.com>
32281
32282 [BZ #11257]
32283 * grp/initgroups.c (internal_getgrouplist): When we found the service
32284 list through the initgroups entry in nsswitch.conf do not always
32285 continue on a successful lookup. Don't always use the
eac80ce2 32286 __nss_group_database value if it is set.
7b3b0b2a
UD
32287 * nss/nsswitch.conf (initgroups): Change action for successful db
32288 lookup to continue for compatibility.
32289
2a81eaa5
UD
322902011-05-09 Ulrich Drepper <drepper@gmail.com>
32291
be97a69e
UD
32292 [BZ #11532]
32293 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32294 and CP774 modules.
32295 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32296 and CP774 modules.
32297 * iconvdata/tst-tables.sh: Likewise.
32298 * iconvdata/cp770.c: New file.
32299 * iconvdata/cp771.c: New file.
32300 * iconvdata/cp772.c: New file.
32301 * iconvdata/cp773.c: New file.
32302 * iconvdata/cp774.c: New file.
32303 * iconvdata/testdata/CP770: New file.
32304 * iconvdata/testdata/CP770..UTF8: New file.
32305 * iconvdata/testdata/CP771: New file.
32306 * iconvdata/testdata/CP771..UTF8: New file.
32307 * iconvdata/testdata/CP772: New file.
32308 * iconvdata/testdata/CP772..UTF8: New file.
32309 * iconvdata/testdata/CP773: New file.
32310 * iconvdata/testdata/CP773..UTF8: New file.
32311 * iconvdata/testdata/CP774: New file.
32312 * iconvdata/testdata/CP774..UTF8: New file.
32313
32314 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32315 END CHARMAP line.
32316 * iconvdata/gen-8bit-gap.sh: Likewise.
32317 * iconvdata/gen-8bit.sh: Likewise.
32318
c1e9e399
UD
32319 * locale/iso-639.def: Add ary entry.
32320
24c55fb3 32321 [BZ #11258]
96b4b1b0
UD
32322 * locale/C-translit.h.in: Add U20A1 transliteration.
32323
bdc2f971
KB
32324 [BZ #12178]
32325 * locale/iso-639.def: Add wae entry.
32326 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32327
2952b117
UD
32328 [BZ #12545]
32329 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32330 for n.
32331
2a81eaa5
UD
32332 [BZ #12711]
32333 * locale/C-translit.h.in: Add entry for U20B9.
32334 Patch by pravin.d.s@gmail.com.
32335
28377d1b
UD
323362011-05-08 Ulrich Drepper <drepper@gmail.com>
32337
7fb90fb8
UD
32338 [BZ #12713]
32339 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32340 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32341 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32342 in rtld. Use *stat64.
7fb90fb8 32343 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32344 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32345 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32346 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32347 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32348 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32349 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32350 __fstatat64 macros.
7fb90fb8
UD
32351 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32352 * dirent/rewinddir.c: Add libc_hidden_def.
32353 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32354 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32355
28377d1b
UD
32356 * include/dirent.h (__alloc_dir): Add flags parameter.
32357 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32358 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32359 __alloc_dir.
32360 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32361 from fdopendir if O_CLOEXEC is already set.
32362
66bdbaa4
AM
323632011-03-15 Alan Modra <amodra@gmail.com>
32364
32365 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32366 l_tls_firstbyte_offset non-zero. Save padding offset in
32367 l_tls_firstbyte_offset for later use.
32368 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32369 freeing static tls block.
32370
95721191
JN
323712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32372
32373 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32374 where #ifdef was intended. The intent is to prevent ARG_MAX from
32375 being defined by the kernel headers.
32376
f87dfb1f
UD
323772011-05-07 Ulrich Drepper <drepper@gmail.com>
32378
32379 [BZ #12734]
32380 * resolv/resolv.h: Define RES_NOTLDQUERY.
32381 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32382 no-tld-query and set RES_NOTLDQUERY.
32383 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32384 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32385 modern BIND to search name as TLD unless forbidden.
32386
47c3cd7a
UD
323872011-05-07 Petr Baudis <pasky@suse.cz>
32388 Ulrich Drepper <drepper@gmail.com>
32389
32390 [BZ #12393]
32391 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32392 (is_trusted_path): ...to here.
c1e9ea35 32393 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32394 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32395 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32396
8a35c912
PP
323972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32398
32399 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32400 __BEGIN/__END_DECLS.
32401
acd41f47
UD
324022011-05-06 Ulrich Drepper <drepper@gmail.com>
32403
32404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32405 NSS_STATUS_NOTFOUND if no record was found.
32406
597df647
AS
324072011-05-05 Andreas Schwab <schwab@redhat.com>
32408
32409 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32410 (headers-not-in-tirpc): Remove rpc/netdb.h
32411 * resolv/netdb.h: Revert last change.
32412
b9af1301
PP
324132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32414
32415 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32416 circular dependency between libgcc.a and libc.a.
32417
4e34d5f5
AS
324182011-05-05 Andreas Schwab <schwab@redhat.com>
32419
32420 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32421 * nis/Makefile: Don't install rpcsvc/*.
32422 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32423 instead of <rpc/types.h>.
32424 (MAXHOSTNAMELEN): Define.
32425
00ee369c
AS
324262011-05-03 Andreas Schwab <schwab@redhat.com>
32427
32428 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32429
0b592a30
MB
324302011-04-28 Maciej Babinski <mbabinski@google.com>
32431
32432 [BZ #12714]
32433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32434 gethostbyname4_r when IPv6 results are possible.
32435
6e04cbbe
UD
324362011-05-02 Ulrich Drepper <drepper@gmail.com>
32437
32438 [BZ #12723]
32439 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32440 _PC_PIPE_BUF handling.
32441
e4ecafe0
BH
324422011-04-30 Bruno Haible <bruno@clisp.org>
32443
32444 [BZ #12717]
32445 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32446 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32447 to 'int'.
32448 * inet/getnameinfo.c (getnameinfo): Likewise.
32449
125ee683
UD
324502011-04-29 Ulrich Drepper <drepper@gmail.com>
32451
32452 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32453 to groups setting in database lookup.
32454 * nss/nsswitch.conf: Add initgroups entry.
32455
b722481a
EB
324562011-04-22 Ulrich Drepper <drepper@gmail.com>
32457
32458 [BZ #12685]
32459 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32460 mode string.
32461 Patch by Eric Blake <eblake@redhat.com>.
32462
4df46dbd
L
324632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32464
32465 * sunrpc/Makefile (need-export-routines): Add svc_run.
32466 (routines): Remove svc_run.
32467 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32468 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32469 * sunrpc/svc_run.c (svc_run): Likewise.
32470 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32471
e84142d2
UD
324722011-04-21 Ulrich Drepper <drepper@gmail.com>
32473
32474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32475 problem in reallocation in last patch.
32476
877175d8
UD
324772011-04-20 Ulrich Drepper <drepper@gmail.com>
32478
32479 * sunrpc/Makefile: Move inclusion of Rules.
32480
ab8eed78
UD
324812011-04-19 Ulrich Drepper <drepper@gmail.com>
32482
32483 * nss/nss_files/files-initgroups.c: New file.
32484 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32485 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32486 _nss_files_initgroups_dyn.
32487
e3d8f584
RS
324882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32489
32490 * elf/elf.h (R_ARM_IRELATIVE): Define.
32491
af190f45
UD
324922011-04-19 Ulrich Drepper <drepper@gmail.com>
32493
32494 * po/ru.po: Update from translation team.
32495
53cf59ef
UD
324962011-04-17 Ulrich Drepper <drepper@gmail.com>
32497
32498 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32499 dependencies.
32500
4c559bcd
MF
325012011-02-06 Mike Frysinger <vapier@gentoo.org>
32502
32503 [BZ #12653]
32504 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32505 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32508 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32509
4420675c
AS
325102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32511
32512 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32513 differing bytes.
32514 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32517
75ea32ab
UD
325182011-04-17 Ulrich Drepper <drepper@gmail.com>
32519
32520 [BZ #12420]
32521 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32522 storing it.
32523 * stdlib/bug-getcontext.c: New file.
32524 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32525
27390476
AK
325262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32527
32528 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32529 instructions into .machine "z9-109".
32530 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32531 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32532
10442705
AK
325332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32534
32535 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32536 between environment variables and auxiliary vector.
32537
7b57bfe5
UD
325382011-04-16 Ulrich Drepper <drepper@gmail.com>
32539
32540 * Makefile: Add rules to build linkobj/libc.so.
32541 * include/libc-symbols.h: Define libc_hidden_nolink.
32542 * include/rpc/auth.h: Mark functions which are to be hidden.
32543 * include/rpc/auth_des.h: Likewise.
32544 * include/rpc/auth_unix.h: Likewise.
32545 * include/rpc/clnt.h: Likewise.
32546 * include/rpc/des_crypt.h: Likewise.
32547 * include/rpc/key_prot.h: Likewise.
32548 * include/rpc/pmap_clnt.h: Likewise.
32549 * include/rpc/pmap_prot.h: Likewise.
32550 * include/rpc/pmap_rmt.h: Likewise.
32551 * include/rpc/rpc_msg.h: Likewise.
32552 * include/rpc/svc.h: Likewise.
32553 * include/rpc/svc_auth.h: Likewise.
32554 * include/rpc/xdr.h: Likewise.
32555 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32556 * nss/Makefile: Likewise.
32557 * sunrpc/Makefile: Don't install headers. Build library with normal
32558 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32559 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32560 for the compat linking library. Remove use of INTDEF/INTUSE.
32561 * sunrpc/auth_none.c: Likewise.
32562 * sunrpc/auth_unix.c: Likewise.
32563 * sunrpc/authdes_prot.c: Likewise.
32564 * sunrpc/authuxprot.c: Likewise.
32565 * sunrpc/clnt_gen.c: Likewise.
32566 * sunrpc/clnt_perr.c: Likewise.
32567 * sunrpc/clnt_raw.c: Likewise.
32568 * sunrpc/clnt_simp.c: Likewise.
32569 * sunrpc/clnt_tcp.c: Likewise.
32570 * sunrpc/clnt_udp.c: Likewise.
32571 * sunrpc/clnt_unix.c: Likewise.
32572 * sunrpc/des_crypt.c: Likewise.
32573 * sunrpc/des_soft.c: Likewise.
32574 * sunrpc/get_myaddr.c: Likewise.
32575 * sunrpc/key_call.c: Likewise.
32576 * sunrpc/key_prot.c: Likewise.
32577 * sunrpc/netname.c: Likewise.
32578 * sunrpc/pm_getmaps.c: Likewise.
32579 * sunrpc/pm_getport.c: Likewise.
32580 * sunrpc/pmap_clnt.c: Likewise.
32581 * sunrpc/pmap_prot.c: Likewise.
32582 * sunrpc/pmap_prot2.c: Likewise.
32583 * sunrpc/pmap_rmt.c: Likewise.
32584 * sunrpc/publickey.c: Likewise.
32585 * sunrpc/rpc_cmsg.c: Likewise.
32586 * sunrpc/rpc_common.c: Likewise.
32587 * sunrpc/rpc_dtable.c: Likewise.
32588 * sunrpc/rpc_prot.c: Likewise.
32589 * sunrpc/rpc_thread.c: Likewise.
32590 * sunrpc/rtime.c: Likewise.
32591 * sunrpc/svc.c: Likewise.
32592 * sunrpc/svc_auth.c: Likewise.
32593 * sunrpc/svc_authux.c: Likewise.
32594 * sunrpc/svc_raw.c: Likewise.
32595 * sunrpc/svc_run.c: Likewise.
32596 * sunrpc/svc_simple.c: Likewise.
32597 * sunrpc/svc_tcp.c: Likewise.
32598 * sunrpc/svc_udp.c: Likewise.
32599 * sunrpc/svc_unix.c: Likewise.
32600 * sunrpc/svcauth_des.c: Likewise.
32601 * sunrpc/xcrypt.c: Likewise.
32602 * sunrpc/xdr.c: Likewise.
32603 * sunrpc/xdr_array.c: Likewise.
32604 * sunrpc/xdr_float.c: Likewise.
32605 * sunrpc/xdr_intXX_t.c: Likewise.
32606 * sunrpc/xdr_mem.c: Likewise.
32607 * sunrpc/xdr_rec.c: Likewise.
32608 * sunrpc/xdr_ref.c: Likewise.
32609 * sunrpc/xdr_sizeof.c: Likewise.
32610 * sunrpc/xdr_stdio.c: Likewise.
32611
e6c61494
UD
326122011-04-10 Ulrich Drepper <drepper@gmail.com>
32613
32614 [BZ #12650]
32615 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32616 * sysdeps/ia64/dl-tls.h: Likewise.
32617 * sysdeps/powerpc/dl-tls.h: Likewise.
32618 * sysdeps/s390/dl-tls.h: Likewise.
32619 * sysdeps/sh/dl-tls.h: Likewise.
32620 * sysdeps/sparc/dl-tls.h: Likewise.
32621 * sysdeps/x86_64/dl-tls.h: Likewise.
32622 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32623
34fe483e
AS
326242011-03-14 Andreas Schwab <schwab@redhat.com>
32625
32626 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32627 rpath element also skip the following colon.
32628 (expand_dynamic_string_token): Add is_path parameter and pass
32629 down to DL_DST_REQUIRED and _dl_dst_substitute.
32630 (decompose_rpath): Call expand_dynamic_string_token with
32631 non-zero is_path. Ignore empty rpaths.
32632 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32633 with zero is_path.
32634
f12a32e6
AS
326352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32636
32637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32638 Make cancelable.
32639
38a7d692
UD
326402011-04-09 Ulrich Drepper <drepper@gmail.com>
32641
32642 [BZ #12655]
32643 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32644 Patch by Filipe David Manana <fdmanana@apache.org>.
32645
e451d22b
AS
326462011-04-07 Andreas Schwab <schwab@redhat.com>
32647
32648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32649 Maintain aligned stack.
32650 (CHECK_RSP): Remove unused macro.
32651
dedc7c7b
UD
326522011-04-03 Ulrich Drepper <drepper@gmail.com>
32653
32654 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32656
94521213
UD
326572011-04-02 Ulrich Drepper <drepper@gmail.com>
32658
32659 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32660
8cb700c0 32661 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32662
0354e355
L
326632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32664
32665 [BZ #12518]
32666 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32667 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32668 * sysdeps/x86_64/memmove.c: New file.
32669 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32670 (memcpy): Renamed to ...
32671 (__new_memcpy): This.
32672 (memcpy): Provide GLIBC_2_14 memcpy.
32673 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32674 (memcpy): Provide GLIBC_2_2_5 memcpy.
32675
8593482f
UD
326762011-04-01 Ulrich Drepper <drepper@gmail.com>
32677
32678 [BZ #12631]
32679 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32680
81a5726b
AS
326812011-03-30 Andreas Schwab <schwab@redhat.com>
32682
32683 * misc/syncfs.c: New file.
32684 * misc/Makefile (routines): Add syncfs.
32685 * posix/unistd.h: Declare syncfs.
32686 * sysdeps/unix/syscalls.list: Add syncfs.
32687
00e5419f
AS
326882011-04-01 Andreas Schwab <schwab@redhat.com>
32689
32690 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32691 open_by_handle_at.
32692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32697 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32699
748876bf
UD
327002011-04-01 Ulrich Drepper <drepper@gmail.com>
32701
658e451d
UD
32702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32703 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32709
748876bf
UD
32710 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32711 sync_file_range.c with -fexceptions.
32712 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32713 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32714 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32715 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32716 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32717 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32719 sync_file_range as cancellation point
32720 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32721 now a wrapper around __call_sync_file_range with cancellation handling.
32722 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32723 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32724 function name to __call_sync_file_range.
32725 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32726 Add call_sync_file_range.
748876bf 32727
6e63d5e1
AS
327282011-04-01 Andreas Schwab <schwab@redhat.com>
32729
32730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32731 bits/timex.h.
6e63d5e1 32732
46998f74
UD
327332011-04-01 Ulrich Drepper <drepper@gmail.com>
32734
4c1423ed
UD
32735 * iconv/iconv.h: Fix typo in comment.
32736 * io/fcntl.h: Likewise.
32737 * libio/stdio.h: Likewise.
32738 * posix/spawn.h: Likewise.
32739 * posix/unistd.h: Likewise.
32740 * stdlib/stdlib.h: Likewise.
32741 * time/time.h: Likewise.
32742 * wcsmbs/wchar.h: Likewise.
32743
158648c0
UD
32744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32745 open_by_handle): Add.
32746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32747 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32748 Augment a few comments.
32749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32754 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32755 open_by_handle.
32756
46998f74
UD
32757 * io/fcntl.h (AT_EMPTY_PATH): Define.
32758
83fe108b
UD
327592011-03-30 Ulrich Drepper <drepper@gmail.com>
32760
32761 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32762 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32763 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32764 to...
32765 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32766 * Versions.def: Add GLIBC_2.14.
32767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32768 Export.
83fe108b 32769
bb242059
UD
327702011-03-22 Ulrich Drepper <drepper@gmail.com>
32771
32772 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32773 round counter.
32774 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32775
c97a1282
L
327762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32777
32778 [BZ #12597]
32779 * string/test-strncmp.c (do_page_test): New function.
32780 (check2): Likewise.
32781 (test_main): Call check2.
32782 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32783
2a115601
UD
327842011-03-20 Ulrich Drepper <drepper@gmail.com>
32785
32786 [BZ #12587]
32787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32788 Handle cache information in CPU leaf 4.
32789 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32790
8126d904
UD
327912011-03-18 Ulrich Drepper <drepper@gmail.com>
32792
042c49c6 32793 [BZ #12583]
8126d904
UD
32794 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32795 character representation.
32796 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32797
ccfe366e
RA
327982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32799
32800 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32801 END(__isnan) to END(__isnanf) to match function entry point/label
32802 EALIGN(__isnanf,...).
32803
c6e13027
JJ
328042011-03-10 Jakub Jelinek <jakub@redhat.com>
32805
32806 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32807
33f85a3f
UD
328082011-03-10 Ulrich Drepper <drepper@gmail.com>
32809
028478fa
UD
32810 [BZ #12510]
32811 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32812 copy from the symbol referenced in the relocation to initialize the
32813 used variable.
32814 Patch by Piotr Bury <pbury@goahead.com>.
32815 * elf/Makefile: Add rules to build and tst-unique3.
32816 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32817 * elf/tst-unique3.cc: New file.
32818 * elf/tst-unique3.h: New file.
32819 * elf/tst-unique3lib.cc: New file.
32820 * elf/tst-unique3lib2.cc: New file.
32821
33f85a3f
UD
32822 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32823
03592fc7
MF
328242011-03-10 Mike Frysinger <vapier@gentoo.org>
32825
32826 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32827 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32828 to _start.
03592fc7 32829
6a5ee102
UD
328302011-03-06 Ulrich Drepper <drepper@gmail.com>
32831
32832 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32833 to-be-loaded object along a path to loader is ld.so.
32834
7e4ba49c
HJ
328352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32836 Ulrich Drepper <drepper@gmail.com>
32837
32838 * sysdeps/x86_64/memset.S: After aligning destination, code
32839 branches to different locations depending on the value of
32840 misalignment, when multiarch is enabled. Fix this.
32841
328422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32843
32844 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32845 Set _x86_64_preferred_memory_instruction for AMD processsors.
32846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32847 Set bit_Prefer_SSE_for_memop for AMD processors.
32848
13a804de
UD
328492011-03-04 Ulrich Drepper <drepper@gmail.com>
32850
32851 * libio/fmemopen.c (fmemopen): Optimize a bit.
32852
9d25c392
AS
328532011-03-03 Andreas Schwab <schwab@redhat.com>
32854
32855 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32856
a5543c6a
RM
328572011-03-03 Roland McGrath <roland@redhat.com>
32858
32859 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32860
012d35f7
DM
328612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32862
7e4ba49c 32863 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32864 __bzero_ultra1 instead of __memset_ultra1.
32865
4bff6e01
AS
328662011-02-23 Andreas Schwab <schwab@redhat.com>
32867 Ulrich Drepper <drepper@gmail.com>
32868
32869 [BZ #12509]
32870 * include/link.h (struct link_map): Add l_orig_initfini.
32871 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32872 returning unsuccessfully.
32873 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32874 close of a file loaded at startup, restore the original l_initfini
32875 list.
32876 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32877 list, store the pointer.
32878 * elf/Makefile ($(objpfx)noload-mem): New rule.
32879 (noload-ENV): Define.
32880 (tests): Add $(objpfx)noload-mem.
32881 * elf/noload.c: Include <memcheck.h>.
32882 (main): Call mtrace. Close all opened handles.
32883
f2092faf
AS
328842011-02-17 Andreas Schwab <schwab@redhat.com>
32885
32886 [BZ #12454]
32887 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32888 dependencies are missing.
32889
6c8a2e88
ST
328902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32891
f2092faf 32892 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32893 Hurd needs munmap.
32894 * sysdeps/mach/hurd/ifreq.h: New file.
32895
84a42118
PB
328962011-01-27 Petr Baudis <pasky@suse.cz>
32897 Ulrich Drepper <drepper@gmail.com>
32898
071f805e 32899 [BZ 12445]#
84a42118
PB
32900 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32901 to extend_alloca().
32902 * stdio-common/bug23.c: New file.
32903 * stdio-common/Makefile (tests): Add bug23.
32904
e23fe25b
AS
329052010-09-28 Andreas Schwab <schwab@redhat.com>
32906 Ulrich Drepper <drepper@gmail.com>
32907
32908 [BZ #12489]
32909 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32910 before performing relro protection. At old place add assertion
32911 to make sure nothing changed.
32912
d3f02e10
NS
329132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32914 Glauber de Oliveira Costa <glommer@gmail.com>
32915
32916 * elf/elf.h: Add new ARM TLS relocs.
32917
d55fd7a5
RA
329182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32919
32920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32921 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32922 cast from r3.
32923 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32924 'tests' variable.
32925 * sysdeps/wordsize-64/tst-writev.c: New file.
32926
2206397e
RA
329272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32928
32929 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32930 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32931 insns in _dl_start to prevent a TOC reference before relocs are
32932 resolved.
32933
e9433893
UD
329342011-02-15 Ulrich Drepper <drepper@gmail.com>
32935
32936 [BZ #12469]
32937 * Makeconfig: Remove RANLIB definition.
32938 * Makerules: Don't use RANLIB.
32939 * aclocal.m4: Remove ranlib test.
32940 * configure.in: No need to check for ranlib.
32941 * elf/rtld-Rules: Don't use RANLIB.
32942
f75286c6
ST
329432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32944
8e31c82d
ST
32945 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32946 protection macro.
32947 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32948 inclusion protection macro.
32949
f75286c6
ST
32950 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32951 SIGRTMIN and SIGRTMAX and print information in that case only when
32952 SIGRTMIN is defined.
32953
c1d0e639
JJ
329542011-02-11 Jakub Jelinek <jakub@redhat.com>
32955
32956 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32957 arginfo fn returning -1.
32958
32959 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32960 and thousands string is zero terminated.
32961
edf9294e
AS
329622011-02-03 Andreas Schwab <schwab@redhat.com>
32963
32964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32965 sysdeps/unix/sysv/linux/bits/socket.h.
32966
2b7e92df
ST
329672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32968
edf9294e
AS
32969 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32970 (__CPU_COUNT): Remove old macros.
32971 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32972 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32973 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32974 (__sched_cpualloc, __sched_cpufree): Add declarations.
32975
a4c7ea7b
UD
329762011-02-05 Ulrich Drepper <drepper@gmail.com>
32977
32978 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32979 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32980 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32981 (readdhstai): Return value of addhstaiX call.
32982 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32983 (addgrbyX): Return value returned by cache_addgr.
32984 (readdgrbyname): Return value returned by addgrbyX.
32985 (readdgrbygid): Likewise.
32986 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32987 (addpwbyX): Return value returned by cache_addpw.
32988 (readdpwbyname): Return value returned by addhstbyX.
32989 (readdpwbyuid): Likewise.
32990 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32991 (addservbyX): Return value returned by cache_addserv.
32992 (readdservbyname): Return value returned by addservbyX:
32993 (readdservbyport): Likewise.
32994 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32995 (addhstbyX): Return value returned by cache_addhst.
32996 (readdhstbyname): Return value returned by addhstbyX.
32997 (readdhstbyaddr): Likewise.
32998 (readdhstbynamev6): Likewise.
32999 (readdhstbyaddrv6): Likewise.
33000 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33001 (readdinitgroups): Return value returned by addinitgroupsX.
33002 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33003 (prune_cache): Keep track of timeout value of re-added entries.
33004 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33005 * nscd/nscd.h: Adjust prototypes of readd* functions.
33006
a0bf67cc
RM
330072011-02-04 Roland McGrath <roland@redhat.com>
33008
33009 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33010 (nis_stats): Likewise.
33011 * nis/nis_modify.c (nis_modify): Likewise.
33012 * nis/nis_remove.c (nis_remove): Likewise.
33013 * nis/nis_add.c (nis_add): Likewise.
33014
33015 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33016
33017 * posix/fnmatch_loop.c: Add some consts.
33018
33019 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33020
435b95eb
L
330212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 [BZ #12460]
33024 * config.make.in (config-cflags-novzeroupper): Define.
33025 * configure.in: Substitute libc_cv_cc_novzeroupper.
33026 * elf/Makefile (AVX-CFLAGS): Define.
33027 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33028 (CFLAGS-tst-auditmod4a.c): Likewise.
33029 (CFLAGS-tst-auditmod4b.c): Likewise.
33030 (CFLAGS-tst-auditmod6b.c): Likewise.
33031 (CFLAGS-tst-auditmod6c.c): Likewise.
33032 (CFLAGS-tst-auditmod7b.c): Likewise.
33033 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33034
8517b15e
UD
330352011-02-02 Ulrich Drepper <drepper@gmail.com>
33036
33037 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33038 function to the callback.
33039 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33040
10a656fe
AS
330412011-02-02 Andreas Schwab <schwab@redhat.com>
33042
33043 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33044 of errno.
33045
968dad0a
UD
330462011-01-19 Ulrich Drepper <drepper@gmail.com>
33047
9f94d2ea 33048 [BZ #11724]
968dad0a
UD
33049 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33050 of constructors.
33051 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33052 of destructors.
33053 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33054
33055 [BZ #11724]
33056 * elf/Makefile: Add rules to build and run new test.
33057 * elf/tst-initorder.c: New file.
33058 * elf/tst-initorder.exp: New file.
33059 * elf/tst-initordera1.c: New file.
33060 * elf/tst-initordera2.c: New file.
33061 * elf/tst-initordera3.c: New file.
33062 * elf/tst-initordera4.c: New file.
33063 * elf/tst-initorderb1.c: New file.
33064 * elf/tst-initorderb2.c: New file.
33065 * elf/tst-order-a1.c: New file.
33066 * elf/tst-order-a2.c: New file.
33067 * elf/tst-order-a3.c: New file.
33068 * elf/tst-order-a4.c: New file.
33069 * elf/tst-order-b1.c: New file.
33070 * elf/tst-order-b2.c: New file.
33071 * elf/tst-order-main.c: New file.
33072 New test case by George Gensure <werkt0@gmail.com>.
33073
86e92359
UD
330742010-10-01 Andreas Schwab <schwab@redhat.com>
33075
33076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33077 decoding ACE if AI_CANONIDN.
33078
5d5732b0
UD
330792011-01-18 Ulrich Drepper <drepper@gmail.com>
33080
33081 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33082
a77e8cbc
UD
330832011-01-17 Ulrich Drepper <drepper@gmail.com>
33084
6392473f
UD
33085 * version.h (RELEASE): Bump for 2.13 release.
33086 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33087
620a0529
UD
33088 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33089
18ba70a5
UD
33090 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33091 MADV_NOHUGEPAGE.
32465c3e
UD
33092 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33094 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33095 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33098
c0dafcf1
UD
33099 * posix/getconf.c: Update copyright year.
33100 * catgets/gencat.c: Likewise.
33101 * csu/version.c: Likewise.
33102 * debug/catchsegv.sh: Likewise.
33103 * debug/xtrace.sh: Likewise.
33104 * elf/ldconfig.c: Likewise.
33105 * elf/ldd.bash.in: Likewise.
33106 * elf/sprof.c (print_version): Likewise.
33107 * iconv/iconv_prog.c: Likewise.
33108 * iconv/iconvconfig.c: Likewise.
33109 * locale/programs/locale.c: Likewise.
33110 * locale/programs/localedef.c: Likewise.
33111 * malloc/memusage.sh: Likewise.
33112 * malloc/mtrace.pl: Likewise.
33113 * nscd/nscd.c (print_version): Likewise.
33114 * nss/getent.c: Likewise.
33115
a77e8cbc
UD
33116 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33117 PF_CAIF, and PF_ALG.
33118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33119
77e8bddf
AS
331202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33121
1f20b93a
AS
33122 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33123 (modules-names): Use them.
33124 (ifunc-test-modules, ifunc-pie-tests): Define.
33125 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33126 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33127 (test-extras): Likewise.
33128 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33129 $(compile-command.c).
33130 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33131 (all-built-dso): Define.
33132 (check-textrel.out, check-execstack.out): Depend on it.
33133
77e8bddf
AS
33134 * configure.in: Don't override --enable-multi-arch.
33135
bc425b33
UD
331362011-01-15 Ulrich Drepper <drepper@gmail.com>
33137
33138 [BZ #6812]
33139 * nscd/hstcache.c (tryagain): Define.
33140 (cache_addhst): Return tryagain not notfound for temporary errors.
33141 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33142 failed.
33143
794c3ad3
UD
331442011-01-14 Ulrich Drepper <drepper@gmail.com>
33145
70181fdd
UD
33146 [BZ #10563]
33147 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33148 to make the syscall.
33149 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33150
794c3ad3
UD
33151 [BZ #12378]
33152 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33153 and fall back to matching as normal character if the string ends before
33154 the matching ']' is found. This is what POSIX requires.
33155 * posix/testfnm.c: Adjust test result.
33156 * posix/globtest.sh: Adjust test result. Add new test.
33157 * posix/tst-fnmatch.input: Likewise.
33158 * posix/tst-fnmatch2.c: Add new test.
33159
68dc9497
AS
331602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33161
33162 * elf/Makefile (check-execstack): Revert last change. Depend on
33163 check-execstack.h.
33164 (check-execstack.h): New target.
33165 (generated): Add check-execstack.h.
33166 * elf/check-execstack.c: Include "check-execstack.h".
33167 (main): Revert last change.
33168 (handle_file): Return zero if GNU_STACK is absent and
33169 DEFAULT_STACK_PERMS doesn't include PF_X.
33170
451f001b
UD
331712011-01-13 Ulrich Drepper <drepper@gmail.com>
33172
cfa28e56
UD
33173 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33174 in child fails because the descriptor is already closed.
8cf8ce17
UD
33175 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33176 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33177 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33178
1086d70d
UD
33179 [BZ #12397]
33180 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33181 syscall.
33182
451f001b
UD
33183 [BZ #10484]
33184 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33185 temporary buffer used to handle multi lookups locally.
a85b5cb4 33186 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33187
08769175
UD
331882011-01-12 Ulrich Drepper <drepper@gmail.com>
33189
33190 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33191 loader is ld.so.
33192
5e49c52e
UD
331932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33194
33195 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33196 alignment for SSE2.
33197
60522a5f
UD
331982011-01-12 Ulrich Drepper <drepper@gmail.com>
33199
33200 [BZ #12394]
33201 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33202 characters. When rounding increased number of integer digits recompute
33203 number of groups.
33204 * stdio-common/tst-grouping.c: New file.
33205 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33206
f257bbd7
UD
332072011-01-09 Ulrich Drepper <drepper@gmail.com>
33208
33209 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33210 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33211
33212 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33213 void.
33214 * bits/select.h: Likewise.
33215
fa9c15cb
UD
332162011-01-08 Ulrich Drepper <drepper@gmail.com>
33217
33218 * po/ja.po: Update from translation team.
33219
16c2895f
DM
332202011-01-04 David S. Miller <davem@sunset.davemloft.net>
33221
33222 [BZ #11155]
33223 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33224 implementation just like for lxstat, fxstatat, et al.
33225
2543fef2
JM
332262010-12-27 Jim Meyering <meyering@redhat.com>
33227
33228 [BZ #12348]
33229 * posix/regexec.c (build_trtable): Return failure indication upon
33230 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33231
98727dbe
UD
332322010-12-25 Ulrich Drepper <drepper@gmail.com>
33233
5bd6dc5c
UD
33234 [BZ #12201]
33235 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33236 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33237 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33238 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33239
97983464
UD
33240 [BZ #12207]
33241 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33242
98727dbe
UD
33243 [BZ #12204]
33244 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33245 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33246
4a531bb0
L
332472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33248
33249 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33250 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33251 script has SORT_BY_INIT_PRIORITY.
33252 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33253 NO_CTORS_DTORS_SECTIONS is defined.
33254 * elf/soinit.c: Likewise.
33255 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33256 NO_CTORS_DTORS_SECTIONS is defined.
33257 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33258 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33259 * sysdeps/sh/init-first.c: Likewise.
33260 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33261
07eb4b71
UD
332622010-12-24 Ulrich Drepper <drepper@gmail.com>
33263
33264 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33265 always use the slow path.
33266
30950a5f
RA
332672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33268
33269 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33270 similar rule which adds the sysdep directories to the header search in
33271 order to pick up the correct platform stackinfo.h.
33272 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33273 perform test if it is, otherwise return successfully without testing.
33274 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33275 DEFAULT_STACK_PERMS define in stackinfo.h.
33276 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33277 defined in stackinfo.h.
33278 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33279 DEFAULT_STACK_PERMS defined in stackinfo.h.
33280 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33281 * sysdeps/ia64/stackinfo.h: Likewise.
33282 * sysdeps/s390/stackinfo.h: Likewise.
33283 * sysdeps/sh/stackinfo.h: Likewise.
33284 * sysdeps/sparc/stackinfo.h: Likewise.
33285 * sysdeps/x86_64/stackinfo.h: Likewise.
33286 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33287 PF_X for powerpc64. Retain PF_X for powerpc32.
33288
db753e2c
UD
332892010-12-19 Ulrich Drepper <drepper@gmail.com>
33290
14b697f7
UD
33291 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33292 accurately.
db753e2c
UD
33293 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33294 GETDENTS_64BIT_ALIGNED.
33295
28300719
UD
332962010-12-14 Ulrich Drepper <dreper@gmail.com>
33297
14b697f7 33298 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33299
4f197237
AS
333002010-12-10 Andreas Schwab <schwab@redhat.com>
33301
dbb0472f
AS
33302 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33303 _GNU_SOURCE.
33304
4f197237
AS
33305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33306 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33307 Remove __restrict.
33308 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33309 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33310
fb88ac72
UD
333112010-12-09 Ulrich Drepper <drepper@gmail.com>
33312
33313 [BZ #11655]
33314 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33315 are initialized.
33316
42acbb92
JJ
333172010-12-09 Jakub Jelinek <jakub@redhat.com>
33318
33319 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33320
c038d98d
UD
333212010-12-03 Ulrich Drepper <drepper@gmail.com>
33322
33323 * po/it.po: Update from translation team.
33324
3a4a2499
L
333252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33326
33327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33328 unused codes.
33329
1e24cf6e
UD
333302010-11-30 Ulrich Drepper <drepper@gmail.com>
33331
33332 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33333
a7690819
AS
333342010-11-24 Andreas Schwab <schwab@redhat.com>
33335
33336 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33337 specially.
33338 (gaih_getanswer_slice): Likewise.
33339
3bf8d1b1
JJ
333402010-10-20 Jakub Jelinek <jakub@redhat.com>
33341
33342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33343
6db52fbb
PB
333442010-05-31 Petr Baudis <pasky@suse.cz>
33345
33346 [BZ #11149]
33347 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33348 silently even in the chroot mode.
33349
eaca7569
UD
333502010-11-22 Ulrich Drepper <drepper@gmail.com>
33351
33352 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33353 last patch a bit. Pretty printing
33354
3056dcdb
UD
333552010-05-31 Petr Baudis <pasky@suse.cz>
33356
33357 [BZ #10085]
33358 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33359 initialization of skip_initgroups_dyn.
33360
cf7c9078
UD
333612010-11-19 Ulrich Drepper <drepper@gmail.com>
33362
33363 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33365
a1fb5e3e
UD
333662010-11-16 Ulrich Drepper <drepper@gmail.com>
33367
33368 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33369
3540d66b
AS
333702010-11-11 Andreas Schwab <schwab@redhat.com>
33371
33372 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33373 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33374 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33375 ($(objpfx)tst-fnmatch-mem): New rule.
33376 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33377 * posix/tst-fnmatch.c (main): Call mtrace.
33378
13b69574
L
333792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33380
33381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33382 Support Intel processor model 6 and model 0x2c.
33383
da93d214
LM
333842010-11-10 Luis Machado <luisgpm@br.ibm.com>
33385
33386 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33387 signed comparison.
33388
8ca52c6e
L
333892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33390
33391 [BZ #12205]
33392 * string/test-strncasecmp.c (check_result): New function.
33393 (do_one_test): Use it.
33394 (check1): New function.
33395 (test_main): Use it.
33396 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33397 Support strcasecmp and strncasecmp.
33398
69da074d
UD
333992010-11-08 Ulrich Drepper <drepper@gmail.com>
33400
33401 [BZ #12194]
33402 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33404
ff02d528
L
334052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33406
33407 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33408 IFUNC support.
33409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33410 memset-x86-64.
33411 * sysdeps/x86_64/multiarch/bzero.S: New file.
33412 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33413 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33414 * sysdeps/x86_64/multiarch/memset.S: New file.
33415 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33417 Set bit_Prefer_SSE_for_memop for Intel processors.
33418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33419 Define.
33420 (index_Prefer_SSE_for_memop): Define.
33421 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33422
344d0b54
LM
334232010-11-04 Luis Machado <luisgpm@br.ibm.com>
33424
33425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33426 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33427
c0dde15b
UD
334282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33429
33430 [BZ #12191]
33431 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33432 (__x86_64_raw_data_cache_size_half): Likewise.
33433 (__x86_64_raw_shared_cache_size): Likewise.
33434 (__x86_64_raw_shared_cache_size_half): Likewise.
33435
33436 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33437 (__x86_64_raw_data_cache_size_half): Likewise.
33438 (__x86_64_raw_shared_cache_size): Likewise.
33439 (__x86_64_raw_shared_cache_size_half): Likewise.
33440 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33441 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33442 and __x86_64_raw_shared_cache_size_half. Round
33443 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33444 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33445 to multiple of 256 bytes.
33446
0e516e0e
MS
334472010-11-03 Ulrich Drepper <drepper@gmail.com>
33448
33449 [BZ #12167]
33450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33451 of inacessible symlinks. Verify result of symlink before returning it.
33452 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33453 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33454
0e012e87
ER
334552010-10-28 Erich Ritz <erichritz@gmail.com>
33456
33457 * math/math.h (isinf): Fix typo in comment.
33458
de0ff7bc
UD
334592010-11-01 Ulrich Drepper <drepper@gmail.com>
33460
33461 * po/da.po: Update from translation team.
33462
fa41c84d
UD
334632010-10-26 Ulrich Drepper <drepper@gmail.com>
33464
33465 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33466 is added to the list.
33467
f0967738
AK
334682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33469 Ulrich Drepper <drepper@gmail.com>
33470
33471 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33472 the global list here. Move code to...
33473 (_dl_add_to_namespace_list): ...here. New function.
33474 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33475 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33476 * elf/dl-load.c (lose): Don't remove the element from the list.
33477 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33478 (_dl_map_object): Likewise.
33479
334802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33481
33482 [BZ #12159]
33483 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33484 into all bytes of SSE register.
33485 Patch by Richard Li <richardpku@gmail.com>.
33486
f0967738 334872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33488
33489 [BZ #12140]
33490 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33491 perturbing.
33492
d0b9e94f
MB
334932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33494
33495 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33496 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33497 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33500 submachine.
33501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33502
8e9f92e9
AS
335032010-10-22 Andreas Schwab <schwab@redhat.com>
33504
33505 * include/dlfcn.h (__RTLD_SECURE): Define.
33506 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33507 mode & __RTLD_SECURE instead.
33508 (open_path): Rename preloaded parameter to secure.
33509 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33510 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33511 * elf/dl-deps.c (openaux): Likewise.
33512 * elf/rtld.c (struct map_args): Remove is_preloaded.
33513 (map_doit): Don't use it.
33514 (dl_main): Likewise.
33515 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33516 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33517
bc96fbda
AS
335182010-09-09 Andreas Schwab <schwab@redhat.com>
33519
33520 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33521 (sysd-rules-targets): Remove duplicates.
33522 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33523 rtld-%.$o dependency.
33524
22cd1c9b
AS
335252010-10-18 Andreas Schwab <schwab@redhat.com>
33526
33527 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33528 _dl_map_object do it.
33529
18edac48
UD
335302010-10-19 Ulrich Drepper <drepper@gmail.com>
33531
33532 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33533 fast fma builtins, define the macros in the C99 standard.
33534 (FP_FAST_FMAF): Likewise.
33535 (FP_FAST_FMAL): Likewise.
33536 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33537
33538 * bits/mathdef.h: Update copyright year.
33539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33540
d2050124
MM
335412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33542
33543 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33544 builtins, define the macros in the C99 standard.
33545 (FP_FAST_FMAF): Likewise.
33546 (FP_FAST_FMAL): Likewise.
33547 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33548 multiply/add.
33549 (FP_FAST_FMAF): Likewise.
33550
475facd1
JJ
335512010-10-15 Jakub Jelinek <jakub@redhat.com>
33552
33553 [BZ #3268]
33554 * math/libm-test.inc (fma_test): Some new testcases.
33555 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33556 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33557 y and infinite z. Do multiplication by C already in long double.
33558 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33560 y and infinite z. Do bitwise or of inexact bit into u.d.
33561 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33562 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33563 * sysdeps/i386/fpu/s_fma.S: Removed.
33564 * sysdeps/i386/fpu/s_fmal.S: Removed.
33565
7c08a05c
JJ
335662010-10-16 Jakub Jelinek <jakub@redhat.com>
33567
33568 [BZ #3268]
33569 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33571 computation is not scheduled after fetestexcept. Fix value
33572 of minimum denormal long double.
33573
f3f7372d
JJ
335742010-10-14 Jakub Jelinek <jakub@redhat.com>
33575
33576 [BZ #3268]
33577 * math/libm-test.inc (fma_test): Add some more tests.
33578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33579 correctly.
33580
14d43591
AS
335812010-10-15 Andreas Schwab <schwab@redhat.com>
33582
33583 * scripts/data/localplt-s390-linux-gnu.data: New file.
33584 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33585
5e908464
JJ
335862010-10-13 Jakub Jelinek <jakub@redhat.com>
33587
33588 [BZ #3268]
33589 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33590 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33591 instead of dbl-64.
33592 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33593 inlines.
33594 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33596 if one of x and y is very large and the other is subnormal.
33597 * sysdeps/s390/fpu/s_fmaf.c: New file.
33598 * sysdeps/s390/fpu/s_fma.c: New file.
33599 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33600 * sysdeps/powerpc/fpu/s_fma.S: New file.
33601 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33602 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33603 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33604
336052010-10-12 Jakub Jelinek <jakub@redhat.com>
33606
33607 [BZ #3268]
33608 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33609 fma tests.
33610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33611 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33612 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33613 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33614 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33615 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33616 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33617
b833d51f
UD
336182010-10-12 Ulrich Drepper <drepper@redhat.com>
33619
33620 [BZ #12078]
33621 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33622 * posix/bug-regex31.input: Add test case.
33623
1751705d
UD
336242010-10-11 Ulrich Drepper <drepper@gmail.com>
33625
e9b9cbf5
UD
33626 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33627 * posix/bug-regex31.input: New file.
33628
33629 [BZ #12078]
33630 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33631 (parse_sub_exp): Fix last change, use postorder.
33632
ef06edbe
UD
33633 * posix/bug-regex31.c: New file.
33634 * posix/Makefile: Add rules to build and run bug-regex31.
33635
a129c80d
UD
33636 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33637
33638 [BZ #12078]
33639 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33640
b76b818e
UD
33641 [BZ #12108]
33642 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33643 to have entries in sys_siglist.
33644
1751705d
UD
33645 [BZ #12093]
33646 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33647 be NULL.
33648
9ff8d36f
JJ
336492010-10-07 Jakub Jelinek <jakub@redhat.com>
33650
33651 [BZ #3268]
33652 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33653 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33654 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33655 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33656 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33657 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33658 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33659 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33660 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33661 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33662 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33663 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33664 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33665 * math/ftestexcept.c (fetestexcept): Likewise.
33666 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33667 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33668 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33669 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33670 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33671 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33672 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33673
af325969
UD
336742010-10-11 Ulrich Drepper <drepper@gmail.com>
33675
c579b202 33676 [BZ #12107]
af325969
UD
33677 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33678 newline.
33679
67a67b95
UD
336802010-10-06 Ulrich Drepper <drepper@gmail.com>
33681
33682 * string/bug-strstr1.c: New file.
33683 * string/Makefile: Add rules to build and run bug-strstr1.
33684
5fb308bc
EB
336852010-10-05 Eric Blake <eblake@redhat.com>
33686
33687 [BZ #12092]
33688 * string/str-two-way.h (two_way_long_needle): Always clear memory
33689 when skipping input due to the shift table.
33690
45db99c7
UD
336912010-10-03 Ulrich Drepper <drepper@gmail.com>
33692
3b111893
UD
33693 [BZ #12005]
33694 * malloc/mcheck.c: Handle large requests.
33695
45db99c7
UD
33696 [BZ #12077]
33697 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33698 for strncmp and strncasecmp.
33699 * string/stratcliff.c: Add tests for strcmp and strncmp.
33700 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33701
cf7a1eb8
NI
337022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33703
33704 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33705 __set_fpscr.
33706
6484ba5e
AJ
337072010-09-30 Andreas Jaeger <aj@suse.de>
33708
33709 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33710 (CGROUP_SUPER_MAGIC): Define.
33711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33712 Handle btrfs and cgroup file systems.
33713 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33714 Likewise.
33715
91c42559
LM
337162010-09-27 Luis Machado <luisgpm@br.ibm.com>
33717
33718 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33719 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33720
87a97932
AK
337212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33722
33723 [BZ #12067]
33724 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33725 trying to locate the ELF header.
33726
c21cc9bc
AS
337272010-09-27 Andreas Schwab <schwab@redhat.com>
33728
33729 [BZ #11611]
33730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33731 Mask out sign-bit copies when constructing f_fsid.
33732
315970f6
PB
337332010-09-24 Petr Baudis <pasky@suse.cz>
33734
33735 * debug/stack_chk_fail_local.c: Add missing licence exception.
33736 * debug/warning-nop.c: Likewise.
33737
1ac7a2c7
JM
337382010-09-15 Joseph Myers <joseph@codesourcery.com>
33739
33740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33741 implementing getdents64 using getdents syscall, set d_type if
33742 __ASSUME_GETDENTS32_D_TYPE.
33743
56801c50
AS
337442010-09-16 Andreas Schwab <schwab@redhat.com>
33745
33746 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33747 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33748
dda51327
UD
337492010-09-21 Ulrich Drepper <drepper@redhat.com>
33750
33751 [BZ #12037]
33752 * posix/unistd.h: Undo change of feature selection for ftruncate from
33753 2010-01-11.
33754
8ffcee4a
UD
337552010-09-20 Ulrich Drepper <drepper@redhat.com>
33756
a545ecd9 33757 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33758 detection.
33759
e24f0a8b
AS
337602010-09-20 Andreas Schwab <schwab@redhat.com>
33761
33762 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33763 fanotify_mark.
33764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33765
7291c56f
AS
337662010-09-14 Andreas Schwab <schwab@redhat.com>
33767
33768 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33769 variables after CHECK_SP call.
33770 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33771
bc5fb037
AS
337722010-09-13 Andreas Schwab <schwab@redhat.com>
33773 Ulrich Drepper <drepper@redhat.com>
33774
33775 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33776 re-relocationg ld.so.
33777 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33778 _dl_init_paths call.
33779 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33780 here anymore.
33781
e66e7419
UD
337822010-09-14 Ulrich Drepper <drepper@redhat.com>
33783
33784 * resolv/res_init.c (__res_vinit): Count the default server we added.
33785
c044aa75
CLT
337862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33787 Ulrich Drepper <drepper@redhat.com>
33788
33789 [BZ #11968]
33790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33791 (____longjmp_chk): Use %ebx for saving value across system call.
33792 Add unwind info.
33793
32cf4069
AS
337942010-09-06 Andreas Schwab <schwab@redhat.com>
33795
33796 * manual/Makefile: Don't mix pattern rules with normal rules.
33797
817328ee
AS
337982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33799
33800 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33801 operation.
33802 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33803 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33804 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33805 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33807 Likewise.
33808
29fddf61
UD
338092010-09-04 Ulrich Drepper <drepper@redhat.com>
33810
33811 [BZ #11979]
33812 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33813 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33814
0959ffc9
UD
338152010-09-02 Ulrich Drepper <drepper@redhat.com>
33816
33817 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33818 * sysdeps/x86_64/addmul_1.S: Likewise.
33819 * sysdeps/x86_64/lshift.S: Likewise.
33820 * sysdeps/x86_64/mul_1.S: Likewise.
33821 * sysdeps/x86_64/rshift.S: Likewise.
33822 * sysdeps/x86_64/sub_n.S: Likewise.
33823 * sysdeps/x86_64/submul_1.S: Likewise.
33824
ece29840
ST
338252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33826
0959ffc9
UD
33827 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33828 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33829 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33830 * bits/sched.h [__need_schedparam]
ece29840 33831 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33832 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33833 (__defined_schedparam): Define to 1.
ece29840
ST
33834 (__sched_param): New structure, identical to sched_param.
33835 (__need_schedparam): Undefine.
33836
e53a31fe
MF
338372010-08-31 Mike Frysinger <vapier@gentoo.org>
33838
fdc0c10d
MF
33839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33840 (epoll_create1): Declare.
33841
e53a31fe
MF
33842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33843
a726d796
AS
338442010-08-31 Andreas Schwab <schwab@redhat.com>
33845
33846 [BZ #7066]
33847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33848 shifting retval into place.
33849
2f3e3dc7
UD
338502010-09-01 Ulrich Drepper <drepper@redhat.com>
33851
f2933da9
UD
33852 * nis/rpcsvc/nis.h: Update copyright notice.
33853 * nis/rpcsvc/nis.x: Likewise.
33854 * nis/rpcsvc/nis_callback.h: Likewise.
33855 * nis/rpcsvc/nis_callback.x: Likewise.
33856 * nis/rpcsvc/nis_object.x: Likewise.
33857 * nis/rpcsvc/nis_tags.h: Likewise.
33858 * nis/rpcsvc/yp.h: Likewise.
33859 * nis/rpcsvc/yp.x: Likewise.
33860 * nis/rpcsvc/ypupd.h: Likewise.
33861 * nis/yp_xdr.c: Likewise.
33862 * nis/ypupdate_xdr.c: Likewise.
33863
2f3e3dc7
UD
33864 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33865 mainly the body of pmap_getport. Add parameters to specify timeouts.
33866 (pmap_getport): Use __libc_rpc_getport.
33867 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33868 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33869 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33870
f3dcc2f9
AS
338712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33872
33873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33874 fanotify_mark.
33875
6d34eb5b
RM
338762010-08-27 Roland McGrath <roland@redhat.com>
33877
33878 * sysdeps/i386/i686/multiarch/Makefile
33879 (CFLAGS-varshift.c): New variable.
33880
9ea3de11
UD
338812010-08-27 Ulrich Drepper <drepper@redhat.com>
33882
c96d23fc
UD
33883 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33884 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33885
9ea3de11
UD
33886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33887
33888 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33889
623aac7f
L
338902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33891
33892 * sysdeps/x86_64/strlen.S: Unroll the loop.
33893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33894 strlen-sse2 strlen-sse2-bsf.
33895 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33896 __strlen_no_bsf if bit_Slow_BSF is set.
33897 (__strlen_sse42): Removed.
33898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33899 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33900
8b2b7715
RM
339012010-08-25 Roland McGrath <roland@redhat.com>
33902
33903 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33904 * sysdeps/x86_64/multiarch/varshift.c: New file.
33905 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33906 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33907 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33908 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33909
e73015f2
L
339102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33911
33912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33913 strlen-sse2 strlen-sse2-bsf.
33914 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33915 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33916 (__strlen_sse2): Removed.
33917 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33920 bit_Slow_BSF for Atom.
33921 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33922 (index_Slow_BSF): Define.
33923 (HAS_SLOW_BSF): Define.
33924
df24a73e
UD
339252010-08-25 Ulrich Drepper <drepper@redhat.com>
33926
33927 [BZ #10851]
33928 * resolv/res_init.c (__res_vinit): When no server address at all
33929 is given default to loopback.
33930
f2ac4868
RM
339312010-08-24 Roland McGrath <roland@redhat.com>
33932
09055553
RM
33933 * configure.in: Remove config-name.h generation.
33934 * configure: Regenerated.
33935 * config-name.in: File removed.
33936 * scripts/config-uname.sh: New file.
33937 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33938 ($(objdir)config-name.h): New target.
33939
f2ac4868
RM
33940 * sunrpc/rpc_parse.h: Avoid nested comment.
33941
73f27d5e
RH
339422010-08-24 Richard Henderson <rth@redhat.com>
33943 Ulrich Drepper <drepper@redhat.com>
33944 H.J. Lu <hongjiu.lu@intel.com>
33945
33946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33948 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33949 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33950 _mm_alignr_epi8 with _mm_loadu_si128.
33951 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33952 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33953 (__m128i_shift_right): Removed.
33954 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33955 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33956 * sysdeps/x86_64/multiarch/varshift.h: New file.
33957 * sysdeps/x86_64/multiarch/varshift.S: New file.
33958
84b9230c
MF
339592010-08-21 Mike Frysinger <vapier@gentoo.org>
33960
33961 * configure.in: Move assembler checks to before sysdep dir checking.
33962
9bbd0ddc
PB
339632010-08-20 Petr Baudis <pasky@suse.cz>
33964
33965 * LICENSES: Sync the sunrpc license.
33966
9da4bb31
UD
339672010-08-19 Ulrich Drepper <drepper@redhat.com>
33968
a7ab6ec8
UD
33969 * sunrpc/auth_des.c: Update copyright notice once again.
33970 * sunrpc/auth_none.c: Likewise.
33971 * sunrpc/auth_unix.c: Likewise.
33972 * sunrpc/authdes_prot.c: Likewise.
33973 * sunrpc/authuxprot.c: Likewise.
33974 * sunrpc/bindrsvprt.c: Likewise.
33975 * sunrpc/clnt_gen.c: Likewise.
33976 * sunrpc/clnt_perr.c: Likewise.
33977 * sunrpc/clnt_raw.c: Likewise.
33978 * sunrpc/clnt_simp.c: Likewise.
33979 * sunrpc/clnt_tcp.c: Likewise.
33980 * sunrpc/clnt_udp.c: Likewise.
33981 * sunrpc/clnt_unix.c: Likewise.
33982 * sunrpc/des_crypt.c: Likewise.
33983 * sunrpc/des_soft.c: Likewise.
33984 * sunrpc/get_myaddr.c: Likewise.
33985 * sunrpc/getrpcport.c: Likewise.
33986 * sunrpc/key_call.c: Likewise.
33987 * sunrpc/key_prot.c: Likewise.
33988 * sunrpc/openchild.c: Likewise.
33989 * sunrpc/pm_getmaps.c: Likewise.
33990 * sunrpc/pm_getport.c: Likewise.
33991 * sunrpc/pmap_clnt.c: Likewise.
33992 * sunrpc/pmap_prot.c: Likewise.
33993 * sunrpc/pmap_prot2.c: Likewise.
33994 * sunrpc/pmap_rmt.c: Likewise.
33995 * sunrpc/rpc/auth.h: Likewise.
33996 * sunrpc/rpc/auth_unix.h: Likewise.
33997 * sunrpc/rpc/clnt.h: Likewise.
33998 * sunrpc/rpc/des_crypt.h: Likewise.
33999 * sunrpc/rpc/key_prot.h: Likewise.
34000 * sunrpc/rpc/netdb.h: Likewise.
34001 * sunrpc/rpc/pmap_clnt.h: Likewise.
34002 * sunrpc/rpc/pmap_prot.h: Likewise.
34003 * sunrpc/rpc/pmap_rmt.h: Likewise.
34004 * sunrpc/rpc/rpc.h: Likewise.
34005 * sunrpc/rpc/rpc_des.h: Likewise.
34006 * sunrpc/rpc/rpc_msg.h: Likewise.
34007 * sunrpc/rpc/svc.h: Likewise.
34008 * sunrpc/rpc/svc_auth.h: Likewise.
34009 * sunrpc/rpc/types.h: Likewise.
34010 * sunrpc/rpc/xdr.h: Likewise.
34011 * sunrpc/rpc_clntout.c: Likewise.
34012 * sunrpc/rpc_cmsg.c: Likewise.
34013 * sunrpc/rpc_common.c: Likewise.
34014 * sunrpc/rpc_cout.c: Likewise.
34015 * sunrpc/rpc_dtable.c: Likewise.
34016 * sunrpc/rpc_hout.c: Likewise.
34017 * sunrpc/rpc_main.c: Likewise.
34018 * sunrpc/rpc_parse.c: Likewise.
34019 * sunrpc/rpc_parse.h: Likewise.
34020 * sunrpc/rpc_prot.c: Likewise.
34021 * sunrpc/rpc_sample.c: Likewise.
34022 * sunrpc/rpc_scan.c: Likewise.
34023 * sunrpc/rpc_scan.h: Likewise.
34024 * sunrpc/rpc_svcout.c: Likewise.
34025 * sunrpc/rpc_tblout.c: Likewise.
34026 * sunrpc/rpc_util.c: Likewise.
34027 * sunrpc/rpc_util.h: Likewise.
34028 * sunrpc/rpcinfo.c: Likewise.
34029 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34030 * sunrpc/rpcsvc/key_prot.x: Likewise.
34031 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34032 * sunrpc/rpcsvc/mount.x: Likewise.
34033 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34034 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34035 * sunrpc/rpcsvc/rex.x: Likewise.
34036 * sunrpc/rpcsvc/rstat.x: Likewise.
34037 * sunrpc/rpcsvc/rusers.x: Likewise.
34038 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34039 * sunrpc/rpcsvc/spray.x: Likewise.
34040 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34041 * sunrpc/rtime.c: Likewise.
34042 * sunrpc/svc.c: Likewise.
34043 * sunrpc/svc_auth.c: Likewise.
34044 * sunrpc/svc_authux.c: Likewise.
34045 * sunrpc/svc_raw.c: Likewise.
34046 * sunrpc/svc_run.c: Likewise.
34047 * sunrpc/svc_simple.c: Likewise.
34048 * sunrpc/svc_tcp.c: Likewise.
34049 * sunrpc/svc_udp.c: Likewise.
34050 * sunrpc/svc_unix.c: Likewise.
34051 * sunrpc/svcauth_des.c: Likewise.
34052 * sunrpc/xcrypt.c: Likewise.
34053 * sunrpc/xdr.c: Likewise.
34054 * sunrpc/xdr_array.c: Likewise.
34055 * sunrpc/xdr_float.c: Likewise.
34056 * sunrpc/xdr_mem.c: Likewise.
34057 * sunrpc/xdr_rec.c: Likewise.
34058 * sunrpc/xdr_ref.c: Likewise.
34059 * sunrpc/xdr_sizeof.c: Likewise.
34060 * sunrpc/xdr_stdio.c: Likewise.
34061
9da4bb31
UD
34062 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34063 handling.
34064
bdaa77bc
AS
340652010-08-19 Andreas Schwab <schwab@redhat.com>
34066
34067 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34068
fe2f79db
LM
340692010-08-19 Luis Machado <luisgpm@br.ibm.com>
34070
34071 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34072 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34073 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34074 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34075 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34076 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34077 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34078 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34079 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34081 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34082 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34083 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34084 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34085
b9b42ee0
AB
340862010-07-26 Anton Blanchard <anton@samba.org>
34087
34088 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34089 * malloc/arena.c (heap_trim): Likewise.
34090
1c06ba31
UD
340912010-08-16 Ulrich Drepper <drepper@redhat.com>
34092
34093 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34094 here. Not...
34095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34096 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34097
f8392f40
L
340982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34099
34100 * sysdeps/i386/elf/Makefile: New file.
34101
3162f12e
AS
341022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34103
34104 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34105 from fanotify_init.
34106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34108
28c90b2c
UD
341092010-08-15 Ulrich Drepper <drepper@redhat.com>
34110
34111 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34112 of strncasecmp_l.
1feccb6c 34113 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34114
ca6bb004
UD
341152010-08-14 Ulrich Drepper <drepper@redhat.com>
34116
e9f82e0d
UD
34117 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34118 strncase_l-nonascii.
34119 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34120 Add strncase_l-ssse3.
34121 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34122 * sysdeps/x86_64/strcmp.S: Likewise.
34123 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34124 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34125 * sysdeps/x86_64/strncase.S: New file.
34126 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34127 * sysdeps/x86_64/strncase_l.S: New file.
34128 * string/Makefile (strop-tests): Add strncasecmp.
34129 * string/test-strncasecmp.c: New file.
34130
34131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34132 warning.
34133
ca6bb004
UD
34134 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34135 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34136
052fa7b3
AS
341372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34138
34139 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34140
962dba78
UD
341412010-08-12 Ulrich Drepper <drepper@redhat.com>
34142
34143 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34146
bebff237
AM
341472010-05-01 Alan Modra <amodra@gmail.com>
34148
34149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34150 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34151 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34152 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34153 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34154 tidying. Don't tail-call __sigjmp_save for static lib.
34155 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34156 save location.
34157 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34158 (CALL_MCOUNT): Add eh info, and nop after bl.
34159 (TAIL_CALL_SYSCALL_ERROR): New macro.
34160 (PSEUDO_RET): Use it.
34161 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34162 Correct save location of integer regs and cr.
34163 (_dl_profile_resolve): Correct cr save location. Delete nops
34164 after bl when SHARED. Reduce cfi size a little by better
34165 placement of cfi directives.
34166 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34167 make a stack frame. Instead use parm save area as a temp.
34168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34169 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34171 Don't make a stack frame for parent, use parm save area.
34172 Increase child stack frame to 112 bytes. Don't save unused reg,
34173 and adjust reg usage. Set up cfi on error recovery and
34174 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34176 (__makecontext): Add dummy nop after jump to exit.
34177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34178 Use correct parm save area and cr save, reduce stack frame.
34179 Correct cfi for possible PSEUDO_RET frame setup.
34180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34181 Branch to local label emitted by PSEUDO_RET rather than
34182 __syscall_error.
34183
02637374
AS
341842010-08-12 Andreas Schwab <schwab@redhat.com>
34185
34186 [BZ #11904]
34187 * locale/programs/locale.c (print_assignment): New function.
34188 (show_locale_vars): Use it.
34189
c3e2f19b
UD
341902010-08-11 Ulrich Drepper <drepper@redhat.com>
34191
3cdaa6ad
UD
34192 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34193 field.
34194 (struct statfs64): Likewise.
34195 (_STATFS_F_FLAGS): Define.
34196 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34197 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34198 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34199 (ST_VALID): Define locally.
34200 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34201 __statvfs_getflags, use the provided value.
34202 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34203 __ASSUME_STATFS_F_FLAGS.
34204
754f7da3
UD
34205 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34206
10b3bedc
UD
34207 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34208 Add sys/fanotify.h.
34209 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34210 fanotify_mask for GLIBC_2.13.
34211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34212 fanotify_init and fanotify_mark.
34213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34214 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34215
c08fb0d7
UD
34216 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34217 Add prlimit.
34218 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34219 prlimit64 for GLIBC_2.13.
34220 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34221 prlimit64.
34222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34223 syscall.
34224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34225 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34226 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34227 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34229 add prlimit alias.
34230 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34231
15bac72b
UD
34232 [BZ #11903]
34233 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34234 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34235
c3e2f19b
UD
34236 * nss/Makefile: Add rules to build and run tst-nss-test1.
34237 * shlib-versions: Add entry for libnss_test1.
34238 * nss/nss_test1.c: New file.
34239 * nss/tst-nss-test1.c: New file.
34240
34241 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34242 (__nss_configure_lookup): Set appropriate entry in
34243 __nss_configure_lookup to true.
34244 * nss/nsswitch.h: Define enum with indeces of databases in
34245 databases and __nss_database_custom arrays. Declare
34246 __nss_database_custom.
34247 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34248 to avoid using nscd when custom rules are installed.
34249 * nss/getXXbyYY_r.c: Likewise.
34250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34251
34252 * nss/nss_files/files-parse.c: Whitespace fixes.
34253
f15ce4d8
UD
342542010-08-09 Ulrich Drepper <drepper@redhat.com>
34255
34256 [BZ #11883]
34257 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34258 * posix/fnmatch_loop.c: Likewise.
34259
d22e4cc9
AK
342602010-07-17 Andi Kleen <ak@linux.intel.com>
34261
34262 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34263 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34264 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34265 * Versions.def [GLIBC_2.13]: Add.
34266
805bc17d
UD
342672010-08-06 Ulrich Drepper <drepper@redhat.com>
34268
34269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34270 Also fail if tpwd after pwuid call is NULL.
34271
5a42321d
ST
342722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34273
34274 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34275 when converting to ms.
34276
fd3ebeda
ST
342772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34278
34279 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34280 EOPNOTSUPP errors with ENOTTY.
34281 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34282 EOPNOTSUPP errors with ENOTTY.
34283
73507d3a
UD
342842010-07-31 Ulrich Drepper <drepper@redhat.com>
34285
34286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34287 Add strcasecmp_l-ssse3.
34288 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34289 strcasecmp.
34290 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34291 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34292 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34293
fe36dd02
UD
342942010-07-30 Ulrich Drepper <drepper@redhat.com>
34295
66f6765a
UD
34296 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34297
42e08a54
UD
34298 * string/Makefile (strop-tests): Add strcasecmp.
34299 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34300 strcasecmp_l-nonascii.
34301 (gen-as-const-headers): Add locale-defines.sym.
34302 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34303 * sysdeps/x86_64/strcasecmp.S: New file.
34304 * sysdeps/x86_64/strcasecmp_l.S: New file.
34305 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34306 * sysdeps/x86_64/locale-defines.sym: New file.
34307 * string/test-strcasecmp.c: New file.
34308
fe36dd02
UD
34309 * string/test-strcasestr.c: Test both ends of the range of characters.
34310 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34311
48cbc0d6
RM
343122010-07-29 Roland McGrath <roland@redhat.com>
34313
76e6d6bc 34314 [BZ #11856]
48cbc0d6
RM
34315 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34316
880113d9
UD
343172010-07-27 Ulrich Drepper <drepper@redhat.com>
34318
34319 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34320 for ld.so.
34321
deb9cabb
AS
343222010-07-27 Andreas Schwab <schwab@redhat.com>
34323
34324 * manual/memory.texi (Malloc Tunable Parameters): Document
34325 M_PERTURB.
34326
1c7570ff
RM
343272010-07-26 Roland McGrath <roland@redhat.com>
34328
34329 [BZ #11840]
34330 * configure.in (-fgnu89-inline check): Set and substitute
34331 gnu89_inline, not libc_cv_gnu89_inline.
34332 * configure: Regenerated.
34333 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34334
24fb0f88
UD
343352010-07-26 Ulrich Drepper <drepper@redhat.com>
34336
34337 * string/test-strnlen.c: New file.
34338 * string/Makefile (strop-tests): Add strnlen.
34339 * string/tester.c (test_strnlen): Add a few more test cases.
34340 * string/tst-strlen.c: Better error reporting.
34341
34342 * sysdeps/x86_64/strnlen.S: New file.
34343
8e96b93a
UD
343442010-07-24 Ulrich Drepper <drepper@redhat.com>
34345
34346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34347 lower-latency instructions.
34348
dbc676d4
UD
343492010-07-23 Ulrich Drepper <drepper@redhat.com>
34350
34351 * string/test-strcasestr.c: New file.
34352 * string/test-strstr.c: New file.
34353 * string/Makefile (strop-tests): Add strstr and strcasestr.
34354 * string/str-two-way.h: Don't undefine MAX.
34355 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34356
f6a31e0e
AS
343572010-07-21 Andreas Schwab <schwab@redhat.com>
34358
34359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34360 strcasestr-nonascii.
34361 (CFLAGS-strcasestr-nonascii.c): Define.
34362 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34364 Remove unused attribute.
34365
5dbc3b6c
RM
343662010-07-20 Roland McGrath <roland@redhat.com>
34367
34368 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34369 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34370 ld.so.cache was broken. With it, there is no way to disable dsocaps
34371 like LD_HWCAP_MASK can disable hwcaps.
34372
23d101d8
EPM
343732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34374
34375 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34376
cc9f2e47
UD
343772010-07-16 Ulrich Drepper <drepper@redhat.com>
34378
34379 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34380 call in strcasestr.
34381 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34382 __strcasestr_sse42_nonascii.
34383 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34384 strcasestr-nonascii.c.
34385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34386
77c1b069
LM
343872010-06-15 Luis Machado <luisgpm@br.ibm.com>
34388
34389 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34390 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34391 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34392 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34393
440566c3
UD
343942010-07-09 Ulrich Drepper <drepper@redhat.com>
34395
34396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34397 fcntl.
34398
5be9d05d
AS
343992010-07-06 Andreas Schwab <schwab@redhat.com>
34400
c30b7ee2 34401 [BZ #11577]
5be9d05d
AS
34402 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34403 dl_signal_cerror.
34404
8a492a67
UD
344052010-07-06 Ulrich Drepper <drepper@redhat.com>
34406
34407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34408 _PC_PIPE_BUF using F_GETPIPE_SZ.
34409
713df3d5
RM
344102010-07-05 Roland McGrath <roland@redhat.com>
34411
34412 * manual/arith.texi (Rounding Functions): Fix rint description
34413 implicit in round description.
34414
702e8f14
UD
344152010-07-02 Ulrich Drepper <drepper@redhat.com>
34416
34417 * elf/Makefile: Fix linking for a few tests to make recent linker
34418 happy.
34419
52ed8be9
AS
344202010-06-30 Andreas Schwab <schwab@redhat.com>
34421
34422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34423 $(common-objpfx)libc_nonshared.a.
34424
f47c9a11
LM
344252010-06-21 Luis Machado <luisgpm@br.ibm.com>
34426
34427 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34428 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34429 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34430 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34431 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34432 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34433 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34434 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34449 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34450 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34451 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34452 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34453 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34454 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34455 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34456 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34457 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34458 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34459 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34460 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34475
6fb8cbcb
L
344762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34477
34478 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34479 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34480 * string/memmove.c (memmove): Renamed to ...
34481 (MEMMOVE): ...this. Default to memmove.
34482 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34483 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34484 (END_CHK): Define.
34485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34486 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34487 mempcpy-ssse3-back memmove-ssse3-back.
34488 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34489 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34490 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34491 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34492 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34493 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34494 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34495 * sysdeps/x86_64/multiarch/memmove.c: New file.
34496 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34497 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34498 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34499 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34502 Define.
34503 (index_Fast_Copy_Backward): Define.
34504 (HAS_ARCH_FEATURE): Define.
34505 (HAS_FAST_REP_STRING): Define.
34506 (HAS_FAST_COPY_BACKWARD): Define.
34507
4e733bac 345082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34509
34510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34511 Restore proper fallback handling.
34512
63c4ed22
UD
345132010-06-19 Ulrich Drepper <drepper@redhat.com>
34514
ac2b484c
UD
34515 [BZ #11701]
34516 * posix/group_member.c (__group_member): Correct checking loop.
34517
63c4ed22
UD
34518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34519 OOM in getpwuid_r correctly. Return error number when the caller
34520 should return, otherwise -1.
34521 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34522 call returning > 0 value.
34523 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34524
765ade4b
AS
345252010-06-07 Andreas Schwab <schwab@redhat.com>
34526
34527 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34528 libc_nonshared.a from targets in modules-names.
34529
80da2e09
KS
345302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34531
34532 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34533 requires it.
34534
158db122
LM
345352010-06-10 Luis Machado <luisgpm@br.ibm.com>
34536
34537 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34538 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34541
caa78cf8
AS
345422010-06-02 Andreas Schwab <schwab@redhat.com>
34543
34544 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34545
b2ef2c01
UD
345462010-06-14 Ulrich Drepper <drepper@redhat.com>
34547
34548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34549 and F_GETPIPE_SZ.
34550 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34554 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34556
fbd643b6
RM
345572010-06-14 Roland McGrath <roland@redhat.com>
34558
34559 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34560
f32f2869
JJ
345612010-06-07 Jakub Jelinek <jakub@redhat.com>
34562
34563 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34564 __REDIRECT followed by __THROW.
34565 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34566 * posix/getopt.h (getopt): Likewise.
34567
2a50c078
EPM
345682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34569
34570 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34571 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34572 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34573 in AT_FLAGS.
34574 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34575 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34576
eb5ad2eb
LM
345772010-05-28 Luis Machado <luisgpm@br.ibm.com>
34578
34579 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34580
3c88fe1e
L
345812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34582
34583 [BZ #11640]
34584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34585 Properly check family and model.
34586
d2f73151
TY
345872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34588
34589 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34590
ebd2e13d
LM
345912010-05-24 Luis Machado <luisgpm@br.ibm.com>
34592
34593 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34594
b32b8b45
UD
345952010-05-21 Ulrich Drepper <drepper@redhat.com>
34596
34597 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34598 symbol reference.
34599
9acbe24d
AS
346002010-05-19 Andreas Schwab <schwab@redhat.com>
34601
34602 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34603 symbol reference.
34604
f0ccf6ea
AS
346052010-05-21 Andreas Schwab <schwab@redhat.com>
34606
3d04ff3a
AS
34607 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34608 and internal_recvmmsg.
34609 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34610 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34611 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34612 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34613
f0ccf6ea
AS
34614 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34615 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34616 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34617
5b08ac57
AS
346182010-05-20 Andreas Schwab <schwab@redhat.com>
34619
34620 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34621
4828935d
LM
346222010-05-17 Luis Machado <luisgpm@br.ibm.com>
34623
34624 POWER7 optimizations.
34625 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34626 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34627
373d545e
UD
346282010-05-19 Ulrich Drepper <drepper@redhat.com>
34629
34630 * version.h: Update for 2.13 development version.
34631
21a2b1ae
AS
346322010-05-12 Andrew Stubbs <ams@codesourcery.com>
34633
34634 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34635 exceptions. Return 0.
34636
3f7dcb2b
RM
346372010-05-07 Roland McGrath <roland@redhat.com>
34638
34639 * elf/ldconfig.c (main): Add a const.
34640
5f24d53a 346412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34642
a160f8d8
UD
34643 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34644 (args_options): Add no-idn option.
34645 (ahosts_keys_int): Add idn_flags to ai_flags.
34646 (parse_option): Handle 'i' option to clear idn_flags.
34647
5f24d53a
UD
34648 * malloc/malloc.c (_int_free): Possible race in the most recently
34649 added check. Only act on the data if no current modification
34650 happened.
265bb1ce
UD
34651
34652See ChangeLog.17 for earlier changes.